Simulate genealogical trees and genomic sequence data using population genetic models

msprime msprime is a population genetics simulator based on tskit. Msprime can simulate random ancestral histories for a sample of individuals (consistent with a given demographic model) under a range of different models and evolutionary processes. Msprime can also simulate mutations on a given ancestral history (which can be produced by msprime or other programs supporting tskit) under a variety of genome sequence evolution models. Please see the documentation for more details, including installation instructions. Research notice Please note that […]

Read more

Massively parallel rigidbody physics simulation on accelerator hardware

BRAX Brax is a differentiable physics engine that simulates environments made up of rigid bodies, joints, and actuators. It’s also a suite of learning algorithms to train agents to operate in these environments (PPO, SAC, evolutionary strategy, and direct trajectory optimization are implemented). Brax is written in JAX and is designed for use on acceleration hardware. It is both efficient for single-core training, and scalable to massively parallel simulation, without the need for pesky datacenters. Some policies trained via Brax. […]

Read more

A Scheil-Gulliver simulation tool using pycalphad

scheil A Scheil-Gulliver simulation tool using pycalphad. import matplotlib.pyplot as plt from pycalphad import Database, variables as v from scheil import simulate_scheil_solidification # setup the simulation parameters dbf = Database(‘alzn_mey.tdb’) comps = [‘AL’, ‘ZN’, ‘VA’] phases = sorted(dbf.phases.keys()) liquid_phase_name = ‘LIQUID’ initial_composition = {v.X(‘ZN’): 0.3} start_temperature = 850 # perform the simulation sol_res = simulate_scheil_solidification(dbf, comps, phases, initial_composition, start_temperature, step_temperature=1.0) # plot the result for phase_name, amounts in sol_res.cum_phase_amounts.items(): plt.plot(sol_res.temperatures, amounts, label=phase_name) plt.plot(sol_res.temperatures, sol_res.fraction_liquid, label=’LIQUID’) plt.ylabel(‘Phase Fraction’) plt.xlabel(‘Temperature (K)’) plt.title(‘Al-30Zn […]

Read more

A fast open-source simulator for poly-articulated systems

Jiminy Jiminy is a fast and lightweight cross-platform open-source simulator for poly-articulated systems. It was built with two ideas in mind: provide a fast yet physically accurate simulator for robotics research. Jiminy is built around Pinocchio, an open-source fast and efficient kinematics and dynamics library. Jiminy thus uses minimal coordinates and Lagrangian dynamics to simulate an articulated system: this makes Jiminy as close as numerically possible to an analytical solution, without the risk of joint violation. build an efficient and […]

Read more

A PowSyBl and Python integration based on GraalVM native image

PyPowSyBl The PyPowSyBl project gives access PowSyBl Java framework to Python developers. This Python integration relies on GraalVM to compile Java code to a native library. Installation PyPowSyBl is released on PyPi. First, make sure you have an up-to-date version of pip and setuptools: pip3 install –upgrade setuptools pip –user Then you can install PyPowSyBl using pip: pip3 install pypowsybl –user Build from sources Requirements: To build from sources and install PyPowSyBl package: git clone –recursive https://github.com/powsybl/pypowsybl.git export JAVA_HOME= pip3 […]

Read more

Percolation simulation using python

PythonPercolation Percolation simulation using python. Exemple de percolation : Etude statistique sur le pourcentage de remplissage jusqu’à percolation dépendament de la largeur de la matrice (percolation gauche-droite): Percolation 3D : GitHub https://github.com/TonyChouteau/PythonPercolation    

Read more

A python package simulating the quasi-2D pseudospin-1/2 Gross-Pitaevskii equation

spinor-gpe A python package simulating the quasi-2D pseudospin-1/2 Gross-Pitaevskii equation with NVIDIA GPU acceleration. Introduction spinor-gpe is high-level, object-oriented Python package for numerically solving the quasi-2D, psuedospinor (two component) Gross-Piteavskii equation (GPE), for both ground state solutions and real-time dynamics. This project grew out of a desire to make high-performance simulations of the GPE more accessible to the entering researcher. While this package is primarily built on NumPy, the main computational heavy-lifting is performed using PyTorch, a deep neural network […]

Read more

COsmological N-body CodE in PyThon

CONCEPT COsmological N-body CodE in PyThon. CONCEPT (COsmological N-body CodE in PyThon) is a free and open-source simulation code for cosmological structure formation. The code should run on any Linux system, from massively parallel computer clusters to laptops. The code is written almost exclusively in Python, but achieves C-like performance through code transformation using a custom transpiler/optimizer and Cython. CONCEPT is capable of simulating matter particles evolving under self-gravity in an expanding background. It has multiple gravitational solvers to choose […]

Read more

A python package for simulation and gradient based parameter estimation in the context

SimPEG Simulation and Parameter Estimation in Geophysics – A python package for simulation and gradient based parameter estimation in the context of geophysical applications. The vision is to create a package for finite volume simulation with applications to geophysical imaging and subsurface flow. To enable the understanding of the many different components, this package has the following features: modular with respect to the spacial discretization, optimization routine, and geophysical problem built with the inverse problem in mind provides a framework […]

Read more
1 2 3