All Projects → amusecode → amuse

amusecode / amuse

Licence: Apache-2.0 License
Astrophysical Multipurpose Software Environment. This is the main repository for AMUSE

Programming Languages

AMPL
153 projects
c
50402 projects - #5 most used programming language
fortran
972 projects
python
139335 projects - #7 most used programming language
C++
36643 projects - #6 most used programming language
Cuda
1817 projects

Projects that are alternatives of or similar to amuse

sncosmo
Python library for supernova cosmology
Stars: ✭ 53 (-53.91%)
Mutual labels:  astronomy, astrophysics
Virgo
📡 Virgo: A Versatile Spectrometer for Radio Astronomy
Stars: ✭ 85 (-26.09%)
Mutual labels:  astronomy, astrophysics
naima
Derivation of non-thermal particle distributions through MCMC spectral fitting
Stars: ✭ 32 (-72.17%)
Mutual labels:  astronomy, astrophysics
mwdust
Dust maps in the Milky Way
Stars: ✭ 21 (-81.74%)
Mutual labels:  astronomy, astrophysics
heyoka
C++ library for ODE integration via Taylor's method and LLVM
Stars: ✭ 151 (+31.3%)
Mutual labels:  astronomy, astrophysics
heyoka.py
Python library for ODE integration via Taylor's method and LLVM
Stars: ✭ 45 (-60.87%)
Mutual labels:  astronomy, astrophysics
yt astro analysis
yt astrophysical analysis modules
Stars: ✭ 18 (-84.35%)
Mutual labels:  astronomy, astrophysics
nmmn
Miscellaneous methods for: astronomy, dealing with arrays, statistical distributions, computing goodness-of-fit, numerical simulations and much more
Stars: ✭ 16 (-86.09%)
Mutual labels:  astronomy, astrophysics
phantom
Phantom Smoothed Particle Hydrodynamics and Magnetohydrodynamics code
Stars: ✭ 52 (-54.78%)
Mutual labels:  astronomy, astrophysics
PandExo
A Community Tool for Transiting Exoplanet Science with the JWST & HST
Stars: ✭ 23 (-80%)
Mutual labels:  astronomy, astrophysics
astromodels
Spatial and spectral models for astrophysics
Stars: ✭ 21 (-81.74%)
Mutual labels:  astronomy, astrophysics
ldtk
Python toolkit for calculating stellar limb darkening profiles and model-specific coefficients using the stellar atmosphere spectrum library by Husser et al. (2013). Described in Parviainen & Aigrain, MNRAS 453, 3821–3826 (2015).
Stars: ✭ 26 (-77.39%)
Mutual labels:  astronomy, astrophysics
astrodash
Deep learning for the automated spectral classification of supernovae
Stars: ✭ 25 (-78.26%)
Mutual labels:  astronomy, astrophysics
kepler orrery
Make a Kepler orrery gif or movie of all the Kepler multi-planet systems
Stars: ✭ 91 (-20.87%)
Mutual labels:  astronomy
mirapy
MiraPy: A Python package for Deep Learning in Astronomy
Stars: ✭ 40 (-65.22%)
Mutual labels:  astronomy
algobot
Cryptocurrency trading bot with a graphical user interface with support for simulations, backtests, optimizations, and running live bots.
Stars: ✭ 776 (+574.78%)
Mutual labels:  simulations
HBTplus
HBT+ subhalo finder and merger tree builder, the tool to get you out of mess and back to physics.
Stars: ✭ 12 (-89.57%)
Mutual labels:  astrophysics
astroalign
A tool to align astronomical images based on asterism matching
Stars: ✭ 102 (-11.3%)
Mutual labels:  astronomy
orbital-sim
A simple physics engine build over a PyGame simulation to accurately model planetary orbits in space
Stars: ✭ 31 (-73.04%)
Mutual labels:  astronomy
OSKAR
SKA Radio Telescope Simulator
Stars: ✭ 40 (-65.22%)
Mutual labels:  astronomy

AMUSE: The Astrophysical Multipurpose Software Environment

DOI PyPI version

This repository contains the AMUSE software. With AMUSE you can write scripts to simulate astrophysical problems in different domains.

The project website is:

and the documentation can be found at:

Getting Started

In short, most probably

pip install amuse

should get you going if you have a linux or Mac were you compile codes on (HDF5 and an MPI libraries must be installed).

Below are some hints for a quick install, if these fail please look for options at the detailed descriptions of the installation procedure in the documents in the 'doc/install' directory.

Compilers

To build AMUSE from source you need to have a working build environment. The AMUSE build system needs C/C++ and fortan 90 compilers, we recommend a recent version of GCC.

In Ubuntu you can setup the environment with (as root):

apt-get install build-essential curl g++ gfortran gettext zlib1g-dev

Other distributions have similar package or package groups available.

In macOS you can use the homebrew or macports package manager (both require the Apple Developer Tools and Xcode to be installed).

For a Windows 10 machine, AMUSE can be installed in the Windows Subsystem for linux (WSL), and installing e.g. Ubuntu from the Microsoft store. Its recommended to use WSL 2. For further installation instructions, see the Linux install instructions.

Python

AMUSE needs Python 3 version >=3.5 installed preferably with pip and virtualenv. It may be necessary to update pip to a recent version. If you cannot use Python 3, legacy support for Python 2 is available in the AMUSE 12 release and the python2 branch.

Installing Prerequisites

The following libraries need to be installed:

  • HDF (version 1.6.5 - 1.8.x)
  • MPI (OpenMPI or MPICH)

The following are needed for some codes:

  • FFTW (version >= 3.0)
  • GSL
  • CMake (version >= 2.4)
  • GMP (version >= 4.2.1)
  • MPFR (version >= 2.3.1)

Installing+building AMUSE

AMUSE can be installed through pip:

pip install [--user] amuse

This will build and install AMUSE with an extensive set of codes. If necessary this will also install some required Python packages:

  • Numpy (version >= 1.3.0)
  • h5py (version >= 1.2.0)
  • mpi4py (version >= 1.0)
  • pytest (version >= 5.0)
  • docutils (version >= 0.6)

If you are not using pip these must be installed by hand.

It is possible to install the minimal framework by:

pip install [--user] amuse-framework

This does not include any codes. These can be added

pip install [--user] amuse-<code name>

AMUSE Development

An AMUSE development install can also be handled through pip by executing (in the root of a clone of the repository)

pip install -e .

after this the codes need to be build:

python setup.py develop_build

Running the tests

AMUSE comes with a large set of tests, most can be run automatically. To run these tests start the py.test command from the main amuse directory (directory this README file lives in).

To run these tests do:

  1. install the tests
pip install [--user] amuse-tests

(this will install all tests whether or not you have installed the full amuse package)

  1. Run the automatic tests
pytest --pyargs -v amuse.test.suite

you can also just run the tests for the specific packages you have installed e.g.

pytest --pyargs amuse.test.suite.codes_tests.test_huayno

you may have to prefix mpiexec -n 1 --oversubscribe to the pytest command.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].