PowerLaw ======== .. currentmodule:: ctao_cr_spectra .. autoclass:: PowerLaw :show-inheritance: .. rubric:: Attributes Summary .. autosummary:: ~PowerLaw.is_diffuse .. rubric:: Methods Summary .. autosummary:: ~PowerLaw.__call__ ~PowerLaw.compute_events_rate ~PowerLaw.compute_number_events ~PowerLaw.integrate_area ~PowerLaw.integrate_cone ~PowerLaw.integrate_energy ~PowerLaw.integrate_time .. rubric:: Attributes Documentation .. autoattribute:: is_diffuse .. rubric:: Methods Documentation .. automethod:: __call__ .. automethod:: compute_events_rate .. automethod:: compute_number_events .. automethod:: integrate_area .. automethod:: integrate_cone .. automethod:: integrate_energy .. automethod:: integrate_time