https://github.com/aboucaud/coindeblend

Accompanying code for

https://github.com/aboucaud/coindeblend

Science Score: 23.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
  • .zenodo.json file
  • DOI references
    Found 5 DOI reference(s) in README
  • Academic publication links
    Links to: arxiv.org
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (12.5%) to scientific vocabulary
Last synced: 10 months ago · JSON representation

Repository

Accompanying code for

Basic Info
Statistics
  • Stars: 6
  • Watchers: 2
  • Forks: 3
  • Open Issues: 2
  • Releases: 0
Created over 8 years ago · Last pushed over 3 years ago
Metadata Files
Readme License

README.md

Photometry of blended galaxies with Deep Learning

License arXiv

Code repository aimed at reprooducing the results presented in the arXiv paper.

Set up

candels-blender

The blend-images used in this analysis have been produced with candels-blender.

  1. Install the code and download the individual galaxies from CANDELS (see instructions)
  2. Choose a seed <SEED> and a total number of blend images <N_BLENDS> and compute a training set and test set bash candels-blender produce -n <N_BLENDS> --mag_high 23.5 --test_ratio 0.3 --seed <SEED>
  3. Prepare the segmentation labels with 3 channels : [overlap, central galaxy, companion galaxy] bash candels-blender concatenate -d output-s_<SEED>-n_<N_BLENDS> --method ogg_masks
  4. Provide a zeropoint to make the flux conversion for the catalog bash candels-blender convert -d output-s_<SEED>-n_<N_BLENDS> --zeropoint=25.5

output-s_<SEED>-n_<N_BLENDS> therefore becomes the data directory a.k.a. datadirs

Set the environment variable 'COINBLENDDATADIR' to your chosen datadir via ```bash export COINBLENDDATADIR= ```

coindeblend

  1. Clone this repository git clone https://github.com/aboucaud/coindeblend cd coindeblend

  2. Install the required dependencies

  • with conda: conda env create -f environment.yml conda activate coindeblend
  • with pip: python3 -m pip install -r requirements/requirements.txt
  1. Install coindeblend

python3 -m pip install .

Citing

If you use any of this work, please cite the original publication:

text @article{10.1093/mnras/stz3056, author = {Boucaud, Alexandre and Huertas-Company, Marc and Heneka, Caroline and Ishida, Emille E O and Sedaghat, Nima and de Souza, Rafael S and Moews, Ben and Dole, Hervé and Castellano, Marco and Merlin, Emiliano and Roscani, Valerio and Tramacere, Andrea and Killedar, Madhura and Trindade, Arlindo M M}, title = "{Photometry of high-redshift blended galaxies using deep learning}", journal = {Monthly Notices of the Royal Astronomical Society}, year = {2019}, month = {12}, issn = {0035-8711}, doi = {10.1093/mnras/stz3056}, url = {https://doi.org/10.1093/mnras/stz3056}, note = {stz3056}, eprint = {http://oup.prod.sis.lan/mnras/advance-article-pdf/doi/10.1093/mnras/stz3056/31176513/stz3056.pdf}, }

License

The code is published under the BSD 3-Clause License.

Owner

  • Name: Alexandre Boucaud
  • Login: aboucaud
  • Kind: user
  • Location: Paris, France
  • Company: Laboratoire APC, CNRS/IN2P3

GitHub Events

Total
Last Year

Dependencies

environment.yml conda
  • astropy
  • jupyter
  • keras
  • matplotlib
  • numpy
  • pandas
  • python >=3.6
  • scikit-learn
  • scipy
  • seaborn
  • sep
  • tensorflow 1.14.*
requirements/requirements.txt pypi
  • Keras *
  • astropy *
  • click *
  • jupyter *
  • matplotlib *
  • numpy *
  • pandas *
  • scipy *
  • sep *
  • tensorflow ==1.15.4
setup.py pypi
  • h5py *
  • keras *
  • matplotlib *
  • numpy *
  • pandas *
  • scikit-learn *
  • scipy *
  • sep *
  • tensorflow ==1.14