grasp2alm.BeamCut#
- class grasp2alm.BeamCut(filepath)[source]#
Class to hold the data from a beam cut file of GRASP.
- Parameters:
header (str) – Record with identification text.
vini (float) – Initial value.
vinc (float) – Increment.
vnum (int) – Number of values in cut.
c (numpy.ndarray) – Constant.
icomp (int) – Polarization control parameter.
icut (int) – Control parameter of cut.
ncomp (int) – Number of field components.
ncut (int) – Number of cuts.
amp (numpy.ndarray) – Amplitude.
- __init__(filepath)[source]#
Initializes a BeamCut object.
- Parameters:
filepath (str) – The path to the GRASP cut file.
Methods