Loading...
Searching...
No Matches
StatisticsAlgorithmFactoryData.h
Go to the documentation of this file.
//# Copyright (C) 2000,2001
//# Associated Universities, Inc. Washington DC, USA.
//#
//# This library is free software; you can redistribute it and/or modify it
//# under the terms of the GNU Library General Public License as published by
//# the Free Software Foundation; either version 2 of the License, or (at your
//# option) any later version.
//#
//# This library is distributed in the hope that it will be useful, but WITHOUT
//# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
//# FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public
//# License for more details.
//#
//# You should have received a copy of the GNU Library General Public License
//# along with this library; if not, write to the Free Software Foundation,
//# Inc., 675 Massachusetts Ave, Cambridge, MA 02139, USA.
//#
//# Correspondence concerning AIPS++ should be addressed as follows:
//# Internet email: casa-feedback@nrao.edu.
//# Postal address: AIPS++ Project Office
//# National Radio Astronomy Observatory
//# 520 Edgemont Road
//# Charlottesville, VA 22903-2475 USA
//#
#ifndef SCIMATH_STATSALGORITHMFACTORYDATA_H
#define SCIMATH_STATSALGORITHMFACTORYDATA_H
#include <casacore/scimath/StatsFramework/FitToHalfStatisticsData.h>
namespace casacore {
// define data structures used by tatisticsAlgorithmFactory
class StatisticsAlgorithmFactoryData {
public:
struct BiweightData {
Int maxIter;
Double c;
};
StatisticsAlgorithmFactoryData() = delete;
template <class AccumType> struct FitToHalfData {
FitToHalfStatisticsData::CENTER center;
// fit to half data portion to use
FitToHalfStatisticsData::USE_DATA side;
// fit to half center value (only relevent if center=CVALUE)
AccumType centerValue;
};
struct ChauvenetData {
Double zScore;
Int maxIter;
};
~StatisticsAlgorithmFactoryData() {};
};
}
#endif
casacore::FitToHalfStatisticsData::USE_DATA
USE_DATA
which section of data to use, greater than or less than the center value
Definition FitToHalfStatisticsData.h:46
casacore::FitToHalfStatisticsData::CENTER
CENTER
choice of center point based on the corresponding statistics from the entire distribution of data,...
Definition FitToHalfStatisticsData.h:39
casacore::StatisticsAlgorithmFactoryData::~StatisticsAlgorithmFactoryData
~StatisticsAlgorithmFactoryData()
Definition StatisticsAlgorithmFactoryData.h:59
casacore::StatisticsAlgorithmFactoryData::StatisticsAlgorithmFactoryData
StatisticsAlgorithmFactoryData()=delete
casacore
this file contains all the compiler specific defines
Definition mainpage.dox:28
casacore::Int
int Int
Definition aipstype.h:48
casacore::Double
double Double
Definition aipstype.h:53
casacore::StatisticsAlgorithmFactoryData::BiweightData
Definition StatisticsAlgorithmFactoryData.h:39
casacore::StatisticsAlgorithmFactoryData::BiweightData::maxIter
Int maxIter
Definition StatisticsAlgorithmFactoryData.h:40
casacore::StatisticsAlgorithmFactoryData::BiweightData::c
Double c
Definition StatisticsAlgorithmFactoryData.h:41
casacore::StatisticsAlgorithmFactoryData::ChauvenetData
Definition StatisticsAlgorithmFactoryData.h:54
casacore::StatisticsAlgorithmFactoryData::ChauvenetData::maxIter
Int maxIter
Definition StatisticsAlgorithmFactoryData.h:56
casacore::StatisticsAlgorithmFactoryData::ChauvenetData::zScore
Double zScore
Definition StatisticsAlgorithmFactoryData.h:55
casacore::StatisticsAlgorithmFactoryData::FitToHalfData
Definition StatisticsAlgorithmFactoryData.h:46
casacore::StatisticsAlgorithmFactoryData::FitToHalfData::side
FitToHalfStatisticsData::USE_DATA side
fit to half data portion to use
Definition StatisticsAlgorithmFactoryData.h:49
casacore::StatisticsAlgorithmFactoryData::FitToHalfData::center
FitToHalfStatisticsData::CENTER center
Definition StatisticsAlgorithmFactoryData.h:47
casacore::StatisticsAlgorithmFactoryData::FitToHalfData::centerValue
AccumType centerValue
fit to half center value (only relevent if center=CVALUE)
Definition StatisticsAlgorithmFactoryData.h:51