tests package

Submodules

tests.test_ibsi1_features module

This script compares scalar radiomic features extracted from a lung CT scan using settings from ibsi1 against a reference standard.

Dataset: https://github.com/theibsi/data_sets/tree/master/ibsi_1_ct_radiomics_phantom Configurations: https://ibsi.readthedocs.io/en/latest/05_Reference_data_sets.html#configurations

tests.test_ibsi1_features.load_data(datasetDir)[source]

Load DICOM data to CERR archive

tests.test_ibsi1_features.disp_diff(diffValsV, tolFeatV, refV, featList)[source]

Report on differences in feature values

tests.test_ibsi1_features.get_ref_feature_vals(cerrFeatS, refFeatNames, refValsV, tolV)[source]

Indicate if features match reference, otherwise display differences.

tests.test_ibsi1_features.run_config(configList, scanNum, structNum, planC)[source]
tests.test_ibsi1_features.test_config_a_original_feats_merged_texture()[source]
tests.test_ibsi1_features.test_config_a_original_feats_all_dirs()[source]
tests.test_ibsi1_features.test_config_b_bilinear_interp_feats_merged_texture()[source]
tests.test_ibsi1_features.test_config_b_bilinear_interp_feats_all_dirs()[source]
tests.test_ibsi1_features.test_config_c_trilinear_interp_feats_merged_texture()[source]
tests.test_ibsi1_features.test_config_c_trilinear_interp_feats_all_dirs()[source]
tests.test_ibsi1_features.run_configs()[source]

test radiomics features for IBSI-1 configurations

tests.test_ibsi2_features module

This script compares scalar radiomic features extracted from a filtered CT using data and settings from IBSI2-phase 2 against a reference standard.

Dataset: https://github.com/theibsi/data_sets/tree/master/ibsi_2_ct_radiomics_phantom Configurations: https://www.overleaf.com/project/5da9e0b82f399f0001ad3970

tests.test_ibsi2_features.load_data(niiDir)[source]

Import data to plan container

tests.test_ibsi2_features.disp_diff(pctDiffFeatV, ibsiFeatList)[source]

Report on differences in feature values

tests.test_ibsi2_features.get_ref_feature_vals(cerrFeatS, refValsV)[source]

Indicate if features match reference, otherwise display differences.

tests.test_ibsi2_features.run_config(config)[source]
tests.test_ibsi2_features.test_stats_original()[source]
tests.test_ibsi2_features.test_stats_resampled()[source]
tests.test_ibsi2_features.test_stats_mean_2d()[source]
tests.test_ibsi2_features.test_stats_mean_3d()[source]
tests.test_ibsi2_features.test_stats_LoG_2d()[source]
tests.test_ibsi2_features.test_stats_LoG_3d()[source]
tests.test_ibsi2_features.test_stats_rot_inv_laws_energy_2d()[source]
tests.test_ibsi2_features.test_stats_rot_inv_laws_energy_3d()[source]
tests.test_ibsi2_features.run_phase2()[source]

Calc. radiomics features using IBSI-2 phase-2 configurations

tests.test_ibsi2_filters module

This script compares convolutional filter response maps using synthetic data and filter settings from IBSI2-phase 1 against a reference standard.

Dataset: https://github.com/theibsi/data_sets/tree/master/ibsi_2_digital_phantom Configurations: https://www.overleaf.com/project/5da9e0b82f399f0001ad3970

tests.test_ibsi2_filters.load_data(synthDataset)[source]

Load CERR archive, return scan and mask(all ones)

tests.test_ibsi2_filters.compare_maps(calcMap3M, refMapName)[source]

Indicate if maps match reference, otherwise summarize differences.

tests.test_ibsi2_filters.run_test(planC, mask3M, config)[source]
tests.test_ibsi2_filters.test_mean_filters_3d()[source]
tests.test_ibsi2_filters.test_mean_filt_2d()[source]
tests.test_ibsi2_filters.test_LoG_filters_3d()[source]
tests.test_ibsi2_filters.test_LoG_filter_2d()[source]
tests.test_ibsi2_filters.test_laws_filters_3d()[source]
tests.test_ibsi2_filters.test_laws_filter_2d()[source]
tests.test_ibsi2_filters.test_rot_inv_laws_filters_3d()[source]
tests.test_ibsi2_filters.test_rot_inv_laws_filter_2d()[source]
tests.test_ibsi2_filters.test_rot_inv_laws_energy_filters_3d()[source]
tests.test_ibsi2_filters.test_rot_inv_laws_energy_filter_2d()[source]
tests.test_ibsi2_filters.test_gabor_filters_2d()[source]
tests.test_ibsi2_filters.test_gabor_filters_25d()[source]
tests.test_ibsi2_filters.run_ibsi_image_filters()[source]

Generate maps using IBSI-2 phase-1 configurations

tests.test_nii_export_import module

tests.test_nii_export_import.test_scan_export_import()[source]

Module contents