e15190.neutron_wall.time_of_flight_calibration.Plotter¶
- class e15190.neutron_wall.time_of_flight_calibration.Plotter¶
Plotter utility class.
This is an utility class to plot the results from
TimeOfFlightCalibrator.>>> calib = TimeOfFlightCalibrator('B', 4100) >>> calib.fit_bar(bar=24) # will take a while >>> fig, axes = Plotter.plot(calib, bar=24) >>> plt.show()
Functions
__init__()generate_mosaic_layout(n_points)plot(obj, bar)plot_speed_of_light_fit(ax, obj, bar)plot_time_of_flight_histogram(ax, ...)save_plot(obj, bar[, path])Properties
base_layout- __init__()¶