hera_sim.antpos.idealize_antpos

hera_sim.antpos.idealize_antpos(antpos: dict[int, numpy.ndarray], bl_error_tol: float = 1.0) dict[int, numpy.ndarray]

Snap antenna positions to a grid that ensures perfect redundancy.

Parameters:

antpos – The antenna positions, in ENU coordinates, to be idealized. The format is a dict, where the key is the antenna number, and the value is the length-3 vector of ENU coordinates.

Returns:

idealized_antpos – A dict in the same format as the input antpos, where the positions have been snapped to the redundancy grid. _type_: _description_