magic

MAGIC-specific Detector class(es).

class graphnet.models.detector.magic.MAGIC(*args, **kwargs)[source]

Bases: Detector

Detector class for MAGIC telescopes.

Construct detector for the MAGIC telescopes.

Parameters:
  • use_charge_epsilon (bool, default: True) – Whether to add a small epsilon value to charge before taking log10 to avoid log(0). Defaults to True (uses 1e-6). Set to False if data is guaranteed to have zero-padding.

  • args (Any)

  • kwargs (Any)

Return type:

object

geometry_table_path = '/home/runner/work/graphnet/graphnet/data/geometry_tables/magic/magic.parquet'
xyz = ['x_cam', 'y_cam', 'tel_id']
feature_map()[source]

Map standardization functions to each dimension.

Return type:

Dict[str, Callable]

Note: tel_id can take the integer values 0 or 1, where:
  • 0 corresponds to MAGIC-I

  • 1 corresponds to MAGIC-II