An ALMA Simulation package for a more civilized era.
Project description
Overview
ALMASim is a package to generate mock observations of radio sources as observed by the Atacama Large Millimetre/Submillimetre Array (ALMA). ALMASim primary goal is to allow users to generate simulated datasets on which to test deconvolution and source detection models. ALMASim is intended to leverage MPI parallel computing (Dask, Slurm, PBS) on modern HPC clusters to generate thousands of ALMA data cubes, but can also work on laptopts. ALMA database or a prepared catalogue is queried to sample observational metadata such as band, bandwidth, integration time, antenna configurations and so on. ALMASim employs the MARTINI Package (https://github.com/kyleaoman/martini), and the Illustris Python Package (https://github.com/illustristng/illustris_python).
Citing ALMASim
If you use ALMASim in your research, please cite the following paper:
@ARTICLE{10.1093/mnras/stac3314,
author = {Delli Veneri, Michele and Tychoniec, Łukasz and Guglielmetti, Fabrizia and Longo, Giuseppe and Villard, Eric},
title = "{3D Detection and Characterisation of ALMA Sources through Deep Learning}",
journal = {Monthly Notices of the Royal Astronomical Society},
year = {2022},
month = {11},
issn = {0035-8711},
doi = {10.1093/mnras/stac3314},
url = {https://doi.org/10.1093/mnras/stac3314},
note = {stac3314},
eprint = {https://academic.oup.com/mnras/advance-article-pdf/doi/10.1093/mnras/stac3314/47014718/stac3314.pdf}
}
ALMASim entry: https://doi.org/10.1093/mnras/stac3314
Installation Notes
ALMASim works with python3 (version 3.12), and does not support python2. First create a virtual environment with python3 and activate it. Then install the required packages with pip:
Create the Python Environment:python3.12 -m venv astro-env
Activate it: source astro-env/bin/activate (in case of your shell is Bash, otherwise check the other activations scripts within the bin folders)
Installing with pip
pip install almasim
Installing from GitHub
Clone the ALMASim Repository: git clone https://github.com/MicheleDelliVeneri/ALMASim.git
Install packages from the requirements file: pip install -e .
Adding Kaggle API
Login into Kaggle and go to: https://www.kaggle.com/settings
Click on create new token, this will produce a kaggle.json file which must be saved in your home folder: ~/.kaggle/kaggle.json
Getting started
To run the simulation, just run:
python -c "from almasim import run; run()"
Notes
Cube size will dictate simulation speed and RAM usage. To gauge what you can affort to run, we advice to start with a single simulation of a 256 x 256 x 256 cube.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file almasim-2.1.9.tar.gz.
File metadata
- Download URL: almasim-2.1.9.tar.gz
- Upload date:
- Size: 1.4 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.10.12 Linux/6.5.0-1023-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4f25677e25913d825437a388a2c2ce5675bd2f21267a95721fed3d34e668e9ee
|
|
| MD5 |
4050fb494ced634c5b6d09b54c1e34e4
|
|
| BLAKE2b-256 |
262b0c8dd2b1b777b0516d1ded3fbdbd5ffd3bee220575a26fb29edcda33c821
|
File details
Details for the file almasim-2.1.9-py3-none-any.whl.
File metadata
- Download URL: almasim-2.1.9-py3-none-any.whl
- Upload date:
- Size: 1.5 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.10.12 Linux/6.5.0-1023-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2ccfd0c7f0a836fa79aa4652d06997facb991ef4a2be5638a50dacd7cf3a1ae7
|
|
| MD5 |
b08275ff955aaed31c331795fb88d252
|
|
| BLAKE2b-256 |
e363dc255dce4b33abfcb443a44fdd46a45bc5e08d5e4842f630c3075e214694
|