jgliss / pyplis

Python toolbox for the analysis of UV SO2 camera data
GNU General Public License v3.0
7 stars 5 forks source link

Add ImgList which handles multi layer fits and some minor changes #9

Closed solvejgdinger closed 5 years ago

solvejgdinger commented 6 years ago

With the new ImgListLayered class it is possible to work with fits files which contain more than one image. It is programmed in a non-invasive way (separate class), as we do not know the full reaction of all modules (we have to write more tests) to changes of the base class. A better way (for the future) would be to integrated this functionality in ImgList with e.g. a imglistmode argument. In the current solution, all objects containing ImgLists e.g. CellCalibEngine cannot be used with ImgListLayered and consequently with layered fits files.

The pull request contains also some other minor adaptions making it possible to mask pixels in the analysis.

PS: Sorry that the "Merge pull requests" are double now, I wasn't sure how to remove them