Skip to content

Commit faa7f82

Browse files
committed
merging .txt files
1 parent ada34f3 commit faa7f82

3 files changed

Lines changed: 1 addition & 50 deletions

File tree

README.md

Lines changed: 0 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,6 @@
77

88
*Massive Black-Hole Binary Population Synthesis for Gravitational Wave Calculations ≋●≋●≋*
99

10-
<<<<<<< HEAD
11-
This package, which is actively under development, is aimed at providing a comprehensive framework for MBH binary population synthesis. The framework includes modules to perform pop synth using a variety of methodologies to get a handle on both statistical and systematic uncertainties. Currently, binary populations can be synthesis based on: cosmological hydrodynamic simulations (Illustris), semi-analytic/semi-empirical models (SAMs), and observational catalogs of local galaxies and/or quasars.
12-
13-
## Installation
14-
15-
The `holodeck` framework is currently under substantial, active development. It will not be available on `pypi` (`pip`) or via `conda` install until it has stabilized. Currently `holodeck` requires `python >= 3.8`, and tests are run on versions `3.8`, `3.9`, `3.10`.
16-
=======
1710
<img src="docs/media/holodeck_logo.png" width="260" alt="holodeck logo">
1811

1912
This package provides a comprehensive framework for MBH binary population synthesis. The framework includes modules to perform population synthesis using a variety of methodologies from semi-analytic models, to cosmological hydrodynamic simulations, and even observationally-derived galaxy merger catalogs.
@@ -28,7 +21,6 @@ This package provides a comprehensive framework for MBH binary population synthe
2821
## Installation
2922

3023
The `holodeck` framework is currently under substantial, active development. Stable versions are now available with `pip install holodeck-gw` (see [holodeck on pypi](https://pypi.org/project/holodeck-gw)). However, recent versions and many development tools will not generally be available with ``pip`` or ``conda`` install.
31-
>>>>>>> dev
3224

3325
`holodeck` requires ``python >= 3.9`` (with support for: ``3.9, 3.10, 3.11``). The recommended installation is:
3426

@@ -92,46 +84,12 @@ For some scripts (particularly for generating libraries), an MPI implementation
9284

9385
## Documentation
9486

95-
<<<<<<< HEAD
96-
The primary sources of documentation for `holodeck` are this `README.md` file, the notebooks included in the `notebooks/` directory, and docstrings included in the source code directly. [`readthedocs` documentation](https://readthedocs.org/projects/holodeck-gw) are being written and improved, and a methods paper is in preparation.
97-
98-
## Contributing
99-
100-
This project is being led by the [NANOGrav](http://nanograv.org/) Astrophysics Working Group.
101-
102-
Details on contributions and the mandatory code of conduct can be found in the [CONTRIBUTING.md](./CONTRIBUTING.md) file.
103-
104-
To-do items and changes to the API should be included in the [CHANGELOG.md](./CHANGELOG.md) file.
105-
106-
Contributions are not only welcome but encouraged, anywhere from new modules/customizations to bug-fixes to improved documentation and usage examples. The git workflow is based around a `main` branch which is intended to be (relatively) stable and operational, and an actively developed `dev` branch. New development should be performed in "feature" branches (made off of the `dev` branch), and then incorporated via pull-request (back into the `dev` branch).
107-
108-
### Testing:
109-
110-
(Unit)tests should be developed in two ways: for basic functions/behaviors, standard unit-tests can be placed in the `holodeck/tests/` directory. More complex functionality should be tested in notebooks (in `notebooks/`) where they can also be used as demonstrations/tutorials for that behavior. The python script `scripts/convert_notebook_tests.py` converts target notebooks into python scripts in the `holodeck/tests/` directory, which can then be run by `pytest`. The script `scripts/tester.sh` will run the conversion script and then run `pytest`.
111-
112-
113-
### Formatting:
114-
115-
New code should generally abide by PEP8 formatting, with [`numpy` style docstrings](https://numpydoc.readthedocs.io/en/latest/format.html). Exceptions are:
116-
117-
* lines may be broken at either 100 or 120 columns
118-
119-
### Notebooks:
120-
121-
Please strip all notebook outputs before commiting notebook changes. The [`nbstripout`](https://github.com/kynan/nbstripout) package is an excellent option to automatically strip all notebook output only in git commits (i.e. it doesn't change your notebooks in-place). You can also use `nbconvert` to strip output in place: `jupyter nbconvert --clear-output --inplace <NOTEBOOK-NAME>.ipynb`.
122-
123-
To install this package for just this repository:
124-
125-
* (1) install: `pip install --upgrade nbstripout` or `conda install -c conda-forge nbstripout`
126-
* (2) enable: `nbstripout --install --attributes .gitattributes` (run this in the top-level `holodeck/` directory)
127-
=======
12887
Full package documentation for `holodeck` is available on [readthedocs](https://holodeck-gw.readthedocs.io/en/main/).
12988

13089

13190
## Contributing & Development
13291

13392
Contributions are not only welcome but encouraged, anywhere from new modules/customizations to bug-fixes to improved documentation and usage examples. Please see [Development & Contributions](https://holodeck-gw.readthedocs.io/en/main/development.html).
134-
>>>>>>> dev
13593

13694
## Copyright
13795

holodeck/discrete/evolution.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -984,15 +984,14 @@ def _hardening_rate(self, step, store_debug=True):
984984
# Raise error on invalid entries
985985
bads = ~np.isfinite(_hard_dadt) | (_hard_dadt > 0.0)
986986
if np.any(bads):
987-
print("hard = ", hard)
988987
log.error(f"{step} hard={hard} : dadt = {utils.stats(_hard_dadt)}")
989988
err = f"invalid `dadt` for hard={hard} (bads: {utils.frac_str(bads)})!"
990989
log.exception(err)
991990
log.error(f"BAD dadt = {_hard_dadt[bads]}")
992991
log.error(f"BAD sepa = {self.sepa[bads, step]}")
993992
log.error(f"BAD mass = {self.sepa[bads, step]}")
994993
raise ValueError(err)
995-
994+
996995
if (self.eccen is not None):
997996
if _ecc is None:
998997
log.warning(f"`Evolution.eccen` is not None, but `dedt` is None! {step} {hard}")

requirements.txt

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,10 @@ pydoe
1010
psutil
1111
tqdm
1212
cython<3.0.0
13-
<<<<<<< HEAD
14-
schwimmbad
15-
emcee
16-
george
17-
=======
1813
# schwimmbad # used in the `gps` submodule
1914
# emcee # used in the `gps` submodule
2015
# george # used in the `gps` submodule
2116
# sympy # used in the detstats submodule
2217
# hasasia # used in the detstats submodule
2318
# healpy # used in the anisotropy submodule
24-
>>>>>>> dev
2519
# mpi4py

0 commit comments

Comments
 (0)