metpyrad.Hidex300#

class metpyrad.Hidex300(radionuclide, year, month)#

A class to process and summarize measurements for a given radionuclide with a Hidex TDCR.

This class provides methods to parse readings from CSV files, process different types of measurements (background, sample, net), generate summaries, and export results.

__init__(radionuclide, year, month)#

Initializes the HidexTDCR with the given radionuclide, year, and month.

Parameters:
  • radionuclide (str) – Name of the radionuclide being measured.

  • year (int) – Year of the measurements.

  • month (int) – Month of the measurements.

Methods

__init__(radionuclide, year, month)

Initializes the HidexTDCR with the given radionuclide, year, and month.

analyze_readings(input_folder, time_unit[, ...])

Processes readings from the input folder, prints a summary, and optionally saves the results.

export_plot(kind, folder_path)

Exports the specified type of measurement plot to a PNG file.

export_table(kind, folder_path)

Exports the specified type of measurements to a CSV file.

parse_readings(folder_path)

Parses readings from CSV files in the specified folder, generates a summary, and calculates statistics.

plot_measurements(kind)

Plots the specified type of measurements.

process_readings(kind[, time_unit])

Processes the specified type of measurements (background, sample, net, or all).

summarize_readings([save, folder_path])

Summarizes the readings by printing a message or saving it to a text file.

Attributes

radionuclide

Name of the radionuclide being measured (str).

year

Year of the measurements (int).

month

Month of the measurements (int).

readings

DataFrame containing the readings (pandas.DataFrame or None).

background

DataFrame containing the background measurements (pandas.DataFrame or None).

sample

DataFrame containing the sample measurements (pandas.DataFrame or None).

net

DataFrame containing the net measurements (pandas.DataFrame or None).

cycles

Number of cycles in the measurements (int).

cycle_repetitions

Number of repetitions per cycle (int).

repetition_time

Time per repetition in seconds (int).

total_measurements

Total number of measurements (int).

measurement_time

Total measurement time in seconds (int).