compute_theta2
- lstchain.reco.utils.compute_theta2(data, source_position, conversion_factor=2.0)
Computes a square of theta (angle from z-axis) from camera frame coordinates
- Parameters:
- pandas.DataFrame data: Input data
- 2D array (x,y) source_position: Observed source position in astropy.units.m
- float conversion_factor: Conversion factor (default 0.1/0.05 deg/m)
- Returns:
- Array with theta2 values