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.6.tar.gz (250.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.6-cp312-cp312-musllinux_1_2_x86_64.whl (879.1 kB view details)

Uploaded CPython 3.12musllinux: musl 1.2+ x86-64

skais_mapper-0.1.6-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (875.1 kB view details)

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

skais_mapper-0.1.6-cp311-cp311-musllinux_1_2_x86_64.whl (885.2 kB view details)

Uploaded CPython 3.11musllinux: musl 1.2+ x86-64

skais_mapper-0.1.6-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (879.7 kB view details)

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

skais_mapper-0.1.6-cp310-cp310-musllinux_1_2_x86_64.whl (844.6 kB view details)

Uploaded CPython 3.10musllinux: musl 1.2+ x86-64

skais_mapper-0.1.6-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (840.2 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.6.tar.gz.

File metadata

  • Download URL: skais_mapper-0.1.6.tar.gz
  • Upload date:
  • Size: 250.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.6.tar.gz
Algorithm Hash digest
SHA256 af6c19ee02a6e8f270bcf7f97bd3aa9739280d44bcdee004d1963e8e3350cd4c
MD5 b1093c7de875bb62ee8251a27520662c
BLAKE2b-256 ea41be02dace54791e94a65aad3ec9a67861a08bdb1df83f1558534a1de2626d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for skais_mapper-0.1.6-cp312-cp312-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 8e7489317f37c0be2c73da13f1f1927194410a67e9c7d6bcf67e796eef4256a5
MD5 c6bfd7400d3cb52d60307755dfc9cb80
BLAKE2b-256 875a2cca5b6452a55ca68be99f8f76cce28aaf6180978b93ac671f55a0fa281a

See more details on using hashes here.

File details

Details for the file skais_mapper-0.1.6-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.6-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 7024618fb5f0ee60c1f26f463a4e0c34e13389bc4aad81237b69f166d817f5af
MD5 99328f274977db1b6b9a73ac4a6bbc6c
BLAKE2b-256 356dbb5cc9a9fb85b6ef36c6ba21757a04bd625e47c33c291dd3fbdc4b7be1ef

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for skais_mapper-0.1.6-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 90a95d5331da2234501e69569baac79387f3883acea079c1a5eb53ac085c327c
MD5 916b84cdbdca082ff729f97589a2d802
BLAKE2b-256 93d17ef76d2599845baedcb833d7f46d3336d266a2f16097f61d26ae46a07ecb

See more details on using hashes here.

File details

Details for the file skais_mapper-0.1.6-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.6-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 19bcbd707e84c94c9ae0893085cdb4345c0bad04f59b30435eef183410b544f3
MD5 32df46a74f6d1b64645e53b21e3f43fb
BLAKE2b-256 23a90165b736c015434c8263a971a9b8376a5f65dec5c6bfca1defe763408f6f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for skais_mapper-0.1.6-cp310-cp310-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 aa1e42579b1284ed50d38b5efbea484024819b43dfb86941f5483893a9812c14
MD5 0cd7b74e8efe2028a35150baaa096969
BLAKE2b-256 5618b6f2a3c4fad972cb5ae56b3c4de8bf1f446c0d97f89480eaa4f10269c260

See more details on using hashes here.

File details

Details for the file skais_mapper-0.1.6-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.6-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 bd1c423fc5adc9d8fbe0e21c1f75070ef188fac246479b6d50c20d7fa9b88967
MD5 1caf150aea45274e8902cb9d17da9ffe
BLAKE2b-256 e7e0ed3e4dce854a720ff3aa0575a526efff5f5dc9d563e71a397f1d08f1559a

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