Skip to content
Open
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions vt_config/NSLS-II/init.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,13 @@ def get_modules():
'skxray.io.binary',
'skxray.api.diffraction',
'vttools.to_wrap.fitting',
'skxray.api.image_processing.arithmetic.basic_math',
'skxray.api.image_processing.arithmetic.logic',
'skxray.api.image_processing.filtering',
'skxray.api.image_processing.histogram',
'skxray.api.image_processing.morphology',
'skxray.api.image_processing.thresholding',
'skxray.api.image_processing.transformation'
]

for mod_name in mod_targets:
Expand Down
168 changes: 165 additions & 3 deletions vttools/vtmods/import_lists/modules.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,23 @@ import_modules:

# list of functions to autowrap
autowrap_func:
# FILE I/O
- func_name: read_binary
module_path: skxray.io.binary
namespace: io
- func_name: read_amiraMesh
module_path: skxray.io.avizo_io
namespace: io
- func_name: read_netCDF
module_path: skxray.io.net_cdf_io
namespace: io
- func_name: read_tiff
module_path: skxray.io.tiff_io
namespace: io
- func_name: save_tiff
module_path: skxray.io.tiff_io
namespace: io

- func_name: grid3d
module_path: skxray.core
namespace: core
Expand Down Expand Up @@ -49,9 +66,6 @@ autowrap_func:
- func_name : pixel_to_phi
module_path: skxray.core
namespace: core
- func_name: read_binary
module_path: skxray.io.binary
namespace: io
- func_name: convolve
module_path: numpy
namespace: numpy
Expand All @@ -74,6 +88,154 @@ autowrap_func:
- func_name: estimate_d_blind
module_path: skxray.calibration
namespace: calibration
#- func_name: find_ring_center_acorr_iD
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you delete these? I don't think they are used anywhere.

# module_path: skxray.image
# namespace: image
# FF IMAGE PROCESSING: FILTER TOOLS
- func_name: gaussian_filter
module_path: skxray.api.ff_image
namespace: image_processing | filtering
- func_name: median_filter
module_path: skxray.api.ff_image
namespace: image_processing | filtering
- func_name: minimum_filter
module_path: skxray.api.ff_image
namespace: image_processing | filtering
- func_name: maximum_filter
module_path: skxray.api.ff_image
namespace: image_processing | filtering
- func_name: gaussian_gradient_magnitude
module_path: skxray.api.ff_image
namespace: image_processing | filtering
- func_name: gaussian_laplace
module_path: skxray.api.ff_image
namespace: image_processing | filtering
- func_name: laplace
module_path: skxray.api.ff_image
namespace: image_processing | filtering
- func_name: percentile_filter
module_path: skxray.api.ff_image
namespace: image_processing | filtering
- func_name: sobel
module_path: skxray.api.ff_image
namespace: image_processing | filtering
- func_name: prewitt
module_path: skxray.api.ff_image
namespace: image_processing | filtering
- func_name: rank_filter
module_path: skxray.api.ff_image
namespace: image_processing | filtering
# FF IMAGE PROCESSING: HISTOGRAM TOOLS
- func_name: hist_make
module_path: skxray.api.ff_image
namespace: image_processing | histogram
- func_name: rescale_intensity_values
module_path: skxray.api.ff_image
namespace: image_processing | histogram
# FF IMAGE PROCESSING: MORPHOLOGY MANIPULATION
- func_name: binary_opening
module_path: skxray.api.ff_image
namespace: image_processing | morphology | binary
- func_name: binary_closing
module_path: skxray.api.ff_image
namespace: image_processing | morphology | binary
- func_name: binary_erosion
module_path: skxray.api.ff_image
namespace: image_processing | morphology | binary
- func_name: binary_dilation
module_path: skxray.api.ff_image
namespace: image_processing | morphology | binary
- func_name: grey_opening
module_path: skxray.api.ff_image
namespace: image_processing | morphology | grayscale
- func_name: grey_closing
module_path: skxray.api.ff_image
namespace: image_processing | morphology | grayscale
- func_name: grey_erosion
module_path: skxray.api.ff_image
namespace: image_processing | morphology | grayscale
- func_name: grey_dilation
module_path: skxray.api.ff_image
namespace: image_processing | morphology | grayscale
- func_name: binary_fill_holes
module_path: skxray.api.ff_image
namespace: image_processing | morphology | binary
- func_name: binary_propagation
module_path: skxray.api.ff_image
namespace: image_processing | morphology | binary
- func_name: extract_material
module_path: skxray.api.ff_image
namespace: image_processing | morphology | material manipulation
- func_name: extract_all_else
module_path: skxray.api.ff_image
namespace: image_processing | morphology | material manipulation
# FF IMAGE PROCESSING: THRESHOLDING TOOLS
- func_name: thresh_globalGT
module_path: skxray.api.ff_image
namespace: image_processing | thresholding
- func_name: thresh_globalLT
module_path: skxray.api.ff_image
namespace: image_processing | thresholding
- func_name: thresh_bounded
module_path: skxray.api.ff_image
namespace: image_processing | thresholding
- func_name: thresh_adapt
module_path: skxray.api.ff_image
namespace: image_processing | thresholding
- func_name: thresh_otsu
module_path: skxray.api.ff_image
namespace: image_processing | thresholding
- func_name: thresh_yen
module_path: skxray.api.ff_image
namespace: image_processing | thresholding
- func_name: thresh_isodata
module_path: skxray.api.ff_image
namespace: image_processing | thresholding
# FF IMAGE PROCESSING: TRANSFORMATION TOOLS
- func_name: swap_axes
module_path: skxray.api.ff_image
namespace: image_processing | transform
- func_name: flip_axis
module_path: skxray.api.ff_image
namespace: image_processing | transform
- func_name: crop_volume
module_path: skxray.api.ff_image
namespace: image_processing | transform
- func_name: rotate_volume
module_path: skxray.api.ff_image
namespace: image_processing | transform
# FF IMAGE PROCESSING: LOGICAL OPERATIONS
- func_name: logical_and
module_path: skxray.api.ff_image
namespace: image_processing | math | logic
- func_name: logical_or
module_path: skxray.api.ff_image
namespace: image_processing | math | logic
- func_name: logical_not
module_path: skxray.api.ff_image
namespace: image_processing | math | logic
- func_name: logical_xor
module_path: skxray.api.ff_image
namespace: image_processing | math | logic
- func_name: logical_nand
module_path: skxray.api.ff_image
namespace: image_processing | math | logic
- func_name: logical_subtract
module_path: skxray.api.ff_image
namespace: image_processing | math | logic
# FF IMAGE PROCESSING: ARITHMETIC OPERATIONS
- func_name: add
module_path: skxray.api.ff_image
namespace: image_processing | math | arithmetic
- func_name: subtract
module_path: skxray.api.ff_image
namespace: image_processing | math | arithmetic
- func_name: multiply
module_path: skxray.api.ff_image
namespace: image_processing | math | arithmetic
- func_name: divide
module_path: skxray.api.ff_image
namespace: image_processing | math | arithmetic


#- {func_name: emission_line_search, module_path: skxray.constants, namespace: core, add_input_dict: true}
Expand Down