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.3.tar.gz (250.0 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.3-cp312-cp312-musllinux_1_2_x86_64.whl (878.1 kB view details)

Uploaded CPython 3.12musllinux: musl 1.2+ x86-64

skais_mapper-0.1.3-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (874.1 kB view details)

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

skais_mapper-0.1.3-cp311-cp311-musllinux_1_2_x86_64.whl (884.2 kB view details)

Uploaded CPython 3.11musllinux: musl 1.2+ x86-64

skais_mapper-0.1.3-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (878.6 kB view details)

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

skais_mapper-0.1.3-cp310-cp310-musllinux_1_2_x86_64.whl (843.6 kB view details)

Uploaded CPython 3.10musllinux: musl 1.2+ x86-64

skais_mapper-0.1.3-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (839.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.3.tar.gz.

File metadata

  • Download URL: skais_mapper-0.1.3.tar.gz
  • Upload date:
  • Size: 250.0 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.3.tar.gz
Algorithm Hash digest
SHA256 6cc1676a355a4717a791459b38360188005128169055060947fb68195f831f4d
MD5 5d48686abbf6c5514217ce4a870a329f
BLAKE2b-256 6ff44db47f3cb561d328fec15b9cbbe83dbf9b6d46636738e202d8386f19e7d5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for skais_mapper-0.1.3-cp312-cp312-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 3e27b520faaa8386203ce41e3aac821f8e0e29b14f89c34368935995bdc733be
MD5 8f3508e8106a06e4d3c5c0a08c4cefe0
BLAKE2b-256 5039ebdba27dafa540356254d143e57105ee8f9321440fd81200ee6a9e0555d9

See more details on using hashes here.

File details

Details for the file skais_mapper-0.1.3-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.3-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 c6fb3026c0378457e85c3f38480fd113d4e2000309e94e7ef5aa2c144f1408e6
MD5 6c65b10234a0205261aaf1b935b73f35
BLAKE2b-256 9e4569aed5491b0f7fe5e2bc3fcf23424658b4c9cc30434a2db88a6938bebddb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for skais_mapper-0.1.3-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 88401cf9560c97589500b6feb4f4ebfdcbe256a65156e175269befdc07675eca
MD5 95718b93562ef39fd364e3869b64907c
BLAKE2b-256 263b20407ed94d56137dff644551e348223a423584f790947016a6f494364ae0

See more details on using hashes here.

File details

Details for the file skais_mapper-0.1.3-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.3-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 89746d38928ec8d3b11f04276a2bc1975c4e7e7e580a198e45dc8f57d276e503
MD5 a2b5b17b6f07ee7972fba8387143b440
BLAKE2b-256 5be0b31eebb63a51625d9a0ab94ceed086d8d6c7db2277520810b95453c13736

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for skais_mapper-0.1.3-cp310-cp310-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 9e73de4a6778ebc06f2427f851169e82bc1251709d8b5ad1335963691418fd38
MD5 6d65b420f9e51c210b5c4e58aadaf23f
BLAKE2b-256 0c4afe9e29a34ad0cebc08bc71d8e64cdd465fb4d40a1453c9b21e3ff289df96

See more details on using hashes here.

File details

Details for the file skais_mapper-0.1.3-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.3-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 705dc31469189e3cfc9fb811e192ec98e77f9f39a5f8e91f65bf9ba2e1c1069a
MD5 668043d9d79686a333df6f28ea072f49
BLAKE2b-256 d04365c8e6886f546e81b9ff60e5bf5eb5f6b7f44bbc26db617c6f36fdfbcd55

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