GithubHelp home page GithubHelp logo

astrocompress's Introduction

Getting the data from sources

Setup

You'll need a modern unix-like environment (with git and git-lfs) where Anaconda can be installed:

wget https://repo.anaconda.com/archive/Anaconda3-2024.02-1-Linux-x86_64.sh
sh Anaconda3-2024.02-1-Linux-x86_64.sh

(First time only) Get this repo and clone the conda environment:

git clone https://github.com/profjsb/astrocompress.git
cd astrocompress
mkdir -p data/integer/imaging/sci/
conda env create --file astrocompress.yaml

Activate the environment:

conda activate astrocompress

Download the SDSS Data Cubes

You'll need to get the large CSV containing the list of the SDSS data fields:

cd sources/SDSS
git lfs pull --include "Stripe82Fields.csv"

Now get a sample of cubes. For example:

python ./make_sdss_cubes.py  -m None --size="(800,800)" --random_state=42 -n 2

See the documentation in make_sdss_cubes.py for command-line arguments.

Download the Keck data

cd sources
python download.py

This will do a trial run. To pull all the data:

python download.py --full

Keck Observatory Archive (KOA)

Link: https://koa.ipac.caltech.edu/

Description: this is ground based imaging a spectroscopy data from a variety of telescopes on the world's largest optical/infrared telescope.

Acknowledgements: This research has made use of the Keck Observatory Archive (KOA), which is operated by the W. M. Keck Observatory and the NASA Exoplanet Science Institute (NExScI), under contract with the National Aeronautics and Space Administration.

astrocompress's People

Contributors

profjsb avatar messier-16 avatar

Watchers

 avatar Yibo Yang avatar Buggyyang 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.