pybsm.radiance.functional.check_well_fill
- pybsm.radiance.functional.check_well_fill(*, total_photoelectrons: float, max_fill: float) float
Check to see if the total collected photoelectrons are greater than the desired maximum well fill.
If so, provide a scale factor to reduce the integration time.
- Parameters:
total_photoelectrons – array of wavelengths (m)
max_fill (float) – desired well fill; i.e., maximum well size x desired fill fraction
- Returns:
- scale_factor:
the new integration time is scaled by scale_factor