karllark / dirtygrid Goto Github PK
View Code? Open in Web Editor NEWCode to access the DirtyGrid set of UV-FIR dust+star radiative transfer models
License: BSD 3-Clause "New" or "Revised" License
Code to access the DirtyGrid set of UV-FIR dust+star radiative transfer models
License: BSD 3-Clause "New" or "Revised" License
@jchastenet: is this due to not having the interpolation code to expand the sparse spectroscopic grid to the "uniform" photometry grid?
the models results give the full spectrum
need to have a way to get this full spectrum via the dirtygrid class
will have to decide how to access/store this larger volume of results
Comparing the DG results to photometry at different redshifts is clearly desired. Need code to make this straightforward based on on the spectroscopic DG.
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)?
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
need to be able to generate new photometry from an input filter response function
Need to add a component to ask for a conversion from the DGrid initial units (erg/s/micron)
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.).
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?
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.
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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.