Giter VIP home page Giter VIP logo

dirtygrid's People

Contributors

karllark avatar

Watchers

 avatar  avatar  avatar

dirtygrid's Issues

SED (Spectrum and Photometry) plots

  • Add colors (for now, the scatter plot in PhotDG is all same color if multiple SEDs)
  • Update the axis depending on the unit chosen
  • Add automatic legend
  • Add option to specify an subplot

Code to generate photometry

The DirtyGrid spectroscopic results are used to create the photometric grid. The code to generate photometry in a list of bands with provided response curves is needed.
@jchastenet: is this something you have and can provide (even if it is bare bones)?

dirtygrid as a class

revise original plot_and_print_dirtygrid to be a class
initialization to read in the dirtygrid (photometry only)
functions to:
plot a SED
print a SED
return a SED
return a set of SEDs

Unit conversion

Need to add a component to ask for a conversion from the DGrid initial units (erg/s/micron)

Band Response Curves Needed

We should include the response curves used to generate the photometric DG. This would allow for the grid to be (re)generated as needed (e.g., different redshift, new DG runs, etc.).

Make full spectra data files public

The full spectra are large and not well organized. And located only on central storage in many subdirectories. Jeremy and I have been talking about the need to get them more organized and posted publically. I will work on how to do this in manageable chunks. I'm currently thinking of having separate files for the 'discrete' variables (e.g., dust grain type, star formation type) with all the continuous variables for that set of discrete variables in one file (e.g., tau, sfr). Does this sound like a reasonable organization?

Test code needed

Need to start writing test code.
This will allow for automated travis ci testing.
Complicated as the code is directly coupled to working on the DG files. Maybe make a "small" DG grid and use the astropy remote_data methods.

vectorize function inputs

functions such as photoGet only support scalar inputs, which can decrease program efficiency significantly. As a result SEDs can only be retrieved once a time. Need to add in array input support.

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.