Skip to content

Model background from adjacent time bins #205

@israelmcmc

Description

@israelmcmc

Here’s in broad strokes what you need to do:
The goal is to run this tutorial https://cositools.github.io/cosipy/tutorials/spectral_fits/continuum_fit/grb/SpectralFit_GRB.html

But changing one detail. Instead of having the signal part of the light curve already selected, and the background known, generate a more realistic data set including signal+bkg, binned in time. You can follow
https://cositools.github.io/cosipy/tutorials/DataIO/DataIO_example.html
to learn how to bin the data

Then, from this signal+bkg, extract signal and background based on time, and complete the notebook.

It remains to be studied what’s the best time range is, but the idea is that you need something before and after the signal you are analyzing. Perform a weighted average based on their bkg time range, and the signal range you are analyzing.

Metadata

Metadata

Assignees

Labels

backgroundBackground fitting and modeling

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions