feelingLucky

fiducia.main.feelingLucky(dataFile, attenuatorsFile, offsetsFile, responseFile, csplineDatasetFile, channels, area, angle, signalsUncertainty=None, peaksNum=2)[source]

Attempt processing dante signals given dante data file and calibration files using sensible defaults.

Parameters
  • dataFile (str) – Full path to the Dante .dat file containing dante signals from LLE site.

  • attenuatorsFile (str) – Full path to file containing attenuator serial numbers and corresponding attenuation factors.

  • offsetsFile (str) – Full path to file containing oscilloscope channel offsets in time and voltage.

  • responseFile (str) – Full path and filename of .csv file containing DANTE respones functions corresponding to dataFile.

  • csplineDatasetFile (str) – File pointing to the path of the saved dataset containing ‘’detArr’’, ‘’detArrBoundaryCol’’, ‘’detArrInv’’, and ‘’stdDetArrInv’’. See :func:’error.analyzeSpectrumUncertainty()’.

  • channels (list, numpy.ndarray) – List or array of relevant channels for which to apply analysis.

  • area (float) – Area of emitting surface in units of mm^2. For hohlraums/halfraums, this is the area of the LEH. Used in Trad calculation.

  • angle (float) – Angle between the surface area normal and the Dante line of sight in degrees. Usually 37.4 degrees for hohlraums/halfraums. Used in Trad calculation.

  • signalsUncertainty (numpy.ndarray, optional) – One dimensional array with each element corresponding to the uncertainty each signal. The default is None.

Notes

Examples