|
| | OSpectre () |
| | Default constructor, the spectrum module is defined by the _defaultValue. More...
|
| |
| | OSpectre (double defaultValue) |
| | Constructor, the spectrum module is defined by the defaultValue given in parameter. More...
|
| |
| | OSpectre (const OSpectre &other) |
| | Copy constructor. More...
|
| |
| | OSpectre (const OSpectreAbstract &other) |
| | Copy constructor from OSpectreAbstract. More...
|
| |
| | OSpectre (const double *valeurs, unsigned nbVal, unsigned decalage) |
| | Constructor from an array (needed for the Harmonoise model) More...
|
| |
| virtual | ~OSpectre () |
| | Destructor. More...
|
| |
| OSpectre & | operator= (const OSpectre &other) |
| | operator= More...
|
| |
| OSpectreAbstract & | operator= (const OSpectreAbstract &other) override |
| | operator= More...
|
| |
| virtual bool | operator== (const OSpectre &other) const |
| | operator== More...
|
| |
| virtual bool | operator!= (const OSpectre &other) const |
| | operator != More...
|
| |
| double * | getTabValReel () override |
| |
| const double * | getTabValReel () const override |
| |
| OSpectreAbstract * | getConcreteInstance () const override |
| | Return an instance of a concrete class of the same type as current. More...
|
| |
| void | setValue (const double &freq, const double &reel=0.0) |
| |
| double | getValueReal (double freq) |
| |
| bool | isTonalite () const |
| | Existence d'une tonalite marquee. More...
|
| |
| | OSpectreAbstract () |
| | Methods. More...
|
| |
| | OSpectreAbstract (TYSpectreForm form) |
| |
| | OSpectreAbstract (bool isValid, TYSpectreType type, TYSpectreEtat etat, TYSpectreForm form) |
| |
| virtual bool | operator== (const OSpectreAbstract &other) const |
| | operator== More...
|
| |
| virtual bool | operator!= (const OSpectreAbstract &other) const |
| | operator != More...
|
| |
| OSpectreAbstract & | operator+ (const double &valeur) const |
| | Add a constant value to all the spectrum. More...
|
| |
| OSpectreAbstract & | operator+ (const OSpectreAbstract &spectre) const |
| | Arithmetic sum of two spectrums in one-third Octave. More...
|
| |
| OSpectreAbstract & | operator- (const OSpectreAbstract &spectre) const |
| | Arithmetic subtraction of two spectrums in one-third Octave. More...
|
| |
| OSpectreAbstract & | operator* (const OSpectreAbstract &spectre) const |
| | Multiplication by a Spectre spectrum. More...
|
| |
| OSpectreAbstract & | operator* (const double &coefficient) const |
| | Multiplication by a double coefficient. More...
|
| |
| OSpectreAbstract & | sumdB (const OSpectreAbstract &spectre) const |
| | Energetic sum of two spectrums. More...
|
| |
| void | setDefaultValue (const double &valeur=TY_SPECTRE_DEFAULT_VALUE) |
| |
| bool | isValid () const |
| | Check the spectrum validity. Invalidity is caused by: corrupted data, impossible calculation. More...
|
| |
| void | setValid (const bool &valid=true) |
| |
| TYSpectreType | getType () const |
| | Get the spectrum type. More...
|
| |
| void | setType (TYSpectreType type) |
| | Set the spectrum type. More...
|
| |
| TYSpectreEtat | getEtat () const |
| | Get the spectrum state. More...
|
| |
| const TYSpectreEtat | getEtat () |
| |
| void | setEtat (TYSpectreEtat etat) |
| | Force the spectrum state (to use carefully ...) More...
|
| |
| TYSpectreForm | getForm () const |
| | Get the spectrum form. More...
|
| |
| void | setForm (TYSpectreForm form) |
| | Force the spectrum state (to use carefully ...) More...
|
| |
| unsigned int | getNbValues () const |
| | Number of values in the spectrum. More...
|
| |
| void | setDefaultValue (double module[], const unsigned int spectreNbElmt=TY_SPECTRE_DEFAULT_NB_ELMT, const double &valeur=TY_SPECTRE_DEFAULT_VALUE) |
| |
| void | getRangeValueReal (double *valeurs, const short &nbVal, const short &decalage) |
| |
| OSpectreAbstract & | sum (const OSpectreAbstract &spectre) const |
| | Arithmetic sum of two spectrums in one-third Octave. More...
|
| |
| OSpectreAbstract & | sum (const double &value) const |
| | Arithmetic sum of a spectrum and a double scalar. More...
|
| |
| OSpectreAbstract & | mult (const OSpectreAbstract &spectre) const |
| | Multiplication of two spectrums. More...
|
| |
| OSpectreAbstract & | mult (const double &coefficient) const |
| | Multiply this spectrum par a double scalar. More...
|
| |
| OSpectreAbstract & | div (const OSpectreAbstract &spectre) const |
| | Division of two spectrums. More...
|
| |
| OSpectreAbstract & | div (const double &coefficient) const |
| | Division of this spectrum by a double scalar. More...
|
| |
| OSpectreAbstract & | subst (const OSpectreAbstract &spectre) const |
| | Arithmetic subtraction of two spectrums in one-third Octave. More...
|
| |
| OSpectreAbstract & | subst (const double &valeur) const |
| | Subtract a constant value to this spectrum. More...
|
| |
| OSpectreAbstract & | invMult (const double &coefficient=1.0) const |
| | Division of a double constant by this spectrum. More...
|
| |
| OSpectreAbstract & | inv () const |
| | Division of one by this spectrum. More...
|
| |
| OSpectreAbstract & | power (const double &puissance) const |
| | Return a spectrum as this spectrum raised to a double power. More...
|
| |
| OSpectreAbstract & | log (const double &base=10.0) const |
| | Compute the log base n of this spectrum (n=10 by default). More...
|
| |
| OSpectreAbstract & | racine () const |
| | Compute the root square of this spectrum. More...
|
| |
| OSpectreAbstract & | exp (const double coef=1.0) |
| | Compute e^(coef * spectre) of this spectrum. More...
|
| |
| OSpectreAbstract & | sin () const |
| | Compute the sin of this spectrum. More...
|
| |
| OSpectreAbstract & | cos () const |
| | Compute the cos of this spectrum. More...
|
| |
| OSpectreAbstract & | abs () const |
| | Return the absolute value of this spectrum. More...
|
| |
| OSpectreAbstract & | sqrt () const |
| | Return the root square of a spectrum. More...
|
| |
| double | valMax () |
| | Return the maximum value of a spectrum. More...
|
| |
| OSpectreAbstract & | seuillage (const double &min=-200.0, const double max=200.0) |
| | Limit the spectrum values (min and max) More...
|
| |
| double | sigma () |
| | Sum the values of the spectrum. More...
|
| |
| const double | sigma () const |
| |
| OSpectreAbstract & | toDB () const |
| | Converts to dB. More...
|
| |
| OSpectreAbstract & | toGPhy () const |
| | Converts to physical quantity. More...
|
| |
| double | valGlobDBLin () const |
| | Compute the global value dB[Lin] of a one-third Octave spectrum. More...
|
| |
| double | valGlobDBA () const |
| | Compute the global value dB[A] of a one-third Octave spectrum. More...
|
| |
| OSpectreAbstract & | toTOct () const |
| | Converts to one-third Octave. More...
|
| |
| OSpectreAbstract & | toOct () const |
| | Converts to Octave. More...
|
| |
| OSpectreAbstract & | round () |
| |
| virtual void | printme () const |
| | Print the spectrum. More...
|
| |
Definition at line 324 of file spectre.h.