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.9.tar.gz (267.1 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.9-cp312-cp312-musllinux_1_2_x86_64.whl (898.3 kB view details)

Uploaded CPython 3.12musllinux: musl 1.2+ x86-64

skais_mapper-0.1.9-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (894.2 kB view details)

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

skais_mapper-0.1.9-cp311-cp311-musllinux_1_2_x86_64.whl (904.3 kB view details)

Uploaded CPython 3.11musllinux: musl 1.2+ x86-64

skais_mapper-0.1.9-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (898.8 kB view details)

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

skais_mapper-0.1.9-cp310-cp310-musllinux_1_2_x86_64.whl (863.8 kB view details)

Uploaded CPython 3.10musllinux: musl 1.2+ x86-64

skais_mapper-0.1.9-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (859.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.9.tar.gz.

File metadata

  • Download URL: skais_mapper-0.1.9.tar.gz
  • Upload date:
  • Size: 267.1 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.9.tar.gz
Algorithm Hash digest
SHA256 2ec3108b900139f2cb553057e34513fada21956b8a55493e2d93cfe1e20d4036
MD5 dac5b682f9721c2d978d10c5948dfc53
BLAKE2b-256 ccdd4f5abef36984c10bf218d1ff8d3802956eebe71e2bfc676b23bdd3f24526

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for skais_mapper-0.1.9-cp312-cp312-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 0a24c816ac99a07a406b31b3ed47d46c54f71049e6e2d9d13f385664eca9bf59
MD5 a19995ee0b0f353e6a8f65a88e93284b
BLAKE2b-256 da2b452ef8749ab04c0fde10b2134bf478bd2ba7b2b0e24c08309b1a8e754a22

See more details on using hashes here.

File details

Details for the file skais_mapper-0.1.9-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.9-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 ca52b705d40cbf0503fb98f8caf06eced6317654c77bd97793e47f4f6226bc74
MD5 cec59560647036d6084e29c214324e82
BLAKE2b-256 e32258d57fa52405811d6a37dfad398c08e53d281e0e1a129612e7a10a3f3dd5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for skais_mapper-0.1.9-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 16cda7ecea24142b2f4dc33dfea426f75cd553e025bd22eaa40a469d4f21350a
MD5 c2461b3f1ef2ea897cc16d56c23e2511
BLAKE2b-256 8b48ad0b51a5206e4961552ce662d9436d19812013b0e3d8e4973f934acad49f

See more details on using hashes here.

File details

Details for the file skais_mapper-0.1.9-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.9-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 c6d970ea09d6f18955d5710abac7560b6f25d8656d785a1c337b3f6649863c06
MD5 2c533790e6c2cee8be33f0ffe8e9871d
BLAKE2b-256 d25ca200ae22b4deab7d63ecc80d890be22717e91ad2182b39e30e64260af89e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for skais_mapper-0.1.9-cp310-cp310-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 beabac47bdef173d70ddf9e5686a795f6b57047d22c0f0b63e7cb9689acee22b
MD5 37c5b474aadc9aa311c92ad5718da50e
BLAKE2b-256 2b7804bc532cb5e4cab7e42fea0ad990b67eb49d799abb4fe3a53665f94f13d0

See more details on using hashes here.

File details

Details for the file skais_mapper-0.1.9-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.9-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 c948aecf1eeb91c4ff43860cf5f6b4e3f8102d1e27a7bef27778948d27c0c65e
MD5 5aeee9d5e9faf40b97124fcb27bcb151
BLAKE2b-256 be712e55c66014bf6d4691b27b0152dbeb4ea38ed9d0fe1d1957963e0d35b153

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