deshima_sensitivity.instruments module#

D2HPBW(F: Union[ndarray, List[float], List[int], float, int]) Union[ndarray, List[float], List[int], float, int][source]#

Get half-power beam width of DESHIMA 2.0 at given frequency (frequencies).

Parameters:

F (Union[ndarray, List[float], List[int], float, int]) – Frequency. Units: Hz.

Returns:

Half-power beam width. Units: radian.

Return type:

hpbw

eta_mb_ruze(F: Union[ndarray, List[float], List[int], float, int], LFlimit: float, sigma: float) Union[ndarray, List[float], List[int], float, int][source]#

Get main-beam efficiency by Ruze’s equation.

Parameters:
  • F (Union[ndarray, List[float], List[int], float, int]) – Frequency. Units: Hz.

  • LFlimit (float) – Main-beam efficiency at 0 Hz.

  • sigma (float) – Surface error. Units: m.

Returns:

Main-beam efficiency. Units: None.

Return type:

eta_mb

photon_NEP_kid(F_int: Union[ndarray, List[float], List[int], float, int], P_kid_binned: ndarray, W_F_int: Union[ndarray, List[float], List[int], float, int]) Union[ndarray, List[float], List[int], float, int][source]#

NEP of the KID, with respect to the absorbed power.

Parameters:
  • F_int (Union[ndarray, List[float], List[int], float, int]) – Integration frequencies of the signal responsible for loading. Units: Hz.

  • P_kid_binned (ndarray) – m x n matrix of the power absorbed by the KID m: the number of integration bins. n: the number of filter channels. Units: W.

  • W_F_int (Union[ndarray, List[float], List[int], float, int]) – Integration bandwidth, with respect to the power that sets the loading. Units: Hz.

Returns:

Noise-equivalent power of the KID.

Return type:

NEP_kid

Notes

Pkid/(W_F * h * F) gives the occupation number.

window_trans(F: Union[ndarray, List[float], List[int], float, int], psd_in: Union[ndarray, List[float], List[int], float, int], psd_cabin: Union[ndarray, List[float], List[int], float, int], psd_co: Union[ndarray, List[float], List[int], float, int], thickness: Union[ndarray, List[float], List[int], float, int] = 0.008, tandelta: float = 0.0004805, tan2delta: float = 1e-08, neffHDPE: float = 1.52, window_AR: bool = True) Tuple[Union[ndarray, List[float], List[int], float, int], Union[ndarray, List[float], List[int], float, int]][source]#

Calculates the window transmission.

Parameters:
  • F (Union[ndarray, List[float], List[int], float, int]) – Frequency. Units: Hz.

  • psd_in (Union[ndarray, List[float], List[int], float, int]) – PSD of the incoming signal. Units : W / Hz.

  • psd_cabin (Union[ndarray, List[float], List[int], float, int]) – Johnson-Nyquist PSD of telescope cabin temperature. Units : W / Hz.

  • psd_co (Union[ndarray, List[float], List[int], float, int]) – Johnson-Nyquist PSD of cold-optics temperature. Units : W / Hz.

  • thickness (Union[ndarray, List[float], List[int], float, int]) – Thickness of the HDPE window. Units: m.

  • tandelta (float) – Values from Stephen. “# 2.893e-8 %% tan delta, measured Biorat. I use 1e-8 as this fits the tail of the data better”.

  • tan2delta (float) – Values from Stephen. “# 2.893e-8 %% tan delta, measured Biorat. I use 1e-8 as this fits the tail of the data better”.

  • neffHDPE (float) – Refractive index of HDPE. Set to 1 to remove reflections. Units : None.

  • window_AR (bool) – Whether the window is supposed to be coated by Ar (True) or not (False).

Returns:

  • psd_after_2nd_refl – PSD looking into the window from the cold optics.

  • eta_window – Transmission of the window. Units: None.

Return type:

Tuple[Union[ndarray, List[float], List[int], float, int], Union[ndarray, List[float], List[int], float, int]]