Git Product home page Git Product logo

Comments (4)

mwcraig avatar mwcraig commented on August 17, 2024

Thanks for the detailed report @kjkoeller. One question I can answer right away. I think that ccd_process creates, by default, an error image and a mask image for each output image. That is causing most of the size difference, too.

The other factor that affects size is what precision the results are saved with. Python defaults to 64-bit float which much more resolution than any CCD images actually need. I'm pretty sure IRAF defaults to 32-bit floats.

What settings did you use when you combined the images in IRAF? Was it a median combine, or mean, did you do any clipping, etc?

from ccdproc.

kjkoeller avatar kjkoeller commented on August 17, 2024

That is fine @mwcraig , but should that mark and error image be outputted with the new image? It might make it hard to do other photometry analysis on the images if there is 3 images imbedded in a single file. Also the file size is now enormous so having hundreds of images where each image triples or quadruples could be an issue as well.

The combination is a median and there is a high sigma clipping of 5 or higher.

from ccdproc.

kjkoeller avatar kjkoeller commented on August 17, 2024

I am a little confused as to why the error image and pixel mask are even created in the ccd_process to begin with, as they are never used again. From what I can tell it would be better to either comment these lines out or have them be a separate return.

https://github.com/astropy/ccdproc/blob/main/ccdproc/core.py#L217

from ccdproc.

kjkoeller avatar kjkoeller commented on August 17, 2024

Any updates?

from ccdproc.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.