Attenuator scan
attenuator_scan_separate_runs(duration=None, record=False, transmissions=[0.01, 0.02, 0.03], use_daq=True, **kwargs)
Runs through attenuator conditions and records each as an individual run
Parameters:
Name | Type | Description | Default |
---|---|---|---|
duration
|
int
|
When using the DAQ this corresponds to the number of events. If not using the DAQ, it corresponds to the number of seconds to wait at ech attenuator step. Default is 240 events (with DAQ), or 3 seconds (no DAQ). |
None
|
record
|
bool
|
set True to record |
False
|
transmissions
|
list
|
list of transmissions to run through. default [0.01,0.02,0.03] |
[0.01, 0.02, 0.03]
|
use_daq
|
bool
|
Whether to include the DAQ or not. Default: True. If False can run the scans while using the DAQ elsewhere. |
True
|
**kwargs
|
events: int
Provided for backwards compatibility. When using the DAQ, if this
keyword argument is passed, and |
{}
|
Operations
Source code in mfx/attenuator_scan.py
attenuator_scan_single_run(duration=None, record=False, transmissions=[0.01, 0.02, 0.03], use_daq=True, **kwargs)
Runs through attenuator conditions and records them all as one continuous run
Parameters:
Name | Type | Description | Default |
---|---|---|---|
duration
|
int
|
When using the DAQ this corresponds to the number of events. If not using the DAQ, it corresponds to the number of seconds to wait at ech attenuator step. Default is 240 events (with DAQ), or 3 seconds (no DAQ). |
None
|
record
|
bool
|
set True to record |
False
|
transmissions
|
list
|
list of transmissions to run through. default [0.01,0.02,0.03] |
[0.01, 0.02, 0.03]
|
use_daq
|
bool
|
Whether to include the DAQ or not. Default: True. If False can run the scans while using the DAQ elsewhere. |
True
|
**kwargs
|
events: int
Provided for backwards compatibility. When using the DAQ, if this
keyword argument is passed, and |
{}
|