![]() |
Multivariate Pattern Analysis in Python |
Wrapper around FSLs halfcosbasis to generate HRF kernels
The comprehensive API documentation for this module, including all technical details, is available in the Epydoc-generated API reference for mvpa.misc.fsl.flobs (for developers).
Wrapper around the FSL tool halfcosbasis.
This function uses halfcosbasis to generate samples of HRF kernels. Kernel parameters can be modified analogous to the Make_flobs GUI which is part of FSL.
^ /-\
| / \
1 / \
| / \
| / \
| / \
-----/ \ /----- |
\--/ | undershootamp
| | | | |
| | | | |
pre rise fall undershoot
Parameters ‘pre’, ‘rise’, ‘fall’, ‘undershoot’ and ‘undershootamp’ can be specified as 2-tuples (min-max range for sampling) and single value (setting exact values – no sampling).
If ‘nsec’ is negative, the length of the samples is determined automatically to include the whole kernel function (until it returns to baseline). ‘nsec’ has to be an integer value and is set to the next greater integer value if it is not.
All parameters except for ‘nsamples’ and ‘nbasisfns’ are in seconds.
See also
Full API documentation of makeFlobs() in module mvpa.misc.fsl.flobs.