Giter Club home page Giter Club logo

shapedeconv's Introduction

ShapeDeconv

Repo for Machine Learning-based deconvolution

shapedeconv's People

Contributors

eiffl avatar fadinammour avatar utsav-akhaury avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

haeslste

shapedeconv's Issues

Introduction

  • global context
  • description of the problem
  • current state of the art
  • plan of the paper

Add requirements.txt

We should add a file for all requirements, so that they can be easilty installed.
So far I've had to install

  • tensorflow
  • scikit-image
  • cython
  • pywavelets

Data set

  • Radio Dataset (MeerKAT3600)
  • Optical Dataset

Fix window estimation failures

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).

  • remove outliers.
  • investigate the statistics of the outliers and the other samples.

Compare Tikhonet to SCORE

Goal : establish a comparison between Tikhonet vs Tikhonet+Shape Constraint vs Sparse Deconvolution vs Sparse Deconvolution+Shape Constraint (SCORE)

  • extract a data set for the test.
  • run tests on each method.
  • set metrics.
  • analyse results.

PSF Parameters

We have to select ranges of source RA & DEC that could fit observations of length 1 2 4 8

  • constraint: MeerKAT fixed in SA
  • selection in delta vs Delta T
  • selection of "appropriate" RA (first pick a fixed date, later, deduced correct RA that fit delta & DT)
  • weighting of circumpolar sources vs near horizon sources

Improving HST PSF

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.

Analyse Shape Constraint Outputs

  • perform a grid search over the shape constraint trade-off parameter.
  • compare shape measurement results using the parametric dataset.
  • compare MSE results using the parametric and/or realistic dataset.

Reformat library

Here are the components we want to extract and make easily accessible:

  • Data input tools: everything needed to load data
  • Shape constraint losses: we want the shape constraint losses to be standalone functions

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.