Profile defined from an INSIGHT measurement#

class lasy.profiles.FromInsightFile(file_path, pol, omega0='barycenter')[source]#

Profile defined from insight measurement.

Parameters:
file_pathstring

Path to the file created by INSIGHT that contains the full field (e.g. Exyt_0.h5)

pollist of 2 complex numbers (dimensionless)

Polarization vector. It corresponds to \(p_u\) in the above formula ; \(p_x\) is the first element of the list and \(p_y\) is the second element of the list. Using complex numbers enables elliptical polarizations.

omega0string or float

Set the central frequency for the envelope construction. Can be a float value in [rad/s], or a string defining the method for automatic frequency detection: “barycenter” frequency is averaged over the power profile, “peak” frequency corresponding to the location of the maximum of the on-axis spectrum.