-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #18 from radionets-project/mojave_simulation
Mojave simulation
- Loading branch information
Showing
9 changed files
with
752 additions
and
50 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,30 @@ | ||
# radiosim | ||
Simulation of radio skies to create astrophysical data sets. | ||
This repository is part of the [`radionets-project`](https://github.com/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 -f environment.yml | ||
``` | ||
You can start the environment with | ||
``` | ||
$ mamba activate radiosim | ||
``` | ||
after the installation. | ||
|
||
## Usage | ||
|
||
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 path/to/rc/file.toml | ||
``` | ||
You can find an exemplary file in `rc/default_simulation.toml`. | ||
The simulations will be saved as `.h5` files. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -30,6 +30,7 @@ classifiers=[ | |
dependencies = [ | ||
"astropy", | ||
"click", | ||
"scikit-image", | ||
"h5py", | ||
"matplotlib", | ||
"numpy", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.