Module: geometry_features

Module: geometry_features

Overview

This modules provides the implementation of the functions for the extraction of morphometric features, related to geometry

Classes relations

Classes and Inheritance Structure

Summary

do_morphometric_features_extraction_process_func
FeaturesArray
DoMorphometricFeaturesExtraction

Module API

eval_AR(contour_coords)[source]
eval_geometric_features(sig_x, sig_y, n_points, contour_coords=None)[source]
get_cluster_geometric_morphometric_features(cluster, group_name='geom', name_flag=None)[source]

Function to extract galaxy morphometric features for :.... . The try/except statement allows to return np.nan features

Parameters:

cluster : :class:`asterism.core.clustering.source_cluster.SourceCluster2Dim’

cluster object from whicht to extract the features

group_name : str

the group name for the features (see MorphometricFeatures)

name_flag : str

the flag name for the features (see MorphometricFeatures)

Returns:

MorphometricFeatures : MorphometricFeatures

The class storing the features with their names and dtypes