ROOT FFTW Wrapper
|
#include <SineSubtract.h>
Public Attributes | |
double | maxA_relative_to_guess |
double | minA_relative_to_guess |
double | max_n_df_relative_to_guess |
double | phase_start_error |
double | amp_start_error |
double | freq_start_error |
The SineFitterLimits class holds a few constraints that are used to limit the parameter space of the fit.
The things that may be contrained are
Any value set to zero means no limit on that parameter.
I can't think of a good way to constrain the phase.
double FFTtools::SineFitterLimits::amp_start_error |
The fractional starting error of the amplitude
double FFTtools::SineFitterLimits::freq_start_error |
The error, as a fraction of df, of the frequency estimate
double FFTtools::SineFitterLimits::max_n_df_relative_to_guess |
The maximum multiplative factor of fnyq/nsamples the fit frequency can deviate from the guess. Negative to disable, 0 to fix frequency. Note that if either min or max is 0, then it will be fixed.
double FFTtools::SineFitterLimits::maxA_relative_to_guess |
The maximum multiplicative factor the amplitudes can deviate from the guess. Negative to disable, 0 to fix amplitude.
double FFTtools::SineFitterLimits::minA_relative_to_guess |
The minimum multiplicative factor the amplitudes can deviate from the guess. Negative to disable, 0 to fix amplitude. Note that if either min or max is 0, then it will be fixed.
double FFTtools::SineFitterLimits::phase_start_error |
The starting error of the phase, in radians