Code Monkey home page Code Monkey logo

hugs's Introduction

Hunt for Ultra-LSB Galaxies (hugs)

DOI

This repository contains a low-surface-brightness galaxy detection pipeline for the Hyper Suprime-Cam Subaru Strategic Program (HSC-SSP). As described in this paper, hugs was used to discover ~800 low-surface-brightness galaxies within the first ~200 square degrees of the HSC-SSP.

Dependencies

Using hugs

For HSC-SSP team members

If you have access to the calibrated exposures from a complete HSC rerun (e.g., at Mitaka, IAA, or Princeton), which can be called by the data butler, you can use the runner.pyscript to run the hugs pipeline on a single patch:

python scripts/runner.py -t $tract -p $patch

or a list of patches stored in a csv file:

python scripts/runner.py --patches_fn $filename

The pipeline parameters are given in a yaml configuration file. The default config file is here. The rerun directory is given by the data_dir parameter. You can pass a custom config file to runner.py with the --config_fn command line argument.

The pipeline builds a catalog as a sqlite database using sqlalchemy. The database will be created within the hugs_io directory, which is specified in the config file. The database model file is here.

The pipeline can be run in parallel mode using the --mpi (for mpi) or --ncores (for multiprocessing) arguments.

For everyone

If you are working with HSC-SSP images, the LSST stack provides an extremely useful suite of image processing tools. hugs uses the LSST codebase to "clean" images (i.e., remove bright sources and their associated diffuse light) and SExtractor to extract sources. For an example of how to use hugs on public HSC images, check out this notebook.

hugs's People

Contributors

johnnygreco avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

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