Coder Social home page Coder Social logo

arioboo / unet_detector Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 113.55 MB

CCN UNet detector, intended to be applied to galaxy images to discover regions.

Jupyter Notebook 99.73% Python 0.23% HTML 0.04%
astrophysics unet-image-segmentation deep-learning machine-learning galaxy-evolution jupyter-notebook sextractor

unet_detector's Introduction

UNET_DETECTOR

NOTE: This project is actually abandoned. I mantain it public, so feel free to explore it and make me know if you want to collaborate/use code/give ideas on the project. If so, mail me to "[email protected]" to get further support/instructions.

#-<DESCRIPTION>-#

The goal is to find regions of high SFR called "clumps" in these simulated VELA galaxies. For that purpose, we use Deep Learning (U-Net CNN architecture to perform a feature extraction). Training has been done in Lee at al. 2019 for filters F435W and F606W of ACS instrument (CANDELS project in the HST) There has been observations of clumps in real data from other papers from Huertas-Company et al. This project makes 2D catalogues of clumps with SExtractor software. Catalogues are in .csv format and are exportable to other formats (json,etc.) A good tool to visualize catalogues is TOPCAT.

#-<VELA data folders>-#

2 basic sets:

  • VELA_archive_2filters.tar.gz : (~14Gb) This is the selected 30 VELA folders for F435W and F606W. Redshift ranges may vary as well as sizes and epochs from one gal. to another.
  • VELA_archive.tar.gz : (~30Gb) This is the whole sample of VELA simulation.

Although scripts work with the general dataset, we recommend the "2filters" dataset. Please email to "[email protected]" to ask for one of the above datasets.

#-<INITIAL INSTRUCTIONS>-#

The initial steps are pretty standard ones:

DATASET DECOMPRESSION

export clumpsvela_pdir="<repository_path_here>" 
cd $clumpsvela_pdir 
tar -xvzf <dataset> 

PYTHON PATH INCLUSSION: (set in .bashrc in analogous way)

export PYTHONPATH=$PYTHONPATH:$clumpsvela_pdir ;
#-<GENERAL USAGE>-#

To use the scripts:

  1. python_work/ folder Use the "make_all.py" script with the required options given. This will make DATA/ and DATA_outputs/ in this folder.
  2. sextractor_work/ folder Use "sex_catalog_create.py". This will link original maps from DATA/ and predicted maps from DATA_outputs/ in this folder. Then, it will run SExtractor and create a pandas.Dataframe to store catalogs in. Finally, catalogues are exported to .csv format to catalogues/

unet_detector's People

Contributors

arioboo avatar kelly8080 avatar

Stargazers

 avatar

Watchers

 avatar

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.