casa
5.7.0-16
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
casa
casacore
scimath
StatsFramework
StatisticsAlgorithmFactoryData.h
Go to the documentation of this file.
1
//# Copyright (C) 2000,2001
2
//# Associated Universities, Inc. Washington DC, USA.
3
//#
4
//# This library is free software; you can redistribute it and/or modify it
5
//# under the terms of the GNU Library General Public License as published by
6
//# the Free Software Foundation; either version 2 of the License, or (at your
7
//# option) any later version.
8
//#
9
//# This library is distributed in the hope that it will be useful, but WITHOUT
10
//# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11
//# FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public
12
//# License for more details.
13
//#
14
//# You should have received a copy of the GNU Library General Public License
15
//# along with this library; if not, write to the Free Software Foundation,
16
//# Inc., 675 Massachusetts Ave, Cambridge, MA 02139, USA.
17
//#
18
//# Correspondence concerning AIPS++ should be addressed as follows:
19
//# Internet email: aips2-request@nrao.edu.
20
//# Postal address: AIPS++ Project Office
21
//# National Radio Astronomy Observatory
22
//# 520 Edgemont Road
23
//# Charlottesville, VA 22903-2475 USA
24
//#
25
26
#ifndef SCIMATH_STATSALGORITHMFACTORYDATA_H
27
#define SCIMATH_STATSALGORITHMFACTORYDATA_H
28
29
#include <
casacore/scimath/StatsFramework/FitToHalfStatisticsData.h
>
30
31
namespace
casacore
{
32
33
// define data structures used by tatisticsAlgorithmFactory
34
35
class
StatisticsAlgorithmFactoryData
{
36
37
public
:
38
39
struct
BiweightData
{
40
Int
maxIter
;
41
Double
c
;
42
};
43
44
StatisticsAlgorithmFactoryData
() =
delete
;
45
46
template
<
class
AccumType>
struct
FitToHalfData
{
47
FitToHalfStatisticsData::CENTER
center
;
48
// fit to half data portion to use
49
FitToHalfStatisticsData::USE_DATA
side
;
50
// fit to half center value (only relevent if center=CVALUE)
51
AccumType
centerValue
;
52
};
53
54
struct
ChauvenetData
{
55
Double
zScore
;
56
Int
maxIter
;
57
};
58
59
~StatisticsAlgorithmFactoryData
() {};
60
61
};
62
63
}
64
65
#endif
casacore::StatisticsAlgorithmFactoryData::BiweightData
Definition:
StatisticsAlgorithmFactoryData.h:39
casacore::Int
int Int
Definition:
aipstype.h:50
casacore::StatisticsAlgorithmFactoryData::ChauvenetData::maxIter
Int maxIter
Definition:
StatisticsAlgorithmFactoryData.h:56
casacore::StatisticsAlgorithmFactoryData::~StatisticsAlgorithmFactoryData
~StatisticsAlgorithmFactoryData()
Definition:
StatisticsAlgorithmFactoryData.h:59
casacore::StatisticsAlgorithmFactoryData::BiweightData::c
Double c
Definition:
StatisticsAlgorithmFactoryData.h:41
casacore::StatisticsAlgorithmFactoryData::FitToHalfData
Definition:
StatisticsAlgorithmFactoryData.h:46
casacore::FitToHalfStatisticsData::USE_DATA
USE_DATA
which section of data to use, greater than or less than the center value
Definition:
FitToHalfStatisticsData.h:48
casacore::FitToHalfStatisticsData::CENTER
CENTER
choice of center point based on the corresponding statistics from the entire distribution of data...
Definition:
FitToHalfStatisticsData.h:41
casacore::StatisticsAlgorithmFactoryData
define data structures used by tatisticsAlgorithmFactory
Definition:
StatisticsAlgorithmFactoryData.h:35
casacore::Double
double Double
Definition:
aipstype.h:55
FitToHalfStatisticsData.h
casacore::StatisticsAlgorithmFactoryData::FitToHalfData::centerValue
AccumType centerValue
fit to half center value (only relevent if center=CVALUE)
Definition:
StatisticsAlgorithmFactoryData.h:51
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::ChauvenetData
Definition:
StatisticsAlgorithmFactoryData.h:54
casacore::StatisticsAlgorithmFactoryData::BiweightData::maxIter
Int maxIter
Definition:
StatisticsAlgorithmFactoryData.h:40
casacore::StatisticsAlgorithmFactoryData::StatisticsAlgorithmFactoryData
StatisticsAlgorithmFactoryData()=delete
casacore::StatisticsAlgorithmFactoryData::ChauvenetData::zScore
Double zScore
Definition:
StatisticsAlgorithmFactoryData.h:55
casacore
#define casacore
<X11/Intrinsic.h> #defines true, false, casacore::Bool, and String.
Definition:
X11Intrinsic.h:42
Generated on Sun Sep 1 2019 23:32:20 for casa by
1.8.5