pyepr.hardware.Bruker_MPFU¶
Attributes¶
Classes¶
Represents the interface for connecting to MPFU based Bruker ELEXSYS-II |
Functions¶
|
|
|
Idenitifies how many unique MPFU channels are needed for a sequence and |
|
Idenitifies how many unique MPFU channels are needed for a sequence and |
|
|
|
Tunes the attenuator of a given channel to a given target using the |
|
Tunes the phase of a given channel to a given target using the |
|
|
|
|
|
|
Module Contents¶
- pyepr.hardware.Bruker_MPFU._MPFU_channels(sequence)[source]¶
Idenitifies how many unique MPFU channels are needed for a sequence and applies the correct Channel infomation to each pulse.
- pyepr.hardware.Bruker_MPFU._SPFU_channels(sequence, ELDOR=True)[source]¶
Idenitifies how many unique MPFU channels are needed for a sequence and applies the correct Channel infomation to each pulse.
- pyepr.hardware.Bruker_MPFU.tune_power(interface, channel, tol=0.1, maxiter=30, bounds=[0, 100], hardware_wait=3, echo='abs', save=True)[source]¶
Tunes the attenuator of a given channel to a given target using the standard scipy optimisation scripts.
- Parameters:
- channelstr
The chosen MPFU channel. Options: [‘+<x>’, ‘-<x>’, ‘+<y>’, ‘-<y>’]
- tolfloat, optional
The tolerance in attenuator parameter, by default 0.1
- maxiterint, optional
The maximum number of iterations in the optimisation, by default 30
- Returns:
- float
The optimal value of the attenuator parameter
- Parameters:
channel (str)
- Return type:
float
- pyepr.hardware.Bruker_MPFU.tune_phase(interface, channel, target, tol=0.1, maxiter=30, bounds=[0, 100], hardware_wait=3)[source]¶
Tunes the phase of a given channel to a given target using the standard scipy optimisation scripts.
- Parameters:
- channelstr
The chosen MPFU channel. Options: [‘+<x>’, ‘-<x>’, ‘+<y>’, ‘-<y>’]
- targetstr
The target echo position, this can either be maximising (+) or minimising (-) either the real (R) or imaginary (I) of the echo. Options: [‘R+’, ‘R-’, ‘I+’, ‘I-‘]
- tolfloat, optional
The tolerance in phase parameter, by default 0.1
- maxiterint, optional
The maximum number of iterations in the optimisation, by default 30
- Returns:
- float
The optimal value of the phase parameter
- Parameters:
channel (str)
target (str)
- Return type:
float
- pyepr.hardware.Bruker_MPFU.MPFUtune(interface, sequence, channels, echo='Hahn', tol=0.1, bounds=[0, 100], tau_value=550)[source]¶
- Parameters:
tol (float)
- pyepr.hardware.Bruker_MPFU.ELDORtune(interface, sequence, freq, MPFU=True, tau_value=550, test_tp=16, plot=False, save=True)[source]¶