graphnet.data.extractors.icecube.utilities.frames module

Utility methods for working with I3Frames.

graphnet.data.extractors.icecube.utilities.frames.frame_is_montecarlo(frame, mctree)[source]

Check whether frame is from Monte Carlo simulation.

Return type:

bool

Parameters:
  • frame (icecube.icetray.I3Frame)

  • mctree (str | None)

graphnet.data.extractors.icecube.utilities.frames.frame_is_noise(frame, mctree)[source]

Check whether frame is from noise.

Return type:

bool

Parameters:
  • frame (icecube.icetray.I3Frame)

  • mctree (str | None)

graphnet.data.extractors.icecube.utilities.frames.get_om_keys_and_pulseseries(frame, pulseseries, calibration)[source]

Get the indicies for the gcd_dict and the pulse series.

Parameters:
  • frame (I3Frame) – Physics (P) I3-frame from which to extract OM keys and pulse series

  • pulseseries (str)

  • calibration (icecube.dataclasses.I3Calibration | None)

Return type:

Tuple[Any, Any]

Returns:

Tuple containing the OM keys/indicesfor the GCD dictionary, and the pulse series data.