Git Product home page Git Product logo

Comments (4)

gbernstein avatar gbernstein commented on May 27, 2024

I have pushed a branch #26_ccdnoise to the repo which contains a CcdNoise.h file and class of the same name that implements the standard CCD noise model. I believe it works and have tested it to some extent using examples/AddNoise.cpp, but because I don't have any python knowledge yet, the AddNoise.py demonstration program that will actually save the noisy images is not yet functional. Have a look and see if the CcdNoise class has the interface that you would like, and maybe someone can get it talking with python.

from galsim.

barnabytprowe avatar barnabytprowe commented on May 27, 2024

Yes, I'll take this on Gary. Yesterday I wrapped all the RandomDeviates, so think I have the tools to hand...

from galsim.

barnabytprowe avatar barnabytprowe commented on May 27, 2024

Am going to pull my initial wrappers of the Random Deviates to the master branch, and then get going on the Python wrappers for the CcdNoise class....

from galsim.

barnabytprowe avatar barnabytprowe commented on May 27, 2024

Hi Gary,

I've made a start on the wrapper for the CcdNoise but have hit a snag with getting my boost wrappers to work. This is piece of learning I need to do, and I don't want this to hold back the milestone.

However, within galsim/noise.py there are now simple functions (with docs) for adding either Poisson noise or Gaussian noise to Images in Python, and so these could be used to get the same behaviour, and would be enough for the milestone. But I am committed to getting this wrapper working soon as I believe it gives a nice one-stop-shop for adding noise to images, and I'm also sure that filling the Image with random deviates will be faster if done in C++ than if done in Python. I'll make a new CcdNoise specific issue for that task, and rename the branch accordingly. This issue, the milestone specific one, I will close (can reopen if necessary!)

from galsim.

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.