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
pbgca-0.1.1.tar.gz
(9.3 kB
view details)
Built Distribution
pbgca-0.1.1-py3-none-any.whl
(10.2 kB
view details)
File details
Details for the file pbgca-0.1.1.tar.gz
.
File metadata
- Download URL: pbgca-0.1.1.tar.gz
- Upload date:
- Size: 9.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 | 59df4f2de72f2bfd39a71020394a07431b455f1426339ab4edec5de1a88fca09 |
|
MD5 | 7c24271eca430c3a19aebcb04bc57abd |
|
BLAKE2b-256 | 5108e9ad489e9fb28b4aaef5d530c4e6fb6e8cb0160beacbf85ead793067957d |
File details
Details for the file pbgca-0.1.1-py3-none-any.whl
.
File metadata
- Download URL: pbgca-0.1.1-py3-none-any.whl
- Upload date:
- Size: 10.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.9.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e72d64e2bf00bc4dc5ae520d1d67851a8095238f57f175cd3a2c6125d0ff2e47 |
|
MD5 | 7e901f8062b2d473fcef3cd1d24d23b3 |
|
BLAKE2b-256 | 8a64307ed0c3da19d39fcef07ec1dd34a1e592948c074da3138b14f5a4acb064 |