skycoord_insert_blanks

sofia_redux.scan.utilities.utils.skycoord_insert_blanks(coordinates, insert_indices)[source]

Insert zeroed coordinates in an astropy coordinate frame.

Parameters:
coordinatesastropy.coordinates.BaseCoordinateFrame or SkyCoord
insert_indicesnumpy.ndarray (float)

The indices at which to insert zero values.

Returns:
astropy.coordinates.BaseCoordinateFrame