Skip to main content

Build Status Join the chat at https://gitter.im/HITS-AIN-PINK/Lobby ascl:1910.001 PyPI version Open In Colab

Parallelized rotation and flipping INvariant Kohonen maps (PINK)

SOM of radio-synthesis data taken from the Radio Galaxy Zoo

Requirements

  • C++ with ISO 17 standard
  • CMake >= 3.18
  • CUDA >= 9.1 (highly recommended)
  • conan.io (optional for C++ dependencies) or
  • doxygen 1.8.13 (optional for developer documentation)

Conan.io will install automatically the C++ dependencies (PyBind11 and google-test). Otherwise you can also install these libraries yourself.

Installation

We provide deb- and rpm-packages at https://github.com/HITS-AIN/PINK/releases

or you can install PINK from the sources:

cmake -DCMAKE_INSTALL_PREFIX=<INSTALL_PATH> .
make install

PyPI installation

PINK is also available as PyPi package which can be installed by

pip install astro-pink

HPC deployment with EasyBuild

The EasyBuild recipe is available at https://github.com/BerndDoser/easybuild-easyconfigs/tree/hits/easybuild/easyconfigs/p/PINK.

Usage

To train a the self-organizing map (SOM) please execute

Pink --train <image-file> <result-file>

where image-file is the input file of images for the training and result-file is the output file for the trained SOM. All files are in binary mode described here.

To map an image to the trained SOM please execute

Pink --map <image-file> <result-file> <SOM-file>

where image-file is the input file of images for the mapping, SOM-file is the input file for the trained SOM, and result-file is the output file for the resulting heatmap.

Please use also the command Pink -h to get more informations about the usage and the options.

Python scripts

For conversion and visualization of images and SOM some python scripts are available.

  • convert_data_binary_file.py Convert binary data file from PINK version 1 to 2
  • show_heatmap.py: Visualize the mapping result
  • show_images.py: Visualize binary images file format
  • show_som.py: Visualize binary SOM file format
  • train.py: SOM training using the PINK Python interface

Publication

Kai Lars Polsterer, Fabian Gieseke, Christian Igel, Bernd Doser, and Nikos Gianniotis. Parallelized rotation and flipping INvariant Kohonen maps (PINK) on GPUs. 24th European Symposium on Artificial Neural Networks, Computational Intelligence and Machine Learning (ESANN), pp. 405-410, 2016. pdf

License

Distributed under the GNU GPLv3 License. See accompanying file LICENSE or copy at http://www.gnu.org/licenses/gpl-3.0.html.

Release files for astro-pink 2.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for astro-pink 2.5
File Size Uploaded
astro-pink-2.5.tar.gz 67.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for astro-pink 2.5
File Interpreter ABI Platform
astro_pink-2.5-cp310-cp310-manylinux_2_35_x86_64.whl CPython 3.10 CPython 3.10 Linux glibc 2.35+ x86-64 Details

Total release size: 945.7 kB

Release files / astro-pink-2.5.tar.gz

Download URL astro-pink-2.5.tar.gz
Size 67.0 kB
Tags Source
SHA-256 checksum
How to use checksums
fa33521e543c81f191b6485f9ff32774152d9966036bb9e11f7ea3939c9ba4a2
BLAKE2b-256 checksum
How to use checksums
e86ce22702404188c258981fc468f1c0cfa5bb39fd7ea9af767d7f3deb78784b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.6

Release files / astro_pink-2.5-cp310-cp310-manylinux_2_35_x86_64.whl

Download URL astro_pink-2.5-cp310-cp310-manylinux_2_35_x86_64.whl
Size 878.7 kB
Tags CPython 3.10 Linux glibc 2.35+ x86-64
SHA-256 checksum
How to use checksums
63bb8f294cade4d3ffc82c79cba4a1041a56369e00633afb955985aa97ca76ad
BLAKE2b-256 checksum
How to use checksums
f9ee0465a2c407c2a990f0421ce1d66ab6823b2c105fadd82feb3e7e9b61696b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.6

Release history Release notifications | RSS feed

This release

2.5 This release

2 release files

2.4.1

4 release files

2.4

4 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page