Read a Bruker pulse program (pulseprogram) file.
Resultsing dictionary contains the following keys:
key | description |
---|---|
var | dictionary of variables assigned in pulseprogram |
incr | list of lists containing increment times |
loop | list of loop multipliers |
phase | list of lists containing phase elements |
ph_extra | list of lists containing comments at the end of phase lines |
The incr,phase and ph_extra lists match up with loop list. For example incr[0],phase[0] and ph_extra[0] are all increment and phase commands with comments which occur during loop 0 which has loop[0] steps.
Parameters : | filename : str
|
---|---|
Returns : | dic : dict
|
See also