extract_source_position

lstchain.reco.utils.extract_source_position(data, observed_source_name, equivalent_focal_length=<Quantity 28. m>)

Extract source position from data

Parameters:
pandas.DataFrame data: input data
str observed_source_name: Name of the observed source
astropy.units.m equivalent_focal_length: Equivalent focal length of a telescope
Returns:
2D array of coordinates of the source in form [(x),(y)] in astropy.units.m