Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Energy flux column addition in binned products #643

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

simo7588
Copy link
Contributor

Addition of Energy Flux and Energy Flux Error as columns in binned products PCUBE and PMAPCUBE.

Energy flux and its error were defined in Kislat2015.py.

Energy flux is defined as the integral over energy (and, potentially, phase) of energy times flux as function of energy. Working on binned products:

energy_flux = sum(energy * weights)/livetime

and the errors are defined as:

ene_flux_err = sqrt(sum((energy * weights)**2))/livetime

weights are defined as 1/Aeff for each event, just like the Stokes parameters weights.

Columns ‘EFLUX' and ‘EFLUXERR’ were added to PCUBE and PMAPCUBE binned products.

Such columns are combined over the 3 DUs using inverse variance weighting.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant