metpyrad.Hidex300.export_plot#
- Hidex300.export_plot(kind, folder_path)#
Exports the specified type of measurement plot to a PNG file.
- Parameters:
kind (str) – The type of measurements to plot. Options are ‘background’, ‘sample’, or ‘net’.
folder_path (str) – The path to the folder where the PNG file will be saved.
- Raises:
ValueError – If an invalid measurement kind is provided.
Examples
>>> processor = Hidex300('Lu-177', 2023, 11) >>> processor.parse_readings('/path/to/folder') Found 2 CSV files in folder /path/to/folder >>> processor.process_readings('all') >>> processor.export_plot('sample', '/path/to/folder') Sample measurements PNG saved to "/path/to/folder" folder.