Notebook#
General#
- pyxel.display_detector(detector, *, new_display=False, custom_histogram=True)[source]#
Display detector interactively.
- Parameters:
detector (
Detector
)new_display (
bool
, default:False
) – Enable new display.Note
This parameter is provisional and can be changed or removed.
custom_histogram (
bool
, default:True
) – Use a custom method to display the histogram. This parameter can only be used when new_display is enabled.Note
This parameter is provisional and can be changed or removed.
Notes
When using new_display parameter is enabled and trying to display the detector with the y-log scale, the histogram will not be displayed (see issue [#2591](holoviz/holoviews#2591) in [Bokeh](https://docs.bokeh.org/).
To resolve this issue, you need to set the custom_histogram parameter to True.
Examples
>>> import pyxel >>> from pyxel.detectors import CCD
>>> detector = CCD(...) >>> pyxel.display_detector(detector)
>>> pyxel.display_detector(detector, new_display=True)
Displaying calibration inputs and outputs in notebooks#
- pyxel.display_calibration_inputs(calibration, detector)[source]#
Display calibration inputs and target data based on configuration file.
- Parameters:
calibration (
Calibration
) – Instance of Calibration.detector (
Detector
) – Instance of Detector.
- Returns:
plot (
Layout
)
- pyxel.display_evolution(ds)[source]#
Display best champion parameter and overall fitness vs evolution.