Physically based galaxy clustering algorithm
Project description
PBGCA - Physically based galaxy clustering algorithm
Agglomenative clustering algorithm for galaxy clusters considering physical form of galaxy's structures
Clustering algoritm's initial purpose of which was to solve galaxy clustering task. But it can be scaled to solve simillar problem of finding clusters elongated to center of coordinates grid in N-dimentional grid
Installation
pip install pbgca
Get started
How to multiply one number by another with this lib:
from pbgca import Clusterer as PBGCA
#Get your data
data = pd.read_csv('some_data.csv')
# Instantiate a PBGCA object
clusterer=PBGCA()
# Call fit method
clusterer.fit(data)
# Get result of clustering
result = clusterer.labels_
Input Example: 3d coordinates of galaxies in form of np matrix or pandas dataframe (here units: Mpc) Example:
x | y | z |
---|---|---|
1 | 34 | 0.45 |
-1 | 94 | -0.322 |
.. | ... | ... |
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file pbgca-0.1.2a0.tar.gz
.
File metadata
- Download URL: pbgca-0.1.2a0.tar.gz
- Upload date:
- Size: 10.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.9.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9b6935f07145007729726ade7f726df3952135959f407f398ace828cbe5eade9 |
|
MD5 | 78f81fedfe674ef56875a6a74141b3ad |
|
BLAKE2b-256 | 9efad3ed77150eccb5c209d594e1455ab3682d059dccf27ef08e8e05d771b9e9 |
File details
Details for the file pbgca-0.1.2a0-cp39-cp39-macosx_10_9_x86_64.whl
.
File metadata
- Download URL: pbgca-0.1.2a0-cp39-cp39-macosx_10_9_x86_64.whl
- Upload date:
- Size: 89.3 kB
- Tags: CPython 3.9, macOS 10.9+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.9.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bad986aa632b195c69a2c5cd00dfc5070f1a0d6790dcb56187a48f39dbd2b565 |
|
MD5 | 9e15b2b743dceb5b5890d2efd46a2fc0 |
|
BLAKE2b-256 | 94a66eb10a2391e2cf1a5faad1e6f3a9861c59bfba482a393d127597121f82da |