|
1 | 1 | # PyMEDM: Penalized Maximum-Entropy Dasymetric Modeling (P-MEDM) in Python |
2 | 2 |
|
3 | 3 |  |
| 4 | +[](https://badge.fury.io/py/pymedm) |
| 5 | +[](https://anaconda.org/conda-forge/pymedm) |
| 6 | + |
4 | 7 | [](https://github.com/likeness-pop/pymedm/actions/workflows/continuous_integration.yml) |
5 | 8 | [](https://codecov.io/gh/likeness-pop/pymedm) |
6 | 9 | [](https://github.com/astral-sh/ruff) |
7 | 10 |
|
8 | | -This is a GPU-ready Python port of [PMEDMrcpp](https://bitbucket.org/jovtc/pmedmrcpp/src/master) via `jax` and `jaxopt`. |
| 11 | +This is a GPU-ready Python port of [PMEDMrcpp](https://bitbucket.org/jovtc/pmedmrcpp/src/master) via `jax` and `jaxopt`. Support for usage on Windows is not guaranteed. |
| 12 | + |
| 13 | +## Installation |
| 14 | + |
| 15 | +### Conda-forge (recommended) |
| 16 | + |
| 17 | +The `pymedm` feedstock is available via the [conda-forge channel](https://github.com/conda-forge/pymedm-feedstock). |
| 18 | + |
| 19 | +``` |
| 20 | +$ conda install --channel conda-forge pymedm |
| 21 | +``` |
| 22 | + |
| 23 | +### PyPI |
| 24 | + |
| 25 | +`pymedm` is available on the [Python Package Index](https://pypi.org/project/pymedm/). |
| 26 | + |
| 27 | +``` |
| 28 | +$ pip install pymedm |
| 29 | +``` |
| 30 | + |
| 31 | +### Source |
| 32 | + |
| 33 | +#### Directly via GitHub + `pip` |
| 34 | + |
| 35 | +``` |
| 36 | +$ pip install git+https://github.com/likeness-pop/pymedm.git@develop |
| 37 | +``` |
| 38 | + |
| 39 | +#### Download + `pip` |
| 40 | + |
| 41 | +Download the source distribution (``.tar.gz``) and decompress where desired. From that location: |
| 42 | + |
| 43 | +``` |
| 44 | +$ pip install . |
| 45 | +``` |
| 46 | + |
| 47 | +## Usage |
| 48 | + |
| 49 | +* See usage examples in [`./notebooks/`](https://github.com/likeness-pop/pymedm/tree/main/notebooks) |
| 50 | + |
| 51 | +## Development |
| 52 | + |
| 53 | +1. Clone the repository to the desired location. |
| 54 | +2. Install in editable mode |
| 55 | + * Navigate to where the repo was cloned locally. |
| 56 | + * Within that directory: |
| 57 | + ``` |
| 58 | + $ pip install -e . |
| 59 | + ``` |
| 60 | +3. Open an Issue for discussion |
| 61 | +4. In a branch off `develop`, implement update/bug fix/etc. |
| 62 | +5. Create a minimal Pull Request with clear description linked back to the associated issue from (3.) |
| 63 | +6. Wait for review from maintainers |
| 64 | +7. Adjust as directed |
| 65 | +8. Once merged, fetch down `origin/develop` and merge into the local `develop` |
| 66 | +9. Delete the branch created in (4.) |
| 67 | +10. Start over at (2.) |
9 | 68 |
|
10 | 69 | ## References |
11 | 70 |
|
|
0 commit comments