Skip to main content

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


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.2a0.tar.gz (10.3 kB view details)

Uploaded Source

Built Distribution

pbgca-0.1.2a0-cp39-cp39-macosx_10_9_x86_64.whl (89.3 kB view details)

Uploaded CPython 3.9 macOS 10.9+ x86-64

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

Hashes for pbgca-0.1.2a0.tar.gz
Algorithm Hash digest
SHA256 9b6935f07145007729726ade7f726df3952135959f407f398ace828cbe5eade9
MD5 78f81fedfe674ef56875a6a74141b3ad
BLAKE2b-256 9efad3ed77150eccb5c209d594e1455ab3682d059dccf27ef08e8e05d771b9e9

See more details on using hashes here.

File details

Details for the file pbgca-0.1.2a0-cp39-cp39-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for pbgca-0.1.2a0-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 bad986aa632b195c69a2c5cd00dfc5070f1a0d6790dcb56187a48f39dbd2b565
MD5 9e15b2b743dceb5b5890d2efd46a2fc0
BLAKE2b-256 94a66eb10a2391e2cf1a5faad1e6f3a9861c59bfba482a393d127597121f82da

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page