[sci] integrate changes from andy-d-palmer
[sci] integrate changes from andy-d-palmer

- use only those pixels that are non-zero in the first image
- don't hide nan values

alexandrovteam/pyImagingMSpec,andy-d-palmer/pyIMS