smiet.jax.io.sliced_shower module

class smiet.jax.io.sliced_shower.SlicedShower(file_path: str, slicing_grammage: int = 5, gdas_file: str = '')

Bases: CoreasShower

Class to read in showers from each slice from CoREAS simulations, inherited from CoreasShower.

Parameters:
file_path : str

The filepath to the simulation to read.

slicing_grammage : int, default=5

The width between atmospheric slices in g/cm^2

gdas_file : str, optional

If provided, the atmosphere will be created using this GDAS file. This will take precedence over the atmosphere model specified in the simulation settings.

get_coreas_settings() dict

Get specific configurations from the CoREAS simulation that is useful for the synthesis.

Returns:

coreas_settings – A dictionary containing important information about the configuration of the CoREAS simulation

Return type:

dict

get_traces_geoce(bandpass: list = [0.03, 0.5]) ndarray

Get the traces from traces at the ground to GEO/CE components.

Parameters:
bandpass : list, default = [30 * units.MHz, 500 * units.MHz]

The frequency bandpass in MHz to apply to the traces. Defaults to 30-500 MHz, which is the bandwidth in which SMIET is applicable in.

Returns:

traces_geo_ce – The traces in the shower plane, transformed to GEO and CE components. Shape is (2, Nant, Nsamples), where Nant is the number of antennas and Nsamples is the number of samples.

When called with SlicedShower, the shape is (2, Nant, Nsamples, Nslices).

Return type:

np.ndarray