py21cmsense.observatory.Observatory.ugrid_edges

Observatory.ugrid_edges(bl_max: ~astropy.units.quantity.Quantity = <Quantity inf m>) ndarray[source]

Get a uv grid out to the maximum used baseline smaller than given bl_max.

The resulting array represents the edges of the grid (so the number of cells is one fewer than this).

Parameters:

bl_max (float or Quantity) – Include all baselines smaller than this number. Units of m.

Returns:

array – 1D array of regularly spaced un.