Skip to content
Snippets Groups Projects
Commit 10ddc1bd authored by osherso2's avatar osherso2
Browse files

Delete Dockerfile

parent a9be42dc
No related branches found
No related tags found
1 merge request!1S4 design
Pipeline #184843 canceled
from detector_lib.TES_model import *
from detector_lib.DET_model import *
from detector_lib.FUZ_model import *
from detector_lib.MCE_model import *
# Al TES
Al_params = {}
Al_params['name'] = 'Al'
Al_params['Ic'] = .02 # A
Al_params['Tc'] = 1.5 # K
Al_params['Rn'] = 32e-3 # Ohms
Al_params['alpha0'] = 200
Al_params['I'] = 1.113757407119036e-05 # A
Al_params['T'] = 0.4936060056461061 # K
Al = TES(**Al_params)
#Intermetallic `accidental' TES
Im_params = {}
Im_params['name'] = 'Im'
Im_params['Ic'] = .005 # A
Im_params['Tc'] = .525 # K
Im_params['Rn'] = 7.5e-4 # Ohms
Im_params['alpha0'] = 50
Im_params['I'] = 1.113757407119036e-05 # A
Im_params['T'] = 0.4936060056461061 # K
Im = TES(**Im_params)
#Ti TES
Ti_params = {}
Ti_params['name'] = 'Ti'
Ti_params["Ic"] = .01 # A
Ti_params["Tc"] = .5 # K
Ti_params['Rn'] = 32e-3 # Ohms
Ti_params['alpha0'] = 125
Ti_params['I'] = 1.113757407119036e-05 # A
Ti_params['T'] = 0.4936060056461061 # K
Ti = TES(**Ti_params)
TESs = [Ti, Im, Al]
det_params = {}
det_params['TESs'] = TESs
det_params['Cx'] = 1e-12 # J/K
det_params['Gx'] = 20e-12 # W/K
det_params['Tx'] = 450. # K
det_params['betaC'] = 2.8
det_params['betaG'] = 2.1
det_params['num_rows'] = 33
det_params['L'] = 2.4e-6 # H
det_params['Rsh'] = 3e-3 # Ohms
det_params['Rb'] = 1096 # Ohms
det_params['Rl'] = 1e-6 # Ohms
det_params['Rs'] = 1e-6 # Ohms
det_params['Popt'] = .3e-12 # W
det_params['center_freq'] = 150e9 # Hz
det_params['bandwidth'] = 33e9 # Hz
det_params['Vb'] = 0.07731568655338109 # V
det_params['Tb'] = 0.370 # K
det_params['R'] = 0.016000000000363154 # Ohms
det_params['I'] = 1.113757407119036e-05 # A
det_params['T'] = 0.4936060056461061 # K
det = detector(**det_params)
#CREATING A READOUT NOISE MODEL
noise_params = {}
noise_params["det"] = None
noise_params["readout_plateau"] = 2.5e-12 # White noise NEI (A/sqrt(Hz))
noise_params["pink_knee"] = 2. # Frequency describing pink knee (Hz)
noise_params["roll_off"] = 1.5e6 # Frequency at which everything rolls off (Hz)
noise_params["m"] = 2. # Excess noise bump parameter
noise_params["dwell_by_tau"] = 6.from example_tuning import transfer, invtrans
#CREATING AN MCE
FB = {}
FB['fb_bits'] = 14
FB['fb_maxV'] = .965 # V
FB['fb_R'] = 15040 + 143 # Ohms (including wire resistance)
FB['m'] = 8 # turns ration on a inductor coupling
B = {}
B['bias_bits'] = 16
B['bias_maxV'] = 2.5 # V
B['bias_R'] = 953 + 143 # Ohms
mce_params = {}
from detector_lib.example_tuning import transfer, invtrans
mce_params['row_len'] = 100
mce_params['data_rate'] = 1
mce_params['num_rows'] = 33
mce_params['data_mode'] = 1
mce_params['filter_coeff'] = [32295, 15915, 32568, 16188, 5, 12]
mce_params['closed_loop'] = True
mce_params['transfer'] = transfer
mce_params['invtrans'] = invtrans
mce_params['feedback_params'] = FB
mce_params['bias_params'] = B
mce_params['P'] = 0
mce_params['I'] = 150
mce_params['D'] = 0
mce = MCE(**mce_params)
noise = noise_model(**noise_params)
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment