autodeer.reporter
¶
Module Contents¶
Classes¶
Convert byte streasm containing SVG into a Reportlab Flowable. |
|
Functions¶
|
|
|
Creates a 2x2 summary figure. |
Attributes¶
- class autodeer.reporter.SvgFlowable(svg)[source]¶
Bases:
reportlab.platypus.Flowable
Convert byte streasm containing SVG into a Reportlab Flowable.
Convert SVG to RML drawing on initializtion.
- Parameters:
svg (io.BytesIO)
- autodeer.reporter.create_report(save_path, Results, SpectrometerInfo=None, UserInputs=None, Pulses=None)[source]¶
- Parameters:
Results (dict)
SpectrometerInfo (dict)
UserInputs (dict)
- autodeer.reporter.combo_figure(EDFS, respro, pulses, relaxation, init_deer, long_deer, title=None)[source]¶
- Creates a 2x2 summary figure.
The top left plot is the EDFS and resonator profile, overlapped with the optimised pulses.
The top right plot is the relaxation data and fits.
The bottom left plot is the initial DEER data and fits.
The bottom right plot is the final DEER data and fits.
- Parameters:
- EDFS: ad.FieldSweepAnalysis
The Echo-Detected Field Sweep analysis.
- respro: ad.ResonatorProfileAnalysis
The resonator profile analysis
- pulses: dict
A dictionary containing the optimised pulses.
- relaxation: list
A list containing the relaxation data and fits.
- init_deer: deerlab.FitResult
The initial DEER data and fits.
- long_deer: deerlab.FitResult
The final DEER data and fits.
- title: str, optional
The title of the figure, by default None
- Parameters:
pulses (dict)
relaxation (list)