Repo for Machine Learning-based deconvolution
cosmostat / shapedeconv Goto Github PK
View Code? Open in Web Editor NEWRepo for Machine Learning-based deconvolution
License: MIT License
Repo for Machine Learning-based deconvolution
License: MIT License
Goal : add the shape constraint used in SCORE to Tikhonet.
We should add a file for all requirements, so that they can be easilty installed.
So far I've had to install
We need a script to analysis the results. Fadi is working on it here: https://github.com/CosmoStat/ShapeDeconv/blob/master
Bug :
In the Unet evaluation notebook, we can observe the presence of anomalies in windows estimation.
Technical explanation :
This due to an unsuccessful output in the function galsim.hsm.FindAdaptiveMom
in get_moments
. It is flagged with the boolean moments_status
of the ShapeData Galsim object.
Physical explanation :
galsim.hsm.FindAdaptiveMom
fails to estimate the shape of small sources. Since we're using the pixel resolution of CFHT for HST galaxies, many of these of these galaxies will be very small thus the failure of their shape and window estimation.
Proposed solution :
An easy solution is to remove the outliers (galaxies with failed window estimation).
Goal : establish a comparison between Tikhonet vs Tikhonet+Shape Constraint vs Sparse Deconvolution vs Sparse Deconvolution+Shape Constraint (SCORE)
We need a script to train the model. Fadi is working on it here: https://github.com/CosmoStat/ShapeDeconv/blob/master/scripts/tikhonet_train.py
Things to do there:
sbatch
: http://www.idris.fr/jean-zay/gpu/jean-zay-gpu-exec_mono_batch.htmlWe have to select ranges of source RA & DEC that could fit observations of length 1 2 4 8
ShapeDeconv/scripts/tikhonet_train.py
Line 131 in 3230e23
The noise addition should be done according to the section 4.1 of Deep Learning for space-variant deconvolution in galaxy surveys paper. For each image a SNR level in [20,100] is picked and the corresponding noise is applied to the image.
The current HST PSF (which is Gaussian) is too big. We would like to replace it with an optimally smaller PSF that will be used for all the HST images.
Link to a Jupyter Notebook generate a minimal isotropic COSMOS PSF:
https://github.com/ml4astro/galaxy2galaxy/blob/master/notebooks/BuildingCOSMOS_PSF.ipynb
Link to integrate the PSF to a galaxy2galaxy problem using a fits file:
https://github.com/ml4astro/galaxy2galaxy/blob/6d8b20722a5545c8c79a19cb67c6131c061763ed/galaxy2galaxy/data_generators/cosmos.py#L172
Adapt the first notebook to generate a minimal isotroptic COSMOS PSF for HST
Compare the COSMOS PSF to the Gaussian PSF and the true HST PSF and check if it's smaller than the Gaussian one.
Here are the components we want to extract and make easily accessible:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.