moten package
Subpackages
Submodules
- moten.colorspace module
- moten.core module
- moten.extras module
- moten.io module
- moten.pyramids module
DefaultPyramidsMotionEnergyPyramidMotionEnergyPyramid.filters_at_vhposition()MotionEnergyPyramid.get_filter_mask()MotionEnergyPyramid.get_filter_pixel_sizes()MotionEnergyPyramid.get_filter_spatial_quadrature()MotionEnergyPyramid.get_filter_spatiotemporal_quadratures()MotionEnergyPyramid.get_filter_temporal_quadrature()MotionEnergyPyramid.project_stimulus()MotionEnergyPyramid.project_stimulus_batched()MotionEnergyPyramid.raw_project_stimulus()MotionEnergyPyramid.show_filter()
StimulusMotionEnergyStimulusStaticGaborPyramid
- moten.utils module
- moten.viz module
Module contents
- moten.get_backend()[source]
Get the current backend module.
- Returns:
module – Module of the backend.
- Return type:
python module
- moten.set_backend(backend, on_error='raise')[source]
Set the backend using a global variable, and return the backend module.
- Parameters:
backend (str or module) – Name or module of the backend.
on_error (str in {"raise", "warn"}) – Define what is done if the backend fails to be loaded. If “warn”, this function only warns, and keeps the previous backend. If “raise”, this function raises on errors.
- Returns:
module – Module of the backend.
- Return type:
python module