slophep.Generator.MCGenerators
- class slophep.Generator.MCGenerators.MCGeneratorBToP(obs: BToPEllNuPrediction, seed: int = None)[source]
Bases:
MCGenerator- get_random_point() list[float][source]
Get a randomly generated point (uniform). Implemented in derived class as different modes have different angular variables.
- Returns:
Point, coordinates in order of self.coords
- Return type:
list[float]
- Raises:
NotImplementedError – Must be implemented in dervied class
- class slophep.Generator.MCGenerators.MCGeneratorBToV(obs: BToVEllNuPrediction, seed: int = None)[source]
Bases:
MCGenerator- get_random_point() list[float][source]
Get a randomly generated point (uniform). Implemented in derived class as different modes have different angular variables.
- Returns:
Point, coordinates in order of self.coords
- Return type:
list[float]
- Raises:
NotImplementedError – Must be implemented in dervied class