Skip to main content

CyMorph - non-parametric galaxy morphology package

Updated and adjusted and repacked version of 1st CyMorph version: https://github.com/rsautter/CyMorph & Paulo Barchi work

Installation

Dependencies:

pip install numpy scipy matplotlib seaborn sep

CyMorph can be installed with:

pip install cymorph

Documentation

https://cymorph.readthedocs.io/

Basic Usage

Concentration

from cymorph.concentration import Concentration
c = Concentration(image, radius1, radius2) 
c.get_concentration()

Asymmetry

from cymorph.asymmetry import Asymmetry
a = Asymmetry(image) 
a.get_pearsonr()
a.get_spearmanr()
a.get_collected_points_plot()

Smoothness

from cymorph.smoothness import Smoothness
s = Smoothness(clean_image, segmented_mask, smoothing_degradation, butterworth_order) 
s.get_pearsonr() 
s.get_spearmanr()
s.get_smoothed_image()
s.get_collected_points_plot()

Entropy

from cymorph.entropy import Entropy
e = Entropy(image, bins) 
e.get_entropy()

G2

from cymorph.g2 import G2
g2 = G2(g2_modular_tolerance, g2_phase_tolerance, g2_position_tolerance) 
g2.get_g2()
g2.get_gradient_plot()
g2.get_asymmetry_gradient_plot()

Contributors

  • Igor Kolesnikov
  • Vitor Sampaio
  • Paulo Barchi
  • Rubens Sautter

Release files for cymorph 2.0

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

Source distribution (sdist)

Source distribution for cymorph 2.0
File Size Uploaded
cymorph-2.0.tar.gz 493.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for cymorph 2.0
File Interpreter ABI Platform
cymorph-2.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.10 CPython 3.10 Linux glibc 2.17+ x86-64 Details

Total release size: 868.6 kB

Release files / cymorph-2.0.tar.gz

Download URL cymorph-2.0.tar.gz
Size 493.6 kB
Tags Source
SHA-256 checksum
How to use checksums
96dea3ff62119c1637a9c75ed9540f4280a4cd85886e5ef333a05dbc453a3e06
BLAKE2b-256 checksum
How to use checksums
251e3caa481e4bd897562fed4e65c528a34a5c770052c904581534c6ca20fa2a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.10.4

Release files / cymorph-2.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL cymorph-2.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 375.0 kB
Tags CPython 3.10 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
4af4d75e4c17cb47a3f886adb6a9cb229cc691ab0476ccb0d4dfceee529f8622
BLAKE2b-256 checksum
How to use checksums
5ecb1e30180b5bc72ce54ecfc7a19f98a9191612767aa976af948927cfb9666c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.10.4

Release history Release notifications | RSS feed

This release

2.0 This release

2 release files

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