Comments (4)
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.
Yes, I'll take this on Gary. Yesterday I wrapped all the RandomDeviates, so think I have the tools to hand...
from galsim.
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.
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)
- Should the `addNoise` method of CCDNoise return `sky / gain` not just `sky`? HOT 2
- Have GalSim support Windows installations. HOT 3
- ZeroDivisionError in ChromaticSum.drawImage HOT 1
- Factor out pupil sampling from `PhaseScreenPSF._shoot` HOT 5
- galsim 2.4.0 makes breaking change to public ImageView. HOT 3
- galsim.Aperture specified with a pupil_plane_im is 4 times slower than using galsim.Aperture parameters HOT 2
- HSM fails on Image constructed from flipped numpy array HOT 1
- Revisit use of spline LookupTable in SED class
- Add Quantity as a valid value_type in config HOT 1
- SBProfile::draw : Flux/imscale scaling questionable when full jacobian is provided. HOT 4
- drawFFT_finish vs image.calculate_inverse_fft HOT 1
- calculate_inverse_fft: _BoundsI ymax value? HOT 1
- drawFFT image type HOT 1
- Support filtering FITS in GalSim Catalogs HOT 2
- Moffat: maxK HOT 2
- Moffat: setupFT HOT 1
- Image simple galaxy sheared: Real_space vs FFT HOT 3
- pip install on Colab fails HOT 7
- Galsim Convolution vs scipy fftconvolve HOT 11
- Compile failure with conda compiler on macos HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from galsim.