Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merging Dev1.6 for the upcoming hoki v1.6 release #76

Merged
merged 144 commits into from May 4, 2021
Merged

Merging Dev1.6 for the upcoming hoki v1.6 release #76

merged 144 commits into from May 4, 2021

Conversation

HeloiseS
Copy link
Owner

@HeloiseS HeloiseS commented May 4, 2021

Adding AgeWizard errors, theage subpackage, the data_compiler.py module to compile models and do model search

maxbriel and others added 30 commits June 2, 2020 16:43
The complex stellar population subpackage is meant to combine bpass 
variables with a stelalr formation history to generate more complex 
populations. To this end, we're implementing a stellar formation history 
class. The basic SFH class for custom SFH is implemented using scipy 
splines. This basic class is also tested.
This method allows for the calculation of the event rate at a given lookback time. It uses the BPASS binning for this. 

This method is much faster, but suffers from a lack of accuracy.
Both functions are implemented for the BPASS spectra. 
However, the method is similar to the BPASS event rate calculation, which is sub optimal for the spectra calculation. It takes an extremely long time to do the calculation. A for loop of 100000 iterations is present, because each wavelength is seen as it's own "event type". It should be possible to remove this by implementing a function to take the separate wavelengths as a single unit. It would be interesting so see the influence of putting the for loop within a numba function, but thinking about restructuring the function is probably better. 

Including a "caching" of the BPASS spectra into a pickled DataFrame. 



Additional test files are required for this to run.
HeloiseS and others added 22 commits November 27, 2020 10:40
Updated to install multiple python versions
Runs each individual python version separate
* Installs the requested python version (3.6 and 3.7) and uses `tox-gh-actions` to run the correct tox versions.

* self import in `hoki.age.utils` fixed.

* Add init files in test folders to account for similarly named test files.
@HeloiseS HeloiseS requested a review from maxbriel May 4, 2021 04:08
@HeloiseS HeloiseS added the enhancement New feature or request label May 4, 2021
@HeloiseS HeloiseS merged commit d2a14bd into release May 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants