API
API highlights
Quick API reference
- Core modules:
- enb.atable: definition of the core ATable functionality
- enb.atable.ATable: core class with automatic parallelization and persistence management.
- enb.atable.ATable.get_df(): method to produce a- pandas.DataFramewith the table contents.
- See Basic workflow: enb.atable.ATable for extra information on - enb.atable.ATable
 
 
- enb.sets: Definition of ATable subclasses defining datasets
 
- enb.isets: Definition of image datasets based on- enb.sets
- enb.isets.load_array_bsq(): load a raw image as a 3D numpy array indexed as [x,y,z]
- enb.isets.dump_array_bsq(): dump a 3D numpy array indexed as [x,y,z] as a BSQ raw image.
- enb.isets.ImagePropertiesTable: ATable subclass for image datasets, including relevant image properties.
 
 
- enb.experiment: Experiments apply a set of tasks to each of the elements of a dataset (see enb.sets and enb.isets)
- enb.experiment.Experiment: subclass of ATable, base for experiment subclass definition. Run with- enb.experiment.Experiment.get_df()
- enb.experiment.ExperimentTask: defines one task to be applied to each element of the dataset
- See Experiments = data + tasks for extra information on experiments. 
 
 
- enb.icompression: Tools for easy definition of lossless and lossy compression experiments.
- enb.icompression.CompressionExperiment
- enb.icompression.LosslessCompressionExperiment
- enb.icompression.LossyCompressionExperiment
- See Image compression and manipulation for extra information on image compression experiments. 
 
 
- enb.aanalysis: Tools for automatic analysis and plotting of the- pandas.DataFrameinstances obtained
- with enb.atable.ATable.get_df()or its subclass implementations, e.g., inenb.experiment.Experiment.
- enb.aanalysis.Analyzer: subclasses implement different types of automatic analysis
- enb.aanalysis.ScalarNumericAnalyzer: for individual columns of numeric data
- enb.aanalysis.TwoNumericAnalyzer: for comparing pairs of columns with numeric data
- enb.aanalysis.DictNumericAnalyzer: for analyzing columns with cells containing dictionaries with numeric values
- enb.aanalysis.ScalarNumeric2DAnalyzer: for spatially analyzing numeric data whose x and y position is given in other columns
- enb.aanalysis.ScalarNumericJointAnalyzer: for splitting a data column into two categories, one giving multiple columns, the other givin multiple rows.
 
 
- class:enb.experiment.TaskFamily: class to group list of tasks under the same name. 
- See Result analysis and plotting with enb for extra documentation on data analysis and plotting. 
 
 
- with 
 
 
 
- Utility modules
- enb.plotdataand- enb.render: module with the implementation of the low-level plotting routines.
- enb.render.render_plds_by_group(): used to generate plots by all- enb.aanalysis.Analyzersubclasses.
 
 
- enb.log: Logging utilities for enb.
- Parallelization
- enb.parallel: Implementation of the multiprocess parallelization functionality using pathos (default)
- enb.parallel_ray: Implementation of the multiprocess parallelization functionality using ray.
 
 
- enb.tarlite: module with tools that implement a lightweight tar-like format (a concatenation of files).
- enb.tarlite.tarlite_files()
- enb.tarlite.untarlite_files()
 
 
- enb.pgm,- enb.jpg,- enb.png: manipulation (load/save) of PGM, PPM, PNG, JPG images
- to and from 2D or 3D numpy arrays 
 
 
 
Full API
Full, automatically generated API is provided next.
- enb- enb package- Subpackages- enb.compression package- Submodules
- enb.compression.codec module
- enb.compression.compression module- CompressionException
- CompressionExperiment- CompressionExperiment.CompressionDecompressionWrapper
- CompressionExperiment.__init__()
- CompressionExperiment.codecs
- CompressionExperiment.codecs_by_name
- CompressionExperiment.column_to_properties
- CompressionExperiment.compression_results
- CompressionExperiment.compute_one_row()
- CompressionExperiment.dataset_files_extension
- CompressionExperiment.decompression_results
- CompressionExperiment.default_file_properties_table_class
- CompressionExperiment.row_wrapper_column_name
- CompressionExperiment.set_bpppc()
- CompressionExperiment.set_comparison_results()
- CompressionExperiment.set_compressed_data_size()
- CompressionExperiment.set_compression_ratio_dr()
- CompressionExperiment.set_efficiency()
 
- CompressionResults
- DecompressionException
- DecompressionResults
- GeneralLosslessExperiment
- GenericFilePropertiesTable
- LosslessCompressionExperiment
 
- enb.compression.fits module- FITSVersionTable- FITSVersionTable.__init__()
- FITSVersionTable.allowed_extensions
- FITSVersionTable.column_to_properties
- FITSVersionTable.fits_extension
- FITSVersionTable.get_default_target_indices()
- FITSVersionTable.original_to_versioned_path()
- FITSVersionTable.set_version_repetitions()
- FITSVersionTable.version()
- FITSVersionTable.version_name
 
- FITSWrapperCodec
 
- enb.compression.icompression module
- enb.compression.jpg module
- enb.compression.pgm module
- enb.compression.png module
- enb.compression.tarlite module
- enb.compression.wrapper module
- Module contents
 
- enb.config package- Submodules
- enb.config.aini module
- enb.config.aoptions module- DirOptions- DirOptions.analysis_dir()
- DirOptions.base_dataset_dir()
- DirOptions.base_tmp_dir()
- DirOptions.base_version_dataset_dir()
- DirOptions.compressed_copy_dir()
- DirOptions.default_external_binary_dir
- DirOptions.default_tmp_dir
- DirOptions.external_bin_base_dir()
- DirOptions.persistence_dir()
- DirOptions.plot_dir()
- DirOptions.project_root()
- DirOptions.reconstructed_dir()
 
- ExecutionOptions- ExecutionOptions.chunk_size()
- ExecutionOptions.cpu_limit()
- ExecutionOptions.disable_progress_bar()
- ExecutionOptions.force()
- ExecutionOptions.force_sanity_checks()
- ExecutionOptions.no_new_results()
- ExecutionOptions.progress_report_period()
- ExecutionOptions.quick()
- ExecutionOptions.repetitions()
- ExecutionOptions.report_wall_time()
- ExecutionOptions.selected_columns()
 
- GeneralOptions
- LoggingOptions
- Options
- OptionsBase
- RayOptions
- get_options()
- propagates_options()
- set_options()
 
- enb.config.singleton_cli module
- Module contents
 
- enb.plugins package- Subpackages- enb.plugins.plugin_ccsds122 package
- enb.plugins.plugin_fpack package
- enb.plugins.plugin_iraf_photometry package
 
- Submodules
- enb.plugins.installable module- Installable- Installable.authors
- Installable.build()
- Installable.contrib_authors
- Installable.contrib_download_url_name
- Installable.contrib_reference_urls
- Installable.extra_requirements_message
- Installable.get_help()
- Installable.install()
- Installable.label
- Installable.name
- Installable.print_info()
- Installable.report_successful_installation()
- Installable.repr()
- Installable.required_pip_modules
- Installable.tags
- Installable.tested_on
- Installable.warn_extra_requirements()
 
- InstallableMeta
- get_installable_by_name()
- import_all_installables()
- install()
- list_all_installables()
 
- enb.plugins.plugin module
- enb.plugins.template module
- Module contents
 
- Subpackages
 
- enb.compression package
- Submodules
- enb.aanalysis module- Analyzer- Analyzer.__init__()
- Analyzer.adjust_common_row_axes()
- Analyzer.build_summary_atable()
- Analyzer.column_to_properties
- Analyzer.combine_groups
- Analyzer.common_group_scale
- Analyzer.fig_height
- Analyzer.fig_width
- Analyzer.get_df()
- Analyzer.get_output_pdf_path()
- Analyzer.get_render_column_name()
- Analyzer.global_group_name
- Analyzer.global_y_label_margin
- Analyzer.grid_alpha
- Analyzer.group_row_margin
- Analyzer.horizontal_margin
- Analyzer.latex_decimal_count
- Analyzer.legend_column_count
- Analyzer.legend_position
- Analyzer.main_alpha
- Analyzer.main_line_width
- Analyzer.main_marker_size
- Analyzer.normalize_parameters()
- Analyzer.plot_title
- Analyzer.render_all_modes()
- Analyzer.save_analysis_tables()
- Analyzer.secondary_alpha
- Analyzer.secondary_line_width
- Analyzer.secondary_marker_size
- Analyzer.selected_render_modes
- Analyzer.semilog_y_min_bound
- Analyzer.show_count
- Analyzer.show_global
- Analyzer.show_grid
- Analyzer.show_legend
- Analyzer.show_reference_group
- Analyzer.show_subgrid
- Analyzer.show_x_std
- Analyzer.show_y_std
- Analyzer.style_list
- Analyzer.subgrid_alpha
- Analyzer.tick_direction
- Analyzer.title_y
- Analyzer.update_render_kwargs_one_case()
- Analyzer.update_render_kwargs_reference_group()
- Analyzer.valid_render_modes
- Analyzer.vertical_margin
 
- AnalyzerSummary
- DictNumericAnalyzer- DictNumericAnalyzer.__init__()
- DictNumericAnalyzer.build_summary_atable()
- DictNumericAnalyzer.column_to_properties
- DictNumericAnalyzer.combine_groups
- DictNumericAnalyzer.common_group_scale
- DictNumericAnalyzer.get_df()
- DictNumericAnalyzer.main_alpha
- DictNumericAnalyzer.main_line_width
- DictNumericAnalyzer.main_marker_size
- DictNumericAnalyzer.plot_title
- DictNumericAnalyzer.secondary_alpha
- DictNumericAnalyzer.secondary_line_width
- DictNumericAnalyzer.secondary_marker_size
- DictNumericAnalyzer.selected_render_modes
- DictNumericAnalyzer.semilog_y_min_bound
- DictNumericAnalyzer.show_count
- DictNumericAnalyzer.show_global
- DictNumericAnalyzer.show_individual_samples
- DictNumericAnalyzer.show_legend
- DictNumericAnalyzer.show_x_std
- DictNumericAnalyzer.show_y_std
- DictNumericAnalyzer.title_y
- DictNumericAnalyzer.update_render_kwargs_one_case()
- DictNumericAnalyzer.valid_render_modes
 
- DictNumericSummary
- HistogramKeyBinner
- ScalarNumeric2DAnalyzer- ScalarNumeric2DAnalyzer.bad_data_color
- ScalarNumeric2DAnalyzer.bin_count
- ScalarNumeric2DAnalyzer.build_summary_atable()
- ScalarNumeric2DAnalyzer.color_map
- ScalarNumeric2DAnalyzer.column_to_properties
- ScalarNumeric2DAnalyzer.no_data_color
- ScalarNumeric2DAnalyzer.selected_render_modes
- ScalarNumeric2DAnalyzer.update_render_kwargs_one_case()
- ScalarNumeric2DAnalyzer.valid_render_modes
- ScalarNumeric2DAnalyzer.x_tick_format_str
- ScalarNumeric2DAnalyzer.y_tick_format_str
 
- ScalarNumeric2DSummary
- ScalarNumericAnalyzer- ScalarNumericAnalyzer.bar_width_fraction
- ScalarNumericAnalyzer.build_summary_atable()
- ScalarNumericAnalyzer.column_to_properties
- ScalarNumericAnalyzer.combine_groups
- ScalarNumericAnalyzer.common_group_scale
- ScalarNumericAnalyzer.histogram_bin_count
- ScalarNumericAnalyzer.main_alpha
- ScalarNumericAnalyzer.main_line_width
- ScalarNumericAnalyzer.main_marker_size
- ScalarNumericAnalyzer.plot_title
- ScalarNumericAnalyzer.secondary_alpha
- ScalarNumericAnalyzer.secondary_line_width
- ScalarNumericAnalyzer.secondary_marker_size
- ScalarNumericAnalyzer.selected_render_modes
- ScalarNumericAnalyzer.semilog_y_min_bound
- ScalarNumericAnalyzer.show_count
- ScalarNumericAnalyzer.show_global
- ScalarNumericAnalyzer.show_individual_samples
- ScalarNumericAnalyzer.show_legend
- ScalarNumericAnalyzer.show_x_std
- ScalarNumericAnalyzer.show_y_std
- ScalarNumericAnalyzer.sort_by_average
- ScalarNumericAnalyzer.title_y
- ScalarNumericAnalyzer.update_render_kwargs_one_case()
- ScalarNumericAnalyzer.update_render_kwargs_one_case_boxplot()
- ScalarNumericAnalyzer.update_render_kwargs_one_case_hbar()
- ScalarNumericAnalyzer.update_render_kwargs_one_case_histogram()
- ScalarNumericAnalyzer.valid_render_modes
 
- ScalarNumericJointAnalyzer- ScalarNumericJointAnalyzer.build_summary_atable()
- ScalarNumericJointAnalyzer.cell_alignment
- ScalarNumericJointAnalyzer.col_header_alignment
- ScalarNumericJointAnalyzer.column_to_properties
- ScalarNumericJointAnalyzer.edges
- ScalarNumericJointAnalyzer.fig_height
- ScalarNumericJointAnalyzer.fig_width
- ScalarNumericJointAnalyzer.get_df()
- ScalarNumericJointAnalyzer.get_filtered_x_y_categories()
- ScalarNumericJointAnalyzer.highlight_best_column
- ScalarNumericJointAnalyzer.highlight_best_row
- ScalarNumericJointAnalyzer.number_format
- ScalarNumericJointAnalyzer.row_header_alignment
- ScalarNumericJointAnalyzer.save_analysis_tables()
- ScalarNumericJointAnalyzer.selected_render_modes
- ScalarNumericJointAnalyzer.should_highlight_cell()
- ScalarNumericJointAnalyzer.show_global_column
- ScalarNumericJointAnalyzer.show_global_row
- ScalarNumericJointAnalyzer.show_reference_group
- ScalarNumericJointAnalyzer.update_render_kwargs_one_case()
- ScalarNumericJointAnalyzer.valid_render_modes
 
- ScalarNumericJointSummary- ScalarNumericJointSummary.__init__()
- ScalarNumericJointSummary.add_joint_scalar_description_columns()
- ScalarNumericJointSummary.apply_reference_bias()
- ScalarNumericJointSummary.column_to_properties
- ScalarNumericJointSummary.compute_plottable_data_one_case()
- ScalarNumericJointSummary.set_joint_scalar_description()
 
- ScalarNumericSummary- ScalarNumericSummary.__init__()
- ScalarNumericSummary.add_scalar_description_columns()
- ScalarNumericSummary.apply_reference_bias()
- ScalarNumericSummary.column_to_properties
- ScalarNumericSummary.compute_boxplot_plottable_one_case()
- ScalarNumericSummary.compute_hbar_plottable_one_case()
- ScalarNumericSummary.compute_histogram_plottable_one_case()
- ScalarNumericSummary.compute_plottable_data_one_case()
- ScalarNumericSummary.numeric_series_to_stat_dict()
- ScalarNumericSummary.set_scalar_description()
 
- TwoNumericAnalyzer- TwoNumericAnalyzer.average_identical_x
- TwoNumericAnalyzer.build_summary_atable()
- TwoNumericAnalyzer.column_to_properties
- TwoNumericAnalyzer.combine_groups
- TwoNumericAnalyzer.common_group_scale
- TwoNumericAnalyzer.main_alpha
- TwoNumericAnalyzer.main_line_width
- TwoNumericAnalyzer.main_marker_size
- TwoNumericAnalyzer.plot_title
- TwoNumericAnalyzer.save_analysis_tables()
- TwoNumericAnalyzer.secondary_alpha
- TwoNumericAnalyzer.secondary_line_width
- TwoNumericAnalyzer.selected_render_modes
- TwoNumericAnalyzer.semilog_y_min_bound
- TwoNumericAnalyzer.show_count
- TwoNumericAnalyzer.show_global
- TwoNumericAnalyzer.show_individual_samples
- TwoNumericAnalyzer.show_legend
- TwoNumericAnalyzer.show_linear_regression
- TwoNumericAnalyzer.show_x_std
- TwoNumericAnalyzer.show_y_std
- TwoNumericAnalyzer.title_y
- TwoNumericAnalyzer.update_render_kwargs_one_case()
- TwoNumericAnalyzer.valid_render_modes
 
- TwoNumericSummary- TwoNumericSummary.__init__()
- TwoNumericSummary.add_twoscalar_description_columns()
- TwoNumericSummary.apply_reference_bias()
- TwoNumericSummary.apply_reference_bias_line()
- TwoNumericSummary.apply_reference_bias_scatter()
- TwoNumericSummary.column_to_properties
- TwoNumericSummary.compute_plottable_data_one_case()
- TwoNumericSummary.set_twoscalar_description()
 
- columnname_to_labels()
- get_groupby_str()
- is_family_grouping()
 
- enb.atable module- enb.atable: Automatic tables with implicit column definition
- ATable- ATable.__init__()
- ATable.add_column_function()
- ATable.assert_df_sanity()
- ATable.build_column_function_wrapper()
- ATable.column_function()
- ATable.column_to_properties
- ATable.compute_one_row()
- ATable.compute_target_rows()
- ATable.dataset_files_extension
- ATable.get_all_input_indices()
- ATable.get_df()
- ATable.get_df_one_chunk()
- ATable.get_matlab_struct_str()
- ATable.ignored_columns
- ATable.indices
- ATable.indices_and_columns
- ATable.load_saved_df()
- ATable.name
- ATable.normalize_column_function_arguments()
- ATable.private_index_column
- ATable.redefines_column()
- ATable.write_persistence()
 
- ColumnFailedError
- ColumnProperties
- CorruptedTableError
- MetaTable
- SummaryTable
- check_unique_indices()
- clean_column_name()
- column_function()
- get_all_input_files()
- get_canonical_path()
- get_class_that_defined_method()
- get_nonscalar_value()
- indices_to_internal_loc()
- internal_loc_to_index()
- parallel_compute_one_row()
- redefines_column()
- string_or_float()
- unpack_index_value()
 
- enb.experiment module- Experiment- Experiment.__init__()
- Experiment.column_to_properties
- Experiment.default_file_properties_table_class
- Experiment.get_dataset_df()
- Experiment.get_dataset_info_row()
- Experiment.get_df()
- Experiment.index_to_path_task()
- Experiment.joined_column_to_properties
- Experiment.no_family_label
- Experiment.set_family_label()
- Experiment.set_param_dict()
- Experiment.set_task_apply_time()
- Experiment.set_task_label()
- Experiment.set_task_name()
- Experiment.task_apply_time_column
- Experiment.task_label_column
- Experiment.task_name_column
 
- ExperimentTask
- TaskFamily
 
- enb.isets module- BILToBSQ
- BIPToBSQ
- BandEntropyTable
- DivisibleSizeVersion
- HistogramFullnessTable1Byte
- HistogramFullnessTable2Bytes
- HistogramFullnessTable4Bytes
- ImageDistributionTable
- ImageGeometryTable- ImageGeometryTable.column_to_properties
- ImageGeometryTable.dataset_files_extension
- ImageGeometryTable.set_big_endian()
- ImageGeometryTable.set_bytes_per_sample()
- ImageGeometryTable.set_column_dtype()
- ImageGeometryTable.set_float()
- ImageGeometryTable.set_image_geometry()
- ImageGeometryTable.set_samples()
- ImageGeometryTable.set_signed()
- ImageGeometryTable.set_type_name()
- ImageGeometryTable.verify_file_size
 
- ImagePropertiesTable
- ImageVersionTable
- QuantizedImageVersion
- ReindexedVersion
- SampleDistributionTable
- dump_array()
- dump_array_bil()
- dump_array_bip()
- dump_array_bsq()
- entropy()
- file_path_to_geometry_dict()
- iproperties_row_to_geometry_tag()
- iproperties_row_to_numpy_dtype()
- iproperties_row_to_sample_type_tag()
- iproperties_to_name_tag()
- kl_divergence()
- load_array()
- load_array_bil()
- load_array_bip()
- load_array_bsq()
- mutual_information()
 
- enb.log module- LogLevel
- Logger- Logger.__init__()
- Logger.banner_enb_name_style
- Logger.banner_enb_version_style
- Logger.banner_line_style
- Logger.banner_plain_text_style
- Logger.core()
- Logger.core_active
- Logger.core_context()
- Logger.debug()
- Logger.debug_active
- Logger.debug_context()
- Logger.error()
- Logger.error_active
- Logger.get_level()
- Logger.info()
- Logger.info_active
- Logger.info_context()
- Logger.is_parallel_process
- Logger.is_ray_enabled
- Logger.level_active()
- Logger.levels_by_priority()
- Logger.log()
- Logger.log_context()
- Logger.message()
- Logger.message_active
- Logger.message_context()
- Logger.print_to_log()
- Logger.report_level_status()
- Logger.show_banner()
- Logger.style_core
- Logger.style_debug
- Logger.style_error
- Logger.style_info
- Logger.style_message
- Logger.style_verbose
- Logger.style_warn
- Logger.verbose()
- Logger.verbose_active
- Logger.verbose_context()
- Logger.warn()
- Logger.warn_active
 
- core()
- debug()
- error()
- get_level()
- info()
- log()
- message()
- report_level_status()
- show_banner()
- verbose()
- warn()
 
- enb.misc module
- enb.parallel module
- enb.parallel_ray module
- enb.plotdata module
- enb.progress module- ProgressTracker- ProgressTracker.__init__()
- ProgressTracker.chunk_count
- ProgressTracker.complete_chunk()
- ProgressTracker.console
- ProgressTracker.style_bar_complete
- ProgressTracker.style_bar_finished
- ProgressTracker.style_bar_incomplete
- ProgressTracker.style_border
- ProgressTracker.style_spinner
- ProgressTracker.style_text_completed
- ProgressTracker.style_text_label
- ProgressTracker.style_text_percentage
- ProgressTracker.style_text_separator
- ProgressTracker.style_text_speed
- ProgressTracker.style_text_time
- ProgressTracker.style_text_total
- ProgressTracker.style_text_unit
- ProgressTracker.style_title_analyzer
- ProgressTracker.style_title_atable
- ProgressTracker.style_title_dataset
- ProgressTracker.style_title_experiment
- ProgressTracker.style_title_other
- ProgressTracker.style_title_summary
- ProgressTracker.update_chunk_completed_rows()
 
- is_progress_enabled()
 
- enb.render module
- enb.sets module- FilePropertiesTable- FilePropertiesTable.__init__()
- FilePropertiesTable.base_dir
- FilePropertiesTable.column_to_properties
- FilePropertiesTable.dataset_file_extension
- FilePropertiesTable.dataset_files_extension
- FilePropertiesTable.get_df()
- FilePropertiesTable.get_relative_path()
- FilePropertiesTable.hash_field_name
- FilePropertiesTable.index_name
- FilePropertiesTable.set_corpus()
- FilePropertiesTable.set_file_size()
- FilePropertiesTable.set_hash_digest()
- FilePropertiesTable.version_name
 
- FileVersionTable- FileVersionTable.__init__()
- FileVersionTable.column_to_properties
- FileVersionTable.column_version_name()
- FileVersionTable.get_default_target_indices()
- FileVersionTable.get_df()
- FileVersionTable.original_to_versioned_path()
- FileVersionTable.set_corpus()
- FileVersionTable.set_original_file_path()
- FileVersionTable.set_version_time()
- FileVersionTable.version()
 
- parallel_version_one_path()
- version_one_path_local()
 
- enb.tcall module
- Module contents
 
- Subpackages
 
- enb package