Skip to content

radionets-project/radiosim

Repository files navigation

radiosim Test Status pre-commit.ci status Code coverage PyPI version Zenodo DOI License: MIT

Simulation of radio skies to create astrophysical data sets. This repository is part of the Radionets Project.

Installation

This repository is built as a python package. We recommend creating a mamba environment to handle the dependencies of all packages. You can create one by running the following command in this repository:

$ mamba env create --file=environment.yml

You can start the environment with

$ mamba activate radiosim

after the installation.

Usage

Radio Galaxy Simulations

There are currently three supported simulation types: 1. survey full sky simulation 2. jet extended source 3. mojave MOJAVE like extended source

In the radiosim environment you can start the simulation with

$ radiosim-simulate path/to/rc/file.toml

You can find an example file in rc/default_simulation.toml. The simulations will be saved as .h5 files.

Protoplanetary Disk Simulations

Simulating protoplanetary disks requires pytorch. You can install radiosim with the required dependencies using uv:

$ uv pip install "radiosim[torch]"

You can start the simulation with using the ppdisk CLI tool:

$ radiosim-ppdisk path/to/rc/file.toml

You can find an example file in rc/default_ppdisks_simulation.toml. The simulations will be saved as .h5 files.

The simulation parameters are described in the ppdisks module.

About

Simulation of radio skies to simulate astrophysical data sets.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 7

Languages