|
| | OSpectreOctave () |
| |
| | OSpectreOctave (bool isValid, TYSpectreType type, TYSpectreEtat etat) |
| |
| | OSpectreOctave (double defaultValue) |
| |
| | OSpectreOctave (const double *valeurs, unsigned nbVal, unsigned decalage) |
| |
| | OSpectreOctave (const OSpectreOctave &other) |
| |
| | OSpectreOctave (const OSpectreAbstract &other) |
| | Copy constructor from OSpectreAbstract. More...
|
| |
| | OSpectreOctave (const OSpectre &other) |
| |
| virtual | ~OSpectreOctave () |
| |
| OSpectreOctave & | operator= (const OSpectreOctave &other) |
| | operators More...
|
| |
| OSpectreAbstract & | operator= (const OSpectreAbstract &other) override |
| | operator= More...
|
| |
| bool | operator== (const OSpectreOctave &other) const |
| |
| bool | operator!= (const OSpectreOctave &other) const |
| |
| double * | getTabValReel () override |
| | Get an array of the real values of the spectrum. More...
|
| |
| 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) |
| |
| | 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...
|
| |
|
| static std::map< double, int > | _mapFreqIndice = setMapFreqIndice() |
| | Mapping between frequency and array index. More...
|
| |
| static const double | _freqNorm [TY_SPECTRE_OCT_NB_ELMT] = {31.5, 63.0, 125.0, 250.0, 500.0, 1000.0, 2000.0, 4000.0, 8000.0} |
| | Array of center frequencies (Hz) normalized in one-third Octave. More...
|
| |
| static const double | _AWeighting [TY_SPECTRE_OCT_NB_ELMT] = {-39.5, -26.2, -16.1, -8.6, -3.2, 0.0, 1.2, 1.0, -1.1} |
| | A weighting for ponderation A computation. More...
|
| |
| static double | _defaultValue = TY_SPECTRE_DEFAULT_VALUE |
| | Default value for the spectrum. More...
|
| |
Define an octave band spectrum
Definition at line 587 of file spectre.h.