Skip to main content

SCLUDAM (Star CLUster Detection And Membership estimation)

Build Status Documentation Status PyPI Python 3.9.21+ Python  3.10.16+ Python  3.11.11+ 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.9+ is needed to run SCLUDAM. It is recommended to install scludam in a separate environment created to avoid dependencies issues with other preinstalled packages in the base environment. The following dependencies will be installed along with SCLUDAM:

  • numpy>=1.26.4,<2.0
  • matplotlib>=3.9.4,<4.0
  • scipy>=1.13.1,<2.0
  • astropy>=6.0.1,<7.0
  • astroquery==0.4.6
  • pandas>=2.3.1,< 3.0
  • hdbscan>=0.8.40
  • joblib>=1.1.0
  • scikit-learn>=1.1.3
  • scikit-image>=0.24.0
  • seaborn>=0.13.2,<0.14
  • statsmodels>=0.12.2
  • diptest>=0.10.0,<0.11.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.11 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]

Metadata

Release files for scludam 1.0.10

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

Built distribution (wheel)

Table of built distributions (wheels) for scludam 1.0.10
File Interpreter ABI Platform
scludam-1.0.10-py3-none-any.whl Python 3 none any Details

Release files / scludam-1.0.10-py3-none-any.whl

Download URL scludam-1.0.10-py3-none-any.whl
Size 125.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2ac6f4ed4eca397fe52c5f77aadf82897fc7ffe01e2be05cbd4278de64cae8da
BLAKE2b-256 checksum
How to use checksums
a77d85f2de38e6475a9d0acbf41d96640dd7bb56f4c685b97f6d9ce4cda29592
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.11.11

Release history Release notifications | RSS feed

This release

1.0.10 This release

1 release file

1.0.9

1 release file

1.0.8

1 release file

1.0.7

1 release file

1.0.6

1 release file

1.0.5

1 release file

1.0.4

1 release file

1.0.3

1 release file

1.0.2

1 release file

1.0.1

1 release file

1.0.0

1 release file

0.3.0

1 release file

0.2.0

1 release file

0.1.0

1 release file

0.0.4

1 release file

0.0.3

1 release file

0.0.2

1 release file

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