Skip to main content

Library for handling equations of state for supranuclear matter, computing neutron star properties, and utilities for numerical relativity

Project description

What is this?

The pyRePrimAnd package provides a Python interface for the RePrimAnd C++ library which can be found here.

RePrimAnd is a support library for numerical simulations of general relativistic magnetohydrodynamics and other neutron star related problems. RePrimAnd provides

  • A general framework for handling matter equations of state,
  • A solver for the TOV equations describing nonrotating neutron stars
  • Tools for precomputing properties for sequences of neutron stars.
  • Methods for recovering primitive variables in GRMHD. This is not included in the Python interface because it is mainly needed for high performance computing.

Documentation

The documentation for the library and the Python interface can be found here

Installation

For the Linux platform, we provide Python wheels bundled with the precompiled library. They can be installed from pypi using

pip install pyreprimand

For other platforms, including Macs, one would first have to build and install the reprimand library from source (see here). Installing pyreprimand with pip will then try building from source. This may still fail as MacOS is not the development platform. In this case, please open a ticket on the issue tracker

Requirements

  • The numpy package

Only when building from source distribution:

  • A C++11 capable compiler (tested with gcc and clang).
  • Python pybind11 package >= 2.6.0 (only for Python bindings)
  • The RePrimAnd library (only when building from source dist)

Support

In case of errors in the Python interface or the library, submit a ticket to the issue tracker.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

RePrimAnd-1.7-pp310-pypy310_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (9.7 MB view hashes)

Uploaded PyPy manylinux: glibc 2.17+ x86-64

RePrimAnd-1.7-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (9.7 MB view hashes)

Uploaded PyPy manylinux: glibc 2.17+ x86-64

RePrimAnd-1.7-pp38-pypy38_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (9.7 MB view hashes)

Uploaded PyPy manylinux: glibc 2.17+ x86-64

RePrimAnd-1.7-pp37-pypy37_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (9.7 MB view hashes)

Uploaded PyPy manylinux: glibc 2.17+ x86-64

RePrimAnd-1.7-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (9.7 MB view hashes)

Uploaded CPython 3.12 manylinux: glibc 2.17+ x86-64

RePrimAnd-1.7-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (9.7 MB view hashes)

Uploaded CPython 3.11 manylinux: glibc 2.17+ x86-64

RePrimAnd-1.7-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (9.7 MB view hashes)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64

RePrimAnd-1.7-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (9.7 MB view hashes)

Uploaded CPython 3.9 manylinux: glibc 2.17+ x86-64

RePrimAnd-1.7-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (9.7 MB view hashes)

Uploaded CPython 3.8 manylinux: glibc 2.17+ x86-64

RePrimAnd-1.7-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (9.7 MB view hashes)

Uploaded CPython 3.7m manylinux: glibc 2.17+ x86-64

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page