plots module

plots.bar_doserate_histogram(dose_df, dose_rate_df, detector_names)[source]
plots.create_animation(detector_arrays, xn, yn, detector_number)[source]

Create an animation of the dose rate over time in the SNC Patient detector array display arrangement.

Parameters: detector_arrays (ndarray): A 3D numpy array representing the dose rate at each time point.

Returns: None

plots.scatter_cumulative_dose(dose_rate_df, dose_accumulated_df, detector_name)[source]

Create a seaborn scatter plot with dose accumulated in the y-axis and time in the x-axis. The hue of the markers will be determined by the dose rate intervals.

Parameters: dose_rate_df (pd.DataFrame): DataFrame containing the dose rate values. dose_accumulated_df (pd.DataFrame): DataFrame containing the dose values. detector_name (int): The index of the detector to plot.

Returns: None