Skip to content

Counts are too High Compared to Linux IRAF and 3 Images in a Single Fits File #806

@kjkoeller

Description

@kjkoeller

When combining bias, flats, or darks together into a master image, the resulting counts per pixel is on average a lot higher using ccdproc than the Linux counter part.

It's actually only like 10 counts higher between the master bias images, but for the master flats there is a 12k-20k count difference (more counts in the Python version vs. the Linux version). I have uploaded some example master files here (GitHub page) and test calibration images here. The other weird thing is, is that the file size between the Linux version and Python. The Linux version is about 4x smaller than the Python corresponding versions.

I am not sure if this is supposed to happen either, but when I open the fits files that are outputted from the Python version, it shows three separate images within the master flat file (same type of thing for bias, darks, and science images).

The first image is the master flat, the second image is an image of all 0 count pixel values, and the third is not even a single flat image but maybe a mask?

Screenshot 2023-05-08 100510
Screenshot 2023-05-08 100532
Screenshot 2023-05-08 100552

Versions

Python version: 3.9
Astropy version: 5.1.1 have also tried 5.2.2
Numpy version: 1.22.3
Pyerfa version: 2.0.0.1
Scipy version: 1.9.3
Matplotlib version: 3.5.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions