simulation — Simulation helpers

The simulation module provides utilities for the GRAND simulation. Currently it only contains a single ShowerEvent class that allows reading & writing Monte Carlo radio shower events, e.g. generated with CoREAS or ZHAireS.

Radio shower events

Generic shower

The ShowerEvent class allows

class grand.simulation.ShowerEvent(energy: ‘Optional[u.Quantity]’ = None, zenith: ‘Optional[u.Quantity]’ = None, azimuth: ‘Optional[u.Quantity]’ = None, primary: ‘Optional[ParticleCode]’ = None, frame: ‘Optional[BaseCoordinateFrame]’ = None, core: ‘Optional[CartesianRepresentation]’ = None, geomagnet: ‘Optional[CartesianRepresentation]’ = None, maximum: ‘Optional[CartesianRepresentation]’ = None, fields: ‘Optional[FieldsCollection]’ = None)

CoREAS shower

class grand.simulation.CoreasShower(energy: Optional[astropy.units.quantity.Quantity] = None, zenith: Optional[astropy.units.quantity.Quantity] = None, azimuth: Optional[astropy.units.quantity.Quantity] = None, primary: Optional[grand.simulation.pdg.ParticleCode] = None, frame: Optional[astropy.coordinates.baseframe.BaseCoordinateFrame] = None, core: Optional[astropy.coordinates.representation.CartesianRepresentation] = None, geomagnet: Optional[astropy.coordinates.representation.CartesianRepresentation] = None, maximum: Optional[astropy.coordinates.representation.CartesianRepresentation] = None, fields: Optional[grand.simulation.shower.generic.FieldsCollection] = None)