-
Notifications
You must be signed in to change notification settings - Fork 64
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enhancements for Pk2D, Tk3D, Tracer. (#923)
* first commit * 'other' contains 'self' * 'other' contains 'self' * added bool dunder method * correct implementation of non-commutative __dunders__ & simple psp checks * tidy-up code for optional cosmo in Pk2D.eval * querying C-level stuff via property * flaked * has_tsp property * tests for all new features * a few more tests * straightforward memory optimization * Pk2D.from_model * removed spurious cosmo from testing * *sigh* py37-compatibility loses 1-line elegance * functools.wraps to preserve docs * immutable Pk2D * added bool for Tracer * moved Tracer.__bool__ to pk2d_extensions * Tracer chi_min and chi_max properties * improved docstrings, simplified Pk2D.copy and Pk2D.__call__ * brought back vectorized calls in * Tracer.[chi_min | chi_max] behavior
- Loading branch information
1 parent
d99b2cf
commit ec71862
Showing
8 changed files
with
413 additions
and
203 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters