hera_sim.noise.ThermalNoise.resample_Tsky

static ThermalNoise.resample_Tsky(lsts, freqs, Tsky_mdl=None, Tsky=180.0, mfreq=0.18, index=-2.5)[source]

Evaluate an array of sky temperatures.

Parameters:
  • lsts (array-like of float) – LSTs at which to sample the sky tmeperature.

  • freqs (array_like of float) – The frequencies at which to sample the temperature, in GHz.

  • Tsky_mdl (callable, optional) – Callable function of (lsts, freqs). If not given, use a power-law defined by the next three parameters.

  • Tsky (float, optional) – Sky temperature at mfreq. Only used if Tsky_mdl not given.

  • mfreq (float, optional) – Reference freq for sky temperature. Only used if Tsky_mdl not given.

  • index (float, optional) – Spectral index of sky temperature model. Only used if Tsky_mdl not given.

Returns:

ndarray – The sky temperature as a 2D array, first axis LSTs and second axis freqs.