Class MaxMagEpochStrategy
java.lang.Object
org.aavso.tools.vstar.util.stats.epoch.MaxMagEpochStrategy
- All Implemented Interfaces:
IEpochStrategy
This epoch determination strategy finds the numerically maximum
magnitude value in the dataset. This magnitude's JD becomes the
epoch. TODO: should this instead mean the numerically smallest,
i.e. brightest magnitude? Which is less confusing to the end-user?
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoubleDetermine the epoch for a given sequence of observations.
-
Constructor Details
-
MaxMagEpochStrategy
public MaxMagEpochStrategy()
-
-
Method Details
-
determineEpoch
Description copied from interface:IEpochStrategyDetermine the epoch for a given sequence of observations.- Specified by:
determineEpochin interfaceIEpochStrategy- Parameters:
obs- A sequence of valid observations.- Returns:
- The epoch as a double JD value.
- See Also:
-
getDescription
- Specified by:
getDescriptionin interfaceIEpochStrategy- Returns:
- A human readable description of the epoch determination strategy.
- See Also:
-