All Projects → vijayvarma392 → surfinBH

vijayvarma392 / surfinBH

Licence: MIT license
Surrogate Final BH properties

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to surfinBH

vankampen-stochastic
Exercises and notes for N.G. Van Kampen's Stochastic Processes in Physics and Chemistry
Stars: ✭ 19 (+35.71%)
Mutual labels:  physics
Raymarched-GPU-Particles-with-Screenspace-Physics
Using Grab Passes for VRChat
Stars: ✭ 44 (+214.29%)
Mutual labels:  physics
mujoco
Multi-Joint dynamics with Contact. A general purpose physics simulator.
Stars: ✭ 4,685 (+33364.29%)
Mutual labels:  physics
harfang3d
HARFANG 3D source code public repository
Stars: ✭ 173 (+1135.71%)
Mutual labels:  physics
pylj
Teaching Utility for Classical Atomistic Simulation.
Stars: ✭ 23 (+64.29%)
Mutual labels:  physics
LocalSimulation
This plugin allows you to essentially create PxScene or Physic Scenes by placing an Actor, and adding other Static Mesh Components and soon Skeletal Mesh components within this space. Adding Constraints, and Forces will work as expected, but now with the additional layer of abstraction so that simulation can be anchored to a transform.
Stars: ✭ 42 (+200%)
Mutual labels:  physics
harmonica
A simple, physics-based animation library 🎼
Stars: ✭ 571 (+3978.57%)
Mutual labels:  physics
FusionWater
A simple way to add buoyancy / water physics in Unity, built on the existing physics engine
Stars: ✭ 204 (+1357.14%)
Mutual labels:  physics
kosm
Kosm for Android source code
Stars: ✭ 33 (+135.71%)
Mutual labels:  physics
Physics
experimenting with physics simulation
Stars: ✭ 53 (+278.57%)
Mutual labels:  physics
lab-dotphy
The Virtual Lab for Physics
Stars: ✭ 14 (+0%)
Mutual labels:  physics
jitternator
Lessons learnt from hunting jitter issues
Stars: ✭ 59 (+321.43%)
Mutual labels:  physics
GooFit
Code repository for the massively-parallel framework for maximum-likelihood fits, implemented in CUDA/OpenMP
Stars: ✭ 112 (+700%)
Mutual labels:  physics
diffractsim
✨ A diffraction simulator for exploring and visualizing physical optics.
Stars: ✭ 239 (+1607.14%)
Mutual labels:  physics
physics-module-ammonext
Physics module for Whitestorm.js [Beta]
Stars: ✭ 38 (+171.43%)
Mutual labels:  physics
physics-learning-path
This is my physics learning path. Best courses I've found to learn physics online.
Stars: ✭ 37 (+164.29%)
Mutual labels:  physics
My NoteBook
サイエンス、テクノロジー、エンジニアリング関連の情報を記載したノート(忘備録)です。
Stars: ✭ 104 (+642.86%)
Mutual labels:  physics
projectile
An artist-friendly tool for throwing stuff around inside Blender
Stars: ✭ 136 (+871.43%)
Mutual labels:  physics
riroriro
A code for simulating gravitational waves and evaluating their detectability.
Stars: ✭ 18 (+28.57%)
Mutual labels:  gravitational-waves
lumin
LUMIN - a deep learning and data science ecosystem for high-energy physics.
Stars: ✭ 45 (+221.43%)
Mutual labels:  physics

github PyPI version Conda Version DOI license Build Status

Welcome to surfinBH!

BHScattering


surfinBH provides surrogate final Black Hole properties for mergers of binary black holes (BBH).

These fits are described in the following papers:
[1] Vijay Varma, D. Gerosa, L. C. Stein, F. Hébert and H. Zhang, arxiv:1809.09125.

[2] Vijay Varma, S. E. Field, M. A. Scheel, J. Blackman, D. Gerosa, L. C. Stein, L. E. Kidder, H. P. Pfeiffer, arxiv:1905.09300.

If you find this package useful in your work, please cite reference [1] and, if available, the relevant paper describing the particular model. Please also cite this package, see the DOI badge at the top of this page for BibTeX keys.

This package lives on GitHub, is compatible with python3, and is tested every week. You can see the current build status of the master branch at the top of this page.

Installation

PyPI

surfinBH is available through PyPI:

pip install surfinBH

Conda

surfinBH is available on conda-forge:

conda install -c conda-forge surfinbh

From source

git clone [email protected]:vijayvarma392/surfinBH.git
cd surfinBH
git submodule init
git submodule update
python setup.py install

If you do not have root permissions, replace the last step with python setup.py install --user

Dependencies

All of these can be installed through pip or conda.

Usage

import surfinBH

See list of available fits

print(surfinBH.fits_collection.keys())
>>> ['NRSur3dq8Remnant', 'NRSur7dq4Remnant', 'surfinBH7dq2']

Pick your favorite fit and get some basic information about it.

fit_name = 'NRSur7dq4Remnant'

surfinBH.fits_collection[fit_name].desc
>>> 'Fits for remnant mass, spin and kick veclocity for generically precessing BBH systems up to mass ratio 4.'

surfinBH.fits_collection[fit_name].refs
>>> 'arxiv:1905.09300'

Load the fit

This only needs to be done once at the start of your script. If the fit data is not already downloaded, this will also download the data.

fit = surfinBH.LoadFits(fit_name)
>>> Loaded NRSur7dq4Remnant fit.

Evaluation

The evaluation of each fit is different, so be sure to read the documentation. This also describes the frames in which different quantities are defined.

help(fit)

We also provide ipython examples for usage of different fits:

Current fits
Older fits

Animations

We also provide a tool to visualize the binary black hole scattering process, see binary black hole explorer. Here's an example:

Making contributions

See this README for instructions on how to make contributions to this package.

You can find the list of contributors here.

Credits

The code is developed and maintained by Vijay Varma. Please report bugs by raising an issue on our GitHub repository.

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].