Skip to main content

Non-parametric Galaxy Morphology Package

Project description

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

Project details


Release history Release notifications | RSS feed

This version

2.0

Download files

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

Source Distribution

cymorph-2.0.tar.gz (493.6 kB view hashes)

Uploaded Source

Built Distribution

cymorph-2.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (375.0 kB view hashes)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64

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