Comments (1)
In case someone starts working on this, I want to bring up the following:
The beast has some code in grid_weights.py to deal with irregular grid spacings. E.g. for Z, the prior in bin-space is set equal to the the bin widths (based on the middles between the grid points in linear space). When summing over the grid, this corresponds to a flat prior in Z-space (sum becomes an integral)
When I implemented the distance parameter, I did not apply these weights to the distance (d), and so the weight is 1 for each bin, so the prior is flat in bin-space. So in d-space, we currently always have a 1/bin_width prior.
For a log-spaced distance grid this makes sense. If you do the math for this specific case, you can find that the bin width (however you calculate it) is a constant times the center value of the bin. So the prior is 1/d in d-space, which is flat in log(d)-space.
In any case, it would be better to just apply the same correction as for Z, and have a 1/d prior explicitly as an option.
from beast.
Related Issues (20)
- Need development for computing non-HST filter absolute flux calibration covariance matrix
- min_n_subfiles could be better
- Bug in random_seds method of 'make_ast_inputs' module
- Filters missing from newest vega.hd5 and filters.hd5 library files HOT 1
- What about white dwarf stellar atmosphere models?
- Including Wolf-Rayet stellar atmosphere models
- create_physicsmodel creates different outputs for nsubs>1 vs nsubs==1
- metal_small example failing at make_ast_inputs HOT 2
- Need new prior for Av vs. distance HOT 4
- F170W and F255W not plotting correctly in plot_filters HOT 2
- Issues with absexp distance prior and step prior HOT 10
- Update zero mag fluxes for the new "siriusvega" system
- Incomplete Conditional in merge_pdf1d_stats function
- Incorrect Av Grid spacing when fitting on Trimmed subgrid
- List of info that should be included in the BEAST Stats files HOT 1
- Replace pkg_resources: deprecated HOT 2
- macos tests failing due to h5py HOT 1
- Need to add the option to fit F658N HOT 1
- tables package cannot be installed using pip (not built on pypi?), but can be installed via conda
- Working example notebook for running the BEAST
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from beast.