-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* add `FeatureFunction` to `potentials.py`, an abstract base class for different types of feature functions such as steps or dips * add `FeaturePotential` to `potentials.py`, an abstract base class for an inflationary potential with a feature that inherits from `InflationaryPotential` and from `FeatureFunction` * add `GaussianDip` to `potentials.py`, implementing a Gaussian dip feature function * add `TanhStep` to `potentials.py`, implementing a step feature function using a hyperbolic tangent * add `StarobinskyGaussianDipPotential` and `StarobinskyTanhStepPotential` to `potentials.py`, implementing the respective features for a Starobinsky potential * version bump to 2.9.0; introducing features in potentials * change amplitude usage for `GaussianDip` such that positive input corresponds to a dip as the name suggests * rename `GaussDip` to `GaussianDip` * add test for feature potentials
- Loading branch information
1 parent
21419fa
commit 1638a0e
Showing
4 changed files
with
220 additions
and
19 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#!/usr/bin/env python | ||
""":mod:`primpy.__version__`: version file for primpy.""" | ||
|
||
__version__ = '2.8.0' | ||
__version__ = '2.9.0' |
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