Module: morphometric_features_extraction

Overview

This module provides the implementation of the MorphometricFeatureExtractionPipeline class, used to create the pipeline for the morphometric features extraction. The processes in the pipeline are orchestrated by the do_morphometric_feature_extraction_pipeline_func(), according to the algorithm shown by the following flow chart:

digraph deblending {
subgraph morphometrt_flow {

"Image"->"do_src_detection" -> "cluster_list"->"do_morphometric_input_products"->"morph_input_prods"->"do_morphometric_features_extraction";
"Image" [shape=parallelogram]
"do_src_detection" [shape=polygon,sides=4]
"cluster_list" [shape=parallelogram]
"do_morphometric_input_products" [shape=polygon,sides=4]
"morph_input_prods"  [shape=parallelogram]
"do_morphometric_features_extraction" [shape=polygon,sides=4]
}
}

Classes and Inheritance Structure

Inheritance diagram of asterism.analysis_pipelines.morphometric_features_extraction.MorphometricFeatureExtractionPipeline

Summary

do_morphometric_feature_extraction_pipeline_func(...) Function implementing the Pipeline algorithm for the morphometric features extraction.
MorphometricFeatureExtractionPipeline([...]) AnalysisPipeline class for the Morphometric Feature Extraction Pipeline. The following processes are glued

Module API

class MorphometricFeatureExtractionPipeline(name='morph_features_script', func=<function do_morphometric_feature_extraction_pipeline_func>, plot_func=<function analysis_plot>, parser=None, argv=None, conf_file=None)[source]

Bases: asterism.pipeline_manager.analysis_pipeline.AnalysisPipeline

AnalysisPipeline class for the Morphometric Feature Extraction Pipeline. The following processes are glued by the pipeline:

Parameters:

name : str

the name for the Process

func : :func:

The function that handles tha pipeline algorithm

image_id : int

id of the image

plot_func : :func:

plotting function for this process

parser :

argv :

conf_file:

Methods

add_analysis_process(process_class, name[, ...])
assign_out_files_values(prods_collection[, ...])
build_out_files(prods_collection) builds the OutFilesCollection that stores the output data corresponding
check_all_processes_exit_status()
dump_configuration_file(file_name)
get_process(proc_name)
list_parameters()
run(\*args, \*\*kwargs)
set_images_list(image_file) get images list
set_infiles_list()
set_io_conf([infile])
set_pars_from_conf_file()
set_pars_from_parser()
set_plotting()
write_job_exit_file(exit_status, exception_mess)
write_out_products()
write_to_script_exit_file(image_id)
do_morphometric_feature_extraction_pipeline_func(pipeline, image, image_id=None, input_seg_map=None, **kwargs)[source]

Function implementing the Pipeline algorithm for the morphometric features extraction.

Parameters:

pipeline : MorphometricFeatureExtractionPipeline

instance of the base AnalysisPipeline class

image : Image

instance of the class used as input for different processes

image_id : int

id of the image

**kwargs:

Returns:

morphometric_features_analysis_products : asterism.pipeline_manager.analysis_products.AnalysisProcessProducts

class instance storing the analysis products for this pipeline