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.14.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.14-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.14-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.14-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.14-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.14-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.14-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (861.4 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.14.tar.gz.

File metadata

  • Download URL: skais_mapper-0.1.14.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.14.tar.gz
Algorithm Hash digest
SHA256 846e04b88d3eb8210668af9ba3b85cd8131412523b7415460c0b3237c9e9532d
MD5 b3d2c7a24d326ea502481ad9aa76950e
BLAKE2b-256 c76974795203dc172a5658d6a24be3d4fc3d6101b26318f14efa8a02e1613a70

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for skais_mapper-0.1.14-cp312-cp312-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 29694bb3c5055abe1d368db65ff07f3217c4168fa476c5e7119acf90a7315d21
MD5 0158c7112ad0c64b48f515cb5045556b
BLAKE2b-256 445e249b6d011df6a26723b3079f643dfc4221c22cc3e254bb1f892bcbb8453b

See more details on using hashes here.

File details

Details for the file skais_mapper-0.1.14-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.14-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 d3d73e0e7935fe181df2f6b16b80090452e306035a1b900d8eaef69363d5dc29
MD5 e7b11d3168b1c6a1978d7607acc9730a
BLAKE2b-256 d3750b6e485f75ca55e54e8314fa2addf441585267fdaf31128351d0c5da5c70

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for skais_mapper-0.1.14-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 a0b3d35d0d0f8f9c858e1cf6046591b166ad14c781f81845798a0e89ec7853b9
MD5 19df6ffc3022dfaac487c150352881a8
BLAKE2b-256 cba6ea7ef0f39b7529e0f36ba6874d5c416da45fbbe6779837fb3440d250b4e4

See more details on using hashes here.

File details

Details for the file skais_mapper-0.1.14-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.14-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 78a53841a852b20d9cfe935a18412847a94456bb8c7215beac553afa25a6b380
MD5 0cb301b3c206c3265bd32852bd1e7e3b
BLAKE2b-256 6764b7015edb90610b3c3f88835e26a97c0f406ea3598ab24202b2f164dfe023

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for skais_mapper-0.1.14-cp310-cp310-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 3e5443073f8f7b12f4fac1a48ea814d1757b3069e9d744d7ddde4f992883e189
MD5 d4c2fd57bdef62e16d6a6cc92ecb7ced
BLAKE2b-256 c175d57fb4b1c60abad825e45da86ed6b76587442b13dd86e2dcafce03e10edb

See more details on using hashes here.

File details

Details for the file skais_mapper-0.1.14-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.14-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 10411e274d2fa1038d24e9910779adde42b802f6bbb1a2579cafdf5e61d20ca1
MD5 74726ff6d90cc2b02402552c8fa03582
BLAKE2b-256 6ac6d24453c256655fdced6fe254e7befba516758af3bb6ac27cb225255129a9

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