Skip to main content

Star cluster detection and membership estimation based on GAIA data.

Project description

SCLUDAM (Star CLUster Detection And Membership estimation)

Build Status Documentation Status PyPI Python 3.7.6+ Python 3.8+ License

SCLUDAM (Star CLUster Detection And Membership estimation) is a Python package for GAIA catalogues data fetching, star cluster detection and star cluster membership estimation.

Repository and issues

https://github.com/simonpedrogonzalez/scludam

Authors

Features

Included modules and features are:

  • fetcher: Query builder for easy access to GAIA catalogues data, functions to get catalogues and SIMBAD objects information.

  • stat_tests: Set of three clusterability tests that can be used to detect the presence of a cluster in a sample.

  • synthetic: Classes that can be used to generate synthetic astrometric samples by specifying the distributions and parameter values.

  • detection: Detection of star clusters in a sample using an improved version of the Star Counts algorithm.

  • shdbscan: Soft clustering based on the HDBSCAN algorithm.

  • hkde: Kernel density estimation with per-observation or per-dimension variable bandwidth.

  • membership: Membership probability estimation based on hkde smoothing.

  • pipeline: Pipeline for the detection and membership estimation, with default values and convenience functions.

  • plots: Plot detection and membership estimation results alongside SIMBAD objects for better result interpretation.


Requirements

Python 3.7.6+ are needed to run SCLUDAM. It is recommended to install scludam in a separate environment created with pyenv or conda, to avoid dependencies issues with other preinstalled packages in the base environment. The following dependencies will be installed along with SCLUDAM:

  • numpy>=1.21.6
  • matplotlib>=3.4.1
  • scipy>=1.7.3
  • astropy>=4.3.1
  • astroquery>=0.4.6
  • pandas>=1.3.5
  • hdbscan==0.8.27
  • scikit-learn>=1.0.2
  • scikit-image>=0.18.1
  • seaborn>=0.11.0
  • attrs>=21.4.0
  • beartype>=0.10.0
  • ordered_set>=4.0.2
  • statsmodels>=0.12.2
  • diptest>=0.4.2
  • typing_extensions>=4.2.0

User install in a Conda environment (recommended)

Create a conda environment named myscludamenv with python3.8 and scludam installed

conda create --name myscludamenv python=3.8 pip --yes
conda activate myscludamenv
python -m pip install scludam

Update scludam in a Conda environment

conda activate myscludamenv
python -m pip install -U scludam
python -m pip show scludam

Simple user install

Install from PyPi: python -m pip install scludam

Simple user update

Update from PyPi: python -m pip install -U scludam

Dev install

Clone the repo and run the following command in the cloned directory (with your environment activated): python -m pip install -e .[dev]

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

scludam-1.0.9-py3-none-any.whl (125.8 kB view details)

Uploaded Python 3

File details

Details for the file scludam-1.0.9-py3-none-any.whl.

File metadata

  • Download URL: scludam-1.0.9-py3-none-any.whl
  • Upload date:
  • Size: 125.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.11

File hashes

Hashes for scludam-1.0.9-py3-none-any.whl
Algorithm Hash digest
SHA256 46fa261c9b531b748ea025479137e9515c9cfcbd67cbfce09f347af5da94b5b9
MD5 a5f45b2cf8d68cfc47bab85b1012bad0
BLAKE2b-256 f745689e74bdd62ffbb9a5ae3ed0a6e8865cffd0620c52743e6c5fb4a3ec3d34

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