deshima_sensitivity.instruments module#

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

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

Parameters:

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

Returns:

Half-power beam width. Units: radian.

Return type:

hpbw

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

Get main-beam efficiency by Ruze’s equation.

Parameters:
  • F (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: ndarray | List[float] | List[int] | float | int, Pkid: ndarray | List[float] | List[int] | float | int, W_F: ndarray | List[float] | List[int] | float | int) ndarray | List[float] | List[int] | float | int[source]#

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

Parameters:
  • F (ndarray | List[float] | List[int] | float | int) – Frequency of the signal responsible for loading. Units: Hz.

  • Pkid (ndarray | List[float] | List[int] | float | int) – Power absorbed by the KID. Units: W.

  • W_F (ndarray | List[float] | List[int] | float | int) – Detection 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: ndarray | List[float] | List[int] | float | int, psd_in: ndarray | List[float] | List[int] | float | int, psd_cabin: ndarray | List[float] | List[int] | float | int, psd_co: ndarray | List[float] | List[int] | float | int, thickness: 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[ndarray | List[float] | List[int] | float | int, ndarray | List[float] | List[int] | float | int][source]#

Calculates the window transmission.

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

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

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

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

  • thickness (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[ndarray | List[float] | List[int] | float | int, ndarray | List[float] | List[int] | float | int]