Bases: holoviews.core.operation.ElementOperation
params(value=String, input_ranges=ClassSelector, group=String, name=String)
The cyclic difference between any two cyclic Image quantities normalized such that maximum possible cyclic difference is 0.5.
Although this operation may be applied to any Image data defined over some cyclic quantity, in practice it is rarely used outside some fairly special uses; namely the computation of cyclic similarity (e.g. the similarity of two orientation of direction maps).
The cyclic similarity is the normalized inverse of the cyclic difference:
cyclic_similarity = 1 - (2.0 * cyclic_difference)This may be computed in conjunction with the transform operator over the input overlay ‘input’:
transform(cyclic_difference(input), operator=lambda x: 1-2*x)This quantity varies between 0.0 and 1.0 where 0.0 corresponds to the maximum possible difference (i.e the difference between two anti-correlated quanitities). A cyclic similarity of 0.5 indicates two uncorrelated inputs and a value of 1.0 indicates perfectly matching cyclic values.
Often a more useful measure is a rescaled cyclic similarity such that -1.0 indicates anti-correlation, 0.0 indicates zero-correlation and 1.0 indicates perfect correlation:
nominal_cyclic_similarity = (2 * (cyclic_similarity - 0.5))Or alternatively:
nominal_cyclic_similarity = 1 - (4.0 * cyclic_difference)This may be expressed as the following operation on the input:
transform(cyclic_difference(input), operator=lambda x: 1-4*x)
[0m [1;31mParameters changed from their default values are marked in red.[0m [1;36mSoft bound values are marked in cyan.[0m C/V= Constant/Variable, RO/RW = ReadOnly/ReadWrite, AN=Allow None
[1;34mName Value Type Mode [0m
group ‘Operation’ String V RW input_ranges {} ClassSelector V RW value ‘CyclicDifference’ String V RW
[1;32mParameter docstrings: =====================[0m
[1;34mgroup: The group string used to identify the output of the[0m [1;34m Operation. By default this should match the operation name.[0m [1;31minput_ranges: Ranges to be used for input normalization (if applicable) in a[0m [1;31m format appropriate for the Normalization.ranges parameter.[0m [1;31m [0m [1;31m By default, no normalization is applied. If key-wise[0m [1;31m normalization is required, a 2-tuple may be supplied where the[0m [1;31m first component is a Normalization.ranges list and the second[0m [1;31m component is Normalization.keys. [0m [1;34mvalue: The value assigned to the result after computing the cyclic[0m [1;34m difference.[0m
Print msg merged with args as a debugging statement.
See Python’s logging module for details of message formatting.
Return {parameter_name:parameter.default} for all non-constant Parameters.
Note that a Parameter for which instantiate==True has its default instantiated.
Computes the cyclic difference between two arrays assumed to be normalized in the range 0.0-1.0.
The minimum possible cyclic difference between two such quantities is 0.0 and the maximum possible difference is 0.5.
Returns the extents if all the elements of an overlay agree on a consistent extents, otherwise raises an exception.
Returns a label if all the elements of an overlay agree on a consistent label, otherwise returns the default label.
Return a list of name,value pairs for all Parameters of this object.
If onlychanged is True, will only return values that are not equal to the default value.
Print msg merged with args as a message.
See Python’s logging module for details of message formatting.
Return the Parameters of this class as the dictionary {name: parameter_object}
Includes Parameters from this class and its superclasses.
Same as Parameterized.pprint, except that X.classname(Y is replaced with X.classname.instance(Y
Print the default values of all cls’s Parameters.
Print the values of all this object’s Parameters.
The process_element method allows a single element to be operated on given an externally supplied key.
Same as Parameterized.script_repr, except that X.classname(Y is replaced with X.classname.instance(Y
Helper method that returns a list of elements that match the given path pattern of form {type}.{group}.{label}.
The input may be a Layout, an Overlay type or a single Element.
Set the default value of param_name.
Equivalent to setting param_name on the class.
Restore the most recently saved state.
See state_push() for more details.
Save this instance’s state.
For Parameterized instances, this includes the state of dynamically generated values.
Subclasses that maintain short-term state should additionally save and restore that state using state_push() and state_pop().
Generally, this method is used by operations that need to test something without permanently altering the objects’ state.
Print msg merged with args as a verbose message.
See Python’s logging module for details of message formatting.
Print msg merged with args as a warning, unless module variable warnings_as_exceptions is True, then raise an Exception containing the arguments.
See Python’s logging module for details of message formatting.
Bases: holoviews.core.operation.ElementOperation
params(reference_value=Number, weighted_average=Boolean, input_ranges=ClassSelector, group=String, name=String)
Estimate the value of a feature from the current activity pattern on a sheet and a preference map of the sheet. The activity and preference should be supplied as an Overlay or a ViewMap of Overlay objects.
If weighted_average is False, the feature value returned is the value of the preference_map at the maximally active location.
If weighted_average is True, the feature value is estimated by weighting the preference_map by the current activity level, and averaging the result across all units in the sheet.
For instance, if preference_map is OrientationPreference (a cyclic quantity), then the result will be the vector average of the activated orientations. For an orientation map this value should be an estimate of the orientation present on the input.
Record the V1 activity in response to an oriented Gaussian and the orientation preference as follows and overlay them:
act = measure_response(pattern_generator=imagen.Gaussian(), durations=[0.1, 0.5, 1.0])['GaussianResponse']['V1'] pref = measure_or_pref()['OrientationPreference']['V1'].last ActivityPreferenceStack = act * pref decode_feature(ActivityPreferenceStack)
[0m [1;31mParameters changed from their default values are marked in red.[0m [1;36mSoft bound values are marked in cyan.[0m C/V= Constant/Variable, RO/RW = ReadOnly/ReadWrite, AN=Allow None
[1;34mName Value Type Bounds Mode [0m
group ‘Operation’ String V RW input_ranges {} ClassSelector V RW reference_value None Number V RW AN weighted_average True Boolean (0, 1) V RW
[1;32mParameter docstrings: =====================[0m
[1;34mgroup: The group string used to identify the output of the[0m [1;34m Operation. By default this should match the operation name.[0m [1;31minput_ranges: Ranges to be used for input normalization (if applicable) in a[0m [1;31m format appropriate for the Normalization.ranges parameter.[0m [1;31m [0m [1;31m By default, no normalization is applied. If key-wise[0m [1;31m normalization is required, a 2-tuple may be supplied where the[0m [1;31m first component is a Normalization.ranges list and the second[0m [1;31m component is Normalization.keys. [0m [1;34mreference_value: Allows specifying a reference value, to compute the error of the[0m [1;34m decoded value.[0m [1;31mweighted_average: Decode as vector average if True or by maximal responding unit.[0m
Print msg merged with args as a debugging statement.
See Python’s logging module for details of message formatting.
Return {parameter_name:parameter.default} for all non-constant Parameters.
Note that a Parameter for which instantiate==True has its default instantiated.
Returns the extents if all the elements of an overlay agree on a consistent extents, otherwise raises an exception.
Returns a label if all the elements of an overlay agree on a consistent label, otherwise returns the default label.
Return a list of name,value pairs for all Parameters of this object.
If onlychanged is True, will only return values that are not equal to the default value.
Print msg merged with args as a message.
See Python’s logging module for details of message formatting.
Return the Parameters of this class as the dictionary {name: parameter_object}
Includes Parameters from this class and its superclasses.
Same as Parameterized.pprint, except that X.classname(Y is replaced with X.classname.instance(Y
Print the default values of all cls’s Parameters.
Print the values of all this object’s Parameters.
The process_element method allows a single element to be operated on given an externally supplied key.
Same as Parameterized.script_repr, except that X.classname(Y is replaced with X.classname.instance(Y
Helper method that returns a list of elements that match the given path pattern of form {type}.{group}.{label}.
The input may be a Layout, an Overlay type or a single Element.
Set the default value of param_name.
Equivalent to setting param_name on the class.
Restore the most recently saved state.
See state_push() for more details.
Save this instance’s state.
For Parameterized instances, this includes the state of dynamically generated values.
Subclasses that maintain short-term state should additionally save and restore that state using state_push() and state_pop().
Generally, this method is used by operations that need to test something without permanently altering the objects’ state.
Print msg merged with args as a verbose message.
See Python’s logging module for details of message formatting.
Print msg merged with args as a warning, unless module variable warnings_as_exceptions is True, then raise an Exception containing the arguments.
See Python’s logging module for details of message formatting.
Bases: holoviews.core.operation.ElementOperation
params(C_multiplier=Number, S_multiplier=Number, flipSC=Boolean, input_ranges=ClassSelector, group=String, name=String)
Hue-Confidence-Strength plot.
Accepts an overlay containing either 2 or 3 layers. The first two layers are hue and confidence and the third layer (if available) is the strength channel.
[0m [1;31mParameters changed from their default values are marked in red.[0m [1;36mSoft bound values are marked in cyan.[0m C/V= Constant/Variable, RO/RW = ReadOnly/ReadWrite, AN=Allow None
[1;34mName Value Type Bounds Mode [0m
C_multiplier 1.0 Number (0.0, None) V RW S_multiplier 1.0 Number (0.0, None) V RW flipSC False Boolean (0, 1) V RW group ‘HCS’ String V RW input_ranges {} ClassSelector V RW
[1;32mParameter docstrings: =====================[0m
[1;34mC_multiplier: Post-normalization multiplier for the confidence value.[0m [1;34m [0m [1;34m Note that if the result is outside the bounds 0.0-1.0, it will[0m [1;34m be clipped.[0m [1;31mS_multiplier: Post-normalization multiplier for the strength value.[0m [1;31m [0m [1;31m Note that if the result is outside the bounds 0.0-1.0, it will[0m [1;31m be clipped. [0m [1;34mflipSC: Whether to flip the strength and confidence channels[0m [1;31mgroup: The group string for the output (an RGB element).[0m [1;34minput_ranges: Ranges to be used for input normalization (if applicable) in a[0m [1;34m format appropriate for the Normalization.ranges parameter.[0m [1;34m [0m [1;34m By default, no normalization is applied. If key-wise[0m [1;34m normalization is required, a 2-tuple may be supplied where the[0m [1;34m first component is a Normalization.ranges list and the second[0m [1;34m component is Normalization.keys. [0m
Print msg merged with args as a debugging statement.
See Python’s logging module for details of message formatting.
Return {parameter_name:parameter.default} for all non-constant Parameters.
Note that a Parameter for which instantiate==True has its default instantiated.
Returns the extents if all the elements of an overlay agree on a consistent extents, otherwise raises an exception.
Returns a label if all the elements of an overlay agree on a consistent label, otherwise returns the default label.
Return a list of name,value pairs for all Parameters of this object.
If onlychanged is True, will only return values that are not equal to the default value.
Print msg merged with args as a message.
See Python’s logging module for details of message formatting.
alias of RGB
Return the Parameters of this class as the dictionary {name: parameter_object}
Includes Parameters from this class and its superclasses.
Same as Parameterized.pprint, except that X.classname(Y is replaced with X.classname.instance(Y
Print the default values of all cls’s Parameters.
Print the values of all this object’s Parameters.
The process_element method allows a single element to be operated on given an externally supplied key.
Same as Parameterized.script_repr, except that X.classname(Y is replaced with X.classname.instance(Y
Helper method that returns a list of elements that match the given path pattern of form {type}.{group}.{label}.
The input may be a Layout, an Overlay type or a single Element.
Set the default value of param_name.
Equivalent to setting param_name on the class.
Restore the most recently saved state.
See state_push() for more details.
Save this instance’s state.
For Parameterized instances, this includes the state of dynamically generated values.
Subclasses that maintain short-term state should additionally save and restore that state using state_push() and state_pop().
Generally, this method is used by operations that need to test something without permanently altering the objects’ state.
Print msg merged with args as a verbose message.
See Python’s logging module for details of message formatting.
Print msg merged with args as a warning, unless module variable warnings_as_exceptions is True, then raise an Exception containing the arguments.
See Python’s logging module for details of message formatting.
This module is used to analyse the hypercolumn structure of preference maps. Currently this file offers a means to estimate the hypercolumn distance from the Fourier power spectrum but different types of analysis (eg. wavelet analysis) may be introduced in future.
Bases: holoviews.core.operation.TreeOperation
params(averaging_fn=Callable, fit_table=Boolean, gamma_k=Number, init_fit=Dict, label=String, group=String, name=String)
Estimation of hypercolumn distance in a cyclic preference map from the size of the ring in the fourier power spectrum, following the methods described in the in the supplementary materials of ``Universality in the Evolution of Orientation Columns in the Visual Cortex’‘, Kaschube et al. 2010.
If supplied with a preference overlayed with pinwheels, the pinwheel_density is computed from kmax (the wavenumber of highest power) using the equation:
rho = pinwheel count/(kmax**2)
This is then used to generate a map quality estimate (with unit range) based on the pi-pinwheel density criterion.
[0m [1;31mParameters changed from their default values are marked in red.[0m [1;36mSoft bound values are marked in cyan.[0m C/V= Constant/Variable, RO/RW = ReadOnly/ReadWrite, AN=Allow None
[1;34mName Value Type Bounds Mode [0m
averaging_fn <function mean at 0x2ad5d87c40c8> Callable V RW fit_table False Boolean (0, 1) V RW gamma_k 1.8 Number V RW group ‘Operation’ String V RW init_fit None Dict V RW AN label None String C RW AN
[1;32mParameter docstrings: =====================[0m
[1;34maveraging_fn: The averaging function used to collapse the power spectrum at each[0m [1;34m wavenumber down to a scalar value. By default, finds the mean[0m [1;34m power for each wavenumber.[0m [1;31mfit_table: Whether or not to add table listing the fit coefficients at the[0m [1;31m end of the output layout.[0m [1;34mgamma_k: The degree to which the gamma kernel is heavily tailed when[0m [1;34m squashing the pinwheel density into a unit map metric.[0m [1;31mgroup: The group string used to identify the output of the[0m [1;31m Operation. By default this should match the operation name.[0m [1;34minit_fit: If set to None, an initial fit is automatically selected for[0m [1;34m the curve fitting procedure. Otherwise, this is a dictionary of[0m [1;34m the initial coefficients for equation (7) from the 2010 Science[0m [1;34m paper mentioned above (supplementary materials). For instance,[0m [1;34m the values used in the GCAL (Stevens et al. 2013):[0m [1;34m [0m [1;34m init_fit = dict(a0=0.35, a1=3.8, a2=1.3, a3=0.15, a4=-0.003, a5=0)[0m [1;34m [0m [1;34m These coefficients may be understood as follows:[0m [1;34m [0m [1;34m a0 => Gaussian height.[0m [1;34m a1 => Peak x-axis position.[0m [1;34m a2 => Gaussian spread (ie. variance).[0m [1;34m a3 => Baseline value (without falloff).[0m [1;34m a4 => Linear falloff.[0m [1;34m a5 => Quadratic falloff.[0m [1;31mlabel: Label suffixes are fixed as there are too many labels to specify.[0m
Fitting function used by Kaschube for finding the hypercolumn distance from the Fourier power spectrum. These values should match the init_fit defaults of pinwheel_analysis below.
Compute the arithmetic mean along the specified axis.
Returns the average of the array elements. The average is taken over the flattened array by default, otherwise over the specified axis. float64 intermediate and return values are used for integer inputs.
average : Weighted average std, var, nanmean, nanstd, nanvar
The arithmetic mean is the sum of the elements along the axis divided by the number of elements.
Note that for floating-point input, the mean is computed using the same precision the input has. Depending on the input data, this can cause the results to be inaccurate, especially for float32 (see example below). Specifying a higher-precision accumulator using the dtype keyword can alleviate this issue.
>>> a = np.array([[1, 2], [3, 4]])
>>> np.mean(a)
2.5
>>> np.mean(a, axis=0)
array([ 2., 3.])
>>> np.mean(a, axis=1)
array([ 1.5, 3.5])
In single precision, mean can be inaccurate:
>>> a = np.zeros((2, 512*512), dtype=np.float32)
>>> a[0, :] = 1.0
>>> a[1, :] = 0.1
>>> np.mean(a)
0.546875
Computing the mean in float64 is more accurate:
>>> np.mean(a, dtype=np.float64)
0.55000000074505806
Print msg merged with args as a debugging statement.
See Python’s logging module for details of message formatting.
Return {parameter_name:parameter.default} for all non-constant Parameters.
Note that a Parameter for which instantiate==True has its default instantiated.
Estimating the hypercolumn distance by fitting Equation 7 of Kaschube et al. 2010 Equation 7 (supplementary material). Returns the analysed values as a dictionary.
The heavily-tailed gamma kernel used to squash the pinwheel density into unit range. The maximum value of unity is attained when the input pinwheel density is pi.
Returns the extents if all the elements of an overlay agree on a consistent extents, otherwise raises an exception.
Returns a label if all the elements of an overlay agree on a consistent label, otherwise returns the default label.
Return a list of name,value pairs for all Parameters of this object.
If onlychanged is True, will only return values that are not equal to the default value.
Print msg merged with args as a message.
See Python’s logging module for details of message formatting.
Return the Parameters of this class as the dictionary {name: parameter_object}
Includes Parameters from this class and its superclasses.
Same as Parameterized.pprint, except that X.classname(Y is replaced with X.classname.instance(Y
Print the default values of all cls’s Parameters.
Print the values of all this object’s Parameters.
The process_element method allows a single element to be operated on given an externally supplied key.
Same as Parameterized.script_repr, except that X.classname(Y is replaced with X.classname.instance(Y
Helper method that returns a list of elements that match the given path pattern of form {type}.{group}.{label}.
The input may be a Layout, an Overlay type or a single Element.
Set the default value of param_name.
Equivalent to setting param_name on the class.
Restore the most recently saved state.
See state_push() for more details.
Save this instance’s state.
For Parameterized instances, this includes the state of dynamically generated values.
Subclasses that maintain short-term state should additionally save and restore that state using state_push() and state_pop().
Generally, this method is used by operations that need to test something without permanently altering the objects’ state.
Print msg merged with args as a verbose message.
See Python’s logging module for details of message formatting.
Print msg merged with args as a warning, unless module variable warnings_as_exceptions is True, then raise an Exception containing the arguments.
See Python’s logging module for details of message formatting.
Bases: holoviews.core.operation.ElementOperation
params(include_contours=Boolean, label=String, silence_warnings=Boolean, input_ranges=ClassSelector, group=String, name=String)
Given a Matrix or HoloMap of a cyclic feature preference, compute the position of all pinwheel singularities in the map. Optionally includes the contours for the real and imaginary components of the preference map used to determine the pinwheel locations.
Returns the original Matrix input overlayed with a Points object containing the computed pinwheel locations and (optionally) Contours overlays including the real and imaginary contour lines respectively.
[0m [1;31mParameters changed from their default values are marked in red.[0m [1;36mSoft bound values are marked in cyan.[0m C/V= Constant/Variable, RO/RW = ReadOnly/ReadWrite, AN=Allow None
[1;34mName Value Type Bounds Mode [0m
group ‘Operation’ String V RW include_contours True Boolean (0, 1) V RW input_ranges {} ClassSelector V RW label None String C RW AN silence_warnings True Boolean (0, 1) V RW
[1;32mParameter docstrings: =====================[0m
[1;34mgroup: The group string used to identify the output of the[0m [1;34m Operation. By default this should match the operation name.[0m [1;31minclude_contours: Whether or not to include the computed contours for the real and[0m [1;31m imaginary components of the map.[0m [1;34minput_ranges: Ranges to be used for input normalization (if applicable) in a[0m [1;34m format appropriate for the Normalization.ranges parameter.[0m [1;34m [0m [1;34m By default, no normalization is applied. If key-wise[0m [1;34m normalization is required, a 2-tuple may be supplied where the[0m [1;34m first component is a Normalization.ranges list and the second[0m [1;34m component is Normalization.keys. [0m [1;31mlabel: Label suffixes are fixed as there are too many labels to specify.[0m [1;34msilence_warnings: Whether or not to show warnings about invalid intersection[0m [1;34m events when locating pinwheels.[0m
Print msg merged with args as a debugging statement.
See Python’s logging module for details of message formatting.
Return {parameter_name:parameter.default} for all non-constant Parameters.
Note that a Parameter for which instantiate==True has its default instantiated.
Vectorized code to find intersections between contours. All successive duplicate vertices along the input contours must be removed to help avoid division-by-zero errors.
There are cases were no intersection exists (eg. parallel lines) where division by zero and invalid value exceptions occur. These exceptions should be caught as warnings: these edge cases are unavoidable with this algorithm and do not indicate that the output is erroneous.
Returns the extents if all the elements of an overlay agree on a consistent extents, otherwise raises an exception.
Returns a label if all the elements of an overlay agree on a consistent label, otherwise returns the default label.
Return a list of name,value pairs for all Parameters of this object.
If onlychanged is True, will only return values that are not equal to the default value.
Locates the pinwheels from the intersection of the real and imaginary contours of of polar OR map.
Print msg merged with args as a message.
See Python’s logging module for details of message formatting.
This functions normalizes an OR map (polar_channel) taking into account the region of interest (ROI). The ROI is specified by values set to 99. Note that this functionality is implemented to reproduce the experimental approach and has not been tested (not required for Topographica simulations)
alias of Overlay
Return the Parameters of this class as the dictionary {name: parameter_object}
Includes Parameters from this class and its superclasses.
Turns hue representation to polar representation. Hue representation uses values expected in the range 0-1.0
Identifies the real and imaginary contours in a polar map. Returns the real and imaginary contours as 2D vertex arrays together with the pairs of contours known to intersect. The coordinate system used is specified by the supplied bounds.
Contour plotting requires origin=’upper’ for consistency with image coordinate system.
Same as Parameterized.pprint, except that X.classname(Y is replaced with X.classname.instance(Y
Print the default values of all cls’s Parameters.
Print the values of all this object’s Parameters.
The process_element method allows a single element to be operated on given an externally supplied key.
Same as Parameterized.script_repr, except that X.classname(Y is replaced with X.classname.instance(Y
Helper method that returns a list of elements that match the given path pattern of form {type}.{group}.{label}.
The input may be a Layout, an Overlay type or a single Element.
Set the default value of param_name.
Equivalent to setting param_name on the class.
Restore the most recently saved state.
See state_push() for more details.
Save this instance’s state.
For Parameterized instances, this includes the state of dynamically generated values.
Subclasses that maintain short-term state should additionally save and restore that state using state_push() and state_pop().
Generally, this method is used by operations that need to test something without permanently altering the objects’ state.
Print msg merged with args as a verbose message.
See Python’s logging module for details of message formatting.
Print msg merged with args as a warning, unless module variable warnings_as_exceptions is True, then raise an Exception containing the arguments.
See Python’s logging module for details of message formatting.
Useful ElementOperations over Raster elements.
Bases: holoviews.core.operation.ElementOperation
params(max_power=Number, input_ranges=ClassSelector, group=String, name=String)
Given a Image element, compute the power of the 2D Fast Fourier Transform (FFT).
[0m [1;31mParameters changed from their default values are marked in red.[0m [1;36mSoft bound values are marked in cyan.[0m C/V= Constant/Variable, RO/RW = ReadOnly/ReadWrite, AN=Allow None
[1;34mName Value Type Mode [0m
group ‘FFT Power’ String V RW input_ranges {} ClassSelector V RW max_power 1.0 Number V RW
[1;32mParameter docstrings: =====================[0m
[1;34mgroup: The group assigned to the output power spectrum.[0m [1;31minput_ranges: Ranges to be used for input normalization (if applicable) in a[0m [1;31m format appropriate for the Normalization.ranges parameter.[0m [1;31m [0m [1;31m By default, no normalization is applied. If key-wise[0m [1;31m normalization is required, a 2-tuple may be supplied where the[0m [1;31m first component is a Normalization.ranges list and the second[0m [1;31m component is Normalization.keys. [0m [1;34mmax_power: The maximum power value of the output power spectrum.[0m
Print msg merged with args as a debugging statement.
See Python’s logging module for details of message formatting.
Return {parameter_name:parameter.default} for all non-constant Parameters.
Note that a Parameter for which instantiate==True has its default instantiated.
Returns the extents if all the elements of an overlay agree on a consistent extents, otherwise raises an exception.
Returns a label if all the elements of an overlay agree on a consistent label, otherwise returns the default label.
Return a list of name,value pairs for all Parameters of this object.
If onlychanged is True, will only return values that are not equal to the default value.
Print msg merged with args as a message.
See Python’s logging module for details of message formatting.
alias of Curve
Return the Parameters of this class as the dictionary {name: parameter_object}
Includes Parameters from this class and its superclasses.
Same as Parameterized.pprint, except that X.classname(Y is replaced with X.classname.instance(Y
Print the default values of all cls’s Parameters.
Print the values of all this object’s Parameters.
The process_element method allows a single element to be operated on given an externally supplied key.
Same as Parameterized.script_repr, except that X.classname(Y is replaced with X.classname.instance(Y
Helper method that returns a list of elements that match the given path pattern of form {type}.{group}.{label}.
The input may be a Layout, an Overlay type or a single Element.
Set the default value of param_name.
Equivalent to setting param_name on the class.
Restore the most recently saved state.
See state_push() for more details.
Save this instance’s state.
For Parameterized instances, this includes the state of dynamically generated values.
Subclasses that maintain short-term state should additionally save and restore that state using state_push() and state_pop().
Generally, this method is used by operations that need to test something without permanently altering the objects’ state.
Print msg merged with args as a verbose message.
See Python’s logging module for details of message formatting.
Print msg merged with args as a warning, unless module variable warnings_as_exceptions is True, then raise an Exception containing the arguments.
See Python’s logging module for details of message formatting.
Bases: holoviews.core.operation.ElementOperation
params(cols=Integer, rows=Integer, input_ranges=ClassSelector, group=String, name=String)
Given a Image with a single channel, convert it to a VectorField object at a given spatial sampling interval. The values in the Image are assumed to correspond to the vector angle in radians and the value is assumed to be cyclic.
If supplied with an Overlay, the second sheetview in the overlay will be interpreted as the third vector dimension.
[0m [1;31mParameters changed from their default values are marked in red.[0m [1;36mSoft bound values are marked in cyan.[0m C/V= Constant/Variable, RO/RW = ReadOnly/ReadWrite, AN=Allow None
[1;34mName Value Type Mode [0m
cols 10 Integer V RW group ‘Vectors’ String V RW input_ranges {} ClassSelector V RW rows 10 Integer V RW
[1;32mParameter docstrings: =====================[0m
[1;34mcols: The number of columns in the vector field.[0m [1;31mgroup: The group assigned to the output vector field.[0m [1;34minput_ranges: Ranges to be used for input normalization (if applicable) in a[0m [1;34m format appropriate for the Normalization.ranges parameter.[0m [1;34m [0m [1;34m By default, no normalization is applied. If key-wise[0m [1;34m normalization is required, a 2-tuple may be supplied where the[0m [1;34m first component is a Normalization.ranges list and the second[0m [1;34m component is Normalization.keys. [0m [1;31mrows: The number of rows in the vector field.[0m
Print msg merged with args as a debugging statement.
See Python’s logging module for details of message formatting.
Return {parameter_name:parameter.default} for all non-constant Parameters.
Note that a Parameter for which instantiate==True has its default instantiated.
Returns the extents if all the elements of an overlay agree on a consistent extents, otherwise raises an exception.
Returns a label if all the elements of an overlay agree on a consistent label, otherwise returns the default label.
Return a list of name,value pairs for all Parameters of this object.
If onlychanged is True, will only return values that are not equal to the default value.
Print msg merged with args as a message.
See Python’s logging module for details of message formatting.
alias of VectorField
Return the Parameters of this class as the dictionary {name: parameter_object}
Includes Parameters from this class and its superclasses.
Same as Parameterized.pprint, except that X.classname(Y is replaced with X.classname.instance(Y
Print the default values of all cls’s Parameters.
Print the values of all this object’s Parameters.
The process_element method allows a single element to be operated on given an externally supplied key.
Same as Parameterized.script_repr, except that X.classname(Y is replaced with X.classname.instance(Y
Helper method that returns a list of elements that match the given path pattern of form {type}.{group}.{label}.
The input may be a Layout, an Overlay type or a single Element.
Set the default value of param_name.
Equivalent to setting param_name on the class.
Restore the most recently saved state.
See state_push() for more details.
Save this instance’s state.
For Parameterized instances, this includes the state of dynamically generated values.
Subclasses that maintain short-term state should additionally save and restore that state using state_push() and state_pop().
Generally, this method is used by operations that need to test something without permanently altering the objects’ state.
Print msg merged with args as a verbose message.
See Python’s logging module for details of message formatting.
Print msg merged with args as a warning, unless module variable warnings_as_exceptions is True, then raise an Exception containing the arguments.
See Python’s logging module for details of message formatting.
Bases: featuremapper.analysis.spatialtuning.TuningCurveAnalysis
params(K_c=Number, K_s=Number, a=Number, b=Number, max_iterations=Number, feature=String, input_ranges=ClassSelector, group=String, name=String)
Baseclass to implement basic size tuning curve fitting procedures. Subclasses have to implement the _function method with the function that is to be fit to the supplied curve.
[0m [1;31mParameters changed from their default values are marked in red.[0m [1;36mSoft bound values are marked in cyan.[0m C/V= Constant/Variable, RO/RW = ReadOnly/ReadWrite, AN=Allow None
[1;34mName Value Type Mode [0m
K_c 0 Number V RW K_s 0 Number V RW a 0 Number V RW b 0 Number V RW feature ‘Size’ String V RW group ‘Operation’ String V RW input_ranges {} ClassSelector V RW max_iterations 100000 Number V RW
[1;32mParameter docstrings: =====================[0m
[1;34mK_c: Center excitatory kernel strength.[0m [1;31mK_s: Surround inhibitory kernel strength.[0m [1;34ma: Center excitatory space constant.[0m [1;31mb: Surround inhibitory space constant.[0m [1;34mfeature: < No docstring available >[0m [1;31mgroup: The group string used to identify the output of the[0m [1;31m Operation. By default this should match the operation name.[0m [1;34minput_ranges: Ranges to be used for input normalization (if applicable) in a[0m [1;34m format appropriate for the Normalization.ranges parameter.[0m [1;34m [0m [1;34m By default, no normalization is applied. If key-wise[0m [1;34m normalization is required, a 2-tuple may be supplied where the[0m [1;34m first component is a Normalization.ranges list and the second[0m [1;34m component is Normalization.keys. [0m [1;31mmax_iterations: Number of iterations to optimize the fit.[0m
param String feature (allow_None=False, basestring=<type ‘basestring’>, constant=False, default=Size, instantiate=False, pickle_default_value=True, precedence=None, readonly=False)
Print msg merged with args as a debugging statement.
See Python’s logging module for details of message formatting.
Return {parameter_name:parameter.default} for all non-constant Parameters.
Note that a Parameter for which instantiate==True has its default instantiated.
Returns the extents if all the elements of an overlay agree on a consistent extents, otherwise raises an exception.
Returns a label if all the elements of an overlay agree on a consistent label, otherwise returns the default label.
Return a list of name,value pairs for all Parameters of this object.
If onlychanged is True, will only return values that are not equal to the default value.
Print msg merged with args as a message.
See Python’s logging module for details of message formatting.
Return the Parameters of this class as the dictionary {name: parameter_object}
Includes Parameters from this class and its superclasses.
Same as Parameterized.pprint, except that X.classname(Y is replaced with X.classname.instance(Y
Print the default values of all cls’s Parameters.
Print the values of all this object’s Parameters.
The process_element method allows a single element to be operated on given an externally supplied key.
Same as Parameterized.script_repr, except that X.classname(Y is replaced with X.classname.instance(Y
Helper method that returns a list of elements that match the given path pattern of form {type}.{group}.{label}.
The input may be a Layout, an Overlay type or a single Element.
Set the default value of param_name.
Equivalent to setting param_name on the class.
Restore the most recently saved state.
See state_push() for more details.
Save this instance’s state.
For Parameterized instances, this includes the state of dynamically generated values.
Subclasses that maintain short-term state should additionally save and restore that state using state_push() and state_pop().
Generally, this method is used by operations that need to test something without permanently altering the objects’ state.
Print msg merged with args as a verbose message.
See Python’s logging module for details of message formatting.
Print msg merged with args as a warning, unless module variable warnings_as_exceptions is True, then raise an Exception containing the arguments.
See Python’s logging module for details of message formatting.
Bases: featuremapper.analysis.spatialtuning.TuningCurveAnalysis
params(feature=String, input_ranges=ClassSelector, group=String, name=String)
Analyzes frequency-tuning curve to find the preferred frequency, lower and upper cutoff frequencies as well as the Q-Factor and bandwidth.
[0m [1;31mParameters changed from their default values are marked in red.[0m [1;36mSoft bound values are marked in cyan.[0m C/V= Constant/Variable, RO/RW = ReadOnly/ReadWrite, AN=Allow None
[1;34mName Value Type Mode [0m
feature ‘Frequency’ String V RW group ‘Operation’ String V RW input_ranges {} ClassSelector V RW
[1;32mParameter docstrings: =====================[0m
[1;34mfeature: < No docstring available >[0m [1;31mgroup: The group string used to identify the output of the[0m [1;31m Operation. By default this should match the operation name.[0m [1;34minput_ranges: Ranges to be used for input normalization (if applicable) in a[0m [1;34m format appropriate for the Normalization.ranges parameter.[0m [1;34m [0m [1;34m By default, no normalization is applied. If key-wise[0m [1;34m normalization is required, a 2-tuple may be supplied where the[0m [1;34m first component is a Normalization.ranges list and the second[0m [1;34m component is Normalization.keys. [0m
param String feature (allow_None=False, basestring=<type ‘basestring’>, constant=False, default=Frequency, instantiate=False, pickle_default_value=True, precedence=None, readonly=False)
Print msg merged with args as a debugging statement.
See Python’s logging module for details of message formatting.
Return {parameter_name:parameter.default} for all non-constant Parameters.
Note that a Parameter for which instantiate==True has its default instantiated.
Returns the extents if all the elements of an overlay agree on a consistent extents, otherwise raises an exception.
Returns a label if all the elements of an overlay agree on a consistent label, otherwise returns the default label.
Return a list of name,value pairs for all Parameters of this object.
If onlychanged is True, will only return values that are not equal to the default value.
Print msg merged with args as a message.
See Python’s logging module for details of message formatting.
Return the Parameters of this class as the dictionary {name: parameter_object}
Includes Parameters from this class and its superclasses.
Same as Parameterized.pprint, except that X.classname(Y is replaced with X.classname.instance(Y
Print the default values of all cls’s Parameters.
Print the values of all this object’s Parameters.
The process_element method allows a single element to be operated on given an externally supplied key.
Same as Parameterized.script_repr, except that X.classname(Y is replaced with X.classname.instance(Y
Helper method that returns a list of elements that match the given path pattern of form {type}.{group}.{label}.
The input may be a Layout, an Overlay type or a single Element.
Set the default value of param_name.
Equivalent to setting param_name on the class.
Restore the most recently saved state.
See state_push() for more details.
Save this instance’s state.
For Parameterized instances, this includes the state of dynamically generated values.
Subclasses that maintain short-term state should additionally save and restore that state using state_push() and state_pop().
Generally, this method is used by operations that need to test something without permanently altering the objects’ state.
Print msg merged with args as a verbose message.
See Python’s logging module for details of message formatting.
Print msg merged with args as a warning, unless module variable warnings_as_exceptions is True, then raise an Exception containing the arguments.
See Python’s logging module for details of message formatting.
Bases: featuremapper.analysis.spatialtuning.DoGModelFit
params(beta=Number, default_contrast=Number, label=String, K_c=Number, K_s=Number, a=Number, b=Number, max_iterations=Number, feature=String, input_ranges=ClassSelector, group=String, name=String)
Normalization model describing response of V1 neurons to sine grating disk stimuli of varying sizes. Ref: Sceniak et al. (200q1) - page 1875 Fitting parameters: K_c - Center strength
a - Center spatial constant K_s - Surround Strength b - Surround spatial constant beta - Arbitrary exponent
[0m [1;31mParameters changed from their default values are marked in red.[0m [1;36mSoft bound values are marked in cyan.[0m C/V= Constant/Variable, RO/RW = ReadOnly/ReadWrite, AN=Allow None
[1;34mName Value Type Mode [0m
K_c 0 Number V RW K_s 0 Number V RW a 0 Number V RW b 0 Number V RW beta 0 Number V RW default_contrast 1.0 Number V RW feature ‘Size’ String V RW group ‘Operation’ String V RW input_ranges {} ClassSelector V RW label ‘Normalization DoG Model Fit’ String V RW max_iterations 100000 Number V RW
[1;32mParameter docstrings: =====================[0m
[1;34mK_c: Center excitatory kernel strength.[0m [1;31mK_s: Surround inhibitory kernel strength.[0m [1;34ma: Center excitatory space constant.[0m [1;31mb: Surround inhibitory space constant.[0m [1;34mbeta: Baseline response.[0m [1;31mdefault_contrast: Default contrast to use if supplied curve doesn’t provide contrast.[0m [1;34mfeature: < No docstring available >[0m [1;31mgroup: The group string used to identify the output of the[0m [1;31m Operation. By default this should match the operation name.[0m [1;34minput_ranges: Ranges to be used for input normalization (if applicable) in a[0m [1;34m format appropriate for the Normalization.ranges parameter.[0m [1;34m [0m [1;34m By default, no normalization is applied. If key-wise[0m [1;34m normalization is required, a 2-tuple may be supplied where the[0m [1;34m first component is a Normalization.ranges list and the second[0m [1;34m component is Normalization.keys. [0m [1;31mlabel: < No docstring available >[0m [1;34mmax_iterations: Number of iterations to optimize the fit.[0m
param String feature (allow_None=False, basestring=<type ‘basestring’>, constant=False, default=Size, instantiate=False, pickle_default_value=True, precedence=None, readonly=False)
param String label (allow_None=False, basestring=<type ‘basestring’>, constant=False, default=Normalization DoG Model Fit, instantiate=False, pickle_default_value=True, precedence=None, readonly=False)
Print msg merged with args as a debugging statement.
See Python’s logging module for details of message formatting.
Return {parameter_name:parameter.default} for all non-constant Parameters.
Note that a Parameter for which instantiate==True has its default instantiated.
Returns the extents if all the elements of an overlay agree on a consistent extents, otherwise raises an exception.
Returns a label if all the elements of an overlay agree on a consistent label, otherwise returns the default label.
Return a list of name,value pairs for all Parameters of this object.
If onlychanged is True, will only return values that are not equal to the default value.
Print msg merged with args as a message.
See Python’s logging module for details of message formatting.
Return the Parameters of this class as the dictionary {name: parameter_object}
Includes Parameters from this class and its superclasses.
Same as Parameterized.pprint, except that X.classname(Y is replaced with X.classname.instance(Y
Print the default values of all cls’s Parameters.
Print the values of all this object’s Parameters.
The process_element method allows a single element to be operated on given an externally supplied key.
Same as Parameterized.script_repr, except that X.classname(Y is replaced with X.classname.instance(Y
Helper method that returns a list of elements that match the given path pattern of form {type}.{group}.{label}.
The input may be a Layout, an Overlay type or a single Element.
Set the default value of param_name.
Equivalent to setting param_name on the class.
Restore the most recently saved state.
See state_push() for more details.
Save this instance’s state.
For Parameterized instances, this includes the state of dynamically generated values.
Subclasses that maintain short-term state should additionally save and restore that state using state_push() and state_pop().
Generally, this method is used by operations that need to test something without permanently altering the objects’ state.
Print msg merged with args as a verbose message.
See Python’s logging module for details of message formatting.
Print msg merged with args as a warning, unless module variable warnings_as_exceptions is True, then raise an Exception containing the arguments.
See Python’s logging module for details of message formatting.
Bases: featuremapper.analysis.spatialtuning.TuningCurveAnalysis
params(feature=String, input_ranges=ClassSelector, group=String, name=String) [1;32mParameters of ‘OrientationContrastAnalysis’ =========================================== [0m [1;31mParameters changed from their default values are marked in red.[0m [1;36mSoft bound values are marked in cyan.[0m C/V= Constant/Variable, RO/RW = ReadOnly/ReadWrite, AN=Allow None
[1;34mName Value Type Mode [0m
feature ‘OrientationSurround’ String V RW group ‘Operation’ String V RW input_ranges {} ClassSelector V RW
[1;32mParameter docstrings: =====================[0m
[1;34mfeature: < No docstring available >[0m [1;31mgroup: The group string used to identify the output of the[0m [1;31m Operation. By default this should match the operation name.[0m [1;34minput_ranges: Ranges to be used for input normalization (if applicable) in a[0m [1;34m format appropriate for the Normalization.ranges parameter.[0m [1;34m [0m [1;34m By default, no normalization is applied. If key-wise[0m [1;34m normalization is required, a 2-tuple may be supplied where the[0m [1;34m first component is a Normalization.ranges list and the second[0m [1;34m component is Normalization.keys. [0m
param String feature (allow_None=False, basestring=<type ‘basestring’>, constant=False, default=OrientationSurround, instantiate=False, pickle_default_value=True, precedence=None, readonly=False)
Print msg merged with args as a debugging statement.
See Python’s logging module for details of message formatting.
Return {parameter_name:parameter.default} for all non-constant Parameters.
Note that a Parameter for which instantiate==True has its default instantiated.
Returns the extents if all the elements of an overlay agree on a consistent extents, otherwise raises an exception.
Returns a label if all the elements of an overlay agree on a consistent label, otherwise returns the default label.
Return a list of name,value pairs for all Parameters of this object.
If onlychanged is True, will only return values that are not equal to the default value.
Print msg merged with args as a message.
See Python’s logging module for details of message formatting.
Return the Parameters of this class as the dictionary {name: parameter_object}
Includes Parameters from this class and its superclasses.
Same as Parameterized.pprint, except that X.classname(Y is replaced with X.classname.instance(Y
Print the default values of all cls’s Parameters.
Print the values of all this object’s Parameters.
The process_element method allows a single element to be operated on given an externally supplied key.
Same as Parameterized.script_repr, except that X.classname(Y is replaced with X.classname.instance(Y
Helper method that returns a list of elements that match the given path pattern of form {type}.{group}.{label}.
The input may be a Layout, an Overlay type or a single Element.
Set the default value of param_name.
Equivalent to setting param_name on the class.
Restore the most recently saved state.
See state_push() for more details.
Save this instance’s state.
For Parameterized instances, this includes the state of dynamically generated values.
Subclasses that maintain short-term state should additionally save and restore that state using state_push() and state_pop().
Generally, this method is used by operations that need to test something without permanently altering the objects’ state.
Print msg merged with args as a verbose message.
See Python’s logging module for details of message formatting.
Print msg merged with args as a warning, unless module variable warnings_as_exceptions is True, then raise an Exception containing the arguments.
See Python’s logging module for details of message formatting.
Bases: featuremapper.analysis.spatialtuning.DoGModelFit
params(R_0=Number, label=String, K_c=Number, K_s=Number, a=Number, b=Number, max_iterations=Number, feature=String, input_ranges=ClassSelector, group=String, name=String)
DoG model response function to sine grating disk stimulus with varying spatial frequency (f). Ref: Sceniak et al. (2006) - page 3476 Fitting parameters: R_0 - Steady-state response
K_c - Center strength a - Center spatial constant K_s - Surround Strength b - Surround spatial constant
[0m [1;31mParameters changed from their default values are marked in red.[0m [1;36mSoft bound values are marked in cyan.[0m C/V= Constant/Variable, RO/RW = ReadOnly/ReadWrite, AN=Allow None
[1;34mName Value Type Mode [0m
K_c 0 Number V RW K_s 0 Number V RW R_0 0 Number V RW a 0 Number V RW b 0 Number V RW feature ‘Frequency’ String V RW group ‘Operation’ String V RW input_ranges {} ClassSelector V RW label ‘DoG Model Fit’ String V RW max_iterations 100000 Number V RW
[1;32mParameter docstrings: =====================[0m
[1;34mK_c: Center excitatory kernel strength.[0m [1;31mK_s: Surround inhibitory kernel strength.[0m [1;34mR_0: Baseline response.[0m [1;31ma: Center excitatory space constant.[0m [1;34mb: Surround inhibitory space constant.[0m [1;31mfeature: < No docstring available >[0m [1;34mgroup: The group string used to identify the output of the[0m [1;34m Operation. By default this should match the operation name.[0m [1;31minput_ranges: Ranges to be used for input normalization (if applicable) in a[0m [1;31m format appropriate for the Normalization.ranges parameter.[0m [1;31m [0m [1;31m By default, no normalization is applied. If key-wise[0m [1;31m normalization is required, a 2-tuple may be supplied where the[0m [1;31m first component is a Normalization.ranges list and the second[0m [1;31m component is Normalization.keys. [0m [1;34mlabel: < No docstring available >[0m [1;31mmax_iterations: Number of iterations to optimize the fit.[0m
param String feature (allow_None=False, basestring=<type ‘basestring’>, constant=False, default=Frequency, instantiate=False, pickle_default_value=True, precedence=None, readonly=False)
param String label (allow_None=False, basestring=<type ‘basestring’>, constant=False, default=DoG Model Fit, instantiate=False, pickle_default_value=True, precedence=None, readonly=False)
Print msg merged with args as a debugging statement.
See Python’s logging module for details of message formatting.
Return {parameter_name:parameter.default} for all non-constant Parameters.
Note that a Parameter for which instantiate==True has its default instantiated.
Returns the extents if all the elements of an overlay agree on a consistent extents, otherwise raises an exception.
Returns a label if all the elements of an overlay agree on a consistent label, otherwise returns the default label.
Return a list of name,value pairs for all Parameters of this object.
If onlychanged is True, will only return values that are not equal to the default value.
Print msg merged with args as a message.
See Python’s logging module for details of message formatting.
Return the Parameters of this class as the dictionary {name: parameter_object}
Includes Parameters from this class and its superclasses.
Same as Parameterized.pprint, except that X.classname(Y is replaced with X.classname.instance(Y
Print the default values of all cls’s Parameters.
Print the values of all this object’s Parameters.
The process_element method allows a single element to be operated on given an externally supplied key.
Same as Parameterized.script_repr, except that X.classname(Y is replaced with X.classname.instance(Y
Helper method that returns a list of elements that match the given path pattern of form {type}.{group}.{label}.
The input may be a Layout, an Overlay type or a single Element.
Set the default value of param_name.
Equivalent to setting param_name on the class.
Restore the most recently saved state.
See state_push() for more details.
Save this instance’s state.
For Parameterized instances, this includes the state of dynamically generated values.
Subclasses that maintain short-term state should additionally save and restore that state using state_push() and state_pop().
Generally, this method is used by operations that need to test something without permanently altering the objects’ state.
Print msg merged with args as a verbose message.
See Python’s logging module for details of message formatting.
Print msg merged with args as a warning, unless module variable warnings_as_exceptions is True, then raise an Exception containing the arguments.
See Python’s logging module for details of message formatting.
Bases: featuremapper.analysis.spatialtuning.TuningCurveAnalysis
params(feature=String, input_ranges=ClassSelector, group=String, name=String)
Analysis size-tuning curve to find peak facilitation, peak suppression and peak counter-suppression values, which can be used to derive metrics like contrast dependent size tuning shifts and counter suppression indices.
[0m [1;31mParameters changed from their default values are marked in red.[0m [1;36mSoft bound values are marked in cyan.[0m C/V= Constant/Variable, RO/RW = ReadOnly/ReadWrite, AN=Allow None
[1;34mName Value Type Mode [0m
feature ‘Size’ String V RW group ‘Operation’ String V RW input_ranges {} ClassSelector V RW
[1;32mParameter docstrings: =====================[0m
[1;34mfeature: < No docstring available >[0m [1;31mgroup: The group string used to identify the output of the[0m [1;31m Operation. By default this should match the operation name.[0m [1;34minput_ranges: Ranges to be used for input normalization (if applicable) in a[0m [1;34m format appropriate for the Normalization.ranges parameter.[0m [1;34m [0m [1;34m By default, no normalization is applied. If key-wise[0m [1;34m normalization is required, a 2-tuple may be supplied where the[0m [1;34m first component is a Normalization.ranges list and the second[0m [1;34m component is Normalization.keys. [0m
param String feature (allow_None=False, basestring=<type ‘basestring’>, constant=False, default=Size, instantiate=False, pickle_default_value=True, precedence=None, readonly=False)
Print msg merged with args as a debugging statement.
See Python’s logging module for details of message formatting.
Return {parameter_name:parameter.default} for all non-constant Parameters.
Note that a Parameter for which instantiate==True has its default instantiated.
Returns the extents if all the elements of an overlay agree on a consistent extents, otherwise raises an exception.
Returns a label if all the elements of an overlay agree on a consistent label, otherwise returns the default label.
Return a list of name,value pairs for all Parameters of this object.
If onlychanged is True, will only return values that are not equal to the default value.
Print msg merged with args as a message.
See Python’s logging module for details of message formatting.
Return the Parameters of this class as the dictionary {name: parameter_object}
Includes Parameters from this class and its superclasses.
Same as Parameterized.pprint, except that X.classname(Y is replaced with X.classname.instance(Y
Print the default values of all cls’s Parameters.
Print the values of all this object’s Parameters.
The process_element method allows a single element to be operated on given an externally supplied key.
Same as Parameterized.script_repr, except that X.classname(Y is replaced with X.classname.instance(Y
Helper method that returns a list of elements that match the given path pattern of form {type}.{group}.{label}.
The input may be a Layout, an Overlay type or a single Element.
Set the default value of param_name.
Equivalent to setting param_name on the class.
Restore the most recently saved state.
See state_push() for more details.
Save this instance’s state.
For Parameterized instances, this includes the state of dynamically generated values.
Subclasses that maintain short-term state should additionally save and restore that state using state_push() and state_pop().
Generally, this method is used by operations that need to test something without permanently altering the objects’ state.
Print msg merged with args as a verbose message.
See Python’s logging module for details of message formatting.
Print msg merged with args as a warning, unless module variable warnings_as_exceptions is True, then raise an Exception containing the arguments.
See Python’s logging module for details of message formatting.
Bases: holoviews.core.operation.ElementOperation
params(input_ranges=ClassSelector, group=String, name=String)
Takes an overlay of two curves as input and computes the contrast-dependent size tuning shift. Assumes the first curve is low contrast and the second high contrast.
[0m [1;31mParameters changed from their default values are marked in red.[0m [1;36mSoft bound values are marked in cyan.[0m C/V= Constant/Variable, RO/RW = ReadOnly/ReadWrite, AN=Allow None
[1;34mName Value Type Mode [0m
group ‘Operation’ String V RW input_ranges {} ClassSelector V RW
[1;32mParameter docstrings: =====================[0m
[1;34mgroup: The group string used to identify the output of the[0m [1;34m Operation. By default this should match the operation name.[0m [1;31minput_ranges: Ranges to be used for input normalization (if applicable) in a[0m [1;31m format appropriate for the Normalization.ranges parameter.[0m [1;31m [0m [1;31m By default, no normalization is applied. If key-wise[0m [1;31m normalization is required, a 2-tuple may be supplied where the[0m [1;31m first component is a Normalization.ranges list and the second[0m [1;31m component is Normalization.keys. [0m
Print msg merged with args as a debugging statement.
See Python’s logging module for details of message formatting.
Return {parameter_name:parameter.default} for all non-constant Parameters.
Note that a Parameter for which instantiate==True has its default instantiated.
Returns the extents if all the elements of an overlay agree on a consistent extents, otherwise raises an exception.
Returns a label if all the elements of an overlay agree on a consistent label, otherwise returns the default label.
Return a list of name,value pairs for all Parameters of this object.
If onlychanged is True, will only return values that are not equal to the default value.
Print msg merged with args as a message.
See Python’s logging module for details of message formatting.
Return the Parameters of this class as the dictionary {name: parameter_object}
Includes Parameters from this class and its superclasses.
Same as Parameterized.pprint, except that X.classname(Y is replaced with X.classname.instance(Y
Print the default values of all cls’s Parameters.
Print the values of all this object’s Parameters.
The process_element method allows a single element to be operated on given an externally supplied key.
Same as Parameterized.script_repr, except that X.classname(Y is replaced with X.classname.instance(Y
Helper method that returns a list of elements that match the given path pattern of form {type}.{group}.{label}.
The input may be a Layout, an Overlay type or a single Element.
Set the default value of param_name.
Equivalent to setting param_name on the class.
Restore the most recently saved state.
See state_push() for more details.
Save this instance’s state.
For Parameterized instances, this includes the state of dynamically generated values.
Subclasses that maintain short-term state should additionally save and restore that state using state_push() and state_pop().
Generally, this method is used by operations that need to test something without permanently altering the objects’ state.
Print msg merged with args as a verbose message.
See Python’s logging module for details of message formatting.
Print msg merged with args as a warning, unless module variable warnings_as_exceptions is True, then raise an Exception containing the arguments.
See Python’s logging module for details of message formatting.
Bases: featuremapper.analysis.spatialtuning.DoGModelFit
params(R_0=Number, label=String, K_c=Number, K_s=Number, a=Number, b=Number, max_iterations=Number, feature=String, input_ranges=ClassSelector, group=String, name=String)
iDoG model response function to sine grating disk stimulus with optimal spatial frequency and varying disk radius (r). Ref: Sceniak et al. (2006) - page 3476 Fitting parameters: R_0 - Steady-state response
K_c - Center strength a - Center spatial constant K_s - Surround Strength b - Surround spatial constant
[0m [1;31mParameters changed from their default values are marked in red.[0m [1;36mSoft bound values are marked in cyan.[0m C/V= Constant/Variable, RO/RW = ReadOnly/ReadWrite, AN=Allow None
[1;34mName Value Type Mode [0m
K_c 0 Number V RW K_s 0 Number V RW R_0 0 Number V RW a 0 Number V RW b 0 Number V RW feature ‘Size’ String V RW group ‘Operation’ String V RW input_ranges {} ClassSelector V RW label ‘IDoG Model Fit’ String V RW max_iterations 100000 Number V RW
[1;32mParameter docstrings: =====================[0m
[1;34mK_c: Center excitatory kernel strength.[0m [1;31mK_s: Surround inhibitory kernel strength.[0m [1;34mR_0: Baseline response.[0m [1;31ma: Center excitatory space constant.[0m [1;34mb: Surround inhibitory space constant.[0m [1;31mfeature: < No docstring available >[0m [1;34mgroup: The group string used to identify the output of the[0m [1;34m Operation. By default this should match the operation name.[0m [1;31minput_ranges: Ranges to be used for input normalization (if applicable) in a[0m [1;31m format appropriate for the Normalization.ranges parameter.[0m [1;31m [0m [1;31m By default, no normalization is applied. If key-wise[0m [1;31m normalization is required, a 2-tuple may be supplied where the[0m [1;31m first component is a Normalization.ranges list and the second[0m [1;31m component is Normalization.keys. [0m [1;34mlabel: < No docstring available >[0m [1;31mmax_iterations: Number of iterations to optimize the fit.[0m
param String feature (allow_None=False, basestring=<type ‘basestring’>, constant=False, default=Size, instantiate=False, pickle_default_value=True, precedence=None, readonly=False)
param String label (allow_None=False, basestring=<type ‘basestring’>, constant=False, default=IDoG Model Fit, instantiate=False, pickle_default_value=True, precedence=None, readonly=False)
Print msg merged with args as a debugging statement.
See Python’s logging module for details of message formatting.
Return {parameter_name:parameter.default} for all non-constant Parameters.
Note that a Parameter for which instantiate==True has its default instantiated.
Returns the extents if all the elements of an overlay agree on a consistent extents, otherwise raises an exception.
Returns a label if all the elements of an overlay agree on a consistent label, otherwise returns the default label.
Return a list of name,value pairs for all Parameters of this object.
If onlychanged is True, will only return values that are not equal to the default value.
Print msg merged with args as a message.
See Python’s logging module for details of message formatting.
Return the Parameters of this class as the dictionary {name: parameter_object}
Includes Parameters from this class and its superclasses.
Same as Parameterized.pprint, except that X.classname(Y is replaced with X.classname.instance(Y
Print the default values of all cls’s Parameters.
Print the values of all this object’s Parameters.
The process_element method allows a single element to be operated on given an externally supplied key.
Same as Parameterized.script_repr, except that X.classname(Y is replaced with X.classname.instance(Y
Helper method that returns a list of elements that match the given path pattern of form {type}.{group}.{label}.
The input may be a Layout, an Overlay type or a single Element.
Set the default value of param_name.
Equivalent to setting param_name on the class.
Restore the most recently saved state.
See state_push() for more details.
Save this instance’s state.
For Parameterized instances, this includes the state of dynamically generated values.
Subclasses that maintain short-term state should additionally save and restore that state using state_push() and state_pop().
Generally, this method is used by operations that need to test something without permanently altering the objects’ state.
Print msg merged with args as a verbose message.
See Python’s logging module for details of message formatting.
Print msg merged with args as a warning, unless module variable warnings_as_exceptions is True, then raise an Exception containing the arguments.
See Python’s logging module for details of message formatting.
Bases: featuremapper.analysis.spatialtuning.DoGModelFit
params(R_0=Number, label=String, K_c=Number, K_s=Number, a=Number, b=Number, max_iterations=Number, feature=String, input_ranges=ClassSelector, group=String, name=String)
iDoG model response function to sine grating disk stimulus with optimal spatial frequency and varying disk radius (r). Ref: Sceniak et al. (2006) - page 3476 Fitting parameters: R_0 - Steady-state response
K_c - Center strength a - Center spatial constant K_s - Surround Strength b - Surround spatial constant
[0m [1;31mParameters changed from their default values are marked in red.[0m [1;36mSoft bound values are marked in cyan.[0m C/V= Constant/Variable, RO/RW = ReadOnly/ReadWrite, AN=Allow None
[1;34mName Value Type Mode [0m
K_c 0 Number V RW K_s 0 Number V RW R_0 0 Number V RW a 0 Number V RW b 0 Number V RW feature ‘Size’ String V RW group ‘Operation’ String V RW input_ranges {} ClassSelector V RW label ‘IDoG Model Fit’ String V RW max_iterations 100000 Number V RW
[1;32mParameter docstrings: =====================[0m
[1;34mK_c: Center excitatory kernel strength.[0m [1;31mK_s: Surround inhibitory kernel strength.[0m [1;34mR_0: Baseline response.[0m [1;31ma: Center excitatory space constant.[0m [1;34mb: Surround inhibitory space constant.[0m [1;31mfeature: < No docstring available >[0m [1;34mgroup: The group string used to identify the output of the[0m [1;34m Operation. By default this should match the operation name.[0m [1;31minput_ranges: Ranges to be used for input normalization (if applicable) in a[0m [1;31m format appropriate for the Normalization.ranges parameter.[0m [1;31m [0m [1;31m By default, no normalization is applied. If key-wise[0m [1;31m normalization is required, a 2-tuple may be supplied where the[0m [1;31m first component is a Normalization.ranges list and the second[0m [1;31m component is Normalization.keys. [0m [1;34mlabel: < No docstring available >[0m [1;31mmax_iterations: Number of iterations to optimize the fit.[0m
param String feature (allow_None=False, basestring=<type ‘basestring’>, constant=False, default=Size, instantiate=False, pickle_default_value=True, precedence=None, readonly=False)
param String label (allow_None=False, basestring=<type ‘basestring’>, constant=False, default=IDoG Model Fit, instantiate=False, pickle_default_value=True, precedence=None, readonly=False)
Print msg merged with args as a debugging statement.
See Python’s logging module for details of message formatting.
Return {parameter_name:parameter.default} for all non-constant Parameters.
Note that a Parameter for which instantiate==True has its default instantiated.
Returns the extents if all the elements of an overlay agree on a consistent extents, otherwise raises an exception.
Returns a label if all the elements of an overlay agree on a consistent label, otherwise returns the default label.
Return a list of name,value pairs for all Parameters of this object.
If onlychanged is True, will only return values that are not equal to the default value.
Print msg merged with args as a message.
See Python’s logging module for details of message formatting.
Return the Parameters of this class as the dictionary {name: parameter_object}
Includes Parameters from this class and its superclasses.
Same as Parameterized.pprint, except that X.classname(Y is replaced with X.classname.instance(Y
Print the default values of all cls’s Parameters.
Print the values of all this object’s Parameters.
The process_element method allows a single element to be operated on given an externally supplied key.
Same as Parameterized.script_repr, except that X.classname(Y is replaced with X.classname.instance(Y
Helper method that returns a list of elements that match the given path pattern of form {type}.{group}.{label}.
The input may be a Layout, an Overlay type or a single Element.
Set the default value of param_name.
Equivalent to setting param_name on the class.
Restore the most recently saved state.
See state_push() for more details.
Save this instance’s state.
For Parameterized instances, this includes the state of dynamically generated values.
Subclasses that maintain short-term state should additionally save and restore that state using state_push() and state_pop().
Generally, this method is used by operations that need to test something without permanently altering the objects’ state.
Print msg merged with args as a verbose message.
See Python’s logging module for details of message formatting.
Print msg merged with args as a warning, unless module variable warnings_as_exceptions is True, then raise an Exception containing the arguments.
See Python’s logging module for details of message formatting.
Bases: holoviews.core.operation.ElementOperation
params(feature=String, input_ranges=ClassSelector, group=String, name=String) [1;32mParameters of ‘TuningCurveAnalysis’ =================================== [0m [1;31mParameters changed from their default values are marked in red.[0m [1;36mSoft bound values are marked in cyan.[0m C/V= Constant/Variable, RO/RW = ReadOnly/ReadWrite, AN=Allow None
[1;34mName Value Type Mode [0m
feature ‘’ String V RW group ‘Operation’ String V RW input_ranges {} ClassSelector V RW
[1;32mParameter docstrings: =====================[0m
[1;34mfeature: < No docstring available >[0m [1;31mgroup: The group string used to identify the output of the[0m [1;31m Operation. By default this should match the operation name.[0m [1;34minput_ranges: Ranges to be used for input normalization (if applicable) in a[0m [1;34m format appropriate for the Normalization.ranges parameter.[0m [1;34m [0m [1;34m By default, no normalization is applied. If key-wise[0m [1;34m normalization is required, a 2-tuple may be supplied where the[0m [1;34m first component is a Normalization.ranges list and the second[0m [1;34m component is Normalization.keys. [0m
param String feature (allow_None=False, basestring=<type ‘basestring’>, constant=False, default=, instantiate=False, pickle_default_value=True, precedence=None, readonly=False)
Print msg merged with args as a debugging statement.
See Python’s logging module for details of message formatting.
Return {parameter_name:parameter.default} for all non-constant Parameters.
Note that a Parameter for which instantiate==True has its default instantiated.
Returns the extents if all the elements of an overlay agree on a consistent extents, otherwise raises an exception.
Returns a label if all the elements of an overlay agree on a consistent label, otherwise returns the default label.
Return a list of name,value pairs for all Parameters of this object.
If onlychanged is True, will only return values that are not equal to the default value.
Print msg merged with args as a message.
See Python’s logging module for details of message formatting.
Return the Parameters of this class as the dictionary {name: parameter_object}
Includes Parameters from this class and its superclasses.
Same as Parameterized.pprint, except that X.classname(Y is replaced with X.classname.instance(Y
Print the default values of all cls’s Parameters.
Print the values of all this object’s Parameters.
The process_element method allows a single element to be operated on given an externally supplied key.
Same as Parameterized.script_repr, except that X.classname(Y is replaced with X.classname.instance(Y
Helper method that returns a list of elements that match the given path pattern of form {type}.{group}.{label}.
The input may be a Layout, an Overlay type or a single Element.
Set the default value of param_name.
Equivalent to setting param_name on the class.
Restore the most recently saved state.
See state_push() for more details.
Save this instance’s state.
For Parameterized instances, this includes the state of dynamically generated values.
Subclasses that maintain short-term state should additionally save and restore that state using state_push() and state_pop().
Generally, this method is used by operations that need to test something without permanently altering the objects’ state.
Print msg merged with args as a verbose message.
See Python’s logging module for details of message formatting.
Print msg merged with args as a warning, unless module variable warnings_as_exceptions is True, then raise an Exception containing the arguments.
See Python’s logging module for details of message formatting.
Convert spatial frequency to spatial constant.
Bases: featuremapper.analysis.spatialtuning.DoGModelFit
params(R_0=Number, label=String, K_c=Number, K_s=Number, a=Number, b=Number, max_iterations=Number, feature=String, input_ranges=ClassSelector, group=String, name=String)
Basic integrated difference of Gaussian response function for area summation curves. Ref: DeAngelis et al. 1994 Fitting parameters: K_c - Center strength
a - Center spatial constant K_s - Surround Strength b - Surround spatial constant R_0 - Steady-state response
[0m [1;31mParameters changed from their default values are marked in red.[0m [1;36mSoft bound values are marked in cyan.[0m C/V= Constant/Variable, RO/RW = ReadOnly/ReadWrite, AN=Allow None
[1;34mName Value Type Mode [0m
K_c 0 Number V RW K_s 0 Number V RW R_0 0 Number V RW a 0 Number V RW b 0 Number V RW feature ‘Size’ String V RW group ‘Operation’ String V RW input_ranges {} ClassSelector V RW label ‘IDoG Model Fit’ String V RW max_iterations 100000 Number V RW
[1;32mParameter docstrings: =====================[0m
[1;34mK_c: Center excitatory kernel strength.[0m [1;31mK_s: Surround inhibitory kernel strength.[0m [1;34mR_0: Baseline response.[0m [1;31ma: Center excitatory space constant.[0m [1;34mb: Surround inhibitory space constant.[0m [1;31mfeature: < No docstring available >[0m [1;34mgroup: The group string used to identify the output of the[0m [1;34m Operation. By default this should match the operation name.[0m [1;31minput_ranges: Ranges to be used for input normalization (if applicable) in a[0m [1;31m format appropriate for the Normalization.ranges parameter.[0m [1;31m [0m [1;31m By default, no normalization is applied. If key-wise[0m [1;31m normalization is required, a 2-tuple may be supplied where the[0m [1;31m first component is a Normalization.ranges list and the second[0m [1;31m component is Normalization.keys. [0m [1;34mlabel: < No docstring available >[0m [1;31mmax_iterations: Number of iterations to optimize the fit.[0m
param String feature (allow_None=False, basestring=<type ‘basestring’>, constant=False, default=Size, instantiate=False, pickle_default_value=True, precedence=None, readonly=False)
param String label (allow_None=False, basestring=<type ‘basestring’>, constant=False, default=IDoG Model Fit, instantiate=False, pickle_default_value=True, precedence=None, readonly=False)
Print msg merged with args as a debugging statement.
See Python’s logging module for details of message formatting.
Return {parameter_name:parameter.default} for all non-constant Parameters.
Note that a Parameter for which instantiate==True has its default instantiated.
Returns the extents if all the elements of an overlay agree on a consistent extents, otherwise raises an exception.
Returns a label if all the elements of an overlay agree on a consistent label, otherwise returns the default label.
Return a list of name,value pairs for all Parameters of this object.
If onlychanged is True, will only return values that are not equal to the default value.
Print msg merged with args as a message.
See Python’s logging module for details of message formatting.
Return the Parameters of this class as the dictionary {name: parameter_object}
Includes Parameters from this class and its superclasses.
Same as Parameterized.pprint, except that X.classname(Y is replaced with X.classname.instance(Y
Print the default values of all cls’s Parameters.
Print the values of all this object’s Parameters.
The process_element method allows a single element to be operated on given an externally supplied key.
Same as Parameterized.script_repr, except that X.classname(Y is replaced with X.classname.instance(Y
Helper method that returns a list of elements that match the given path pattern of form {type}.{group}.{label}.
The input may be a Layout, an Overlay type or a single Element.
Set the default value of param_name.
Equivalent to setting param_name on the class.
Restore the most recently saved state.
See state_push() for more details.
Save this instance’s state.
For Parameterized instances, this includes the state of dynamically generated values.
Subclasses that maintain short-term state should additionally save and restore that state using state_push() and state_pop().
Generally, this method is used by operations that need to test something without permanently altering the objects’ state.
Print msg merged with args as a verbose message.
See Python’s logging module for details of message formatting.
Print msg merged with args as a warning, unless module variable warnings_as_exceptions is True, then raise an Exception containing the arguments.
See Python’s logging module for details of message formatting.