project8 / Pypeline

A python interface for the dripline slow control system.
Other
2 stars 0 forks source link

Low Frequency Receiver Transfer Function Measurement #28

Closed laroque closed 10 years ago

laroque commented 11 years ago

This measures the transfer function of the low frequency receiver It's used to subtract off data during analysis, and to simulate shape in monte carlo Script should 1) Take as inputs from the user: starting LO, ending LO, LO step, noise source power 2) Tell the user to put a noise source into channel 1 3) Step through the LO frequencies and take 1s of Mantis digitization for each 4) use powerline to convert these to power spectra (channel 1 only) 5) Tell the user to put a noise source into channel 2 6) Step through the LO frequencies and take 1s of Mantis digitization for each 7) use powerline to convert these to power spectra (channel 2 only) 8) Plot the different power spectra for channel 1 and 2 to make sure they're sensible 9) Save the power spectra as a json file in some sensible way so it can be read in by generate_data in locust and used to apply the low frequency receiver transfer function

stretch goal: if the noise source isn't powerful enough, some frequencies (on the edge of the filter) will have inaccurate readings. Add a bonus round where both channels are capped off and use that to figure out the inherent noise temperature of the LF receiver at each frequency.

additional note: we could also do this with the sweeper (in theory, more effectively), but I have no confidence it's power is leveled, which would mean that we were just measuring how well the power is level, not the LF transfer function

laroque commented 11 years ago

@grybka for your stretch goal, is this different doing it with the receiver power set to correspond to 300K?

laroque commented 11 years ago

For reference, a default powerline DripResponse:

{'_id': u'de24cc4a6aec4a69a2e2fe49f41272a0', u'_rev': u'2-1638f788b3892cc20ae0203dccb39aab', u'command': {u'do': u'run', u'events': u'1024', u'input': u'/data/ben_test_again.egg', u'points': u'4096', u'subprocess': u'powerline'}, u'final': u'{ "sampling_rate": 500 , "data": [0.000437188,1.01231e-07,9.35934e-08,9.10054e-08,8.93774e-08,8.92308e-08,8.90038e-08,8.82761e-08,8.81071e-08,8.83547e-08,8.88969e-08,9.02423e-08,9.22585e-08,9.36821e-08,9.76249e-08,1.01151e-07,1.06755e-07,1.12992e-07,1.20928e-07,1.296e-07,1.402e-07,...,1.08062e-07,1.10158e-07,1.15539e-07,3.7027e-06] }', u'timestamp': u'2013-06-03 10:29:58', u'type': u'command'}

laroque commented 10 years ago

I was told to table this, so I'm closing it. Can reopen if we change our mind.