hera_sim.utils.get_antpos_dict¶
- hera_sim.utils.get_antpos_dict(uvd: UVData, *, data_ants: bool = False, frame: Literal[ecef, enu] = 'enu') dict[int, np.ndarray][source]¶
Get a dictionary of antenna positions from a UVData object.
- Parameters:
uvd – UVData object to get antenna positions from.
data_ants – If True, return only the antennas with data. Otherwise, return all antennas.
- Returns:
antpos_dict – Dictionary of antenna positions in ENU coordinates.