Skip to content

Commit

Permalink
Fix bugs in data_collection.py and add better examples (#126)
Browse files Browse the repository at this point in the history
* only build design matrices for valid inputs

* remove most OOB treatment in interpolants

* add simple b-spline example

* remove submit arg

* skip examples in pre-commit

* pre-commit

* update func name

* add funcs for powerlawpeak mass, beta spin mag, and mixture iso aligned tilt models

* allow mixing fraction to be different in independent mixture iso aligned tilt model

* make parametric specific run analysis func

* add parametric model example

* fix typo

* remove 4pi factor from dVcdz

* remove minus sign on alpha for clarity

* move 4pi factor to dVcdz in cosmology

* fix mass_1 prior eval

* improve catagorical syntax

* improve dict to xarray for subpops

* add non-IID calculations

* update pip reqs

* bug fix

* pre-commit

* change dl 2 z prior to Mpc from Gpc

* remove .value and var_L

* fix iid spin test

* pre-commit

---------

Co-authored-by: Ben Farr <[email protected]>
  • Loading branch information
jaxengodfrey and bfarr authored Oct 1, 2024
1 parent f0f1deb commit 9be4819
Show file tree
Hide file tree
Showing 17 changed files with 925 additions and 1,337 deletions.
1 change: 1 addition & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
exclude: 'examples'
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.3.0
Expand Down
Loading

0 comments on commit 9be4819

Please sign in to comment.