qetpy.sim package

qetpy.sim._sim.loadfromdidv(DIDVobj, G=5e-10, qetbias=0.00016, tc=0.04, tload=0.9, tbath=0.02, squiddc=2.5e-12, squidpole=0.0, squidn=1.0, noisetype='transition', lgcpriors=False)

Function for loading the parameters from a DIDV class object.

Parameters:
DIDVobj : Object

A DIDV class object after a fit has been run, such that there are Irwin parameters that can be used to model the noise.

G : float, optional

The thermal conductance of the TES in W/K

qetbias : float, optional

The QET bias in Amps

tc : float

The critical temperature of the TES in K

tload : float

The effective temperature of the load resistor in K

tbath : float

The bath temperature in K

squiddc : float, optional

The DC value of the SQUID and downstream electronics noise, in Amps/rtHz. The SQUID/electronics noise should have been fit beforehand, using the following model:

(squiddc*(1.0+(squidpole/f)**squidn))**2.0

squidpole : float, optional

The frequency pole for the SQUID and downstream electronics noise, in Hz. The SQUID/electronics noise should have been fit beforehand, using the following model:

(squiddc*(1.0+(squidpole/f)**squidn))**2.0

squidn : float, optional

The power of the SQUID and downstream electronics noise, in Hz. The SQUID/electronics noise should have been fit beforehand, using the following model:

(squiddc*(1.0+(squidpole/f)**squidn))**2.0

noisetype : str, optional

The type of the noise that is to be loaded. The options are transition : Use the Irwin parameters from the two pole fit as the transition noise model superconducting : Use the Irwin parameters from the one pole fit as the superconducting noise model normal : Use the Irwin parameters from the one pole fit as the normal noise model

lgcpriors : bool, optional

If True, the priors fit values are loaded from the didv object, if False, the regular fit values are loaded

Returns:
TESobj : Object

A TESnoise class object with all of the fit parameters loaded.

class qetpy.sim._sim.TESnoise(freqs=None, rload=0.012, r0=0.15, rshunt=0.005, beta=1.0, loopgain=10.0, inductance=4e-07, tau0=0.0005, G=5e-10, qetbias=0.00016, tc=0.04, tload=0.9, tbath=0.02, n=5.0, lgcb=True, squiddc=2.5e-12, squidpole=0.0, squidn=1.0)

Bases: object

Class for the simulation of the TES noise using the simple Irwin theory. Supports noise simulation for in transition, superconducting, and normal.

Attributes:
freqs : float, array_like

The frequencies for which we will calculate the noise simulation

rload : float

The load resistance of the TES (sum of shunt and parasitic resistances) in Ohms

r0 : float

The bias resistance of the TES in Ohms

rshunt : float

The shunt resistance of the TES circuit in Ohms

beta : float

The current sensitivity of the TES (dlogR/dlogI), unitless

loopgain : float

The Irwin loop gain of the TES, unitless

inductance : float

The inductance of the TES circuit in Henries

tau0 : float

The thermal time constant (equals C/G) in s

G : float

The thermal conductance of the TES in W/K

qetbias : float

The QET bias in Amps

tc : float

The critical temperature of the TES in K

tload : float

The effective temperature of the load resistor in K

tbath : float

The bath temperature in K

n : float

The power-law dependence of the power flow to the heat bath

lgcb : boolean

Boolean flag that determines whether we use the ballistic (True) or diffusive limit when calculating TFN power noise

squiddc : float

The frequency pole for the SQUID and downstream electronics noise, in Hz. The SQUID/electronics noise should have been fit beforehand, using the following model:

(squiddc*(1.0+(squidpole/f)**squidn))**2.0

squidpole : float

The frequency pole for the SQUID and downstream electronics noise, in Hz. The SQUID/electronics noise should have been fit beforehand, using the following model:

(squiddc*(1.0+(squidpole/f)**squidn))**2.0

squidn : float

The power of the SQUID and downstream electronics noise, in Hz. The SQUID/electronics noise should have been fit beforehand, using the following model:

(squiddc*(1.0+(squidpole/f)**squidn))**2.0

f_tfn : float

Function that estimates the noise suppression of the thermal fluctuation noise due to the difference in temperature between the bath and the TES. Supports the ballistic and diffusive limits, which is chosen via lgcb

Methods

dIdP([freqs]) The two-pole dIdP function determined from the TES parameters.
dIdV([freqs]) The two-pole dIdV function determined from the TES parameters.
dIdVnormal([freqs]) The one-pole dIdV function determined from the TES parameters for when the TES is normal.
dIdVsc([freqs]) The one-pole dIdV function determined from the TES parameters for when the TES is superconducting.
s_iload([freqs]) The Johnson load current noise determined from the TES parameters for in transition.
s_iloadnormal([freqs]) The Johnson load current noise determined from the TES parameters for normal.
s_iloadsc([freqs]) The Johnson load current noise determined from the TES parameters for superconducting.
s_isquid([freqs]) The SQUID and downstream electronics current noise, currently is using a 1/f model that must be specified when initializing the class.
s_ites([freqs]) The Johnson TES current noise determined from the TES parameters for in transition.
s_itesnormal([freqs]) The Johnson TES current noise determined from the TES parameters for normal.
s_itfn([freqs]) The thermal fluctuation noise in current determined from the TES parameters for in transition.
s_itot([freqs]) The total current noise for the TES in transition.
s_itotnormal([freqs]) The total current noise for the TES when normal.
s_itotsc([freqs]) The total current noise for the TES when superconducting.
s_pload([freqs]) The Johnson load power noise determined from the TES parameters for in transition.
s_psquid([freqs]) The SQUID and downstream electronics power noise, currently is using a 1/f model that must be specified when initializing the class.
s_ptes([freqs]) The Johnson TES power noise determined from the TES parameters for in transition.
s_ptfn([freqs]) The thermal fluctuation noise in power determined from the TES parameters for in transition.
s_ptot([freqs]) The total power noise for the TES in transition.
s_vload([freqs]) The Johnson load voltage noise determined from the TES parameters.
s_vtes([freqs]) The Johnson TES voltage noise determined from the TES parameters for in transition.
s_vtesnormal([freqs]) The Johnson TES voltage noise determined from the TES parameters for normal.
dIdP(freqs=None)

The two-pole dIdP function determined from the TES parameters.

Parameters:
freqs : float, ndarray, optional

The frequencies for which we will calculate the noise simulation. If left as None, the function will use the values from the initialization.

Returns:
dIdP : float, ndarray

The two-pole dIdP function

dIdV(freqs=None)

The two-pole dIdV function determined from the TES parameters.

Parameters:
freqs : float, ndarray, optional

The frequencies for which we will calculate the noise simulation. If left as None, the function will use the values from the initialization.

Returns:
dIdV : float, ndarray

The two-pole dIdV function

dIdVnormal(freqs=None)

The one-pole dIdV function determined from the TES parameters for when the TES is normal.

Parameters:
freqs : float, ndarray, optional

The frequencies for which we will calculate the noise simulation. If left as None, the function will use the values from the initialization.

Returns:
dIdVnormal : float, ndarray

The one-pole dIdV function for when the TES is normal.

dIdVsc(freqs=None)

The one-pole dIdV function determined from the TES parameters for when the TES is superconducting.

Parameters:
freqs : float, ndarray, optional

The frequencies for which we will calculate the noise simulation. If left as None, the function will use the values from the initialization.

Returns:
dIdVsc : float, ndarray

The one-pole dIdV function for when the TES is superconducting.

s_iload(freqs=None)

The Johnson load current noise determined from the TES parameters for in transition.

Parameters:
freqs : float, ndarray, optional

The frequencies for which we will calculate the noise simulation. If left as None, the function will use the values from the initialization.

Returns:
s_iload : float, ndarray

The Johnson load current noise at the specified frequencies

s_iloadnormal(freqs=None)

The Johnson load current noise determined from the TES parameters for normal.

Parameters:
freqs : float, ndarray, optional

The frequencies for which we will calculate the noise simulation. If left as None, the function will use the values from the initialization.

Returns:
s_iloadnormal : float, ndarray

The Johnson load current noise at the specified frequencies

s_iloadsc(freqs=None)

The Johnson load current noise determined from the TES parameters for superconducting.

Parameters:
freqs : float, ndarray, optional

The frequencies for which we will calculate the noise simulation. If left as None, the function will use the values from the initialization.

Returns:
s_iloadsc : float, ndarray

The Johnson load current noise at the specified frequencies

s_isquid(freqs=None)

The SQUID and downstream electronics current noise, currently is using a 1/f model that must be specified when initializing the class.

Parameters:
freqs : float, ndarray, optional

The frequencies for which we will calculate the noise simulation. If left as None, the function will use the values from the initialization.

Returns:
s_isquid : float, ndarray

The SQUID and downstream electronics current noise at the specified frequencies

s_ites(freqs=None)

The Johnson TES current noise determined from the TES parameters for in transition. This noise has both an electronic and thermal component.

Parameters:
freqs : float, ndarray, optional

The frequencies for which we will calculate the noise simulation. If left as None, the function will use the values from the initialization.

Returns:
s_ites : float, ndarray

The Johnson TES current noise at the specified frequencies

s_itesnormal(freqs=None)

The Johnson TES current noise determined from the TES parameters for normal.

Parameters:
freqs : float, ndarray, optional

The frequencies for which we will calculate the noise simulation. If left as None, the function will use the values from the initialization.

Returns:
s_itesnormal : float, ndarray

The Johnson TES current noise at the specified frequencies

s_itfn(freqs=None)

The thermal fluctuation noise in current determined from the TES parameters for in transition.

Parameters:
freqs : float, ndarray, optional

The frequencies for which we will calculate the noise simulation. If left as None, the function will use the values from the initialization.

Returns:
s_itfn : float, ndarray

The thermal fluctuation noise in current at the specified frequencies

s_itot(freqs=None)

The total current noise for the TES in transition. This is calculated by summing each of the current noise sources together. Units are [A^2/Hz].

Parameters:
freqs : float, ndarray, optional

The frequencies for which we will calculate the noise simulation. If left as None, the function will use the values from the initialization.

Returns:
s_itot : float, ndarray

The total current noise at the specified frequencies

s_itotnormal(freqs=None)

The total current noise for the TES when normal. This is calculated by summing each of the current noise sources together. Units are [A^2/Hz].

Parameters:
freqs : float, ndarray, optional

The frequencies for which we will calculate the noise simulation. If left as None, the function will use the values from the initialization.

Returns:
s_itotnormal : float, ndarray

The total current noise at the specified frequencies

s_itotsc(freqs=None)

The total current noise for the TES when superconducting. This is calculated by summing each of the current noise sources together. Units are [A^2/Hz].

Parameters:
freqs : float, ndarray, optional

The frequencies for which we will calculate the noise simulation. If left as None, the function will use the values from the initialization.

Returns:
s_itotsc : float, ndarray

The total current noise at the specified frequencies

s_pload(freqs=None)

The Johnson load power noise determined from the TES parameters for in transition.

Parameters:
freqs : float, ndarray, optional

The frequencies for which we will calculate the noise simulation. If left as None, the function will use the values from the initialization.

Returns:
s_pload : float, ndarray

The Johnson load power noise at the specified frequencies

s_psquid(freqs=None)

The SQUID and downstream electronics power noise, currently is using a 1/f model that must be specified when initializing the class. This is only used for when the TES is in transition.

Parameters:
freqs : float, ndarray, optional

The frequencies for which we will calculate the noise simulation. If left as None, the function will use the values from the initialization.

Returns:
s_psquid : float, ndarray

The SQUID and downstream electronics power noise at the specified frequencies

s_ptes(freqs=None)

The Johnson TES power noise determined from the TES parameters for in transition.

Parameters:
freqs : float, ndarray, optional

The frequencies for which we will calculate the noise simulation. If left as None, the function will use the values from the initialization.

Returns:
s_ptes : float, ndarray

The Johnson TES power noise at the specified frequencies

s_ptfn(freqs=None)

The thermal fluctuation noise in power determined from the TES parameters for in transition.

Parameters:
freqs : float, ndarray, optional

The frequencies for which we will calculate the noise simulation. If left as None, the function will use the values from the initialization.

Returns:
s_ptfn : float, ndarray

The thermal fluctuation noise in power at the specified frequencies

s_ptot(freqs=None)

The total power noise for the TES in transition. This is calculated by summing each of the current noise sources together and using dIdP to convert to power noise. Units are [W^2/Hz].

Parameters:
freqs : float, ndarray, optional

The frequencies for which we will calculate the noise simulation. If left as None, the function will use the values from the initialization.

Returns:
s_ptot : float, ndarray

The total power noise at the specified frequencies

s_vload(freqs=None)

The Johnson load voltage noise determined from the TES parameters. This formula holds no matter where we are in transition.

Parameters:
freqs : float, ndarray, optional

The frequencies for which we will calculate the noise simulation. If left as None, the function will use the values from the initialization.

Returns:
s_vload : float, ndarray

The Johnson load voltage noise at the specified frequencies

s_vtes(freqs=None)

The Johnson TES voltage noise determined from the TES parameters for in transition.

Parameters:
freqs : float, ndarray, optional

The frequencies for which we will calculate the noise simulation. If left as None, the function will use the values from the initialization.

Returns:
s_vtes : float, ndarray

The Johnson TES voltage noise at the specified frequencies

s_vtesnormal(freqs=None)

The Johnson TES voltage noise determined from the TES parameters for normal.

Parameters:
freqs : float, ndarray, optional

The frequencies for which we will calculate the noise simulation. If left as None, the function will use the values from the initialization.

Returns:
s_vtesnormal : float, ndarray

The Johnson TES voltage noise at the specified frequencies