1 #ifndef PulseChiSqSNNLS_h 2 #define PulseChiSqSNNLS_h 4 #define EIGEN_NO_DEBUG // kill throws in eigen code
void setMaxIterWarnings(bool b)
void NNLSUnconstrainParameter(Index idxp)
Eigen::LLT< SampleMatrix > SampleDecompLLT
void disableErrorCalculation()
const PulseVector & Errors() const
Eigen::LDLT< PulseMatrix > PulseDecompLDLT
SampleMatrix _covdecompLinv
PulseVector ampvecpermtest
bool DoFit(const SampleVector &samples, const SampleMatrix &samplecov, const BXVector &bxs, const FullSampleVector &fullpulse, const FullSampleMatrix &fullpulsecov, const SampleGainVector &gains=-1 *SampleGainVector::Ones(), const SampleGainVector &badSamples=SampleGainVector::Zero())
const PulseVector & X() const
SamplePulseMatrix _pulsemat
Eigen::Matrix< char, SampleVectorSize, 1 > SampleGainVector
Eigen::Matrix< double, FullSampleVectorSize, 1 > FullSampleVector
double ComputeApproxUncertainty(unsigned int ipulse)
SampleDecompLLT _covdecomp
PulseDecompLDLT _pulsedecomp
bool updateCov(const SampleMatrix &samplecov, const FullSampleMatrix &fullpulsecov)
const SamplePulseMatrix & pulsemat() const
bool Minimize(const SampleMatrix &samplecov, const FullSampleMatrix &fullpulsecov)
Eigen::Matrix< double, SampleVectorSize, 1 > SampleVector
PulseMatrix _topleft_work
Eigen::Matrix< double, FullSampleVectorSize, FullSampleVectorSize > FullSampleMatrix
Eigen::Matrix< double, SampleVectorSize, SampleVectorSize > SampleMatrix
Eigen::Matrix< double, Eigen::Dynamic, 1, 0, PulseVectorSize, 1 > PulseVector
const BXVector & BXs() const
Eigen::Matrix< double, SampleVectorSize, Eigen::Dynamic, 0, SampleVectorSize, PulseVectorSize > SamplePulseMatrix
void NNLSConstrainParameter(Index minratioidx)
SamplePulseMatrix invcovp
Eigen::Matrix< double, Eigen::Dynamic, Eigen::Dynamic, 0, PulseVectorSize, PulseVectorSize > PulseMatrix
const SampleMatrix & invcov() const