pyepr.fieldsweep_analysis¶
Classes¶
Analysis and calculation of FieldSweep Experiment. |
|
Functions¶
|
Create the field sweep model for a Nitroxide spin system. |
|
Passive rotation matrix. |
|
Calculates the Kronecker product of the identity matrix with a matrix M. |
|
Computes the Kronecker product of a matrix with the identity matrix of the same size. |
|
|
|
|
|
|
|
|
|
Build a field sweep spectrum |
Module Contents¶
- pyepr.fieldsweep_analysis.create_Nmodel(mwFreq)[source]¶
Create the field sweep model for a Nitroxide spin system.
- Parameters:
- mwFreqfloat
The microwave frequency in MHz
- pyepr.fieldsweep_analysis.eyekron(M)[source]¶
Calculates the Kronecker product of the identity matrix with a matrix M.
Parameters: M (np.ndarray): The matrix to be multiplied with the identity matrix.
Returns: np.ndarray: The Kronecker product of the identity matrix with M.
- Parameters:
M (numpy.ndarray)
- pyepr.fieldsweep_analysis.kroneye(M)[source]¶
Computes the Kronecker product of a matrix with the identity matrix of the same size.
- Args:
M (numpy.ndarray): The matrix to compute the Kronecker product with.
- Returns:
numpy.ndarray: The Kronecker product of M with the identity matrix of the same size.
- pyepr.fieldsweep_analysis.resfields(system, Orientations, mwFreq, computeIntensities=True, RejectionRatio=1e-08, Range=(0, 100000000.0), Threshold=0, computeFreq2Field=True)[source]¶
- pyepr.fieldsweep_analysis.build_spectrum(system, mwFreq, Range, knots=19, npoints=1000, Guass_broadening=0.25)[source]¶
Build a field sweep spectrum
- Parameters:
- systemSpinSystem
The spin system it must include: I & S spins, g, A, gn
- mwFreqfloat
The microwave frequency in MHz
- Rangefloat
The field range in mT
- knotsint, optional
The number of knots of orientation averaging, by default 19
- npointsint, optional
The number of points in the spectrum, by default 1000
- Returns:
- xAxis: np.ndarray
The xAxis in mT
- y: np.ndarray
The spectrum intensities normalised to 1