Skip to main content

A framework for generating deep-learning SKA radio telescope & cosmological hydrodynamical simulation data

Project description

#+AUTHOR: phdenzel
#+TITLE: skais-mapper
#+DATE: 2022-09-06 Tue
#+OPTIONS: author:nil title:t date:nil timestamp:nil toc:nil num:nil \n:nil

[[https://pypi.org/project/skais-mapper][https://img.shields.io/pypi/v/skais-mapper.svg]]
[[https://pypi.org/project/skais-mapper][https://img.shields.io/pypi/pyversions/skais-mapper.svg]]
[[https://www.gnu.org/licenses/gpl-3.0][https://img.shields.io/badge/License-GPL%20v3-blue.svg]]


*** Table of Contents

- [[#requirements][Requirements]]
- [[#install][Install]]
- [[#usage][Usage]]
- [[#data][Data]]
- [[#license][License]]



~skais-mapper~ is a tool for generating, plotting, and pre-processing
hydrodynamics simulation (image) data for state-of-the-art generative
AI models.


** Requirements

~skais-mapper~ is mostly built on python, but also includes some C
extensions for the compute-intensive raytracing (building and
visualizing datasets). Building from scratch thus requires ~cython~,
however ~skais~ ships with pre-compiled C files, making the minimal
requirements

- ~python >= 3.10~
- ~gcc~ (on linux) / ~clang~ (on macOS)

Also see ~pyproject.toml~ for the relevant python packages.


** Install

It is recommended to install ~skais-mapper~ in a virtual environment
via ~uv~. For this, run

#+begin_src shell
uv sync
#+end_src

Alternatively, you can simply run

#+begin_src shell
python setup.py build_ext --inplace
pip install [-e] .
#+end_src

If you want to compile the C extension from the cython files directly,
run in advance to the above

#+begin_src shell
python setup.py build_c [-a]
#+end_src


*** On Nix(OS)

For Nix(OS) users, the repository includes a ~flake.nix~ file. It
allows to create a development environment compatible with standard
~uv~ use.


** Usage

~skais-mapper~ implements a few sub-commands for generating and
manipulating simulation data. Use the following to see what valid
sub-commands exist:

#+begin_src shell
[uv run] skais-mapper -h
#+end_src

~skais-mapper~ sub-commands implement the hydra configuration
management framework. For more information on sub-command usage,
inspect the ~skais_mapper/configs/~ directory, or use:

#+begin_src shell
[uv run] skais-mapper [sub-command] -h
#+end_src

For instance, the command to generate 1000 images from snapshot 50 is
as follows:

#+begin_src shell
[uv run] skais-mapper generate +experiment=tng50-1-50-2D-0000-1000
#+end_src


** Data

Currently, this framework is fully compatible with SPH data from the
AREPO simulator, in particular the
[[https://www.tng-project.org/data/][IllustrisTNG suite]]. It
provides utility routines to fetch isolated halos from simulations
snapshots and various raytracing algorithms for 2D column density
projections of these halos and its galaxies. The framework generates
HDF5 files with image datasets of various galactic properties, such as
dark matter, star, or gas column density distributions.


** License

~skais-mapper~ is distributed under the terms of the
[[https://spdx.org/licenses/GPL-3.0-or-later.html][GNU General Public
License v3.0 or later]] license.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

skais_mapper-0.1.13.tar.gz (269.7 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

skais_mapper-0.1.13-cp312-cp312-musllinux_1_2_x86_64.whl (900.2 kB view details)

Uploaded CPython 3.12musllinux: musl 1.2+ x86-64

skais_mapper-0.1.13-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (896.2 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64manylinux: glibc 2.28+ x86-64

skais_mapper-0.1.13-cp311-cp311-musllinux_1_2_x86_64.whl (906.3 kB view details)

Uploaded CPython 3.11musllinux: musl 1.2+ x86-64

skais_mapper-0.1.13-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (900.8 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64manylinux: glibc 2.28+ x86-64

skais_mapper-0.1.13-cp310-cp310-musllinux_1_2_x86_64.whl (865.7 kB view details)

Uploaded CPython 3.10musllinux: musl 1.2+ x86-64

skais_mapper-0.1.13-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (861.3 kB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64manylinux: glibc 2.28+ x86-64

File details

Details for the file skais_mapper-0.1.13.tar.gz.

File metadata

  • Download URL: skais_mapper-0.1.13.tar.gz
  • Upload date:
  • Size: 269.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for skais_mapper-0.1.13.tar.gz
Algorithm Hash digest
SHA256 96d4d824a928f7292abe462b67b161d49a990b17adc788a05ba044657431e7b2
MD5 3550c53893b6998dc06f710e535badf7
BLAKE2b-256 c694d67022f71b91ed40b65967e65c7a196ac64c280b492d307aa9274d94586b

See more details on using hashes here.

File details

Details for the file skais_mapper-0.1.13-cp312-cp312-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for skais_mapper-0.1.13-cp312-cp312-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 bba11fbeea17c2fec0df1fe495cc7f752deae72a84d29fe3232bdb59b9cd807e
MD5 b6409ac17d8193534c7c5b3e4e48870b
BLAKE2b-256 bc08d50b037dfccd1ed97645905b78d0cc3792e700bbaffeb8aa4329e6217c9b

See more details on using hashes here.

File details

Details for the file skais_mapper-0.1.13-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for skais_mapper-0.1.13-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 931d6bcd1230222b54000409a9bd4a51d91b266570a42b24d89db3aaf26485d1
MD5 14c818d4a8a9f7e127e52f1202184e0d
BLAKE2b-256 aca5aec59fb957f54f33858ced62f993e6c1c718d34f8fb2c107e02836da345a

See more details on using hashes here.

File details

Details for the file skais_mapper-0.1.13-cp311-cp311-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for skais_mapper-0.1.13-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 890c8ed06c8da039aee23f23b2f7b88ab8266508ff1b8100b5aa223f3afd361d
MD5 2357fc06e40450f8e3b58262a06b1395
BLAKE2b-256 3b0d53607f666ad07057e6d0257230b2860ca9e6fab3bcade07981dc197f4275

See more details on using hashes here.

File details

Details for the file skais_mapper-0.1.13-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for skais_mapper-0.1.13-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 69ed8501fc03f7e2f88dafc2935a84a11dc3f7f1476e56eb537ee93d01ced9e8
MD5 17900376b242c0dce2e83a28e53f00e4
BLAKE2b-256 0c415f1e0c3e477e9fef3d09ef1dcc6003e4d3f99f2f8a18a8ced2dc047ee5be

See more details on using hashes here.

File details

Details for the file skais_mapper-0.1.13-cp310-cp310-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for skais_mapper-0.1.13-cp310-cp310-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 33a5411c001f35145b50f7ee3ace56989d0eaad1c32024795f979f1b1151b38c
MD5 791688decddf35e5cc30927c842897a1
BLAKE2b-256 08418faf3b3ef0472835c4c0d35a6f1cbb43e591c7054a9b629bd956e8a31092

See more details on using hashes here.

File details

Details for the file skais_mapper-0.1.13-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for skais_mapper-0.1.13-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 9e9a291da635c32f9d57ad4d0024e5ce8dbe1da5be586533082afed37ed05e25
MD5 00777653aa9a4e5c7760a4f81fc5a907
BLAKE2b-256 b91b8f1fef8d9f3c490b343c4ad6a8fba5f39152e09bb11d45632d1b95a218c0

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page