TCDSolar / stixpy

STIX data analysis in python
https://stixpy.readthedocs.io/
BSD 3-Clause "New" or "Revised" License
17 stars 20 forks source link

Implement background subtraction in create_meta_pixels #91

Open paolomassa opened 2 months ago

paolomassa commented 2 months ago

I think that it is necessary to implement background subtraction at the level of pixel counts. In my opinion, the best place to have it implemented is inside create_meta_pixels. We could have add a keyword bkg_cpd containing a compressed pixel data structure for a bkg measurement. If we do not pass bkg_cpd as input, then we do not perfom background subtraction

samaloney commented 2 months ago

Agreed we absolutely need to facilitate this but I'm not sure if create_meta_pixels is the best place.