ParticleClassificationContainer#
- class ctapipe.containers.ParticleClassificationContainer(prefix=None, **fields)[source]#
Bases:
Container
Standard output of gamma/hadron classification algorithms
- Attributes:
- predictionField(default=nan)
prediction of the classifier, defined between [0,1], where values close to 1 mean that the positive class (e.g. gamma in gamma-ray analysis) is more likely
- is_validField(default=False)
true if classification parameters are valid
- goodness_of_fitField(default=nan)
goodness of the algorithm fit
- telescopesField(default=None)
Telescopes used if stereo, or None if Mono
- metadict
dict of attached metadata
- prefixstr
Prefix attached to column names when saved to a table or file
Attributes Summary
Attributes Documentation
- default_prefix = ''#
- fields = {'goodness_of_fit': Field(default=nan), 'is_valid': Field(default=False), 'prediction': Field(default=nan), 'telescopes': Field(default=None)}#
- goodness_of_fit#
- is_valid#
- meta#
- prediction#
- prefix#
- telescopes#