ScatteredSolver¶
- class nsb2.core.solver.ScatteredSolver[source]¶
Bases:
SolverBase class for solvers of the scattered, indirect light path.
Methods Summary
compute_rates(source, field, atmosphere, ...)Compute in-scattered rates on an evaluation grid.
Methods Documentation
- abstractmethod compute_rates(source, field, atmosphere, bandpass, eval_coords)[source]¶
Compute in-scattered rates on an evaluation grid.
- Parameters:
source (nsb2.core.sources.Source) – The source the field was queried from.
field (nsb2.core.dtypes.SourceField) – Sources illuminating the atmosphere.
atmosphere (nsb2.core.atmosphere.Atmosphere) – Atmosphere providing the scattering kernel.
bandpass (nsb2.core.spectral.Bandpass) – Instrument passband.
eval_coords (astropy.coordinates.SkyCoord) – Grid of directions to evaluate at, shape
(M_lat, M_lon).
- Returns:
Rates, shape
(M_lat, M_lon, N_sources, C_comp), withfield.weightsalready applied.- Return type:
- __init__()¶
- classmethod __new__(*args, **kwargs)¶