DirectSolver

class nsb2.core.solver.DirectSolver[source]

Bases: Solver

Base class for solvers of the direct, extinction-only light path.

Methods Summary

compute_rates(source, field, atmosphere, ...)

Compute per-source rates along the direct path.

Methods Documentation

abstractmethod compute_rates(source, field, atmosphere, bandpass)[source]

Compute per-source rates along the direct path.

Parameters:
Returns:

Rates, shape (N_sources, C_comp), with field.weights already applied.

Return type:

astropy.units.Quantity

__init__()
classmethod __new__(*args, **kwargs)