Open DougBurke opened 4 years ago
Is it true that you can't use the pile-up model? I would think that you can, but the model parameters of the pile-up model will turn out to be only very weakly constraint. But I did not check the pile-up model code to see if it really works the way I think it works.
Well, it's not that the pileup model will stop working, but I was under the impression that you needed the high energy events (I have no idea how "high energy") to help constrain things (e.g. if two 7 keV photons piled up then you'd want ~ 14 keV events in the model). If you've filtered out these events aren't you going to bias the fit, not just increase the error bars?
However, I try to stay looking at faint things so I am no expert on this.
I think it would make sense if we check the subspace of the input event files to see if there's been an energy filter applied to it, and - if so - warn the user. To start the bike-shedding, something like
The pileup model warning is only really relevant if you have a high-energy cut-off, but I think it would make sense to leave in even if only a low-energy cut-off was used. The "blah to blah" but also depends on the choice of filter (and I'd suggest listing the most conservative limits if the filters are not consistent between the chips, which is a whole nother can of worms).