Comments (8)
Thanks! It looks to me like this is probably more a prospector issue than an fsps one, since the looping is happening there, and the implementation here looks sensible. @bd-j will have a better sense, but it might be worth moving this issue over there!
from python-fsps.
Yes this is probably better as a prospector issue though python-fsps could be set up to only run check_params()
before or within the call to _compute_csp()
. In practice I've never run into this because I usually don't use sf_start
; I think sf_start>0
is perfectly degenerate with tage=tage-sf_start; sf_trunc=sf_trunc-sf_start; sf_start=0
from python-fsps.
Thank you both for your help. Perhaps it is a Prospector issue, however I couldn't figure out how to update the fsps parameters and call check_params()
only after-the-fact.
In any case, I appreciate the advice for how to avoid the issue!
from python-fsps.
ah, right I guess there's no easy way to ensure the order that the parameters are updated won't trigger the error, without putting another identical check in prospector and reordering the update there. I think having StellarPopulation. _update_params()
call self.params.check_params()
might be the cleanest way to solve this issue.
from python-fsps.
Thanks both! This makes sense to me. Are there any other places where we should add a call to check_params or is that sufficient?
from python-fsps.
I think that’s the only place driver.update_* get called, so should be sufficient
from python-fsps.
perfect! Let's do it!
from python-fsps.
@k-a-webb this issue should be resolved by #187
from python-fsps.
Related Issues (20)
- Problem with MILES Spectral Library and Python FSPS HOT 3
- Choosing spectral and isochrone libraries (Windows) HOT 3
- Obtain spectral indices for stellar population HOT 3
- Failing to add new filters on Macbook M1 HOT 8
- Creating a Star-forming Galaxy from sps.isochrones() and its log(weight) output HOT 2
- Using sps.isochrone() with BPASS HOT 3
- arm64 architecture error HOT 2
- No emission lines for a SSP HOT 2
- Handle deprecation of numpy.distutils HOT 1
- Feature request: Wheels and/or docs for M1 macs
- v0.4.2 dev: nebular emission not properly added for very young stellar populations HOT 6
- Tests are extremely slow on Windows
- Segmentation fault when importing fsps HOT 13
- Adding New Filters Documentation
- wrong installation? HOT 10
- Odd behavior with optical emission lines HOT 4
- Re-enable Windows wheel builds HOT 1
- Emission line extinction mechanism HOT 1
- Emission lines from post-AGB UV radiation
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 python-fsps.