Coder Social home page Coder Social logo

bearbearcodes / coop_f2021 Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 0.0 977.04 MB

Isaac Cheng's repo for his 2B work term with Drs. Toby Brown, Joel Roediger, and Matt Taylor

License: GNU General Public License v3.0

Jupyter Notebook 99.56% Python 0.43% Shell 0.01%

coop_f2021's Introduction

coop_f2021

Isaac Cheng's repo for his 2B work term with Drs. Toby Brown, Joel Roediger, and Matt Taylor.

If you just need to use some code that I wrote, it can probably be found in my astro-utils repo.

Table of Contents

I do not recommend cloning this entire repository since it is very large! Instead, use svn to download just the folder(s) or file(s) you need. For example:

svn export https://github.com/BearBearCodes/coop_f2021/trunk/galaxies/make_rgb.ipynb
svn export https://github.com/BearBearCodes/coop_f2021/trunk/packages/
svn export https://github.com/BearBearCodes/coop_f2021/trunk/stellar_mass_pipeline/

Notice the tree/master portion of the url has been replaced with trunk.

If you require version control, you can svn checkout instead of svn export. See this StackOverflow page for more details.

Warm-up exercises just to become familiarized with the CANFAR system.

Contains some useful packages. Compiled primarily for my own use, but if you are not dissuaded by their (lack of) organization, feel free to use these as well. Also see my astro-utils repo.

Main Dependencies

Most of these should be installed in an AstroConda environment by default. Note that I use f-strings in my code, so a Python version >= 3.6 is required.

  • numpy
  • astropy
  • matplotlib
  • scipy
  • reproject (IMPORTANT: I use the latest reproject v0.8. Do not use reproject v0.4, which may be the version installed via conda. I recommend using pip to install this package.)
  • numba and multiprocessing (not mandatory, but I use it in my notebooks to speed up some steps. numba is required for fast_vorbin)
  • photutils (if you are using my radial profile code)
  • radio_beam (if you are using my radial profile code)
  • seaborn (if you are using my plot_utils code)
  • numba-kdtree (if you are using fast_vorbin)

Note that add_beam() and add_scalebeam() from the plot_utils package use functions from radial_profile_utils.

A short walkthrough of how to go from NGVS u-, g-, i-, z-band data to stellar mass density radial profiles. Includes steps for regular binning, Voronoi binning, colour-colour to mass-to-light ratio lookup table generation, and radial profile creation.

More details in the README_stellar_mass_pipeline.md file.

Contains the scripts and results for all the galaxies we've looked at. All galaxies have been regularly binned to VERTICO 2 arcsec and 4 arcsec pixel resolutions as well as adaptively binned using Voronoi binning.

There are various README and .txt files in this folder and its subfolders. Please read them as they contain important information.

N.B. I did not upload any pickle files! Please contact me if you need them (they contain the data I use to generate my plots, lookup table, etc).

Just has some matplotlib stylesheets that I use for my beamer presentations.

Contains a selection of results from the galaxies folder as well as some sample code used to create these data products. Like the galaxies folder, no pickle files are included so contact me if you need the data products.

More details in the README_compiled_results.md file.

coop_f2021's People

Contributors

bearbearcodes avatar

Stargazers

 avatar

Watchers

 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.