From df0eed3a5cbaec43a79d0564f4637dc223e7f963 Mon Sep 17 00:00:00 2001 From: Johan Medrano Date: Mon, 6 Oct 2025 14:16:43 -0400 Subject: [PATCH 01/22] [MNT] Update Python version support in README.md --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 59fb8bf0..5ad4dff7 100644 --- a/README.md +++ b/README.md @@ -35,8 +35,8 @@ By default, spm-python uses: - Python 3.6: R2020b - Python 3.7: R2021b - Python 3.8: R2023a -- Python 3.9-3.12: R2025a -- Python 3.13: Unsupported +- Python 3.9: R2025a +- Python 3.10 - 3.13: R2025b ### Option 1 - Install the MATLAB runtime on first use @@ -78,7 +78,7 @@ By default, spm-python uses: ``` 2. Run the installer ```shell - install_matlab_runtime --version R2025a --yes + install_matlab_runtime --version R2025b --yes ``` - **Advantages** From 3c33c1017c32decaab8bb691e14a056837664d19 Mon Sep 17 00:00:00 2001 From: Johan Medrano Date: Wed, 4 Nov 2026 09:41:25 -0500 Subject: [PATCH 02/22] [MNT] Bump version and escape docstring --- .mpython/templates/docstring.py | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.mpython/templates/docstring.py b/.mpython/templates/docstring.py index d7de8f43..137b85bb 100644 --- a/.mpython/templates/docstring.py +++ b/.mpython/templates/docstring.py @@ -1,7 +1,10 @@ -""" +r""" -[Matlab code]( https://github.com/spm/spm/blob/main/ ) +Generated from SPM26.10.01. + +[Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/ ) -Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL +Copyright (C) 1995-2026 Functional Imaging Laboratory, +Department of Imaging Neuroscience, UCL """ From da89fc55a00ceade263dd25a7dd7eb86858b3375 Mon Sep 17 00:00:00 2001 From: Johan Medrano Date: Wed, 4 Nov 2026 09:41:56 -0500 Subject: [PATCH 03/22] [MNT] Generate wrapper with SPM26.10.01 --- spm/__compat/loadxml.py | 9 +- spm/__compat/savexml.py | 9 +- spm/__compat/spm_add.py | 9 +- spm/__compat/spm_adjmean_fmri_ui.py | 9 +- spm/__compat/spm_adjmean_ui.py | 9 +- spm/__compat/spm_atranspa.py | 9 +- spm/__compat/spm_chi2_plot.py | 9 +- spm/__compat/spm_digamma.py | 9 +- spm/__compat/spm_dirichlet.py | 9 +- spm/__compat/spm_eeval.py | 9 +- spm/__compat/spm_fMRI_design_show.py | 9 +- spm/__compat/spm_imcalc_ui.py | 9 +- spm/__compat/spm_load_float.py | 9 +- spm/__compat/spm_matlab_version_chk.py | 9 +- spm/__compat/spm_mean.py | 9 +- spm/__compat/spm_mean_ui.py | 9 +- spm/__compat/spm_read_hdr.py | 9 +- spm/__compat/spm_resss.py | 9 +- spm/__compat/spm_spm_ui.py | 9 +- spm/__compat/spm_tbx_config2cfg.py | 9 +- spm/__config/cfg_mlbatch_appcfg.py | 9 +- spm/__config/spm_cfg.py | 9 +- spm/__config/spm_cfg_bbox.py | 9 +- spm/__config/spm_cfg_bms_map.py | 9 +- spm/__config/spm_cfg_cat.py | 9 +- spm/__config/spm_cfg_cdir.py | 9 +- spm/__config/spm_cfg_checkreg.py | 9 +- spm/__config/spm_cfg_con.py | 9 +- spm/__config/spm_cfg_coreg.py | 9 +- spm/__config/spm_cfg_dcm_bms.py | 9 +- spm/__config/spm_cfg_dcm_est.py | 9 +- spm/__config/spm_cfg_dcm_fmri.py | 9 +- spm/__config/spm_cfg_dcm_meeg.py | 9 +- spm/__config/spm_cfg_dcm_peb.py | 9 +- spm/__config/spm_cfg_deface.py | 9 +- spm/__config/spm_cfg_deformations.py | 9 +- spm/__config/spm_cfg_dicom.py | 9 +- spm/__config/spm_cfg_disp.py | 9 +- spm/__config/spm_cfg_ecat.py | 9 +- spm/__config/spm_cfg_eeg.py | 9 +- spm/__config/spm_cfg_eeg_artefact.py | 9 +- spm/__config/spm_cfg_eeg_average.py | 9 +- spm/__config/spm_cfg_eeg_avgfreq.py | 9 +- spm/__config/spm_cfg_eeg_avgtime.py | 9 +- spm/__config/spm_cfg_eeg_bc.py | 9 +- spm/__config/spm_cfg_eeg_cfc.py | 9 +- spm/__config/spm_cfg_eeg_channel_selector.py | 9 +- spm/__config/spm_cfg_eeg_collapse_timefreq.py | 9 +- spm/__config/spm_cfg_eeg_combineplanar.py | 9 +- spm/__config/spm_cfg_eeg_contrast.py | 9 +- spm/__config/spm_cfg_eeg_convert.py | 9 +- spm/__config/spm_cfg_eeg_convert2images.py | 9 +- spm/__config/spm_cfg_eeg_copy.py | 9 +- .../spm_cfg_eeg_correct_sensor_data.py | 9 +- spm/__config/spm_cfg_eeg_crop.py | 9 +- spm/__config/spm_cfg_eeg_delete.py | 9 +- spm/__config/spm_cfg_eeg_dipfit.py | 9 +- spm/__config/spm_cfg_eeg_downsample.py | 9 +- spm/__config/spm_cfg_eeg_epochs.py | 9 +- spm/__config/spm_cfg_eeg_filter.py | 9 +- spm/__config/spm_cfg_eeg_firstlevel.py | 9 +- spm/__config/spm_cfg_eeg_fuse.py | 9 +- spm/__config/spm_cfg_eeg_grandmean.py | 9 +- spm/__config/spm_cfg_eeg_inv_coregshift.py | 9 +- spm/__config/spm_cfg_eeg_inv_extract.py | 9 +- spm/__config/spm_cfg_eeg_inv_headmodel.py | 9 +- .../spm_cfg_eeg_inv_headmodelhelmet.py | 9 +- spm/__config/spm_cfg_eeg_inv_invert.py | 9 +- spm/__config/spm_cfg_eeg_inv_invertiter.py | 9 +- spm/__config/spm_cfg_eeg_inv_mix.py | 9 +- spm/__config/spm_cfg_eeg_inv_optimize.py | 9 +- spm/__config/spm_cfg_eeg_inv_patchdef.py | 9 +- spm/__config/spm_cfg_eeg_inv_post.py | 9 +- spm/__config/spm_cfg_eeg_inv_prepro.py | 9 +- spm/__config/spm_cfg_eeg_inv_priors.py | 9 +- spm/__config/spm_cfg_eeg_inv_results.py | 9 +- spm/__config/spm_cfg_eeg_inv_sensorshift.py | 9 +- spm/__config/spm_cfg_eeg_inv_simulate.py | 9 +- spm/__config/spm_cfg_eeg_merge.py | 9 +- spm/__config/spm_cfg_eeg_momentfit.py | 9 +- spm/__config/spm_cfg_eeg_montage.py | 9 +- spm/__config/spm_cfg_eeg_opmsetup.py | 9 +- spm/__config/spm_cfg_eeg_prepare.py | 9 +- spm/__config/spm_cfg_eeg_reduce.py | 9 +- spm/__config/spm_cfg_eeg_regressors.py | 9 +- spm/__config/spm_cfg_eeg_remove_bad_trials.py | 9 +- spm/__config/spm_cfg_eeg_review.py | 9 +- spm/__config/spm_cfg_eeg_shp_distort.py | 9 +- spm/__config/spm_cfg_eeg_shp_gainmat.py | 9 +- spm/__config/spm_cfg_eeg_spatial_confounds.py | 9 +- spm/__config/spm_cfg_eeg_tf.py | 9 +- spm/__config/spm_cfg_eeg_tf_rescale.py | 9 +- spm/__config/spm_cfg_exp_frames.py | 9 +- spm/__config/spm_cfg_factorial_design.py | 9 +- spm/__config/spm_cfg_fmri_data.py | 9 +- spm/__config/spm_cfg_fmri_design.py | 9 +- spm/__config/spm_cfg_fmri_est.py | 9 +- spm/__config/spm_cfg_fmri_spec.py | 9 +- spm/__config/spm_cfg_imcalc.py | 9 +- spm/__config/spm_cfg_md.py | 9 +- spm/__config/spm_cfg_mfx.py | 9 +- spm/__config/spm_cfg_minc.py | 9 +- spm/__config/spm_cfg_model_review.py | 9 +- spm/__config/spm_cfg_norm.py | 9 +- spm/__config/spm_cfg_opm_create.py | 9 +- spm/__config/spm_cfg_opm_epoch_trigger.py | 9 +- spm/__config/spm_cfg_opm_read_lvm.py | 9 +- spm/__config/spm_cfg_opm_synth_gradiometer.py | 9 +- spm/__config/spm_cfg_parrec.py | 9 +- spm/__config/spm_cfg_ppi.py | 9 +- spm/__config/spm_cfg_preproc8.py | 9 +- spm/__config/spm_cfg_print.py | 9 +- spm/__config/spm_cfg_realign.py | 9 +- spm/__config/spm_cfg_realignunwarp.py | 9 +- spm/__config/spm_cfg_render.py | 9 +- spm/__config/spm_cfg_reorient.py | 9 +- spm/__config/spm_cfg_results.py | 9 +- spm/__config/spm_cfg_sendmail.py | 9 +- spm/__config/spm_cfg_setlevel.py | 9 +- spm/__config/spm_cfg_smooth.py | 9 +- spm/__config/spm_cfg_split.py | 9 +- spm/__config/spm_cfg_st.py | 9 +- spm/__config/spm_cfg_static_tools.py | 9 +- spm/__config/spm_cfg_tissue_volumes.py | 9 +- spm/__config/spm_cfg_voi.py | 9 +- spm/__config/spm_make_standalone.py | 9 +- spm/__config/spm_markdown.py | 9 +- spm/__config/spm_rewrite_job.py | 9 +- spm/__config/spm_run_bms_map.py | 9 +- spm/__config/spm_run_bms_vis.py | 9 +- spm/__config/spm_run_con.py | 9 +- spm/__config/spm_run_coreg.py | 9 +- spm/__config/spm_run_dcm_bms.py | 9 +- spm/__config/spm_run_dcm_bms_vis.py | 9 +- spm/__config/spm_run_dicom.py | 9 +- spm/__config/spm_run_factorial_design.py | 9 +- spm/__config/spm_run_fmri_data.py | 9 +- spm/__config/spm_run_fmri_est.py | 9 +- spm/__config/spm_run_fmri_spec.py | 9 +- spm/__config/spm_run_norm.py | 9 +- spm/__config/spm_run_realign.py | 9 +- spm/__config/spm_run_realignunwarp.py | 9 +- spm/__config/spm_run_reorient.py | 9 +- spm/__config/spm_run_results.py | 9 +- spm/__config/spm_run_setlevel.py | 9 +- spm/__config/spm_run_smooth.py | 9 +- spm/__config/spm_run_st.py | 9 +- spm/__config/spm_run_tissue_volumes.py | 9 +- spm/__config/spm_run_voi.py | 9 +- spm/__external/__bemcp/__init__.py | 12 +- spm/__external/__bemcp/mesh_icosahedron.py | 23 + spm/__external/__bemcp/mesh_octahedron.py | 22 + spm/__external/__bemcp/mesh_sphere.py | 34 + spm/__external/__bemcp/mesh_tetrahedron.py | 22 + spm/__external/__bemcp/refine.py | 43 ++ spm/__external/__ctf/addCTFtrial.py | 9 +- spm/__external/__ctf/getCTFdata.py | 9 +- spm/__external/__ctf/readCPersist.py | 9 +- spm/__external/__ctf/readCTFMRI.py | 9 +- spm/__external/__ctf/readCTFds.py | 9 +- spm/__external/__ctf/readCTFhdm.py | 9 +- spm/__external/__ctf/setCTFDataBalance.py | 9 +- spm/__external/__ctf/writeCTFMRI.py | 9 +- spm/__external/__ctf/writeCTFds.py | 9 +- spm/__external/__ctf/writeCTFhdm.py | 9 +- spm/__external/__ctf/writeMarkerFile.py | 9 +- spm/__external/__ctf/writeRes4.py | 9 +- spm/__external/__eeprobe/__init__.py | 4 - spm/__external/__eeprobe/read_eep_avr.py | 9 +- spm/__external/__eeprobe/read_eep_cnt.py | 10 +- spm/__external/__eeprobe/read_eep_rej.py | 9 +- spm/__external/__eeprobe/write_eep_avr.py | 9 +- spm/__external/__eeprobe/write_eep_cnt.py | 9 +- .../_blockwise_conditionalgranger.py | 9 +- .../__fieldtrip/__connectivity/_coeffs2iis.py | 9 +- .../__connectivity/_ctranspose2x2.py | 9 +- .../__connectivity/_ctranspose3x3.py | 9 +- .../__fieldtrip/__connectivity/_defaultId.py | 9 +- .../__fieldtrip/__connectivity/_det2x2.py | 9 +- .../__fieldtrip/__connectivity/_det3x3.py | 9 +- .../__fieldtrip/__connectivity/_fixname.py | 9 +- .../__fieldtrip/__connectivity/_ft_debug.py | 9 +- .../__fieldtrip/__connectivity/_ft_error.py | 9 +- .../__fieldtrip/__connectivity/_ft_getopt.py | 11 +- .../__fieldtrip/__connectivity/_ft_info.py | 9 +- .../__fieldtrip/__connectivity/_ft_notice.py | 9 +- .../__connectivity/_ft_notification.py | 9 +- .../__connectivity/_ft_platform_supports.py | 9 +- .../__connectivity/_ft_progress.py | 9 +- .../__fieldtrip/__connectivity/_ft_version.py | 9 +- .../__fieldtrip/__connectivity/_ft_warning.py | 9 +- .../__connectivity/_getsubfield.py | 9 +- .../__fieldtrip/__connectivity/_inv2x2.py | 9 +- .../__fieldtrip/__connectivity/_inv3x3.py | 9 +- .../__fieldtrip/__connectivity/_issubfield.py | 9 +- .../__fieldtrip/__connectivity/_istrue.py | 9 +- .../__fieldtrip/__connectivity/_keyval.py | 9 +- .../__fieldtrip/__connectivity/_mtimes2x2.py | 9 +- .../__fieldtrip/__connectivity/_mtimes3x3.py | 9 +- .../__connectivity/_multivariate_decomp.py | 9 +- .../__fieldtrip/__connectivity/_rmsubfield.py | 9 +- .../__connectivity/_sandwich2x2.py | 9 +- .../__connectivity/_sandwich3x3.py | 9 +- .../__connectivity/_setsubfield.py | 9 +- .../__connectivity/_sfactorization_wilson.py | 9 +- .../_sfactorization_wilson2x2.py | 9 +- .../_sfactorization_wilson3x3.py | 9 +- .../__connectivity/_standardise.py | 9 +- .../__connectivity/_transfer2coeffs.py | 9 +- .../_triplet_conditionalgranger.py | 9 +- .../__connectivity/ft_connectivity_cancorr.py | 9 +- .../__connectivity/ft_connectivity_corr.py | 9 +- .../ft_connectivity_csd2transfer.py | 9 +- .../__connectivity/ft_connectivity_dtf.py | 9 +- .../__connectivity/ft_connectivity_granger.py | 9 +- .../__connectivity/ft_connectivity_mim.py | 9 +- .../ft_connectivity_mutualinformation.py | 9 +- .../__connectivity/ft_connectivity_pdc.py | 9 +- .../__connectivity/ft_connectivity_plm.py | 9 +- .../ft_connectivity_powcorr_ortho.py | 9 +- .../__connectivity/ft_connectivity_ppc.py | 9 +- .../__connectivity/ft_connectivity_psi.py | 14 +- .../__connectivity/ft_connectivity_wpli.py | 9 +- .../__external/__bvrf_reader/__init__.py | 8 + .../__external/__bvrf_reader/eeg_loadbvrf.py | 79 +++ .../__external/__bvrf_reader/loadbvrf.py | 36 + .../__external/__fileexchange/CalcMD5.py | 75 ++ .../__external/__fileexchange/DataHash.py | 113 +++ .../__external/__fileexchange/__init__.py | 24 +- .../__external/__fileexchange/arrow.py | 76 ++ .../__external/__fileexchange/base64decode.py | 25 + .../__external/__fileexchange/base64encode.py | 25 + .../__external/__fileexchange/icp.py | 113 +++ .../__external/__fileexchange/keep.py | 28 + .../__external/__fileexchange/pan_tompkin.py | 18 + .../__external/__fileexchange/stlwrite.py | 74 ++ .../__external/__fileexchange/subtightplot.py | 37 + .../__external/__fileexchange/uimage.py | 9 +- .../__external/__fileexchange/uimagesc.py | 9 +- .../__external/__fileexchange/vtkwrite.py | 77 +++ .../__external/__images/rgb2hsv.py | 9 +- .../__fieldtrip/__external/__init__.py | 44 +- .../__signal/__dpss_hack/__init__.py | 8 + .../__external/__signal/__dpss_hack/dpss.py | 18 + .../__signal/__dpss_hack/precompute_dpss.py | 17 + .../__external/__signal/__init__.py | 6 + .../__fieldtrip/__external/__signal/boxcar.py | 9 +- .../__external/__signal/flattopwin.py | 9 +- .../__external/__signal/hanning.py | 9 +- .../__external/__signal/hilbert.py | 9 +- .../__external/__stats/__init__.py | 10 +- .../__external/__stats/_common_size.py | 18 + .../__external/__stats/_iscomplex.py | 9 +- .../__external/__stats/_size_equal.py | 9 +- .../__fieldtrip/__external/__stats/binocdf.py | 9 +- .../__fieldtrip/__external/__stats/binopdf.py | 9 +- .../__external/__stats/knnsearch.py | 53 ++ .../__external/__stats/kurtosis.py | 19 + .../__fieldtrip/__external/__stats/mvnrnd.py | 9 +- .../__fieldtrip/__external/__stats/nanvar.py | 9 +- .../__fieldtrip/__external/__stats/pdist2.py | 22 + .../__fieldtrip/__external/__stats/range_.py | 9 +- .../__external/__stats/skewness.py | 19 + .../__fieldtrip/__external/__stats/tcdf.py | 9 +- .../__fieldtrip/__external/__stats/tinv.py | 9 +- .../__fieldtrip/__fileio/_ReadHeader.py | 9 +- .../__fieldtrip/__fileio/_add_mex_source.py | 9 +- .../__fieldtrip/__fileio/_ama2headmodel.py | 9 +- .../__fieldtrip/__fileio/_appendstruct.py | 9 +- .../__fieldtrip/__fileio/_avw_hdr_make.py | 9 +- .../__fieldtrip/__fileio/_avw_hdr_read.py | 9 +- .../__fieldtrip/__fileio/_avw_img_read.py | 9 +- .../__fieldtrip/__fileio/_avw_img_write.py | 9 +- .../__fieldtrip/__fileio/_bids_datafile.py | 9 +- .../__fieldtrip/__fileio/_bids_sidecar.py | 9 +- .../__fieldtrip/__fileio/_bids_tsv.py | 11 +- .../__fieldtrip/__fileio/_bigendian.py | 9 +- .../__fieldtrip/__fileio/_biopac_acq.py | 11 +- .../__fileio/_biosig2fieldtripevent.py | 9 +- .../__fieldtrip/__fileio/_bnd2tri.py | 35 +- .../__fieldtrip/__fileio/_bti2grad.py | 9 +- .../__fieldtrip/__fileio/_bucn_txt.py | 11 +- .../__fieldtrip/__fileio/_buffer_wait_dat.py | 9 +- .../__fieldtrip/__fileio/_channelposition.py | 9 +- .../__fieldtrip/__fileio/_compile_mex_list.py | 9 +- .../__fieldtrip/__fileio/_cornerpoints.py | 9 +- .../__fieldtrip/__fileio/_cstructdecode.py | 9 +- .../__fieldtrip/__fileio/_ctf2grad.py | 9 +- .../__fieldtrip/__fileio/_dataset2files.py | 9 +- .../__fieldtrip/__fileio/_db_close.py | 11 +- .../__fieldtrip/__fileio/_db_insert.py | 11 +- .../__fieldtrip/__fileio/_db_insert_blob.py | 11 +- .../__fieldtrip/__fileio/_db_open.py | 11 +- .../__fieldtrip/__fileio/_db_select.py | 11 +- .../__fieldtrip/__fileio/_db_select_blob.py | 11 +- .../__fieldtrip/__fileio/_decode_fif.py | 9 +- .../__fieldtrip/__fileio/_decode_nifti1.py | 9 +- .../__fieldtrip/__fileio/_decode_res4.py | 9 +- .../__fieldtrip/__fileio/_defaultId.py | 9 +- .../__fieldtrip/__fileio/_dicom2transform.py | 9 +- .../__fieldtrip/__fileio/_dimlength.py | 9 +- .../__fieldtrip/__fileio/_eegsynth_tsv.py | 11 +- .../__fieldtrip/__fileio/_elproj.py | 19 +- .../__fieldtrip/__fileio/_encode_nifti1.py | 9 +- .../__fieldtrip/__fileio/_events_tsv.py | 11 +- .../__fieldtrip/__fileio/_fetch_url.py | 9 +- .../__fieldtrip/__fileio/_fif2grad.py | 9 +- .../__fieldtrip/__fileio/_fiff_open_le.py | 9 +- .../__fileio/_filetype_check_extension.py | 9 +- .../__fileio/_filetype_check_header.py | 9 +- .../__fileio/_filetype_check_uri.py | 9 +- .../__fileio/_find_outermost_boundary.py | 9 +- .../__fieldtrip/__fileio/_fixbalance.py | 23 + .../__fieldtrip/__fileio/_fixcoordsys.py | 9 +- .../__fieldtrip/__fileio/_fixdimord.py | 9 +- .../__fieldtrip/__fileio/_fixinside.py | 9 +- .../__fieldtrip/__fileio/_fixname.py | 9 +- .../__fieldtrip/__fileio/_fixoldorg.py | 9 +- .../__fieldtrip/__fileio/_fixpos.py | 9 +- .../__fieldtrip/__fileio/_fixsampleinfo.py | 9 +- .../__fieldtrip/__fileio/_fopen_or_error.py | 9 +- .../__fieldtrip/__fileio/_ft_apply_montage.py | 11 +- .../__fieldtrip/__fileio/_ft_checkdata.py | 9 +- .../__fieldtrip/__fileio/_ft_convert_units.py | 9 +- .../__fieldtrip/__fileio/_ft_datatype.py | 9 +- .../__fieldtrip/__fileio/_ft_datatype_comp.py | 9 +- .../__fieldtrip/__fileio/_ft_datatype_dip.py | 9 +- .../__fieldtrip/__fileio/_ft_datatype_freq.py | 9 +- .../__fileio/_ft_datatype_headmodel.py | 9 +- .../__fieldtrip/__fileio/_ft_datatype_mvar.py | 9 +- .../__fieldtrip/__fileio/_ft_datatype_raw.py | 9 +- .../__fieldtrip/__fileio/_ft_datatype_sens.py | 13 +- .../__fileio/_ft_datatype_source.py | 9 +- .../__fileio/_ft_datatype_spike.py | 9 +- .../__fileio/_ft_datatype_timelock.py | 9 +- .../__fieldtrip/__fileio/_ft_debug.py | 9 +- .../__fileio/_ft_determine_units.py | 9 +- .../__fieldtrip/__fileio/_ft_error.py | 9 +- .../__fileio/_ft_estimate_units.py | 10 +- .../__fieldtrip/__fileio/_ft_fetch_data.py | 9 +- .../__fieldtrip/__fileio/_ft_fetch_header.py | 9 +- .../__fieldtrip/__fileio/_ft_findcfg.py | 9 +- .../__fieldtrip/__fileio/_ft_getopt.py | 11 +- .../__fieldtrip/__fileio/_ft_hastoolbox.py | 9 +- .../__fileio/_ft_headcoordinates.py | 13 +- .../__fieldtrip/__fileio/_ft_headmodeltype.py | 9 +- .../__fieldtrip/__fileio/_ft_info.py | 9 +- .../__fieldtrip/__fileio/_ft_notice.py | 9 +- .../__fieldtrip/__fileio/_ft_notification.py | 9 +- .../__fileio/_ft_platform_supports.py | 9 +- .../__fieldtrip/__fileio/_ft_progress.py | 9 +- .../__fieldtrip/__fileio/_ft_scalingfactor.py | 9 +- .../__fieldtrip/__fileio/_ft_senslabel.py | 9 +- .../__fieldtrip/__fileio/_ft_senstype.py | 12 +- .../__fieldtrip/__fileio/_ft_setopt.py | 25 + .../__fieldtrip/__fileio/_ft_struct2char.py | 23 + .../__fieldtrip/__fileio/_ft_version.py | 9 +- .../__fieldtrip/__fileio/_ft_warning.py | 9 +- .../__fieldtrip/__fileio/_ft_warp_apply.py | 47 +- .../__fieldtrip/__fileio/_getdatfield.py | 9 +- .../__fieldtrip/__fileio/_getdimord.py | 9 +- .../__fieldtrip/__fileio/_getdimsiz.py | 9 +- .../__fieldtrip/__fileio/_getorthoviewpos.py | 9 +- .../__fieldtrip/__fileio/_getsubfield.py | 9 +- .../__fieldtrip/__fileio/_hasricoh.py | 9 +- .../__fieldtrip/__fileio/_hasyokogawa.py | 9 +- .../__fieldtrip/__fileio/_ignorefields.py | 9 +- .../__fieldtrip/__fileio/_inflate_file.py | 9 +- .../__fieldtrip/__fileio/_inifile.py | 9 +- .../__fieldtrip/__fileio/_isdir_or_mkdir.py | 9 +- .../__fieldtrip/__fileio/_isricohmegfile.py | 9 +- .../__fieldtrip/__fileio/_issubfield.py | 9 +- .../__fieldtrip/__fileio/_istrue.py | 9 +- .../__fieldtrip/__fileio/_itab2grad.py | 9 +- .../__fieldtrip/__fileio/_jaga16_packet.py | 9 +- .../__fieldtrip/__fileio/_keyval.py | 9 +- .../__fieldtrip/__fileio/_labelcmb2indx.py | 9 +- .../__fieldtrip/__fileio/_liberty_csv.py | 11 +- .../__fieldtrip/__fileio/_littleendian.py | 9 +- .../__fileio/_load_curry_data_file.py | 9 +- .../__fieldtrip/__fileio/_loadama.py | 9 +- .../__fieldtrip/__fileio/_loadvar.py | 9 +- .../__fieldtrip/__fileio/_makessense.py | 9 +- .../__fieldtrip/__fileio/_mat2ades.py | 9 +- .../__fieldtrip/__fileio/_match_str.py | 9 +- .../__fieldtrip/__fileio/_maus_textgrid.py | 11 +- .../__fieldtrip/__fileio/_mne2grad.py | 9 +- .../__fieldtrip/__fileio/_motion_c3d.py | 11 +- .../__fieldtrip/__fileio/_mxDeserialize.py | 9 +- .../__fieldtrip/__fileio/_mxSerialize.py | 9 +- .../__fieldtrip/__fileio/_ndgrid.py | 9 +- .../__fieldtrip/__fileio/_netmeg2grad.py | 9 +- .../__fieldtrip/__fileio/_neuralynx_crc.py | 9 +- .../__fileio/_neuralynx_getheader.py | 9 +- .../__fileio/_neuralynx_timestamp.py | 9 +- .../__fileio/_np_read_splitted_fileinfo.py | 9 +- .../__fieldtrip/__fileio/_np_readdata.py | 9 +- .../__fieldtrip/__fileio/_np_readfileinfo.py | 9 +- .../__fieldtrip/__fileio/_np_readmarker.py | 9 +- .../__fieldtrip/__fileio/_openbci_txt.py | 11 +- .../__fileio/_openpose_keypoints.py | 11 +- .../__fieldtrip/__fileio/_opensignals_txt.py | 11 +- .../__fieldtrip/__fileio/_openvibe_mat.py | 11 +- .../__fieldtrip/__fileio/_opm_fil.py | 11 +- .../__fileio/_parameterselection.py | 9 +- .../__fieldtrip/__fileio/_physionet_hea.py | 32 + .../__fieldtrip/__fileio/_plx_orig_header.py | 9 +- .../__fieldtrip/__fileio/_pos2dim.py | 9 +- .../__fieldtrip/__fileio/_pos2dim3d.py | 9 +- .../__fieldtrip/__fileio/_pos2transform.py | 9 +- .../__fieldtrip/__fileio/_printor.py | 9 +- .../__fieldtrip/__fileio/_qualisys_tsv.py | 11 +- .../__fieldtrip/__fileio/_quaternion.py | 9 +- .../__fieldtrip/__fileio/_quspin_lvm.py | 26 + .../__fieldtrip/__fileio/_read_4d_hdr.py | 9 +- .../__fieldtrip/__fileio/_read_ah5_data.py | 9 +- .../__fieldtrip/__fileio/_read_ah5_markers.py | 9 +- .../__fieldtrip/__fileio/_read_ahdf5_hdr.py | 9 +- .../__fieldtrip/__fileio/_read_asa_bnd.py | 9 +- .../__fieldtrip/__fileio/_read_asa_dip.py | 9 +- .../__fieldtrip/__fileio/_read_asa_elc.py | 9 +- .../__fieldtrip/__fileio/_read_asa_mri.py | 9 +- .../__fieldtrip/__fileio/_read_asa_msr.py | 9 +- .../__fieldtrip/__fileio/_read_asa_vol.py | 9 +- .../__fieldtrip/__fileio/_read_bdf.py | 38 + .../__fieldtrip/__fileio/_read_besa_avr.py | 9 +- .../__fieldtrip/__fileio/_read_besa_besa.py | 9 +- .../__fieldtrip/__fileio/_read_besa_sfp.py | 9 +- .../__fieldtrip/__fileio/_read_besa_swf.py | 9 +- .../__fieldtrip/__fileio/_read_bham.py | 9 +- .../__fieldtrip/__fileio/_read_biff.py | 9 +- .../__fileio/_read_bioimage_mgrid.py | 9 +- .../__fieldtrip/__fileio/_read_biosemi_bdf.py | 11 +- .../__fieldtrip/__fileio/_read_biosig_data.py | 9 +- .../__fileio/_read_biosig_header.py | 9 +- .../__fileio/_read_brainstorm_data.py | 9 +- .../__fileio/_read_brainstorm_event.py | 9 +- .../__fileio/_read_brainstorm_header.py | 9 +- .../__fileio/_read_brainvision_eeg.py | 9 +- .../__fileio/_read_brainvision_vhdr.py | 9 +- .../__fileio/_read_brainvision_vmrk.py | 9 +- .../__fieldtrip/__fileio/_read_bti_ascii.py | 9 +- .../__fieldtrip/__fileio/_read_bti_hs.py | 9 +- .../__fieldtrip/__fileio/_read_bti_m4d.py | 9 +- .../__fileio/_read_bucn_nirsdata.py | 9 +- .../__fileio/_read_bucn_nirsevent.py | 9 +- .../__fileio/_read_bucn_nirshdr.py | 9 +- .../__fileio/_read_buffer_offline_data.py | 9 +- .../__fileio/_read_buffer_offline_events.py | 9 +- .../__fileio/_read_buffer_offline_header.py | 9 +- .../__fieldtrip/__fileio/_read_bv_srf.py | 9 +- .../__fieldtrip/__fileio/_read_caret_spec.py | 9 +- .../__fieldtrip/__fileio/_read_ced_son.py | 9 +- .../__fieldtrip/__fileio/_read_combined_ds.py | 9 +- .../__fieldtrip/__fileio/_read_ctf_ascii.py | 9 +- .../__fieldtrip/__fileio/_read_ctf_cls.py | 9 +- .../__fieldtrip/__fileio/_read_ctf_coef.py | 9 +- .../__fieldtrip/__fileio/_read_ctf_dat.py | 9 +- .../__fieldtrip/__fileio/_read_ctf_hc.py | 9 +- .../__fieldtrip/__fileio/_read_ctf_hdm.py | 9 +- .../__fieldtrip/__fileio/_read_ctf_hist.py | 9 +- .../__fieldtrip/__fileio/_read_ctf_meg4.py | 9 +- .../__fieldtrip/__fileio/_read_ctf_mri.py | 9 +- .../__fieldtrip/__fileio/_read_ctf_mri4.py | 9 +- .../__fieldtrip/__fileio/_read_ctf_pos.py | 9 +- .../__fieldtrip/__fileio/_read_ctf_res4.py | 9 +- .../__fieldtrip/__fileio/_read_ctf_sens.py | 9 +- .../__fieldtrip/__fileio/_read_ctf_shape.py | 9 +- .../__fieldtrip/__fileio/_read_ctf_shm.py | 15 +- .../__fieldtrip/__fileio/_read_ctf_trigger.py | 9 +- .../__fieldtrip/__fileio/_read_curry.py | 9 +- .../__fieldtrip/__fileio/_read_deymed_dat.py | 9 +- .../__fieldtrip/__fileio/_read_deymed_ini.py | 9 +- .../__fieldtrip/__fileio/_read_dhn_med10.py | 9 +- .../__fieldtrip/__fileio/_read_edf.py | 11 +- .../__fieldtrip/__fileio/_read_egis_data.py | 9 +- .../__fieldtrip/__fileio/_read_egis_header.py | 9 +- .../__fieldtrip/__fileio/_read_elec.py | 9 +- .../__fieldtrip/__fileio/_read_eyelink_asc.py | 19 +- .../__fieldtrip/__fileio/_read_fcdc_trl.py | 9 +- .../__fieldtrip/__fileio/_read_gmsh_binary.py | 9 +- .../__fieldtrip/__fileio/_read_ini.py | 9 +- .../__fieldtrip/__fileio/_read_itab_mhd.py | 9 +- .../__fieldtrip/__fileio/_read_mat.py | 9 +- .../__fieldtrip/__fileio/_read_mayo_mef21.py | 9 +- .../__fieldtrip/__fileio/_read_mayo_mef30.py | 9 +- .../__fieldtrip/__fileio/_read_mclust_t.py | 9 +- .../__fieldtrip/__fileio/_read_mff_bin.py | 9 +- .../__fileio/_read_micromed_event.py | 9 +- .../__fileio/_read_micromed_trc.py | 9 +- .../__fieldtrip/__fileio/_read_mpi_dap.py | 9 +- .../__fieldtrip/__fileio/_read_mpi_ds.py | 9 +- .../__fieldtrip/__fileio/_read_nervus_data.py | 9 +- .../__fileio/_read_nervus_header.py | 9 +- .../__fileio/_read_neuralynx_bin.py | 9 +- .../__fileio/_read_neuralynx_cds.py | 9 +- .../__fileio/_read_neuralynx_dma.py | 9 +- .../__fileio/_read_neuralynx_ds.py | 9 +- .../__fileio/_read_neuralynx_ncs.py | 9 +- .../__fileio/_read_neuralynx_nev.py | 9 +- .../__fileio/_read_neuralynx_nse.py | 9 +- .../__fileio/_read_neuralynx_nst.py | 9 +- .../__fileio/_read_neuralynx_nts.py | 9 +- .../__fileio/_read_neuralynx_ntt.py | 9 +- .../__fileio/_read_neuralynx_sdma.py | 9 +- .../__fileio/_read_neuralynx_ttl.py | 9 +- .../__fileio/_read_neuromag_eve.py | 9 +- .../__fieldtrip/__fileio/_read_neuromag_hc.py | 9 +- .../__fileio/_read_neuromag_headpos.py | 9 +- .../__fileio/_read_neuromag_maxfilterlog.py | 9 +- .../__fieldtrip/__fileio/_read_neuroshare.py | 9 +- .../__fileio/_read_neurosim_evolution.py | 9 +- .../__fileio/_read_neurosim_signals.py | 9 +- .../__fileio/_read_neurosim_spikes.py | 9 +- .../__fieldtrip/__fileio/_read_nex5.py | 9 +- .../__fieldtrip/__fileio/_read_nex5_event.py | 9 +- .../__fieldtrip/__fileio/_read_nex5_header.py | 9 +- .../__fieldtrip/__fileio/_read_nex_data.py | 9 +- .../__fieldtrip/__fileio/_read_nex_event.py | 9 +- .../__fieldtrip/__fileio/_read_nex_header.py | 9 +- .../__fileio/_read_nexstim_event.py | 9 +- .../__fieldtrip/__fileio/_read_nexstim_nxe.py | 9 +- .../__fieldtrip/__fileio/_read_nifti2_hdr.py | 9 +- .../__fileio/_read_nihonkohden_m00.py | 9 +- .../__fieldtrip/__fileio/_read_nimh_cortex.py | 9 +- .../__fileio/_read_nmc_archive_k_data.py | 9 +- .../__fileio/_read_nmc_archive_k_event.py | 9 +- .../__fileio/_read_nmc_archive_k_hdr.py | 9 +- .../__fieldtrip/__fileio/_read_ns_avg.py | 9 +- .../__fieldtrip/__fileio/_read_ns_eeg.py | 9 +- .../__fieldtrip/__fileio/_read_ns_hdr.py | 9 +- .../__fieldtrip/__fileio/_read_nwb_spike.py | 9 +- .../__fieldtrip/__fileio/_read_off.py | 9 +- .../__fieldtrip/__fileio/_read_plexon_ddt.py | 9 +- .../__fieldtrip/__fileio/_read_plexon_ds.py | 9 +- .../__fieldtrip/__fileio/_read_plexon_nex.py | 9 +- .../__fieldtrip/__fileio/_read_plexon_plx.py | 9 +- .../__fieldtrip/__fileio/_read_ply.py | 11 +- .../__fileio/_read_polhemus_fil.py | 9 +- .../__fileio/_read_polhemus_pos.py | 9 +- .../__fileio/_read_presentation_log.py | 9 +- .../__fieldtrip/__fileio/_read_ricoh_data.py | 9 +- .../__fieldtrip/__fileio/_read_ricoh_event.py | 9 +- .../__fileio/_read_ricoh_header.py | 9 +- .../__fieldtrip/__fileio/_read_sbin_data.py | 9 +- .../__fieldtrip/__fileio/_read_sbin_events.py | 9 +- .../__fieldtrip/__fileio/_read_sbin_header.py | 9 +- .../__fileio/_read_serial_event.py | 9 +- .../__fieldtrip/__fileio/_read_shm_data.py | 9 +- .../__fieldtrip/__fileio/_read_shm_event.py | 9 +- .../__fieldtrip/__fileio/_read_shm_header.py | 9 +- .../__fieldtrip/__fileio/_read_smi_txt.py | 9 +- .../__fileio/_read_spike6mat_data.py | 9 +- .../__fileio/_read_spike6mat_header.py | 9 +- .../__fieldtrip/__fileio/_read_spmeeg_data.py | 9 +- .../__fileio/_read_spmeeg_event.py | 9 +- .../__fileio/_read_spmeeg_header.py | 9 +- .../__fieldtrip/__fileio/_read_stl.py | 9 +- .../__fieldtrip/__fileio/_read_tck.py | 9 +- .../__fieldtrip/__fileio/_read_tdt_sev.py | 9 +- .../__fieldtrip/__fileio/_read_tdt_tbk.py | 9 +- .../__fieldtrip/__fileio/_read_tdt_tdx.py | 9 +- .../__fieldtrip/__fileio/_read_tdt_tev.py | 9 +- .../__fieldtrip/__fileio/_read_tdt_tsq.py | 9 +- .../__fieldtrip/__fileio/_read_tmsi_poly5.py | 9 +- .../__fieldtrip/__fileio/_read_tobii_tsv.py | 9 +- .../__fieldtrip/__fileio/_read_trigger.py | 9 +- .../__fieldtrip/__fileio/_read_trk.py | 9 +- .../__fieldtrip/__fileio/_read_video.py | 9 +- .../__fileio/_read_videomeg_aud.py | 9 +- .../__fileio/_read_videomeg_vid.py | 9 +- .../__fieldtrip/__fileio/_read_vtk.py | 18 +- .../__fieldtrip/__fileio/_read_vtk_xml.py | 11 +- .../__fieldtrip/__fileio/_read_wdq_data.py | 9 +- .../__fieldtrip/__fileio/_read_wdq_header.py | 9 +- .../__fileio/_read_yokogawa_data.py | 9 +- .../__fileio/_read_yokogawa_data_new.py | 9 +- .../__fileio/_read_yokogawa_event.py | 9 +- .../__fileio/_read_yokogawa_header.py | 9 +- .../__fileio/_read_yokogawa_header_new.py | 9 +- .../_read_yorkinstruments_hdf5_meta.py | 9 +- .../__fieldtrip/__fileio/_read_zebris.py | 9 +- .../__fieldtrip/__fileio/_readmarkerfile.py | 9 +- .../__fieldtrip/__fileio/_refine.py | 10 +- .../__fileio/_remove_double_vertices.py | 11 +- .../__fileio/_remove_unused_vertices.py | 9 +- .../__fieldtrip/__fileio/_remove_vertices.py | 9 +- .../__fieldtrip/__fileio/_ricoh2grad.py | 9 +- .../__fieldtrip/__fileio/_rmsubfield.py | 9 +- .../__fieldtrip/__fileio/_rotate.py | 9 +- .../__fieldtrip/__fileio/_sccn_xdf.py | 11 +- .../__fieldtrip/__fileio/_sensys_csv.py | 11 +- .../__fieldtrip/__fileio/_setsubfield.py | 9 +- spm/__external/__fieldtrip/__fileio/_snirf.py | 11 +- .../__fieldtrip/__fileio/_snirf2opto.py | 9 +- .../__fieldtrip/__fileio/_solid_angle.py | 11 +- .../__fieldtrip/__fileio/_spikeglx_bin.py | 11 +- .../__fieldtrip/__fileio/_surf_to_tetgen.py | 9 +- .../__fieldtrip/__fileio/_surface_inside.py | 9 +- .../__fieldtrip/__fileio/_surface_normals.py | 9 +- .../__fieldtrip/__fileio/_time2offset.py | 9 +- .../__fileio/_timestamp_neuralynx.py | 9 +- .../__fieldtrip/__fileio/_timestamp_plexon.py | 9 +- .../__fieldtrip/__fileio/_tokenize.py | 9 +- .../__fieldtrip/__fileio/_translate.py | 9 +- .../__fieldtrip/__fileio/_tri2bnd.py | 37 +- .../__fieldtrip/__fileio/_undobalancing.py | 9 +- .../__fieldtrip/__fileio/_unicorn_csv.py | 11 +- .../__fieldtrip/__fileio/_volumewrite_spm.py | 9 +- .../__fieldtrip/__fileio/_write_bdf.py | 45 ++ .../__fileio/_write_bioimage_mgrid.py | 9 +- .../__fileio/_write_brainvision_eeg.py | 9 +- .../__fileio/_write_brainvoyager.py | 9 +- .../__fieldtrip/__fileio/_write_ctf_shm.py | 13 +- .../__fieldtrip/__fileio/_write_edf.py | 9 +- .../__fieldtrip/__fileio/_write_gdf.py | 9 +- .../__fileio/_write_neuralynx_ncs.py | 9 +- .../__fileio/_write_neuralynx_nts.py | 9 +- .../__fieldtrip/__fileio/_write_nifti2_hdr.py | 9 +- .../__fieldtrip/__fileio/_write_off.py | 9 +- .../__fieldtrip/__fileio/_write_plexon_nex.py | 9 +- .../__fieldtrip/__fileio/_write_ply.py | 11 +- .../__fileio/_write_serial_event.py | 9 +- .../__fieldtrip/__fileio/_write_stl.py | 13 +- .../__fieldtrip/__fileio/_write_vtk.py | 13 +- .../__fieldtrip/__fileio/_xml2struct.py | 9 +- .../__fieldtrip/__fileio/_xsens_mvnx.py | 11 +- .../__fieldtrip/__fileio/_yokogawa2grad.py | 9 +- .../__fileio/_yokogawa2grad_new.py | 9 +- .../__fileio/_yokogawa2headmodel.py | 9 +- .../__fieldtrip/__fileio/ft_chantype.py | 9 +- .../__fieldtrip/__fileio/ft_chanunit.py | 9 +- .../__fieldtrip/__fileio/ft_create_buffer.py | 9 +- .../__fieldtrip/__fileio/ft_destroy_buffer.py | 9 +- .../__fieldtrip/__fileio/ft_filetype.py | 9 +- .../__fieldtrip/__fileio/ft_filter_event.py | 9 +- .../__fieldtrip/__fileio/ft_flush_data.py | 9 +- .../__fieldtrip/__fileio/ft_flush_event.py | 9 +- .../__fieldtrip/__fileio/ft_flush_header.py | 9 +- .../__fieldtrip/__fileio/ft_poll_buffer.py | 9 +- .../__fieldtrip/__fileio/ft_read_atlas.py | 56 +- .../__fieldtrip/__fileio/ft_read_cifti.py | 9 +- .../__fieldtrip/__fileio/ft_read_data.py | 9 +- .../__fieldtrip/__fileio/ft_read_event.py | 9 +- .../__fieldtrip/__fileio/ft_read_header.py | 10 +- .../__fieldtrip/__fileio/ft_read_headmodel.py | 9 +- .../__fieldtrip/__fileio/ft_read_headshape.py | 10 +- .../__fieldtrip/__fileio/ft_read_json.py | 9 +- .../__fieldtrip/__fileio/ft_read_mri.py | 9 +- .../__fieldtrip/__fileio/ft_read_sens.py | 9 +- .../__fieldtrip/__fileio/ft_read_spike.py | 9 +- .../__fieldtrip/__fileio/ft_read_tsv.py | 9 +- .../__fieldtrip/__fileio/ft_read_vol.py | 9 +- .../__fieldtrip/__fileio/ft_write_cifti.py | 11 +- .../__fieldtrip/__fileio/ft_write_data.py | 11 +- .../__fieldtrip/__fileio/ft_write_event.py | 9 +- .../__fileio/ft_write_headshape.py | 11 +- .../__fieldtrip/__fileio/ft_write_json.py | 9 +- .../__fieldtrip/__fileio/ft_write_mri.py | 9 +- .../__fieldtrip/__fileio/ft_write_sens.py | 9 +- .../__fieldtrip/__fileio/ft_write_spike.py | 9 +- .../__fieldtrip/__fileio/ft_write_tsv.py | 9 +- .../__fieldtrip/__forward/__init__.py | 4 +- .../__fieldtrip/__forward/_add_mex_source.py | 9 +- .../__fieldtrip/__forward/_ama2headmodel.py | 9 +- .../__fieldtrip/__forward/_bmesh2bnd.py | 20 + .../__fieldtrip/__forward/_channelposition.py | 9 +- .../__fieldtrip/__forward/_circularcoil.py | 31 + .../__forward/_compile_mex_list.py | 9 +- .../__fieldtrip/__forward/_cornerpoints.py | 9 +- .../__fieldtrip/__forward/_current_dipole.py | 9 +- .../__fieldtrip/__forward/_defaultId.py | 9 +- .../__forward/_eeg_halfspace_dipole.py | 9 +- .../__forward/_eeg_halfspace_monopole.py | 9 +- .../__forward/_eeg_infinite_dipole.py | 9 +- .../__forward/_eeg_infinite_monopole.py | 9 +- .../__fieldtrip/__forward/_eeg_leadfield1.py | 9 +- .../__fieldtrip/__forward/_eeg_leadfield4.py | 9 +- .../__forward/_eeg_leadfield4_prepare.py | 9 +- .../__fieldtrip/__forward/_eeg_leadfieldb.py | 9 +- .../__forward/_eeg_slab_monopole.py | 9 +- .../__fieldtrip/__forward/_elproj.py | 19 +- .../__forward/_find_innermost_boundary.py | 9 +- .../__fieldtrip/__forward/_find_mesh_edge.py | 9 +- .../__forward/_find_outermost_boundary.py | 9 +- .../__forward/_find_triangle_neighbours.py | 9 +- .../__fieldtrip/__forward/_fitsphere.py | 11 +- .../__fieldtrip/__forward/_fixbalance.py | 23 + .../__fieldtrip/__forward/_fixcoordsys.py | 9 +- .../__fieldtrip/__forward/_fixname.py | 9 +- .../__fieldtrip/__forward/_fixoldorg.py | 9 +- .../__fieldtrip/__forward/_fixpos.py | 9 +- .../__forward/_ft_apply_montage.py | 60 ++ .../__forward/_ft_datatype_headmodel.py | 9 +- .../__forward/_ft_datatype_sens.py | 13 +- .../__fieldtrip/__forward/_ft_debug.py | 9 +- .../__fieldtrip/__forward/_ft_error.py | 9 +- .../__fieldtrip/__forward/_ft_getopt.py | 11 +- .../__fieldtrip/__forward/_ft_hastoolbox.py | 9 +- .../__forward/_ft_headcoordinates.py | 13 +- .../__fieldtrip/__forward/_ft_info.py | 9 +- .../__fieldtrip/__forward/_ft_notice.py | 9 +- .../__fieldtrip/__forward/_ft_notification.py | 9 +- .../__forward/_ft_platform_supports.py | 9 +- .../__forward/_ft_scalingfactor.py | 9 +- .../__fieldtrip/__forward/_ft_version.py | 9 +- .../__fieldtrip/__forward/_ft_warning.py | 9 +- .../__fieldtrip/__forward/_ft_warp_apply.py | 47 +- .../__forward/_get_dip_halfspace.py | 9 +- .../__fieldtrip/__forward/_getdimord.py | 9 +- .../__fieldtrip/__forward/_getdimsiz.py | 9 +- .../__fieldtrip/__forward/_getsubfield.py | 9 +- .../__forward/_halfspace_medium_leadfield.py | 9 +- .../__fieldtrip/__forward/_hasyokogawa.py | 9 +- .../__fieldtrip/__forward/_headsurface.py | 9 +- .../__fieldtrip/__forward/_issubfield.py | 9 +- .../__fieldtrip/__forward/_istrue.py | 9 +- .../__fieldtrip/__forward/_keyval.py | 9 +- .../__forward/_leadfield_duneuro.py | 17 +- .../__fieldtrip/__forward/_leadfield_fns.py | 9 +- .../__forward/_leadfield_interpolate.py | 9 +- .../__forward/_leadfield_simbio.py | 9 +- .../__fieldtrip/__forward/_leadsphere_all.py | 9 +- spm/__external/__fieldtrip/__forward/_legs.py | 9 +- .../__fieldtrip/__forward/_lmoutr.py | 11 +- .../__fieldtrip/__forward/_lmoutrn.py | 9 +- .../__fieldtrip/__forward/_loadama.py | 9 +- .../__fieldtrip/__forward/_magnetic_dipole.py | 9 +- .../__fieldtrip/__forward/_match_str.py | 9 +- .../__fieldtrip/__forward/_meg_forward.py | 9 +- .../__fieldtrip/__forward/_meg_ini.py | 9 +- .../__fieldtrip/__forward/_mesh2edge.py | 11 +- .../__forward/_mesh_icosahedron.py | 9 +- .../__fieldtrip/__forward/_mesh_octahedron.py | 9 +- .../__fieldtrip/__forward/_mesh_sphere.py | 9 +- .../__forward/_mesh_tetrahedron.py | 9 +- .../__fieldtrip/__forward/_pinvNx2.py | 9 +- .../__fieldtrip/__forward/_plgndr.py | 16 +- .../__fieldtrip/__forward/_plinprojn.py | 9 +- .../__fieldtrip/__forward/_project_elec.py | 16 +- .../__fieldtrip/__forward/_projecttri.py | 9 +- .../__fieldtrip/__forward/_ptriproj.py | 9 +- .../__fieldtrip/__forward/_ptriprojn.py | 9 +- .../__fieldtrip/__forward/_refine.py | 10 +- .../__forward/_remove_double_vertices.py | 11 +- .../__forward/_remove_unused_vertices.py | 9 +- .../__fieldtrip/__forward/_remove_vertices.py | 9 +- .../__fieldtrip/__forward/_retriangulate.py | 9 +- .../__fieldtrip/__forward/_rmsubfield.py | 9 +- .../__fieldtrip/__forward/_setsubfield.py | 9 +- .../__fieldtrip/__forward/_solid_angle.py | 11 +- .../__fieldtrip/__forward/_surface_inside.py | 9 +- .../__fieldtrip/__forward/_surface_nesting.py | 9 +- .../__fieldtrip/__forward/_surface_normals.py | 9 +- .../__forward/_surface_orientation.py | 9 +- .../__fieldtrip/__forward/_surface_shift.py | 9 +- .../__fieldtrip/__forward/_transfer_elec.py | 24 +- .../__fieldtrip/__forward/_triangle4pt.py | 9 +- .../__fieldtrip/__forward/_undobalancing.py | 9 +- .../__forward/ft_compute_leadfield.py | 11 +- .../__fieldtrip/__forward/ft_convert_units.py | 9 +- .../__forward/ft_determine_units.py | 9 +- .../__forward/ft_estimate_units.py | 10 +- .../__fieldtrip/__forward/ft_headmodel_asa.py | 11 +- .../__forward/ft_headmodel_bemcp.py | 11 +- .../ft_headmodel_concentricspheres.py | 19 +- .../__forward/ft_headmodel_dipoli.py | 11 +- .../__forward/ft_headmodel_duneuro.py | 54 +- .../__fieldtrip/__forward/ft_headmodel_fns.py | 11 +- .../__forward/ft_headmodel_halfspace.py | 11 +- .../__fieldtrip/__forward/ft_headmodel_hbf.py | 37 + .../__forward/ft_headmodel_infinite.py | 11 +- .../__forward/ft_headmodel_interpolate.py | 11 +- .../__forward/ft_headmodel_localspheres.py | 9 +- .../__forward/ft_headmodel_openmeeg.py | 11 +- .../__forward/ft_headmodel_simbio.py | 11 +- .../__forward/ft_headmodel_singleshell.py | 11 +- .../__forward/ft_headmodel_singlesphere.py | 11 +- .../__forward/ft_headmodel_slab.py | 11 +- .../__fieldtrip/__forward/ft_headmodeltype.py | 9 +- .../__forward/ft_inside_headmodel.py | 9 +- .../__forward/ft_prepare_vol_sens.py | 11 +- .../__fieldtrip/__forward/ft_senslabel.py | 9 +- .../__fieldtrip/__forward/ft_senstype.py | 12 +- .../__fieldtrip/__forward/ft_sourcedepth.py | 9 +- spm/__external/__fieldtrip/__init__.py | 62 +- .../__fieldtrip/__inverse/_SAM_costfun.py | 9 +- .../__fieldtrip/__inverse/_avgref.py | 9 +- .../__fieldtrip/__inverse/_calctangent.py | 9 +- .../__fieldtrip/__inverse/_defaultId.py | 9 +- .../__inverse/_find_innermost_boundary.py | 9 +- .../__fieldtrip/__inverse/_fixdipole.py | 9 +- .../__fieldtrip/__inverse/_fixinside.py | 9 +- .../__fieldtrip/__inverse/_fixname.py | 9 +- .../__fieldtrip/__inverse/_fixpos.py | 9 +- .../__fieldtrip/__inverse/_ft_debug.py | 9 +- .../__fieldtrip/__inverse/_ft_error.py | 9 +- .../__fieldtrip/__inverse/_ft_getopt.py | 11 +- .../__fieldtrip/__inverse/_ft_hastoolbox.py | 9 +- .../__inverse/_ft_headmodeltype.py | 9 +- .../__fieldtrip/__inverse/_ft_info.py | 9 +- .../__inverse/_ft_inside_headmodel.py | 9 +- .../__fieldtrip/__inverse/_ft_inv.py | 9 +- .../__fieldtrip/__inverse/_ft_notice.py | 9 +- .../__fieldtrip/__inverse/_ft_notification.py | 9 +- .../__inverse/_ft_platform_supports.py | 9 +- .../__fieldtrip/__inverse/_ft_progress.py | 9 +- .../__inverse/_ft_scalingfactor.py | 9 +- .../__fieldtrip/__inverse/_ft_senslabel.py | 9 +- .../__fieldtrip/__inverse/_ft_senstype.py | 12 +- .../__fieldtrip/__inverse/_ft_setopt.py | 11 +- .../__fieldtrip/__inverse/_ft_version.py | 9 +- .../__fieldtrip/__inverse/_ft_warning.py | 9 +- .../__fieldtrip/__inverse/_getsubfield.py | 9 +- .../__fieldtrip/__inverse/_hasyokogawa.py | 9 +- .../__fieldtrip/__inverse/_headsurface.py | 9 +- .../__fieldtrip/__inverse/_issubfield.py | 9 +- .../__fieldtrip/__inverse/_keyval.py | 9 +- .../__fieldtrip/__inverse/_mesh_laplacian.py | 9 +- .../__fieldtrip/__inverse/_mkfilt_eloreta.py | 9 +- .../__fieldtrip/__inverse/_quaternion.py | 9 +- .../__fieldtrip/__inverse/_rigidbody.py | 9 +- .../__fieldtrip/__inverse/_rotate.py | 9 +- .../__fieldtrip/__inverse/_settang.py | 9 +- .../__fieldtrip/__inverse/_solid_angle.py | 11 +- .../__fieldtrip/__inverse/_surface_inside.py | 9 +- .../__inverse/_surface_orientation.py | 9 +- .../__fieldtrip/__inverse/_translate.py | 9 +- .../__fieldtrip/__inverse/ft_inverse_dics.py | 14 +- .../__inverse/ft_inverse_dipolefit.py | 16 +- .../__inverse/ft_inverse_eloreta.py | 19 +- .../__inverse/ft_inverse_harmony.py | 9 +- .../__fieldtrip/__inverse/ft_inverse_lcmv.py | 14 +- .../__fieldtrip/__inverse/ft_inverse_mne.py | 13 +- .../__fieldtrip/__inverse/ft_inverse_music.py | 9 +- .../__fieldtrip/__inverse/ft_inverse_pcc.py | 19 +- .../__fieldtrip/__inverse/ft_inverse_rv.py | 9 +- .../__fieldtrip/__inverse/ft_inverse_sam.py | 19 +- .../__inverse/ft_inverse_sloreta.py | 9 +- .../__fieldtrip/__plotting/__init__.py | 2 + .../__fieldtrip/__plotting/_atlas_lookup.py | 13 +- .../__fieldtrip/__plotting/_bg_rgba2rgb.py | 9 +- .../__fieldtrip/__plotting/_cdat2rgb.py | 9 +- .../__plotting/_channelposition.py | 9 +- .../__fieldtrip/__plotting/_colorspec2rgb.py | 65 +- .../__plotting/_combineClusters.py | 9 +- .../__plotting/_combineClusters2.py | 34 + .../__fieldtrip/__plotting/_coordsys2label.py | 9 +- .../__fieldtrip/__plotting/_cornerpoints.py | 9 +- .../__fieldtrip/__plotting/_defaultId.py | 9 +- .../__fieldtrip/__plotting/_dist.py | 11 +- .../__fieldtrip/__plotting/_elproj.py | 19 +- .../__fieldtrip/__plotting/_find_mesh_edge.py | 9 +- .../__plotting/_find_triangle_neighbours.py | 9 +- .../__fieldtrip/__plotting/_findcluster.py | 19 +- .../__fieldtrip/__plotting/_fitsphere.py | 11 +- .../__fieldtrip/__plotting/_fixbalance.py | 23 + .../__fieldtrip/__plotting/_fixcoordsys.py | 9 +- .../__fieldtrip/__plotting/_fixname.py | 9 +- .../__fieldtrip/__plotting/_fixoldorg.py | 9 +- .../__fieldtrip/__plotting/_fixpos.py | 9 +- .../__plotting/_ft_apply_montage.py | 11 +- .../__plotting/_ft_convert_units.py | 9 +- .../__plotting/_ft_datatype_sens.py | 13 +- .../__plotting/_ft_datatype_volume.py | 9 +- .../__fieldtrip/__plotting/_ft_debug.py | 9 +- .../__plotting/_ft_determine_units.py | 9 +- .../__fieldtrip/__plotting/_ft_error.py | 9 +- .../__plotting/_ft_estimate_units.py | 10 +- .../__fieldtrip/__plotting/_ft_getopt.py | 11 +- .../__fieldtrip/__plotting/_ft_hastoolbox.py | 9 +- .../__plotting/_ft_headmodeltype.py | 9 +- .../__fieldtrip/__plotting/_ft_info.py | 9 +- .../__fieldtrip/__plotting/_ft_notice.py | 9 +- .../__plotting/_ft_notification.py | 9 +- .../__plotting/_ft_platform_supports.py | 9 +- .../__fieldtrip/__plotting/_ft_progress.py | 9 +- .../__plotting/_ft_scalingfactor.py | 9 +- .../__fieldtrip/__plotting/_ft_senslabel.py | 9 +- .../__fieldtrip/__plotting/_ft_senstype.py | 12 +- .../__fieldtrip/__plotting/_ft_version.py | 9 +- .../__fieldtrip/__plotting/_ft_warning.py | 9 +- .../__fieldtrip/__plotting/_ft_warp_apply.py | 47 +- .../__fieldtrip/__plotting/_ftcolors.py | 9 +- .../__fieldtrip/__plotting/_getdatfield.py | 9 +- .../__fieldtrip/__plotting/_getsubfield.py | 9 +- .../__fieldtrip/__plotting/_headsurface.py | 9 +- .../__fieldtrip/__plotting/_htmlcolors.py | 11 +- .../__fieldtrip/__plotting/_inside_contour.py | 9 +- .../__fieldtrip/__plotting/_intersect_line.py | 9 +- .../__plotting/_intersect_plane.py | 9 +- .../__fieldtrip/__plotting/_issubfield.py | 9 +- .../__fieldtrip/__plotting/_istrue.py | 9 +- .../__fieldtrip/__plotting/_keyval.py | 9 +- .../__fieldtrip/__plotting/_keyvalcheck.py | 9 +- .../__fieldtrip/__plotting/_lmoutrn.py | 9 +- .../__fieldtrip/__plotting/_ltrisect.py | 11 +- .../__fieldtrip/__plotting/_match_str.py | 9 +- .../__fieldtrip/__plotting/_menu_viewpoint.py | 9 +- .../__fieldtrip/__plotting/_mesh2edge.py | 11 +- .../__fieldtrip/__plotting/_mesh_cone.py | 9 +- .../__fieldtrip/__plotting/_mesh_cube.py | 9 +- .../__fieldtrip/__plotting/_mesh_cylinder.py | 9 +- .../__plotting/_mesh_icosahedron.py | 9 +- .../__plotting/_mesh_octahedron.py | 9 +- .../__fieldtrip/__plotting/_mesh_sphere.py | 9 +- .../__plotting/_mesh_tetrahedron.py | 9 +- .../__fieldtrip/__plotting/_ndgrid.py | 9 +- .../__fieldtrip/__plotting/_normals_elec.py | 27 + .../__fieldtrip/__plotting/_octahedron.py | 9 +- .../__fieldtrip/__plotting/_outline_shape.py | 20 + .../__fieldtrip/__plotting/_pinvNx2.py | 9 +- .../__fieldtrip/__plotting/_projecttri.py | 9 +- .../__fieldtrip/__plotting/_ptriprojn.py | 9 +- .../__fieldtrip/__plotting/_ptriside.py | 9 +- .../__fieldtrip/__plotting/_quaternion.py | 9 +- .../__fieldtrip/__plotting/_refine.py | 10 +- .../__plotting/_remove_vertices.py | 9 +- .../__fieldtrip/__plotting/_rmsubfield.py | 9 +- .../__fieldtrip/__plotting/_rotate.py | 9 +- .../__fieldtrip/__plotting/_scale.py | 9 +- .../__fieldtrip/__plotting/_select3d.py | 9 +- .../__fieldtrip/__plotting/_select3dtool.py | 9 +- .../__fieldtrip/__plotting/_select_elec.py | 17 + .../__fieldtrip/__plotting/_select_grad.py | 17 + .../__fieldtrip/__plotting/_select_opto.py | 17 + .../__fieldtrip/__plotting/_setsubfield.py | 9 +- .../__fieldtrip/__plotting/_setviewpoint.py | 11 +- .../__fieldtrip/__plotting/_solid_angle.py | 11 +- .../__fieldtrip/__plotting/_standardcolors.py | 99 +-- .../__plotting/_surface_normals.py | 9 +- .../__plotting/_surface_orientation.py | 9 +- .../__fieldtrip/__plotting/_tetrahedron.py | 9 +- .../__fieldtrip/__plotting/_translate.py | 9 +- .../__plotting/_triangle2connectivity.py | 9 +- .../__fieldtrip/__plotting/_undobalancing.py | 9 +- .../__fieldtrip/__plotting/ft_colormap.py | 11 +- .../__fieldtrip/__plotting/ft_headlight.py | 37 +- .../__fieldtrip/__plotting/ft_plot_axes.py | 9 +- .../__fieldtrip/__plotting/ft_plot_box.py | 15 +- .../__fieldtrip/__plotting/ft_plot_cloud.py | 9 +- .../__plotting/ft_plot_crosshair.py | 9 +- .../__fieldtrip/__plotting/ft_plot_dipole.py | 11 +- .../__plotting/ft_plot_headmodel.py | 35 +- .../__plotting/ft_plot_headshape.py | 41 +- .../__fieldtrip/__plotting/ft_plot_layout.py | 15 +- .../__fieldtrip/__plotting/ft_plot_line.py | 11 +- .../__fieldtrip/__plotting/ft_plot_matrix.py | 11 +- .../__fieldtrip/__plotting/ft_plot_mesh.py | 57 +- .../__fieldtrip/__plotting/ft_plot_montage.py | 9 +- .../__fieldtrip/__plotting/ft_plot_ortho.py | 9 +- .../__fieldtrip/__plotting/ft_plot_patch.py | 11 +- .../__fieldtrip/__plotting/ft_plot_sens.py | 37 +- .../__fieldtrip/__plotting/ft_plot_slice.py | 9 +- .../__fieldtrip/__plotting/ft_plot_text.py | 11 +- .../__fieldtrip/__plotting/ft_plot_topo.py | 15 +- .../__fieldtrip/__plotting/ft_plot_topo3d.py | 9 +- .../__fieldtrip/__plotting/ft_plot_vector.py | 52 +- .../__fieldtrip/__plotting/ft_select_box.py | 11 +- .../__plotting/ft_select_channel.py | 9 +- .../__fieldtrip/__plotting/ft_select_point.py | 9 +- .../__plotting/ft_select_point3d.py | 9 +- .../__fieldtrip/__plotting/ft_select_range.py | 9 +- .../__fieldtrip/__plotting/ft_select_voxel.py | 9 +- .../__fieldtrip/__plotting/ft_uilayout.py | 11 +- .../__fieldtrip/__preproc/_defaultId.py | 9 +- .../__preproc/_filter_with_correction.py | 9 +- .../__fieldtrip/__preproc/_fir_df.py | 9 +- .../__fieldtrip/__preproc/_fixname.py | 9 +- .../__fieldtrip/__preproc/_ft_debug.py | 9 +- .../__fieldtrip/__preproc/_ft_error.py | 9 +- .../__fieldtrip/__preproc/_ft_info.py | 9 +- .../__fieldtrip/__preproc/_ft_notice.py | 9 +- .../__fieldtrip/__preproc/_ft_notification.py | 9 +- .../__preproc/_ft_platform_supports.py | 9 +- .../__fieldtrip/__preproc/_ft_version.py | 9 +- .../__fieldtrip/__preproc/_ft_warning.py | 9 +- .../__fieldtrip/__preproc/_isalmostequal.py | 9 +- .../__fieldtrip/__preproc/_istrue.py | 9 +- .../__fieldtrip/__preproc/_keyval.py | 9 +- .../__fieldtrip/__preproc/_nearest.py | 14 +- .../__preproc/ft_preproc_bandpassfilter.py | 23 +- .../__preproc/ft_preproc_bandstopfilter.py | 23 +- .../__preproc/ft_preproc_baselinecorrect.py | 9 +- .../__preproc/ft_preproc_denoise.py | 9 +- .../__preproc/ft_preproc_derivative.py | 9 +- .../__preproc/ft_preproc_detrend.py | 9 +- .../__preproc/ft_preproc_dftfilter.py | 9 +- .../__preproc/ft_preproc_highpassfilter.py | 28 +- .../__preproc/ft_preproc_hilbert.py | 9 +- .../__preproc/ft_preproc_lowpassfilter.py | 23 +- .../__preproc/ft_preproc_medianfilter.py | 9 +- .../ft_preproc_online_downsample_apply.py | 9 +- .../ft_preproc_online_downsample_init.py | 9 +- .../ft_preproc_online_filter_apply.py | 9 +- .../ft_preproc_online_filter_init.py | 9 +- .../__preproc/ft_preproc_padding.py | 9 +- .../__preproc/ft_preproc_polyremoval.py | 9 +- .../__preproc/ft_preproc_rectify.py | 9 +- .../__preproc/ft_preproc_rereference.py | 9 +- .../__preproc/ft_preproc_resample.py | 9 +- .../__preproc/ft_preproc_slidingrange.py | 9 +- .../__preproc/ft_preproc_smooth.py | 9 +- .../__preproc/ft_preproc_standardize.py | 9 +- .../__fieldtrip/__specest/_adaptspec_dpss.py | 38 + .../__fieldtrip/__specest/_alpha_taper.py | 9 +- .../__fieldtrip/__specest/_defaultId.py | 9 +- .../__specest/_filter_with_correction.py | 9 +- .../__fieldtrip/__specest/_fir_df.py | 9 +- .../__fieldtrip/__specest/_fixname.py | 9 +- .../__fieldtrip/__specest/_ft_debug.py | 9 +- .../__fieldtrip/__specest/_ft_error.py | 9 +- .../__fieldtrip/__specest/_ft_getopt.py | 11 +- .../__fieldtrip/__specest/_ft_info.py | 9 +- .../__fieldtrip/__specest/_ft_notice.py | 9 +- .../__fieldtrip/__specest/_ft_notification.py | 9 +- .../__specest/_ft_platform_supports.py | 9 +- .../__specest/_ft_preproc_bandpassfilter.py | 23 +- .../__specest/_ft_preproc_polyremoval.py | 9 +- .../__fieldtrip/__specest/_ft_version.py | 9 +- .../__fieldtrip/__specest/_ft_warning.py | 9 +- .../__fieldtrip/__specest/_getsubfield.py | 9 +- .../__fieldtrip/__specest/_isalmostequal.py | 9 +- .../__fieldtrip/__specest/_issubfield.py | 9 +- .../__fieldtrip/__specest/_istrue.py | 9 +- .../__fieldtrip/__specest/_keyval.py | 9 +- .../__fieldtrip/__specest/_keyvalcheck.py | 9 +- .../__fieldtrip/__specest/_rmsubfield.py | 9 +- .../__fieldtrip/__specest/_setsubfield.py | 9 +- .../__fieldtrip/__specest/_sine_taper.py | 9 +- .../__specest/_sine_taper_scaled.py | 9 +- .../__specest/ft_specest_hilbert.py | 9 +- .../__fieldtrip/__specest/ft_specest_irasa.py | 9 +- .../__specest/ft_specest_mtmconvol.py | 9 +- .../__specest/ft_specest_mtmfft.py | 13 +- .../__specest/ft_specest_neuvar.py | 9 +- .../__fieldtrip/__specest/ft_specest_tfr.py | 9 +- .../__specest/ft_specest_wavelet.py | 9 +- spm/__external/__fieldtrip/__src/__init__.py | 6 + .../__fieldtrip/__src/combineClusters.py | 18 + spm/__external/__fieldtrip/__src/det2x2.py | 9 +- spm/__external/__fieldtrip/__src/det3x3.py | 9 +- spm/__external/__fieldtrip/__src/ft_getopt.py | 39 ++ spm/__external/__fieldtrip/__src/getpid.py | 14 +- spm/__external/__fieldtrip/__src/inv2x2.py | 9 +- spm/__external/__fieldtrip/__src/inv3x3.py | 9 +- spm/__external/__fieldtrip/__src/lmoutr.py | 11 +- spm/__external/__fieldtrip/__src/ltrisect.py | 11 +- .../__fieldtrip/__src/meg_leadfield1.py | 19 +- spm/__external/__fieldtrip/__src/mtimes2x2.py | 9 +- spm/__external/__fieldtrip/__src/mtimes3x3.py | 9 +- .../__fieldtrip/__src/mxDeserialize.py | 9 +- .../__fieldtrip/__src/mxSerialize.py | 9 +- spm/__external/__fieldtrip/__src/nanvar.py | 22 + spm/__external/__fieldtrip/__src/plgndr.py | 16 +- spm/__external/__fieldtrip/__src/plinproj.py | 11 +- spm/__external/__fieldtrip/__src/ptriproj.py | 9 +- .../__fieldtrip/__src/read_16bit.py | 11 +- .../__fieldtrip/__src/read_24bit.py | 11 +- .../__fieldtrip/__src/read_ctf_shm.py | 15 +- spm/__external/__fieldtrip/__src/rfbevent.py | 11 +- spm/__external/__fieldtrip/__src/routlm.py | 9 +- .../__fieldtrip/__src/sandwich2x2.py | 9 +- .../__fieldtrip/__src/sandwich3x3.py | 9 +- .../__fieldtrip/__src/solid_angle.py | 11 +- spm/__external/__fieldtrip/__src/splint_gh.py | 12 +- .../__fieldtrip/__src/write_ctf_shm.py | 13 +- .../__fieldtrip/__statfun/_defaultId.py | 9 +- .../__fieldtrip/__statfun/_fixname.py | 9 +- .../__fieldtrip/__statfun/_getsubfield.py | 9 +- .../__fieldtrip/__statfun/_issubfield.py | 9 +- .../__fieldtrip/__statfun/_istrue.py | 9 +- .../__fieldtrip/__statfun/_rmsubfield.py | 9 +- .../__fieldtrip/__statfun/_setsubfield.py | 9 +- .../__statfun/ft_statfun_actvsblT.py | 9 +- .../__statfun/ft_statfun_bayesfactor.py | 9 +- .../__statfun/ft_statfun_cohensd.py | 9 +- .../__statfun/ft_statfun_correlationT.py | 9 +- .../ft_statfun_depsamplesFmultivariate.py | 9 +- .../ft_statfun_depsamplesFunivariate.py | 9 +- .../__statfun/ft_statfun_depsamplesT.py | 9 +- .../__statfun/ft_statfun_depsamplesregrT.py | 9 +- .../__fieldtrip/__statfun/ft_statfun_diff.py | 9 +- .../__statfun/ft_statfun_diff_itc.py | 9 +- .../__fieldtrip/__statfun/ft_statfun_gcmi.py | 9 +- .../__statfun/ft_statfun_indepsamplesF.py | 9 +- .../__statfun/ft_statfun_indepsamplesT.py | 9 +- .../__statfun/ft_statfun_indepsamplesZcoh.py | 9 +- .../__statfun/ft_statfun_indepsamplesregrT.py | 9 +- .../__fieldtrip/__statfun/ft_statfun_mean.py | 9 +- .../__statfun/ft_statfun_pooledT.py | 9 +- .../__fieldtrip/__statfun/ft_statfun_roc.py | 9 +- .../__fieldtrip/__trialfun/_bids_sidecar.py | 9 +- .../__fieldtrip/__trialfun/_defaultId.py | 9 +- .../__fieldtrip/__trialfun/_ismatch.py | 9 +- .../__trialfun/_select_channel_list.py | 9 +- .../__trialfun/ft_trialfun_balert.py | 9 +- .../__trialfun/ft_trialfun_bids.py | 9 +- .../ft_trialfun_brainvision_segmented.py | 9 +- .../__fieldtrip/__trialfun/ft_trialfun_edf.py | 9 +- .../__trialfun/ft_trialfun_emgdetect.py | 9 +- .../__trialfun/ft_trialfun_example1.py | 9 +- .../__trialfun/ft_trialfun_example2.py | 9 +- .../__trialfun/ft_trialfun_general.py | 9 +- .../__fieldtrip/__trialfun/ft_trialfun_gui.py | 9 +- .../__fieldtrip/__trialfun/ft_trialfun_hed.py | 9 +- .../__trialfun/ft_trialfun_imotions.py | 9 +- .../ft_trialfun_neuromagSTI016fix.py | 9 +- .../__trialfun/ft_trialfun_realtime.py | 9 +- .../__trialfun/ft_trialfun_show.py | 9 +- .../__trialfun/ft_trialfun_trial.py | 9 +- .../ft_trialfun_twoclass_classification.py | 11 +- .../__fieldtrip/__utilities/__init__.py | 6 + .../__utilities/_align_ctf2acpc.py | 9 +- .../__utilities/_align_fsaverage2mni.py | 9 +- .../__utilities/_align_neuromag2acpc.py | 9 +- .../__fieldtrip/__utilities/_avgoverdim.py | 9 +- .../__fieldtrip/__utilities/_avgoverlabel.py | 9 +- .../__fieldtrip/__utilities/_base64encode.py | 9 +- .../__utilities/_channelposition.py | 9 +- .../__utilities/_convert_segmentationstyle.py | 9 +- .../__utilities/_coordsys2label.py | 9 +- .../__fieldtrip/__utilities/_cornerpoints.py | 9 +- .../__fieldtrip/__utilities/_dataset2files.py | 9 +- .../__fieldtrip/__utilities/_debugCleanup.py | 9 +- .../__fieldtrip/__utilities/_defaultId.py | 9 +- .../_determine_segmentationstyle.py | 9 +- .../__fieldtrip/__utilities/_dimindex.py | 9 +- .../__fieldtrip/__utilities/_dimlength.py | 9 +- .../__fieldtrip/__utilities/_fixbalance.py | 23 + .../__fieldtrip/__utilities/_fixcoordsys.py | 9 +- .../__fieldtrip/__utilities/_fixdimord.py | 9 +- .../__fieldtrip/__utilities/_fixdipole.py | 9 +- .../__fieldtrip/__utilities/_fixinside.py | 9 +- .../__fieldtrip/__utilities/_fixname.py | 9 +- .../__fieldtrip/__utilities/_fixoldorg.py | 9 +- .../__fieldtrip/__utilities/_fixpos.py | 9 +- .../__fieldtrip/__utilities/_fixsampleinfo.py | 9 +- .../__utilities/_fixsegmentation.py | 9 +- .../__fieldtrip/__utilities/_fixsource.py | 9 +- .../__fieldtrip/__utilities/_fixvolume.py | 9 +- .../__fieldtrip/__utilities/_ft_findcfg.py | 9 +- .../__utilities/_ft_notification.py | 9 +- .../__utilities/_ft_struct2json.py | 9 +- .../__utilities/_ft_test_compare.py | 9 +- .../__utilities/_ft_test_find_dependency.py | 9 +- .../__utilities/_ft_test_moxunit_run.py | 9 +- .../__utilities/_ft_test_report.py | 9 +- .../__fieldtrip/__utilities/_ft_test_run.py | 9 +- .../_ft_test_untested_functions.py | 9 +- .../__utilities/_ft_test_update_dependency.py | 9 +- .../__fieldtrip/__utilities/_ft_urlread.py | 9 +- .../__fieldtrip/__utilities/_funargname.py | 9 +- .../__fieldtrip/__utilities/_getaddress.py | 9 +- .../__fieldtrip/__utilities/_getdatfield.py | 9 +- .../__fieldtrip/__utilities/_getdimord.py | 9 +- .../__fieldtrip/__utilities/_getdimsiz.py | 9 +- .../__fieldtrip/__utilities/_gethostname.py | 9 +- .../__fieldtrip/__utilities/_getusername.py | 9 +- .../__fieldtrip/__utilities/_globalrescale.py | 9 +- .../__fieldtrip/__utilities/_hcp_getopt.py | 9 +- .../__utilities/_hcp_provenance.py | 9 +- .../__fieldtrip/__utilities/_ignorefields.py | 9 +- .../__fieldtrip/__utilities/_individual2sn.py | 9 +- .../__utilities/_isplottingfunction.py | 9 +- .../__fieldtrip/__utilities/_labelcmb2indx.py | 9 +- .../__fieldtrip/__utilities/_leaveoneout.py | 9 +- .../__fieldtrip/__utilities/_lmoutr.py | 11 +- .../__fieldtrip/__utilities/_lmoutrn.py | 9 +- .../__fieldtrip/__utilities/_loadvar.py | 9 +- .../__utilities/_make_or_fetch_inputfile.py | 9 +- .../__fieldtrip/__utilities/_makessense.py | 9 +- .../__fieldtrip/__utilities/_memprofile.py | 9 +- .../__utilities/_mergecellstruct.py | 9 +- .../__fieldtrip/__utilities/_mergestruct.py | 9 +- .../__utilities/_mesh_icosahedron.py | 9 +- .../__utilities/_mesh_octahedron.py | 9 +- .../__fieldtrip/__utilities/_mesh_sphere.py | 9 +- .../__utilities/_mesh_tetrahedron.py | 9 +- .../__fieldtrip/__utilities/_mutexlock.py | 9 +- .../__fieldtrip/__utilities/_mxSerialize.py | 9 +- .../__fieldtrip/__utilities/_offset2time.py | 9 +- .../__utilities/_parameterselection.py | 9 +- .../__fieldtrip/__utilities/_pinvNx2.py | 9 +- .../__fieldtrip/__utilities/_plinprojn.py | 9 +- .../__fieldtrip/__utilities/_pos2dim.py | 9 +- .../__fieldtrip/__utilities/_pos2transform.py | 9 +- .../__fieldtrip/__utilities/_printand.py | 9 +- .../__fieldtrip/__utilities/_printor.py | 9 +- .../__utilities/_printstruct_as_table.py | 9 +- .../__fieldtrip/__utilities/_project_elec.py | 16 +- .../__fieldtrip/__utilities/_ptriproj.py | 9 +- .../__fieldtrip/__utilities/_ptriprojn.py | 9 +- .../__fieldtrip/__utilities/_quaternion.py | 9 +- .../__fieldtrip/__utilities/_randomseed.py | 9 +- .../__utilities/_recursive_download.py | 9 +- .../__fieldtrip/__utilities/_refine.py | 10 +- .../__utilities/_reproducescript.py | 9 +- .../__fieldtrip/__utilities/_rigidbody.py | 9 +- .../__fieldtrip/__utilities/_rotate.py | 9 +- .../__utilities/_save_large_cfg_fields.py | 9 +- .../__fieldtrip/__utilities/_savevar.py | 9 +- .../__fieldtrip/__utilities/_scale.py | 9 +- .../__fieldtrip/__utilities/_selfromraw.py | 9 +- .../__fieldtrip/__utilities/_seloverdim.py | 9 +- .../__fieldtrip/__utilities/_selparam.py | 9 +- .../__fieldtrip/__utilities/_smartinput.py | 9 +- .../__fieldtrip/__utilities/_sn2individual.py | 9 +- .../__fieldtrip/__utilities/_time2offset.py | 9 +- .../__fieldtrip/__utilities/_traditional.py | 9 +- .../__fieldtrip/__utilities/_translate.py | 9 +- .../__fieldtrip/__utilities/_undobalancing.py | 9 +- .../__fieldtrip/__utilities/_unparcellate.py | 9 +- .../__fieldtrip/__utilities/_varsize.py | 9 +- .../__utilities/_volumefillholes.py | 9 +- .../__fieldtrip/__utilities/_volumeflip.py | 9 +- .../__fieldtrip/__utilities/_volumepermute.py | 9 +- .../__fieldtrip/__utilities/_volumesmooth.py | 9 +- .../__utilities/_volumethreshold.py | 9 +- .../__fieldtrip/__utilities/appendstruct.py | 9 +- .../__fieldtrip/__utilities/copyfields.py | 9 +- .../__fieldtrip/__utilities/dccnpath.py | 51 +- .../__utilities/ft_affinecoordinates.py | 9 +- .../__utilities/ft_apply_montage.py | 60 ++ .../__utilities/ft_average_sens.py | 9 +- .../__fieldtrip/__utilities/ft_cfg2keyval.py | 9 +- .../__utilities/ft_channelcombination.py | 9 +- .../__utilities/ft_channelselection.py | 9 +- .../__fieldtrip/__utilities/ft_checkconfig.py | 9 +- .../__fieldtrip/__utilities/ft_checkdata.py | 9 +- .../__fieldtrip/__utilities/ft_checkopt.py | 11 +- .../__fieldtrip/__utilities/ft_compile_mex.py | 37 +- .../__utilities/ft_compile_standalone.py | 9 +- .../__utilities/ft_convert_coordsys.py | 11 +- .../__fieldtrip/__utilities/ft_datatype.py | 9 +- .../__utilities/ft_datatype_comp.py | 9 +- .../__utilities/ft_datatype_dip.py | 9 +- .../__utilities/ft_datatype_freq.py | 9 +- .../__utilities/ft_datatype_headmodel.py | 9 +- .../__utilities/ft_datatype_mvar.py | 9 +- .../__utilities/ft_datatype_parcellation.py | 28 +- .../__utilities/ft_datatype_raw.py | 9 +- .../__utilities/ft_datatype_segmentation.py | 9 +- .../__utilities/ft_datatype_sens.py | 13 +- .../__utilities/ft_datatype_source.py | 9 +- .../__utilities/ft_datatype_spike.py | 9 +- .../__utilities/ft_datatype_timelock.py | 9 +- .../__utilities/ft_datatype_volume.py | 9 +- .../__fieldtrip/__utilities/ft_debug.py | 9 +- .../__fieldtrip/__utilities/ft_deleteopt.py | 25 + .../__utilities/ft_determine_coordsys.py | 15 +- .../ft_documentationconfiguration.py | 9 +- .../__utilities/ft_documentationreference.py | 9 +- .../__fieldtrip/__utilities/ft_error.py | 9 +- .../__fieldtrip/__utilities/ft_fetch_data.py | 9 +- .../__fieldtrip/__utilities/ft_fetch_event.py | 9 +- .../__utilities/ft_fetch_header.py | 9 +- .../__fieldtrip/__utilities/ft_findcfg.py | 9 +- .../__fieldtrip/__utilities/ft_getopt.py | 11 +- .../__fieldtrip/__utilities/ft_hash.py | 9 +- .../__fieldtrip/__utilities/ft_hastoolbox.py | 9 +- .../__utilities/ft_headcoordinates.py | 13 +- .../__fieldtrip/__utilities/ft_info.py | 9 +- .../__utilities/ft_inverse_montage.py | 23 + .../__fieldtrip/__utilities/ft_keyval2cfg.py | 9 +- .../__fieldtrip/__utilities/ft_notice.py | 9 +- .../__utilities/ft_platform_supports.py | 9 +- .../__fieldtrip/__utilities/ft_postamble.py | 9 +- .../__fieldtrip/__utilities/ft_preamble.py | 9 +- .../__fieldtrip/__utilities/ft_progress.py | 9 +- .../__utilities/ft_save_workspace.py | 9 +- .../__utilities/ft_scalingfactor.py | 9 +- .../__fieldtrip/__utilities/ft_selectdata.py | 9 +- .../__fieldtrip/__utilities/ft_setopt.py | 11 +- .../__fieldtrip/__utilities/ft_source2full.py | 9 +- .../__fieldtrip/__utilities/ft_source2grid.py | 9 +- .../__utilities/ft_source2sparse.py | 9 +- .../__fieldtrip/__utilities/ft_standalone.py | 9 +- .../__fieldtrip/__utilities/ft_struct2char.py | 9 +- .../__utilities/ft_struct2double.py | 9 +- .../__utilities/ft_struct2single.py | 9 +- .../__utilities/ft_struct2string.py | 9 +- .../__fieldtrip/__utilities/ft_test.py | 9 +- .../__fieldtrip/__utilities/ft_trackusage.py | 9 +- .../__utilities/ft_transform_geometry.py | 54 +- .../__utilities/ft_transform_headmodel.py | 9 +- .../__utilities/ft_transform_headshape.py | 9 +- .../__utilities/ft_transform_sens.py | 9 +- .../__utilities/ft_transform_vol.py | 9 +- .../__fieldtrip/__utilities/ft_version.py | 9 +- .../__fieldtrip/__utilities/ft_warning.py | 9 +- .../__fieldtrip/__utilities/ft_warp_apply.py | 47 +- .../__fieldtrip/__utilities/ft_warp_error.py | 9 +- .../__fieldtrip/__utilities/ft_warp_optim.py | 9 +- .../__fieldtrip/__utilities/getsubfield.py | 9 +- .../__fieldtrip/__utilities/hasyokogawa.py | 9 +- .../__fieldtrip/__utilities/issubfield.py | 9 +- .../__fieldtrip/__utilities/istrue.py | 9 +- .../__fieldtrip/__utilities/keepfields.py | 9 +- .../__fieldtrip/__utilities/keyval.py | 9 +- .../__fieldtrip/__utilities/keyvalcheck.py | 9 +- .../__utilities/markdown2matlab.py | 9 +- .../__fieldtrip/__utilities/match_str.py | 9 +- .../__fieldtrip/__utilities/match_val.py | 9 +- .../__utilities/matlab2markdown.py | 9 +- .../__fieldtrip/__utilities/memtic.py | 9 +- .../__fieldtrip/__utilities/memtoc.py | 9 +- .../__fieldtrip/__utilities/nearest.py | 14 +- .../__fieldtrip/__utilities/printstruct.py | 9 +- .../__fieldtrip/__utilities/removefields.py | 9 +- .../__fieldtrip/__utilities/renamefields.py | 9 +- .../__fieldtrip/__utilities/rmsubfield.py | 9 +- .../__fieldtrip/__utilities/setsubfield.py | 9 +- .../__fieldtrip/__utilities/strel_bol.py | 9 +- .../__fieldtrip/__utilities/tokenize.py | 9 +- spm/__external/__fieldtrip/_align_ijk2xyz.py | 9 +- .../__fieldtrip/_align_presentation.py | 9 +- spm/__external/__fieldtrip/_align_xyz2ijk.py | 9 +- spm/__external/__fieldtrip/_alpha_taper.py | 9 +- spm/__external/__fieldtrip/_append_common.py | 9 +- .../__fieldtrip/_artifact2boolvec.py | 9 +- spm/__external/__fieldtrip/_artifact2event.py | 9 +- spm/__external/__fieldtrip/_artifact2trl.py | 9 +- spm/__external/__fieldtrip/_artifact_level.py | 9 +- spm/__external/__fieldtrip/_atlas_lookup.py | 13 +- spm/__external/__fieldtrip/_avgref.py | 9 +- spm/__external/__fieldtrip/_bandpassfilter.py | 9 +- spm/__external/__fieldtrip/_bandstopfilter.py | 9 +- spm/__external/__fieldtrip/_bg_rgba2rgb.py | 9 +- spm/__external/__fieldtrip/_binomialprob.py | 9 +- .../__fieldtrip/_bivariate_common.py | 9 +- spm/__external/__fieldtrip/_blc.py | 9 +- .../__fieldtrip/_blockindx2cmbindx.py | 9 +- .../__fieldtrip/_boolvec2artifact.py | 9 +- spm/__external/__fieldtrip/_boolvec2event.py | 9 +- spm/__external/__fieldtrip/_boolvec2trl.py | 9 +- .../__fieldtrip/_browse_audiovideo.py | 9 +- .../__fieldtrip/_browse_movieplotER.py | 9 +- .../__fieldtrip/_browse_multiplotER.py | 9 +- .../__fieldtrip/_browse_simpleFFT.py | 9 +- .../__fieldtrip/_browse_topoplotER.py | 9 +- .../__fieldtrip/_browse_topoplotVAR.py | 9 +- spm/__external/__fieldtrip/_bsscca.py | 9 +- .../__fieldtrip/_cellStruct2StructCell.py | 9 +- .../__fieldtrip/_channelconnectivity.py | 9 +- .../__fieldtrip/_channelposition.py | 9 +- .../__fieldtrip/_chanscale_common.py | 9 +- spm/__external/__fieldtrip/_checkchan.py | 9 +- spm/__external/__fieldtrip/_checkfreq.py | 9 +- spm/__external/__fieldtrip/_checkpos.py | 9 +- spm/__external/__fieldtrip/_checktime.py | 9 +- spm/__external/__fieldtrip/_closedf.py | 9 +- spm/__external/__fieldtrip/_clusterstat.py | 9 +- spm/__external/__fieldtrip/_colorspec2rgb.py | 65 +- .../__fieldtrip/_combineClusters.py | 9 +- .../__fieldtrip/_combineClusters2.py | 34 + .../__fieldtrip/_combine_transform.py | 9 +- spm/__external/__fieldtrip/_comp2timelock.py | 9 +- .../__fieldtrip/_constructplanargrad.py | 9 +- spm/__external/__fieldtrip/_continuous_ns.py | 9 +- spm/__external/__fieldtrip/_coordsys2label.py | 9 +- .../__fieldtrip/_copy_brainvision_files.py | 9 +- spm/__external/__fieldtrip/_copy_ctf_files.py | 9 +- spm/__external/__fieldtrip/_cornerpoints.py | 9 +- spm/__external/__fieldtrip/_csp.py | 9 +- spm/__external/__fieldtrip/_ctf2grad.py | 9 +- spm/__external/__fieldtrip/_defaultId.py | 9 +- .../__fieldtrip/_denoise_artifact.py | 9 +- spm/__external/__fieldtrip/_det2x2.py | 9 +- spm/__external/__fieldtrip/_det3x3.py | 9 +- .../__fieldtrip/_determine_griddim.py | 9 +- .../_determine_segmentationstyle.py | 9 +- spm/__external/__fieldtrip/_dftfilter.py | 9 +- spm/__external/__fieldtrip/_dimassign.py | 11 +- spm/__external/__fieldtrip/_dimindex.py | 9 +- spm/__external/__fieldtrip/_dimlength.py | 9 +- spm/__external/__fieldtrip/_dimnum.py | 13 +- spm/__external/__fieldtrip/_dist.py | 9 +- .../__fieldtrip/_elec1020_follow.py | 9 +- .../__fieldtrip/_elec1020_fraction.py | 9 +- .../__fieldtrip/_elec1020_intersect.py | 9 +- .../__fieldtrip/_elec1020_locate.py | 18 +- spm/__external/__fieldtrip/_elproj.py | 19 +- .../__fieldtrip/_equidistant_locate.py | 20 + spm/__external/__fieldtrip/_estimate_fwhm1.py | 9 +- spm/__external/__fieldtrip/_estimate_fwhm2.py | 9 +- spm/__external/__fieldtrip/_event2artifact.py | 9 +- spm/__external/__fieldtrip/_event2boolvec.py | 9 +- spm/__external/__fieldtrip/_event2trl.py | 9 +- .../__fieldtrip/_expand_orthogonal.py | 9 +- spm/__external/__fieldtrip/_fdr.py | 9 +- .../__fieldtrip/_find_innermost_boundary.py | 9 +- spm/__external/__fieldtrip/_find_mesh_edge.py | 9 +- spm/__external/__fieldtrip/_find_nearest.py | 9 +- .../__fieldtrip/_find_outermost_boundary.py | 9 +- .../__fieldtrip/_find_triangle_neighbours.py | 9 +- .../__fieldtrip/_find_vertex_neighbours.py | 9 +- spm/__external/__fieldtrip/_findcluster.py | 19 +- spm/__external/__fieldtrip/_fitsphere.py | 11 +- spm/__external/__fieldtrip/_fixbalance.py | 23 + spm/__external/__fieldtrip/_fixcoordsys.py | 9 +- spm/__external/__fieldtrip/_fixdimord.py | 9 +- spm/__external/__fieldtrip/_fixdipole.py | 9 +- spm/__external/__fieldtrip/_fixinside.py | 9 +- spm/__external/__fieldtrip/_fixname.py | 9 +- spm/__external/__fieldtrip/_fixneighbours.py | 9 +- spm/__external/__fieldtrip/_fixpos.py | 9 +- spm/__external/__fieldtrip/_fixsampleinfo.py | 9 +- spm/__external/__fieldtrip/_fopen_or_error.py | 9 +- .../__fieldtrip/_fourier2crsspctrm.py | 9 +- .../__fieldtrip/_fourierspctrm2lcrsspctrm.py | 9 +- spm/__external/__fieldtrip/_freq2cumtapcnt.py | 9 +- spm/__external/__fieldtrip/_freq2timelock.py | 9 +- spm/__external/__fieldtrip/_ft_fetch_sens.py | 9 +- spm/__external/__fieldtrip/_ft_getuserfun.py | 9 +- spm/__external/__fieldtrip/_ft_inv.py | 9 +- .../_ft_singletrialanalysis_aseo.py | 9 +- spm/__external/__fieldtrip/_fwer.py | 9 +- .../__fieldtrip/_get_degrees_orders.py | 19 + spm/__external/__fieldtrip/_getdatfield.py | 9 +- spm/__external/__fieldtrip/_getdimord.py | 9 +- spm/__external/__fieldtrip/_getdimsiz.py | 9 +- .../__fieldtrip/_getorthoviewpos.py | 9 +- spm/__external/__fieldtrip/_getsubfield.py | 9 +- spm/__external/__fieldtrip/_getusername.py | 9 +- spm/__external/__fieldtrip/_globalrescale.py | 9 +- spm/__external/__fieldtrip/_grad2elec.py | 19 + spm/__external/__fieldtrip/_grid2transform.py | 9 +- spm/__external/__fieldtrip/_guidelines.py | 9 +- .../__fieldtrip/_handle_atlas_input.py | 9 +- .../__fieldtrip/_handle_edit_input.py | 9 +- spm/__external/__fieldtrip/_headsurface.py | 9 +- spm/__external/__fieldtrip/_highpassfilter.py | 9 +- spm/__external/__fieldtrip/_hline.py | 9 +- spm/__external/__fieldtrip/_homer2opto.py | 9 +- .../__fieldtrip/_homogenous2traditional.py | 9 +- spm/__external/__fieldtrip/_htmlcolors.py | 11 +- spm/__external/__fieldtrip/_ignorefields.py | 9 +- .../__fieldtrip/_inputlabel2outputlabel.py | 9 +- spm/__external/__fieldtrip/_inside_contour.py | 9 +- spm/__external/__fieldtrip/_interp_gridded.py | 9 +- .../__fieldtrip/_interp_ungridded.py | 9 +- spm/__external/__fieldtrip/_intersect_line.py | 9 +- spm/__external/__fieldtrip/_inv3x3.py | 9 +- spm/__external/__fieldtrip/_isalmostequal.py | 9 +- .../__fieldtrip/_iscompatwrapper.py | 9 +- spm/__external/__fieldtrip/_isdir_or_mkdir.py | 9 +- spm/__external/__fieldtrip/_isfunction.py | 9 +- spm/__external/__fieldtrip/_ismatch.py | 9 +- spm/__external/__fieldtrip/_isrealmat.py | 9 +- spm/__external/__fieldtrip/_isrealvec.py | 9 +- spm/__external/__fieldtrip/_issubfield.py | 9 +- spm/__external/__fieldtrip/_join_str.py | 9 +- spm/__external/__fieldtrip/_labelcmb2indx.py | 9 +- spm/__external/__fieldtrip/_lapcal.py | 9 +- spm/__external/__fieldtrip/_lbex.py | 9 +- .../__fieldtrip/_lineattributes_common.py | 9 +- spm/__external/__fieldtrip/_lmoutr.py | 11 +- spm/__external/__fieldtrip/_lmoutrn.py | 9 +- spm/__external/__fieldtrip/_loadvar.py | 9 +- spm/__external/__fieldtrip/_lowpassfilter.py | 9 +- .../__fieldtrip/_megplanar_fitplane.py | 9 +- spm/__external/__fieldtrip/_megplanar_orig.py | 9 +- .../__fieldtrip/_megplanar_sincos.py | 9 +- spm/__external/__fieldtrip/_menu_fieldtrip.py | 9 +- spm/__external/__fieldtrip/_mergestruct.py | 9 +- spm/__external/__fieldtrip/_mergetable.py | 9 +- spm/__external/__fieldtrip/_mesh2edge.py | 11 +- .../__fieldtrip/_mesh_icosahedron.py | 9 +- spm/__external/__fieldtrip/_mesh_laplacian.py | 11 +- .../__fieldtrip/_mesh_octahedron.py | 9 +- spm/__external/__fieldtrip/_mesh_sphere.py | 9 +- spm/__external/__fieldtrip/_mesh_spherify.py | 9 +- .../__fieldtrip/_mesh_tetrahedron.py | 9 +- spm/__external/__fieldtrip/_mni2tal.py | 9 +- spm/__external/__fieldtrip/_mollify.py | 9 +- spm/__external/__fieldtrip/_moviefunction.py | 9 +- spm/__external/__fieldtrip/_mplgndr.py | 9 +- spm/__external/__fieldtrip/_mtimes2x2.py | 9 +- spm/__external/__fieldtrip/_mtimes3x3.py | 9 +- .../__fieldtrip/_multivariate_decomp.py | 9 +- spm/__external/__fieldtrip/_mutexunlock.py | 9 +- spm/__external/__fieldtrip/_mxDeserialize.py | 9 +- spm/__external/__fieldtrip/_mxSerialize.py | 9 +- spm/__external/__fieldtrip/_ndgrid.py | 9 +- spm/__external/__fieldtrip/_nex_cont.py | 9 +- spm/__external/__fieldtrip/_nex_info.py | 9 +- spm/__external/__fieldtrip/_nex_int.py | 9 +- spm/__external/__fieldtrip/_nex_marker.py | 9 +- spm/__external/__fieldtrip/_nex_ts.py | 9 +- spm/__external/__fieldtrip/_nex_wf.py | 9 +- spm/__external/__fieldtrip/_nimh2grad.py | 9 +- spm/__external/__fieldtrip/_normals_elec.py | 27 + spm/__external/__fieldtrip/_notchfilter.py | 9 +- spm/__external/__fieldtrip/_offset2time.py | 9 +- spm/__external/__fieldtrip/_open_figure.py | 9 +- spm/__external/__fieldtrip/_openedf.py | 9 +- spm/__external/__fieldtrip/_opto2elec.py | 19 + spm/__external/__fieldtrip/_opto2homer.py | 9 +- spm/__external/__fieldtrip/_outline_shape.py | 20 + .../__fieldtrip/_parameterselection.py | 9 +- .../__fieldtrip/_parsekeyboardevent.py | 9 +- spm/__external/__fieldtrip/_patchsvd.py | 9 +- spm/__external/__fieldtrip/_peakdetect2.py | 9 +- spm/__external/__fieldtrip/_peakdetect3.py | 9 +- spm/__external/__fieldtrip/_pinvNx2.py | 9 +- spm/__external/__fieldtrip/_plgndr.py | 16 +- spm/__external/__fieldtrip/_plinprojn.py | 9 +- spm/__external/__fieldtrip/_pntdist.py | 9 +- spm/__external/__fieldtrip/_poly2tri.py | 11 +- spm/__external/__fieldtrip/_pos2dim.py | 9 +- spm/__external/__fieldtrip/_pos2dim3d.py | 9 +- spm/__external/__fieldtrip/_pos2transform.py | 9 +- spm/__external/__fieldtrip/_prepare_design.py | 9 +- .../__fieldtrip/_prepare_freq_matrices.py | 9 +- .../__fieldtrip/_prepare_headmodel.py | 9 +- .../__fieldtrip/_prepare_mesh_cortexhull.py | 9 +- .../__fieldtrip/_prepare_mesh_fittemplate.py | 9 +- .../__fieldtrip/_prepare_mesh_headshape.py | 9 +- .../__fieldtrip/_prepare_mesh_hexahedral.py | 9 +- .../__fieldtrip/_prepare_mesh_manual.py | 9 +- .../__fieldtrip/_prepare_mesh_segmentation.py | 9 +- .../__fieldtrip/_prepare_mesh_tetrahedral.py | 9 +- .../__fieldtrip/_prepare_resampled_data.py | 9 +- spm/__external/__fieldtrip/_preproc.py | 9 +- spm/__external/__fieldtrip/_print_tim.py | 9 +- .../__fieldtrip/_procrustes_trans.py | 9 +- spm/__external/__fieldtrip/_project_elec.py | 16 +- spm/__external/__fieldtrip/_projecttri.py | 9 +- spm/__external/__fieldtrip/_ptriproj.py | 9 +- spm/__external/__fieldtrip/_ptriprojn.py | 9 +- spm/__external/__fieldtrip/_ptriside.py | 9 +- spm/__external/__fieldtrip/_quaternion.py | 9 +- spm/__external/__fieldtrip/_randstatprob.py | 9 +- spm/__external/__fieldtrip/_raw2data.py | 9 +- spm/__external/__fieldtrip/_read_besa_avr.py | 9 +- spm/__external/__fieldtrip/_read_besa_mul.py | 9 +- spm/__external/__fieldtrip/_read_besa_src.py | 9 +- spm/__external/__fieldtrip/_read_besa_swf.py | 9 +- spm/__external/__fieldtrip/_read_besa_tfc.py | 9 +- spm/__external/__fieldtrip/_read_ctf_hc.py | 9 +- spm/__external/__fieldtrip/_read_ctf_hist.py | 9 +- .../__fieldtrip/_read_imotions_txt.py | 9 +- .../__fieldtrip/_read_labview_dtlg.py | 9 +- spm/__external/__fieldtrip/_refine.py | 10 +- spm/__external/__fieldtrip/_regularize_in.py | 18 + spm/__external/__fieldtrip/_regularize_out.py | 18 + .../__fieldtrip/_rejectvisual_channel.py | 9 +- .../__fieldtrip/_rejectvisual_summary.py | 9 +- .../__fieldtrip/_rejectvisual_trial.py | 9 +- .../__fieldtrip/_remove_double_vertices.py | 11 +- .../__fieldtrip/_remove_unused_vertices.py | 9 +- .../__fieldtrip/_remove_vertices.py | 9 +- spm/__external/__fieldtrip/_reorderdim.py | 9 +- spm/__external/__fieldtrip/_resampledesign.py | 9 +- spm/__external/__fieldtrip/_retriangulate.py | 9 +- spm/__external/__fieldtrip/_rigidbody.py | 9 +- spm/__external/__fieldtrip/_rmsubfield.py | 9 +- .../__fieldtrip/_rollback_provenance.py | 9 +- spm/__external/__fieldtrip/_rotate.py | 9 +- spm/__external/__fieldtrip/_routlm.py | 9 +- spm/__external/__fieldtrip/_rv.py | 9 +- spm/__external/__fieldtrip/_sampleinfo2trl.py | 9 +- spm/__external/__fieldtrip/_sandwich2x2.py | 9 +- spm/__external/__fieldtrip/_sandwich3x3.py | 9 +- spm/__external/__fieldtrip/_savevar.py | 9 +- spm/__external/__fieldtrip/_scale.py | 9 +- spm/__external/__fieldtrip/_sel50p.py | 9 +- spm/__external/__fieldtrip/_select2d.py | 9 +- spm/__external/__fieldtrip/_select3d.py | 9 +- .../__fieldtrip/_select_channel_list.py | 9 +- spm/__external/__fieldtrip/_select_elec.py | 17 + spm/__external/__fieldtrip/_select_grad.py | 17 + spm/__external/__fieldtrip/_select_opto.py | 17 + spm/__external/__fieldtrip/_setsubfield.py | 9 +- spm/__external/__fieldtrip/_setviewpoint.py | 11 +- spm/__external/__fieldtrip/_shiftpredict.py | 9 +- spm/__external/__fieldtrip/_sine_taper.py | 9 +- spm/__external/__fieldtrip/_smartinput.py | 9 +- spm/__external/__fieldtrip/_smooth_source.py | 9 +- spm/__external/__fieldtrip/_smudge.py | 9 +- spm/__external/__fieldtrip/_solid_angle.py | 11 +- spm/__external/__fieldtrip/_specest_nanfft.py | 9 +- .../_sphericalSplineInterpolate.py | 9 +- spm/__external/__fieldtrip/_sphsplint.py | 9 +- spm/__external/__fieldtrip/_spikesort.py | 9 +- spm/__external/__fieldtrip/_splint.py | 9 +- spm/__external/__fieldtrip/_splitstruct.py | 9 +- spm/__external/__fieldtrip/_standardcolors.py | 99 +-- spm/__external/__fieldtrip/_standardise.py | 9 +- spm/__external/__fieldtrip/_strel_bol.py | 9 +- spm/__external/__fieldtrip/_surface_area.py | 9 +- spm/__external/__fieldtrip/_surface_inside.py | 9 +- .../__fieldtrip/_surface_normals.py | 9 +- .../__fieldtrip/_surface_orientation.py | 9 +- spm/__external/__fieldtrip/_surface_shift.py | 9 +- spm/__external/__fieldtrip/_svdfft.py | 9 +- spm/__external/__fieldtrip/_swapmemfile.py | 9 +- spm/__external/__fieldtrip/_tal2mni.py | 9 +- spm/__external/__fieldtrip/_tfcestat.py | 47 +- spm/__external/__fieldtrip/_time2offset.py | 9 +- spm/__external/__fieldtrip/_timelock2freq.py | 9 +- .../__fieldtrip/_topoplot_common.py | 9 +- spm/__external/__fieldtrip/_traditional.py | 9 +- .../__fieldtrip/_transfer2coeffs.py | 9 +- spm/__external/__fieldtrip/_transform2grid.py | 9 +- spm/__external/__fieldtrip/_translate.py | 9 +- .../__fieldtrip/_triangle2connectivity.py | 9 +- .../__fieldtrip/_triangle2distance.py | 9 +- spm/__external/__fieldtrip/_triangle4pt.py | 9 +- .../__fieldtrip/_triangulate_seg.py | 9 +- spm/__external/__fieldtrip/_tritrisect.py | 9 +- spm/__external/__fieldtrip/_trl2artifact.py | 9 +- spm/__external/__fieldtrip/_trl2boolvec.py | 9 +- spm/__external/__fieldtrip/_trl2event.py | 9 +- spm/__external/__fieldtrip/_uidisplaytext.py | 9 +- spm/__external/__fieldtrip/_undobalancing.py | 9 +- .../__fieldtrip/_univariate2bivariate.py | 9 +- spm/__external/__fieldtrip/_unparcellate.py | 9 +- .../__fieldtrip/_val2nearestchan.py | 9 +- spm/__external/__fieldtrip/_validate_seg.py | 9 +- spm/__external/__fieldtrip/_vline.py | 9 +- spm/__external/__fieldtrip/_volplot.py | 9 +- spm/__external/__fieldtrip/_volumeedit.py | 9 +- .../__fieldtrip/_volumefillholes.py | 9 +- spm/__external/__fieldtrip/_volumeflip.py | 9 +- spm/__external/__fieldtrip/_volumepad.py | 9 +- spm/__external/__fieldtrip/_volumepermute.py | 9 +- .../__fieldtrip/_volumeselectlargest.py | 9 +- spm/__external/__fieldtrip/_volumesmooth.py | 9 +- .../__fieldtrip/_volumethreshold.py | 9 +- .../__fieldtrip/_warp_dykstra2012.py | 9 +- spm/__external/__fieldtrip/_warp_fsaverage.py | 9 +- .../__fieldtrip/_warp_fsaverage_sym.py | 9 +- .../__fieldtrip/_warp_fsinflated.py | 9 +- .../__fieldtrip/_warp_hermes2010.py | 9 +- spm/__external/__fieldtrip/_wizard_base.py | 9 +- .../__fieldtrip/_write_neuralynx_nse.py | 9 +- spm/__external/__fieldtrip/besa2fieldtrip.py | 9 +- spm/__external/__fieldtrip/bis2fieldtrip.py | 9 +- spm/__external/__fieldtrip/data2bids.py | 11 +- spm/__external/__fieldtrip/edf2fieldtrip.py | 9 +- spm/__external/__fieldtrip/fieldtrip2besa.py | 9 +- spm/__external/__fieldtrip/fieldtrip2bis.py | 9 +- spm/__external/__fieldtrip/fieldtrip2ctf.py | 9 +- spm/__external/__fieldtrip/fieldtrip2fiff.py | 9 +- spm/__external/__fieldtrip/fieldtrip2homer.py | 9 +- spm/__external/__fieldtrip/fieldtrip2spss.py | 9 +- .../__fieldtrip/ft_analysispipeline.py | 17 +- spm/__external/__fieldtrip/ft_annotate.py | 9 +- .../__fieldtrip/ft_anonymizedata.py | 9 +- spm/__external/__fieldtrip/ft_appenddata.py | 9 +- spm/__external/__fieldtrip/ft_appendfreq.py | 12 +- spm/__external/__fieldtrip/ft_appendlayout.py | 9 +- spm/__external/__fieldtrip/ft_appendsens.py | 9 +- spm/__external/__fieldtrip/ft_appendsource.py | 9 +- spm/__external/__fieldtrip/ft_appendspike.py | 9 +- .../__fieldtrip/ft_appendtimelock.py | 20 +- .../__fieldtrip/ft_artifact_clip.py | 9 +- spm/__external/__fieldtrip/ft_artifact_ecg.py | 9 +- spm/__external/__fieldtrip/ft_artifact_eog.py | 9 +- .../__fieldtrip/ft_artifact_jump.py | 9 +- .../__fieldtrip/ft_artifact_muscle.py | 9 +- spm/__external/__fieldtrip/ft_artifact_nan.py | 9 +- .../__fieldtrip/ft_artifact_threshold.py | 9 +- spm/__external/__fieldtrip/ft_artifact_tms.py | 9 +- .../__fieldtrip/ft_artifact_zvalue.py | 17 +- .../__fieldtrip/ft_audiovideobrowser.py | 9 +- spm/__external/__fieldtrip/ft_badchannel.py | 9 +- spm/__external/__fieldtrip/ft_baddata.py | 9 +- spm/__external/__fieldtrip/ft_badsegment.py | 9 +- .../__fieldtrip/ft_channelnormalise.py | 9 +- .../__fieldtrip/ft_channelrepair.py | 9 +- spm/__external/__fieldtrip/ft_clusterplot.py | 13 +- .../__fieldtrip/ft_combineplanar.py | 11 +- .../__fieldtrip/ft_componentanalysis.py | 13 +- .../__fieldtrip/ft_conjunctionanalysis.py | 9 +- .../__fieldtrip/ft_connectivityanalysis.py | 11 +- .../__fieldtrip/ft_connectivityplot.py | 9 +- .../__fieldtrip/ft_connectivitysimulation.py | 9 +- .../__fieldtrip/ft_crossfrequencyanalysis.py | 9 +- spm/__external/__fieldtrip/ft_databrowser.py | 12 +- spm/__external/__fieldtrip/ft_defacemesh.py | 9 +- spm/__external/__fieldtrip/ft_defacevolume.py | 9 +- spm/__external/__fieldtrip/ft_defaults.py | 9 +- spm/__external/__fieldtrip/ft_definetrial.py | 9 +- spm/__external/__fieldtrip/ft_denoise_amm.py | 28 +- spm/__external/__fieldtrip/ft_denoise_dssp.py | 20 +- spm/__external/__fieldtrip/ft_denoise_hfc.py | 19 +- spm/__external/__fieldtrip/ft_denoise_pca.py | 21 +- .../__fieldtrip/ft_denoise_prewhiten.py | 14 +- spm/__external/__fieldtrip/ft_denoise_ssp.py | 36 +- spm/__external/__fieldtrip/ft_denoise_sss.py | 37 +- .../__fieldtrip/ft_denoise_synthetic.py | 24 +- spm/__external/__fieldtrip/ft_denoise_tsr.py | 19 +- .../__fieldtrip/ft_detect_movement.py | 9 +- .../__fieldtrip/ft_dipolefitting.py | 9 +- .../__fieldtrip/ft_dipolesimulation.py | 9 +- .../__fieldtrip/ft_electrodeplacement.py | 20 +- .../__fieldtrip/ft_electroderealign.py | 82 +-- .../__fieldtrip/ft_electrodermalactivity.py | 9 +- .../__fieldtrip/ft_electrodeselection.py | 41 ++ .../__fieldtrip/ft_eventtiminganalysis.py | 9 +- .../__fieldtrip/ft_examplefunction.py | 9 +- spm/__external/__fieldtrip/ft_freqanalysis.py | 35 +- .../__fieldtrip/ft_freqanalysis_mvar.py | 9 +- spm/__external/__fieldtrip/ft_freqbaseline.py | 9 +- .../__fieldtrip/ft_freqdescriptives.py | 9 +- .../__fieldtrip/ft_freqgrandaverage.py | 9 +- .../__fieldtrip/ft_freqinterpolate.py | 9 +- .../__fieldtrip/ft_freqsimulation.py | 11 +- .../__fieldtrip/ft_freqstatistics.py | 13 +- spm/__external/__fieldtrip/ft_geometryplot.py | 9 +- .../__fieldtrip/ft_globalmeanfield.py | 9 +- .../__fieldtrip/ft_headcircumference.py | 9 +- spm/__external/__fieldtrip/ft_headmovement.py | 29 +- spm/__external/__fieldtrip/ft_heartrate.py | 9 +- .../__fieldtrip/ft_interactiverealign.py | 13 +- .../__fieldtrip/ft_interpolatenan.py | 9 +- .../__fieldtrip/ft_lateralizedpotential.py | 9 +- spm/__external/__fieldtrip/ft_layoutplot.py | 9 +- spm/__external/__fieldtrip/ft_math.py | 9 +- spm/__external/__fieldtrip/ft_megplanar.py | 9 +- spm/__external/__fieldtrip/ft_megrealign.py | 9 +- spm/__external/__fieldtrip/ft_meshrealign.py | 32 +- spm/__external/__fieldtrip/ft_movieplotER.py | 12 +- spm/__external/__fieldtrip/ft_movieplotTFR.py | 10 +- spm/__external/__fieldtrip/ft_multiplotCC.py | 9 +- spm/__external/__fieldtrip/ft_multiplotER.py | 14 +- spm/__external/__fieldtrip/ft_multiplotTFR.py | 10 +- spm/__external/__fieldtrip/ft_mvaranalysis.py | 9 +- .../__fieldtrip/ft_neighbourplot.py | 10 +- .../__fieldtrip/ft_networkanalysis.py | 9 +- .../__fieldtrip/ft_prepare_headmodel.py | 41 +- .../__fieldtrip/ft_prepare_layout.py | 9 +- .../__fieldtrip/ft_prepare_leadfield.py | 15 +- spm/__external/__fieldtrip/ft_prepare_mesh.py | 9 +- .../__fieldtrip/ft_prepare_montage.py | 9 +- .../__fieldtrip/ft_prepare_neighbours.py | 9 +- .../__fieldtrip/ft_prepare_sourcemodel.py | 25 +- .../__fieldtrip/ft_preprocessing.py | 9 +- spm/__external/__fieldtrip/ft_recodeevent.py | 9 +- .../__fieldtrip/ft_redefinetrial.py | 17 +- .../__fieldtrip/ft_regressconfound.py | 9 +- .../__fieldtrip/ft_rejectartifact.py | 9 +- .../__fieldtrip/ft_rejectcomponent.py | 11 +- spm/__external/__fieldtrip/ft_rejectvisual.py | 9 +- .../__fieldtrip/ft_removetemplateartifact.py | 9 +- .../__fieldtrip/ft_reproducescript.py | 9 +- spm/__external/__fieldtrip/ft_resampledata.py | 9 +- spm/__external/__fieldtrip/ft_respiration.py | 9 +- .../__fieldtrip/ft_scalpcurrentdensity.py | 9 +- .../__fieldtrip/ft_sensorplacement.py | 47 ++ spm/__external/__fieldtrip/ft_singleplotER.py | 10 +- .../__fieldtrip/ft_singleplotTFR.py | 43 +- spm/__external/__fieldtrip/ft_sliceinterp.py | 9 +- .../__fieldtrip/ft_sourceanalysis.py | 9 +- .../__fieldtrip/ft_sourcedescriptives.py | 9 +- .../__fieldtrip/ft_sourcegrandaverage.py | 9 +- .../__fieldtrip/ft_sourceinterpolate.py | 9 +- spm/__external/__fieldtrip/ft_sourcemovie.py | 9 +- .../__fieldtrip/ft_sourceparcellate.py | 9 +- spm/__external/__fieldtrip/ft_sourceplot.py | 15 +- .../__fieldtrip/ft_sourceplot_interactive.py | 9 +- .../__fieldtrip/ft_sourcestatistics.py | 9 +- spm/__external/__fieldtrip/ft_sourcewrite.py | 11 +- .../__fieldtrip/ft_statistics_analytic.py | 18 +- .../ft_statistics_crossvalidate.py | 19 +- .../__fieldtrip/ft_statistics_montecarlo.py | 27 +- .../__fieldtrip/ft_statistics_mvpa.py | 34 +- .../__fieldtrip/ft_statistics_stats.py | 17 +- .../__fieldtrip/ft_steadystatesimulation.py | 9 +- spm/__external/__fieldtrip/ft_stratify.py | 9 +- .../__fieldtrip/ft_timelockanalysis.py | 9 +- .../__fieldtrip/ft_timelockbaseline.py | 9 +- .../__fieldtrip/ft_timelockgrandaverage.py | 9 +- .../__fieldtrip/ft_timelocksimulation.py | 9 +- .../__fieldtrip/ft_timelockstatistics.py | 12 +- spm/__external/__fieldtrip/ft_topoplotCC.py | 11 +- spm/__external/__fieldtrip/ft_topoplotER.py | 53 +- spm/__external/__fieldtrip/ft_topoplotIC.py | 11 +- spm/__external/__fieldtrip/ft_topoplotTFR.py | 41 +- .../__fieldtrip/ft_virtualchannel.py | 9 +- .../__fieldtrip/ft_volumebiascorrect.py | 9 +- .../__fieldtrip/ft_volumedownsample.py | 9 +- spm/__external/__fieldtrip/ft_volumelookup.py | 9 +- .../__fieldtrip/ft_volumenormalise.py | 11 +- .../__fieldtrip/ft_volumerealign.py | 26 +- .../__fieldtrip/ft_volumereslice.py | 9 +- .../__fieldtrip/ft_volumesegment.py | 17 +- spm/__external/__fieldtrip/ft_volumewrite.py | 9 +- spm/__external/__fieldtrip/ft_wizard.py | 9 +- spm/__external/__fieldtrip/homer2fieldtrip.py | 9 +- .../__fieldtrip/imotions2fieldtrip.py | 9 +- .../__fieldtrip/loreta2fieldtrip.py | 9 +- .../__fieldtrip/nutmeg2fieldtrip.py | 9 +- spm/__external/__fieldtrip/spass2fieldtrip.py | 9 +- spm/__external/__fieldtrip/spm2fieldtrip.py | 9 +- spm/__external/__fieldtrip/xdf2fieldtrip.py | 9 +- spm/__external/__init__.py | 78 ++- spm/__external/__mne/fiff_copy_tree.py | 9 +- spm/__external/__mne/fiff_define_constants.py | 9 +- spm/__external/__mne/fiff_dir_tree_find.py | 9 +- spm/__external/__mne/fiff_end_block.py | 9 +- spm/__external/__mne/fiff_end_file.py | 9 +- spm/__external/__mne/fiff_find_evoked.py | 9 +- .../__mne/fiff_finish_writing_raw.py | 9 +- spm/__external/__mne/fiff_invert_transform.py | 9 +- spm/__external/__mne/fiff_list_dir_tree.py | 9 +- spm/__external/__mne/fiff_make_ch_rename.py | 9 +- spm/__external/__mne/fiff_make_dir_tree.py | 9 +- spm/__external/__mne/fiff_open.py | 9 +- spm/__external/__mne/fiff_pick_channels.py | 9 +- .../__mne/fiff_pick_channels_evoked.py | 9 +- spm/__external/__mne/fiff_pick_info.py | 9 +- spm/__external/__mne/fiff_pick_types.py | 9 +- .../__mne/fiff_pick_types_evoked.py | 9 +- .../__mne/fiff_read_bad_channels.py | 9 +- spm/__external/__mne/fiff_read_coord_trans.py | 9 +- spm/__external/__mne/fiff_read_ctf_comp.py | 9 +- spm/__external/__mne/fiff_read_epochs.py | 9 +- spm/__external/__mne/fiff_read_events.py | 9 +- spm/__external/__mne/fiff_read_evoked.py | 9 +- spm/__external/__mne/fiff_read_evoked_all.py | 9 +- .../__mne/fiff_read_extended_ch_info.py | 9 +- spm/__external/__mne/fiff_read_hpi_result.py | 9 +- spm/__external/__mne/fiff_read_meas_info.py | 9 +- spm/__external/__mne/fiff_read_mri.py | 9 +- .../__mne/fiff_read_named_matrix.py | 9 +- spm/__external/__mne/fiff_read_proj.py | 9 +- spm/__external/__mne/fiff_read_raw_segment.py | 9 +- .../__mne/fiff_read_raw_segment_times.py | 9 +- spm/__external/__mne/fiff_read_tag.py | 9 +- spm/__external/__mne/fiff_read_tag_info.py | 9 +- spm/__external/__mne/fiff_rename_comp.py | 9 +- spm/__external/__mne/fiff_rename_list.py | 9 +- spm/__external/__mne/fiff_reset_ch_pos.py | 9 +- spm/__external/__mne/fiff_setup_read_raw.py | 9 +- spm/__external/__mne/fiff_split_name_list.py | 9 +- spm/__external/__mne/fiff_start_block.py | 9 +- spm/__external/__mne/fiff_start_file.py | 9 +- .../__mne/fiff_start_writing_raw.py | 9 +- .../__mne/fiff_transform_eeg_chs.py | 9 +- .../__mne/fiff_transform_meg_chs.py | 9 +- spm/__external/__mne/fiff_write_ch_info.py | 9 +- spm/__external/__mne/fiff_write_ch_infos.py | 9 +- spm/__external/__mne/fiff_write_complex.py | 9 +- .../__mne/fiff_write_complex_matrix.py | 9 +- .../__mne/fiff_write_coord_trans.py | 9 +- spm/__external/__mne/fiff_write_ctf_comp.py | 9 +- spm/__external/__mne/fiff_write_dau16.py | 9 +- spm/__external/__mne/fiff_write_dig_file.py | 9 +- spm/__external/__mne/fiff_write_dig_point.py | 9 +- spm/__external/__mne/fiff_write_double.py | 9 +- .../__mne/fiff_write_double_complex.py | 9 +- .../__mne/fiff_write_double_complex_matrix.py | 9 +- .../__mne/fiff_write_double_matrix.py | 9 +- spm/__external/__mne/fiff_write_epochs.py | 9 +- spm/__external/__mne/fiff_write_events.py | 9 +- spm/__external/__mne/fiff_write_evoked.py | 9 +- spm/__external/__mne/fiff_write_float.py | 9 +- .../__mne/fiff_write_float_matrix.py | 9 +- .../__mne/fiff_write_float_sparse_ccs.py | 9 +- .../__mne/fiff_write_float_sparse_rcs.py | 9 +- spm/__external/__mne/fiff_write_id.py | 9 +- spm/__external/__mne/fiff_write_int.py | 9 +- spm/__external/__mne/fiff_write_int_matrix.py | 9 +- spm/__external/__mne/fiff_write_name_list.py | 9 +- .../__mne/fiff_write_named_matrix.py | 9 +- spm/__external/__mne/fiff_write_proj.py | 9 +- spm/__external/__mne/fiff_write_raw_buffer.py | 9 +- .../__mne/fiff_write_raw_segment.py | 9 +- .../__mne/fiff_write_raw_segment_times.py | 9 +- spm/__external/__mne/fiff_write_short.py | 9 +- spm/__external/__mne/fiff_write_string.py | 9 +- spm/__external/__mne/mne_add_coil_defs.py | 9 +- spm/__external/__mne/mne_babyMEG_dig_trig.py | 9 +- spm/__external/__mne/mne_block_diag.py | 9 +- spm/__external/__mne/mne_combine_xyz.py | 9 +- spm/__external/__mne/mne_compensate_to.py | 9 +- spm/__external/__mne/mne_ex_average_epochs.py | 9 +- spm/__external/__mne/mne_ex_cancel_noise.py | 9 +- .../__mne/mne_ex_compute_inverse.py | 9 +- spm/__external/__mne/mne_ex_data_sets.py | 9 +- .../__mne/mne_ex_evoked_grad_amp.py | 9 +- spm/__external/__mne/mne_ex_read_epochs.py | 9 +- spm/__external/__mne/mne_ex_read_evoked.py | 9 +- spm/__external/__mne/mne_ex_read_raw.py | 9 +- spm/__external/__mne/mne_ex_read_write_raw.py | 9 +- spm/__external/__mne/mne_ex_rt.py | 9 +- spm/__external/__mne/mne_file_name.py | 9 +- spm/__external/__mne/mne_find_channel.py | 9 +- spm/__external/__mne/mne_find_events.py | 9 +- .../__mne/mne_find_source_space_hemi.py | 9 +- spm/__external/__mne/mne_fread3.py | 9 +- spm/__external/__mne/mne_fwrite3.py | 9 +- spm/__external/__mne/mne_get_current_comp.py | 9 +- .../__mne/mne_label_time_courses.py | 9 +- spm/__external/__mne/mne_license.py | 9 +- spm/__external/__mne/mne_load_coil_def.py | 9 +- .../__mne/mne_make_combined_event_file.py | 9 +- spm/__external/__mne/mne_make_compensator.py | 9 +- spm/__external/__mne/mne_make_projector.py | 9 +- .../__mne/mne_make_projector_info.py | 9 +- spm/__external/__mne/mne_mesh_edges.py | 9 +- spm/__external/__mne/mne_morph_data.py | 9 +- spm/__external/__mne/mne_omit_first_line.py | 9 +- spm/__external/__mne/mne_patch_info.py | 9 +- spm/__external/__mne/mne_pick_channels_cov.py | 9 +- .../__mne/mne_pick_channels_forward.py | 9 +- .../__mne/mne_prepare_inverse_operator.py | 9 +- spm/__external/__mne/mne_read_bem_surfaces.py | 9 +- spm/__external/__mne/mne_read_cov.py | 9 +- spm/__external/__mne/mne_read_curvature.py | 9 +- spm/__external/__mne/mne_read_epoch.py | 9 +- spm/__external/__mne/mne_read_events.py | 9 +- .../__mne/mne_read_forward_solution.py | 9 +- .../__mne/mne_read_inverse_operator.py | 9 +- spm/__external/__mne/mne_read_label_file.py | 9 +- spm/__external/__mne/mne_read_morph_map.py | 9 +- spm/__external/__mne/mne_read_noise_cov.py | 9 +- .../__mne/mne_read_source_spaces.py | 9 +- spm/__external/__mne/mne_read_stc_file.py | 9 +- spm/__external/__mne/mne_read_stc_file1.py | 9 +- spm/__external/__mne/mne_read_surface.py | 9 +- spm/__external/__mne/mne_read_surfaces.py | 9 +- spm/__external/__mne/mne_read_w_file.py | 9 +- spm/__external/__mne/mne_read_w_file1.py | 9 +- spm/__external/__mne/mne_reduce_surface.py | 9 +- .../__mne/mne_rt_define_commands.py | 9 +- spm/__external/__mne/mne_set_current_comp.py | 9 +- .../__mne/mne_source_spectral_analysis.py | 9 +- .../__mne/mne_transform_coordinates.py | 9 +- .../__mne/mne_transform_source_space_to.py | 9 +- .../__mne/mne_transpose_named_matrix.py | 9 +- spm/__external/__mne/mne_write_cov.py | 9 +- spm/__external/__mne/mne_write_cov_file.py | 9 +- spm/__external/__mne/mne_write_events.py | 9 +- .../__mne/mne_write_inverse_sol_stc.py | 9 +- .../__mne/mne_write_inverse_sol_w.py | 9 +- spm/__external/__mne/mne_write_label_file.py | 9 +- spm/__external/__mne/mne_write_stc_file.py | 9 +- spm/__external/__mne/mne_write_stc_file1.py | 9 +- spm/__external/__mne/mne_write_surface.py | 9 +- spm/__external/__mne/mne_write_w_file.py | 9 +- spm/__external/__mne/mne_write_w_file1.py | 9 +- spm/__init__.py | 654 ++++++++++++------ spm/__man/__example_scripts/dcm_fit_finger.py | 9 +- spm/__man/__example_scripts/gen_finger.py | 9 +- spm/__man/__example_scripts/glm_phi.py | 9 +- .../__src/create_cfg_cfg_basicio.py | 9 +- .../__cfg_basicio/cfg_basicio_rewrite.py | 9 +- .../__cfg_basicio/cfg_cfg_basicio.py | 9 +- .../__cfg_basicio/cfg_cfg_basicio_def.py | 9 +- .../__cfg_basicio/cfg_check_assignin.py | 9 +- .../__cfg_basicio/cfg_load_vars.py | 9 +- .../__cfg_basicio/cfg_run_assignin.py | 9 +- .../__cfg_basicio/cfg_run_call_matlab.py | 9 +- spm/__matlabbatch/__cfg_basicio/cfg_run_cd.py | 9 +- .../__cfg_basicio/cfg_run_dir_move.py | 9 +- .../__cfg_basicio/cfg_run_file_filter.py | 9 +- .../__cfg_basicio/cfg_run_file_fplist.py | 9 +- .../__cfg_basicio/cfg_run_file_move.py | 9 +- .../__cfg_basicio/cfg_run_file_split.py | 9 +- .../__cfg_basicio/cfg_run_fileparts.py | 9 +- .../__cfg_basicio/cfg_run_gunzip_files.py | 9 +- .../__cfg_basicio/cfg_run_gzip_files.py | 9 +- .../__cfg_basicio/cfg_run_mkdir.py | 9 +- .../__cfg_basicio/cfg_run_named_dir.py | 9 +- .../__cfg_basicio/cfg_run_named_file.py | 9 +- .../__cfg_basicio/cfg_run_named_input.py | 9 +- .../__cfg_basicio/cfg_run_runjobs.py | 9 +- .../__cfg_basicio/cfg_run_save_vars.py | 9 +- .../__cfg_basicio/cfg_run_subsrefvar.py | 9 +- .../__cfg_basicio/cfg_vout_dir_move.py | 9 +- .../__cfg_basicio/cfg_vout_file_filter.py | 9 +- .../__cfg_basicio/cfg_vout_file_fplist.py | 9 +- .../__cfg_basicio/cfg_vout_file_move.py | 9 +- .../__cfg_basicio/cfg_vout_file_split.py | 9 +- .../__cfg_basicio/cfg_vout_fileparts.py | 9 +- .../__cfg_basicio/cfg_vout_gunzip_files.py | 9 +- .../__cfg_basicio/cfg_vout_gzip_files.py | 9 +- .../__cfg_basicio/cfg_vout_mkdir.py | 9 +- .../__cfg_basicio/cfg_vout_named_dir.py | 9 +- .../__cfg_basicio/cfg_vout_named_file.py | 9 +- .../__cfg_basicio/cfg_vout_named_input.py | 9 +- .../__cfg_basicio/cfg_vout_runjobs.py | 9 +- .../__cfg_basicio/cfg_vout_save_vars.py | 9 +- .../__cfg_confgui/cfg_confgui.py | 9 +- .../__cfg_confgui/cfg_run_template.py | 9 +- .../__examples/cfg_example_add1.py | 9 +- .../__examples/cfg_example_add2.py | 9 +- .../__examples/cfg_example_cumsum1.py | 9 +- .../__examples/cfg_example_cumsum2.py | 9 +- .../__examples/cfg_example_div.py | 9 +- .../__examples/cfg_example_master.py | 9 +- .../__examples/cfg_example_run_add1.py | 9 +- .../__examples/cfg_example_run_add2.py | 9 +- .../__examples/cfg_example_run_cumsum1.py | 9 +- .../__examples/cfg_example_run_cumsum2.py | 9 +- .../__examples/cfg_example_run_div.py | 9 +- .../__examples/cfg_example_run_sum.py | 9 +- .../__examples/cfg_example_sum.py | 9 +- spm/__matlabbatch/__examples/toy_example.py | 9 +- spm/__matlabbatch/__init__.py | 4 + spm/__matlabbatch/_cfg_disp_error.py | 9 +- spm/__matlabbatch/_cfg_eval_valedit.py | 9 +- spm/__matlabbatch/_cfg_justify.py | 9 +- spm/__matlabbatch/_cfg_maxextent.py | 9 +- spm/__matlabbatch/_cfg_mlbatch_appcfg_1.py | 9 +- spm/__matlabbatch/_cfg_mlbatch_appcfg_2.py | 9 +- .../_cfg_mlbatch_appcfg_master.py | 9 +- spm/__matlabbatch/_cfg_mlbatch_defaults.py | 9 +- spm/__matlabbatch/_cfg_mlbatch_root.py | 9 +- spm/__matlabbatch/_cfg_onscreen.py | 9 +- spm/__matlabbatch/_cfg_run_cm.py | 9 +- spm/__matlabbatch/_cfg_textfill.py | 9 +- spm/__matlabbatch/_cfg_ui_disable.py | 9 +- spm/__matlabbatch/_cfg_ui_getListboxTop.py | 9 +- spm/__matlabbatch/_cfg_ui_restore.py | 9 +- spm/__matlabbatch/_cfg_util_persistent.py | 9 +- spm/__matlabbatch/_int2str.py | 9 +- spm/__matlabbatch/_num2str.py | 9 +- spm/__matlabbatch/cfg_branch.py | 261 ++++--- spm/__matlabbatch/cfg_callbuiltin.py | 9 +- spm/__matlabbatch/cfg_choice.py | 279 +++++--- spm/__matlabbatch/cfg_const.py | 72 +- spm/__matlabbatch/cfg_dbstop.py | 9 +- spm/__matlabbatch/cfg_dep.py | 144 ++-- spm/__matlabbatch/cfg_entry.py | 108 ++- spm/__matlabbatch/cfg_exbranch.py | 126 ++-- spm/__matlabbatch/cfg_files.py | 99 ++- spm/__matlabbatch/cfg_findspec.py | 9 +- spm/__matlabbatch/cfg_get_defaults.py | 9 +- spm/__matlabbatch/cfg_getfile.py | 9 +- spm/__matlabbatch/cfg_getfile_cpath.py | 33 + spm/__matlabbatch/cfg_getfile_pathparts.py | 32 + spm/__matlabbatch/cfg_intree.py | 27 +- spm/__matlabbatch/cfg_inv_out.py | 9 +- spm/__matlabbatch/cfg_item.py | 342 ++++++--- spm/__matlabbatch/cfg_leaf.py | 27 +- spm/__matlabbatch/cfg_load_jobs.py | 9 +- spm/__matlabbatch/cfg_mchoice.py | 279 +++++--- spm/__matlabbatch/cfg_menu.py | 108 ++- spm/__matlabbatch/cfg_message.py | 9 +- spm/__matlabbatch/cfg_mlbatch_appcfg.py | 9 +- spm/__matlabbatch/cfg_repeat.py | 288 +++++--- spm/__matlabbatch/cfg_serial.py | 9 +- spm/__matlabbatch/cfg_struct2cfg.py | 9 +- spm/__matlabbatch/cfg_tropts.py | 9 +- spm/__matlabbatch/cfg_txtdesc2cfg.py | 9 +- spm/__matlabbatch/cfg_ui.py | 9 +- spm/__matlabbatch/cfg_ui_multibatch.py | 9 +- spm/__matlabbatch/cfg_ui_util.py | 9 +- spm/__matlabbatch/cfg_util.py | 9 +- spm/__matlabbatch/gencode.py | 9 +- spm/__matlabbatch/gencode_rvalue.py | 9 +- spm/__matlabbatch/gencode_substruct.py | 9 +- spm/__matlabbatch/gencode_substructcode.py | 9 +- spm/__matlabbatch/help2cell.py | 9 +- spm/__matlabbatch/hgsave_pre2008a.py | 9 +- spm/__matlabbatch/subsasgn_check_funhandle.py | 9 +- spm/__matlabbatch/subsasgn_check_num.py | 9 +- spm/__matlabbatch/subsasgn_check_valcfg.py | 9 +- spm/__spm_orthviews/spm_ov_browser.py | 9 +- spm/__spm_orthviews/spm_ov_contour.py | 9 +- spm/__spm_orthviews/spm_ov_display.py | 9 +- spm/__spm_orthviews/spm_ov_goto_max.py | 9 +- spm/__spm_orthviews/spm_ov_mesh.py | 9 +- spm/__spm_orthviews/spm_ov_movie.py | 9 +- spm/__spm_orthviews/spm_ov_reorient.py | 9 +- spm/__spm_orthviews/spm_ov_rgb.py | 9 +- spm/__spm_orthviews/spm_ov_roi.py | 9 +- spm/__spm_orthviews/spm_ov_save.py | 9 +- spm/__spm_orthviews/spm_ovhelper_3Dreg.py | 9 +- spm/__tests/ROBOT_DCM_EEG.py | 9 +- spm/__tests/ROBOT_DCM_fMRI.py | 9 +- spm/__tests/ROBOT_DEM.py | 9 +- spm/__tests/__DCM_Test_Suite/__init__.py | 44 ++ .../dts_meeg_add_eeg_bem_forward.py | 18 + .../dts_meeg_check_fit_reference.py | 18 + .../dts_meeg_csd_forward_model.py | 18 + .../dts_meeg_csd_lfp_template.py | 18 + .../dts_meeg_export_a1_lfp.py | 41 ++ .../dts_meeg_fit_csd_model.py | 18 + .../dts_meeg_fit_erp_model.py | 18 + .../dts_meeg_fixed_data_cases.py | 18 + .../__DCM_Test_Suite/dts_meeg_lfp_template.py | 18 + .../dts_meeg_neural_fixture.py | 18 + .../dts_meeg_prepare_a1_lfp.py | 28 + .../dts_meeg_prepare_mmn_eeg.py | 21 + .../dts_meeg_prior_lfp_response.py | 18 + .../dts_meeg_sample_sensor_fixture.py | 18 + .../dts_meeg_sensor_template.py | 18 + .../__DCM_Test_Suite/dts_meeg_setup_paths.py | 18 + .../dts_meeg_test_defaults.py | 18 + .../dts_meeg_write_lfp_fixture.py | 18 + .../dts_prep01_make_test_fixtures.py | 20 + .../dts_prep02_generate_reference_data.py | 27 + spm/__tests/__init__.py | 228 ++---- spm/__tests/end2end_attention.py | 9 +- spm/__tests/end2end_restingfMRI.py | 9 +- spm/__tests/spm_eeg_test_coverage.py | 9 +- spm/__tests/spm_setup_data_attention.py | 19 + spm/__tests/test_regress_spm_distort_mesh.py | 9 +- spm/__toolbox/__BSD/__init__.py | 36 + spm/__toolbox/__BSD/parfor_progress.py | 48 ++ spm/__toolbox/__BSD/spm_bsd.py | 54 ++ spm/__toolbox/__BSD/spm_bsd_batch.py | 18 + spm/__toolbox/__BSD/spm_bsd_csd.py | 28 + spm/__toolbox/__BSD/spm_bsd_data.py | 44 ++ spm/__toolbox/__BSD/spm_bsd_int.py | 48 ++ spm/__toolbox/__BSD/spm_bsd_int_parfor.py | 48 ++ spm/__toolbox/__BSD/spm_bsd_nlsi_GN.py | 110 +++ spm/__toolbox/__BSD/spm_bsd_param2spec.py | 42 ++ spm/__toolbox/__BSD/spm_bsd_priors.py | 37 + spm/__toolbox/__BSD/spm_bsd_reduce.py | 29 + spm/__toolbox/__BSD/spm_bsd_results.py | 31 + spm/__toolbox/__BSD/spm_bsd_search.py | 18 + spm/__toolbox/__BSD/spm_bsd_spec2param.py | 42 ++ spm/__toolbox/__BSD/spm_dcm_compute_vfe.py | 19 + spm/__toolbox/__BSD/tbx_cfg_bsd.py | 19 + spm/__toolbox/__DARTEL/dartel3.py | 9 +- spm/__toolbox/__DARTEL/optimN.py | 9 +- spm/__toolbox/__DARTEL/optimNn.py | 9 +- spm/__toolbox/__DARTEL/optim_compat.py | 9 +- spm/__toolbox/__DARTEL/spm_dartel_dotprods.py | 9 +- spm/__toolbox/__DARTEL/spm_dartel_import.py | 9 +- spm/__toolbox/__DARTEL/spm_dartel_invnorm.py | 9 +- spm/__toolbox/__DARTEL/spm_dartel_jacobian.py | 9 +- spm/__toolbox/__DARTEL/spm_dartel_kernel.py | 9 +- spm/__toolbox/__DARTEL/spm_dartel_norm.py | 9 +- spm/__toolbox/__DARTEL/spm_dartel_norm_fun.py | 11 +- spm/__toolbox/__DARTEL/spm_dartel_resids.py | 9 +- spm/__toolbox/__DARTEL/spm_dartel_smooth.py | 9 +- spm/__toolbox/__DARTEL/spm_dartel_template.py | 9 +- spm/__toolbox/__DARTEL/spm_dartel_warp.py | 9 +- spm/__toolbox/__DARTEL/spm_klaff.py | 9 +- spm/__toolbox/__DARTEL/spm_norm_population.py | 9 +- spm/__toolbox/__DARTEL/tbx_cfg_dartel.py | 9 +- spm/__toolbox/__DAiSS/_DeFleCT.py | 9 +- .../__DAiSS/_GALA_calculate_distance.py | 9 +- spm/__toolbox/__DAiSS/_GALA_clustering.py | 9 +- spm/__toolbox/__DAiSS/_GALA_find_localmin.py | 9 +- spm/__toolbox/__DAiSS/_GALA_invert.py | 9 +- spm/__toolbox/__DAiSS/_MNestimator.py | 9 +- spm/__toolbox/__DAiSS/_Tikhonov_rank_def.py | 9 +- spm/__toolbox/__DAiSS/_bf_fuse_lf.py | 9 +- spm/__toolbox/__DAiSS/_bf_reml_sc.py | 9 +- spm/__toolbox/__DAiSS/_bf_spm_reml_sc.py | 9 +- .../__DAiSS/_ft_inverse_beamformer_dics.py | 9 +- spm/__toolbox/__DAiSS/_get_components.py | 9 +- spm/__toolbox/__DAiSS/_mkfilt_eloreta_v2.py | 9 +- spm/__toolbox/__DAiSS/_nearest_vec.py | 9 +- spm/__toolbox/__DAiSS/_nut_dSPM.py | 9 +- spm/__toolbox/__DAiSS/_nut_sLORETA.py | 9 +- spm/__toolbox/__DAiSS/_nut_swLORETA.py | 9 +- spm/__toolbox/__DAiSS/_output_image_mv_cva.py | 9 +- spm/__toolbox/__DAiSS/_spm_pca_order.py | 9 +- spm/__toolbox/__DAiSS/_vbfa_aug2015.py | 9 +- spm/__toolbox/__DAiSS/bf_copy.py | 9 +- spm/__toolbox/__DAiSS/bf_data.py | 9 +- spm/__toolbox/__DAiSS/bf_features.py | 9 +- spm/__toolbox/__DAiSS/bf_features_contcov.py | 9 +- spm/__toolbox/__DAiSS/bf_features_cov.py | 9 +- .../__DAiSS/bf_features_cov_bysamples.py | 9 +- spm/__toolbox/__DAiSS/bf_features_csd.py | 9 +- spm/__toolbox/__DAiSS/bf_features_identity.py | 9 +- .../__DAiSS/bf_features_regmulticov.py | 9 +- spm/__toolbox/__DAiSS/bf_features_tdcov.py | 9 +- spm/__toolbox/__DAiSS/bf_features_vbfa.py | 9 +- spm/__toolbox/__DAiSS/bf_group.py | 9 +- spm/__toolbox/__DAiSS/bf_group_GALA.py | 9 +- spm/__toolbox/__DAiSS/bf_group_batch.py | 9 +- .../__DAiSS/bf_group_functionalROI.py | 9 +- spm/__toolbox/__DAiSS/bf_inverse.py | 9 +- spm/__toolbox/__DAiSS/bf_inverse_champagne.py | 9 +- spm/__toolbox/__DAiSS/bf_inverse_deflect.py | 9 +- spm/__toolbox/__DAiSS/bf_inverse_dics.py | 9 +- spm/__toolbox/__DAiSS/bf_inverse_ebb.py | 9 +- spm/__toolbox/__DAiSS/bf_inverse_eloreta.py | 9 +- spm/__toolbox/__DAiSS/bf_inverse_lcmv.py | 9 +- .../__DAiSS/bf_inverse_lcmv_multicov.py | 9 +- .../__DAiSS/bf_inverse_minimumnorm.py | 9 +- spm/__toolbox/__DAiSS/bf_inverse_nutmeg.py | 9 +- spm/__toolbox/__DAiSS/bf_isfield.py | 9 +- spm/__toolbox/__DAiSS/bf_load.py | 9 +- spm/__toolbox/__DAiSS/bf_output.py | 9 +- spm/__toolbox/__DAiSS/bf_output_PLI.py | 9 +- .../__DAiSS/bf_output_image_cfGLM.py | 9 +- spm/__toolbox/__DAiSS/bf_output_image_dics.py | 9 +- .../__DAiSS/bf_output_image_filtcorr.py | 9 +- spm/__toolbox/__DAiSS/bf_output_image_gain.py | 9 +- .../__DAiSS/bf_output_image_kurtosis.py | 9 +- spm/__toolbox/__DAiSS/bf_output_image_mv.py | 9 +- spm/__toolbox/__DAiSS/bf_output_image_pac.py | 9 +- .../__DAiSS/bf_output_image_powcorr.py | 9 +- .../__DAiSS/bf_output_image_power.py | 9 +- .../__DAiSS/bf_output_image_sensitivity.py | 9 +- spm/__toolbox/__DAiSS/bf_output_montage.py | 9 +- .../__DAiSS/bf_output_sourcedata_robust.py | 9 +- .../__DAiSS/bf_regularise_clifftrunc.py | 9 +- .../__DAiSS/bf_regularise_mantrunc.py | 9 +- spm/__toolbox/__DAiSS/bf_regularise_manual.py | 9 +- .../__DAiSS/bf_regularise_minkatrunc.py | 9 +- spm/__toolbox/__DAiSS/bf_regularise_roi.py | 9 +- .../__DAiSS/bf_regularise_tichonov_rankdef.py | 11 +- spm/__toolbox/__DAiSS/bf_save.py | 9 +- spm/__toolbox/__DAiSS/bf_save_path.py | 9 +- spm/__toolbox/__DAiSS/bf_sources.py | 9 +- spm/__toolbox/__DAiSS/bf_sources_grid.py | 9 +- .../__DAiSS/bf_sources_grid_phantom.py | 9 +- spm/__toolbox/__DAiSS/bf_sources_mesh.py | 9 +- .../__DAiSS/bf_sources_mni_coords.py | 9 +- spm/__toolbox/__DAiSS/bf_sources_scalp.py | 9 +- spm/__toolbox/__DAiSS/bf_sources_voi.py | 9 +- spm/__toolbox/__DAiSS/bf_stat_evoked_t.py | 11 +- spm/__toolbox/__DAiSS/bf_std_fields.py | 9 +- spm/__toolbox/__DAiSS/bf_view.py | 9 +- spm/__toolbox/__DAiSS/bf_view_glass.py | 9 +- spm/__toolbox/__DAiSS/bf_view_surface.py | 9 +- spm/__toolbox/__DAiSS/bf_wizard_data.py | 9 +- spm/__toolbox/__DAiSS/bf_wizard_features.py | 9 +- spm/__toolbox/__DAiSS/bf_wizard_headmodel.py | 9 +- spm/__toolbox/__DAiSS/bf_wizard_inverse.py | 9 +- spm/__toolbox/__DAiSS/bf_wizard_output.py | 9 +- spm/__toolbox/__DAiSS/bf_wizard_sources.py | 9 +- spm/__toolbox/__DAiSS/bf_wizard_view.py | 9 +- spm/__toolbox/__DAiSS/bf_wizard_write.py | 9 +- spm/__toolbox/__DAiSS/bf_write.py | 9 +- spm/__toolbox/__DAiSS/bf_write_gifti.py | 9 +- spm/__toolbox/__DAiSS/bf_write_nifti.py | 9 +- spm/__toolbox/__DAiSS/bf_write_spmeeg.py | 9 +- spm/__toolbox/__DAiSS/spm_DAiSS.py | 9 +- spm/__toolbox/__DAiSS/spm_beamforming.py | 9 +- spm/__toolbox/__DAiSS/tbx_cfg_bf.py | 9 +- spm/__toolbox/__DEM/ADEM_SHC_demo.py | 9 +- spm/__toolbox/__DEM/ADEM_cost.py | 25 + spm/__toolbox/__DEM/ADEM_cost_SHC.py | 9 +- spm/__toolbox/__DEM/ADEM_cued_response.py | 9 +- spm/__toolbox/__DEM/ADEM_eyeblink.py | 9 +- spm/__toolbox/__DEM/ADEM_intercept.py | 71 ++ spm/__toolbox/__DEM/ADEM_intercept_I.py | 42 ++ spm/__toolbox/__DEM/ADEM_intercept_II.py | 42 ++ spm/__toolbox/__DEM/ADEM_intercept_III.py | 26 + spm/__toolbox/__DEM/ADEM_intercept_IV.py | 30 + spm/__toolbox/__DEM/ADEM_learning.py | 9 +- spm/__toolbox/__DEM/ADEM_lorenz.py | 9 +- spm/__toolbox/__DEM/ADEM_lorenz_entropy.py | 9 +- spm/__toolbox/__DEM/ADEM_lorenz_surprise.py | 9 +- spm/__toolbox/__DEM/ADEM_motor.py | 9 +- spm/__toolbox/__DEM/ADEM_mountaincar_loss.py | 9 +- spm/__toolbox/__DEM/ADEM_observe.py | 9 +- spm/__toolbox/__DEM/ADEM_occlusion.py | 9 +- .../__DEM/ADEM_occulomotor_delays.py | 9 +- spm/__toolbox/__DEM/ADEM_physics.py | 65 ++ spm/__toolbox/__DEM/ADEM_plaid.py | 9 +- spm/__toolbox/__DEM/ADEM_pursuit.py | 9 +- spm/__toolbox/__DEM/ADEM_reaching.py | 9 +- spm/__toolbox/__DEM/ADEM_salience.py | 9 +- spm/__toolbox/__DEM/ADEM_sample_image.py | 9 +- spm/__toolbox/__DEM/ADEM_visual.py | 9 +- spm/__toolbox/__DEM/ADEM_writing.py | 9 +- spm/__toolbox/__DEM/ALAP_demo_attenuation.py | 9 +- spm/__toolbox/__DEM/DATA_COVID_JHU.py | 9 +- spm/__toolbox/__DEM/DATA_COVID_UK.py | 9 +- spm/__toolbox/__DEM/DATA_COVID_US.py | 9 +- spm/__toolbox/__DEM/DATA_WID_data.py | 9 +- spm/__toolbox/__DEM/DEMO_AI_NLSI.py | 9 +- spm/__toolbox/__DEM/DEMO_BAYES_FACTORS.py | 9 +- spm/__toolbox/__DEM/DEMO_BMR_PEB.py | 9 +- spm/__toolbox/__DEM/DEMO_CVA_RSA.py | 9 +- spm/__toolbox/__DEM/DEMO_DCM_MB.py | 9 +- spm/__toolbox/__DEM/DEMO_DCM_PEB.py | 9 +- spm/__toolbox/__DEM/DEMO_DCM_PEB_FIT.py | 9 +- spm/__toolbox/__DEM/DEMO_GROUP_PEB.py | 9 +- spm/__toolbox/__DEM/DEMO_Lindley_paradox.py | 9 +- spm/__toolbox/__DEM/DEMO_MDP_Stroop.py | 9 +- spm/__toolbox/__DEM/DEMO_MDP_Understanding.py | 9 +- spm/__toolbox/__DEM/DEMO_MDP_maze.py | 9 +- spm/__toolbox/__DEM/DEMO_MDP_maze_X.py | 9 +- spm/__toolbox/__DEM/DEMO_MDP_maze_XXX.py | 42 ++ spm/__toolbox/__DEM/DEMO_MDP_questions.py | 9 +- spm/__toolbox/__DEM/DEMO_MDP_voice.py | 71 +- spm/__toolbox/__DEM/DEMO_SLR.py | 9 +- .../__DEM/DEMO_niche_construction.py | 9 +- spm/__toolbox/__DEM/DEM_Atari.py | 61 ++ spm/__toolbox/__DEM/DEM_AtariI.py | 38 + spm/__toolbox/__DEM/DEM_AtariII.py | 37 + spm/__toolbox/__DEM/DEM_AtariIII.py | 61 ++ spm/__toolbox/__DEM/DEM_AtariIV.py | 65 ++ spm/__toolbox/__DEM/DEM_CLIMATE_India.py | 9 +- spm/__toolbox/__DEM/DEM_COVID.py | 9 +- spm/__toolbox/__DEM/DEM_COVID_AGE.py | 9 +- spm/__toolbox/__DEM/DEM_COVID_COUNTRY.py | 9 +- spm/__toolbox/__DEM/DEM_COVID_DASH.py | 9 +- spm/__toolbox/__DEM/DEM_COVID_I.py | 9 +- spm/__toolbox/__DEM/DEM_COVID_LTLA.py | 9 +- spm/__toolbox/__DEM/DEM_COVID_MASKS.py | 20 + spm/__toolbox/__DEM/DEM_COVID_S.py | 9 +- spm/__toolbox/__DEM/DEM_COVID_T.py | 9 +- spm/__toolbox/__DEM/DEM_COVID_UK.py | 9 +- spm/__toolbox/__DEM/DEM_COVID_UK4.py | 9 +- spm/__toolbox/__DEM/DEM_COVID_UTLA.py | 9 +- spm/__toolbox/__DEM/DEM_COVID_WID.py | 9 +- spm/__toolbox/__DEM/DEM_COVID_X.py | 9 +- spm/__toolbox/__DEM/DEM_Diabetes.py | 89 +++ spm/__toolbox/__DEM/DEM_Dispatches.py | 9 +- spm/__toolbox/__DEM/DEM_FEP_Least_Action.py | 9 +- spm/__toolbox/__DEM/DEM_FEP_Lorenz.py | 9 +- spm/__toolbox/__DEM/DEM_FIN.py | 28 + spm/__toolbox/__DEM/DEM_HB_and_LE.py | 9 +- spm/__toolbox/__DEM/DEM_Immune.py | 9 +- spm/__toolbox/__DEM/DEM_MDP_decision.py | 9 +- spm/__toolbox/__DEM/DEM_MNIST.py | 50 ++ spm/__toolbox/__DEM/DEM_MNIST_RGM.py | 39 ++ spm/__toolbox/__DEM/DEM_MNIST_compression.py | 39 ++ spm/__toolbox/__DEM/DEM_MNIST_conv.py | 44 ++ spm/__toolbox/__DEM/DEM_MNIST_mixture.py | 34 + spm/__toolbox/__DEM/DEM_Pong.py | 47 ++ spm/__toolbox/__DEM/DEM_SARS.py | 9 +- spm/__toolbox/__DEM/DEM_SARS_I.py | 9 +- spm/__toolbox/__DEM/DEM_Stephen.py | 9 +- spm/__toolbox/__DEM/DEM_Tower.py | 35 + spm/__toolbox/__DEM/DEM_Tower_of_Hanoi.py | 41 ++ spm/__toolbox/__DEM/DEM_birdsong.py | 9 +- spm/__toolbox/__DEM/DEM_cells.py | 9 +- spm/__toolbox/__DEM/DEM_cells_cells.py | 9 +- spm/__toolbox/__DEM/DEM_chaos_compression.py | 35 + spm/__toolbox/__DEM/DEM_compression.py | 46 ++ .../__DEM/DEM_coupled_oscillators.py | 9 +- spm/__toolbox/__DEM/DEM_dSprites.py | 9 +- spm/__toolbox/__DEM/DEM_demo.py | 9 +- spm/__toolbox/__DEM/DEM_demo_ALAP.py | 9 +- .../DEM_demo_Bayesian_Model_Reduction.py | 9 +- spm/__toolbox/__DEM/DEM_demo_Cornsweet.py | 9 +- spm/__toolbox/__DEM/DEM_demo_DCM_LAP.py | 9 +- spm/__toolbox/__DEM/DEM_demo_DEM.py | 13 +- spm/__toolbox/__DEM/DEM_demo_DFP.py | 9 +- spm/__toolbox/__DEM/DEM_demo_EM.py | 9 +- spm/__toolbox/__DEM/DEM_demo_GF_and_KF.py | 9 +- spm/__toolbox/__DEM/DEM_demo_GLM.py | 9 +- spm/__toolbox/__DEM/DEM_demo_Gabor.py | 9 +- spm/__toolbox/__DEM/DEM_demo_LAP.py | 9 +- spm/__toolbox/__DEM/DEM_demo_Lagrangian.py | 9 +- .../__DEM/DEM_demo_Lagrangian_flow.py | 9 +- spm/__toolbox/__DEM/DEM_demo_Lorenz.py | 9 +- spm/__toolbox/__DEM/DEM_demo_MDP_DEM.py | 9 +- spm/__toolbox/__DEM/DEM_demo_MDP_X.py | 9 +- spm/__toolbox/__DEM/DEM_demo_MDP_XX.py | 9 +- spm/__toolbox/__DEM/DEM_demo_MDP_XXX.py | 58 ++ spm/__toolbox/__DEM/DEM_demo_MDP_fit.py | 9 +- .../__DEM/DEM_demo_MDP_fit_fields.py | 9 +- spm/__toolbox/__DEM/DEM_demo_MDP_habits.py | 9 +- spm/__toolbox/__DEM/DEM_demo_MDP_maze.py | 9 +- spm/__toolbox/__DEM/DEM_demo_MDP_reading.py | 9 +- spm/__toolbox/__DEM/DEM_demo_MDP_rule.py | 9 +- spm/__toolbox/__DEM/DEM_demo_MDP_search.py | 9 +- spm/__toolbox/__DEM/DEM_demo_MMN.py | 9 +- spm/__toolbox/__DEM/DEM_demo_MMN_deviance.py | 9 +- spm/__toolbox/__DEM/DEM_demo_MMN_gen.py | 9 +- spm/__toolbox/__DEM/DEM_demo_OU.py | 9 +- spm/__toolbox/__DEM/DEM_demo_PEB.py | 9 +- spm/__toolbox/__DEM/DEM_demo_Posner.py | 9 +- spm/__toolbox/__DEM/DEM_demo_SOC.py | 13 +- .../__DEM/DEM_demo_connectivity_fMRI.py | 9 +- spm/__toolbox/__DEM/DEM_demo_contact_lens.py | 9 +- spm/__toolbox/__DEM/DEM_demo_convolution.py | 9 +- .../__DEM/DEM_demo_convolution_LAP.py | 9 +- spm/__toolbox/__DEM/DEM_demo_dendrite.py | 9 +- spm/__toolbox/__DEM/DEM_demo_double_well.py | 9 +- .../__DEM/DEM_demo_doublewell_LAP.py | 9 +- spm/__toolbox/__DEM/DEM_demo_duet.py | 9 +- spm/__toolbox/__DEM/DEM_demo_fMRI_HMM.py | 9 +- spm/__toolbox/__DEM/DEM_demo_fMRI_PEB.py | 9 +- .../__DEM/DEM_demo_face_inference.py | 9 +- .../__DEM/DEM_demo_factor_analysis.py | 9 +- spm/__toolbox/__DEM/DEM_demo_filtering.py | 9 +- spm/__toolbox/__DEM/DEM_demo_hdm.py | 9 +- spm/__toolbox/__DEM/DEM_demo_hdm_LAP.py | 9 +- spm/__toolbox/__DEM/DEM_demo_hdm_SCK.py | 9 +- .../DEM_demo_hierarchical_optmisation.py | 9 +- spm/__toolbox/__DEM/DEM_demo_induced_fMRI.py | 9 +- spm/__toolbox/__DEM/DEM_demo_large_fMRI.py | 9 +- spm/__toolbox/__DEM/DEM_demo_lorenz_LAP.py | 9 +- spm/__toolbox/__DEM/DEM_demo_modes_fMRI.py | 9 +- spm/__toolbox/__DEM/DEM_demo_ontology.py | 9 +- spm/__toolbox/__DEM/DEM_demo_psychosis.py | 9 +- .../__DEM/DEM_demo_song_inference.py | 9 +- spm/__toolbox/__DEM/DEM_demo_song_omission.py | 9 +- spm/__toolbox/__DEM/DEM_demo_song_priors.py | 9 +- spm/__toolbox/__DEM/DEM_demo_texture.py | 9 +- spm/__toolbox/__DEM/DEM_drone.py | 57 ++ spm/__toolbox/__DEM/DEM_drone_V.py | 51 ++ spm/__toolbox/__DEM/DEM_drone_VI.py | 58 ++ spm/__toolbox/__DEM/DEM_drone_inspection.py | 49 ++ spm/__toolbox/__DEM/DEM_drone_telemetry.py | 55 ++ spm/__toolbox/__DEM/DEM_drone_vision.py | 61 ++ .../__DEM/DEM_evidence_accumulation.py | 9 +- spm/__toolbox/__DEM/DEM_federation.py | 75 ++ spm/__toolbox/__DEM/DEM_get_faces.py | 9 +- spm/__toolbox/__DEM/DEM_greedy_MNIST.py | 39 ++ spm/__toolbox/__DEM/DEM_image_compression.py | 39 ++ spm/__toolbox/__DEM/DEM_laws.py | 49 ++ spm/__toolbox/__DEM/DEM_masks_Cam.py | 24 + spm/__toolbox/__DEM/DEM_metric_BMR.py | 54 ++ spm/__toolbox/__DEM/DEM_morphogenesis.py | 11 +- spm/__toolbox/__DEM/DEM_music_compression.py | 35 + spm/__toolbox/__DEM/DEM_ness_Lap.py | 36 + spm/__toolbox/__DEM/DEM_path_integrals.py | 9 +- spm/__toolbox/__DEM/DEM_paths.py | 60 ++ spm/__toolbox/__DEM/DEM_psychophysics.py | 9 +- spm/__toolbox/__DEM/DEM_reasoning.py | 69 ++ spm/__toolbox/__DEM/DEM_reverse_paths.py | 60 ++ spm/__toolbox/__DEM/DEM_self_entropy.py | 9 +- spm/__toolbox/__DEM/DEM_sound_compression.py | 35 + .../__DEM/DEM_spatial_deconvolution.py | 31 +- spm/__toolbox/__DEM/DEM_surveillance.py | 9 +- spm/__toolbox/__DEM/DEM_swarm.py | 38 + spm/__toolbox/__DEM/DEM_syntax.py | 52 ++ spm/__toolbox/__DEM/DEM_thermostat.py | 53 ++ spm/__toolbox/__DEM/DEM_vaccination.py | 9 +- spm/__toolbox/__DEM/DEM_video_compression.py | 46 ++ spm/__toolbox/__DEM/DFP_demo_double_well.py | 9 +- spm/__toolbox/__DEM/DFP_demo_hdm.py | 9 +- spm/__toolbox/__DEM/FEP_MB_demo.py | 9 +- spm/__toolbox/__DEM/FEP_Manifold.py | 9 +- spm/__toolbox/__DEM/FEP_biology.py | 27 + spm/__toolbox/__DEM/FEP_fluctuations.py | 9 +- spm/__toolbox/__DEM/FEP_information_length.py | 9 +- spm/__toolbox/__DEM/FEP_lorenz_surprise.py | 9 +- spm/__toolbox/__DEM/FEP_physics.py | 9 +- spm/__toolbox/__DEM/FEP_self_entropy.py | 9 +- spm/__toolbox/__DEM/FIN_TEST.py | 19 + spm/__toolbox/__DEM/KLDemo.py | 9 +- .../__DEM/MDP_DEM_Mixed_Models_Movement.py | 9 +- .../__DEM/MDP_DEM_Oculomotion_Pharma_demo.py | 9 +- .../__DEM/MDP_DEM_Oculomotion_demo.py | 9 +- spm/__toolbox/__DEM/MDP_Heart_Beat.py | 9 +- .../__DEM/Markov_blankets_and_NESS.py | 9 +- spm/__toolbox/__DEM/__init__.py | 256 ++++++- spm/__toolbox/__DEM/breakout.py | 41 ++ spm/__toolbox/__DEM/expmall.py | 9 +- spm/__toolbox/__DEM/ndstest.py | 9 +- spm/__toolbox/__DEM/spm_ADEM_UNITY.py | 73 ++ spm/__toolbox/__DEM/spm_ADEM_cue_rt.py | 9 +- spm/__toolbox/__DEM/spm_ADEM_set_rt.py | 9 +- spm/__toolbox/__DEM/spm_CLIMATE_ci.py | 9 +- spm/__toolbox/__DEM/spm_CLIMATE_gen.py | 9 +- spm/__toolbox/__DEM/spm_CLIMATE_plot.py | 9 +- spm/__toolbox/__DEM/spm_CLIMATE_priors.py | 9 +- spm/__toolbox/__DEM/spm_COVID.py | 9 +- spm/__toolbox/__DEM/spm_COVID_B.py | 9 +- spm/__toolbox/__DEM/spm_COVID_BMR.py | 9 +- spm/__toolbox/__DEM/spm_COVID_PV.py | 9 +- spm/__toolbox/__DEM/spm_COVID_R_cii.py | 9 +- spm/__toolbox/__DEM/spm_COVID_S.py | 9 +- spm/__toolbox/__DEM/spm_COVID_SB.py | 9 +- spm/__toolbox/__DEM/spm_COVID_T.py | 9 +- spm/__toolbox/__DEM/spm_COVID_TS.py | 9 +- spm/__toolbox/__DEM/spm_COVID_US.py | 9 +- spm/__toolbox/__DEM/spm_COVID_Y.py | 14 +- spm/__toolbox/__DEM/spm_COVID_ci.py | 9 +- spm/__toolbox/__DEM/spm_COVID_dashboard.py | 9 +- spm/__toolbox/__DEM/spm_COVID_gen.py | 9 +- spm/__toolbox/__DEM/spm_COVID_plot.py | 9 +- spm/__toolbox/__DEM/spm_COVID_priors.py | 9 +- spm/__toolbox/__DEM/spm_COVID_priors_R.py | 9 +- spm/__toolbox/__DEM/spm_COVID_table.py | 9 +- spm/__toolbox/__DEM/spm_DEM_ButtonDownFcn.py | 9 +- spm/__toolbox/__DEM/spm_DEM_EEG.py | 9 +- spm/__toolbox/__DEM/spm_DEM_G.py | 27 + spm/__toolbox/__DEM/spm_DEM_M.py | 9 +- spm/__toolbox/__DEM/spm_DEM_MEG.py | 9 +- spm/__toolbox/__DEM/spm_DEM_T.py | 9 +- spm/__toolbox/__DEM/spm_DEM_basis.py | 9 +- spm/__toolbox/__DEM/spm_DEM_embed_path.py | 28 + spm/__toolbox/__DEM/spm_DEM_movie.py | 9 +- spm/__toolbox/__DEM/spm_DEM_play.py | 9 +- spm/__toolbox/__DEM/spm_DEM_play_song.py | 9 +- spm/__toolbox/__DEM/spm_DEM_qC.py | 9 +- spm/__toolbox/__DEM/spm_Lap2Lorenz.py | 11 +- .../__DEM/spm_MB_structure_learning.py | 33 + spm/__toolbox/__DEM/spm_MDP.py | 23 +- spm/__toolbox/__DEM/spm_MDP_BMR.py | 27 + spm/__toolbox/__DEM/spm_MDP_DEM.py | 9 +- spm/__toolbox/__DEM/spm_MDP_DP.py | 9 +- spm/__toolbox/__DEM/spm_MDP_F.py | 9 +- spm/__toolbox/__DEM/spm_MDP_G.py | 9 +- spm/__toolbox/__DEM/spm_MDP_L.py | 9 +- spm/__toolbox/__DEM/spm_MDP_VB.py | 9 +- spm/__toolbox/__DEM/spm_MDP_VB_ERP.py | 9 +- spm/__toolbox/__DEM/spm_MDP_VB_LFP.py | 9 +- spm/__toolbox/__DEM/spm_MDP_VB_X.py | 9 +- spm/__toolbox/__DEM/spm_MDP_VB_XX.py | 9 +- spm/__toolbox/__DEM/spm_MDP_VB_XXX.py | 136 ++-- spm/__toolbox/__DEM/spm_MDP_VB_game.py | 9 +- spm/__toolbox/__DEM/spm_MDP_VB_sleep.py | 11 +- spm/__toolbox/__DEM/spm_MDP_VB_trial.py | 13 +- spm/__toolbox/__DEM/spm_MDP_VB_update.py | 12 +- spm/__toolbox/__DEM/spm_MDP_arcade.py | 32 + spm/__toolbox/__DEM/spm_MDP_breakout.py | 33 + spm/__toolbox/__DEM/spm_MDP_check.py | 9 +- spm/__toolbox/__DEM/spm_MDP_checkX.py | 36 + spm/__toolbox/__DEM/spm_MDP_check_labels.py | 31 + spm/__toolbox/__DEM/spm_MDP_conv.py | 40 ++ spm/__toolbox/__DEM/spm_MDP_factor_graph.py | 9 +- spm/__toolbox/__DEM/spm_MDP_game.py | 9 +- spm/__toolbox/__DEM/spm_MDP_game_KL.py | 9 +- spm/__toolbox/__DEM/spm_MDP_game_optimism.py | 9 +- spm/__toolbox/__DEM/spm_MDP_generate.py | 52 ++ spm/__toolbox/__DEM/spm_MDP_link.py | 9 +- spm/__toolbox/__DEM/spm_MDP_log_evidence.py | 19 +- spm/__toolbox/__DEM/spm_MDP_mountain_car.py | 9 +- spm/__toolbox/__DEM/spm_MDP_offer.py | 9 +- spm/__toolbox/__DEM/spm_MDP_params.py | 22 + spm/__toolbox/__DEM/spm_MDP_plot.py | 9 +- spm/__toolbox/__DEM/spm_MDP_pong.py | 36 + spm/__toolbox/__DEM/spm_MDP_rules.py | 38 + spm/__toolbox/__DEM/spm_MDP_size.py | 11 +- .../__DEM/spm_MDP_structure_learning.py | 56 +- .../__DEM/spm_MDP_structure_teaching.py | 49 ++ spm/__toolbox/__DEM/spm_MDP_trust.py | 9 +- spm/__toolbox/__DEM/spm_MDP_urn.py | 9 +- spm/__toolbox/__DEM/spm_NESS_constraints.py | 14 +- spm/__toolbox/__DEM/spm_NESS_forecast.py | 35 + spm/__toolbox/__DEM/spm_NESS_forecasting.py | 35 + spm/__toolbox/__DEM/spm_NESS_forecastness.py | 35 + spm/__toolbox/__DEM/spm_O2rgb.py | 29 + spm/__toolbox/__DEM/spm_O2wav.py | 30 + spm/__toolbox/__DEM/spm_Q2mdp.py | 26 + spm/__toolbox/__DEM/spm_RDP_MI.py | 31 + spm/__toolbox/__DEM/spm_RDP_O.py | 22 + spm/__toolbox/__DEM/spm_RDP_basin.py | 38 + spm/__toolbox/__DEM/spm_RDP_compress.py | 32 + spm/__toolbox/__DEM/spm_RDP_ness.py | 36 + spm/__toolbox/__DEM/spm_RDP_params.py | 20 + spm/__toolbox/__DEM/spm_RDP_prune.py | 30 + spm/__toolbox/__DEM/spm_RDP_radius.py | 40 ++ spm/__toolbox/__DEM/spm_RDP_reduce.py | 33 + spm/__toolbox/__DEM/spm_RDP_sort.py | 35 + spm/__toolbox/__DEM/spm_RDP_update.py | 22 + spm/__toolbox/__DEM/spm_SARS_ci.py | 9 +- spm/__toolbox/__DEM/spm_SARS_gen.py | 9 +- spm/__toolbox/__DEM/spm_SARS_plot.py | 9 +- spm/__toolbox/__DEM/spm_SARS_priors.py | 9 +- spm/__toolbox/__DEM/spm_SARS_priors_B.py | 9 +- spm/__toolbox/__DEM/spm_SCK.py | 9 +- spm/__toolbox/__DEM/spm_SHC_fx.py | 9 +- spm/__toolbox/__DEM/spm_VBX.py | 38 + spm/__toolbox/__DEM/spm_VB_XXX.py | 25 + spm/__toolbox/__DEM/spm_check_edges.py | 39 ++ spm/__toolbox/__DEM/spm_clear.py | 18 + spm/__toolbox/__DEM/spm_cornsweet.py | 9 +- spm/__toolbox/__DEM/spm_cost_SHC_fx.py | 9 +- spm/__toolbox/__DEM/spm_cost_SHC_fxa.py | 9 +- spm/__toolbox/__DEM/spm_cost_SHC_path.py | 9 +- spm/__toolbox/__DEM/spm_cost_fx.py | 9 +- spm/__toolbox/__DEM/spm_cost_fxa.py | 9 +- spm/__toolbox/__DEM/spm_daisy_chain.py | 35 + spm/__toolbox/__DEM/spm_dem_ERP.py | 9 +- spm/__toolbox/__DEM/spm_dem_cue_movie.py | 9 +- spm/__toolbox/__DEM/spm_dem_initialise.py | 9 +- spm/__toolbox/__DEM/spm_dem_mdp_movie.py | 9 +- .../__DEM/spm_dem_occlusion_movie.py | 9 +- spm/__toolbox/__DEM/spm_dem_pursuit_movie.py | 9 +- spm/__toolbox/__DEM/spm_dem_reach_movie.py | 9 +- spm/__toolbox/__DEM/spm_dem_reach_plot.py | 9 +- spm/__toolbox/__DEM/spm_dem_reach_x2J.py | 9 +- spm/__toolbox/__DEM/spm_dem_search_movie.py | 9 +- spm/__toolbox/__DEM/spm_dem_search_plot.py | 9 +- .../__DEM/spm_dem_search_trajectory.py | 9 +- spm/__toolbox/__DEM/spm_dem_set_movie.py | 9 +- spm/__toolbox/__DEM/spm_diff_all.py | 9 +- spm/__toolbox/__DEM/spm_dir_disentangle.py | 30 + spm/__toolbox/__DEM/spm_dir_orbits.py | 32 + spm/__toolbox/__DEM/spm_dir_orbits3.py | 29 + spm/__toolbox/__DEM/spm_dir_reduce.py | 32 + spm/__toolbox/__DEM/spm_edges.py | 54 ++ .../__DEM/spm_fast_structure_learning.py | 31 + .../__DEM/spm_faster_structure_learning.py | 43 ++ spm/__toolbox/__DEM/spm_find_internal.py | 9 +- spm/__toolbox/__DEM/spm_fx_Gabor.py | 9 +- spm/__toolbox/__DEM/spm_fx_Lagrangian.py | 9 +- spm/__toolbox/__DEM/spm_fx_adem_cue.py | 9 +- spm/__toolbox/__DEM/spm_fx_adem_pursuit.py | 9 +- spm/__toolbox/__DEM/spm_fx_adem_reach.py | 9 +- spm/__toolbox/__DEM/spm_fx_adem_salience.py | 9 +- spm/__toolbox/__DEM/spm_fx_adem_write.py | 9 +- spm/__toolbox/__DEM/spm_fx_dem_cue.py | 9 +- spm/__toolbox/__DEM/spm_fx_dem_observe.py | 9 +- spm/__toolbox/__DEM/spm_fx_dem_pursuit.py | 9 +- spm/__toolbox/__DEM/spm_fx_dem_reach.py | 9 +- spm/__toolbox/__DEM/spm_fx_dem_salience.py | 9 +- spm/__toolbox/__DEM/spm_fx_dem_write.py | 9 +- spm/__toolbox/__DEM/spm_fx_hdm_sck.py | 9 +- spm/__toolbox/__DEM/spm_fx_mountaincar.py | 9 +- spm/__toolbox/__DEM/spm_fx_mountaincar_Q.py | 9 +- spm/__toolbox/__DEM/spm_gamma_log_evidence.py | 9 +- spm/__toolbox/__DEM/spm_get_episodes.py | 37 + spm/__toolbox/__DEM/spm_get_outcomes.py | 31 + spm/__toolbox/__DEM/spm_get_sequences.py | 29 + spm/__toolbox/__DEM/spm_gx_Gabor.py | 9 +- spm/__toolbox/__DEM/spm_gx_SHC.py | 9 +- spm/__toolbox/__DEM/spm_gx_adem_cue.py | 9 +- spm/__toolbox/__DEM/spm_gx_adem_pursuit.py | 9 +- spm/__toolbox/__DEM/spm_gx_adem_reach.py | 9 +- spm/__toolbox/__DEM/spm_gx_adem_salience.py | 9 +- spm/__toolbox/__DEM/spm_gx_adem_write.py | 9 +- spm/__toolbox/__DEM/spm_gx_dem_cue.py | 9 +- spm/__toolbox/__DEM/spm_gx_dem_pursuit.py | 9 +- spm/__toolbox/__DEM/spm_gx_dem_reach.py | 9 +- spm/__toolbox/__DEM/spm_gx_dem_salience.py | 9 +- spm/__toolbox/__DEM/spm_gx_dem_write.py | 9 +- spm/__toolbox/__DEM/spm_gx_hdm_sck.py | 9 +- spm/__toolbox/__DEM/spm_ho_gm.py | 9 +- spm/__toolbox/__DEM/spm_ho_poly.py | 9 +- spm/__toolbox/__DEM/spm_i2p.py | 22 + spm/__toolbox/__DEM/spm_immune.py | 9 +- spm/__toolbox/__DEM/spm_immune_gen.py | 9 +- spm/__toolbox/__DEM/spm_immune_plot.py | 9 +- spm/__toolbox/__DEM/spm_immune_priors.py | 9 +- spm/__toolbox/__DEM/spm_imshow.py | 21 + spm/__toolbox/__DEM/spm_imwt.py | 23 + spm/__toolbox/__DEM/spm_index.py | 23 + .../__DEM/spm_information_distance.py | 30 + spm/__toolbox/__DEM/spm_mc_fx.py | 9 +- spm/__toolbox/__DEM/spm_mc_fx_1.py | 9 +- spm/__toolbox/__DEM/spm_mc_fx_2.py | 9 +- spm/__toolbox/__DEM/spm_mc_fx_3.py | 9 +- spm/__toolbox/__DEM/spm_mc_fx_4.py | 9 +- spm/__toolbox/__DEM/spm_mc_fx_5.py | 9 +- spm/__toolbox/__DEM/spm_mc_fxa_4.py | 9 +- spm/__toolbox/__DEM/spm_mc_fxa_5.py | 9 +- spm/__toolbox/__DEM/spm_mc_loss_C.py | 9 +- spm/__toolbox/__DEM/spm_mc_loss_G.py | 9 +- spm/__toolbox/__DEM/spm_mdp2rdp.py | 51 ++ spm/__toolbox/__DEM/spm_mdp2rdp_a.py | 50 ++ spm/__toolbox/__DEM/spm_mdp_a2A.py | 29 + spm/__toolbox/__DEM/spm_mdp_compress.py | 27 + .../__DEM/spm_merge_structure_learning.py | 31 + spm/__toolbox/__DEM/spm_meta_model.py | 9 +- spm/__toolbox/__DEM/spm_mountaincar_Q.py | 9 +- spm/__toolbox/__DEM/spm_mountaincar_fun.py | 9 +- spm/__toolbox/__DEM/spm_mountaincar_movie.py | 9 +- .../__DEM/spm_multinomial_log_evidence.py | 9 +- spm/__toolbox/__DEM/spm_mwt.py | 25 + spm/__toolbox/__DEM/spm_parents.py | 57 ++ spm/__toolbox/__DEM/spm_portfolio.py | 27 + spm/__toolbox/__DEM/spm_rdp2mdp.py | 44 ++ spm/__toolbox/__DEM/spm_resolve.py | 34 + spm/__toolbox/__DEM/spm_rgb2O.py | 57 ++ spm/__toolbox/__DEM/spm_rgm_group.py | 33 + spm/__toolbox/__DEM/spm_salience_map.py | 9 +- spm/__toolbox/__DEM/spm_set_costs.py | 36 + spm/__toolbox/__DEM/spm_set_goals.py | 29 + spm/__toolbox/__DEM/spm_show_RGB.py | 32 + spm/__toolbox/__DEM/spm_show_RGM.py | 29 + spm/__toolbox/__DEM/spm_show_WAV.py | 31 + spm/__toolbox/__DEM/spm_sub2ind.py | 37 + spm/__toolbox/__DEM/spm_tile.py | 34 + spm/__toolbox/__DEM/spm_unique.py | 29 + spm/__toolbox/__DEM/spm_voice.py | 9 +- spm/__toolbox/__DEM/spm_voice_FS.py | 9 +- spm/__toolbox/__DEM/spm_voice_P300.py | 9 +- spm/__toolbox/__DEM/spm_voice_Q.py | 9 +- spm/__toolbox/__DEM/spm_voice_check.py | 9 +- spm/__toolbox/__DEM/spm_voice_dct.py | 9 +- spm/__toolbox/__DEM/spm_voice_ff.py | 9 +- spm/__toolbox/__DEM/spm_voice_filter.py | 9 +- spm/__toolbox/__DEM/spm_voice_frequency.py | 9 +- spm/__toolbox/__DEM/spm_voice_fundamental.py | 9 +- spm/__toolbox/__DEM/spm_voice_get_LEX.py | 9 +- spm/__toolbox/__DEM/spm_voice_get_next.py | 9 +- spm/__toolbox/__DEM/spm_voice_get_word.py | 9 +- spm/__toolbox/__DEM/spm_voice_get_xY.py | 9 +- spm/__toolbox/__DEM/spm_voice_i.py | 9 +- spm/__toolbox/__DEM/spm_voice_iQ.py | 9 +- spm/__toolbox/__DEM/spm_voice_identity.py | 9 +- spm/__toolbox/__DEM/spm_voice_iff.py | 9 +- spm/__toolbox/__DEM/spm_voice_likelihood.py | 9 +- spm/__toolbox/__DEM/spm_voice_onset.py | 9 +- spm/__toolbox/__DEM/spm_voice_onsets.py | 9 +- spm/__toolbox/__DEM/spm_voice_read.py | 9 +- spm/__toolbox/__DEM/spm_voice_repeat.py | 9 +- spm/__toolbox/__DEM/spm_voice_segmentation.py | 11 +- spm/__toolbox/__DEM/spm_voice_speak.py | 9 +- spm/__toolbox/__DEM/spm_voice_test.py | 9 +- spm/__toolbox/__DEM/spm_voice_warp.py | 9 +- spm/__toolbox/__DEM/spm_wav2O.py | 55 ++ spm/__toolbox/__DEM/spm_wavshow.py | 28 + spm/__toolbox/__FieldMap/FieldMap.py | 12 +- spm/__toolbox/__FieldMap/FieldMap_Run.py | 9 +- spm/__toolbox/__FieldMap/FieldMap_applyvdm.py | 9 +- spm/__toolbox/__FieldMap/FieldMap_create.py | 9 +- .../__FieldMap/FieldMap_preprocess.py | 9 +- spm/__toolbox/__FieldMap/__init__.py | 2 - spm/__toolbox/__FieldMap/pm_angvar.py | 9 +- spm/__toolbox/__FieldMap/pm_brain_mask.py | 9 +- .../__FieldMap/pm_create_connectogram.py | 9 +- spm/__toolbox/__FieldMap/pm_diff.py | 9 +- spm/__toolbox/__FieldMap/pm_estimate_ramp.py | 9 +- spm/__toolbox/__FieldMap/pm_ff_unwrap.py | 9 +- spm/__toolbox/__FieldMap/pm_get_defaults.py | 9 +- .../__FieldMap/pm_initial_regions.py | 9 +- .../__FieldMap/pm_invert_phasemap.py | 9 +- spm/__toolbox/__FieldMap/pm_make_fieldmap.py | 9 +- spm/__toolbox/__FieldMap/pm_mask.py | 9 +- spm/__toolbox/__FieldMap/pm_merge_regions.py | 9 +- .../__FieldMap/pm_merge_regions_m.py | 9 +- spm/__toolbox/__FieldMap/pm_pad.py | 9 +- spm/__toolbox/__FieldMap/pm_restore_ramp.py | 9 +- spm/__toolbox/__FieldMap/pm_seed.py | 9 +- .../__FieldMap/pm_smooth_phasemap.py | 9 +- spm/__toolbox/__FieldMap/pm_unwrap.py | 9 +- spm/__toolbox/__FieldMap/tbx_cfg_fieldmap.py | 9 +- .../__Longitudinal/spm_compute_avg_mat.py | 9 +- spm/__toolbox/__Longitudinal/spm_dexpm.py | 9 +- .../__Longitudinal/spm_groupwise_ls.py | 9 +- spm/__toolbox/__Longitudinal/spm_meanm.py | 9 +- .../__Longitudinal/spm_noise_estimate.py | 9 +- spm/__toolbox/__Longitudinal/spm_pairwise.py | 9 +- .../__Longitudinal/spm_rice_mixture.py | 9 +- .../__Longitudinal/spm_series_align.py | 9 +- .../__Longitudinal/tbx_cfg_longitudinal.py | 9 +- spm/__toolbox/__MB/fil_fit.py | 9 +- spm/__toolbox/__MB/fil_install.py | 9 +- spm/__toolbox/__MB/fil_io.py | 9 +- spm/__toolbox/__MB/fil_label.py | 9 +- spm/__toolbox/__MB/fil_prec.py | 9 +- spm/__toolbox/__MB/fil_prune.py | 9 +- spm/__toolbox/__MB/fil_push_train_data.py | 9 +- spm/__toolbox/__MB/fil_subvol.py | 9 +- spm/__toolbox/__MB/fil_train.py | 9 +- spm/__toolbox/__MB/spm_label.py | 9 +- spm/__toolbox/__MB/spm_mb_appearance.py | 9 +- spm/__toolbox/__MB/spm_mb_classes.py | 9 +- spm/__toolbox/__MB/spm_mb_fit.py | 9 +- spm/__toolbox/__MB/spm_mb_gmm.py | 9 +- spm/__toolbox/__MB/spm_mb_init.py | 9 +- spm/__toolbox/__MB/spm_mb_io.py | 9 +- spm/__toolbox/__MB/spm_mb_merge.py | 9 +- spm/__toolbox/__MB/spm_mb_output.py | 9 +- spm/__toolbox/__MB/spm_mb_shape.py | 9 +- spm/__toolbox/__MB/spm_mbnorm.py | 9 +- spm/__toolbox/__MB/tbx_cfg_mb.py | 9 +- spm/__toolbox/__MEEGtools/__init__.py | 8 + spm/__toolbox/__MEEGtools/_bst_prctile.py | 9 +- spm/__toolbox/__MEEGtools/_bst_progress.py | 9 +- spm/__toolbox/__MEEGtools/_macro_method.py | 9 +- spm/__toolbox/__MEEGtools/_process_fooof.py | 9 +- spm/__toolbox/__MEEGtools/spm_MEEGtools.py | 9 +- .../__MEEGtools/spm_create_labels.py | 9 +- .../__MEEGtools/spm_eeg_bst_fooof.py | 9 +- .../__MEEGtools/spm_eeg_cont_power.py | 9 +- .../spm_eeg_ctf_synth_gradiometer.py | 9 +- .../__MEEGtools/spm_eeg_dipole_waveforms.py | 9 +- .../__MEEGtools/spm_eeg_erp_correction.py | 9 +- spm/__toolbox/__MEEGtools/spm_eeg_ffilter.py | 12 +- .../__MEEGtools/spm_eeg_fix_ctf_headloc.py | 9 +- .../__MEEGtools/spm_eeg_ft_artefact_visual.py | 9 +- .../__MEEGtools/spm_eeg_ft_datareg_manual.py | 9 +- .../__MEEGtools/spm_eeg_ft_megplanar.py | 9 +- .../spm_eeg_ft_multitaper_coherence.py | 9 +- spm/__toolbox/__MEEGtools/spm_eeg_headplot.py | 9 +- spm/__toolbox/__MEEGtools/spm_eeg_img2maps.py | 9 +- .../spm_eeg_interpolate_artefact.py | 10 +- .../__MEEGtools/spm_eeg_inv_optireg.py | 9 +- .../__MEEGtools/spm_eeg_megheadloc.py | 9 +- .../__MEEGtools/spm_eeg_recode_epoched_ctf.py | 9 +- .../spm_eeg_remove_dbs_artefact.py | 34 + .../__MEEGtools/spm_eeg_remove_jumps.py | 9 +- .../__MEEGtools/spm_eeg_remove_spikes.py | 9 +- .../__MEEGtools/spm_eeg_reref_eeg.py | 9 +- .../__MEEGtools/spm_eeg_split_conditions.py | 9 +- .../__MEEGtools/spm_eeg_tms_correct.py | 9 +- .../__MEEGtools/spm_eeg_transform_cap.py | 9 +- .../__MEEGtools/spm_eeg_var_measures.py | 9 +- .../__MEEGtools/spm_mesh_pack_points.py | 9 +- .../__MEEGtools/spm_opm_apply_calibration.py | 37 + .../spm_opm_calibrate_from_coils.py | 133 ++++ spm/__toolbox/__MEEGtools/spm_opm_create.py | 9 +- .../__MEEGtools/spm_opm_epoch_trigger.py | 9 +- .../__MEEGtools/spm_opm_headmodel.py | 9 +- spm/__toolbox/__MEEGtools/spm_opm_hfc.py | 9 +- spm/__toolbox/__MEEGtools/spm_opm_opreg.py | 26 +- .../__MEEGtools/spm_opm_plotScalpData.py | 11 +- spm/__toolbox/__MEEGtools/spm_opm_psd.py | 24 +- spm/__toolbox/__MEEGtools/spm_opm_read_lvm.py | 9 +- spm/__toolbox/__MEEGtools/spm_opm_rpsd.py | 9 +- spm/__toolbox/__MEEGtools/spm_opm_sim.py | 9 +- spm/__toolbox/__MEEGtools/spm_opm_ssp.py | 47 ++ .../__MEEGtools/spm_opm_synth_gradiometer.py | 9 +- spm/__toolbox/__MEEGtools/spm_opm_vslm.py | 9 +- spm/__toolbox/__NVC/spm_dcm_nvc.py | 9 +- spm/__toolbox/__NVC/spm_dcm_nvc_nd.py | 9 +- spm/__toolbox/__NVC/spm_dcm_nvc_priors.py | 9 +- spm/__toolbox/__NVC/spm_dcm_nvc_specify.py | 9 +- spm/__toolbox/__NVC/spm_fx_cmc_tfm_gen.py | 9 +- spm/__toolbox/__NVC/spm_gen_par.py | 9 +- spm/__toolbox/__NVC/spm_nvc_gen.py | 9 +- .../__Neural_Models/DEMO_dcm_fmri_nnm.py | 9 +- .../DEMO_model_reduction_ERP.py | 9 +- .../__Neural_Models/DEMO_tvec_csd_sim.py | 9 +- .../__Neural_Models/DEMO_tvec_erp_mmn.py | 9 +- .../__Neural_Models/DEMO_tvec_erp_sim.py | 9 +- spm/__toolbox/__Neural_Models/Neural_demo.py | 9 +- spm/__toolbox/__Neural_Models/ROBOT_NMM.py | 9 +- .../spm_csd_mtf_plot_pole_zero.py | 9 +- .../__NMDA_NMM_MFM/spm_dcm_x_neural_NMDA.py | 9 +- .../__NMDA_NMM_MFM/spm_fx_NMDA.py | 9 +- .../__NMDA_NMM_MFM/spm_fx_mfm_NMDA.py | 9 +- .../__NMDA_NMM_MFM/spm_lfp_mtf_sample.py | 9 +- .../__NMDA_NMM_MFM/spm_nmm_priors_NMDA.py | 9 +- .../__NMDA_NMM_MFM/spm_x_mfm_NMDA.py | 9 +- spm/__toolbox/__Neural_Models/spm_csd_demo.py | 9 +- .../spm_dcm_Granger_asymmetry_demo.py | 9 +- .../__Neural_Models/spm_dcm_Granger_demo.py | 9 +- .../spm_dcm_prior_responses.py | 9 +- .../__Neural_Models/spm_delays_demo.py | 9 +- .../__Neural_Models/spm_demo_proceed.py | 9 +- .../__Neural_Models/spm_erp2csd_demo.py | 9 +- spm/__toolbox/__Neural_Models/spm_freqs.py | 9 +- spm/__toolbox/__Neural_Models/spm_fx_hh.py | 9 +- spm/__toolbox/__Neural_Models/spm_fx_lfp.py | 9 +- .../__Neural_Models/spm_fx_mfm_ensemble.py | 9 +- spm/__toolbox/__Neural_Models/spm_gx_hh.py | 9 +- spm/__toolbox/__Neural_Models/spm_gx_mfm.py | 9 +- spm/__toolbox/__Neural_Models/spm_ind_demo.py | 9 +- .../__Neural_Models/spm_induced_optimise.py | 9 +- .../spm_induced_optimise_parameters.py | 9 +- spm/__toolbox/__Neural_Models/spm_lfp_demo.py | 9 +- spm/__toolbox/__Neural_Models/spm_lfp_log.py | 9 +- spm/__toolbox/__Neural_Models/spm_lfp_mtf.py | 9 +- .../__Neural_Models/spm_lfp_priors.py | 9 +- spm/__toolbox/__Neural_Models/spm_lfp_sqrt.py | 9 +- spm/__toolbox/__Neural_Models/spm_mfa.py | 9 +- spm/__toolbox/__Neural_Models/spm_mfa_G.py | 9 +- spm/__toolbox/__Neural_Models/spm_mfa_bi.py | 9 +- .../__Neural_Models/spm_mfa_bi_multi.py | 9 +- spm/__toolbox/__Neural_Models/spm_mfa_demo.py | 9 +- spm/__toolbox/__Neural_Models/spm_mfm_demo.py | 9 +- spm/__toolbox/__Neural_Models/spm_mtf_demo.py | 9 +- spm/__toolbox/__Neural_Models/spm_neil.py | 9 +- .../spm_nested_oscillations_demo.py | 9 +- .../__Neural_Models/spm_nmda_priors.py | 9 +- spm/__toolbox/__Neural_Models/spm_opt_bfun.py | 9 +- .../__Neural_Models/spm_seizure_demo.py | 9 +- .../__Neural_Models/spm_sigmoid_demo.py | 9 +- spm/__toolbox/__OldNorm/spm_affreg.py | 9 +- spm/__toolbox/__OldNorm/spm_brainwarp.py | 9 +- spm/__toolbox/__OldNorm/spm_cfg_normalise.py | 9 +- spm/__toolbox/__OldNorm/spm_get_orig_coord.py | 9 +- spm/__toolbox/__OldNorm/spm_normalise.py | 9 +- spm/__toolbox/__OldNorm/spm_normalise_disp.py | 9 +- spm/__toolbox/__OldNorm/spm_run_normalise.py | 9 +- spm/__toolbox/__OldNorm/spm_write_sn.py | 9 +- spm/__toolbox/__OldSeg/spm_cfg_preproc.py | 9 +- spm/__toolbox/__OldSeg/spm_invdef.py | 9 +- spm/__toolbox/__OldSeg/spm_load_priors.py | 9 +- spm/__toolbox/__OldSeg/spm_maff.py | 9 +- spm/__toolbox/__OldSeg/spm_prep2sn.py | 9 +- spm/__toolbox/__OldSeg/spm_preproc_write.py | 9 +- spm/__toolbox/__OldSeg/spm_run_preproc.py | 9 +- spm/__toolbox/__OldSeg/spm_sample_priors.py | 9 +- spm/__toolbox/__SPEM_and_DCM/spm_SEM_gen.py | 9 +- .../__SPEM_and_DCM/spm_SEM_gen_full.py | 9 +- spm/__toolbox/__SPEM_and_DCM/spm_dcm_spem.py | 9 +- .../__SPEM_and_DCM/spm_dcm_spem_data.py | 11 +- .../__SPEM_and_DCM/spm_dcm_spem_results.py | 9 +- spm/__toolbox/__SRender/spm_sextract.py | 9 +- spm/__toolbox/__SRender/spm_srender.py | 9 +- spm/__toolbox/__SRender/tbx_cfg_render.py | 9 +- spm/__toolbox/__Shoot/covLin.py | 9 +- spm/__toolbox/__Shoot/spm_GPclass.py | 9 +- spm/__toolbox/__Shoot/spm_def2sparse.py | 9 +- spm/__toolbox/__Shoot/spm_dotprods2.py | 9 +- spm/__toolbox/__Shoot/spm_lincom.py | 9 +- spm/__toolbox/__Shoot/spm_shoot3d.py | 9 +- spm/__toolbox/__Shoot/spm_shoot3di.py | 9 +- spm/__toolbox/__Shoot/spm_shoot_blur.py | 9 +- spm/__toolbox/__Shoot/spm_shoot_defaults.py | 9 +- spm/__toolbox/__Shoot/spm_shoot_divergence.py | 9 +- spm/__toolbox/__Shoot/spm_shoot_greens.py | 9 +- spm/__toolbox/__Shoot/spm_shoot_kernel.py | 9 +- spm/__toolbox/__Shoot/spm_shoot_norm.py | 11 +- spm/__toolbox/__Shoot/spm_shoot_scalmom.py | 9 +- spm/__toolbox/__Shoot/spm_shoot_template.py | 9 +- spm/__toolbox/__Shoot/spm_shoot_update.py | 9 +- spm/__toolbox/__Shoot/spm_shoot_warp.py | 9 +- spm/__toolbox/__Shoot/tbx_cfg_shoot.py | 9 +- spm/__toolbox/__Spatial/__init__.py | 20 +- spm/__toolbox/__Spatial/_getthreads.py | 9 +- spm/__toolbox/__Spatial/_loadlib.py | 9 +- spm/__toolbox/__Spatial/_ptxlocation.py | 9 +- spm/__toolbox/__Spatial/_threadblocks.py | 9 +- spm/__toolbox/__Spatial/lbessi.py | 9 +- spm/__toolbox/__Spatial/pp_settings.py | 9 +- spm/__toolbox/__Spatial/pull.py | 9 +- spm/__toolbox/__Spatial/pullg.py | 9 +- spm/__toolbox/__Spatial/push.py | 9 +- spm/__toolbox/__Spatial/spm_TVdenoise.py | 9 +- spm/__toolbox/__Spatial/spm_TVdenoise2.py | 9 +- .../__Spatial/spm_TVdenoise_config.py | 9 +- spm/__toolbox/__Spatial/spm_dctdst.py | 9 +- spm/__toolbox/__Spatial/spm_depth.py | 89 +-- spm/__toolbox/__Spatial/spm_distance3.py | 43 +- .../__Spatial/spm_est_vdm_from_phase.py | 42 ++ spm/__toolbox/__Spatial/spm_julia.py | 45 ++ .../__Spatial/spm_mask_from_segments.py | 29 + spm/__toolbox/__Spatial/spm_run_denoise.py | 9 +- spm/__toolbox/__Spatial/spm_scope.py | 14 +- spm/__toolbox/__Spatial/spm_scope_config.py | 9 +- spm/__toolbox/__Spatial/spm_slice2vol.py | 9 +- .../__Spatial/spm_slice2vol_config.py | 9 +- .../__Spatial/spm_slice2vol_estimate.py | 9 +- .../__Spatial/spm_slice2vol_reslice.py | 9 +- spm/__toolbox/__Spatial/spm_smooth_extrap.py | 29 + spm/__toolbox/__Spatial/spm_thin.py | 31 +- spm/__toolbox/__Spatial/spm_topo_lookup.py | 39 +- spm/__toolbox/__Spatial/tbx_cfg_spatial.py | 9 +- spm/__toolbox/__TSSS/_fiff_getpos.py | 9 +- spm/__toolbox/__TSSS/_fiff_getpos_ctf.py | 9 +- spm/__toolbox/__TSSS/_ft_getpos.py | 9 +- spm/__toolbox/__TSSS/_origheader_getpos.py | 9 +- spm/__toolbox/__TSSS/tbx_cfg_tsss.py | 9 +- spm/__toolbox/__TSSS/tsss_config.py | 9 +- .../__TSSS/tsss_config_momentspace.py | 9 +- spm/__toolbox/__TSSS/tsss_spm_enm.py | 9 +- spm/__toolbox/__TSSS/tsss_spm_momentspace.py | 9 +- .../__mmclab/estimate_greens_mmclab.py | 9 +- .../__dcm_fnirs/spm_dcm_fnirs_estimate.py | 9 +- .../__dcm_fnirs/spm_dcm_fnirs_params.py | 9 +- .../__dcm_fnirs/spm_dcm_fnirs_priors.py | 9 +- .../__dcm_fnirs/spm_dcm_fnirs_specify.py | 9 +- .../spm_dcm_fnirs_viewer_result.py | 9 +- .../__dcm_fnirs/spm_fnirs_sensitivity.py | 9 +- .../__dcm_fnirs/spm_fnirs_viewer_sensor.py | 9 +- spm/__toolbox/__dcm_fnirs/spm_fnirs_wavg.py | 9 +- spm/__toolbox/__dcm_fnirs/spm_fx_fnirs.py | 9 +- spm/__toolbox/__dcm_fnirs/spm_gx_fnirs.py | 9 +- .../__dcm_fnirs/spm_gx_state_fnirs.py | 9 +- spm/__toolbox/__dcm_meeg/spm_L_priors.py | 9 +- spm/__toolbox/__dcm_meeg/spm_api_erp.py | 9 +- spm/__toolbox/__dcm_meeg/spm_api_nmm.py | 9 +- spm/__toolbox/__dcm_meeg/spm_bgt_priors.py | 9 +- spm/__toolbox/__dcm_meeg/spm_cmc_priors.py | 9 +- .../__dcm_meeg/spm_cmm_NMDA_priors.py | 9 +- spm/__toolbox/__dcm_meeg/spm_cmm_priors.py | 9 +- spm/__toolbox/__dcm_meeg/spm_csd_chf.py | 9 +- spm/__toolbox/__dcm_meeg/spm_csd_int.py | 9 +- spm/__toolbox/__dcm_meeg/spm_csd_int_IS.py | 9 +- spm/__toolbox/__dcm_meeg/spm_csd_mtf.py | 9 +- spm/__toolbox/__dcm_meeg/spm_csd_mtf_gu.py | 9 +- spm/__toolbox/__dcm_meeg/spm_dcm_csd.py | 9 +- spm/__toolbox/__dcm_meeg/spm_dcm_csd_data.py | 9 +- spm/__toolbox/__dcm_meeg/spm_dcm_csd_plot.py | 9 +- .../__dcm_meeg/spm_dcm_csd_priors.py | 9 +- .../__dcm_meeg/spm_dcm_csd_results.py | 9 +- .../__dcm_meeg/spm_dcm_csd_source_optimise.py | 9 +- .../__dcm_meeg/spm_dcm_csd_source_plot.py | 9 +- spm/__toolbox/__dcm_meeg/spm_dcm_dem.py | 9 +- .../__dcm_meeg/spm_dcm_eeg_channelmodes.py | 9 +- spm/__toolbox/__dcm_meeg/spm_dcm_erp.py | 9 +- spm/__toolbox/__dcm_meeg/spm_dcm_erp_bma.py | 9 +- spm/__toolbox/__dcm_meeg/spm_dcm_erp_data.py | 9 +- .../__dcm_meeg/spm_dcm_erp_dipfit.py | 9 +- spm/__toolbox/__dcm_meeg/spm_dcm_erp_plot.py | 9 +- .../__dcm_meeg/spm_dcm_erp_results.py | 9 +- .../__dcm_meeg/spm_dcm_erp_sensitivity.py | 9 +- .../__dcm_meeg/spm_dcm_erp_update.py | 9 +- .../__dcm_meeg/spm_dcm_erp_viewspatial.py | 9 +- spm/__toolbox/__dcm_meeg/spm_dcm_ind.py | 9 +- spm/__toolbox/__dcm_meeg/spm_dcm_ind_data.py | 9 +- .../__dcm_meeg/spm_dcm_ind_results.py | 9 +- .../__dcm_meeg/spm_dcm_local_minima.py | 9 +- spm/__toolbox/__dcm_meeg/spm_dcm_lock.py | 9 +- .../__dcm_meeg/spm_dcm_neural_priors.py | 9 +- spm/__toolbox/__dcm_meeg/spm_dcm_neural_x.py | 9 +- spm/__toolbox/__dcm_meeg/spm_dcm_nfm.py | 9 +- spm/__toolbox/__dcm_meeg/spm_dcm_phase.py | 9 +- .../__dcm_meeg/spm_dcm_phase_data.py | 9 +- .../__dcm_meeg/spm_dcm_phase_results.py | 9 +- .../__dcm_meeg/spm_dcm_search_eeg.py | 9 +- spm/__toolbox/__dcm_meeg/spm_dcm_ssr.py | 9 +- spm/__toolbox/__dcm_meeg/spm_dcm_ssr_data.py | 9 +- .../__dcm_meeg/spm_dcm_ssr_results.py | 9 +- spm/__toolbox/__dcm_meeg/spm_dcm_symm.py | 9 +- spm/__toolbox/__dcm_meeg/spm_dcm_tfm.py | 9 +- spm/__toolbox/__dcm_meeg/spm_dcm_tfm_data.py | 9 +- .../__dcm_meeg/spm_dcm_tfm_data_nopad.py | 9 +- spm/__toolbox/__dcm_meeg/spm_dcm_tfm_image.py | 9 +- .../__dcm_meeg/spm_dcm_tfm_multimodal.py | 9 +- .../__dcm_meeg/spm_dcm_tfm_response.py | 9 +- .../__dcm_meeg/spm_dcm_tfm_results.py | 9 +- .../__dcm_meeg/spm_dcm_tfm_transfer.py | 9 +- .../__dcm_meeg/spm_dcm_virtual_electrodes.py | 9 +- spm/__toolbox/__dcm_meeg/spm_dcm_x_neural.py | 11 +- .../__dcm_meeg/spm_eeg_inv_ecd_DrawDip.py | 9 +- .../__dcm_meeg/spm_epileptor_demo.py | 9 +- spm/__toolbox/__dcm_meeg/spm_erp_L.py | 9 +- spm/__toolbox/__dcm_meeg/spm_erp_priors.py | 9 +- spm/__toolbox/__dcm_meeg/spm_erp_u.py | 9 +- spm/__toolbox/__dcm_meeg/spm_fp_cmc_tfm.py | 9 +- spm/__toolbox/__dcm_meeg/spm_fs_csd.py | 9 +- spm/__toolbox/__dcm_meeg/spm_fx_bgt.py | 9 +- spm/__toolbox/__dcm_meeg/spm_fx_cmc.py | 9 +- spm/__toolbox/__dcm_meeg/spm_fx_cmc_2014.py | 9 +- spm/__toolbox/__dcm_meeg/spm_fx_cmc_tfm.py | 9 +- spm/__toolbox/__dcm_meeg/spm_fx_cmm.py | 9 +- spm/__toolbox/__dcm_meeg/spm_fx_cmm_NMDA.py | 9 +- spm/__toolbox/__dcm_meeg/spm_fx_erp.py | 9 +- spm/__toolbox/__dcm_meeg/spm_fx_gen.py | 9 +- spm/__toolbox/__dcm_meeg/spm_fx_ind.py | 9 +- spm/__toolbox/__dcm_meeg/spm_fx_mfm.py | 9 +- spm/__toolbox/__dcm_meeg/spm_fx_mfm_D.py | 9 +- spm/__toolbox/__dcm_meeg/spm_fx_mmc.py | 9 +- spm/__toolbox/__dcm_meeg/spm_fx_nmda.py | 9 +- spm/__toolbox/__dcm_meeg/spm_fx_null.py | 9 +- spm/__toolbox/__dcm_meeg/spm_fx_phase.py | 9 +- spm/__toolbox/__dcm_meeg/spm_fx_sep.py | 9 +- spm/__toolbox/__dcm_meeg/spm_fx_tfm.py | 9 +- spm/__toolbox/__dcm_meeg/spm_fx_tfm_P.py | 9 +- spm/__toolbox/__dcm_meeg/spm_fy_erp.py | 9 +- spm/__toolbox/__dcm_meeg/spm_gen_Q.py | 9 +- spm/__toolbox/__dcm_meeg/spm_gen_erp.py | 9 +- spm/__toolbox/__dcm_meeg/spm_gen_ind.py | 9 +- spm/__toolbox/__dcm_meeg/spm_gen_phase.py | 9 +- spm/__toolbox/__dcm_meeg/spm_gx_erp.py | 9 +- spm/__toolbox/__dcm_meeg/spm_ind_priors.py | 9 +- spm/__toolbox/__dcm_meeg/spm_int_U.py | 9 +- spm/__toolbox/__dcm_meeg/spm_lx_dem.py | 9 +- spm/__toolbox/__dcm_meeg/spm_lx_erp.py | 9 +- spm/__toolbox/__dcm_meeg/spm_lx_ind.py | 9 +- spm/__toolbox/__dcm_meeg/spm_lx_phase.py | 9 +- spm/__toolbox/__dcm_meeg/spm_mg_switch.py | 9 +- spm/__toolbox/__dcm_meeg/spm_mmc_priors.py | 9 +- spm/__toolbox/__dcm_meeg/spm_nfm_mtf.py | 9 +- spm/__toolbox/__dcm_meeg/spm_nfm_priors.py | 9 +- spm/__toolbox/__dcm_meeg/spm_nmm_priors.py | 9 +- spm/__toolbox/__dcm_meeg/spm_null_priors.py | 9 +- spm/__toolbox/__dcm_meeg/spm_phase_priors.py | 9 +- spm/__toolbox/__dcm_meeg/spm_ssr_priors.py | 9 +- spm/__toolbox/__dcm_meeg/spm_tfm_priors.py | 9 +- spm/__toolbox/__dcm_meeg/spm_x_cmc.py | 9 +- spm/__toolbox/__dcm_meeg/spm_x_cmm.py | 9 +- spm/__toolbox/__dcm_meeg/spm_x_cmm_NMDA.py | 9 +- spm/__toolbox/__dcm_meeg/spm_x_erp.py | 9 +- spm/__toolbox/__dcm_meeg/spm_x_lfp.py | 9 +- spm/__toolbox/__dcm_meeg/spm_x_mfm.py | 9 +- spm/__toolbox/__dcm_meeg/spm_x_nmda.py | 9 +- spm/__toolbox/__dcm_meeg/spm_x_nmm.py | 9 +- spm/__toolbox/__init__.py | 320 ++++++++- .../__demo_gradients/mci_compare_forward.py | 9 +- .../__demo_gradients/mci_compare_gradients.py | 9 +- .../__demo_gradients/mci_compare_jacobians.py | 9 +- .../__mci/__gradients/mci_compare_setup.py | 9 +- .../__mci/__gradients/spm_mci_adjoint.py | 9 +- .../__mci/__gradients/spm_mci_adjoint_int.py | 9 +- .../__mci/__gradients/spm_mci_adjoint_sun.py | 9 +- .../__mci/__gradients/spm_mci_flow_sun.py | 9 +- .../__mci/__gradients/spm_mci_flow_t.py | 9 +- .../__mci/__gradients/spm_mci_fwd.py | 9 +- .../__mci/__gradients/spm_mci_grad_curve.py | 9 +- .../__mci/__gradients/spm_mci_joint.py | 9 +- .../__mci/__gradients/spm_mci_joint_grad.py | 9 +- .../__mci/__gradients/spm_mci_sens.py | 9 +- .../__mci/__gradients/spm_mci_sens_init.py | 9 +- .../__mci/__gradients/spm_mci_sens_sun.py | 9 +- .../__mci/__inference/spm_mci_ais.py | 9 +- .../__mci/__inference/spm_mci_ais_single.py | 9 +- .../__inference/spm_mci_ais_single_vl.py | 9 +- .../__mci/__inference/spm_mci_check.py | 9 +- .../__mci/__inference/spm_mci_diag.py | 9 +- .../__mci/__inference/spm_mci_diff.py | 9 +- .../__mci/__inference/spm_mci_ess.py | 9 +- .../__mci/__inference/spm_mci_fixed.py | 9 +- .../__mci/__inference/spm_mci_glike.py | 9 +- .../__mci/__inference/spm_mci_glike_deriv.py | 9 +- .../__mci/__inference/spm_mci_gprior_deriv.py | 9 +- .../__mci/__inference/spm_mci_init_flow.py | 9 +- .../__mci/__inference/spm_mci_isvl.py | 9 +- .../__mci/__inference/spm_mci_lgv.py | 9 +- .../__mci/__inference/spm_mci_lgv_vl.py | 9 +- .../__mci/__inference/spm_mci_like_ind.py | 9 +- .../__mci/__inference/spm_mci_mfx.py | 9 +- .../__mci/__inference/spm_mci_mfx_dynamic.py | 9 +- spm/__toolbox/__mci/__inference/spm_mci_mh.py | 9 +- .../__mci/__inference/spm_mci_mh_update.py | 9 +- .../__mci/__inference/spm_mci_minit.py | 9 +- .../__mci/__inference/spm_mci_mvnpost.py | 9 +- .../__mci/__inference/spm_mci_mvntest.py | 9 +- .../__mci/__inference/spm_mci_obsnoise.py | 9 +- .../__mci/__inference/spm_mci_phm.py | 9 +- .../__mci/__inference/spm_mci_pop.py | 9 +- .../__mci/__inference/spm_mci_popdef.py | 9 +- .../__mci/__inference/spm_mci_post.py | 9 +- .../__mci/__inference/spm_mci_postslices.py | 9 +- .../__mci/__inference/spm_mci_priors.py | 9 +- .../__mci/__inference/spm_mci_quantiles.py | 9 +- .../__mci/__inference/spm_mci_random.py | 9 +- .../__mci/__inference/spm_mci_report.py | 9 +- .../__mci/__inference/spm_mci_stat.py | 9 +- .../__mci/__inference/spm_mci_switch.py | 9 +- .../__mci/__inference/spm_mci_switch_prep.py | 9 +- .../__mci/__inference/spm_mci_update_cov.py | 9 +- .../__mci/__inference/spm_mci_vw_init.py | 9 +- spm/__toolbox/__mci/__inference/spm_mvtpdf.py | 9 +- spm/__toolbox/__mci/__inference/spm_nwcov.py | 9 +- spm/__toolbox/__mci/__inference/spm_nwpost.py | 9 +- spm/__toolbox/__mci/__inference/spm_nwrnd.py | 9 +- .../__mci/__inference/spm_wishrnd.py | 9 +- .../__models/__approach/mci_approach_deriv.py | 9 +- .../__models/__approach/mci_approach_gen.py | 9 +- .../__models/__approach/mci_approach_like.py | 9 +- .../__approach/mci_approach_struct.py | 9 +- .../__models/__discount/mci_discount_act.py | 9 +- .../__models/__discount/mci_discount_deriv.py | 9 +- .../__models/__discount/mci_discount_gen.py | 9 +- .../__models/__discount/mci_discount_like.py | 9 +- .../__discount/mci_discount_struct.py | 9 +- .../__mci/__models/__growth/mci_pb_deriv.py | 9 +- .../__mci/__models/__growth/mci_pb_gen.py | 9 +- .../__mci/__models/__growth/mci_pb_like.py | 9 +- .../__mci/__models/__growth/mci_pb_struct.py | 9 +- .../__mci/__models/__lds/mci_exp_init.py | 9 +- .../__mci/__models/__lds/mci_interp_init.py | 9 +- .../__mci/__models/__lds/mci_lds_dfdx.py | 9 +- .../__mci/__models/__lds/mci_lds_fx.py | 9 +- .../__mci/__models/__lds/mci_lds_gen.py | 9 +- .../__models/__lds/mci_lds_group_data.py | 9 +- .../__mci/__models/__lds/mci_lds_gx.py | 9 +- .../__mci/__models/__lds/mci_lds_lat2par.py | 9 +- .../__mci/__models/__lds/mci_lds_par2lat.py | 9 +- .../__mci/__models/__lds/mci_lds_params.py | 9 +- .../__models/__lds/mci_lds_plot_params.py | 9 +- .../__mci/__models/__lds/mci_lds_struct.py | 9 +- .../__models/__linear/mci_linear_deriv.py | 9 +- .../__mci/__models/__linear/mci_linear_gen.py | 9 +- .../__models/__linear/mci_linear_like.py | 9 +- .../__models/__linear/mci_linear_post.py | 9 +- .../__models/__linear/mci_linear_struct.py | 9 +- .../__models/__linsqr/mci_linsqr_deriv.py | 9 +- .../__mci/__models/__linsqr/mci_linsqr_gen.py | 9 +- .../__models/__linsqr/mci_linsqr_like.py | 9 +- .../__models/__linsqr/mci_linsqr_struct.py | 9 +- .../__models/__logistic/mci_logistic_act.py | 9 +- .../__models/__logistic/mci_logistic_deriv.py | 9 +- .../__models/__logistic/mci_logistic_gen.py | 9 +- .../__models/__logistic/mci_logistic_like.py | 9 +- .../__logistic/mci_logistic_struct.py | 9 +- .../__mci/__models/__nmm/mci_nmm_fx_delay.py | 9 +- .../__mci/__models/__nmm/mci_nmm_gen.py | 9 +- .../__mci/__models/__nmm/mci_nmm_params.py | 9 +- .../__mci/__models/__nmm/mci_nmm_r2_gx.py | 9 +- .../__mci/__models/__nmm/mci_nmm_r2p2_dfdp.py | 9 +- .../__mci/__models/__nmm/mci_nmm_r2p2_dfdx.py | 9 +- .../__mci/__models/__nmm/mci_nmm_r2p2_fx.py | 9 +- .../__mci/__models/__nmm/mci_nmm_r2p6_fx.py | 9 +- .../__mci/__models/__nmm/mci_nmm_struct.py | 9 +- .../__mci/__models/__phase/mci_phase_dfdp.py | 9 +- .../__mci/__models/__phase/mci_phase_dfdx.py | 9 +- .../__mci/__models/__phase/mci_phase_fx.py | 9 +- .../__mci/__models/__phase/mci_phase_gx.py | 9 +- .../__mci/__models/__phase/mci_phase_init.py | 9 +- .../__mci/__models/__phase/mci_rphase_dfdp.py | 9 +- .../__mci/__models/__phase/mci_rphase_dfdx.py | 9 +- .../__mci/__models/__phase/mci_rphase_fx.py | 9 +- .../__mci/__models/__phase/mci_rphase_gen.py | 9 +- .../__models/__phase/mci_rphase_struct.py | 9 +- .../__mci/__models/__ramsay/mci_ramsay_fx.py | 9 +- .../__mci/__models/__ramsay/mci_ramsay_gen.py | 9 +- .../__mci/__models/__ramsay/mci_ramsay_gx.py | 9 +- .../__models/__ramsay/mci_ramsay_struct.py | 9 +- .../__mci/__plotting/mci_plot_surface.py | 9 +- spm/__toolbox/__mixture/spm_MNpdf.py | 9 +- spm/__toolbox/__mixture/spm_boxcars.py | 9 +- spm/__toolbox/__mixture/spm_glm.py | 9 +- spm/__toolbox/__mixture/spm_kmeans.py | 9 +- spm/__toolbox/__mixture/spm_kmeans1.py | 9 +- spm/__toolbox/__mixture/spm_mix.py | 9 +- spm/__toolbox/__mixture/spm_mix_demo1d.py | 9 +- spm/__toolbox/__mixture/spm_rglm.py | 9 +- spm/__toolbox/__mixture/spm_samp_gauss.py | 9 +- spm/__toolbox/__mixture/spm_samp_mix.py | 9 +- spm/__toolbox/__mlm/spm_cva_compare.py | 9 +- spm/__toolbox/__mlm/spm_cva_prob.py | 9 +- spm/__toolbox/__mlm/spm_mlm_bayes.py | 9 +- spm/__toolbox/__mlm/spm_mlm_makecon.py | 9 +- spm/__toolbox/__mlm/spm_mlm_posthoc.py | 9 +- spm/__toolbox/__mlm/spm_pca_order.py | 9 +- spm/__toolbox/__mlm/spm_vpca.py | 9 +- spm/__toolbox/__mlm/spm_vpca_f.py | 9 +- spm/__toolbox/__mlm/spm_vpca_init.py | 9 +- spm/__toolbox/__mlm/spm_vpca_update.py | 9 +- spm/__toolbox/__spectral/spm_ar.py | 9 +- spm/__toolbox/__spectral/spm_ar_freq.py | 9 +- spm/__toolbox/__spectral/spm_ar_pred.py | 9 +- spm/__toolbox/__spectral/spm_ccf2coh.py | 9 +- spm/__toolbox/__spectral/spm_ccf2cor.py | 9 +- spm/__toolbox/__spectral/spm_ccf2csd.py | 9 +- spm/__toolbox/__spectral/spm_ccf2gew.py | 9 +- spm/__toolbox/__spectral/spm_ccf2mar.py | 9 +- spm/__toolbox/__spectral/spm_csd.py | 9 +- spm/__toolbox/__spectral/spm_csd2ccf.py | 9 +- spm/__toolbox/__spectral/spm_csd2coh.py | 9 +- spm/__toolbox/__spectral/spm_csd2gew.py | 9 +- spm/__toolbox/__spectral/spm_csd2mar.py | 9 +- spm/__toolbox/__spectral/spm_dcm2ssm.py | 9 +- spm/__toolbox/__spectral/spm_dpss.py | 9 +- spm/__toolbox/__spectral/spm_dtf2gew.py | 9 +- spm/__toolbox/__spectral/spm_get_omega.py | 9 +- spm/__toolbox/__spectral/spm_granger.py | 9 +- spm/__toolbox/__spectral/spm_ker2ccf.py | 9 +- spm/__toolbox/__spectral/spm_ker2coh.py | 9 +- spm/__toolbox/__spectral/spm_ker2csd.py | 9 +- spm/__toolbox/__spectral/spm_ker2mtf.py | 9 +- spm/__toolbox/__spectral/spm_kl_eig_normal.py | 9 +- spm/__toolbox/__spectral/spm_mar.py | 9 +- spm/__toolbox/__spectral/spm_mar2ccf.py | 9 +- spm/__toolbox/__spectral/spm_mar2coh.py | 9 +- spm/__toolbox/__spectral/spm_mar2csd.py | 9 +- spm/__toolbox/__spectral/spm_mar2gew.py | 9 +- spm/__toolbox/__spectral/spm_mar_conn.py | 9 +- spm/__toolbox/__spectral/spm_mar_gen.py | 9 +- spm/__toolbox/__spectral/spm_mar_pred.py | 9 +- spm/__toolbox/__spectral/spm_mar_prior.py | 9 +- spm/__toolbox/__spectral/spm_mar_spectra.py | 9 +- spm/__toolbox/__spectral/spm_mmtspec.py | 9 +- spm/__toolbox/__spectral/spm_mtf2ccf.py | 9 +- spm/__toolbox/__spectral/spm_mtf2coh.py | 9 +- spm/__toolbox/__spectral/spm_mtf2csd.py | 9 +- spm/__toolbox/__spectral/spm_mtf2gew.py | 9 +- spm/__toolbox/__spectral/spm_rar.py | 9 +- spm/__toolbox/__spectral/spm_spectral_plot.py | 9 +- spm/__toolbox/__spectral/spm_ssm2ccf.py | 9 +- spm/__toolbox/__spectral/spm_ssm2coh.py | 9 +- spm/__toolbox/__spectral/spm_ssm2csd.py | 9 +- spm/__toolbox/__spectral/spm_ssm2ker.py | 9 +- spm/__toolbox/__spectral/spm_ssm2mtf.py | 9 +- spm/__toolbox/__spectral/spm_wavspec.py | 9 +- spm/file_array.py | 333 ++++++--- spm/gifti.py | 252 ++++--- spm/meeg.py | 648 +++++++++++------ spm/nifti.py | 244 ++++--- spm/slover.py | 180 +++-- spm/spm.py | 9 +- spm/spm_ADEM.py | 30 +- spm/spm_ADEM_M_set.py | 9 +- spm/spm_ADEM_diff.py | 9 +- spm/spm_ADEM_set.py | 9 +- spm/spm_ADEM_update.py | 9 +- spm/spm_ALAP.py | 9 +- spm/spm_A_reduce.py | 9 +- spm/spm_BIDS.py | 9 +- spm/spm_BIDS_file.py | 43 +- spm/spm_BMS.py | 9 +- spm/spm_BMS_F.py | 9 +- spm/spm_BMS_F_smpl.py | 9 +- spm/spm_BMS_bor.py | 9 +- spm/spm_BMS_gibbs.py | 9 +- spm/spm_Bcdf.py | 9 +- spm/spm_Bpdf.py | 9 +- spm/spm_Ce.py | 9 +- spm/spm_DEM.py | 11 +- spm/spm_DEM_F.py | 9 +- spm/spm_DEM_M_set.py | 9 +- spm/spm_DEM_R.py | 9 +- spm/spm_DEM_diff.py | 9 +- spm/spm_DEM_embed.py | 11 +- spm/spm_DEM_eval.py | 9 +- spm/spm_DEM_eval_diff.py | 9 +- spm/spm_DEM_generate.py | 11 +- spm/spm_DEM_int.py | 9 +- spm/spm_DEM_qH.py | 9 +- spm/spm_DEM_qP.py | 9 +- spm/spm_DEM_qU.py | 9 +- spm/spm_DEM_set.py | 9 +- spm/spm_DEM_z.py | 9 +- spm/spm_DFP.py | 9 +- spm/spm_DFP_plot.py | 9 +- spm/spm_DesMtx.py | 9 +- spm/spm_DesRep.py | 9 +- spm/spm_DisplayTimeSeries.py | 9 +- spm/spm_Dpdf.py | 9 +- spm/spm_EC_density.py | 47 ++ spm/spm_ECdensity.py | 9 +- spm/spm_FcUtil.py | 9 +- spm/spm_Fcdf.py | 9 +- spm/spm_Fpdf.py | 9 +- spm/spm_GDEM.py | 9 +- spm/spm_Gcdf.py | 9 +- spm/spm_Gpdf.py | 9 +- spm/spm_Icdf.py | 9 +- spm/spm_Ipdf.py | 9 +- spm/spm_KL_cat.py | 11 +- spm/spm_KL_dir.py | 9 +- spm/spm_LAP.py | 15 +- spm/spm_LAPF.py | 9 +- spm/spm_LAPS.py | 9 +- spm/spm_LAP_F.py | 9 +- spm/spm_LAP_eval.py | 9 +- spm/spm_LAP_iS.py | 9 +- spm/spm_LAP_pg.py | 9 +- spm/spm_LAP_ph.py | 9 +- spm/spm_Laplace.py | 9 +- spm/spm_MB_col.py | 9 +- spm/spm_MDP_MI.py | 14 +- spm/spm_MDP_da.py | 9 +- spm/spm_MH.py | 9 +- spm/spm_MH_reml.py | 9 +- spm/spm_MH_reml_likelihood.py | 9 +- spm/spm_Markov_blanket.py | 9 +- spm/spm_Menu.py | 9 +- spm/spm_NESS_F.py | 9 +- spm/spm_NESS_ds.py | 12 +- spm/spm_NESS_gen.py | 9 +- spm/spm_NESS_gen_lap.py | 37 +- spm/spm_NESS_priors.py | 54 ++ spm/spm_Ncdf.py | 9 +- spm/spm_Ncdf_jdw.py | 9 +- spm/spm_Npdf.py | 9 +- spm/spm_P.py | 9 +- spm/spm_PEB.py | 9 +- spm/spm_P_Bonf.py | 9 +- spm/spm_P_FDR.py | 9 +- spm/spm_P_RF.py | 9 +- spm/spm_P_clusterFDR.py | 9 +- spm/spm_P_peakFDR.py | 9 +- spm/spm_Pcdf.py | 9 +- spm/spm_Pec_resels.py | 9 +- spm/spm_Ppdf.py | 9 +- spm/spm_Q.py | 9 +- spm/spm_Q_perm.py | 9 +- spm/spm_ROI.py | 9 +- spm/spm_SpUtil.py | 9 +- spm/spm_Tcdf.py | 9 +- spm/spm_Tpdf.py | 9 +- spm/spm_VOI.py | 9 +- spm/spm_Volt_W.py | 9 +- spm/spm_Volterra.py | 9 +- spm/spm_Welcome.py | 9 +- spm/spm_XYZreg.py | 9 +- spm/spm_XYZreg_Ex2.py | 9 +- spm/spm_Xcdf.py | 9 +- spm/spm_Xpdf.py | 9 +- spm/spm_affine_priors.py | 9 +- spm/spm_ancova.py | 9 +- spm/spm_api_bmc.py | 9 +- spm/spm_ar_reml.py | 9 +- spm/spm_argmax.py | 9 +- spm/spm_atlas.py | 9 +- spm/spm_authors.py | 9 +- spm/spm_axis.py | 9 +- spm/spm_barh.py | 9 +- spm/spm_bayes2_logbf.py | 9 +- spm/spm_beta_compare.py | 9 +- spm/spm_betaln.py | 9 +- spm/spm_bilinear.py | 9 +- spm/spm_bilinear_condition.py | 9 +- spm/spm_bireduce.py | 9 +- spm/spm_bms_against_null.py | 9 +- spm/spm_bms_anova.py | 9 +- spm/spm_bms_anova_img.py | 9 +- spm/spm_bms_compare_groups.py | 9 +- spm/spm_bms_display.py | 9 +- spm/spm_bms_display_ROI.py | 9 +- spm/spm_bms_display_vox.py | 9 +- spm/spm_bms_partition.py | 9 +- spm/spm_bms_test_null.py | 9 +- spm/spm_bms_ttest.py | 9 +- spm/spm_browser.py | 9 +- spm/spm_bsplinc.py | 9 +- spm/spm_bsplins.py | 9 +- spm/spm_bwlabel.py | 9 +- spm/spm_cat.py | 9 +- spm/spm_cat_struct.py | 9 +- spm/spm_cell_swap.py | 9 +- spm/spm_changepath.py | 9 +- spm/spm_check_filename.py | 9 +- spm/spm_check_installation.py | 10 +- spm/spm_check_orientations.py | 9 +- spm/spm_check_registration.py | 9 +- spm/spm_check_results.py | 9 +- spm/spm_check_version.py | 9 +- spm/spm_circularGraph.py | 9 +- spm/spm_clf.py | 9 +- spm/spm_cli.py | 9 +- spm/spm_clusters.py | 9 +- spm/spm_colourmap.py | 9 +- spm/spm_combinations.py | 11 +- spm/spm_compact_svd.py | 9 +- spm/spm_compare_families.py | 9 +- spm/spm_cond_units.py | 9 +- spm/spm_conman.py | 9 +- spm/spm_contrasts.py | 9 +- spm/spm_conv.py | 9 +- spm/spm_conv_full.py | 9 +- spm/spm_conv_vol.py | 9 +- spm/spm_convmtx.py | 9 +- spm/spm_copy.py | 9 +- spm/spm_coreg.py | 9 +- spm/spm_cov2corr.py | 9 +- spm/spm_create_vol.py | 9 +- spm/spm_cross.py | 15 +- spm/spm_csd_fmri_gu.py | 9 +- spm/spm_csd_fmri_mar.py | 9 +- spm/spm_csd_fmri_mtf.py | 9 +- spm/spm_cva.py | 9 +- spm/spm_cva_ui.py | 9 +- spm/spm_dartel_integrate.py | 9 +- spm/spm_data_hdr_read.py | 9 +- spm/spm_data_hdr_write.py | 9 +- spm/spm_data_id.py | 9 +- spm/spm_data_read.py | 9 +- spm/spm_data_write.py | 9 +- spm/spm_dcm_HMM.py | 9 +- spm/spm_dcm_HMM_plot.py | 9 +- spm/spm_dcm_J.py | 9 +- spm/spm_dcm_KL.py | 9 +- spm/spm_dcm_U.py | 9 +- spm/spm_dcm_average.py | 9 +- spm/spm_dcm_bdc.py | 9 +- spm/spm_dcm_bma.py | 9 +- spm/spm_dcm_bma_results.py | 9 +- spm/spm_dcm_bmc.py | 9 +- spm/spm_dcm_bmc_peb.py | 9 +- spm/spm_dcm_bmr.py | 9 +- spm/spm_dcm_bmr_all.py | 9 +- spm/spm_dcm_bpa.py | 9 +- spm/spm_dcm_check_stability.py | 9 +- spm/spm_dcm_compare.py | 9 +- spm/spm_dcm_connectivity_ui.py | 9 +- spm/spm_dcm_contrasts.py | 9 +- spm/spm_dcm_create.py | 9 +- spm/spm_dcm_csd_Q.py | 9 +- spm/spm_dcm_delay.py | 9 +- spm/spm_dcm_diagnose.py | 9 +- spm/spm_dcm_display.py | 9 +- spm/spm_dcm_estimate.py | 9 +- spm/spm_dcm_evidence.py | 9 +- spm/spm_dcm_fit.py | 9 +- spm/spm_dcm_fmri_check.py | 9 +- spm/spm_dcm_fmri_csd.py | 9 +- spm/spm_dcm_fmri_csd_DEM.py | 9 +- spm/spm_dcm_fmri_csd_data.py | 9 +- spm/spm_dcm_fmri_csd_gen.py | 9 +- spm/spm_dcm_fmri_csd_results.py | 9 +- spm/spm_dcm_fmri_graph_gen.py | 9 +- spm/spm_dcm_fmri_image.py | 9 +- spm/spm_dcm_fmri_mar.py | 9 +- spm/spm_dcm_fmri_mode.py | 9 +- spm/spm_dcm_fmri_mode_gen.py | 9 +- spm/spm_dcm_fmri_nmm.py | 9 +- spm/spm_dcm_fmri_priors.py | 9 +- spm/spm_dcm_generate.py | 9 +- spm/spm_dcm_graph.py | 9 +- spm/spm_dcm_graph_functional.py | 9 +- spm/spm_dcm_identify.py | 9 +- spm/spm_dcm_load.py | 9 +- spm/spm_dcm_loo.py | 9 +- spm/spm_dcm_mdp.py | 9 +- spm/spm_dcm_mtf.py | 9 +- spm/spm_dcm_optimise.py | 9 +- spm/spm_dcm_peb.py | 9 +- spm/spm_dcm_peb_bmc.py | 9 +- spm/spm_dcm_peb_bmc_fam.py | 9 +- spm/spm_dcm_peb_con.py | 9 +- spm/spm_dcm_peb_fit.py | 9 +- spm/spm_dcm_peb_full.py | 9 +- spm/spm_dcm_peb_review.py | 9 +- spm/spm_dcm_peb_rnd.py | 9 +- spm/spm_dcm_peb_rnd_search.py | 9 +- spm/spm_dcm_peb_test.py | 9 +- spm/spm_dcm_peb_to_gcm.py | 9 +- spm/spm_dcm_post_hoc.py | 9 +- spm/spm_dcm_post_hoc_old.py | 9 +- spm/spm_dcm_ppd.py | 9 +- spm/spm_dcm_reduce.py | 9 +- spm/spm_dcm_review.py | 9 +- spm/spm_dcm_search.py | 9 +- spm/spm_dcm_sessions.py | 9 +- spm/spm_dcm_simulate.py | 9 +- spm/spm_dcm_sparse.py | 9 +- spm/spm_dcm_sparse_priors.py | 9 +- spm/spm_dcm_specify.py | 9 +- spm/spm_dcm_specify_ui.py | 9 +- spm/spm_dcm_ui.py | 9 +- spm/spm_dcm_voi.py | 9 +- spm/spm_dctmtx.py | 9 +- spm/spm_ddiff.py | 9 +- spm/spm_deface.py | 9 +- spm/spm_defaults.py | 9 +- spm/spm_deformations.py | 9 +- spm/spm_dem2dcm.py | 9 +- spm/spm_design_contrasts.py | 9 +- spm/spm_design_factorial.py | 9 +- spm/spm_design_flexible.py | 9 +- spm/spm_design_within_subject.py | 9 +- spm/spm_detrend.py | 9 +- spm/spm_dftmtx.py | 9 +- spm/spm_diag.py | 9 +- spm/spm_diag_array.py | 9 +- spm/spm_dicom_convert.py | 11 +- spm/spm_dicom_essentials.py | 9 +- spm/spm_dicom_header.py | 9 +- spm/spm_dicom_headers.py | 9 +- spm/spm_dicom_metadata.py | 9 +- spm/spm_dicom_text_to_dict.py | 9 +- spm/spm_diff.py | 9 +- spm/spm_diff_dx.py | 9 +- spm/spm_diffeo.py | 9 +- spm/spm_dilate.py | 9 +- spm/spm_dir_H.py | 23 + spm/spm_dir_MI.py | 14 +- spm/spm_dir_norm.py | 9 +- spm/spm_dir_sort.py | 9 +- spm/spm_dirichlet_exceedance.py | 9 +- spm/spm_dot.py | 16 +- spm/spm_dwtmtx.py | 9 +- spm/spm_dx.py | 12 +- spm/spm_dx_eig.py | 9 +- spm/spm_ecat2nifti.py | 9 +- spm/spm_eeg_artefact.py | 9 +- spm/spm_eeg_artefact_events.py | 9 +- spm/spm_eeg_artefact_eyeblink.py | 9 +- spm/spm_eeg_artefact_flat.py | 9 +- spm/spm_eeg_artefact_heartbeat.py | 9 +- spm/spm_eeg_artefact_jump.py | 9 +- spm/spm_eeg_artefact_nans.py | 9 +- spm/spm_eeg_artefact_peak2peak.py | 9 +- spm/spm_eeg_artefact_saccade.py | 9 +- spm/spm_eeg_artefact_threshchan.py | 9 +- spm/spm_eeg_artefact_zscore.py | 9 +- spm/spm_eeg_artefact_zscorediff.py | 9 +- spm/spm_eeg_assemble_priors.py | 9 +- spm/spm_eeg_average.py | 9 +- spm/spm_eeg_average_TF.py | 9 +- spm/spm_eeg_avgfreq.py | 9 +- spm/spm_eeg_avgtime.py | 9 +- spm/spm_eeg_bc.py | 9 +- spm/spm_eeg_cfc.py | 9 +- spm/spm_eeg_collapse_timefreq.py | 9 +- spm/spm_eeg_combineplanar.py | 9 +- spm/spm_eeg_contrast.py | 9 +- spm/spm_eeg_convert.py | 9 +- spm/spm_eeg_convert2images.py | 9 +- spm/spm_eeg_convert_ui.py | 9 +- spm/spm_eeg_copy.py | 9 +- spm/spm_eeg_correct_sensor_data.py | 9 +- spm/spm_eeg_crop.py | 9 +- spm/spm_eeg_definetrial.py | 9 +- spm/spm_eeg_dipoles_ui.py | 9 +- spm/spm_eeg_displayECD.py | 9 +- spm/spm_eeg_display_tf.py | 9 +- spm/spm_eeg_downsample.py | 9 +- spm/spm_eeg_epochs.py | 9 +- spm/spm_eeg_filter.py | 9 +- spm/spm_eeg_firstlevel.py | 9 +- spm/spm_eeg_fixpnt.py | 9 +- spm/spm_eeg_ft2spm.py | 9 +- spm/spm_eeg_fuse.py | 9 +- spm/spm_eeg_grandmean.py | 9 +- spm/spm_eeg_history.py | 9 +- spm/spm_eeg_inv_Mesh2Voxels.py | 9 +- spm/spm_eeg_inv_check.py | 9 +- spm/spm_eeg_inv_checkdatareg.py | 9 +- spm/spm_eeg_inv_checkforward.py | 9 +- spm/spm_eeg_inv_checkmeshes.py | 9 +- spm/spm_eeg_inv_custom_ui.py | 9 +- spm/spm_eeg_inv_datareg.py | 9 +- spm/spm_eeg_inv_datareg_ui.py | 9 +- spm/spm_eeg_inv_extract.py | 9 +- spm/spm_eeg_inv_extract_ui.py | 9 +- spm/spm_eeg_inv_fmripriors.py | 9 +- spm/spm_eeg_inv_forward.py | 9 +- spm/spm_eeg_inv_forward_ui.py | 9 +- spm/spm_eeg_inv_get_vol_sens.py | 9 +- spm/spm_eeg_inv_group.py | 9 +- spm/spm_eeg_inv_headcoordinates.py | 9 +- spm/spm_eeg_inv_icp.py | 9 +- spm/spm_eeg_inv_imag_api.py | 9 +- spm/spm_eeg_inv_image_display.py | 9 +- spm/spm_eeg_inv_mesh.py | 9 +- spm/spm_eeg_inv_mesh_spherify.py | 9 +- spm/spm_eeg_inv_mesh_ui.py | 9 +- spm/spm_eeg_inv_prep_modes_xval.py | 27 +- spm/spm_eeg_inv_results.py | 9 +- spm/spm_eeg_inv_results_display.py | 9 +- spm/spm_eeg_inv_results_ui.py | 9 +- spm/spm_eeg_inv_rigidreg.py | 9 +- spm/spm_eeg_inv_spatnorm.py | 9 +- spm/spm_eeg_inv_transform_mesh.py | 9 +- spm/spm_eeg_inv_transform_points.py | 9 +- spm/spm_eeg_inv_vb_ecd_gui.py | 9 +- spm/spm_eeg_inv_vbecd.py | 9 +- spm/spm_eeg_inv_vbecd_disp.py | 9 +- spm/spm_eeg_inv_vbecd_getLF.py | 9 +- spm/spm_eeg_inv_vbecd_gui.py | 9 +- spm/spm_eeg_inv_vbecd_mom.py | 9 +- spm/spm_eeg_inv_visu3D_api.py | 9 +- spm/spm_eeg_invert.py | 9 +- spm/spm_eeg_invert_EBoptimise.py | 9 +- spm/spm_eeg_invert_bma.py | 9 +- spm/spm_eeg_invert_classic.py | 11 +- spm/spm_eeg_invert_classic_mix.py | 9 +- spm/spm_eeg_invert_classic_volumetric.py | 9 +- spm/spm_eeg_invert_display.py | 9 +- spm/spm_eeg_invert_prepro.py | 9 +- spm/spm_eeg_invert_setuppatches.py | 9 +- spm/spm_eeg_invert_ui.py | 9 +- spm/spm_eeg_invertiter.py | 9 +- spm/spm_eeg_lapmtx.py | 9 +- spm/spm_eeg_layout3D.py | 9 +- spm/spm_eeg_lgainmat.py | 9 +- spm/spm_eeg_load.py | 9 +- spm/spm_eeg_locate_channels.py | 9 +- spm/spm_eeg_mask.py | 9 +- spm/spm_eeg_mask2channels.py | 9 +- spm/spm_eeg_merge.py | 9 +- spm/spm_eeg_meshnative2mni.py | 18 +- spm/spm_eeg_modality_ui.py | 9 +- spm/spm_eeg_montage.py | 9 +- spm/spm_eeg_montage_ui.py | 9 +- spm/spm_eeg_morlet.py | 9 +- spm/spm_eeg_planarchannelset.py | 9 +- spm/spm_eeg_plotScalpData.py | 9 +- spm/spm_eeg_prep.py | 9 +- spm/spm_eeg_prep_ui.py | 9 +- spm/spm_eeg_project3D.py | 9 +- spm/spm_eeg_read_bsa.py | 9 +- spm/spm_eeg_reduce.py | 9 +- spm/spm_eeg_reduce_cva.py | 9 +- spm/spm_eeg_reduce_imagcsd.py | 9 +- spm/spm_eeg_reduce_pca.py | 9 +- spm/spm_eeg_reduce_pca_adapt.py | 9 +- spm/spm_eeg_reduce_whiten.py | 9 +- spm/spm_eeg_regressors.py | 9 +- spm/spm_eeg_regressors_chandata.py | 9 +- spm/spm_eeg_regressors_movement_ctf.py | 9 +- spm/spm_eeg_regressors_tfphase.py | 9 +- spm/spm_eeg_regressors_tfpower.py | 9 +- spm/spm_eeg_remove_bad_trials.py | 9 +- spm/spm_eeg_render.py | 9 +- spm/spm_eeg_review.py | 9 +- spm/spm_eeg_review_callbacks.py | 9 +- spm/spm_eeg_review_switchDisplay.py | 9 +- spm/spm_eeg_review_uis.py | 9 +- spm/spm_eeg_robust_averaget.py | 9 +- spm/spm_eeg_select_event_ui.py | 9 +- spm/spm_eeg_simulate.py | 16 +- spm/spm_eeg_simulate_frominv.py | 9 +- spm/spm_eeg_smoothmesh_mm.py | 9 +- spm/spm_eeg_spatial_confounds.py | 9 +- spm/spm_eeg_specest_hilbert.py | 9 +- spm/spm_eeg_specest_morlet.py | 9 +- spm/spm_eeg_specest_mtmconvol.py | 9 +- spm/spm_eeg_specest_mtmfft.py | 9 +- spm/spm_eeg_spmft_chan_dictionary.py | 9 +- spm/spm_eeg_tf.py | 9 +- spm/spm_eeg_tf_rescale.py | 9 +- spm/spm_eeg_wrap_dipfit_vbecd.py | 9 +- spm/spm_eeg_wrap_momfit_vbecd.py | 9 +- spm/spm_ekf.py | 9 +- spm/spm_en.py | 9 +- spm/spm_epharm.py | 9 +- spm/spm_erode.py | 9 +- spm/spm_est_V.py | 9 +- spm/spm_est_non_sphericity.py | 9 +- spm/spm_est_smoothness.py | 9 +- spm/spm_existfile.py | 9 +- spm/spm_expm.py | 9 +- spm/spm_extract_files.py | 9 +- spm/spm_extrapolate_def.py | 9 +- spm/spm_fMRI_design.py | 9 +- spm/spm_field.py | 9 +- spm/spm_fieldindices.py | 9 +- spm/spm_figure.py | 9 +- spm/spm_file.py | 9 +- spm/spm_file_ext.py | 9 +- spm/spm_file_merge.py | 9 +- spm/spm_file_split.py | 9 +- spm/spm_fileparts.py | 9 +- spm/spm_filter.py | 9 +- spm/spm_find_pC.py | 9 +- spm/spm_flip_analyze_images.py | 9 +- spm/spm_fmin.py | 9 +- spm/spm_fmri_concatenate.py | 9 +- spm/spm_fmri_spm_ui.py | 9 +- spm/spm_fn_reml.py | 9 +- spm/spm_fp.py | 9 +- spm/spm_fp_display_density.py | 9 +- spm/spm_fp_display_nullclines.py | 9 +- spm/spm_fp_fmin.py | 9 +- spm/spm_fp_fun.py | 9 +- spm/spm_fs_fmri_csd.py | 9 +- spm/spm_funcheck.py | 9 +- spm/spm_funfun.py | 9 +- spm/spm_fx_NESS.py | 64 ++ spm/spm_fx_fmri.py | 9 +- spm/spm_fx_fmri_linear.py | 9 +- spm/spm_fx_hdm.py | 9 +- spm/spm_fx_lz.py | 9 +- spm/spm_fx_poly.py | 9 +- spm/spm_gamrnd.py | 9 +- spm/spm_gen_fmri.py | 9 +- spm/spm_getSPM.py | 9 +- spm/spm_get_anatomical_layout.py | 33 +- spm/spm_get_bbox.py | 9 +- spm/spm_get_bf.py | 9 +- spm/spm_get_closest_affine.py | 9 +- spm/spm_get_data.py | 9 +- spm/spm_get_dataset.py | 9 +- spm/spm_get_defaults.py | 9 +- spm/spm_get_lm.py | 9 +- spm/spm_get_matdim.py | 9 +- spm/spm_get_ons.py | 9 +- spm/spm_get_space.py | 9 +- spm/spm_get_vc.py | 9 +- spm/spm_get_volumes.py | 9 +- spm/spm_glass.py | 9 +- spm/spm_global.py | 9 +- spm/spm_gn_fmin.py | 9 +- spm/spm_graph.py | 9 +- spm/spm_graph_ui.py | 9 +- spm/spm_grid.py | 9 +- spm/spm_gx_fmri.py | 9 +- spm/spm_gx_fmri_linear.py | 9 +- spm/spm_gx_hdm.py | 9 +- spm/spm_gx_state_fmri.py | 9 +- spm/spm_hanning.py | 9 +- spm/spm_hdm_priors.py | 9 +- spm/spm_hdm_ui.py | 9 +- spm/spm_help.py | 9 +- spm/spm_hilbert.py | 9 +- spm/spm_hist.py | 9 +- spm/spm_hist2.py | 9 +- spm/spm_hist_smooth.py | 9 +- spm/spm_hrf.py | 9 +- spm/spm_image.py | 9 +- spm/spm_imatrix.py | 9 +- spm/spm_imcalc.py | 9 +- spm/spm_ind2sub.py | 9 +- spm/spm_inline2func.py | 9 +- spm/spm_input.py | 9 +- spm/spm_int.py | 9 +- spm/spm_int_B.py | 9 +- spm/spm_int_D.py | 9 +- spm/spm_int_E.py | 9 +- spm/spm_int_J.py | 9 +- spm/spm_int_L.py | 9 +- spm/spm_int_ode.py | 9 +- spm/spm_int_sde.py | 9 +- spm/spm_interp.py | 9 +- spm/spm_inv.py | 9 +- spm/spm_invBcdf.py | 9 +- spm/spm_invFcdf.py | 9 +- spm/spm_invGcdf.py | 9 +- spm/spm_invIcdf.py | 9 +- spm/spm_invNcdf.py | 9 +- spm/spm_invPcdf.py | 9 +- spm/spm_invTcdf.py | 9 +- spm/spm_invXcdf.py | 9 +- spm/spm_inv_phi.py | 9 +- spm/spm_inv_spd.py | 9 +- spm/spm_ipharm.py | 9 +- spm/spm_iwft.py | 9 +- spm/spm_jobman.py | 9 +- spm/spm_jsonread.py | 9 +- spm/spm_jsonwrite.py | 9 +- spm/spm_kernels.py | 9 +- spm/spm_kl_dirichlet.py | 9 +- spm/spm_kl_gamma.py | 9 +- spm/spm_kl_normal.py | 9 +- spm/spm_kl_normald.py | 9 +- spm/spm_kl_wishart.py | 9 +- spm/spm_kron.py | 9 +- spm/spm_krutil.py | 9 +- spm/spm_large_dcm_reduce.py | 9 +- spm/spm_length.py | 9 +- spm/spm_lg_gamma.py | 9 +- spm/spm_list.py | 9 +- spm/spm_load.py | 9 +- spm/spm_load_priors8.py | 9 +- spm/spm_log.py | 9 +- spm/spm_log_evidence.py | 9 +- spm/spm_log_evidence_reduce.py | 9 +- spm/spm_logdet.py | 9 +- spm/spm_logo.py | 46 +- spm/spm_lorenz_k.py | 9 +- spm/spm_lotka_volterra.py | 9 +- spm/spm_mac_permissions.py | 25 + spm/spm_maff8.py | 9 +- spm/spm_make_contrasts.py | 9 +- spm/spm_marginal.py | 9 +- spm/spm_mask.py | 9 +- spm/spm_match_str.py | 9 +- spm/spm_matrix.py | 9 +- spm/spm_max.py | 9 +- spm/spm_mb_ui.py | 9 +- spm/spm_meanby.py | 9 +- spm/spm_mesh.py | 9 +- spm/spm_mesh_adjacency.py | 9 +- spm/spm_mesh_area.py | 9 +- spm/spm_mesh_borders.py | 9 +- spm/spm_mesh_bounding_volume.py | 9 +- spm/spm_mesh_calc.py | 9 +- spm/spm_mesh_clusters.py | 9 +- spm/spm_mesh_contour.py | 9 +- spm/spm_mesh_cube.py | 9 +- spm/spm_mesh_curvature.py | 9 +- spm/spm_mesh_detect.py | 9 +- spm/spm_mesh_dist.py | 9 +- spm/spm_mesh_distmtx.py | 9 +- spm/spm_mesh_edges.py | 9 +- spm/spm_mesh_euler.py | 9 +- spm/spm_mesh_geodesic.py | 9 +- spm/spm_mesh_get_lm.py | 9 +- spm/spm_mesh_inflate.py | 9 +- spm/spm_mesh_inside.py | 9 +- spm/spm_mesh_isoline.py | 9 +- spm/spm_mesh_isosurface.py | 9 +- spm/spm_mesh_join.py | 9 +- spm/spm_mesh_label.py | 9 +- spm/spm_mesh_laplacian.py | 9 +- spm/spm_mesh_mass_matrix.py | 9 +- spm/spm_mesh_max.py | 9 +- spm/spm_mesh_neighbours.py | 9 +- spm/spm_mesh_normals.py | 9 +- spm/spm_mesh_polyhedron.py | 9 +- spm/spm_mesh_project.py | 9 +- spm/spm_mesh_ray_intersect.py | 9 +- spm/spm_mesh_ray_triangle.py | 9 +- spm/spm_mesh_reduce.py | 9 +- spm/spm_mesh_refine.py | 9 +- spm/spm_mesh_render.py | 9 +- spm/spm_mesh_resels.py | 9 +- spm/spm_mesh_sdf.py | 9 +- spm/spm_mesh_select.py | 9 +- spm/spm_mesh_smooth.py | 9 +- spm/spm_mesh_sphere.py | 9 +- spm/spm_mesh_split.py | 9 +- spm/spm_mesh_to_grid.py | 9 +- spm/spm_mesh_transform.py | 9 +- spm/spm_mesh_utils.py | 9 +- spm/spm_mesh_volume.py | 9 +- spm/spm_mesh_voxelise.py | 9 +- spm/spm_mfx.py | 9 +- spm/spm_minmax.py | 9 +- spm/spm_mip.py | 9 +- spm/spm_mip_ui.py | 9 +- spm/spm_mkdir.py | 9 +- spm/spm_mldivide.py | 9 +- spm/spm_mnc2nifti.py | 9 +- spm/spm_morlet.py | 9 +- spm/spm_morlet_conv.py | 9 +- spm/spm_mrdivide.py | 9 +- spm/spm_mrf.py | 9 +- spm/spm_mtx_cos.py | 9 +- spm/spm_multrnd.py | 9 +- spm/spm_mvNpdf.py | 9 +- spm/spm_mvb.py | 9 +- spm/spm_mvb_G.py | 9 +- spm/spm_mvb_R2.py | 9 +- spm/spm_mvb_U.py | 9 +- spm/spm_mvb_bmc.py | 9 +- spm/spm_mvb_cvk.py | 9 +- spm/spm_mvb_cvk2.py | 9 +- spm/spm_mvb_cvk_display.py | 9 +- spm/spm_mvb_display.py | 9 +- spm/spm_mvb_estimate.py | 9 +- spm/spm_mvb_p.py | 9 +- spm/spm_mvb_ui.py | 9 +- spm/spm_nCr.py | 9 +- spm/spm_ncFcdf.py | 9 +- spm/spm_ncFpdf.py | 9 +- spm/spm_ncTcdf.py | 9 +- spm/spm_ncTpdf.py | 9 +- spm/spm_ndgrid.py | 9 +- spm/spm_ness.py | 9 +- spm/spm_ness_GN.py | 9 +- spm/spm_ness_J.py | 9 +- spm/spm_ness_Lap.py | 9 +- spm/spm_ness_N2Sp.py | 9 +- spm/spm_ness_Sp2N.py | 9 +- spm/spm_ness_Sp2p.py | 9 +- spm/spm_ness_U.py | 15 +- spm/spm_ness_cond.py | 9 +- spm/spm_ness_cond_inv.py | 24 + spm/spm_ness_flows.py | 9 +- spm/spm_ness_hd.py | 21 +- spm/spm_ness_m2S.py | 9 +- spm/spm_ness_p2Sp.py | 9 +- spm/spm_nlsi.py | 9 +- spm/spm_nlsi_AI.py | 9 +- spm/spm_nlsi_GN.py | 9 +- spm/spm_nlsi_GN_H.py | 9 +- spm/spm_nlsi_LS.py | 9 +- spm/spm_nlsi_N.py | 9 +- spm/spm_nlsi_Newton.py | 9 +- spm/spm_non_sphericity.py | 9 +- spm/spm_normrnd.py | 9 +- spm/spm_opm_amm.py | 9 +- spm/spm_orientations.py | 9 +- spm/spm_orth.py | 9 +- spm/spm_orthpoly.py | 9 +- spm/spm_orthviews.py | 9 +- spm/spm_padarray.py | 9 +- spm/spm_parrec2nifti.py | 9 +- spm/spm_peb_ppi.py | 9 +- spm/spm_percentile.py | 9 +- spm/spm_perm_mtx.py | 9 +- spm/spm_permute_kron.py | 9 +- spm/spm_pf.py | 9 +- spm/spm_phase_shuffle.py | 9 +- spm/spm_phi.py | 9 +- spm/spm_phi_dot.py | 9 +- spm/spm_pinv.py | 9 +- spm/spm_platform.py | 11 +- spm/spm_plot_ci.py | 11 +- spm/spm_plot_convergence.py | 9 +- spm/spm_polymtx.py | 9 +- spm/spm_powell.py | 9 +- spm/spm_preproc.py | 9 +- spm/spm_preproc8.py | 9 +- spm/spm_preproc_run.py | 9 +- spm/spm_preproc_write8.py | 9 +- spm/spm_print.py | 9 +- spm/spm_progress_bar.py | 9 +- spm/spm_project.py | 9 +- spm/spm_psi.py | 16 +- spm/spm_rand_mar.py | 9 +- spm/spm_rand_power_law.py | 9 +- spm/spm_read_netcdf.py | 9 +- spm/spm_read_vols.py | 9 +- spm/spm_realign.py | 9 +- spm/spm_regions.py | 9 +- spm/spm_reml.py | 9 +- spm/spm_reml_A.py | 9 +- spm/spm_reml_ancova.py | 9 +- spm/spm_reml_sc.py | 9 +- spm/spm_render.py | 9 +- spm/spm_render_vol.py | 9 +- spm/spm_reorder_contrasts.py | 9 +- spm/spm_resels.py | 9 +- spm/spm_resels_vol.py | 9 +- spm/spm_reslice.py | 9 +- spm/spm_results_nidm.py | 9 +- spm/spm_results_ui.py | 9 +- spm/spm_rmpath.py | 9 +- spm/spm_robust_average.py | 9 +- spm/spm_robust_glm.py | 9 +- spm/spm_s2csd.py | 9 +- spm/spm_sample_priors8.py | 9 +- spm/spm_sample_vol.py | 9 +- spm/spm_save.py | 9 +- spm/spm_sde_dx.py | 9 +- spm/spm_sdot.py | 9 +- spm/spm_searchlight.py | 9 +- spm/spm_sections.py | 9 +- spm/spm_select.py | 9 +- spm/spm_sepmul3d.py | 9 +- spm/spm_setmeshpaths.py | 18 + spm/spm_shp_get_model.py | 9 +- spm/spm_shp_get_transforms.py | 9 +- spm/spm_shp_install.py | 9 +- spm/spm_shp_project_velocity.py | 9 +- spm/spm_shp_sample_brains.py | 12 +- spm/spm_shp_sample_deformation.py | 9 +- spm/spm_shp_transform_mesh.py | 9 +- spm/spm_shp_transform_volume.py | 9 +- spm/spm_shp_warps.py | 9 +- spm/spm_sixel.py | 9 +- spm/spm_slice_timing.py | 9 +- spm/spm_slice_vol.py | 9 +- spm/spm_slm.py | 9 +- spm/spm_smohist.py | 9 +- spm/spm_smooth.py | 9 +- spm/spm_smoothkern.py | 9 +- spm/spm_smoothto8bit.py | 9 +- spm/spm_softmax.py | 9 +- spm/spm_soreduce.py | 9 +- spm/spm_sp.py | 9 +- spm/spm_sp_reml.py | 9 +- spm/spm_sparse_regression.py | 9 +- spm/spm_speye.py | 16 +- spm/spm_spm.py | 9 +- spm/spm_spm_Bayes.py | 9 +- spm/spm_spm_Bayes_CY.py | 9 +- spm/spm_spm_Bayes_specify.py | 9 +- spm/spm_sptop.py | 9 +- spm/spm_spy.py | 9 +- spm/spm_sqrtm.py | 9 +- spm/spm_squeeze.py | 9 +- spm/spm_ssm2s.py | 9 +- spm/spm_standalone.py | 9 +- spm/spm_str_manip.py | 11 +- spm/spm_subfun.py | 9 +- spm/spm_sum.py | 9 +- spm/spm_summarise.py | 9 +- spm/spm_surf.py | 9 +- spm/spm_svd.py | 9 +- spm/spm_swarp.py | 9 +- spm/spm_t2z.py | 9 +- spm/spm_tests.py | 9 +- spm/spm_timeseries_resample.py | 9 +- spm/spm_trace.py | 9 +- spm/spm_transverse.py | 9 +- spm/spm_type.py | 9 +- spm/spm_u.py | 9 +- spm/spm_uc.py | 9 +- spm/spm_uc_Bonf.py | 9 +- spm/spm_uc_FDR.py | 9 +- spm/spm_uc_RF.py | 9 +- spm/spm_uc_clusterFDR.py | 9 +- spm/spm_uc_peakFDR.py | 9 +- spm/spm_uitab.py | 9 +- spm/spm_uncat.py | 9 +- spm/spm_unlink.py | 9 +- spm/spm_unvec.py | 9 +- spm/spm_update.py | 9 +- spm/spm_uw_apply.py | 9 +- spm/spm_uw_estimate.py | 9 +- spm/spm_uw_get_image_def.py | 9 +- spm/spm_uw_show.py | 9 +- spm/spm_vb_F.py | 9 +- spm/spm_vb_Fn.py | 9 +- spm/spm_vb_a.py | 9 +- spm/spm_vb_adjacency.py | 9 +- spm/spm_vb_alpha.py | 9 +- spm/spm_vb_beta.py | 9 +- spm/spm_vb_contrasts.py | 9 +- spm/spm_vb_edgeweights.py | 9 +- spm/spm_vb_gamma.py | 9 +- spm/spm_vb_get_Ab.py | 9 +- spm/spm_vb_get_Gn.py | 9 +- spm/spm_vb_get_R.py | 9 +- spm/spm_vb_glmar.py | 9 +- spm/spm_vb_graphcut.py | 9 +- spm/spm_vb_incidence.py | 9 +- spm/spm_vb_init_block.py | 9 +- spm/spm_vb_lambda.py | 9 +- spm/spm_vb_logbf.py | 9 +- spm/spm_vb_models.py | 9 +- spm/spm_vb_neighbors.py | 9 +- spm/spm_vb_ppm_anova.py | 9 +- spm/spm_vb_regionF.py | 9 +- spm/spm_vb_robust.py | 9 +- spm/spm_vb_roi_anova.py | 9 +- spm/spm_vb_roi_basis.py | 9 +- spm/spm_vb_set_priors.py | 9 +- spm/spm_vb_spatial_precision.py | 9 +- spm/spm_vb_taylor_R.py | 9 +- spm/spm_vb_w.py | 9 +- spm/spm_vec.py | 9 +- spm/spm_vecfun.py | 9 +- spm/spm_vol.py | 9 +- spm/spm_vol_nifti.py | 9 +- spm/spm_voronoi.py | 9 +- spm/spm_wft.py | 15 +- spm/spm_write_filtered.py | 9 +- spm/spm_write_plane.py | 9 +- spm/spm_write_residuals.py | 9 +- spm/spm_write_vol.py | 9 +- spm/spm_z2p.py | 9 +- spm/spm_zeros.py | 9 +- spm/xmltree.py | 243 ++++--- 4067 files changed, 37419 insertions(+), 14465 deletions(-) create mode 100644 spm/__external/__bemcp/mesh_icosahedron.py create mode 100644 spm/__external/__bemcp/mesh_octahedron.py create mode 100644 spm/__external/__bemcp/mesh_sphere.py create mode 100644 spm/__external/__bemcp/mesh_tetrahedron.py create mode 100644 spm/__external/__bemcp/refine.py create mode 100644 spm/__external/__fieldtrip/__external/__bvrf_reader/__init__.py create mode 100644 spm/__external/__fieldtrip/__external/__bvrf_reader/eeg_loadbvrf.py create mode 100644 spm/__external/__fieldtrip/__external/__bvrf_reader/loadbvrf.py create mode 100644 spm/__external/__fieldtrip/__external/__fileexchange/CalcMD5.py create mode 100644 spm/__external/__fieldtrip/__external/__fileexchange/DataHash.py create mode 100644 spm/__external/__fieldtrip/__external/__fileexchange/arrow.py create mode 100644 spm/__external/__fieldtrip/__external/__fileexchange/base64decode.py create mode 100644 spm/__external/__fieldtrip/__external/__fileexchange/base64encode.py create mode 100644 spm/__external/__fieldtrip/__external/__fileexchange/icp.py create mode 100644 spm/__external/__fieldtrip/__external/__fileexchange/keep.py create mode 100644 spm/__external/__fieldtrip/__external/__fileexchange/pan_tompkin.py create mode 100644 spm/__external/__fieldtrip/__external/__fileexchange/stlwrite.py create mode 100644 spm/__external/__fieldtrip/__external/__fileexchange/subtightplot.py create mode 100644 spm/__external/__fieldtrip/__external/__fileexchange/vtkwrite.py create mode 100644 spm/__external/__fieldtrip/__external/__signal/__dpss_hack/__init__.py create mode 100644 spm/__external/__fieldtrip/__external/__signal/__dpss_hack/dpss.py create mode 100644 spm/__external/__fieldtrip/__external/__signal/__dpss_hack/precompute_dpss.py create mode 100644 spm/__external/__fieldtrip/__external/__stats/_common_size.py create mode 100644 spm/__external/__fieldtrip/__external/__stats/knnsearch.py create mode 100644 spm/__external/__fieldtrip/__external/__stats/kurtosis.py create mode 100644 spm/__external/__fieldtrip/__external/__stats/pdist2.py create mode 100644 spm/__external/__fieldtrip/__external/__stats/skewness.py create mode 100644 spm/__external/__fieldtrip/__fileio/_fixbalance.py create mode 100644 spm/__external/__fieldtrip/__fileio/_ft_setopt.py create mode 100644 spm/__external/__fieldtrip/__fileio/_ft_struct2char.py create mode 100644 spm/__external/__fieldtrip/__fileio/_physionet_hea.py create mode 100644 spm/__external/__fieldtrip/__fileio/_quspin_lvm.py create mode 100644 spm/__external/__fieldtrip/__fileio/_read_bdf.py create mode 100644 spm/__external/__fieldtrip/__fileio/_write_bdf.py create mode 100644 spm/__external/__fieldtrip/__forward/_bmesh2bnd.py create mode 100644 spm/__external/__fieldtrip/__forward/_circularcoil.py create mode 100644 spm/__external/__fieldtrip/__forward/_fixbalance.py create mode 100644 spm/__external/__fieldtrip/__forward/_ft_apply_montage.py create mode 100644 spm/__external/__fieldtrip/__forward/ft_headmodel_hbf.py create mode 100644 spm/__external/__fieldtrip/__plotting/_combineClusters2.py create mode 100644 spm/__external/__fieldtrip/__plotting/_fixbalance.py create mode 100644 spm/__external/__fieldtrip/__plotting/_normals_elec.py create mode 100644 spm/__external/__fieldtrip/__plotting/_outline_shape.py create mode 100644 spm/__external/__fieldtrip/__plotting/_select_elec.py create mode 100644 spm/__external/__fieldtrip/__plotting/_select_grad.py create mode 100644 spm/__external/__fieldtrip/__plotting/_select_opto.py create mode 100644 spm/__external/__fieldtrip/__specest/_adaptspec_dpss.py create mode 100644 spm/__external/__fieldtrip/__src/combineClusters.py create mode 100644 spm/__external/__fieldtrip/__src/ft_getopt.py create mode 100644 spm/__external/__fieldtrip/__src/nanvar.py create mode 100644 spm/__external/__fieldtrip/__utilities/_fixbalance.py create mode 100644 spm/__external/__fieldtrip/__utilities/ft_apply_montage.py create mode 100644 spm/__external/__fieldtrip/__utilities/ft_deleteopt.py create mode 100644 spm/__external/__fieldtrip/__utilities/ft_inverse_montage.py create mode 100644 spm/__external/__fieldtrip/_combineClusters2.py create mode 100644 spm/__external/__fieldtrip/_equidistant_locate.py create mode 100644 spm/__external/__fieldtrip/_fixbalance.py create mode 100644 spm/__external/__fieldtrip/_get_degrees_orders.py create mode 100644 spm/__external/__fieldtrip/_grad2elec.py create mode 100644 spm/__external/__fieldtrip/_normals_elec.py create mode 100644 spm/__external/__fieldtrip/_opto2elec.py create mode 100644 spm/__external/__fieldtrip/_outline_shape.py create mode 100644 spm/__external/__fieldtrip/_regularize_in.py create mode 100644 spm/__external/__fieldtrip/_regularize_out.py create mode 100644 spm/__external/__fieldtrip/_select_elec.py create mode 100644 spm/__external/__fieldtrip/_select_grad.py create mode 100644 spm/__external/__fieldtrip/_select_opto.py create mode 100644 spm/__external/__fieldtrip/ft_electrodeselection.py create mode 100644 spm/__external/__fieldtrip/ft_sensorplacement.py create mode 100644 spm/__matlabbatch/cfg_getfile_cpath.py create mode 100644 spm/__matlabbatch/cfg_getfile_pathparts.py create mode 100644 spm/__tests/__DCM_Test_Suite/__init__.py create mode 100644 spm/__tests/__DCM_Test_Suite/dts_meeg_add_eeg_bem_forward.py create mode 100644 spm/__tests/__DCM_Test_Suite/dts_meeg_check_fit_reference.py create mode 100644 spm/__tests/__DCM_Test_Suite/dts_meeg_csd_forward_model.py create mode 100644 spm/__tests/__DCM_Test_Suite/dts_meeg_csd_lfp_template.py create mode 100644 spm/__tests/__DCM_Test_Suite/dts_meeg_export_a1_lfp.py create mode 100644 spm/__tests/__DCM_Test_Suite/dts_meeg_fit_csd_model.py create mode 100644 spm/__tests/__DCM_Test_Suite/dts_meeg_fit_erp_model.py create mode 100644 spm/__tests/__DCM_Test_Suite/dts_meeg_fixed_data_cases.py create mode 100644 spm/__tests/__DCM_Test_Suite/dts_meeg_lfp_template.py create mode 100644 spm/__tests/__DCM_Test_Suite/dts_meeg_neural_fixture.py create mode 100644 spm/__tests/__DCM_Test_Suite/dts_meeg_prepare_a1_lfp.py create mode 100644 spm/__tests/__DCM_Test_Suite/dts_meeg_prepare_mmn_eeg.py create mode 100644 spm/__tests/__DCM_Test_Suite/dts_meeg_prior_lfp_response.py create mode 100644 spm/__tests/__DCM_Test_Suite/dts_meeg_sample_sensor_fixture.py create mode 100644 spm/__tests/__DCM_Test_Suite/dts_meeg_sensor_template.py create mode 100644 spm/__tests/__DCM_Test_Suite/dts_meeg_setup_paths.py create mode 100644 spm/__tests/__DCM_Test_Suite/dts_meeg_test_defaults.py create mode 100644 spm/__tests/__DCM_Test_Suite/dts_meeg_write_lfp_fixture.py create mode 100644 spm/__tests/__DCM_Test_Suite/dts_prep01_make_test_fixtures.py create mode 100644 spm/__tests/__DCM_Test_Suite/dts_prep02_generate_reference_data.py create mode 100644 spm/__tests/spm_setup_data_attention.py create mode 100644 spm/__toolbox/__BSD/__init__.py create mode 100644 spm/__toolbox/__BSD/parfor_progress.py create mode 100644 spm/__toolbox/__BSD/spm_bsd.py create mode 100644 spm/__toolbox/__BSD/spm_bsd_batch.py create mode 100644 spm/__toolbox/__BSD/spm_bsd_csd.py create mode 100644 spm/__toolbox/__BSD/spm_bsd_data.py create mode 100644 spm/__toolbox/__BSD/spm_bsd_int.py create mode 100644 spm/__toolbox/__BSD/spm_bsd_int_parfor.py create mode 100644 spm/__toolbox/__BSD/spm_bsd_nlsi_GN.py create mode 100644 spm/__toolbox/__BSD/spm_bsd_param2spec.py create mode 100644 spm/__toolbox/__BSD/spm_bsd_priors.py create mode 100644 spm/__toolbox/__BSD/spm_bsd_reduce.py create mode 100644 spm/__toolbox/__BSD/spm_bsd_results.py create mode 100644 spm/__toolbox/__BSD/spm_bsd_search.py create mode 100644 spm/__toolbox/__BSD/spm_bsd_spec2param.py create mode 100644 spm/__toolbox/__BSD/spm_dcm_compute_vfe.py create mode 100644 spm/__toolbox/__BSD/tbx_cfg_bsd.py create mode 100644 spm/__toolbox/__DEM/ADEM_cost.py create mode 100644 spm/__toolbox/__DEM/ADEM_intercept.py create mode 100644 spm/__toolbox/__DEM/ADEM_intercept_I.py create mode 100644 spm/__toolbox/__DEM/ADEM_intercept_II.py create mode 100644 spm/__toolbox/__DEM/ADEM_intercept_III.py create mode 100644 spm/__toolbox/__DEM/ADEM_intercept_IV.py create mode 100644 spm/__toolbox/__DEM/ADEM_physics.py create mode 100644 spm/__toolbox/__DEM/DEMO_MDP_maze_XXX.py create mode 100644 spm/__toolbox/__DEM/DEM_Atari.py create mode 100644 spm/__toolbox/__DEM/DEM_AtariI.py create mode 100644 spm/__toolbox/__DEM/DEM_AtariII.py create mode 100644 spm/__toolbox/__DEM/DEM_AtariIII.py create mode 100644 spm/__toolbox/__DEM/DEM_AtariIV.py create mode 100644 spm/__toolbox/__DEM/DEM_COVID_MASKS.py create mode 100644 spm/__toolbox/__DEM/DEM_Diabetes.py create mode 100644 spm/__toolbox/__DEM/DEM_FIN.py create mode 100644 spm/__toolbox/__DEM/DEM_MNIST.py create mode 100644 spm/__toolbox/__DEM/DEM_MNIST_RGM.py create mode 100644 spm/__toolbox/__DEM/DEM_MNIST_compression.py create mode 100644 spm/__toolbox/__DEM/DEM_MNIST_conv.py create mode 100644 spm/__toolbox/__DEM/DEM_MNIST_mixture.py create mode 100644 spm/__toolbox/__DEM/DEM_Pong.py create mode 100644 spm/__toolbox/__DEM/DEM_Tower.py create mode 100644 spm/__toolbox/__DEM/DEM_Tower_of_Hanoi.py create mode 100644 spm/__toolbox/__DEM/DEM_chaos_compression.py create mode 100644 spm/__toolbox/__DEM/DEM_compression.py create mode 100644 spm/__toolbox/__DEM/DEM_demo_MDP_XXX.py create mode 100644 spm/__toolbox/__DEM/DEM_drone.py create mode 100644 spm/__toolbox/__DEM/DEM_drone_V.py create mode 100644 spm/__toolbox/__DEM/DEM_drone_VI.py create mode 100644 spm/__toolbox/__DEM/DEM_drone_inspection.py create mode 100644 spm/__toolbox/__DEM/DEM_drone_telemetry.py create mode 100644 spm/__toolbox/__DEM/DEM_drone_vision.py create mode 100644 spm/__toolbox/__DEM/DEM_federation.py create mode 100644 spm/__toolbox/__DEM/DEM_greedy_MNIST.py create mode 100644 spm/__toolbox/__DEM/DEM_image_compression.py create mode 100644 spm/__toolbox/__DEM/DEM_laws.py create mode 100644 spm/__toolbox/__DEM/DEM_masks_Cam.py create mode 100644 spm/__toolbox/__DEM/DEM_metric_BMR.py create mode 100644 spm/__toolbox/__DEM/DEM_music_compression.py create mode 100644 spm/__toolbox/__DEM/DEM_ness_Lap.py create mode 100644 spm/__toolbox/__DEM/DEM_paths.py create mode 100644 spm/__toolbox/__DEM/DEM_reasoning.py create mode 100644 spm/__toolbox/__DEM/DEM_reverse_paths.py create mode 100644 spm/__toolbox/__DEM/DEM_sound_compression.py create mode 100644 spm/__toolbox/__DEM/DEM_swarm.py create mode 100644 spm/__toolbox/__DEM/DEM_syntax.py create mode 100644 spm/__toolbox/__DEM/DEM_thermostat.py create mode 100644 spm/__toolbox/__DEM/DEM_video_compression.py create mode 100644 spm/__toolbox/__DEM/FEP_biology.py create mode 100644 spm/__toolbox/__DEM/FIN_TEST.py create mode 100644 spm/__toolbox/__DEM/breakout.py create mode 100644 spm/__toolbox/__DEM/spm_ADEM_UNITY.py create mode 100644 spm/__toolbox/__DEM/spm_DEM_G.py create mode 100644 spm/__toolbox/__DEM/spm_DEM_embed_path.py create mode 100644 spm/__toolbox/__DEM/spm_MB_structure_learning.py create mode 100644 spm/__toolbox/__DEM/spm_MDP_BMR.py create mode 100644 spm/__toolbox/__DEM/spm_MDP_arcade.py create mode 100644 spm/__toolbox/__DEM/spm_MDP_breakout.py create mode 100644 spm/__toolbox/__DEM/spm_MDP_checkX.py create mode 100644 spm/__toolbox/__DEM/spm_MDP_check_labels.py create mode 100644 spm/__toolbox/__DEM/spm_MDP_conv.py create mode 100644 spm/__toolbox/__DEM/spm_MDP_generate.py create mode 100644 spm/__toolbox/__DEM/spm_MDP_params.py create mode 100644 spm/__toolbox/__DEM/spm_MDP_pong.py create mode 100644 spm/__toolbox/__DEM/spm_MDP_rules.py create mode 100644 spm/__toolbox/__DEM/spm_MDP_structure_teaching.py create mode 100644 spm/__toolbox/__DEM/spm_NESS_forecast.py create mode 100644 spm/__toolbox/__DEM/spm_NESS_forecasting.py create mode 100644 spm/__toolbox/__DEM/spm_NESS_forecastness.py create mode 100644 spm/__toolbox/__DEM/spm_O2rgb.py create mode 100644 spm/__toolbox/__DEM/spm_O2wav.py create mode 100644 spm/__toolbox/__DEM/spm_Q2mdp.py create mode 100644 spm/__toolbox/__DEM/spm_RDP_MI.py create mode 100644 spm/__toolbox/__DEM/spm_RDP_O.py create mode 100644 spm/__toolbox/__DEM/spm_RDP_basin.py create mode 100644 spm/__toolbox/__DEM/spm_RDP_compress.py create mode 100644 spm/__toolbox/__DEM/spm_RDP_ness.py create mode 100644 spm/__toolbox/__DEM/spm_RDP_params.py create mode 100644 spm/__toolbox/__DEM/spm_RDP_prune.py create mode 100644 spm/__toolbox/__DEM/spm_RDP_radius.py create mode 100644 spm/__toolbox/__DEM/spm_RDP_reduce.py create mode 100644 spm/__toolbox/__DEM/spm_RDP_sort.py create mode 100644 spm/__toolbox/__DEM/spm_RDP_update.py create mode 100644 spm/__toolbox/__DEM/spm_VBX.py create mode 100644 spm/__toolbox/__DEM/spm_VB_XXX.py create mode 100644 spm/__toolbox/__DEM/spm_check_edges.py create mode 100644 spm/__toolbox/__DEM/spm_clear.py create mode 100644 spm/__toolbox/__DEM/spm_daisy_chain.py create mode 100644 spm/__toolbox/__DEM/spm_dir_disentangle.py create mode 100644 spm/__toolbox/__DEM/spm_dir_orbits.py create mode 100644 spm/__toolbox/__DEM/spm_dir_orbits3.py create mode 100644 spm/__toolbox/__DEM/spm_dir_reduce.py create mode 100644 spm/__toolbox/__DEM/spm_edges.py create mode 100644 spm/__toolbox/__DEM/spm_fast_structure_learning.py create mode 100644 spm/__toolbox/__DEM/spm_faster_structure_learning.py create mode 100644 spm/__toolbox/__DEM/spm_get_episodes.py create mode 100644 spm/__toolbox/__DEM/spm_get_outcomes.py create mode 100644 spm/__toolbox/__DEM/spm_get_sequences.py create mode 100644 spm/__toolbox/__DEM/spm_i2p.py create mode 100644 spm/__toolbox/__DEM/spm_imshow.py create mode 100644 spm/__toolbox/__DEM/spm_imwt.py create mode 100644 spm/__toolbox/__DEM/spm_index.py create mode 100644 spm/__toolbox/__DEM/spm_information_distance.py create mode 100644 spm/__toolbox/__DEM/spm_mdp2rdp.py create mode 100644 spm/__toolbox/__DEM/spm_mdp2rdp_a.py create mode 100644 spm/__toolbox/__DEM/spm_mdp_a2A.py create mode 100644 spm/__toolbox/__DEM/spm_mdp_compress.py create mode 100644 spm/__toolbox/__DEM/spm_merge_structure_learning.py create mode 100644 spm/__toolbox/__DEM/spm_mwt.py create mode 100644 spm/__toolbox/__DEM/spm_parents.py create mode 100644 spm/__toolbox/__DEM/spm_portfolio.py create mode 100644 spm/__toolbox/__DEM/spm_rdp2mdp.py create mode 100644 spm/__toolbox/__DEM/spm_resolve.py create mode 100644 spm/__toolbox/__DEM/spm_rgb2O.py create mode 100644 spm/__toolbox/__DEM/spm_rgm_group.py create mode 100644 spm/__toolbox/__DEM/spm_set_costs.py create mode 100644 spm/__toolbox/__DEM/spm_set_goals.py create mode 100644 spm/__toolbox/__DEM/spm_show_RGB.py create mode 100644 spm/__toolbox/__DEM/spm_show_RGM.py create mode 100644 spm/__toolbox/__DEM/spm_show_WAV.py create mode 100644 spm/__toolbox/__DEM/spm_sub2ind.py create mode 100644 spm/__toolbox/__DEM/spm_tile.py create mode 100644 spm/__toolbox/__DEM/spm_unique.py create mode 100644 spm/__toolbox/__DEM/spm_wav2O.py create mode 100644 spm/__toolbox/__DEM/spm_wavshow.py create mode 100644 spm/__toolbox/__MEEGtools/spm_eeg_remove_dbs_artefact.py create mode 100644 spm/__toolbox/__MEEGtools/spm_opm_apply_calibration.py create mode 100644 spm/__toolbox/__MEEGtools/spm_opm_calibrate_from_coils.py create mode 100644 spm/__toolbox/__MEEGtools/spm_opm_ssp.py create mode 100644 spm/__toolbox/__Spatial/spm_est_vdm_from_phase.py create mode 100644 spm/__toolbox/__Spatial/spm_julia.py create mode 100644 spm/__toolbox/__Spatial/spm_mask_from_segments.py create mode 100644 spm/__toolbox/__Spatial/spm_smooth_extrap.py create mode 100644 spm/spm_EC_density.py create mode 100644 spm/spm_NESS_priors.py create mode 100644 spm/spm_dir_H.py create mode 100644 spm/spm_fx_NESS.py create mode 100644 spm/spm_mac_permissions.py create mode 100644 spm/spm_ness_cond_inv.py create mode 100644 spm/spm_setmeshpaths.py diff --git a/spm/__compat/loadxml.py b/spm/__compat/loadxml.py index 086f8efa..49fb6f4d 100644 --- a/spm/__compat/loadxml.py +++ b/spm/__compat/loadxml.py @@ -2,7 +2,7 @@ def loadxml(*args, **kwargs): - """ + r""" LOADXML Load workspace variables from disk (XML file). LOADXML FILENAME retrieves all variables from a file given a full pathname or a MATLABPATH relative partial pathname (see PARTIALPATH). @@ -27,9 +27,12 @@ def loadxml(*args, **kwargs): See also LOAD, XML2MAT, XMLTREE. - [Matlab code]( https://github.com/spm/spm/blob/main/compat/loadxml.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/compat/loadxml.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("loadxml", *args, **kwargs) diff --git a/spm/__compat/savexml.py b/spm/__compat/savexml.py index 49e4733d..d1bfa140 100644 --- a/spm/__compat/savexml.py +++ b/spm/__compat/savexml.py @@ -2,7 +2,7 @@ def savexml(*args, **kwargs): - """ + r""" SAVEXML Save workspace variables to disk in XML. SAVEXML FILENAME saves all workspace variables to the XML-file named FILENAME.xml. The data may be retrieved with LOADXML. if @@ -23,9 +23,12 @@ def savexml(*args, **kwargs): See also SAVE, MAT2XML, XMLTREE. - [Matlab code]( https://github.com/spm/spm/blob/main/compat/savexml.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/compat/savexml.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("savexml", *args, **kwargs, nargout=0) diff --git a/spm/__compat/spm_add.py b/spm/__compat/spm_add.py index 36190317..b1521bd2 100644 --- a/spm/__compat/spm_add.py +++ b/spm/__compat/spm_add.py @@ -2,7 +2,7 @@ def spm_add(*args, **kwargs): - """ + r""" Add a series of images - a compiled routine FORMAT s = spm_add(VI,VO) VI - Vector of mapped volumes (from spm_map or spm_vol). @@ -23,9 +23,12 @@ def spm_add(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/compat/spm_add.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/compat/spm_add.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_add", *args, **kwargs) diff --git a/spm/__compat/spm_adjmean_fmri_ui.py b/spm/__compat/spm_adjmean_fmri_ui.py index 94ba3734..15f105e4 100644 --- a/spm/__compat/spm_adjmean_fmri_ui.py +++ b/spm/__compat/spm_adjmean_fmri_ui.py @@ -2,7 +2,7 @@ def spm_adjmean_fmri_ui(*args, **kwargs): - """ + r""" Adjusted means of fMRI via box-car General Linear Model with confounds FORMAT spm_adjmean_fmri_ui _______________________________________________________________________ @@ -196,9 +196,12 @@ def spm_adjmean_fmri_ui(*args, **kwargs): Copyright (C) 2008 Wellcome Trust Centre for Neuroimaging - [Matlab code]( https://github.com/spm/spm/blob/main/compat/spm_adjmean_fmri_ui.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/compat/spm_adjmean_fmri_ui.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_adjmean_fmri_ui", *args, **kwargs, nargout=0) diff --git a/spm/__compat/spm_adjmean_ui.py b/spm/__compat/spm_adjmean_ui.py index de6cc5f2..90b96453 100644 --- a/spm/__compat/spm_adjmean_ui.py +++ b/spm/__compat/spm_adjmean_ui.py @@ -2,7 +2,7 @@ def spm_adjmean_ui(*args, **kwargs): - """ + r""" Scaled (for grand mean) & adjusted (for global) means via General Linear Model FORMAT spm_adjmean_ui _______________________________________________________________________ @@ -182,9 +182,12 @@ def spm_adjmean_ui(*args, **kwargs): Copyright (C) 2008 Wellcome Trust Centre for Neuroimaging - [Matlab code]( https://github.com/spm/spm/blob/main/compat/spm_adjmean_ui.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/compat/spm_adjmean_ui.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_adjmean_ui", *args, **kwargs, nargout=0) diff --git a/spm/__compat/spm_atranspa.py b/spm/__compat/spm_atranspa.py index e14bd758..7f966838 100644 --- a/spm/__compat/spm_atranspa.py +++ b/spm/__compat/spm_atranspa.py @@ -2,7 +2,7 @@ def spm_atranspa(*args, **kwargs): - """ + r""" Multiplies the transpose of a matrix by itself FORMAT C = spm_atranspa(A) A - real matrix @@ -15,9 +15,12 @@ def spm_atranspa(*args, **kwargs): Copyright (C) 2008 Wellcome Trust Centre for Neuroimaging - [Matlab code]( https://github.com/spm/spm/blob/main/compat/spm_atranspa.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/compat/spm_atranspa.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_atranspa", *args, **kwargs) diff --git a/spm/__compat/spm_chi2_plot.py b/spm/__compat/spm_chi2_plot.py index 402f69a0..b9021622 100644 --- a/spm/__compat/spm_chi2_plot.py +++ b/spm/__compat/spm_chi2_plot.py @@ -2,7 +2,7 @@ def spm_chi2_plot(*args, **kwargs): - """ + r""" Display a plot showing convergence of an optimisation routine. FORMAT spm_chi2_plot('Init',title,ylabel,xlabel) Initialise the plot in the 'Interactive' window. @@ -19,9 +19,12 @@ def spm_chi2_plot(*args, **kwargs): Copyright (C) 2008 Wellcome Trust Centre for Neuroimaging - [Matlab code]( https://github.com/spm/spm/blob/main/compat/spm_chi2_plot.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/compat/spm_chi2_plot.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_chi2_plot", *args, **kwargs, nargout=0) diff --git a/spm/__compat/spm_digamma.py b/spm/__compat/spm_digamma.py index 8776b6f3..5160c574 100644 --- a/spm/__compat/spm_digamma.py +++ b/spm/__compat/spm_digamma.py @@ -2,7 +2,7 @@ def spm_digamma(*args, **kwargs): - """ + r""" Digamma function (logarithmic derivative of the gamma function) FORMAT [y] = spm_digamma(x) @@ -14,9 +14,12 @@ def spm_digamma(*args, **kwargs): Copyright (C) 2008 Wellcome Trust Centre for Neuroimaging - [Matlab code]( https://github.com/spm/spm/blob/main/compat/spm_digamma.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/compat/spm_digamma.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_digamma", *args, **kwargs) diff --git a/spm/__compat/spm_dirichlet.py b/spm/__compat/spm_dirichlet.py index b230beac..0c806cf7 100644 --- a/spm/__compat/spm_dirichlet.py +++ b/spm/__compat/spm_dirichlet.py @@ -2,7 +2,7 @@ def spm_dirichlet(*args, **kwargs): - """ + r""" Dirichlet distribution - deprecated FORMAT [p] = dirichlet(x,alpha) @@ -16,9 +16,12 @@ def spm_dirichlet(*args, **kwargs): $Id: spm_dirichlet.m 4418 2011-08-03 12:00:13Z guillaume $ - [Matlab code]( https://github.com/spm/spm/blob/main/compat/spm_dirichlet.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/compat/spm_dirichlet.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_dirichlet", *args, **kwargs) diff --git a/spm/__compat/spm_eeval.py b/spm/__compat/spm_eeval.py index 9470914c..931a97b5 100644 --- a/spm/__compat/spm_eeval.py +++ b/spm/__compat/spm_eeval.py @@ -2,7 +2,7 @@ def spm_eeval(*args, **kwargs): - """ + r""" Expression evaluation FORMAT [p,msg] = spm_eeval(str,Type,n,m) Str - Expression to work with @@ -56,9 +56,12 @@ def spm_eeval(*args, **kwargs): Copyright (C) 2008 Wellcome Trust Centre for Neuroimaging - [Matlab code]( https://github.com/spm/spm/blob/main/compat/spm_eeval.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/compat/spm_eeval.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_eeval", *args, **kwargs) diff --git a/spm/__compat/spm_fMRI_design_show.py b/spm/__compat/spm_fMRI_design_show.py index 27b5039f..b0144cf2 100644 --- a/spm/__compat/spm_fMRI_design_show.py +++ b/spm/__compat/spm_fMRI_design_show.py @@ -2,7 +2,7 @@ def spm_fMRI_design_show(*args, **kwargs): - """ + r""" Interactive review of fMRI design matrix FORMAT spm_fMRI_design_show(SPM,s,i) @@ -12,9 +12,12 @@ def spm_fMRI_design_show(*args, **kwargs): Copyright (C) 2008 Wellcome Trust Centre for Neuroimaging - [Matlab code]( https://github.com/spm/spm/blob/main/compat/spm_fMRI_design_show.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/compat/spm_fMRI_design_show.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_fMRI_design_show", *args, **kwargs, nargout=0) diff --git a/spm/__compat/spm_imcalc_ui.py b/spm/__compat/spm_imcalc_ui.py index 2e1654f7..5d00b60d 100644 --- a/spm/__compat/spm_imcalc_ui.py +++ b/spm/__compat/spm_imcalc_ui.py @@ -2,7 +2,7 @@ def spm_imcalc_ui(*args, **kwargs): - """ + r""" Perform algebraic functions on images FORMAT Q = spm_imcalc_ui(P,Q,f,flags) P - matrix of input image filenames @@ -30,9 +30,12 @@ def spm_imcalc_ui(*args, **kwargs): Copyright (C) 1998-2011 Wellcome Trust Centre for Neuroimaging - [Matlab code]( https://github.com/spm/spm/blob/main/compat/spm_imcalc_ui.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/compat/spm_imcalc_ui.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_imcalc_ui", *args, **kwargs) diff --git a/spm/__compat/spm_load_float.py b/spm/__compat/spm_load_float.py index e8882675..e402e2a6 100644 --- a/spm/__compat/spm_load_float.py +++ b/spm/__compat/spm_load_float.py @@ -2,7 +2,7 @@ def spm_load_float(*args, **kwargs): - """ + r""" Load a volume into a floating point array FORMAT dat = spm_load_float(V) V - handle from spm_vol @@ -11,9 +11,12 @@ def spm_load_float(*args, **kwargs): Copyright (C) 2008 Wellcome Trust Centre for Neuroimaging - [Matlab code]( https://github.com/spm/spm/blob/main/compat/spm_load_float.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/compat/spm_load_float.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_load_float", *args, **kwargs) diff --git a/spm/__compat/spm_matlab_version_chk.py b/spm/__compat/spm_matlab_version_chk.py index 1f1f8908..e6aab5e0 100644 --- a/spm/__compat/spm_matlab_version_chk.py +++ b/spm/__compat/spm_matlab_version_chk.py @@ -2,7 +2,7 @@ def spm_matlab_version_chk(*args, **kwargs): - """ + r""" Check a version number against a Toolbox version FORMAT [status, fieldsUsed] = spm_matlab_version_chk(chk,tbx) chk - Version number to be checked {string} @@ -23,9 +23,12 @@ def spm_matlab_version_chk(*args, **kwargs): Copyright (C) 2008 Wellcome Trust Centre for Neuroimaging - [Matlab code]( https://github.com/spm/spm/blob/main/compat/spm_matlab_version_chk.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/compat/spm_matlab_version_chk.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_matlab_version_chk", *args, **kwargs) diff --git a/spm/__compat/spm_mean.py b/spm/__compat/spm_mean.py index b3b567a5..8785996d 100644 --- a/spm/__compat/spm_mean.py +++ b/spm/__compat/spm_mean.py @@ -2,7 +2,7 @@ def spm_mean(*args, **kwargs): - """ + r""" Compute a mean image from a set FORMAT spm_mean(P) P - list of images to average [Default: GUI] @@ -18,9 +18,12 @@ def spm_mean(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/compat/spm_mean.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/compat/spm_mean.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_mean", *args, **kwargs, nargout=0) diff --git a/spm/__compat/spm_mean_ui.py b/spm/__compat/spm_mean_ui.py index 8fdcc5f9..cdae843e 100644 --- a/spm/__compat/spm_mean_ui.py +++ b/spm/__compat/spm_mean_ui.py @@ -2,7 +2,7 @@ def spm_mean_ui(*args, **kwargs): - """ + r""" Prompt for a series of images and averages them __________________________________________________________________________ @@ -11,9 +11,12 @@ def spm_mean_ui(*args, **kwargs): Copyright (C) 1998-2011 Wellcome Trust Centre for Neuroimaging - [Matlab code]( https://github.com/spm/spm/blob/main/compat/spm_mean_ui.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/compat/spm_mean_ui.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_mean_ui", *args, **kwargs, nargout=0) diff --git a/spm/__compat/spm_read_hdr.py b/spm/__compat/spm_read_hdr.py index 03865a46..fb95d6f8 100644 --- a/spm/__compat/spm_read_hdr.py +++ b/spm/__compat/spm_read_hdr.py @@ -2,7 +2,7 @@ def spm_read_hdr(*args, **kwargs): - """ + r""" Read (SPM customised) Analyze header FORMAT [hdr,otherendian] = spm_read_hdr(fname) fname - .hdr filename @@ -12,9 +12,12 @@ def spm_read_hdr(*args, **kwargs): Copyright (C) 2008 Wellcome Trust Centre for Neuroimaging - [Matlab code]( https://github.com/spm/spm/blob/main/compat/spm_read_hdr.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/compat/spm_read_hdr.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_read_hdr", *args, **kwargs) diff --git a/spm/__compat/spm_resss.py b/spm/__compat/spm_resss.py index 5c317669..779c90c5 100644 --- a/spm/__compat/spm_resss.py +++ b/spm/__compat/spm_resss.py @@ -2,7 +2,7 @@ def spm_resss(*args, **kwargs): - """ + r""" Create residual sum of squares image (ResSS) FORMAT Vo = spm_resss(Vi,Vo,R,flags) Vi - vector of mapped image volumes to work on (from spm_vol) @@ -79,9 +79,12 @@ def spm_resss(*args, **kwargs): Copyright (C) 1999-2012 Wellcome Trust Centre for Neuroimaging - [Matlab code]( https://github.com/spm/spm/blob/main/compat/spm_resss.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/compat/spm_resss.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_resss", *args, **kwargs) diff --git a/spm/__compat/spm_spm_ui.py b/spm/__compat/spm_spm_ui.py index 15a2c5a5..53962e3c 100644 --- a/spm/__compat/spm_spm_ui.py +++ b/spm/__compat/spm_spm_ui.py @@ -2,7 +2,7 @@ def spm_spm_ui(*args, **kwargs): - """ + r""" Setting up the general linear model for independent data FORMATs (given in Programmers Help) _______________________________________________________________________ @@ -486,9 +486,12 @@ def spm_spm_ui(*args, **kwargs): Copyright (C) 2008 Wellcome Trust Centre for Neuroimaging - [Matlab code]( https://github.com/spm/spm/blob/main/compat/spm_spm_ui.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/compat/spm_spm_ui.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_spm_ui", *args, **kwargs) diff --git a/spm/__compat/spm_tbx_config2cfg.py b/spm/__compat/spm_tbx_config2cfg.py index 8b145b76..b5322424 100644 --- a/spm/__compat/spm_tbx_config2cfg.py +++ b/spm/__compat/spm_tbx_config2cfg.py @@ -2,7 +2,7 @@ def spm_tbx_config2cfg(*args, **kwargs): - """ + r""" Convert SPM5 toolbox configuration to Matlabbatch FORMAT spm_tbx_config2cfg(c) Input: @@ -46,9 +46,12 @@ def spm_tbx_config2cfg(*args, **kwargs): Copyright (C) 2008 Wellcome Trust Centre for Neuroimaging - [Matlab code]( https://github.com/spm/spm/blob/main/compat/spm_tbx_config2cfg.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/compat/spm_tbx_config2cfg.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_tbx_config2cfg", *args, **kwargs) diff --git a/spm/__config/cfg_mlbatch_appcfg.py b/spm/__config/cfg_mlbatch_appcfg.py index 8c106824..f546326c 100644 --- a/spm/__config/cfg_mlbatch_appcfg.py +++ b/spm/__config/cfg_mlbatch_appcfg.py @@ -2,15 +2,18 @@ def cfg_mlbatch_appcfg(*args, **kwargs): - """ + r""" Add SPM to the application list of MATLABBATCH This file must be on MATLAB search path for cfg_util to detect it. __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/config/cfg_mlbatch_appcfg.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/config/cfg_mlbatch_appcfg.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("cfg_mlbatch_appcfg", *args, **kwargs) diff --git a/spm/__config/spm_cfg.py b/spm/__config/spm_cfg.py index a55d7223..afc60152 100644 --- a/spm/__config/spm_cfg.py +++ b/spm/__config/spm_cfg.py @@ -2,14 +2,17 @@ def spm_cfg(*args, **kwargs): - """ + r""" SPM Configuration file for MATLABBATCH __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/config/spm_cfg.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/config/spm_cfg.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_cfg", *args, **kwargs) diff --git a/spm/__config/spm_cfg_bbox.py b/spm/__config/spm_cfg_bbox.py index 9789d3a0..b1d6a8bb 100644 --- a/spm/__config/spm_cfg_bbox.py +++ b/spm/__config/spm_cfg_bbox.py @@ -2,14 +2,17 @@ def spm_cfg_bbox(*args, **kwargs): - """ + r""" SPM Configuration file for Get Bounding Box __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/config/spm_cfg_bbox.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/config/spm_cfg_bbox.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_cfg_bbox", *args, **kwargs) diff --git a/spm/__config/spm_cfg_bms_map.py b/spm/__config/spm_cfg_bms_map.py index 5a048a47..c9ccd757 100644 --- a/spm/__config/spm_cfg_bms_map.py +++ b/spm/__config/spm_cfg_bms_map.py @@ -2,14 +2,17 @@ def spm_cfg_bms_map(*args, **kwargs): - """ + r""" Configuration file for BMS interface __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/config/spm_cfg_bms_map.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/config/spm_cfg_bms_map.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_cfg_bms_map", *args, **kwargs) diff --git a/spm/__config/spm_cfg_cat.py b/spm/__config/spm_cfg_cat.py index 360a8c15..ddeca223 100644 --- a/spm/__config/spm_cfg_cat.py +++ b/spm/__config/spm_cfg_cat.py @@ -2,14 +2,17 @@ def spm_cfg_cat(*args, **kwargs): - """ + r""" SPM Configuration file for 3D to 4D volumes conversion __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/config/spm_cfg_cat.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/config/spm_cfg_cat.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_cfg_cat", *args, **kwargs) diff --git a/spm/__config/spm_cfg_cdir.py b/spm/__config/spm_cfg_cdir.py index fef42035..f041053a 100644 --- a/spm/__config/spm_cfg_cdir.py +++ b/spm/__config/spm_cfg_cdir.py @@ -2,14 +2,17 @@ def spm_cfg_cdir(*args, **kwargs): - """ + r""" SPM Configuration file for Change Directory __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/config/spm_cfg_cdir.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/config/spm_cfg_cdir.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_cfg_cdir", *args, **kwargs) diff --git a/spm/__config/spm_cfg_checkreg.py b/spm/__config/spm_cfg_checkreg.py index cb065e81..73108c5a 100644 --- a/spm/__config/spm_cfg_checkreg.py +++ b/spm/__config/spm_cfg_checkreg.py @@ -2,14 +2,17 @@ def spm_cfg_checkreg(*args, **kwargs): - """ + r""" SPM Configuration file for Check Reg __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/config/spm_cfg_checkreg.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/config/spm_cfg_checkreg.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_cfg_checkreg", *args, **kwargs) diff --git a/spm/__config/spm_cfg_con.py b/spm/__config/spm_cfg_con.py index 962755bb..d29f4892 100644 --- a/spm/__config/spm_cfg_con.py +++ b/spm/__config/spm_cfg_con.py @@ -2,14 +2,17 @@ def spm_cfg_con(*args, **kwargs): - """ + r""" SPM Configuration file for contrast specification __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/config/spm_cfg_con.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/config/spm_cfg_con.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_cfg_con", *args, **kwargs) diff --git a/spm/__config/spm_cfg_coreg.py b/spm/__config/spm_cfg_coreg.py index 1aebfc94..e310f665 100644 --- a/spm/__config/spm_cfg_coreg.py +++ b/spm/__config/spm_cfg_coreg.py @@ -2,14 +2,17 @@ def spm_cfg_coreg(*args, **kwargs): - """ + r""" SPM Configuration file for Coregister __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/config/spm_cfg_coreg.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/config/spm_cfg_coreg.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_cfg_coreg", *args, **kwargs) diff --git a/spm/__config/spm_cfg_dcm_bms.py b/spm/__config/spm_cfg_dcm_bms.py index 158b73a3..832e1687 100644 --- a/spm/__config/spm_cfg_dcm_bms.py +++ b/spm/__config/spm_cfg_dcm_bms.py @@ -2,14 +2,17 @@ def spm_cfg_dcm_bms(*args, **kwargs): - """ + r""" Configuration file for Bayesian Model Selection (DCM) __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/config/spm_cfg_dcm_bms.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/config/spm_cfg_dcm_bms.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_cfg_dcm_bms", *args, **kwargs) diff --git a/spm/__config/spm_cfg_dcm_est.py b/spm/__config/spm_cfg_dcm_est.py index cdc6250f..14632d31 100644 --- a/spm/__config/spm_cfg_dcm_est.py +++ b/spm/__config/spm_cfg_dcm_est.py @@ -2,14 +2,17 @@ def spm_cfg_dcm_est(*args, **kwargs): - """ + r""" SPM Configuration file for DCM estimation __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/config/spm_cfg_dcm_est.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/config/spm_cfg_dcm_est.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_cfg_dcm_est", *args, **kwargs) diff --git a/spm/__config/spm_cfg_dcm_fmri.py b/spm/__config/spm_cfg_dcm_fmri.py index c90f950f..1d91d122 100644 --- a/spm/__config/spm_cfg_dcm_fmri.py +++ b/spm/__config/spm_cfg_dcm_fmri.py @@ -2,14 +2,17 @@ def spm_cfg_dcm_fmri(*args, **kwargs): - """ + r""" SPM Configuration file for DCM for fMRI __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/config/spm_cfg_dcm_fmri.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/config/spm_cfg_dcm_fmri.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_cfg_dcm_fmri", *args, **kwargs) diff --git a/spm/__config/spm_cfg_dcm_meeg.py b/spm/__config/spm_cfg_dcm_meeg.py index 212372ff..0ef9ab6a 100644 --- a/spm/__config/spm_cfg_dcm_meeg.py +++ b/spm/__config/spm_cfg_dcm_meeg.py @@ -2,14 +2,17 @@ def spm_cfg_dcm_meeg(*args, **kwargs): - """ + r""" Invert multiple DCMs specified in GUI. __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/config/spm_cfg_dcm_meeg.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/config/spm_cfg_dcm_meeg.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_cfg_dcm_meeg", *args, **kwargs) diff --git a/spm/__config/spm_cfg_dcm_peb.py b/spm/__config/spm_cfg_dcm_peb.py index 62407afa..789135a1 100644 --- a/spm/__config/spm_cfg_dcm_peb.py +++ b/spm/__config/spm_cfg_dcm_peb.py @@ -2,14 +2,17 @@ def spm_cfg_dcm_peb(*args, **kwargs): - """ + r""" SPM Configuration file for second-level DCM (PEB) __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/config/spm_cfg_dcm_peb.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/config/spm_cfg_dcm_peb.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_cfg_dcm_peb", *args, **kwargs) diff --git a/spm/__config/spm_cfg_deface.py b/spm/__config/spm_cfg_deface.py index 3906ccf0..c252774b 100644 --- a/spm/__config/spm_cfg_deface.py +++ b/spm/__config/spm_cfg_deface.py @@ -2,14 +2,17 @@ def spm_cfg_deface(*args, **kwargs): - """ + r""" SPM Configuration file for toolbox 'De-Face' __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/config/spm_cfg_deface.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/config/spm_cfg_deface.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_cfg_deface", *args, **kwargs) diff --git a/spm/__config/spm_cfg_deformations.py b/spm/__config/spm_cfg_deformations.py index 83c6e4fe..f0d7ae15 100644 --- a/spm/__config/spm_cfg_deformations.py +++ b/spm/__config/spm_cfg_deformations.py @@ -2,14 +2,17 @@ def spm_cfg_deformations(*args, **kwargs): - """ + r""" Configuration file for deformation jobs _______________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/config/spm_cfg_deformations.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/config/spm_cfg_deformations.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_cfg_deformations", *args, **kwargs) diff --git a/spm/__config/spm_cfg_dicom.py b/spm/__config/spm_cfg_dicom.py index 59ae84cf..25bdb54f 100644 --- a/spm/__config/spm_cfg_dicom.py +++ b/spm/__config/spm_cfg_dicom.py @@ -2,14 +2,17 @@ def spm_cfg_dicom(*args, **kwargs): - """ + r""" SPM Configuration file for DICOM Import __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/config/spm_cfg_dicom.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/config/spm_cfg_dicom.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_cfg_dicom", *args, **kwargs) diff --git a/spm/__config/spm_cfg_disp.py b/spm/__config/spm_cfg_disp.py index b3a312af..e27898c3 100644 --- a/spm/__config/spm_cfg_disp.py +++ b/spm/__config/spm_cfg_disp.py @@ -2,14 +2,17 @@ def spm_cfg_disp(*args, **kwargs): - """ + r""" SPM Configuration file for Image Display __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/config/spm_cfg_disp.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/config/spm_cfg_disp.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_cfg_disp", *args, **kwargs) diff --git a/spm/__config/spm_cfg_ecat.py b/spm/__config/spm_cfg_ecat.py index 8b917929..3dc14672 100644 --- a/spm/__config/spm_cfg_ecat.py +++ b/spm/__config/spm_cfg_ecat.py @@ -2,14 +2,17 @@ def spm_cfg_ecat(*args, **kwargs): - """ + r""" SPM Configuration file for ECAT Import __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/config/spm_cfg_ecat.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/config/spm_cfg_ecat.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_cfg_ecat", *args, **kwargs) diff --git a/spm/__config/spm_cfg_eeg.py b/spm/__config/spm_cfg_eeg.py index 4d0035fd..ce0c6d4e 100644 --- a/spm/__config/spm_cfg_eeg.py +++ b/spm/__config/spm_cfg_eeg.py @@ -2,14 +2,17 @@ def spm_cfg_eeg(*args, **kwargs): - """ + r""" SPM M/EEG Configuration file for MATLABBATCH __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/config/spm_cfg_eeg.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/config/spm_cfg_eeg.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_cfg_eeg", *args, **kwargs) diff --git a/spm/__config/spm_cfg_eeg_artefact.py b/spm/__config/spm_cfg_eeg_artefact.py index 5f211248..520ee51f 100644 --- a/spm/__config/spm_cfg_eeg_artefact.py +++ b/spm/__config/spm_cfg_eeg_artefact.py @@ -2,14 +2,17 @@ def spm_cfg_eeg_artefact(*args, **kwargs): - """ + r""" Configuration file for M/EEG artefact detection __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/config/spm_cfg_eeg_artefact.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/config/spm_cfg_eeg_artefact.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_cfg_eeg_artefact", *args, **kwargs) diff --git a/spm/__config/spm_cfg_eeg_average.py b/spm/__config/spm_cfg_eeg_average.py index 75542e59..7c164de5 100644 --- a/spm/__config/spm_cfg_eeg_average.py +++ b/spm/__config/spm_cfg_eeg_average.py @@ -2,14 +2,17 @@ def spm_cfg_eeg_average(*args, **kwargs): - """ + r""" Configuration file for M/EEG epoch averaging __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/config/spm_cfg_eeg_average.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/config/spm_cfg_eeg_average.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_cfg_eeg_average", *args, **kwargs) diff --git a/spm/__config/spm_cfg_eeg_avgfreq.py b/spm/__config/spm_cfg_eeg_avgfreq.py index 33f02647..e8d9839c 100644 --- a/spm/__config/spm_cfg_eeg_avgfreq.py +++ b/spm/__config/spm_cfg_eeg_avgfreq.py @@ -2,14 +2,17 @@ def spm_cfg_eeg_avgfreq(*args, **kwargs): - """ + r""" Configuration file for averaging over frequency __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/config/spm_cfg_eeg_avgfreq.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/config/spm_cfg_eeg_avgfreq.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_cfg_eeg_avgfreq", *args, **kwargs) diff --git a/spm/__config/spm_cfg_eeg_avgtime.py b/spm/__config/spm_cfg_eeg_avgtime.py index 8d207ddc..91005fee 100644 --- a/spm/__config/spm_cfg_eeg_avgtime.py +++ b/spm/__config/spm_cfg_eeg_avgtime.py @@ -2,14 +2,17 @@ def spm_cfg_eeg_avgtime(*args, **kwargs): - """ + r""" Configuration file for averaging over time __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/config/spm_cfg_eeg_avgtime.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/config/spm_cfg_eeg_avgtime.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_cfg_eeg_avgtime", *args, **kwargs) diff --git a/spm/__config/spm_cfg_eeg_bc.py b/spm/__config/spm_cfg_eeg_bc.py index 800e3275..03d41926 100644 --- a/spm/__config/spm_cfg_eeg_bc.py +++ b/spm/__config/spm_cfg_eeg_bc.py @@ -2,14 +2,17 @@ def spm_cfg_eeg_bc(*args, **kwargs): - """ + r""" configuration file for baseline correction __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/config/spm_cfg_eeg_bc.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/config/spm_cfg_eeg_bc.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_cfg_eeg_bc", *args, **kwargs) diff --git a/spm/__config/spm_cfg_eeg_cfc.py b/spm/__config/spm_cfg_eeg_cfc.py index 344f2f43..f48d9f8c 100644 --- a/spm/__config/spm_cfg_eeg_cfc.py +++ b/spm/__config/spm_cfg_eeg_cfc.py @@ -2,14 +2,17 @@ def spm_cfg_eeg_cfc(*args, **kwargs): - """ + r""" Configuration file for M/EEG cross-frequency coupling analysis __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/config/spm_cfg_eeg_cfc.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/config/spm_cfg_eeg_cfc.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_cfg_eeg_cfc", *args, **kwargs) diff --git a/spm/__config/spm_cfg_eeg_channel_selector.py b/spm/__config/spm_cfg_eeg_channel_selector.py index 5889d713..a25f987f 100644 --- a/spm/__config/spm_cfg_eeg_channel_selector.py +++ b/spm/__config/spm_cfg_eeg_channel_selector.py @@ -2,14 +2,17 @@ def spm_cfg_eeg_channel_selector(*args, **kwargs): - """ + r""" Generic M/EEG channel selector based on label and type __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/config/spm_cfg_eeg_channel_selector.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/config/spm_cfg_eeg_channel_selector.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_cfg_eeg_channel_selector", *args, **kwargs) diff --git a/spm/__config/spm_cfg_eeg_collapse_timefreq.py b/spm/__config/spm_cfg_eeg_collapse_timefreq.py index 9356b5f6..90fb23ef 100644 --- a/spm/__config/spm_cfg_eeg_collapse_timefreq.py +++ b/spm/__config/spm_cfg_eeg_collapse_timefreq.py @@ -2,14 +2,17 @@ def spm_cfg_eeg_collapse_timefreq(*args, **kwargs): - """ + r""" Configuration file for within-image averaging __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/config/spm_cfg_eeg_collapse_timefreq.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/config/spm_cfg_eeg_collapse_timefreq.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_cfg_eeg_collapse_timefreq", *args, **kwargs) diff --git a/spm/__config/spm_cfg_eeg_combineplanar.py b/spm/__config/spm_cfg_eeg_combineplanar.py index 08f33d95..836c7d8e 100644 --- a/spm/__config/spm_cfg_eeg_combineplanar.py +++ b/spm/__config/spm_cfg_eeg_combineplanar.py @@ -2,14 +2,17 @@ def spm_cfg_eeg_combineplanar(*args, **kwargs): - """ + r""" configuration file for combineplanar __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/config/spm_cfg_eeg_combineplanar.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/config/spm_cfg_eeg_combineplanar.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_cfg_eeg_combineplanar", *args, **kwargs) diff --git a/spm/__config/spm_cfg_eeg_contrast.py b/spm/__config/spm_cfg_eeg_contrast.py index 27d23143..5064ea54 100644 --- a/spm/__config/spm_cfg_eeg_contrast.py +++ b/spm/__config/spm_cfg_eeg_contrast.py @@ -2,14 +2,17 @@ def spm_cfg_eeg_contrast(*args, **kwargs): - """ + r""" Configuration file for computing contrast over epochs __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/config/spm_cfg_eeg_contrast.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/config/spm_cfg_eeg_contrast.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_cfg_eeg_contrast", *args, **kwargs) diff --git a/spm/__config/spm_cfg_eeg_convert.py b/spm/__config/spm_cfg_eeg_convert.py index 2e848ee1..f8024e78 100644 --- a/spm/__config/spm_cfg_eeg_convert.py +++ b/spm/__config/spm_cfg_eeg_convert.py @@ -2,14 +2,17 @@ def spm_cfg_eeg_convert(*args, **kwargs): - """ + r""" Configuration file for M/EEG data conversion __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/config/spm_cfg_eeg_convert.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/config/spm_cfg_eeg_convert.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_cfg_eeg_convert", *args, **kwargs) diff --git a/spm/__config/spm_cfg_eeg_convert2images.py b/spm/__config/spm_cfg_eeg_convert2images.py index 4d673348..318b4d71 100644 --- a/spm/__config/spm_cfg_eeg_convert2images.py +++ b/spm/__config/spm_cfg_eeg_convert2images.py @@ -2,15 +2,18 @@ def spm_cfg_eeg_convert2images(*args, **kwargs): - """ + r""" Configuration file for writing voxel-based images from SPM M/EEG format, as a time-series of 2Dimages __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/config/spm_cfg_eeg_convert2images.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/config/spm_cfg_eeg_convert2images.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_cfg_eeg_convert2images", *args, **kwargs) diff --git a/spm/__config/spm_cfg_eeg_copy.py b/spm/__config/spm_cfg_eeg_copy.py index d036377f..49df7f8a 100644 --- a/spm/__config/spm_cfg_eeg_copy.py +++ b/spm/__config/spm_cfg_eeg_copy.py @@ -2,14 +2,17 @@ def spm_cfg_eeg_copy(*args, **kwargs): - """ + r""" Configuration file for copying M/EEG datasets __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/config/spm_cfg_eeg_copy.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/config/spm_cfg_eeg_copy.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_cfg_eeg_copy", *args, **kwargs) diff --git a/spm/__config/spm_cfg_eeg_correct_sensor_data.py b/spm/__config/spm_cfg_eeg_correct_sensor_data.py index 13bcbbed..df522c91 100644 --- a/spm/__config/spm_cfg_eeg_correct_sensor_data.py +++ b/spm/__config/spm_cfg_eeg_correct_sensor_data.py @@ -2,14 +2,17 @@ def spm_cfg_eeg_correct_sensor_data(*args, **kwargs): - """ + r""" Configuration file for coorecting sensor data __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/config/spm_cfg_eeg_correct_sensor_data.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/config/spm_cfg_eeg_correct_sensor_data.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_cfg_eeg_correct_sensor_data", *args, **kwargs) diff --git a/spm/__config/spm_cfg_eeg_crop.py b/spm/__config/spm_cfg_eeg_crop.py index b13553de..0dd62c5e 100644 --- a/spm/__config/spm_cfg_eeg_crop.py +++ b/spm/__config/spm_cfg_eeg_crop.py @@ -2,14 +2,17 @@ def spm_cfg_eeg_crop(*args, **kwargs): - """ + r""" configuration file for cropping M/EEG data __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/config/spm_cfg_eeg_crop.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/config/spm_cfg_eeg_crop.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_cfg_eeg_crop", *args, **kwargs) diff --git a/spm/__config/spm_cfg_eeg_delete.py b/spm/__config/spm_cfg_eeg_delete.py index d3e59def..fa290128 100644 --- a/spm/__config/spm_cfg_eeg_delete.py +++ b/spm/__config/spm_cfg_eeg_delete.py @@ -2,14 +2,17 @@ def spm_cfg_eeg_delete(*args, **kwargs): - """ + r""" Configuration file for deleting M/EEG datasets __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/config/spm_cfg_eeg_delete.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/config/spm_cfg_eeg_delete.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_cfg_eeg_delete", *args, **kwargs) diff --git a/spm/__config/spm_cfg_eeg_dipfit.py b/spm/__config/spm_cfg_eeg_dipfit.py index d7b748b7..df034a93 100644 --- a/spm/__config/spm_cfg_eeg_dipfit.py +++ b/spm/__config/spm_cfg_eeg_dipfit.py @@ -2,14 +2,17 @@ def spm_cfg_eeg_dipfit(*args, **kwargs): - """ + r""" Configuration file for Bayesian dipole fitting __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/config/spm_cfg_eeg_dipfit.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/config/spm_cfg_eeg_dipfit.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_cfg_eeg_dipfit", *args, **kwargs) diff --git a/spm/__config/spm_cfg_eeg_downsample.py b/spm/__config/spm_cfg_eeg_downsample.py index 5c74d8a7..928c3dac 100644 --- a/spm/__config/spm_cfg_eeg_downsample.py +++ b/spm/__config/spm_cfg_eeg_downsample.py @@ -2,14 +2,17 @@ def spm_cfg_eeg_downsample(*args, **kwargs): - """ + r""" Configuration file for M/EEG downsampling __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/config/spm_cfg_eeg_downsample.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/config/spm_cfg_eeg_downsample.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_cfg_eeg_downsample", *args, **kwargs) diff --git a/spm/__config/spm_cfg_eeg_epochs.py b/spm/__config/spm_cfg_eeg_epochs.py index 234bd3d5..03f8de44 100644 --- a/spm/__config/spm_cfg_eeg_epochs.py +++ b/spm/__config/spm_cfg_eeg_epochs.py @@ -2,14 +2,17 @@ def spm_cfg_eeg_epochs(*args, **kwargs): - """ + r""" Configuration file for M/EEG epoching __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/config/spm_cfg_eeg_epochs.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/config/spm_cfg_eeg_epochs.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_cfg_eeg_epochs", *args, **kwargs) diff --git a/spm/__config/spm_cfg_eeg_filter.py b/spm/__config/spm_cfg_eeg_filter.py index a15bf18d..352c2d69 100644 --- a/spm/__config/spm_cfg_eeg_filter.py +++ b/spm/__config/spm_cfg_eeg_filter.py @@ -2,14 +2,17 @@ def spm_cfg_eeg_filter(*args, **kwargs): - """ + r""" configuration file for EEG filtering __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/config/spm_cfg_eeg_filter.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/config/spm_cfg_eeg_filter.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_cfg_eeg_filter", *args, **kwargs) diff --git a/spm/__config/spm_cfg_eeg_firstlevel.py b/spm/__config/spm_cfg_eeg_firstlevel.py index 386a0ad5..2e1d5fb3 100644 --- a/spm/__config/spm_cfg_eeg_firstlevel.py +++ b/spm/__config/spm_cfg_eeg_firstlevel.py @@ -2,14 +2,17 @@ def spm_cfg_eeg_firstlevel(*args, **kwargs): - """ + r""" SPM Configuration file for M/EEG convolution modelling __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/config/spm_cfg_eeg_firstlevel.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/config/spm_cfg_eeg_firstlevel.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_cfg_eeg_firstlevel", *args, **kwargs) diff --git a/spm/__config/spm_cfg_eeg_fuse.py b/spm/__config/spm_cfg_eeg_fuse.py index 96e64e98..45652bc7 100644 --- a/spm/__config/spm_cfg_eeg_fuse.py +++ b/spm/__config/spm_cfg_eeg_fuse.py @@ -2,14 +2,17 @@ def spm_cfg_eeg_fuse(*args, **kwargs): - """ + r""" Configuration file for fusing M/EEG files __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/config/spm_cfg_eeg_fuse.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/config/spm_cfg_eeg_fuse.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_cfg_eeg_fuse", *args, **kwargs) diff --git a/spm/__config/spm_cfg_eeg_grandmean.py b/spm/__config/spm_cfg_eeg_grandmean.py index 431b9d50..93b6f24d 100644 --- a/spm/__config/spm_cfg_eeg_grandmean.py +++ b/spm/__config/spm_cfg_eeg_grandmean.py @@ -2,14 +2,17 @@ def spm_cfg_eeg_grandmean(*args, **kwargs): - """ + r""" Configuration file for averaging evoked responses __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/config/spm_cfg_eeg_grandmean.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/config/spm_cfg_eeg_grandmean.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_cfg_eeg_grandmean", *args, **kwargs) diff --git a/spm/__config/spm_cfg_eeg_inv_coregshift.py b/spm/__config/spm_cfg_eeg_inv_coregshift.py index 806cf063..57daaedb 100644 --- a/spm/__config/spm_cfg_eeg_inv_coregshift.py +++ b/spm/__config/spm_cfg_eeg_inv_coregshift.py @@ -2,16 +2,19 @@ def spm_cfg_eeg_inv_coregshift(*args, **kwargs): - """ + r""" Configuration file for specifying the head model for source reconstruction. This is to add deterministic or random displacements to simulate coregistration error. __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/config/spm_cfg_eeg_inv_coregshift.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/config/spm_cfg_eeg_inv_coregshift.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_cfg_eeg_inv_coregshift", *args, **kwargs) diff --git a/spm/__config/spm_cfg_eeg_inv_extract.py b/spm/__config/spm_cfg_eeg_inv_extract.py index dcc14fc8..73730674 100644 --- a/spm/__config/spm_cfg_eeg_inv_extract.py +++ b/spm/__config/spm_cfg_eeg_inv_extract.py @@ -2,15 +2,18 @@ def spm_cfg_eeg_inv_extract(*args, **kwargs): - """ + r""" Configuration file for extracting source data from imaging source reconstruction __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/config/spm_cfg_eeg_inv_extract.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/config/spm_cfg_eeg_inv_extract.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_cfg_eeg_inv_extract", *args, **kwargs) diff --git a/spm/__config/spm_cfg_eeg_inv_headmodel.py b/spm/__config/spm_cfg_eeg_inv_headmodel.py index 60c6ebf1..27bbc720 100644 --- a/spm/__config/spm_cfg_eeg_inv_headmodel.py +++ b/spm/__config/spm_cfg_eeg_inv_headmodel.py @@ -2,14 +2,17 @@ def spm_cfg_eeg_inv_headmodel(*args, **kwargs): - """ + r""" Configuration file for specifying the head model for source reconstruction __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/config/spm_cfg_eeg_inv_headmodel.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/config/spm_cfg_eeg_inv_headmodel.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_cfg_eeg_inv_headmodel", *args, **kwargs) diff --git a/spm/__config/spm_cfg_eeg_inv_headmodelhelmet.py b/spm/__config/spm_cfg_eeg_inv_headmodelhelmet.py index efa57ed1..5623b0f9 100644 --- a/spm/__config/spm_cfg_eeg_inv_headmodelhelmet.py +++ b/spm/__config/spm_cfg_eeg_inv_headmodelhelmet.py @@ -2,15 +2,18 @@ def spm_cfg_eeg_inv_headmodelhelmet(*args, **kwargs): - """ + r""" Configuration file for specifying the head model for source reconstruction This is for registration using new helmet design. __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/config/spm_cfg_eeg_inv_headmodelhelmet.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/config/spm_cfg_eeg_inv_headmodelhelmet.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_cfg_eeg_inv_headmodelhelmet", *args, **kwargs) diff --git a/spm/__config/spm_cfg_eeg_inv_invert.py b/spm/__config/spm_cfg_eeg_inv_invert.py index 306bd654..72898f01 100644 --- a/spm/__config/spm_cfg_eeg_inv_invert.py +++ b/spm/__config/spm_cfg_eeg_inv_invert.py @@ -2,14 +2,17 @@ def spm_cfg_eeg_inv_invert(*args, **kwargs): - """ + r""" Configuration file for running imaging source reconstruction __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/config/spm_cfg_eeg_inv_invert.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/config/spm_cfg_eeg_inv_invert.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_cfg_eeg_inv_invert", *args, **kwargs) diff --git a/spm/__config/spm_cfg_eeg_inv_invertiter.py b/spm/__config/spm_cfg_eeg_inv_invertiter.py index 8726dac0..ee0d22d0 100644 --- a/spm/__config/spm_cfg_eeg_inv_invertiter.py +++ b/spm/__config/spm_cfg_eeg_inv_invertiter.py @@ -2,14 +2,17 @@ def spm_cfg_eeg_inv_invertiter(*args, **kwargs): - """ + r""" Configuration file for running imaging source reconstruction __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/config/spm_cfg_eeg_inv_invertiter.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/config/spm_cfg_eeg_inv_invertiter.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_cfg_eeg_inv_invertiter", *args, **kwargs) diff --git a/spm/__config/spm_cfg_eeg_inv_mix.py b/spm/__config/spm_cfg_eeg_inv_mix.py index 45e13f73..e87cdf53 100644 --- a/spm/__config/spm_cfg_eeg_inv_mix.py +++ b/spm/__config/spm_cfg_eeg_inv_mix.py @@ -2,15 +2,18 @@ def spm_cfg_eeg_inv_mix(*args, **kwargs): - """ + r""" Configuration file for merging (using a new inversion) a number of imaging source inversion reconstructions __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/config/spm_cfg_eeg_inv_mix.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/config/spm_cfg_eeg_inv_mix.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_cfg_eeg_inv_mix", *args, **kwargs) diff --git a/spm/__config/spm_cfg_eeg_inv_optimize.py b/spm/__config/spm_cfg_eeg_inv_optimize.py index 16c1f212..ab032281 100644 --- a/spm/__config/spm_cfg_eeg_inv_optimize.py +++ b/spm/__config/spm_cfg_eeg_inv_optimize.py @@ -2,15 +2,18 @@ def spm_cfg_eeg_inv_optimize(*args, **kwargs): - """ + r""" Configuration file to set up optimization routines for M/EEG source inversion __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/config/spm_cfg_eeg_inv_optimize.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/config/spm_cfg_eeg_inv_optimize.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_cfg_eeg_inv_optimize", *args, **kwargs) diff --git a/spm/__config/spm_cfg_eeg_inv_patchdef.py b/spm/__config/spm_cfg_eeg_inv_patchdef.py index aa2749a8..138e2a26 100644 --- a/spm/__config/spm_cfg_eeg_inv_patchdef.py +++ b/spm/__config/spm_cfg_eeg_inv_patchdef.py @@ -2,15 +2,18 @@ def spm_cfg_eeg_inv_patchdef(*args, **kwargs): - """ + r""" Configuration file for taking a number of previous inversion results (maybe based on different data), smoothing and creating an approximate posterior __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/config/spm_cfg_eeg_inv_patchdef.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/config/spm_cfg_eeg_inv_patchdef.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_cfg_eeg_inv_patchdef", *args, **kwargs) diff --git a/spm/__config/spm_cfg_eeg_inv_post.py b/spm/__config/spm_cfg_eeg_inv_post.py index 188adfd8..56fa3682 100644 --- a/spm/__config/spm_cfg_eeg_inv_post.py +++ b/spm/__config/spm_cfg_eeg_inv_post.py @@ -2,15 +2,18 @@ def spm_cfg_eeg_inv_post(*args, **kwargs): - """ + r""" Configuration file for taking a number of previous inversion results (maybe based on different data), smoothing and creating an approximate posterior __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/config/spm_cfg_eeg_inv_post.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/config/spm_cfg_eeg_inv_post.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_cfg_eeg_inv_post", *args, **kwargs) diff --git a/spm/__config/spm_cfg_eeg_inv_prepro.py b/spm/__config/spm_cfg_eeg_inv_prepro.py index 481fdf21..76fc83ed 100644 --- a/spm/__config/spm_cfg_eeg_inv_prepro.py +++ b/spm/__config/spm_cfg_eeg_inv_prepro.py @@ -2,14 +2,17 @@ def spm_cfg_eeg_inv_prepro(*args, **kwargs): - """ + r""" Configuration file for configuring imaging source inversion reconstruction __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/config/spm_cfg_eeg_inv_prepro.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/config/spm_cfg_eeg_inv_prepro.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_cfg_eeg_inv_prepro", *args, **kwargs) diff --git a/spm/__config/spm_cfg_eeg_inv_priors.py b/spm/__config/spm_cfg_eeg_inv_priors.py index 74ea7e07..6c567022 100644 --- a/spm/__config/spm_cfg_eeg_inv_priors.py +++ b/spm/__config/spm_cfg_eeg_inv_priors.py @@ -2,14 +2,17 @@ def spm_cfg_eeg_inv_priors(*args, **kwargs): - """ + r""" Configuration file to set up priors for M/EEG source reconstruction __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/config/spm_cfg_eeg_inv_priors.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/config/spm_cfg_eeg_inv_priors.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_cfg_eeg_inv_priors", *args, **kwargs) diff --git a/spm/__config/spm_cfg_eeg_inv_results.py b/spm/__config/spm_cfg_eeg_inv_results.py index 29070bf9..ba83148f 100644 --- a/spm/__config/spm_cfg_eeg_inv_results.py +++ b/spm/__config/spm_cfg_eeg_inv_results.py @@ -2,14 +2,17 @@ def spm_cfg_eeg_inv_results(*args, **kwargs): - """ + r""" Configuration file for exporting results of source reconstruction __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/config/spm_cfg_eeg_inv_results.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/config/spm_cfg_eeg_inv_results.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_cfg_eeg_inv_results", *args, **kwargs) diff --git a/spm/__config/spm_cfg_eeg_inv_sensorshift.py b/spm/__config/spm_cfg_eeg_inv_sensorshift.py index b1d141f4..ffe72599 100644 --- a/spm/__config/spm_cfg_eeg_inv_sensorshift.py +++ b/spm/__config/spm_cfg_eeg_inv_sensorshift.py @@ -2,16 +2,19 @@ def spm_cfg_eeg_inv_sensorshift(*args, **kwargs): - """ + r""" Configuration file for tinkering with channel loations This is to add deterministic or random displacements to simulate coregistration error. __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/config/spm_cfg_eeg_inv_sensorshift.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/config/spm_cfg_eeg_inv_sensorshift.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_cfg_eeg_inv_sensorshift", *args, **kwargs) diff --git a/spm/__config/spm_cfg_eeg_inv_simulate.py b/spm/__config/spm_cfg_eeg_inv_simulate.py index 0f8c9d90..586ca713 100644 --- a/spm/__config/spm_cfg_eeg_inv_simulate.py +++ b/spm/__config/spm_cfg_eeg_inv_simulate.py @@ -2,14 +2,17 @@ def spm_cfg_eeg_inv_simulate(*args, **kwargs): - """ + r""" Configuration file for simulation of sources __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/config/spm_cfg_eeg_inv_simulate.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/config/spm_cfg_eeg_inv_simulate.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_cfg_eeg_inv_simulate", *args, **kwargs) diff --git a/spm/__config/spm_cfg_eeg_merge.py b/spm/__config/spm_cfg_eeg_merge.py index 3f124723..18c3ec57 100644 --- a/spm/__config/spm_cfg_eeg_merge.py +++ b/spm/__config/spm_cfg_eeg_merge.py @@ -2,14 +2,17 @@ def spm_cfg_eeg_merge(*args, **kwargs): - """ + r""" Configuration file for merging M/EEG files __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/config/spm_cfg_eeg_merge.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/config/spm_cfg_eeg_merge.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_cfg_eeg_merge", *args, **kwargs) diff --git a/spm/__config/spm_cfg_eeg_momentfit.py b/spm/__config/spm_cfg_eeg_momentfit.py index 13fd83e4..c9861b71 100644 --- a/spm/__config/spm_cfg_eeg_momentfit.py +++ b/spm/__config/spm_cfg_eeg_momentfit.py @@ -2,7 +2,7 @@ def spm_cfg_eeg_momentfit(*args, **kwargs): - """ + r""" Configuration file for imaging source inversion reconstruction. This version to supply position and orientation parameters idea is to estimate dipole moments given priors and return a model evidence for @@ -10,9 +10,12 @@ def spm_cfg_eeg_momentfit(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/config/spm_cfg_eeg_momentfit.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/config/spm_cfg_eeg_momentfit.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_cfg_eeg_momentfit", *args, **kwargs) diff --git a/spm/__config/spm_cfg_eeg_montage.py b/spm/__config/spm_cfg_eeg_montage.py index 88b01f5b..039e0f3a 100644 --- a/spm/__config/spm_cfg_eeg_montage.py +++ b/spm/__config/spm_cfg_eeg_montage.py @@ -2,14 +2,17 @@ def spm_cfg_eeg_montage(*args, **kwargs): - """ + r""" Configuration file for reading montage files __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/config/spm_cfg_eeg_montage.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/config/spm_cfg_eeg_montage.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_cfg_eeg_montage", *args, **kwargs) diff --git a/spm/__config/spm_cfg_eeg_opmsetup.py b/spm/__config/spm_cfg_eeg_opmsetup.py index dd781779..aa56b4fc 100644 --- a/spm/__config/spm_cfg_eeg_opmsetup.py +++ b/spm/__config/spm_cfg_eeg_opmsetup.py @@ -2,14 +2,17 @@ def spm_cfg_eeg_opmsetup(*args, **kwargs): - """ + r""" Configuration file for M/EEG OPM set up __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/config/spm_cfg_eeg_opmsetup.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/config/spm_cfg_eeg_opmsetup.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_cfg_eeg_opmsetup", *args, **kwargs) diff --git a/spm/__config/spm_cfg_eeg_prepare.py b/spm/__config/spm_cfg_eeg_prepare.py index 6d060bbb..78cb184e 100644 --- a/spm/__config/spm_cfg_eeg_prepare.py +++ b/spm/__config/spm_cfg_eeg_prepare.py @@ -2,14 +2,17 @@ def spm_cfg_eeg_prepare(*args, **kwargs): - """ + r""" Configuration file for the prepare tool __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/config/spm_cfg_eeg_prepare.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/config/spm_cfg_eeg_prepare.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_cfg_eeg_prepare", *args, **kwargs) diff --git a/spm/__config/spm_cfg_eeg_reduce.py b/spm/__config/spm_cfg_eeg_reduce.py index 33a95102..81ca4c6b 100644 --- a/spm/__config/spm_cfg_eeg_reduce.py +++ b/spm/__config/spm_cfg_eeg_reduce.py @@ -2,14 +2,17 @@ def spm_cfg_eeg_reduce(*args, **kwargs): - """ + r""" Configuration file for M/EEG data reduction __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/config/spm_cfg_eeg_reduce.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/config/spm_cfg_eeg_reduce.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_cfg_eeg_reduce", *args, **kwargs) diff --git a/spm/__config/spm_cfg_eeg_regressors.py b/spm/__config/spm_cfg_eeg_regressors.py index b67e5f3c..f63f0a37 100644 --- a/spm/__config/spm_cfg_eeg_regressors.py +++ b/spm/__config/spm_cfg_eeg_regressors.py @@ -2,14 +2,17 @@ def spm_cfg_eeg_regressors(*args, **kwargs): - """ + r""" Configuration file for generating regressors for GLM analysis of M/EEG data __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/config/spm_cfg_eeg_regressors.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/config/spm_cfg_eeg_regressors.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_cfg_eeg_regressors", *args, **kwargs) diff --git a/spm/__config/spm_cfg_eeg_remove_bad_trials.py b/spm/__config/spm_cfg_eeg_remove_bad_trials.py index b80458a3..82c30acc 100644 --- a/spm/__config/spm_cfg_eeg_remove_bad_trials.py +++ b/spm/__config/spm_cfg_eeg_remove_bad_trials.py @@ -2,14 +2,17 @@ def spm_cfg_eeg_remove_bad_trials(*args, **kwargs): - """ + r""" configuration file for removing bad trials __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/config/spm_cfg_eeg_remove_bad_trials.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/config/spm_cfg_eeg_remove_bad_trials.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_cfg_eeg_remove_bad_trials", *args, **kwargs) diff --git a/spm/__config/spm_cfg_eeg_review.py b/spm/__config/spm_cfg_eeg_review.py index 8830ddfc..98d2273f 100644 --- a/spm/__config/spm_cfg_eeg_review.py +++ b/spm/__config/spm_cfg_eeg_review.py @@ -2,14 +2,17 @@ def spm_cfg_eeg_review(*args, **kwargs): - """ + r""" Configuration file for M/EEG reviewing tool __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/config/spm_cfg_eeg_review.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/config/spm_cfg_eeg_review.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_cfg_eeg_review", *args, **kwargs) diff --git a/spm/__config/spm_cfg_eeg_shp_distort.py b/spm/__config/spm_cfg_eeg_shp_distort.py index 3175e6f6..ec46b243 100644 --- a/spm/__config/spm_cfg_eeg_shp_distort.py +++ b/spm/__config/spm_cfg_eeg_shp_distort.py @@ -2,15 +2,18 @@ def spm_cfg_eeg_shp_distort(*args, **kwargs): - """ + r""" Configuration file for creating distorted versions of subject anatomy Based on original antomical and predetermined 100 eigen component template space. __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/config/spm_cfg_eeg_shp_distort.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/config/spm_cfg_eeg_shp_distort.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_cfg_eeg_shp_distort", *args, **kwargs) diff --git a/spm/__config/spm_cfg_eeg_shp_gainmat.py b/spm/__config/spm_cfg_eeg_shp_gainmat.py index 27e45241..464a0721 100644 --- a/spm/__config/spm_cfg_eeg_shp_gainmat.py +++ b/spm/__config/spm_cfg_eeg_shp_gainmat.py @@ -2,15 +2,18 @@ def spm_cfg_eeg_shp_gainmat(*args, **kwargs): - """ + r""" Configuration file for creating distorted versions of subject anatomy Based on original antomical and predetermined 100 eigen component template space. __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/config/spm_cfg_eeg_shp_gainmat.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/config/spm_cfg_eeg_shp_gainmat.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_cfg_eeg_shp_gainmat", *args, **kwargs) diff --git a/spm/__config/spm_cfg_eeg_spatial_confounds.py b/spm/__config/spm_cfg_eeg_spatial_confounds.py index df4a4571..21fe9269 100644 --- a/spm/__config/spm_cfg_eeg_spatial_confounds.py +++ b/spm/__config/spm_cfg_eeg_spatial_confounds.py @@ -2,14 +2,17 @@ def spm_cfg_eeg_spatial_confounds(*args, **kwargs): - """ + r""" Configuration file for reading montage files __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/config/spm_cfg_eeg_spatial_confounds.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/config/spm_cfg_eeg_spatial_confounds.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_cfg_eeg_spatial_confounds", *args, **kwargs) diff --git a/spm/__config/spm_cfg_eeg_tf.py b/spm/__config/spm_cfg_eeg_tf.py index 01e88d45..ecac97c0 100644 --- a/spm/__config/spm_cfg_eeg_tf.py +++ b/spm/__config/spm_cfg_eeg_tf.py @@ -2,14 +2,17 @@ def spm_cfg_eeg_tf(*args, **kwargs): - """ + r""" Configuration file for M/EEG time-frequency analysis __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/config/spm_cfg_eeg_tf.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/config/spm_cfg_eeg_tf.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_cfg_eeg_tf", *args, **kwargs) diff --git a/spm/__config/spm_cfg_eeg_tf_rescale.py b/spm/__config/spm_cfg_eeg_tf_rescale.py index e8a5b810..6761ced1 100644 --- a/spm/__config/spm_cfg_eeg_tf_rescale.py +++ b/spm/__config/spm_cfg_eeg_tf_rescale.py @@ -2,14 +2,17 @@ def spm_cfg_eeg_tf_rescale(*args, **kwargs): - """ + r""" Configuration file for rescaling spectrograms __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/config/spm_cfg_eeg_tf_rescale.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/config/spm_cfg_eeg_tf_rescale.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_cfg_eeg_tf_rescale", *args, **kwargs) diff --git a/spm/__config/spm_cfg_exp_frames.py b/spm/__config/spm_cfg_exp_frames.py index 595ee6da..1e1d6cc3 100644 --- a/spm/__config/spm_cfg_exp_frames.py +++ b/spm/__config/spm_cfg_exp_frames.py @@ -2,14 +2,17 @@ def spm_cfg_exp_frames(*args, **kwargs): - """ + r""" SPM Configuration file for Expand Image Frames __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/config/spm_cfg_exp_frames.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/config/spm_cfg_exp_frames.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_cfg_exp_frames", *args, **kwargs) diff --git a/spm/__config/spm_cfg_factorial_design.py b/spm/__config/spm_cfg_factorial_design.py index 76b44941..85fff58b 100644 --- a/spm/__config/spm_cfg_factorial_design.py +++ b/spm/__config/spm_cfg_factorial_design.py @@ -2,14 +2,17 @@ def spm_cfg_factorial_design(*args, **kwargs): - """ + r""" SPM Configuration file for second-level models __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/config/spm_cfg_factorial_design.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/config/spm_cfg_factorial_design.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_cfg_factorial_design", *args, **kwargs) diff --git a/spm/__config/spm_cfg_fmri_data.py b/spm/__config/spm_cfg_fmri_data.py index aad4e023..e4e51411 100644 --- a/spm/__config/spm_cfg_fmri_data.py +++ b/spm/__config/spm_cfg_fmri_data.py @@ -2,14 +2,17 @@ def spm_cfg_fmri_data(*args, **kwargs): - """ + r""" SPM Configuration file for fMRI data specification __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/config/spm_cfg_fmri_data.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/config/spm_cfg_fmri_data.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_cfg_fmri_data", *args, **kwargs) diff --git a/spm/__config/spm_cfg_fmri_design.py b/spm/__config/spm_cfg_fmri_design.py index d5d1e6c4..43d03567 100644 --- a/spm/__config/spm_cfg_fmri_design.py +++ b/spm/__config/spm_cfg_fmri_design.py @@ -2,14 +2,17 @@ def spm_cfg_fmri_design(*args, **kwargs): - """ + r""" SPM Configuration file for fMRI model specification (design only) __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/config/spm_cfg_fmri_design.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/config/spm_cfg_fmri_design.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_cfg_fmri_design", *args, **kwargs) diff --git a/spm/__config/spm_cfg_fmri_est.py b/spm/__config/spm_cfg_fmri_est.py index 83b79496..184e64fc 100644 --- a/spm/__config/spm_cfg_fmri_est.py +++ b/spm/__config/spm_cfg_fmri_est.py @@ -2,14 +2,17 @@ def spm_cfg_fmri_est(*args, **kwargs): - """ + r""" SPM Configuration file for Model Estimation __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/config/spm_cfg_fmri_est.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/config/spm_cfg_fmri_est.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_cfg_fmri_est", *args, **kwargs) diff --git a/spm/__config/spm_cfg_fmri_spec.py b/spm/__config/spm_cfg_fmri_spec.py index d3934a3c..1635fe32 100644 --- a/spm/__config/spm_cfg_fmri_spec.py +++ b/spm/__config/spm_cfg_fmri_spec.py @@ -2,14 +2,17 @@ def spm_cfg_fmri_spec(*args, **kwargs): - """ + r""" SPM Configuration file for fMRI model specification __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/config/spm_cfg_fmri_spec.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/config/spm_cfg_fmri_spec.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_cfg_fmri_spec", *args, **kwargs) diff --git a/spm/__config/spm_cfg_imcalc.py b/spm/__config/spm_cfg_imcalc.py index ed723d25..e2f2e13d 100644 --- a/spm/__config/spm_cfg_imcalc.py +++ b/spm/__config/spm_cfg_imcalc.py @@ -2,14 +2,17 @@ def spm_cfg_imcalc(*args, **kwargs): - """ + r""" SPM Configuration file for ImCalc __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/config/spm_cfg_imcalc.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/config/spm_cfg_imcalc.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_cfg_imcalc", *args, **kwargs) diff --git a/spm/__config/spm_cfg_md.py b/spm/__config/spm_cfg_md.py index f0b7914a..ca72c81e 100644 --- a/spm/__config/spm_cfg_md.py +++ b/spm/__config/spm_cfg_md.py @@ -2,14 +2,17 @@ def spm_cfg_md(*args, **kwargs): - """ + r""" SPM Configuration file for making directory function _______________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/config/spm_cfg_md.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/config/spm_cfg_md.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_cfg_md", *args, **kwargs) diff --git a/spm/__config/spm_cfg_mfx.py b/spm/__config/spm_cfg_mfx.py index dca15d26..62c298e5 100644 --- a/spm/__config/spm_cfg_mfx.py +++ b/spm/__config/spm_cfg_mfx.py @@ -2,14 +2,17 @@ def spm_cfg_mfx(*args, **kwargs): - """ + r""" SPM Configuration file for MFX __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/config/spm_cfg_mfx.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/config/spm_cfg_mfx.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_cfg_mfx", *args, **kwargs) diff --git a/spm/__config/spm_cfg_minc.py b/spm/__config/spm_cfg_minc.py index c56fd3a7..d8421177 100644 --- a/spm/__config/spm_cfg_minc.py +++ b/spm/__config/spm_cfg_minc.py @@ -2,14 +2,17 @@ def spm_cfg_minc(*args, **kwargs): - """ + r""" SPM Configuration file for MINC Import __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/config/spm_cfg_minc.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/config/spm_cfg_minc.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_cfg_minc", *args, **kwargs) diff --git a/spm/__config/spm_cfg_model_review.py b/spm/__config/spm_cfg_model_review.py index 769cb5df..57bc431d 100644 --- a/spm/__config/spm_cfg_model_review.py +++ b/spm/__config/spm_cfg_model_review.py @@ -2,14 +2,17 @@ def spm_cfg_model_review(*args, **kwargs): - """ + r""" SPM Configuration file for Model Review __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/config/spm_cfg_model_review.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/config/spm_cfg_model_review.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_cfg_model_review", *args, **kwargs) diff --git a/spm/__config/spm_cfg_norm.py b/spm/__config/spm_cfg_norm.py index 2a7295cd..6d770a2c 100644 --- a/spm/__config/spm_cfg_norm.py +++ b/spm/__config/spm_cfg_norm.py @@ -2,14 +2,17 @@ def spm_cfg_norm(*args, **kwargs): - """ + r""" SPM Configuration file for Spatial Normalisation __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/config/spm_cfg_norm.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/config/spm_cfg_norm.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_cfg_norm", *args, **kwargs) diff --git a/spm/__config/spm_cfg_opm_create.py b/spm/__config/spm_cfg_opm_create.py index 5c6bee28..0cc9a2bc 100644 --- a/spm/__config/spm_cfg_opm_create.py +++ b/spm/__config/spm_cfg_opm_create.py @@ -2,14 +2,17 @@ def spm_cfg_opm_create(*args, **kwargs): - """ + r""" Configuration file for creating OPM objects __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/config/spm_cfg_opm_create.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/config/spm_cfg_opm_create.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_cfg_opm_create", *args, **kwargs) diff --git a/spm/__config/spm_cfg_opm_epoch_trigger.py b/spm/__config/spm_cfg_opm_epoch_trigger.py index baad5682..e2535c60 100644 --- a/spm/__config/spm_cfg_opm_epoch_trigger.py +++ b/spm/__config/spm_cfg_opm_epoch_trigger.py @@ -2,14 +2,17 @@ def spm_cfg_opm_epoch_trigger(*args, **kwargs): - """ + r""" Configuration file for epoching OPM data __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/config/spm_cfg_opm_epoch_trigger.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/config/spm_cfg_opm_epoch_trigger.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_cfg_opm_epoch_trigger", *args, **kwargs) diff --git a/spm/__config/spm_cfg_opm_read_lvm.py b/spm/__config/spm_cfg_opm_read_lvm.py index 557b1a27..e08e9c9c 100644 --- a/spm/__config/spm_cfg_opm_read_lvm.py +++ b/spm/__config/spm_cfg_opm_read_lvm.py @@ -2,14 +2,17 @@ def spm_cfg_opm_read_lvm(*args, **kwargs): - """ + r""" Configuration file for reading lab view file __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/config/spm_cfg_opm_read_lvm.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/config/spm_cfg_opm_read_lvm.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_cfg_opm_read_lvm", *args, **kwargs) diff --git a/spm/__config/spm_cfg_opm_synth_gradiometer.py b/spm/__config/spm_cfg_opm_synth_gradiometer.py index a26bcca6..9318a968 100644 --- a/spm/__config/spm_cfg_opm_synth_gradiometer.py +++ b/spm/__config/spm_cfg_opm_synth_gradiometer.py @@ -2,14 +2,17 @@ def spm_cfg_opm_synth_gradiometer(*args, **kwargs): - """ + r""" Configuration file for performing synthetic gradiometery on OPM data __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/config/spm_cfg_opm_synth_gradiometer.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/config/spm_cfg_opm_synth_gradiometer.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_cfg_opm_synth_gradiometer", *args, **kwargs) diff --git a/spm/__config/spm_cfg_parrec.py b/spm/__config/spm_cfg_parrec.py index 0719b77e..73c41e65 100644 --- a/spm/__config/spm_cfg_parrec.py +++ b/spm/__config/spm_cfg_parrec.py @@ -2,14 +2,17 @@ def spm_cfg_parrec(*args, **kwargs): - """ + r""" SPM Configuration file for Philips PAR/REC Import __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/config/spm_cfg_parrec.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/config/spm_cfg_parrec.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_cfg_parrec", *args, **kwargs) diff --git a/spm/__config/spm_cfg_ppi.py b/spm/__config/spm_cfg_ppi.py index 46e19bc4..67c7b2fe 100644 --- a/spm/__config/spm_cfg_ppi.py +++ b/spm/__config/spm_cfg_ppi.py @@ -2,14 +2,17 @@ def spm_cfg_ppi(*args, **kwargs): - """ + r""" SPM Configuration file for PPIs __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/config/spm_cfg_ppi.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/config/spm_cfg_ppi.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_cfg_ppi", *args, **kwargs) diff --git a/spm/__config/spm_cfg_preproc8.py b/spm/__config/spm_cfg_preproc8.py index 89b93b92..def87cd3 100644 --- a/spm/__config/spm_cfg_preproc8.py +++ b/spm/__config/spm_cfg_preproc8.py @@ -2,14 +2,17 @@ def spm_cfg_preproc8(*args, **kwargs): - """ + r""" Configuration file for 'Combined Segmentation and Spatial Normalisation' __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/config/spm_cfg_preproc8.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/config/spm_cfg_preproc8.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_cfg_preproc8", *args, **kwargs) diff --git a/spm/__config/spm_cfg_print.py b/spm/__config/spm_cfg_print.py index 4e064d3d..baa485ec 100644 --- a/spm/__config/spm_cfg_print.py +++ b/spm/__config/spm_cfg_print.py @@ -2,14 +2,17 @@ def spm_cfg_print(*args, **kwargs): - """ + r""" SPM Configuration file for 'Print figure' __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/config/spm_cfg_print.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/config/spm_cfg_print.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_cfg_print", *args, **kwargs) diff --git a/spm/__config/spm_cfg_realign.py b/spm/__config/spm_cfg_realign.py index 8f6837dc..1a320d32 100644 --- a/spm/__config/spm_cfg_realign.py +++ b/spm/__config/spm_cfg_realign.py @@ -2,14 +2,17 @@ def spm_cfg_realign(*args, **kwargs): - """ + r""" SPM Configuration file for Realign __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/config/spm_cfg_realign.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/config/spm_cfg_realign.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_cfg_realign", *args, **kwargs) diff --git a/spm/__config/spm_cfg_realignunwarp.py b/spm/__config/spm_cfg_realignunwarp.py index 53f83cd5..d3e8b0e7 100644 --- a/spm/__config/spm_cfg_realignunwarp.py +++ b/spm/__config/spm_cfg_realignunwarp.py @@ -2,14 +2,17 @@ def spm_cfg_realignunwarp(*args, **kwargs): - """ + r""" SPM Configuration file for Realign & Unwarp __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/config/spm_cfg_realignunwarp.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/config/spm_cfg_realignunwarp.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_cfg_realignunwarp", *args, **kwargs) diff --git a/spm/__config/spm_cfg_render.py b/spm/__config/spm_cfg_render.py index 1c07e2d7..f4fcee51 100644 --- a/spm/__config/spm_cfg_render.py +++ b/spm/__config/spm_cfg_render.py @@ -2,14 +2,17 @@ def spm_cfg_render(*args, **kwargs): - """ + r""" SPM Configuration file for Render __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/config/spm_cfg_render.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/config/spm_cfg_render.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_cfg_render", *args, **kwargs) diff --git a/spm/__config/spm_cfg_reorient.py b/spm/__config/spm_cfg_reorient.py index 34894eb9..16243262 100644 --- a/spm/__config/spm_cfg_reorient.py +++ b/spm/__config/spm_cfg_reorient.py @@ -2,14 +2,17 @@ def spm_cfg_reorient(*args, **kwargs): - """ + r""" SPM Configuration file for Reorient Images __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/config/spm_cfg_reorient.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/config/spm_cfg_reorient.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_cfg_reorient", *args, **kwargs) diff --git a/spm/__config/spm_cfg_results.py b/spm/__config/spm_cfg_results.py index b4d76c90..9a415c38 100644 --- a/spm/__config/spm_cfg_results.py +++ b/spm/__config/spm_cfg_results.py @@ -2,14 +2,17 @@ def spm_cfg_results(*args, **kwargs): - """ + r""" SPM Configuration file for Results Report __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/config/spm_cfg_results.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/config/spm_cfg_results.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_cfg_results", *args, **kwargs) diff --git a/spm/__config/spm_cfg_sendmail.py b/spm/__config/spm_cfg_sendmail.py index c48bc8ec..3d8a1f1c 100644 --- a/spm/__config/spm_cfg_sendmail.py +++ b/spm/__config/spm_cfg_sendmail.py @@ -2,14 +2,17 @@ def spm_cfg_sendmail(*args, **kwargs): - """ + r""" SPM Configuration file for sendmail __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/config/spm_cfg_sendmail.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/config/spm_cfg_sendmail.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_cfg_sendmail", *args, **kwargs) diff --git a/spm/__config/spm_cfg_setlevel.py b/spm/__config/spm_cfg_setlevel.py index 3de22b09..654d2c03 100644 --- a/spm/__config/spm_cfg_setlevel.py +++ b/spm/__config/spm_cfg_setlevel.py @@ -2,15 +2,18 @@ def spm_cfg_setlevel(*args, **kwargs): - """ + r""" SPM Configuration file for Set level tests based on Barnes et al. NIMG 2012 __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/config/spm_cfg_setlevel.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/config/spm_cfg_setlevel.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_cfg_setlevel", *args, **kwargs) diff --git a/spm/__config/spm_cfg_smooth.py b/spm/__config/spm_cfg_smooth.py index 3b6e6a45..058db4cf 100644 --- a/spm/__config/spm_cfg_smooth.py +++ b/spm/__config/spm_cfg_smooth.py @@ -2,14 +2,17 @@ def spm_cfg_smooth(*args, **kwargs): - """ + r""" SPM Configuration file for Smooth __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/config/spm_cfg_smooth.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/config/spm_cfg_smooth.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_cfg_smooth", *args, **kwargs) diff --git a/spm/__config/spm_cfg_split.py b/spm/__config/spm_cfg_split.py index bb1cbc45..b53bd9a1 100644 --- a/spm/__config/spm_cfg_split.py +++ b/spm/__config/spm_cfg_split.py @@ -2,14 +2,17 @@ def spm_cfg_split(*args, **kwargs): - """ + r""" SPM Configuration file for 4D to 3D volumes conversion __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/config/spm_cfg_split.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/config/spm_cfg_split.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_cfg_split", *args, **kwargs) diff --git a/spm/__config/spm_cfg_st.py b/spm/__config/spm_cfg_st.py index 1caa1664..1b26527d 100644 --- a/spm/__config/spm_cfg_st.py +++ b/spm/__config/spm_cfg_st.py @@ -2,14 +2,17 @@ def spm_cfg_st(*args, **kwargs): - """ + r""" SPM Configuration file for Slice Timing Correction __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/config/spm_cfg_st.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/config/spm_cfg_st.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_cfg_st", *args, **kwargs) diff --git a/spm/__config/spm_cfg_static_tools.py b/spm/__config/spm_cfg_static_tools.py index df9f0f0e..8573125b 100644 --- a/spm/__config/spm_cfg_static_tools.py +++ b/spm/__config/spm_cfg_static_tools.py @@ -2,13 +2,16 @@ def spm_cfg_static_tools(*args, **kwargs): - """ + r""" Static listing of all batch configuration files in the SPM toolbox folder - [Matlab code]( https://github.com/spm/spm/blob/main/config/spm_cfg_static_tools.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/config/spm_cfg_static_tools.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_cfg_static_tools", *args, **kwargs) diff --git a/spm/__config/spm_cfg_tissue_volumes.py b/spm/__config/spm_cfg_tissue_volumes.py index 08460094..b896755f 100644 --- a/spm/__config/spm_cfg_tissue_volumes.py +++ b/spm/__config/spm_cfg_tissue_volumes.py @@ -2,16 +2,19 @@ def spm_cfg_tissue_volumes(*args, **kwargs): - """ + r""" SPM Configuration file for Tissue Volumes See also: spm_run_tissue_volumes, spm_summarise __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/config/spm_cfg_tissue_volumes.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/config/spm_cfg_tissue_volumes.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_cfg_tissue_volumes", *args, **kwargs) diff --git a/spm/__config/spm_cfg_voi.py b/spm/__config/spm_cfg_voi.py index 96317fc9..cb4efe63 100644 --- a/spm/__config/spm_cfg_voi.py +++ b/spm/__config/spm_cfg_voi.py @@ -2,14 +2,17 @@ def spm_cfg_voi(*args, **kwargs): - """ + r""" SPM Configuration file for VOIs __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/config/spm_cfg_voi.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/config/spm_cfg_voi.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_cfg_voi", *args, **kwargs) diff --git a/spm/__config/spm_make_standalone.py b/spm/__config/spm_make_standalone.py index fc2aac6f..904e7868 100644 --- a/spm/__config/spm_make_standalone.py +++ b/spm/__config/spm_make_standalone.py @@ -2,7 +2,7 @@ def spm_make_standalone(*args, **kwargs): - """ + r""" Compile SPM as a standalone executable using the MATLAB Compiler https://www.mathworks.com/products/compiler.html @@ -36,9 +36,12 @@ def spm_make_standalone(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/config/spm_make_standalone.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/config/spm_make_standalone.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_make_standalone", *args, **kwargs, nargout=0) diff --git a/spm/__config/spm_markdown.py b/spm/__config/spm_markdown.py index cf5383c7..23c173ad 100644 --- a/spm/__config/spm_markdown.py +++ b/spm/__config/spm_markdown.py @@ -2,14 +2,17 @@ def spm_markdown(*args, **kwargs): - """ + r""" Convert a job configuration tree into a series of markdown documents __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/config/spm_markdown.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/config/spm_markdown.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_markdown", *args, **kwargs, nargout=0) diff --git a/spm/__config/spm_rewrite_job.py b/spm/__config/spm_rewrite_job.py index a0c4b2a1..cd9ecb0d 100644 --- a/spm/__config/spm_rewrite_job.py +++ b/spm/__config/spm_rewrite_job.py @@ -2,14 +2,17 @@ def spm_rewrite_job(*args, **kwargs): - """ + r""" Rewrite a batch job for SPM12 __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/config/spm_rewrite_job.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/config/spm_rewrite_job.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_rewrite_job", *args, **kwargs) diff --git a/spm/__config/spm_run_bms_map.py b/spm/__config/spm_run_bms_map.py index 053ad72f..c1813215 100644 --- a/spm/__config/spm_run_bms_map.py +++ b/spm/__config/spm_run_bms_map.py @@ -2,7 +2,7 @@ def spm_run_bms_map(*args, **kwargs): - """ + r""" Run Bayesian Model Selection Maps SPM job execution function takes a harvested job data structure and calls SPM functions to perform @@ -48,9 +48,12 @@ def spm_run_bms_map(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/config/spm_run_bms_map.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/config/spm_run_bms_map.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_run_bms_map", *args, **kwargs) diff --git a/spm/__config/spm_run_bms_vis.py b/spm/__config/spm_run_bms_vis.py index 4801184f..3f3be761 100644 --- a/spm/__config/spm_run_bms_vis.py +++ b/spm/__config/spm_run_bms_vis.py @@ -2,7 +2,7 @@ def spm_run_bms_vis(*args, **kwargs): - """ + r""" Show results for Bayesian Model Selection Maps SPM job execution function takes a harvested job data structure (or no input) and calls SPM @@ -16,9 +16,12 @@ def spm_run_bms_vis(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/config/spm_run_bms_vis.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/config/spm_run_bms_vis.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_run_bms_vis", *args, **kwargs, nargout=0) diff --git a/spm/__config/spm_run_con.py b/spm/__config/spm_run_con.py index 12490b75..1cf44421 100644 --- a/spm/__config/spm_run_con.py +++ b/spm/__config/spm_run_con.py @@ -2,7 +2,7 @@ def spm_run_con(*args, **kwargs): - """ + r""" SPM job execution function - Specify and estimate contrasts Input: job - harvested job data structure (see matlabbatch help) @@ -11,9 +11,12 @@ def spm_run_con(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/config/spm_run_con.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/config/spm_run_con.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_run_con", *args, **kwargs) diff --git a/spm/__config/spm_run_coreg.py b/spm/__config/spm_run_coreg.py index 94c78043..fef10d86 100644 --- a/spm/__config/spm_run_coreg.py +++ b/spm/__config/spm_run_coreg.py @@ -2,7 +2,7 @@ def spm_run_coreg(*args, **kwargs): - """ + r""" SPM job execution function takes a harvested job data structure and call SPM functions to perform computations on the data. @@ -13,9 +13,12 @@ def spm_run_coreg(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/config/spm_run_coreg.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/config/spm_run_coreg.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_run_coreg", *args, **kwargs) diff --git a/spm/__config/spm_run_dcm_bms.py b/spm/__config/spm_run_dcm_bms.py index 4d58c074..f2ef5333 100644 --- a/spm/__config/spm_run_dcm_bms.py +++ b/spm/__config/spm_run_dcm_bms.py @@ -2,7 +2,7 @@ def spm_run_dcm_bms(*args, **kwargs): - """ + r""" Compare DCMs on the basis of their log-evidences Four methods are available to identify the best among alternative models: @@ -20,9 +20,12 @@ def spm_run_dcm_bms(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/config/spm_run_dcm_bms.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/config/spm_run_dcm_bms.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_run_dcm_bms", *args, **kwargs) diff --git a/spm/__config/spm_run_dcm_bms_vis.py b/spm/__config/spm_run_dcm_bms_vis.py index 77103498..080ffb70 100644 --- a/spm/__config/spm_run_dcm_bms_vis.py +++ b/spm/__config/spm_run_dcm_bms_vis.py @@ -2,14 +2,17 @@ def spm_run_dcm_bms_vis(*args, **kwargs): - """ + r""" Review BMS results __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/config/spm_run_dcm_bms_vis.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/config/spm_run_dcm_bms_vis.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_run_dcm_bms_vis", *args, **kwargs) diff --git a/spm/__config/spm_run_dicom.py b/spm/__config/spm_run_dicom.py index 27fae8a0..84e0df38 100644 --- a/spm/__config/spm_run_dicom.py +++ b/spm/__config/spm_run_dicom.py @@ -2,7 +2,7 @@ def spm_run_dicom(*args, **kwargs): - """ + r""" SPM job execution function takes a harvested job data structure and call SPM functions to perform computations on the data. @@ -13,9 +13,12 @@ def spm_run_dicom(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/config/spm_run_dicom.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/config/spm_run_dicom.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_run_dicom", *args, **kwargs) diff --git a/spm/__config/spm_run_factorial_design.py b/spm/__config/spm_run_factorial_design.py index 1d08592c..2a8bc0ce 100644 --- a/spm/__config/spm_run_factorial_design.py +++ b/spm/__config/spm_run_factorial_design.py @@ -2,7 +2,7 @@ def spm_run_factorial_design(*args, **kwargs): - """ + r""" SPM job execution function - factorial design specification Input: job - harvested job data structure (see matlabbatch help) @@ -11,9 +11,12 @@ def spm_run_factorial_design(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/config/spm_run_factorial_design.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/config/spm_run_factorial_design.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_run_factorial_design", *args, **kwargs) diff --git a/spm/__config/spm_run_fmri_data.py b/spm/__config/spm_run_fmri_data.py index b4ced29f..1439e874 100644 --- a/spm/__config/spm_run_fmri_data.py +++ b/spm/__config/spm_run_fmri_data.py @@ -2,7 +2,7 @@ def spm_run_fmri_data(*args, **kwargs): - """ + r""" Set up the design matrix and run a design SPM job execution function takes a harvested job data structure and call SPM functions to perform @@ -14,9 +14,12 @@ def spm_run_fmri_data(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/config/spm_run_fmri_data.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/config/spm_run_fmri_data.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_run_fmri_data", *args, **kwargs) diff --git a/spm/__config/spm_run_fmri_est.py b/spm/__config/spm_run_fmri_est.py index 9c916130..3f6cc709 100644 --- a/spm/__config/spm_run_fmri_est.py +++ b/spm/__config/spm_run_fmri_est.py @@ -2,7 +2,7 @@ def spm_run_fmri_est(*args, **kwargs): - """ + r""" Estimate parameters of a specified model SPM job execution function takes a harvested job data structure and call SPM functions to perform @@ -14,9 +14,12 @@ def spm_run_fmri_est(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/config/spm_run_fmri_est.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/config/spm_run_fmri_est.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_run_fmri_est", *args, **kwargs) diff --git a/spm/__config/spm_run_fmri_spec.py b/spm/__config/spm_run_fmri_spec.py index b78502f5..f276990f 100644 --- a/spm/__config/spm_run_fmri_spec.py +++ b/spm/__config/spm_run_fmri_spec.py @@ -2,7 +2,7 @@ def spm_run_fmri_spec(*args, **kwargs): - """ + r""" Setting up the general linear model for fMRI time-series SPM job execution function takes a harvested job data structure and call SPM functions to perform @@ -14,9 +14,12 @@ def spm_run_fmri_spec(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/config/spm_run_fmri_spec.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/config/spm_run_fmri_spec.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_run_fmri_spec", *args, **kwargs) diff --git a/spm/__config/spm_run_norm.py b/spm/__config/spm_run_norm.py index cac2c45d..a26dd516 100644 --- a/spm/__config/spm_run_norm.py +++ b/spm/__config/spm_run_norm.py @@ -2,7 +2,7 @@ def spm_run_norm(*args, **kwargs): - """ + r""" SPM job execution function takes a harvested job data structure and call SPM functions to perform computations on the data. @@ -13,9 +13,12 @@ def spm_run_norm(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/config/spm_run_norm.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/config/spm_run_norm.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_run_norm", *args, **kwargs) diff --git a/spm/__config/spm_run_realign.py b/spm/__config/spm_run_realign.py index cf5e87d8..46098f82 100644 --- a/spm/__config/spm_run_realign.py +++ b/spm/__config/spm_run_realign.py @@ -2,7 +2,7 @@ def spm_run_realign(*args, **kwargs): - """ + r""" SPM job execution function takes a harvested job data structure and call SPM functions to perform computations on the data. @@ -13,9 +13,12 @@ def spm_run_realign(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/config/spm_run_realign.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/config/spm_run_realign.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_run_realign", *args, **kwargs) diff --git a/spm/__config/spm_run_realignunwarp.py b/spm/__config/spm_run_realignunwarp.py index 6ccbcd2a..d8819639 100644 --- a/spm/__config/spm_run_realignunwarp.py +++ b/spm/__config/spm_run_realignunwarp.py @@ -2,7 +2,7 @@ def spm_run_realignunwarp(*args, **kwargs): - """ + r""" SPM job execution function takes a harvested job data structure and call SPM functions to perform computations on the data. @@ -13,9 +13,12 @@ def spm_run_realignunwarp(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/config/spm_run_realignunwarp.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/config/spm_run_realignunwarp.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_run_realignunwarp", *args, **kwargs) diff --git a/spm/__config/spm_run_reorient.py b/spm/__config/spm_run_reorient.py index f3482f96..4f7364c3 100644 --- a/spm/__config/spm_run_reorient.py +++ b/spm/__config/spm_run_reorient.py @@ -2,7 +2,7 @@ def spm_run_reorient(*args, **kwargs): - """ + r""" SPM job execution function takes a harvested job data structure and call SPM functions to perform computations on the data. @@ -13,9 +13,12 @@ def spm_run_reorient(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/config/spm_run_reorient.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/config/spm_run_reorient.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_run_reorient", *args, **kwargs) diff --git a/spm/__config/spm_run_results.py b/spm/__config/spm_run_results.py index ab83995b..900f8a23 100644 --- a/spm/__config/spm_run_results.py +++ b/spm/__config/spm_run_results.py @@ -2,7 +2,7 @@ def spm_run_results(*args, **kwargs): - """ + r""" SPM job execution function takes a harvested job data structure and call SPM functions to perform computations on the data. @@ -13,9 +13,12 @@ def spm_run_results(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/config/spm_run_results.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/config/spm_run_results.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_run_results", *args, **kwargs) diff --git a/spm/__config/spm_run_setlevel.py b/spm/__config/spm_run_setlevel.py index 4ac9183d..f9226247 100644 --- a/spm/__config/spm_run_setlevel.py +++ b/spm/__config/spm_run_setlevel.py @@ -2,7 +2,7 @@ def spm_run_setlevel(*args, **kwargs): - """ + r""" out = spm_run_setlevel(job) test to see how likely it is that an SPM statistical image is a random field. based on: @@ -11,9 +11,12 @@ def spm_run_setlevel(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/config/spm_run_setlevel.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/config/spm_run_setlevel.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_run_setlevel", *args, **kwargs) diff --git a/spm/__config/spm_run_smooth.py b/spm/__config/spm_run_smooth.py index f753ca75..5f36fb75 100644 --- a/spm/__config/spm_run_smooth.py +++ b/spm/__config/spm_run_smooth.py @@ -2,7 +2,7 @@ def spm_run_smooth(*args, **kwargs): - """ + r""" SPM job execution function takes a harvested job data structure and call SPM functions to perform computations on the data. @@ -13,9 +13,12 @@ def spm_run_smooth(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/config/spm_run_smooth.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/config/spm_run_smooth.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_run_smooth", *args, **kwargs) diff --git a/spm/__config/spm_run_st.py b/spm/__config/spm_run_st.py index e153f92b..ea4bf007 100644 --- a/spm/__config/spm_run_st.py +++ b/spm/__config/spm_run_st.py @@ -2,7 +2,7 @@ def spm_run_st(*args, **kwargs): - """ + r""" SPM job execution function takes a harvested job data structure and call SPM functions to perform computations on the data. @@ -13,9 +13,12 @@ def spm_run_st(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/config/spm_run_st.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/config/spm_run_st.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_run_st", *args, **kwargs) diff --git a/spm/__config/spm_run_tissue_volumes.py b/spm/__config/spm_run_tissue_volumes.py index 3836a7da..14a337b0 100644 --- a/spm/__config/spm_run_tissue_volumes.py +++ b/spm/__config/spm_run_tissue_volumes.py @@ -2,16 +2,19 @@ def spm_run_tissue_volumes(*args, **kwargs): - """ + r""" SPM job execution function for Tissue Volumes See also: spm_cfg_tissue_volumes, spm_summarise __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/config/spm_run_tissue_volumes.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/config/spm_run_tissue_volumes.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_run_tissue_volumes", *args, **kwargs) diff --git a/spm/__config/spm_run_voi.py b/spm/__config/spm_run_voi.py index d5251200..10425514 100644 --- a/spm/__config/spm_run_voi.py +++ b/spm/__config/spm_run_voi.py @@ -2,7 +2,7 @@ def spm_run_voi(*args, **kwargs): - """ + r""" SPM job execution function takes a harvested job data structure and call SPM functions to perform computations on the data. @@ -13,9 +13,12 @@ def spm_run_voi(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/config/spm_run_voi.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/config/spm_run_voi.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_run_voi", *args, **kwargs) diff --git a/spm/__external/__bemcp/__init__.py b/spm/__external/__bemcp/__init__.py index c948f442..15598668 100644 --- a/spm/__external/__bemcp/__init__.py +++ b/spm/__external/__bemcp/__init__.py @@ -1,6 +1,14 @@ -from .bemcp_example import bemcp_example +from .mesh_icosahedron import mesh_icosahedron +from .mesh_octahedron import mesh_octahedron +from .mesh_sphere import mesh_sphere +from .mesh_tetrahedron import mesh_tetrahedron +from .refine import refine __all__ = [ - "bemcp_example" + "mesh_icosahedron", + "mesh_octahedron", + "mesh_sphere", + "mesh_tetrahedron", + "refine" ] diff --git a/spm/__external/__bemcp/mesh_icosahedron.py b/spm/__external/__bemcp/mesh_icosahedron.py new file mode 100644 index 00000000..4f006a11 --- /dev/null +++ b/spm/__external/__bemcp/mesh_icosahedron.py @@ -0,0 +1,23 @@ +from spm._runtime import Runtime + + +def mesh_icosahedron(*args, **kwargs): + r""" + MESH_ICOSAHEDRON returns the vertices and triangle of a 12-vertex icosahedral + mesh. + + Use as + [pos, tri] = mesh_icosahedron + + See also MESH_TETRAHEDRON, MESH_OCTAHEDRON, MESH_SPHERE + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/bemcp/mesh_icosahedron.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("mesh_icosahedron", *args, **kwargs) diff --git a/spm/__external/__bemcp/mesh_octahedron.py b/spm/__external/__bemcp/mesh_octahedron.py new file mode 100644 index 00000000..fd121e30 --- /dev/null +++ b/spm/__external/__bemcp/mesh_octahedron.py @@ -0,0 +1,22 @@ +from spm._runtime import Runtime + + +def mesh_octahedron(*args, **kwargs): + r""" + MESH_OCTAHEDRON returns the vertices and triangles of an octahedron + + Use as + [pos tri] = mesh_octahedron; + + See also MESH_TETRAHEDRON, MESH_OCTAHEDRON, MESH_SPHERE + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/bemcp/mesh_octahedron.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("mesh_octahedron", *args, **kwargs) diff --git a/spm/__external/__bemcp/mesh_sphere.py b/spm/__external/__bemcp/mesh_sphere.py new file mode 100644 index 00000000..04134955 --- /dev/null +++ b/spm/__external/__bemcp/mesh_sphere.py @@ -0,0 +1,34 @@ +from spm._runtime import Runtime + + +def mesh_sphere(*args, **kwargs): + r""" + MESH_SPHERE creates spherical mesh, with approximately nvertices vertices + + Use as + [pos, tri] = mesh_sphere(n, method) + + The input parameter 'n' specifies the (approximate) number of vertices. If n is + empty, or undefined, a 12 vertex icosahedron will be returned. If n is specified + but the method is not specified, the most optimal method will be selected based on + n. + - If log4((n-2)/10) is an integer, the mesh will be based on an icosahedron. + - If log4((n-2)/4) is an integer, the mesh will be based on a refined octahedron. + - If log4((n-2)/2) is an integer, the mesh will be based on a refined tetrahedron. + - Otherwise, an msphere will be used. + + The input parameter 'method' defines which algorithm or approach to use. This can + be 'icosahedron', 'octahedron', 'tetrahedron', 'fibonachi', 'msphere', or 'ksphere'. + + See also MESH_TETRAHEDRON, MESH_OCTAHEDRON, MESH_ICOSAHEDRON + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/bemcp/mesh_sphere.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("mesh_sphere", *args, **kwargs) diff --git a/spm/__external/__bemcp/mesh_tetrahedron.py b/spm/__external/__bemcp/mesh_tetrahedron.py new file mode 100644 index 00000000..94cd11cb --- /dev/null +++ b/spm/__external/__bemcp/mesh_tetrahedron.py @@ -0,0 +1,22 @@ +from spm._runtime import Runtime + + +def mesh_tetrahedron(*args, **kwargs): + r""" + MESH_TETRAHEDRON returns the vertices and triangles of a tetrahedron. + + Use as + [pos, tri] = mesh_tetrahedron; + + See also MESH_ICOSAHEDRON, MESH_OCTAHEDRON, MESH_SPHERE + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/bemcp/mesh_tetrahedron.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("mesh_tetrahedron", *args, **kwargs) diff --git a/spm/__external/__bemcp/refine.py b/spm/__external/__bemcp/refine.py new file mode 100644 index 00000000..b3def274 --- /dev/null +++ b/spm/__external/__bemcp/refine.py @@ -0,0 +1,43 @@ +from spm._runtime import Runtime + + +def refine(*args, **kwargs): + r""" + REFINE a 3D surface that is described by a triangulation + + Use as + [pos, tri] = refine(pos, tri) + [pos, tri] = refine(pos, tri, 'banks') + [pos, tri] = refine(pos, tri, 'midpoint') + [pos, tri, texture] = refine(pos, tri, 'banks', texture) + [pos, tri] = refine(pos, tri, 'updown', numtri) + + If no method is specified, the default is to refine the mesh globally by bisecting + each edge according to the algorithm described in Banks, 1983. + + The Banks method allows the specification of a subset of triangles to be refined + according to Banks' algorithm. Adjacent triangles will be gracefully dealt with. + + The alternative 'updown' method refines the mesh a couple of times + using Banks' algorithm, followed by a downsampling using the REDUCEPATCH + function. + + If the textures of the vertices are specified, the textures for the new + vertices are computed + + The Banks method is a memory efficient implementation which remembers the + previously inserted vertices. The refinement algorithm executes in linear + time with the number of triangles. It is mentioned in + http://www.cs.rpi.edu/~flaherje/pdf/fea8.pdf, which also contains the original + reference. + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/bemcp/refine.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("refine", *args, **kwargs) diff --git a/spm/__external/__ctf/addCTFtrial.py b/spm/__external/__ctf/addCTFtrial.py index 6fe9be83..dd88a9a3 100644 --- a/spm/__external/__ctf/addCTFtrial.py +++ b/spm/__external/__ctf/addCTFtrial.py @@ -2,7 +2,7 @@ def addCTFtrial(*args, **kwargs): - """ + r""" %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % This program creates datasets that can be analyzed by CTF software. % @@ -14,9 +14,12 @@ def addCTFtrial(*args, **kwargs): %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% - [Matlab code]( https://github.com/spm/spm/blob/main/external/ctf/addCTFtrial.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/ctf/addCTFtrial.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("addCTFtrial", *args, **kwargs) diff --git a/spm/__external/__ctf/getCTFdata.py b/spm/__external/__ctf/getCTFdata.py index 4917b6e4..85cea793 100644 --- a/spm/__external/__ctf/getCTFdata.py +++ b/spm/__external/__ctf/getCTFdata.py @@ -2,13 +2,16 @@ def getCTFdata(*args, **kwargs): - """ + r""" getCTFdata.m Reads specified trials from .meg4 files in CTF-format data set. - [Matlab code]( https://github.com/spm/spm/blob/main/external/ctf/getCTFdata.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/ctf/getCTFdata.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("getCTFdata", *args, **kwargs) diff --git a/spm/__external/__ctf/readCPersist.py b/spm/__external/__ctf/readCPersist.py index 109a29c6..7d64abb1 100644 --- a/spm/__external/__ctf/readCPersist.py +++ b/spm/__external/__ctf/readCPersist.py @@ -2,15 +2,18 @@ def readCPersist(*args, **kwargs): - """ + r""" Version 1.2 24 April 2007 Modified to close the CPersist file if a really huge taglength is encountered. Recently discovered .acq files with the string 'ssss' added at the end of the file after the final 'EndofParameters' string. - [Matlab code]( https://github.com/spm/spm/blob/main/external/ctf/readCPersist.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/ctf/readCPersist.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("readCPersist", *args, **kwargs) diff --git a/spm/__external/__ctf/readCTFMRI.py b/spm/__external/__ctf/readCTFMRI.py index 057abffe..370c5b45 100644 --- a/spm/__external/__ctf/readCTFMRI.py +++ b/spm/__external/__ctf/readCTFMRI.py @@ -2,14 +2,17 @@ def readCTFMRI(*args, **kwargs): - """ + r""" Version 1.2: 25 April 2007 Module readCPersist changed and removed from this listing. Version 1.1: 19 April 2007 No changes since v1.0 - [Matlab code]( https://github.com/spm/spm/blob/main/external/ctf/readCTFMRI.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/ctf/readCTFMRI.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("readCTFMRI", *args, **kwargs) diff --git a/spm/__external/__ctf/readCTFds.py b/spm/__external/__ctf/readCTFds.py index 55c802da..eec44946 100644 --- a/spm/__external/__ctf/readCTFds.py +++ b/spm/__external/__ctf/readCTFds.py @@ -2,7 +2,7 @@ def readCTFds(*args, **kwargs): - """ + r""" ************************************************************************ This program is provided to users of CTF MEG systems as a courtesy only. @@ -12,9 +12,12 @@ def readCTFds(*args, **kwargs): ************************************************************************ - [Matlab code]( https://github.com/spm/spm/blob/main/external/ctf/readCTFds.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/ctf/readCTFds.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("readCTFds", *args, **kwargs) diff --git a/spm/__external/__ctf/readCTFhdm.py b/spm/__external/__ctf/readCTFhdm.py index e927cdf3..2f200ee3 100644 --- a/spm/__external/__ctf/readCTFhdm.py +++ b/spm/__external/__ctf/readCTFhdm.py @@ -2,7 +2,7 @@ def readCTFhdm(*args, **kwargs): - """ + r""" Version 1.1 19 April 2007 - Test date. 21 March 2007. Modified to read v6.0 .hdm files that have additional fields in MultiSphere_Data @@ -12,9 +12,12 @@ def readCTFhdm(*args, **kwargs): "CTF MEG FIle Formats', PN900-0088. - [Matlab code]( https://github.com/spm/spm/blob/main/external/ctf/readCTFhdm.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/ctf/readCTFhdm.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("readCTFhdm", *args, **kwargs) diff --git a/spm/__external/__ctf/setCTFDataBalance.py b/spm/__external/__ctf/setCTFDataBalance.py index bf634136..a6d73ec1 100644 --- a/spm/__external/__ctf/setCTFDataBalance.py +++ b/spm/__external/__ctf/setCTFDataBalance.py @@ -2,7 +2,7 @@ def setCTFDataBalance(*args, **kwargs): - """ + r""" Version 1.1 13 April 2007 Mod to chanList: If chanList is omitted and size(data,2)a/c - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/connectivity/private/triplet_conditionalgranger.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/connectivity/private/triplet_conditionalgranger.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("triplet_conditionalgranger", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__connectivity/ft_connectivity_cancorr.py b/spm/__external/__fieldtrip/__connectivity/ft_connectivity_cancorr.py index 62fce989..503042a2 100644 --- a/spm/__external/__fieldtrip/__connectivity/ft_connectivity_cancorr.py +++ b/spm/__external/__fieldtrip/__connectivity/ft_connectivity_cancorr.py @@ -2,7 +2,7 @@ def ft_connectivity_cancorr(*args, **kwargs): - """ + r""" FT_CONNECTIVITY_CANCORR computes the canonical correlation or canonical coherence between multiple variables. Canonical correlation analysis (CCA) is a way of measuring the linear relationship between two multidimensional variables. It finds @@ -29,9 +29,12 @@ def ft_connectivity_cancorr(*args, **kwargs): See also CONNECTIVITY, FT_CONNECTIVITYANALYSIS - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/connectivity/ft_connectivity_cancorr.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/connectivity/ft_connectivity_cancorr.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_connectivity_cancorr", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__connectivity/ft_connectivity_corr.py b/spm/__external/__fieldtrip/__connectivity/ft_connectivity_corr.py index 7fe3063a..ed6b57ae 100644 --- a/spm/__external/__fieldtrip/__connectivity/ft_connectivity_corr.py +++ b/spm/__external/__fieldtrip/__connectivity/ft_connectivity_corr.py @@ -2,7 +2,7 @@ def ft_connectivity_corr(*args, **kwargs): - """ + r""" FT_CONNECTIVITY_CORR computes correlation, coherence or a related quantity from a data-matrix containing a covariance or cross-spectral density. This implements the methods as described in the following papers: @@ -61,9 +61,12 @@ def ft_connectivity_corr(*args, **kwargs): See also CONNECTIVITY, FT_CONNECTIVITYANALYSIS - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/connectivity/ft_connectivity_corr.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/connectivity/ft_connectivity_corr.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_connectivity_corr", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__connectivity/ft_connectivity_csd2transfer.py b/spm/__external/__fieldtrip/__connectivity/ft_connectivity_csd2transfer.py index bf730327..db523c3f 100644 --- a/spm/__external/__fieldtrip/__connectivity/ft_connectivity_csd2transfer.py +++ b/spm/__external/__fieldtrip/__connectivity/ft_connectivity_csd2transfer.py @@ -2,7 +2,7 @@ def ft_connectivity_csd2transfer(*args, **kwargs): - """ + r""" FT_CONNECTIVITY_CSD2TRANSFER computes the transfer-function from frequency domain data using the Wilson-Burg algorithm. The transfer function can be used for the computation of directional measures of connectivity, such as Granger causality, @@ -38,9 +38,12 @@ def ft_connectivity_csd2transfer(*args, **kwargs): See also FT_CONNECTIVITYANALYSIS - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/connectivity/ft_connectivity_csd2transfer.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/connectivity/ft_connectivity_csd2transfer.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_connectivity_csd2transfer", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__connectivity/ft_connectivity_dtf.py b/spm/__external/__fieldtrip/__connectivity/ft_connectivity_dtf.py index 47f6e2a7..d0a0d4f1 100644 --- a/spm/__external/__fieldtrip/__connectivity/ft_connectivity_dtf.py +++ b/spm/__external/__fieldtrip/__connectivity/ft_connectivity_dtf.py @@ -2,7 +2,7 @@ def ft_connectivity_dtf(*args, **kwargs): - """ + r""" FT_CONNECTIVITY_DTF computes the directed transfer function. Use as @@ -37,9 +37,12 @@ def ft_connectivity_dtf(*args, **kwargs): See also CONNECTIVITY, FT_CONNECTIVITYANALYSIS - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/connectivity/ft_connectivity_dtf.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/connectivity/ft_connectivity_dtf.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_connectivity_dtf", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__connectivity/ft_connectivity_granger.py b/spm/__external/__fieldtrip/__connectivity/ft_connectivity_granger.py index 53a668d4..e98b2512 100644 --- a/spm/__external/__fieldtrip/__connectivity/ft_connectivity_granger.py +++ b/spm/__external/__fieldtrip/__connectivity/ft_connectivity_granger.py @@ -2,7 +2,7 @@ def ft_connectivity_granger(*args, **kwargs): - """ + r""" FT_CONNECTIVITY_GRANGER computes spectrally resolved granger causality. This implementation is loosely based on the code used in Brovelli, et. al., PNAS 101, 9849-9854 (2004). @@ -45,9 +45,12 @@ def ft_connectivity_granger(*args, **kwargs): See also CONNECTIVITY, FT_CONNECTIVITYANALYSIS - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/connectivity/ft_connectivity_granger.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/connectivity/ft_connectivity_granger.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_connectivity_granger", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__connectivity/ft_connectivity_mim.py b/spm/__external/__fieldtrip/__connectivity/ft_connectivity_mim.py index dee672b2..a8d94528 100644 --- a/spm/__external/__fieldtrip/__connectivity/ft_connectivity_mim.py +++ b/spm/__external/__fieldtrip/__connectivity/ft_connectivity_mim.py @@ -2,7 +2,7 @@ def ft_connectivity_mim(*args, **kwargs): - """ + r""" FT_CONNECTIVITY_MIM computes the multivariate interaction measure from a data-matrix containing the cross-spectral density. This implements the method described in Ewald et al., Estimating true brain connectivity from EEG/MEG data @@ -26,9 +26,12 @@ def ft_connectivity_mim(*args, **kwargs): See also CONNECTIVITY, FT_CONNECTIVITYANALYSIS - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/connectivity/ft_connectivity_mim.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/connectivity/ft_connectivity_mim.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_connectivity_mim", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__connectivity/ft_connectivity_mutualinformation.py b/spm/__external/__fieldtrip/__connectivity/ft_connectivity_mutualinformation.py index 8a0ff819..fe174a3a 100644 --- a/spm/__external/__fieldtrip/__connectivity/ft_connectivity_mutualinformation.py +++ b/spm/__external/__fieldtrip/__connectivity/ft_connectivity_mutualinformation.py @@ -2,7 +2,7 @@ def ft_connectivity_mutualinformation(*args, **kwargs): - """ + r""" FT_CONNECTIVITY_MUTUALINFORMATION computes mutual information using either the information breakdown toolbox (ibtb), as described in Magri et al., BMC Neuroscience 2009, 1471-2202, or Robin Ince's Gaussian copula based parametric @@ -38,9 +38,12 @@ def ft_connectivity_mutualinformation(*args, **kwargs): See also CONNECTIVITY, FT_CONNECTIVITYANALYSIS - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/connectivity/ft_connectivity_mutualinformation.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/connectivity/ft_connectivity_mutualinformation.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_connectivity_mutualinformation", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__connectivity/ft_connectivity_pdc.py b/spm/__external/__fieldtrip/__connectivity/ft_connectivity_pdc.py index 863a1cfa..97f902be 100644 --- a/spm/__external/__fieldtrip/__connectivity/ft_connectivity_pdc.py +++ b/spm/__external/__fieldtrip/__connectivity/ft_connectivity_pdc.py @@ -2,7 +2,7 @@ def ft_connectivity_pdc(*args, **kwargs): - """ + r""" FT_CONNECTIVITY_PDC computes partial directed coherence. This function implements the metrices described in Baccala et al., Biological Cybernetics 2001, 84(6), 463-74. and in Baccala et al., 15th Int.Conf.on DSP 2007, 163-66. @@ -45,9 +45,12 @@ def ft_connectivity_pdc(*args, **kwargs): See also CONNECTIVITY, FT_CONNECTIVITYANALYSIS - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/connectivity/ft_connectivity_pdc.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/connectivity/ft_connectivity_pdc.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_connectivity_pdc", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__connectivity/ft_connectivity_plm.py b/spm/__external/__fieldtrip/__connectivity/ft_connectivity_plm.py index 9aadd148..f95eb7e6 100644 --- a/spm/__external/__fieldtrip/__connectivity/ft_connectivity_plm.py +++ b/spm/__external/__fieldtrip/__connectivity/ft_connectivity_plm.py @@ -2,7 +2,7 @@ def ft_connectivity_plm(*args, **kwargs): - """ + r""" FT_CONNECTIVITY_PLM computes the phase linearity measurement from a cell array of time-domain data, where each cell is an epoch. This implements the metric described in Baselice et al. "Phase Linearity Measurement: a novel index for brain functional @@ -24,9 +24,12 @@ def ft_connectivity_plm(*args, **kwargs): See also CONNECTIVITY, FT_CONNECTIVITYANALYSIS - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/connectivity/ft_connectivity_plm.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/connectivity/ft_connectivity_plm.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_connectivity_plm", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__connectivity/ft_connectivity_powcorr_ortho.py b/spm/__external/__fieldtrip/__connectivity/ft_connectivity_powcorr_ortho.py index d36aafd5..567a40a4 100644 --- a/spm/__external/__fieldtrip/__connectivity/ft_connectivity_powcorr_ortho.py +++ b/spm/__external/__fieldtrip/__connectivity/ft_connectivity_powcorr_ortho.py @@ -2,7 +2,7 @@ def ft_connectivity_powcorr_ortho(*args, **kwargs): - """ + r""" FT_CONNECTIVITY_POWCORR_ORTHO computes power correlation after removing the zero-lag contribution on a trial-by-trial basis, according to Hipp's Nature Neuroscience paper. @@ -25,9 +25,12 @@ def ft_connectivity_powcorr_ortho(*args, **kwargs): See also CONNECTIVITY, FT_CONNECTIVITYANALYSIS - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/connectivity/ft_connectivity_powcorr_ortho.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/connectivity/ft_connectivity_powcorr_ortho.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_connectivity_powcorr_ortho", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__connectivity/ft_connectivity_ppc.py b/spm/__external/__fieldtrip/__connectivity/ft_connectivity_ppc.py index d56319a9..323ef46e 100644 --- a/spm/__external/__fieldtrip/__connectivity/ft_connectivity_ppc.py +++ b/spm/__external/__fieldtrip/__connectivity/ft_connectivity_ppc.py @@ -2,7 +2,7 @@ def ft_connectivity_ppc(*args, **kwargs): - """ + r""" FT_CONNECTIVITY_PPC computes pairwise phase consistency or weighted pairwise phase consistency from a data-matrix containing a cross-spectral density. This implements the method described in Vinck M, van Wingerden M, Womelsdorf T, Fries P, Pennartz @@ -32,9 +32,12 @@ def ft_connectivity_ppc(*args, **kwargs): See also CONNECTIVITY, FT_CONNECTIVITYANALYSIS - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/connectivity/ft_connectivity_ppc.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/connectivity/ft_connectivity_ppc.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_connectivity_ppc", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__connectivity/ft_connectivity_psi.py b/spm/__external/__fieldtrip/__connectivity/ft_connectivity_psi.py index 33abf2c2..faa94443 100644 --- a/spm/__external/__fieldtrip/__connectivity/ft_connectivity_psi.py +++ b/spm/__external/__fieldtrip/__connectivity/ft_connectivity_psi.py @@ -2,7 +2,7 @@ def ft_connectivity_psi(*args, **kwargs): - """ + r""" FT_CONNECTIVITY_PSI computes the phase slope index from a data-matrix containing the cross-spectral density. This implements the method described in Nolte et al., Robustly estimating the flow direction of information in complex physical systems. @@ -30,15 +30,19 @@ def ft_connectivity_psi(*args, **kwargs): 'hasjack' = boolean, specifying whether the repetitions represent leave-one-out samples (allowing for a variance estimate) 'feedback' = 'none', 'text', 'textbar', 'dial', 'etf', 'gui' type of feedback showing progress of computation, see FT_PROGRESS 'dimord' = string, specifying how the input matrix should be interpreted - 'powindx' = ? - 'normalize' = ? + 'powindx' = Nx2 linear indexing matrix that indexes for each combination the row of the corresponding autospectra + 'normalize' = string, 'no'/'yes' that specifies whether the coherency products are to be normalised to 1 before integrating + across the specified bandwidth See also CONNECTIVITY, FT_CONNECTIVITYANALYSIS - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/connectivity/ft_connectivity_psi.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/connectivity/ft_connectivity_psi.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_connectivity_psi", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__connectivity/ft_connectivity_wpli.py b/spm/__external/__fieldtrip/__connectivity/ft_connectivity_wpli.py index 5869b390..eef22751 100644 --- a/spm/__external/__fieldtrip/__connectivity/ft_connectivity_wpli.py +++ b/spm/__external/__fieldtrip/__connectivity/ft_connectivity_wpli.py @@ -2,7 +2,7 @@ def ft_connectivity_wpli(*args, **kwargs): - """ + r""" FT_CONNECTIVITY_WPLI computes the weighted phase lag index from a data matrix containing the cross-spectral density. This implements the method described in Vinck M, Oostenveld R, van Wingerden M, Battaglia F, Pennartz CM. An improved index @@ -46,9 +46,12 @@ def ft_connectivity_wpli(*args, **kwargs): See also FT_CONNECTIVITYANALYSIS - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/connectivity/ft_connectivity_wpli.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/connectivity/ft_connectivity_wpli.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_connectivity_wpli", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__external/__bvrf_reader/__init__.py b/spm/__external/__fieldtrip/__external/__bvrf_reader/__init__.py new file mode 100644 index 00000000..3009d63b --- /dev/null +++ b/spm/__external/__fieldtrip/__external/__bvrf_reader/__init__.py @@ -0,0 +1,8 @@ +from .eeg_loadbvrf import eeg_loadbvrf +from .loadbvrf import loadbvrf + + +__all__ = [ + "eeg_loadbvrf", + "loadbvrf" +] diff --git a/spm/__external/__fieldtrip/__external/__bvrf_reader/eeg_loadbvrf.py b/spm/__external/__fieldtrip/__external/__bvrf_reader/eeg_loadbvrf.py new file mode 100644 index 00000000..a591c020 --- /dev/null +++ b/spm/__external/__fieldtrip/__external/__bvrf_reader/eeg_loadbvrf.py @@ -0,0 +1,79 @@ +from spm._runtime import Runtime + + +def eeg_loadbvrf(*args, **kwargs): + r""" + eeg_loadbvrf() - Read data saved in the Brain Vision Recorder format (BVRF) + and create one EEGLAB EEG struct per participant. + + Usage: + >> [hdr, ALLEEG] = eeg_loadbvrf(hdrPath, hdrFileName, 'key', value, ...); + + Inputs: + hdrPath - Header path + hdrFileName - Header file name (.bvrh). Data (.bvrd), marker (.bvrm), + and impedance (.bvri) files must be in the same folder. + + Optional 'key', value pairs: + 'sampleInterval' - [first, last] sample indices to read (0-based). + [] (default) = read all samples. + 'channelIndx' - Indices of channels to import (applied per participant). + 'flagImportMarkers' - true/false (default: true). Import markers → EEG.event. + 'flagImportImpedances' - true/false (default: true). Read impedance file + and store in EEG.etc.impedances. + 'flagMetadata' - true/false (default: false). If true: only read + header; ALLEEG is returned empty. + 'verbose' - true/false (default: false). Print progress. + 'participantId' - string. If provided and there are multiple + participants, only the participant whose + Channels(k).ParticipantId matches this value + is loaded into ALLEEG. + 'usePoly' - true/false (default: true). Use polynomial + information in sensors (if exist) to convert sensor + output to physical quantity + + Outputs: + hdr - Parsed BVRF header (struct from jsondecode). + ALLEEG - 1 x N cell array of EEGLAB EEG structs (one per participant, + or just one if 'participantId' is specified). + + Notes: + - Participant splitting is done via Channels(k).ParticipantId only. + - Markers are mapped to EEGLAB events as: + EEG.event(k).type = MarkerType + EEG.event(k).latency = Sample + EEG.event(k).comment = Comment + + Author: Alejandro Ojeda, Brain Products GmbH, 2025 + Ramon Martinez-Cancino, Brain Products GmbH, 2025 + + Copyright (C) 2025 Brain Products GmbH + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to deal + in the Software without restriction, including without limitation the rights + to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in all + copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + SOFTWARE. + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/external/bvrf_reader/eeg_loadbvrf.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("eeg_loadbvrf", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__external/__bvrf_reader/loadbvrf.py b/spm/__external/__fieldtrip/__external/__bvrf_reader/loadbvrf.py new file mode 100644 index 00000000..1a50c717 --- /dev/null +++ b/spm/__external/__fieldtrip/__external/__bvrf_reader/loadbvrf.py @@ -0,0 +1,36 @@ +from spm._runtime import Runtime + + +def loadbvrf(*args, **kwargs): + r""" + readBVRF() - Read data saved in the Brain Vision Recorder format. + + Usage: + >> [hdr, participantId, data, channels, markers, impedances] = loadbvrf(hdrFile, verbose); + + Inputs: + hdrFile - Header file (bvrh). Data (.bvrd) and marker (bvrm) files should be in the same folder. + sampleRange - [first, last] samples that define the interval to read. Enter [] to read all samples. + flagMetadata - Loads only the header metadata. + verbose - Optional input. Set to true to display messages. + + Outputs: + hdr - header structure + participantId - cell array of participant ids + data - cell array of data matrix [channels, samples] + channels - cell array of channel structure + markers - cell array of marker structure + impedances - cell array of impedance measurements + + Copyright (C) 2025 Brain Products GmbH + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/external/bvrf_reader/loadbvrf.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("loadbvrf", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__external/__fileexchange/CalcMD5.py b/spm/__external/__fieldtrip/__external/__fileexchange/CalcMD5.py new file mode 100644 index 00000000..5b64276a --- /dev/null +++ b/spm/__external/__fieldtrip/__external/__fileexchange/CalcMD5.py @@ -0,0 +1,75 @@ +from spm._runtime import Runtime + + +def CalcMD5(*args, **kwargs): + r""" + 128 bit MD5 checksum: file, string, byte stream [MEX] + This function calculates a 128 bit checksum for arrays and files. + Digest = CalcMD5(Data, [InClass], [OutClass]) + INPUT: + Data: Data array or file name. Either numerical or CHAR array. + Currently only files and arrays with up to 2^32 bytes (2.1GB) are + accepted. + InClass: String to declare the type of the 1st input. + Optional. Default: 'Char'. + 'File': [Data] is a file name as string. The digest is calculated + for this file. + 'Char': [Data] is a char array to calculate the digest for. Only the + ASCII part of the Matlab CHARs is used, such that the digest + is the same as if the array is written to a file as UCHAR, + e.g. with FWRITE. + 'Unicode': All bytes of the input [Data] are used to calculate the + digest. This is the standard for numerical input. + OutClass: String, format of the output. Just the first character matters. + Optional, default: 'hex'. + 'hex': [1 x 32] string as lowercase hexadecimal number. + 'HEX': [1 x 32] string as uppercase hexadecimal number. + 'Dec': [1 x 16] double vector with UINT8 values. + 'Base64': [1 x 22] string, encoded to base 64 (A:Z,a:z,0:9,+,/). + + OUTPUT: + Digest: A 128 bit number is replied in a format depending on [OutClass]. + The chance, that different data sets have the same MD5 sum is about + 2^128 (> 3.4 * 10^38). Therefore MD5 can be used as "finger-print" + of a file rather than e.g. CRC32. + + EXAMPLES: + Three methods to get the MD5 of a file: + 1. Direct file access (recommended): + MD5 = CalcMD5(which('CalcMD5.m'), 'File') + 2. Import the file to a CHAR array (binary mode for exact line breaks!): + FID = fopen(which('CalcMD5.m'), 'rb'); + S = fread(FID, inf, 'uchar=>char'); + fclose(FID); + MD5 = CalcMD5(S, 'char') + 3. Import file as a byte stream: + FID = fopen(which('CalcMD5.m'), 'rb'); + S = fread(FID, inf, 'uint8=>uint8'); + fclose(FID); + MD5 = CalcMD5(S, 'unicode'); // 'unicode' can be omitted here + + Test string: + CalcMD5(char(0:511), 'char', 'HEX') + => F5C8E3C31C044BAE0E65569560B54332 + CalcMD5(char(0:511), 'unicode', 'HEX') + => 3484769D4F7EBB88BBE942BB924834CD + + Tested: Matlab 6.5, 7.7, 7.8, WinXP, [UnitTest] + Author: Jan Simon, Heidelberg, (C) 2009-2010 J@n-Simon.De + License: This program is derived from the RSA Data Security, Inc. + MD5 Message Digest Algorithm, RFC 1321, R. Rivest, April 1992 + + See also CalcCRC32. + Michael Kleder has published a Java call to compute the MD5 (and further + check sums): http://www.mathworks.com/matlabcentral/fileexchange/8944 + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/external/fileexchange/CalcMD5.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("CalcMD5", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__external/__fileexchange/DataHash.py b/spm/__external/__fieldtrip/__external/__fileexchange/DataHash.py new file mode 100644 index 00000000..26955fcf --- /dev/null +++ b/spm/__external/__fieldtrip/__external/__fileexchange/DataHash.py @@ -0,0 +1,113 @@ +from spm._runtime import Runtime + + +def DataHash(*args, **kwargs): + r""" + DATAHASH - Checksum for Matlab array of any type + This function creates a hash value for an input of any type. The type and + dimensions of the input are considered as default, such that UINT8([0,0]) and + UINT16(0) have different hash values. Nested STRUCTs and CELLs are parsed + recursively. + + Hash = DataHash(Data, Opts...) + INPUT: + Data: Array of these built-in types: + (U)INT8/16/32/64, SINGLE, DOUBLE, (real/complex, full/sparse) + CHAR, LOGICAL, CELL (nested), STRUCT (scalar or array, nested), + function_handle, string. + Opts: Char strings to specify the method, the input and theoutput types: + Input types: + 'array': The contents, type and size of the input [Data] are + considered for the creation of the hash. Nested CELLs + and STRUCT arrays are parsed recursively. Empty arrays of + different type reply different hashs. + 'file': [Data] is treated as file name and the hash is calculated + for the files contents. + 'bin': [Data] is a numerical, LOGICAL or CHAR array. Only the + binary contents of the array is considered, such that + e.g. empty arrays of different type reply the same hash. + 'ascii': Same as 'bin', but only the 8-bit ASCII part of the 16-bit + Matlab CHARs is considered. + Output types: + 'hex', 'HEX': Lower/uppercase hexadecimal string. + 'double', 'uint8': Numerical vector. + 'base64': Base64. + 'short': Base64 without padding. + Hashing method: + 'SHA-1', 'SHA-256', 'SHA-384', 'SHA-512', 'MD2', 'MD5'. + Call DataHash without inputs to get a list of available methods. + + Default: 'MD5', 'hex', 'array' + + OUTPUT: + Hash: String, DOUBLE or UINT8 vector. The length depends on the hashing + method. + If DataHash is called without inputs, a struct is replied: + .HashVersion: Version number of the hashing method of this tool. In + case of bugs or additions, the output can change. + .Date: Date of release of the current HashVersion. + .HashMethod: Cell string of the recognized hash methods. + + EXAMPLES: + % Default: MD5, hex: + DataHash([]) % 5b302b7b2099a97ba2a276640a192485 + % MD5, Base64: + DataHash(int32(1:10), 'short', 'MD5') % +tJN9yeF89h3jOFNN55XLg + % SHA-1, Base64: + S.a = uint8([]); + S.b = {{1:10}, struct('q', uint64(415))}; + DataHash(S, 'SHA-1', 'HEX') % 18672BE876463B25214CA9241B3C79CC926F3093 + % SHA-1 of binary values: + DataHash(1:8, 'SHA-1', 'bin') % 826cf9d3a5d74bbe415e97d4cecf03f445f69225 + % SHA-256, consider ASCII part only (Matlab's CHAR has 16 bits!): + DataHash('abc', 'SHA-256', 'ascii') + % ba7816bf8f01cfea414140de5dae2223b00361a396177a9cb410ff61f20015ad + % Or equivalently by converting the input to UINT8: + DataHash(uint8('abc'), 'SHA-256', 'bin') + + NOTES: + Function handles and user-defined objects cannot be converted uniquely: + - The subfunction ConvertFuncHandle uses the built-in function FUNCTIONS, + but the replied struct can depend on the Matlab version. + - It is tried to convert objects to UINT8 streams in the subfunction + ConvertObject. A conversion by STRUCT() might be more appropriate. + Adjust these subfunctions on demand. + + MATLAB CHARs have 16 bits! Use Opt.Input='ascii' for comparisons with e.g. + online hash generators. + + Matt Raum suggested this for e.g. user-defined objects: + DataHash(getByteStreamFromArray(Data)) + This works very well, but unfortunately getByteStreamFromArray is + undocumented, such that it might vanish in the future or reply different + output. + + For arrays the calculated hash value might be changed in new versions. + Calling this function without inputs replies the version of the hash. + + The older style for input arguments is accepted also: Struct with fields + 'Input', 'Method', 'OutFormat'. + + The C-Mex function GetMD5 is 2 to 100 times faster, but obtains MD5 only: + http://www.mathworks.com/matlabcentral/fileexchange/25921 + + Tested: Matlab 2009a, 2015b(32/64), 2016b, 2018b, Win7/10 + Author: Jan Simon, Heidelberg, (C) 2011-2019 matlab.2010(a)n(MINUS)simon.de + + See also: TYPECAST, CAST. + + Michael Kleder, "Compute Hash", no structs and cells: + http://www.mathworks.com/matlabcentral/fileexchange/8944 + Tim, "Serialize/Deserialize", converts structs and cells to a byte stream: + http://www.mathworks.com/matlabcentral/fileexchange/29457 + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/external/fileexchange/DataHash.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("DataHash", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__external/__fileexchange/__init__.py b/spm/__external/__fieldtrip/__external/__fileexchange/__init__.py index 30d8ae84..1e2cbc3e 100644 --- a/spm/__external/__fieldtrip/__external/__fileexchange/__init__.py +++ b/spm/__external/__fieldtrip/__external/__fileexchange/__init__.py @@ -1,8 +1,30 @@ +from .CalcMD5 import CalcMD5 +from .DataHash import DataHash +from .arrow import arrow +from .base64decode import base64decode +from .base64encode import base64encode +from .icp import icp +from .keep import keep +from .pan_tompkin import pan_tompkin +from .stlwrite import stlwrite +from .subtightplot import subtightplot from .uimage import uimage from .uimagesc import uimagesc +from .vtkwrite import vtkwrite __all__ = [ + "CalcMD5", + "DataHash", + "arrow", + "base64decode", + "base64encode", + "icp", + "keep", + "pan_tompkin", + "stlwrite", + "subtightplot", "uimage", - "uimagesc" + "uimagesc", + "vtkwrite" ] diff --git a/spm/__external/__fieldtrip/__external/__fileexchange/arrow.py b/spm/__external/__fieldtrip/__external/__fileexchange/arrow.py new file mode 100644 index 00000000..49024e04 --- /dev/null +++ b/spm/__external/__fieldtrip/__external/__fileexchange/arrow.py @@ -0,0 +1,76 @@ +from spm._runtime import Runtime + + +def arrow(*args, **kwargs): + r""" + ARROW Draw a line with an arrowhead. + + ARROW(Start,Stop) draws a line with an arrow from Start to Stop (points + should be vectors of length 2 or 3, or matrices with 2 or 3 + columns), and returns the graphics handle of the arrow(s). + + ARROW uses the mouse (click-drag) to create an arrow. + + ARROW DEMO & ARROW DEMO2 show 3-D & 2-D demos of the capabilities of ARROW. + + ARROW may be called with a normal argument list or a property-based list. + ARROW(Start,Stop,Length,BaseAngle,TipAngle,Width,Page,CrossDir) is + the full normal argument list, where all but the Start and Stop + points are optional. If you need to specify a later argument (e.g., + Page) but want default values of earlier ones (e.g., TipAngle), + pass an empty matrix for the earlier ones (e.g., TipAngle=[]). + + ARROW('Property1',PropVal1,'Property2',PropVal2,...) creates arrows with the + given properties, using default values for any unspecified or given as + 'default' or NaN. Some properties used for line and patch objects are + used in a modified fashion, others are passed directly to LINE, PATCH, + or SET. For a detailed properties explanation, call ARROW PROPERTIES. + + Start The starting points. B + Stop The end points. /|\ ^ + Length Length of the arrowhead in pixels. /|||\ | + BaseAngle Base angle in degrees (ADE). //|||\\ L| + TipAngle Tip angle in degrees (ABC). ///|||\\\ e| + Width Width of the base in pixels. ////|||\\\\ n| + Page Use hardcopy proportions. /////|D|\\\\\ g| + CrossDir Vector || to arrowhead plane. //// ||| \\\\ t| + NormalDir Vector out of arrowhead plane. /// ||| \\\ h| + Ends Which end has an arrowhead. //<----->|| \\ | + ObjectHandles Vector of handles to update. / base ||| \ V + E angle||<-------->C + ARROW(H,'Prop1',PropVal1,...), where H is a |||tipangle + vector of handles to previously-created arrows ||| + and/or line objects, will update the previously- ||| + created arrows according to the current view -->|A|<-- width + and any specified properties, and will convert + two-point line objects to corresponding arrows. ARROW(H) will update + the arrows if the current view has changed. Root, figure, or axes + handles included in H are replaced by all descendant Arrow objects. + + A property list can follow any specified normal argument list, e.g., + ARROW([1 2 3],[0 0 0],36,'BaseAngle',60) creates an arrow from (1,2,3) to + the origin, with an arrowhead of length 36 pixels and 60-degree base angle. + + The basic arguments or properties can generally be vectorized to create + multiple arrows with the same call. This is done by passing a property + with one row per arrow, or, if all arrows are to have the same property + value, just one row may be specified. + + You may want to execute AXIS(AXIS) before calling ARROW so it doesn't change + the axes on you; ARROW determines the sizes of arrow components BEFORE the + arrow is plotted, so if ARROW changes axis limits, arrows may be malformed. + + This version of ARROW uses features of MATLAB 5 and is incompatible with + earlier MATLAB versions (ARROW for MATLAB 4.2c is available separately); + some problems with perspective plots still exist. + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/external/fileexchange/arrow.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("arrow", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__external/__fileexchange/base64decode.py b/spm/__external/__fieldtrip/__external/__fileexchange/base64decode.py new file mode 100644 index 00000000..2a6d254a --- /dev/null +++ b/spm/__external/__fieldtrip/__external/__fileexchange/base64decode.py @@ -0,0 +1,25 @@ +from spm._runtime import Runtime + + +def base64decode(*args, **kwargs): + r""" + BASE64DECODE Decode Base64 string to a byte array. + + output = base64decode(input) + + The function takes a Base64 string INPUT and returns a uint8 array + OUTPUT. JAVA must be running to use this function. The result is always + given as a 1-by-N array, and doesn't retrieve the original dimensions. + + See also base64encode + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/external/fileexchange/base64decode.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("base64decode", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__external/__fileexchange/base64encode.py b/spm/__external/__fieldtrip/__external/__fileexchange/base64encode.py new file mode 100644 index 00000000..7b7f8f3d --- /dev/null +++ b/spm/__external/__fieldtrip/__external/__fileexchange/base64encode.py @@ -0,0 +1,25 @@ +from spm._runtime import Runtime + + +def base64encode(*args, **kwargs): + r""" + BASE64ENCODE Encode a byte array using Base64 codec. + + output = base64encode(input) + + The function takes a char, int8, or uint8 array INPUT and returns Base64 + encoded string OUTPUT. JAVA must be running to use this function. Note + that encoding doesn't preserve input dimensions. + + See also base64decode + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/external/fileexchange/base64encode.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("base64encode", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__external/__fileexchange/icp.py b/spm/__external/__fieldtrip/__external/__fileexchange/icp.py new file mode 100644 index 00000000..68b90bb9 --- /dev/null +++ b/spm/__external/__fieldtrip/__external/__fileexchange/icp.py @@ -0,0 +1,113 @@ +from spm._runtime import Runtime + + +def icp(*args, **kwargs): + r""" + Perform the Iterative Closest Point algorithm on three dimensional point + clouds. + + [TR, TT] = icp(q,p) returns the rotation matrix TR and translation + vector TT that minimizes the distances from (TR * p + TT) to q. + p is a 3xm matrix and q is a 3xn matrix. + + [TR, TT] = icp(q,p,k) forces the algorithm to make k iterations + exactly. The default is 10 iterations. + + [TR, TT, ER] = icp(q,p,k) also returns the RMS of errors for k + iterations in a (k+1)x1 vector. ER(0) is the initial error. + + [TR, TT, ER, t] = icp(q,p,k) also returns the calculation times per + iteration in a (k+1)x1 vector. t(0) is the time consumed for preprocessing. + + [TR, TT, ER, t, info] = icp(q,p,k) also returns a structure info, that + contains some diagnostic information. This functionality has been added + by Jan-Mathijs Schoffelen, October 2013, containing the indices to the + matching points of the point clouds, as well as the initial positions + and the positions after the coregistration. + + Additional settings may be provided in a parameter list: + + Boundary + {[]} | 1x? vector + If EdgeRejection is set, a vector can be provided that indexes into + q and specifies which points of q are on the boundary. + + EdgeRejection + {false} | true + If EdgeRejection is true, point matches to edge vertices of q are + ignored. Requires that boundary points of q are specified using + Boundary or that a triangulation matrix for q is provided. + + Extrapolation + {false} | true + If Extrapolation is true, the iteration direction will be evaluated + and extrapolated if possible using the method outlined by + Besl and McKay 1992. + + Matching + {bruteForce} | Delaunay | kDtree + Specifies how point matching should be done. + bruteForce is usually the slowest and kDtree is the fastest. + Note that the kDtree option is depends on the Statistics Toolbox + v. 7.3 or higher. + + Minimize + {point} | plane | lmaPoint + Defines whether point to point or point to plane minimization + should be performed. point is based on the SVD approach and is + usually the fastest. plane will often yield higher accuracy. It + uses linearized angles and requires surface normals for all points + in q. Calculation of surface normals requires substantial pre + proccessing. + The option lmaPoint does point to point minimization using the non + linear least squares Levenberg Marquardt algorithm. Results are + generally the same as in points, but computation time may differ. + + Normals + {[]} | n x 3 matrix + A matrix of normals for the n points in q might be provided. + Normals of q are used for point to plane minimization. + Else normals will be found through a PCA of the 4 nearest + neighbors. + + ReturnAll + {false} | true + Determines whether R and T should be returned for all iterations + or only for the last one. If this option is set to true, R will be + a 3x3x(k+1) matrix and T will be a 3x1x(k+1) matrix. + + Triangulation + {[]} | ? x 3 matrix + A triangulation matrix for the points in q can be provided, + enabling EdgeRejection. The elements should index into q, defining + point triples that act together as triangles. + + Verbose + {false} | true + Enables extrapolation output in the Command Window. + + Weight + {@(match)ones(1,m)} | Function handle + For point or plane minimization, a function handle to a weighting + function can be provided. The weighting function will be called + with one argument, a 1xm vector that specifies point pairs by + indexing into q. The weighting function should return a 1xm vector + of weights for every point pair. + + WorstRejection + {0} | scalar in ]0; 1[ + Reject a given percentage of the worst point pairs, based on their + Euclidean distance. + + Martin Kjer and Jakob Wilm, Technical University of Denmark, 2012 + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/external/fileexchange/icp.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("icp", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__external/__fileexchange/keep.py b/spm/__external/__fieldtrip/__external/__fileexchange/keep.py new file mode 100644 index 00000000..c0396f4a --- /dev/null +++ b/spm/__external/__fieldtrip/__external/__fileexchange/keep.py @@ -0,0 +1,28 @@ +from spm._runtime import Runtime + + +def keep(*args, **kwargs): + r""" + KEEP clears all the variables in the workspace except the ones you specify + after the keep command. It works just like clear, but only for variables + + KEEP is a modified version of the KEEP M-file written by + Xiaoning (David) Yang (1998). It allows the use of the wildcard * as in the + clear command + + Examples: + keep set1data set2data set3data + keep *data + + Martin Barugel (mbarugel@utdt.edu) + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/external/fileexchange/keep.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("keep", *args, **kwargs, nargout=0) diff --git a/spm/__external/__fieldtrip/__external/__fileexchange/pan_tompkin.py b/spm/__external/__fieldtrip/__external/__fileexchange/pan_tompkin.py new file mode 100644 index 00000000..00cde227 --- /dev/null +++ b/spm/__external/__fieldtrip/__external/__fileexchange/pan_tompkin.py @@ -0,0 +1,18 @@ +from spm._runtime import Runtime + + +def pan_tompkin(*args, **kwargs): + r""" + function [qrs_amp_raw,qrs_i_raw,delay]=pan_tompkin(ecg,fs) + Complete implementation of Pan-Tompkins algorithm + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/external/fileexchange/pan_tompkin.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("pan_tompkin", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__external/__fileexchange/stlwrite.py b/spm/__external/__fieldtrip/__external/__fileexchange/stlwrite.py new file mode 100644 index 00000000..3d8ea2c0 --- /dev/null +++ b/spm/__external/__fieldtrip/__external/__fileexchange/stlwrite.py @@ -0,0 +1,74 @@ +from spm._runtime import Runtime + + +def stlwrite(*args, **kwargs): + r""" + STLWRITE Write STL file from patch or surface data. + + STLWRITE(FILE, FV) writes a stereolithography (STL) file to FILE for a + triangulated patch defined by FV (a structure with fields 'vertices' + and 'faces'). + + STLWRITE(FILE, FACES, VERTICES) takes faces and vertices separately, + rather than in an FV struct + + STLWRITE(FILE, X, Y, Z) creates an STL file from surface data in X, Y, + and Z. STLWRITE triangulates this gridded data into a triangulated + surface using triangulation options specified below. X, Y and Z can be + two-dimensional arrays with the same size. If X and Y are vectors with + length equal to SIZE(Z,2) and SIZE(Z,1), respectively, they are passed + through MESHGRID to create gridded data. If X or Y are scalar values, + they are used to specify the X and Y spacing between grid points. + + STLWRITE(...,'PropertyName',VALUE,'PropertyName',VALUE,...) writes an + STL file using the following property values: + + MODE - File is written using 'binary' (default) or 'ascii'. + + TITLE - Header text (max 80 chars) written to the STL file. + + TRIANGULATION - When used with gridded data, TRIANGULATION is either: + 'delaunay' - (default) Delaunay triangulation of X, Y + 'f' - Forward slash division of grid quads + 'b' - Back slash division of quadrilaterals + 'x' - Cross division of quadrilaterals + Note that 'f', 'b', or 't' triangulations now use an + inbuilt version of FEX entry 28327, "mesh2tri". + + FACECOLOR - Single colour (1-by-3) or one-colour-per-face (N-by-3) + vector of RGB colours, for face/vertex input. RGB range + is 5 bits (0:31), stored in VisCAM/SolidView format + (http://en.wikipedia.org/wiki/STL_(file_format)#Color_in_binary_STL) + + Example 1: + % Write binary STL from face/vertex data + tmpvol = false(20,20,20); % Empty voxel volume + tmpvol(8:12,8:12,5:15) = 1; % Turn some voxels on + fv = isosurface(~tmpvol, 0.5); % Make patch w. faces "out" + stlwrite('test.stl',fv) % Save to binary .stl + + Example 2: + % Write ascii STL from gridded data + [X,Y] = deal(1:40); % Create grid reference + Z = peaks(40); % Create grid height + stlwrite('test.stl',X,Y,Z,'mode','ascii') + + Example 3: + % Write binary STL with coloured faces + cVals = fv.vertices(fv.faces(:,1),3); % Colour by Z height. + cLims = [min(cVals) max(cVals)]; % Transform height values + nCols = 255; cMap = jet(nCols); % onto an 8-bit colour map + fColsDbl = interp1(linspace(cLims(1),cLims(2),nCols),cMap,cVals); + fCols8bit = fColsDbl*255; % Pass cols in 8bit (0-255) RGB triplets + stlwrite('testCol.stl',fv,'FaceColor',fCols8bit) + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/external/fileexchange/stlwrite.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("stlwrite", *args, **kwargs, nargout=0) diff --git a/spm/__external/__fieldtrip/__external/__fileexchange/subtightplot.py b/spm/__external/__fieldtrip/__external/__fileexchange/subtightplot.py new file mode 100644 index 00000000..a363be52 --- /dev/null +++ b/spm/__external/__fieldtrip/__external/__fileexchange/subtightplot.py @@ -0,0 +1,37 @@ +from spm._runtime import Runtime + + +def subtightplot(*args, **kwargs): + r""" + function h=subtightplot(m,n,p,gap,marg_h,marg_w,varargin) + + Functional purpose: A wrapper function for Matlab function subplot. Adds the ability to define the gap between + neighbouring subplots. Unfotrtunately Matlab subplot function lacks this functionality, and the gap between + subplots can reach 40% of figure area, which is pretty lavish. + + Input arguments (defaults exist): + gap- two elements vector [vertical,horizontal] defining the gap between neighbouring axes. Default value + is 0.01. Note this vale will cause titles legends and labels to collide with the subplots, while presenting + relatively large axis. + marg_h margins in height in normalized units (0...1) + or [lower uppper] for different lower and upper margins + marg_w margins in width in normalized units (0...1) + or [left right] for different left and right margins + + Output arguments: same as subplot- none, or axes handle according to function call. + + Issues & Comments: Note that if additional elements are used in order to be passed to subplot, gap parameter must + be defined. For default gap value use empty element- []. + + Usage example: h=subtightplot((2,3,1:2,[0.5,0.2]) + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/external/fileexchange/subtightplot.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("subtightplot", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__external/__fileexchange/uimage.py b/spm/__external/__fieldtrip/__external/__fileexchange/uimage.py index 31496f5e..ee4c37da 100644 --- a/spm/__external/__fieldtrip/__external/__fileexchange/uimage.py +++ b/spm/__external/__fieldtrip/__external/__fileexchange/uimage.py @@ -2,7 +2,7 @@ def uimage(*args, **kwargs): - """ + r""" UIMAGE Display image with uneven axis. UIMAGE(X,Y,C) displays matrix C as an image, using the vectors X and Y to specify the X and Y coordinates. X and Y may be unevenly spaced @@ -45,9 +45,12 @@ def uimage(*args, **kwargs): This function is downloaded on Oct 24th 2008 from www.mathworks.com/matlabcentral/fileexchange/11368 - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/external/fileexchange/uimage.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/external/fileexchange/uimage.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("uimage", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__external/__fileexchange/uimagesc.py b/spm/__external/__fieldtrip/__external/__fileexchange/uimagesc.py index 904d5da8..1941c3ee 100644 --- a/spm/__external/__fieldtrip/__external/__fileexchange/uimagesc.py +++ b/spm/__external/__fieldtrip/__external/__fileexchange/uimagesc.py @@ -2,7 +2,7 @@ def uimagesc(*args, **kwargs): - """ + r""" UIMAGESC Display scaled image with uneven axis. UIMAGESC(...) is the same as UIMAGE(...) except the data is scaled to use the full colormap. See UIMAGE for details. @@ -18,9 +18,12 @@ def uimagesc(*args, **kwargs): This function is downloaded on Oct 24th 2008 from www.mathworks.com/matlabcentral/fileexchange/11368 - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/external/fileexchange/uimagesc.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/external/fileexchange/uimagesc.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("uimagesc", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__external/__fileexchange/vtkwrite.py b/spm/__external/__fieldtrip/__external/__fileexchange/vtkwrite.py new file mode 100644 index 00000000..33fef579 --- /dev/null +++ b/spm/__external/__fieldtrip/__external/__fileexchange/vtkwrite.py @@ -0,0 +1,77 @@ +from spm._runtime import Runtime + + +def vtkwrite(*args, **kwargs): + r""" + VTKWRITE Writes 3D Matlab array into VTK file format. + vtkwrite(filename,'structured_grid',x,y,z,'vectors',title,u,v,w) writes + a structured 3D vector data into VTK file, with name specified by the string + filename. (u,v,w) are the vector components at the points (x,y,z). x,y,z + should be 3-D matrices like those generated by meshgrid, where + point(ijk) is specified by x(i,j,k), y(i,j,k) and z(i,j,k). + The matrices x,y,z,u,v,w must all be the same size and contain + corrresponding position and vector component. The string title specifies + the name of the vector field to be saved. + + vtkwrite(filename,'structured_grid',x,y,z,'scalars',title,r) writes a 3D + scalar data into VTK file whose name is specified by the string + filename. r is the scalar value at the points (x,y,z). The matrices + x,y,z,r must all be the same size and contain the corresponding position + and scalar values. + + vtkwrite(filename,'structured_grid',x,y,z,'vectors',title,u,v,w,'scalars', + title2,r) writes a 3D structured grid that contains both vector and scalar values. + x,y,z,u,v,w,r must all be the same size and contain the corresponding + positon, vector and scalar values. + + vtkwrite(filename, 'structured_points', title, m) saves matrix m (could + be 1D, 2D or 3D array) into vtk as structured points. + + vtkwrite(filename, 'structured_points', title, m, 'spacing', sx, sy, sz) + allows user to specify spacing. (default: 1, 1, 1). This is the aspect + ratio of a single voxel. + + vtkwrite(filename, 'structured_points', title, m, 'origin', ox, oy, oz) + allows user to speicify origin of dataset. (default: 0, 0, 0). + + vtkwrite(filename,'unstructured_grid',x,y,z,'vectors',title,u,v,w,'scalars', + title2,r) writes a 3D unstructured grid that contains both vector and scalar values. + x,y,z,u,v,w,r must all be the same size and contain the corresponding + positon, vector and scalar values. + + vtkwrite(filename, 'polydata', 'lines', x, y, z) exports a 3D line where + x,y,z are coordinates of the points that make the line. x, y, z are + vectors containing the coordinates of points of the line, where point(n) + is specified by x(n), y(n) and z(n). + + vtkwrite(filename,'polydata','lines',x,y,z,'Precision',n) allows you to + specify precision of the exported number up to n digits after decimal + point. Default precision is 3 digits. + + vtkwrite(filename,'polydata','triangle',x,y,z,tri) exports a list of + triangles where x,y,z are the coordinates of the points and tri is an + m*3 matrix whose rows denote the points of the individual triangles. + + vtkwrite(filename,'polydata','tetrahedron',x,y,z,tetra) exports a list + of tetrahedrons where x,y,z are the coordinates of the points + and tetra is an m*4 matrix whose rows denote the points of individual + tetrahedrons. + + vtkwrite('execute','polydata','lines',x,y,z) will save data with default + filename ''matlab_export.vtk' and automatically loads data into + ParaView. + + Version 2.3 + Copyright, Chaoyuan Yeh, 2016 + Codes are modified from William Thielicke and David Gingras's submission. + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/external/fileexchange/vtkwrite.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("vtkwrite", *args, **kwargs, nargout=0) diff --git a/spm/__external/__fieldtrip/__external/__images/rgb2hsv.py b/spm/__external/__fieldtrip/__external/__images/rgb2hsv.py index 6eec55ce..ed496ff1 100644 --- a/spm/__external/__fieldtrip/__external/__images/rgb2hsv.py +++ b/spm/__external/__fieldtrip/__external/__images/rgb2hsv.py @@ -2,16 +2,19 @@ def rgb2hsv(*args, **kwargs): - """ + r""" RGB2HSV converts red-green-blue colors to hue-saturation-value. this code is based on the comments in http://stackoverflow.com/questions/3018313/algorithm-to-convert-rgb-to-hsv-and-hsv-to-rgb-in-range-0-255-for-both - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/external/images/rgb2hsv.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/external/images/rgb2hsv.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("rgb2hsv", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__external/__init__.py b/spm/__external/__fieldtrip/__external/__init__.py index 96daa4cd..716f967a 100644 --- a/spm/__external/__fieldtrip/__external/__init__.py +++ b/spm/__external/__fieldtrip/__external/__init__.py @@ -1,12 +1,29 @@ +from .__bvrf_reader import ( + eeg_loadbvrf, + loadbvrf +) from .__fileexchange import ( + CalcMD5, + DataHash, + arrow, + base64decode, + base64encode, + icp, + keep, + pan_tompkin, + stlwrite, + subtightplot, uimage, - uimagesc + uimagesc, + vtkwrite ) from .__images import ( rgb2hsv ) from .__signal import ( boxcar, + dpss, + precompute_dpss, flattopwin, hanning, hilbert @@ -14,29 +31,50 @@ from .__stats import ( binocdf, binopdf, - common_size, + knnsearch, + kurtosis, mvnrnd, nanvar, + pdist2, range_, + skewness, tcdf, tinv ) __all__ = [ + "eeg_loadbvrf", + "loadbvrf", + "CalcMD5", + "DataHash", + "arrow", + "base64decode", + "base64encode", + "icp", + "keep", + "pan_tompkin", + "stlwrite", + "subtightplot", "uimage", "uimagesc", + "vtkwrite", "rgb2hsv", "boxcar", + "dpss", + "precompute_dpss", "flattopwin", "hanning", "hilbert", "binocdf", "binopdf", - "common_size", + "knnsearch", + "kurtosis", "mvnrnd", "nanvar", + "pdist2", "range_", + "skewness", "tcdf", "tinv" ] diff --git a/spm/__external/__fieldtrip/__external/__signal/__dpss_hack/__init__.py b/spm/__external/__fieldtrip/__external/__signal/__dpss_hack/__init__.py new file mode 100644 index 00000000..e838c928 --- /dev/null +++ b/spm/__external/__fieldtrip/__external/__signal/__dpss_hack/__init__.py @@ -0,0 +1,8 @@ +from .dpss import dpss +from .precompute_dpss import precompute_dpss + + +__all__ = [ + "dpss", + "precompute_dpss" +] diff --git a/spm/__external/__fieldtrip/__external/__signal/__dpss_hack/dpss.py b/spm/__external/__fieldtrip/__external/__signal/__dpss_hack/dpss.py new file mode 100644 index 00000000..30fa709f --- /dev/null +++ b/spm/__external/__fieldtrip/__external/__signal/__dpss_hack/dpss.py @@ -0,0 +1,18 @@ +from spm._runtime import Runtime + + +def dpss(*args, **kwargs): + r""" + DPSS approximate the discrete prolate spheroidal (DPSS), or Slepian sequences + using a precomputed version on disk + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/external/signal/dpss_hack/dpss.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("dpss", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__external/__signal/__dpss_hack/precompute_dpss.py b/spm/__external/__fieldtrip/__external/__signal/__dpss_hack/precompute_dpss.py new file mode 100644 index 00000000..f0a9e31e --- /dev/null +++ b/spm/__external/__fieldtrip/__external/__signal/__dpss_hack/precompute_dpss.py @@ -0,0 +1,17 @@ +from spm._runtime import Runtime + + +def precompute_dpss(*args, **kwargs): + r""" + assume 1 second and 1000 Hz sampling rate + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/external/signal/dpss_hack/precompute_dpss.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("precompute_dpss", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__external/__signal/__init__.py b/spm/__external/__fieldtrip/__external/__signal/__init__.py index 191de155..70ef74b9 100644 --- a/spm/__external/__fieldtrip/__external/__signal/__init__.py +++ b/spm/__external/__fieldtrip/__external/__signal/__init__.py @@ -1,4 +1,8 @@ from .boxcar import boxcar +from .__dpss_hack import ( + dpss, + precompute_dpss +) from .flattopwin import flattopwin from .hanning import hanning from .hilbert import hilbert @@ -6,6 +10,8 @@ __all__ = [ "boxcar", + "dpss", + "precompute_dpss", "flattopwin", "hanning", "hilbert" diff --git a/spm/__external/__fieldtrip/__external/__signal/boxcar.py b/spm/__external/__fieldtrip/__external/__signal/boxcar.py index e87c8d78..b12325ab 100644 --- a/spm/__external/__fieldtrip/__external/__signal/boxcar.py +++ b/spm/__external/__fieldtrip/__external/__signal/boxcar.py @@ -2,16 +2,19 @@ def boxcar(*args, **kwargs): - """ + r""" BOXCAR returns a boxcar taper Use as w = boxcar(n) - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/external/signal/boxcar.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/external/signal/boxcar.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("boxcar", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__external/__signal/flattopwin.py b/spm/__external/__fieldtrip/__external/__signal/flattopwin.py index d4c0eff8..d940962f 100644 --- a/spm/__external/__fieldtrip/__external/__signal/flattopwin.py +++ b/spm/__external/__fieldtrip/__external/__signal/flattopwin.py @@ -2,7 +2,7 @@ def flattopwin(*args, **kwargs): - """ + r""" Author: Paul Kienzle (2004) This program is granted to the public domain. @@ -29,9 +29,12 @@ def flattopwin(*args, **kwargs): analysis (Part I)', Bruel & Kjaer Technical Review No.3. - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/external/signal/flattopwin.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/external/signal/flattopwin.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("flattopwin", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__external/__signal/hanning.py b/spm/__external/__fieldtrip/__external/__signal/hanning.py index df67f823..77e3a0ce 100644 --- a/spm/__external/__fieldtrip/__external/__signal/hanning.py +++ b/spm/__external/__fieldtrip/__external/__signal/hanning.py @@ -2,7 +2,7 @@ def hanning(*args, **kwargs): - """ + r""" HANNING Hanning window. HANNING(N) returns the N-point symmetric Hanning window in a column vector. Note that the first and last zero-weighted window samples @@ -22,9 +22,12 @@ def hanning(*args, **kwargs): This is a drop-in replacement to bypass the signal processing toolbox - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/external/signal/hanning.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/external/signal/hanning.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("hanning", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__external/__signal/hilbert.py b/spm/__external/__fieldtrip/__external/__signal/hilbert.py index 8ab9f871..6d58cf28 100644 --- a/spm/__external/__fieldtrip/__external/__signal/hilbert.py +++ b/spm/__external/__fieldtrip/__external/__signal/hilbert.py @@ -2,7 +2,7 @@ def hilbert(*args, **kwargs): - """ + r""" Computes analytic signal FORMAT [x] = hilbert(xr) @@ -12,9 +12,12 @@ def hilbert(*args, **kwargs): Copyright (C) 2009 Wellcome Trust Centre for Neuroimaging - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/external/signal/hilbert.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/external/signal/hilbert.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("hilbert", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__external/__stats/__init__.py b/spm/__external/__fieldtrip/__external/__stats/__init__.py index 23a3be25..2ca0dc68 100644 --- a/spm/__external/__fieldtrip/__external/__stats/__init__.py +++ b/spm/__external/__fieldtrip/__external/__stats/__init__.py @@ -1,9 +1,12 @@ from .binocdf import binocdf from .binopdf import binopdf -from .common_size import common_size +from .knnsearch import knnsearch +from .kurtosis import kurtosis from .mvnrnd import mvnrnd from .nanvar import nanvar +from .pdist2 import pdist2 from .range_ import range_ +from .skewness import skewness from .tcdf import tcdf from .tinv import tinv @@ -11,10 +14,13 @@ __all__ = [ "binocdf", "binopdf", - "common_size", + "knnsearch", + "kurtosis", "mvnrnd", "nanvar", + "pdist2", "range_", + "skewness", "tcdf", "tinv" ] diff --git a/spm/__external/__fieldtrip/__external/__stats/_common_size.py b/spm/__external/__fieldtrip/__external/__stats/_common_size.py new file mode 100644 index 00000000..12247e90 --- /dev/null +++ b/spm/__external/__fieldtrip/__external/__stats/_common_size.py @@ -0,0 +1,18 @@ +from spm._runtime import Runtime + + +def _common_size(*args, **kwargs): + r""" + common_size is a function. + [errorcode, varargout] = common_size(varargin) + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/external/stats/private/common_size.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("common_size", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__external/__stats/_iscomplex.py b/spm/__external/__fieldtrip/__external/__stats/_iscomplex.py index 24230189..2fab2f07 100644 --- a/spm/__external/__fieldtrip/__external/__stats/_iscomplex.py +++ b/spm/__external/__fieldtrip/__external/__stats/_iscomplex.py @@ -2,14 +2,17 @@ def _iscomplex(*args, **kwargs): - """ + r""" iscomplex is a function. a = iscomplex(X) - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/external/stats/private/iscomplex.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/external/stats/private/iscomplex.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("iscomplex", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__external/__stats/_size_equal.py b/spm/__external/__fieldtrip/__external/__stats/_size_equal.py index 6389fdf7..de877fe4 100644 --- a/spm/__external/__fieldtrip/__external/__stats/_size_equal.py +++ b/spm/__external/__fieldtrip/__external/__stats/_size_equal.py @@ -2,13 +2,16 @@ def _size_equal(*args, **kwargs): - """ + r""" returns true if all input arguments are equal to each other - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/external/stats/private/size_equal.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/external/stats/private/size_equal.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("size_equal", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__external/__stats/binocdf.py b/spm/__external/__fieldtrip/__external/__stats/binocdf.py index f2a15654..e8dfcfeb 100644 --- a/spm/__external/__fieldtrip/__external/__stats/binocdf.py +++ b/spm/__external/__fieldtrip/__external/__stats/binocdf.py @@ -2,7 +2,7 @@ def binocdf(*args, **kwargs): - """ + r""" BINOCDF binomial cumulative distribution function Y=BINOCDF(X,N,P) returns the binomial cumulative distribution @@ -11,9 +11,12 @@ def binocdf(*args, **kwargs): See also BINOPDF and STATS (Matlab statistics toolbox) - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/external/stats/binocdf.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/external/stats/binocdf.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("binocdf", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__external/__stats/binopdf.py b/spm/__external/__fieldtrip/__external/__stats/binopdf.py index 1791734f..d73a1599 100644 --- a/spm/__external/__fieldtrip/__external/__stats/binopdf.py +++ b/spm/__external/__fieldtrip/__external/__stats/binopdf.py @@ -2,7 +2,7 @@ def binopdf(*args, **kwargs): - """ + r""" BINOPDF binomial probability density function Y = BINOPDF(X,N,P) returns the binomial probability density @@ -11,9 +11,12 @@ def binopdf(*args, **kwargs): See also BINOCDF and STATS (Matlab statistics toolbox) - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/external/stats/binopdf.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/external/stats/binopdf.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("binopdf", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__external/__stats/knnsearch.py b/spm/__external/__fieldtrip/__external/__stats/knnsearch.py new file mode 100644 index 00000000..a1002392 --- /dev/null +++ b/spm/__external/__fieldtrip/__external/__stats/knnsearch.py @@ -0,0 +1,53 @@ +from spm._runtime import Runtime + + +def knnsearch(*args, **kwargs): + r""" + KNNSEARCH finds the nearest neighbor in X for each point in Y. + + This function serves as a drop-in replacement for the knnsearch function in the + stats toolbox. + + Use as +  indx = knnsearch(p1, p2) + where p1 and p2 are Nx3 and Mx3 matrices with vertices in 3D space. This returns a + Mx1 vector with indices that point into x. + + the idea is that the distance between 2 points is: + + sqrt(sum((p1(x,y,z)-p2(x,y,z)).^2) + + since we are dealing with relative distances, we can get rid of the sqrt: + so we need to compute: + + sum((p1(x,y,z)-p2(x,y,z)).^2) + + this is the same as: + + (p1x-p2x)^2 + (p1y-p2y)^2 + (p1z-p2z)^2 + + or, equivalently: + + p1x^2 + p2x^2 - 2*p1x*p2x+ ... + + reordering: + + (p1x^2 + p1y^2 + p1z^2) + cross-terms + (p2x^2 + p2y^2 + p2z^2) + + the last term between brackets is the same for each position-of-interest: + so it does not change the relative distance, and the first term between + brackets only needs to be computed once (below denoted as the 'offset' + variable. + + See also DIST, DSEARCHN + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/external/stats/knnsearch.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("knnsearch", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__external/__stats/kurtosis.py b/spm/__external/__fieldtrip/__external/__stats/kurtosis.py new file mode 100644 index 00000000..c309c492 --- /dev/null +++ b/spm/__external/__fieldtrip/__external/__stats/kurtosis.py @@ -0,0 +1,19 @@ +from spm._runtime import Runtime + + +def kurtosis(*args, **kwargs): + r""" + K = KURTOSIS(X, FLAG, DIM) computes the kurtosis of the values in X along the + dimention DIM. FLAG determines whether the bias is corrected. (0: bias + is corrected, 1: bias is not corrected (default)). + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/external/stats/kurtosis.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("kurtosis", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__external/__stats/mvnrnd.py b/spm/__external/__fieldtrip/__external/__stats/mvnrnd.py index 29435409..86d6af06 100644 --- a/spm/__external/__fieldtrip/__external/__stats/mvnrnd.py +++ b/spm/__external/__fieldtrip/__external/__stats/mvnrnd.py @@ -2,7 +2,7 @@ def mvnrnd(*args, **kwargs): - """ + r""" MVNRND Random vectors from the multivariate normal distribution. This is an open source version that emulates a subpart of the behavior of the same name function from the MATLAB stats-toolbox. @@ -23,9 +23,12 @@ def mvnrnd(*args, **kwargs): replicates it to match the trailing dimension of SIGMA. - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/external/stats/mvnrnd.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/external/stats/mvnrnd.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("mvnrnd", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__external/__stats/nanvar.py b/spm/__external/__fieldtrip/__external/__stats/nanvar.py index 9d8ec80c..b4ccb133 100644 --- a/spm/__external/__fieldtrip/__external/__stats/nanvar.py +++ b/spm/__external/__fieldtrip/__external/__stats/nanvar.py @@ -2,7 +2,7 @@ def nanvar(*args, **kwargs): - """ + r""" FORMAT: Y = NANVAR(X,FLAG,DIM) This file is intended as a drop-in replacement for Matlab's nanvar. It @@ -11,9 +11,12 @@ def nanvar(*args, **kwargs): and was modified to be compatible. - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/external/stats/nanvar.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/external/stats/nanvar.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("nanvar", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__external/__stats/pdist2.py b/spm/__external/__fieldtrip/__external/__stats/pdist2.py new file mode 100644 index 00000000..2b1347b4 --- /dev/null +++ b/spm/__external/__fieldtrip/__external/__stats/pdist2.py @@ -0,0 +1,22 @@ +from spm._runtime import Runtime + + +def pdist2(*args, **kwargs): + r""" + PDIST2 computes the distance between all points in input matrix X and Y. + + Use as + d = pdist(x, y) + + The output is a matrix with size MX x MY. + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/external/stats/pdist2.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("pdist2", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__external/__stats/range_.py b/spm/__external/__fieldtrip/__external/__stats/range_.py index 2fb925f2..2e70b0f3 100644 --- a/spm/__external/__fieldtrip/__external/__stats/range_.py +++ b/spm/__external/__fieldtrip/__external/__stats/range_.py @@ -2,7 +2,7 @@ def range_(*args, **kwargs): - """ + r""" RANGE computes the range (i.e. difference between min and max) for a vector or an N-dimensional array. @@ -12,9 +12,12 @@ def range_(*args, **kwargs): r = range(x, dim) - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/external/stats/range.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/external/stats/range.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("range", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__external/__stats/skewness.py b/spm/__external/__fieldtrip/__external/__stats/skewness.py new file mode 100644 index 00000000..c2d1cd0c --- /dev/null +++ b/spm/__external/__fieldtrip/__external/__stats/skewness.py @@ -0,0 +1,19 @@ +from spm._runtime import Runtime + + +def skewness(*args, **kwargs): + r""" + S = SKEWNESS(X, FLAG, DIM) computes the skewness of the values in X along the + dimention DIM. FLAG determines whether the bias is corrected. (0: bias + is corrected, 1: bias is not corrected (default)). + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/external/stats/skewness.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("skewness", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__external/__stats/tcdf.py b/spm/__external/__fieldtrip/__external/__stats/tcdf.py index 4972a67b..2a172bf6 100644 --- a/spm/__external/__fieldtrip/__external/__stats/tcdf.py +++ b/spm/__external/__fieldtrip/__external/__stats/tcdf.py @@ -2,7 +2,7 @@ def tcdf(*args, **kwargs): - """ + r""" TCDF Student's T cumulative distribution function (cdf). P = TCDF(X,V) computes the cdf for Student's T distribution @@ -31,9 +31,12 @@ def tcdf(*args, **kwargs): 13 Jan 2016, Robert Oostenveld - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/external/stats/tcdf.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/external/stats/tcdf.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("tcdf", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__external/__stats/tinv.py b/spm/__external/__fieldtrip/__external/__stats/tinv.py index 0daad065..7e5a78e4 100644 --- a/spm/__external/__fieldtrip/__external/__stats/tinv.py +++ b/spm/__external/__fieldtrip/__external/__stats/tinv.py @@ -2,7 +2,7 @@ def tinv(*args, **kwargs): - """ + r""" TINV Inverse of Student's T cumulative distribution function (cdf). X=TINV(P,V) returns the inverse of Student's T cdf with V degrees of freedom, at the values in P. @@ -14,9 +14,12 @@ def tinv(*args, **kwargs): open source subfunctions found on the web. - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/external/stats/tinv.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/external/stats/tinv.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("tinv", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_ReadHeader.py b/spm/__external/__fieldtrip/__fileio/_ReadHeader.py index be2062df..dabb06b9 100644 --- a/spm/__external/__fieldtrip/__fileio/_ReadHeader.py +++ b/spm/__external/__fieldtrip/__fileio/_ReadHeader.py @@ -2,7 +2,7 @@ def _ReadHeader(*args, **kwargs): - """ + r""" H = ReadHeader(fp) Reads NSMA header, leaves file-read-location at end of header @@ -10,9 +10,12 @@ def _ReadHeader(*args, **kwargs): INPUT: - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/ReadHeader.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/ReadHeader.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ReadHeader", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_add_mex_source.py b/spm/__external/__fieldtrip/__fileio/_add_mex_source.py index ae9f07a6..b2baccaf 100644 --- a/spm/__external/__fieldtrip/__fileio/_add_mex_source.py +++ b/spm/__external/__fieldtrip/__fileio/_add_mex_source.py @@ -2,7 +2,7 @@ def _add_mex_source(*args, **kwargs): - """ + r""" function L = add_mex_source(L, directory, relName, matchPlatform, excludePlatform, extras) Input + output argument L is a structure array of directory names, source file names, @@ -23,9 +23,12 @@ def _add_mex_source(*args, **kwargs): extra arguments to the MEX command, e.g. additional source files - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/add_mex_source.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/add_mex_source.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("add_mex_source", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_ama2headmodel.py b/spm/__external/__fieldtrip/__fileio/_ama2headmodel.py index eaf9b825..7e559eff 100644 --- a/spm/__external/__fieldtrip/__fileio/_ama2headmodel.py +++ b/spm/__external/__fieldtrip/__fileio/_ama2headmodel.py @@ -2,7 +2,7 @@ def _ama2headmodel(*args, **kwargs): - """ + r""" AMA2HEADMODEL converts a dipoli structure with boundary geometries and a boundary element method transfer matrix to a volume conduction model. @@ -11,9 +11,12 @@ def _ama2headmodel(*args, **kwargs): headmodel = ama2headmodel(ama) - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/ama2headmodel.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/ama2headmodel.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ama2headmodel", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_appendstruct.py b/spm/__external/__fieldtrip/__fileio/_appendstruct.py index add0e1e2..e717b2b7 100644 --- a/spm/__external/__fieldtrip/__fileio/_appendstruct.py +++ b/spm/__external/__fieldtrip/__fileio/_appendstruct.py @@ -2,7 +2,7 @@ def _appendstruct(*args, **kwargs): - """ + r""" APPENDSTRUCT appends a structure or a struct-array to another structure or struct-array. It also works if the initial structure is an empty structure or an empty double array. It also works if the input structures have different fields. @@ -13,9 +13,12 @@ def _appendstruct(*args, **kwargs): See also PRINTSTRUCT, MERGESTRUCT, COPYFIELDS, KEEPFIELDS, REMOVEFIELDS - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/appendstruct.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/appendstruct.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("appendstruct", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_avw_hdr_make.py b/spm/__external/__fieldtrip/__fileio/_avw_hdr_make.py index f90fdd73..8f79e44f 100644 --- a/spm/__external/__fieldtrip/__fileio/_avw_hdr_make.py +++ b/spm/__external/__fieldtrip/__fileio/_avw_hdr_make.py @@ -2,7 +2,7 @@ def _avw_hdr_make(*args, **kwargs): - """ + r""" AVW_HDR_MAKE - Create Analyze format data header (avw.hdr) [ avw ] = avw_hdr_make @@ -16,9 +16,12 @@ def _avw_hdr_make(*args, **kwargs): AVW_IMG_READ AVW_IMG_WRITE - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/avw_hdr_make.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/avw_hdr_make.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("avw_hdr_make", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_avw_hdr_read.py b/spm/__external/__fieldtrip/__fileio/_avw_hdr_read.py index 3e9c9c30..0536740a 100644 --- a/spm/__external/__fieldtrip/__fileio/_avw_hdr_read.py +++ b/spm/__external/__fieldtrip/__fileio/_avw_hdr_read.py @@ -2,7 +2,7 @@ def _avw_hdr_read(*args, **kwargs): - """ + r""" avw_hdr_read - read Analyze format data header (*.hdr) [ avw, machine ] = avw_hdr_read(fileprefix, [machine], [verbose]) @@ -31,9 +31,12 @@ def _avw_hdr_read(*args, **kwargs): See also avw_hdr_write, avw_hdr_make, avw_view_hdr, avw_view - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/avw_hdr_read.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/avw_hdr_read.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("avw_hdr_read", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_avw_img_read.py b/spm/__external/__fieldtrip/__fileio/_avw_img_read.py index 0add95f0..e90bec9f 100644 --- a/spm/__external/__fieldtrip/__fileio/_avw_img_read.py +++ b/spm/__external/__fieldtrip/__fileio/_avw_img_read.py @@ -2,7 +2,7 @@ def _avw_img_read(*args, **kwargs): - """ + r""" avw_img_read - read Analyze format data image (*.img) [ avw, machine ] = avw_img_read(fileprefix,[orient],[machine],[verbose]) @@ -62,9 +62,12 @@ def _avw_img_read(*args, **kwargs): avw_view, avw_write, avw_img_write, avw_flip - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/avw_img_read.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/avw_img_read.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("avw_img_read", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_avw_img_write.py b/spm/__external/__fieldtrip/__fileio/_avw_img_write.py index 2af6afcd..772e54a5 100644 --- a/spm/__external/__fieldtrip/__fileio/_avw_img_write.py +++ b/spm/__external/__fieldtrip/__fileio/_avw_img_write.py @@ -2,7 +2,7 @@ def _avw_img_write(*args, **kwargs): - """ + r""" avw_img_write - write Analyze image files (*.img) avw_img_write(avw,fileprefix,[IMGorient],[machine],[verbose]) @@ -55,9 +55,12 @@ def _avw_img_write(*args, **kwargs): avw_read, avw_hdr_read, avw_img_read, avw_view - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/avw_img_write.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/avw_img_write.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("avw_img_write", *args, **kwargs, nargout=0) diff --git a/spm/__external/__fieldtrip/__fileio/_bids_datafile.py b/spm/__external/__fieldtrip/__fileio/_bids_datafile.py index 9368722b..add2b806 100644 --- a/spm/__external/__fieldtrip/__fileio/_bids_datafile.py +++ b/spm/__external/__fieldtrip/__fileio/_bids_datafile.py @@ -2,7 +2,7 @@ def _bids_datafile(*args, **kwargs): - """ + r""" BIDS_DATAFILE will search for the data file, given one of the corresponding sidecar files Use as @@ -11,9 +11,12 @@ def _bids_datafile(*args, **kwargs): See also BIDS_SIDECAR, BIDS_TSV, EVENTS_TSV - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/bids_datafile.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/bids_datafile.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("bids_datafile", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_bids_sidecar.py b/spm/__external/__fieldtrip/__fileio/_bids_sidecar.py index 96df60ab..96b22e08 100644 --- a/spm/__external/__fieldtrip/__fileio/_bids_sidecar.py +++ b/spm/__external/__fieldtrip/__fileio/_bids_sidecar.py @@ -2,7 +2,7 @@ def _bids_sidecar(*args, **kwargs): - """ + r""" BIDS_SIDECAR will search for corresponding BIDS sidecar files that go together with a specific data file. This function respects the inheritance rules and will also search higher up in the directory structure. @@ -37,9 +37,12 @@ def _bids_sidecar(*args, **kwargs): See also BIDS_DATAFILE, BIDS_TSV, EVENTS_TSV, FT_READ_HEADER, FT_READ_EVENT - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/bids_sidecar.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/bids_sidecar.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("bids_sidecar", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_bids_tsv.py b/spm/__external/__fieldtrip/__fileio/_bids_tsv.py index db813cef..a3767d92 100644 --- a/spm/__external/__fieldtrip/__fileio/_bids_tsv.py +++ b/spm/__external/__fieldtrip/__fileio/_bids_tsv.py @@ -2,7 +2,7 @@ def _bids_tsv(*args, **kwargs): - """ + r""" BIDS_TSV reads time series data from a BIDS tsv and json file pair. This can for example be used to read the header and data from physio and stim files. @@ -18,12 +18,15 @@ def _bids_tsv(*args, **kwargs): See https://bids-specification.readthedocs.io/en/stable/04-modality-specific-files/06-physiological-and-other-continuous-recordings.html See also FT_FILETYPE, FT_READ_HEADER, FT_READ_DATA, FT_READ_EVENT - See also BIDS_TSV, BIOPAC_ACQ, BUCN_TXT, EEGSYNTH_TSV, EVENTS_TSV, LIBERTY_CSV, MAUS_TEXTGRID, MOTION_C3D, OPENBCI_TXT, OPENPOSE_KEYPOINTS, OPENSIGNALS_TXT, OPENVIBE_MAT, OPM_FIL, QUALISYS_TSV, SCCN_XDF, SENSYS_CSV, SNIRF, SPIKEGLX_BIN, UNICORN_CSV, XSENS_MVNX + See also BIDS_TSV, BIOPAC_ACQ, BUCN_TXT, EEGSYNTH_TSV, EVENTS_TSV, LIBERTY_CSV, MAUS_TEXTGRID, MOTION_C3D, OPENBCI_TXT, OPENPOSE_KEYPOINTS, OPENSIGNALS_TXT, OPENVIBE_MAT, OPM_FIL, QUALISYS_TSV, QUSPIN_LVM, SCCN_XDF, SENSYS_CSV, SNIRF, SPIKEGLX_BIN, UNICORN_CSV, XSENS_MVNX - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/bids_tsv.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/bids_tsv.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("bids_tsv", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_bigendian.py b/spm/__external/__fieldtrip/__fileio/_bigendian.py index 7890b371..f7f75ac2 100644 --- a/spm/__external/__fieldtrip/__fileio/_bigendian.py +++ b/spm/__external/__fieldtrip/__fileio/_bigendian.py @@ -2,7 +2,7 @@ def _bigendian(*args, **kwargs): - """ + r""" BIGENDIAN returns 1 (true) on a big endian machine, e.g. with a SUN Sparc or Apple G4 processor, or 0 (false) otherwise @@ -14,9 +14,12 @@ def _bigendian(*args, **kwargs): See also LITTLEENDIAN, SWAPBYTES, TYPECAST - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/bigendian.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/bigendian.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("bigendian", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_biopac_acq.py b/spm/__external/__fieldtrip/__fileio/_biopac_acq.py index 17118549..d37cc440 100644 --- a/spm/__external/__fieldtrip/__fileio/_biopac_acq.py +++ b/spm/__external/__fieldtrip/__fileio/_biopac_acq.py @@ -2,7 +2,7 @@ def _biopac_acq(*args, **kwargs): - """ + r""" BIOPAC_ACQ is a wrapper to for the reading function from Mathworks file exchange. Use as @@ -11,12 +11,15 @@ def _biopac_acq(*args, **kwargs): evt = biopac_acq(filename, hdr); See also FT_FILETYPE, FT_READ_HEADER, FT_READ_DATA, FT_READ_EVENT - See also BIDS_TSV, BIOPAC_ACQ, BUCN_TXT, EEGSYNTH_TSV, EVENTS_TSV, LIBERTY_CSV, MAUS_TEXTGRID, MOTION_C3D, OPENBCI_TXT, OPENPOSE_KEYPOINTS, OPENSIGNALS_TXT, OPENVIBE_MAT, OPM_FIL, QUALISYS_TSV, SCCN_XDF, SENSYS_CSV, SNIRF, SPIKEGLX_BIN, UNICORN_CSV, XSENS_MVNX + See also BIDS_TSV, BIOPAC_ACQ, BUCN_TXT, EEGSYNTH_TSV, EVENTS_TSV, LIBERTY_CSV, MAUS_TEXTGRID, MOTION_C3D, OPENBCI_TXT, OPENPOSE_KEYPOINTS, OPENSIGNALS_TXT, OPENVIBE_MAT, OPM_FIL, QUALISYS_TSV, QUSPIN_LVM, SCCN_XDF, SENSYS_CSV, SNIRF, SPIKEGLX_BIN, UNICORN_CSV, XSENS_MVNX - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/biopac_acq.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/biopac_acq.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("biopac_acq", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_biosig2fieldtripevent.py b/spm/__external/__fieldtrip/__fileio/_biosig2fieldtripevent.py index 29aacb5d..e7e55606 100644 --- a/spm/__external/__fieldtrip/__fileio/_biosig2fieldtripevent.py +++ b/spm/__external/__fieldtrip/__fileio/_biosig2fieldtripevent.py @@ -2,14 +2,17 @@ def _biosig2fieldtripevent(*args, **kwargs): - """ + r""" BIOSIG2FIELDTRIPEVENT converts event information from a biosig hdr into fieldtrip events - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/biosig2fieldtripevent.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/biosig2fieldtripevent.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("biosig2fieldtripevent", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_bnd2tri.py b/spm/__external/__fieldtrip/__fileio/_bnd2tri.py index ed16b80f..1b6efc94 100644 --- a/spm/__external/__fieldtrip/__fileio/_bnd2tri.py +++ b/spm/__external/__fieldtrip/__fileio/_bnd2tri.py @@ -1,22 +1,25 @@ -from mpython import Runtime +from spm._runtime import Runtime def _bnd2tri(*args, **kwargs): - """ - BND2TRI takes a struct array with one triangulated surface mesh per - tissue and converts it into a single triangulated surface mesh - represented as one long list of triangles with per triangle a tissue or - region type. - - Use as - [pos, tri, tissue] = bnd2tri(bnd) - - See also MESH2EDGE, POLY2TRI, TRI2BND - - - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/bnd2tri.m ) - - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + r""" + BND2TRI takes a struct array with one triangulated surface mesh per + tissue and converts it into a single triangulated surface mesh + represented as one long list of triangles with per triangle a tissue or + region type. + + Use as + [pos, tri, tissue] = bnd2tri(bnd) + + See also MESH2EDGE, POLY2TRI, TRI2BND + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/bnd2tri.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("bnd2tri", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_bti2grad.py b/spm/__external/__fieldtrip/__fileio/_bti2grad.py index 4215201d..93fe1024 100644 --- a/spm/__external/__fieldtrip/__fileio/_bti2grad.py +++ b/spm/__external/__fieldtrip/__fileio/_bti2grad.py @@ -2,7 +2,7 @@ def _bti2grad(*args, **kwargs): - """ + r""" BTI2GRAD converts a 4D header to a gradiometer structure that can be understood by FieldTrip and Robert Oostenveld's low-level forward and inverse routines. This function only works for headers that have been @@ -25,9 +25,12 @@ def _bti2grad(*args, **kwargs): FT_READ_SENS, FT_READ_HEADER - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/bti2grad.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/bti2grad.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("bti2grad", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_bucn_txt.py b/spm/__external/__fieldtrip/__fileio/_bucn_txt.py index a154febe..00883478 100644 --- a/spm/__external/__fieldtrip/__fileio/_bucn_txt.py +++ b/spm/__external/__fieldtrip/__fileio/_bucn_txt.py @@ -2,7 +2,7 @@ def _bucn_txt(*args, **kwargs): - """ + r""" BUCN_TXT reads the txt files produced by the UCL-Birkbeck NIRS machines, also known as the NTS fNIRS system from Gowerlabs. See https://www.gowerlabs.co.uk/nts @@ -12,12 +12,15 @@ def _bucn_txt(*args, **kwargs): evt = bucn_txt(filename, hdr); See also FT_FILETYPE, FT_READ_HEADER, FT_READ_DATA, FT_READ_EVENT, READ_BUCN_NIRSHDR, READ_BUCN_NIRSDATA, READ_BUCN_NIRSEVENT - See also BIDS_TSV, BIOPAC_ACQ, BUCN_TXT, EEGSYNTH_TSV, EVENTS_TSV, LIBERTY_CSV, MAUS_TEXTGRID, MOTION_C3D, OPENBCI_TXT, OPENPOSE_KEYPOINTS, OPENSIGNALS_TXT, OPENVIBE_MAT, OPM_FIL, QUALISYS_TSV, SCCN_XDF, SENSYS_CSV, SNIRF, SPIKEGLX_BIN, UNICORN_CSV, XSENS_MVNX + See also BIDS_TSV, BIOPAC_ACQ, BUCN_TXT, EEGSYNTH_TSV, EVENTS_TSV, LIBERTY_CSV, MAUS_TEXTGRID, MOTION_C3D, OPENBCI_TXT, OPENPOSE_KEYPOINTS, OPENSIGNALS_TXT, OPENVIBE_MAT, OPM_FIL, QUALISYS_TSV, QUSPIN_LVM, SCCN_XDF, SENSYS_CSV, SNIRF, SPIKEGLX_BIN, UNICORN_CSV, XSENS_MVNX - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/bucn_txt.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/bucn_txt.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("bucn_txt", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_buffer_wait_dat.py b/spm/__external/__fieldtrip/__fileio/_buffer_wait_dat.py index d4de4f17..ef8c4f62 100644 --- a/spm/__external/__fieldtrip/__fileio/_buffer_wait_dat.py +++ b/spm/__external/__fieldtrip/__fileio/_buffer_wait_dat.py @@ -2,7 +2,7 @@ def _buffer_wait_dat(*args, **kwargs): - """ + r""" BUFFER_WAIT_DAT implementation that is also backwards compatibility with ft buffer version 1 Use as @@ -15,9 +15,12 @@ def _buffer_wait_dat(*args, **kwargs): It returns a structure with the available nsamples and nevents. - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/buffer_wait_dat.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/buffer_wait_dat.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("buffer_wait_dat", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_channelposition.py b/spm/__external/__fieldtrip/__fileio/_channelposition.py index d2e56aec..a7d29083 100644 --- a/spm/__external/__fieldtrip/__fileio/_channelposition.py +++ b/spm/__external/__fieldtrip/__fileio/_channelposition.py @@ -2,7 +2,7 @@ def _channelposition(*args, **kwargs): - """ + r""" CHANNELPOSITION computes the channel positions and orientations from the MEG coils, EEG electrodes or NIRS optodes @@ -13,9 +13,12 @@ def _channelposition(*args, **kwargs): See also FT_DATATYPE_SENS - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/channelposition.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/channelposition.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("channelposition", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_compile_mex_list.py b/spm/__external/__fieldtrip/__fileio/_compile_mex_list.py index 64449b0d..22275ba9 100644 --- a/spm/__external/__fieldtrip/__fileio/_compile_mex_list.py +++ b/spm/__external/__fieldtrip/__fileio/_compile_mex_list.py @@ -2,7 +2,7 @@ def _compile_mex_list(*args, **kwargs): - """ + r""" function compile_mex_list(L, baseDir) Compile a list of MEX files as determined by the input argument L. @@ -13,9 +13,12 @@ def _compile_mex_list(*args, **kwargs): See also ft_compile_mex, add_mex_source. - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/compile_mex_list.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/compile_mex_list.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("compile_mex_list", *args, **kwargs, nargout=0) diff --git a/spm/__external/__fieldtrip/__fileio/_cornerpoints.py b/spm/__external/__fieldtrip/__fileio/_cornerpoints.py index 0a90cb44..378ba783 100644 --- a/spm/__external/__fieldtrip/__fileio/_cornerpoints.py +++ b/spm/__external/__fieldtrip/__fileio/_cornerpoints.py @@ -2,7 +2,7 @@ def _cornerpoints(*args, **kwargs): - """ + r""" CORNERPOINTS returns the eight corner points of an anatomical volume in voxel and in head coordinates @@ -11,9 +11,12 @@ def _cornerpoints(*args, **kwargs): which will return two 8x3 matrices. - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/cornerpoints.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/cornerpoints.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("cornerpoints", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_cstructdecode.py b/spm/__external/__fieldtrip/__fileio/_cstructdecode.py index 8ec04ad6..2bf9fbe7 100644 --- a/spm/__external/__fieldtrip/__fileio/_cstructdecode.py +++ b/spm/__external/__fieldtrip/__fileio/_cstructdecode.py @@ -2,15 +2,18 @@ def _cstructdecode(*args, **kwargs): - """ + r""" CSTRUCTDECODE decodes a structure from a uint8 buffer See READ_NEURALYNX_NEV for an example - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/cstructdecode.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/cstructdecode.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("cstructdecode", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_ctf2grad.py b/spm/__external/__fieldtrip/__fileio/_ctf2grad.py index 364a4354..1eebe5e8 100644 --- a/spm/__external/__fieldtrip/__fileio/_ctf2grad.py +++ b/spm/__external/__fieldtrip/__fileio/_ctf2grad.py @@ -2,7 +2,7 @@ def _ctf2grad(*args, **kwargs): - """ + r""" CTF2GRAD converts a CTF header to a gradiometer structure that can be understood by the FieldTrip low-level forward and inverse routines. The fieldtrip/fileio read_header function can use three different implementations of the low-level code @@ -19,9 +19,12 @@ def _ctf2grad(*args, **kwargs): FT_READ_SENS, FT_READ_HEADER - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/ctf2grad.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/ctf2grad.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ctf2grad", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_dataset2files.py b/spm/__external/__fieldtrip/__fileio/_dataset2files.py index e6268bc1..6d09d44b 100644 --- a/spm/__external/__fieldtrip/__fileio/_dataset2files.py +++ b/spm/__external/__fieldtrip/__fileio/_dataset2files.py @@ -2,7 +2,7 @@ def _dataset2files(*args, **kwargs): - """ + r""" DATASET2FILES manages the filenames for the dataset, headerfile, datafile and eventfile and tries to maintain a consistent mapping between them for each of the known fileformats @@ -10,9 +10,12 @@ def _dataset2files(*args, **kwargs): [filename, headerfile, datafile] = dataset2files(filename, format) - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/dataset2files.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/dataset2files.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("dataset2files", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_db_close.py b/spm/__external/__fieldtrip/__fileio/_db_close.py index eb0515e4..fe016a8f 100644 --- a/spm/__external/__fieldtrip/__fileio/_db_close.py +++ b/spm/__external/__fieldtrip/__fileio/_db_close.py @@ -2,16 +2,21 @@ def _db_close(*args, **kwargs): - """ + r""" DB_CLOSE closes the connection to the database Use as db_close + + See also DB_OPEN, DB_SELECT, DB_INSERT, DB_SELECT_BLOB, DB_INSERT_BLOB - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/db_close.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/db_close.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("db_close", *args, **kwargs, nargout=0) diff --git a/spm/__external/__fieldtrip/__fileio/_db_insert.py b/spm/__external/__fieldtrip/__fileio/_db_insert.py index eaad2962..408dde70 100644 --- a/spm/__external/__fieldtrip/__fileio/_db_insert.py +++ b/spm/__external/__fieldtrip/__fileio/_db_insert.py @@ -2,17 +2,22 @@ def _db_insert(*args, **kwargs): - """ + r""" DB_INSERT inserts a structure into a database table. Each field of the structure should correspond with one of the fields in the table. Use as db_insert(tablename, s) + + See also DB_OPEN, DB_SELECT, DB_SELECT_BLOB, DB_INSERT_BLOB, DB_CLOSE - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/db_insert.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/db_insert.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("db_insert", *args, **kwargs, nargout=0) diff --git a/spm/__external/__fieldtrip/__fileio/_db_insert_blob.py b/spm/__external/__fieldtrip/__fileio/_db_insert_blob.py index 66902399..9754113d 100644 --- a/spm/__external/__fieldtrip/__fileio/_db_insert_blob.py +++ b/spm/__external/__fieldtrip/__fileio/_db_insert_blob.py @@ -2,18 +2,23 @@ def _db_insert_blob(*args, **kwargs): - """ + r""" DB_INSERT_BLOB converts a Matlab variable of arbitrary type into a binary stream and inserts this stream into a binary blob in the database table. Use as db_insert_blob(tablename, fieldname, s) + + See also DB_OPEN, DB_SELECT, DB_SELECT_BLOB, DB_INSERT, DB_CLOSE - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/db_insert_blob.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/db_insert_blob.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("db_insert_blob", *args, **kwargs, nargout=0) diff --git a/spm/__external/__fieldtrip/__fileio/_db_open.py b/spm/__external/__fieldtrip/__fileio/_db_open.py index 61ad53fe..3fa51fe3 100644 --- a/spm/__external/__fieldtrip/__fileio/_db_open.py +++ b/spm/__external/__fieldtrip/__fileio/_db_open.py @@ -2,18 +2,23 @@ def _db_open(*args, **kwargs): - """ + r""" DB_OPEN opens the connection to the database Use as db_open db_open(user, password, server, port, database) db_open('mysql://:@:') + + See also DB_CLOSE, DB_SELECT, DB_INSERT, DB_SELECT_BLOB, DB_INSERT_BLOB - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/db_open.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/db_open.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("db_open", *args, **kwargs, nargout=0) diff --git a/spm/__external/__fieldtrip/__fileio/_db_select.py b/spm/__external/__fieldtrip/__fileio/_db_select.py index 21b67f5c..3431bb89 100644 --- a/spm/__external/__fieldtrip/__fileio/_db_select.py +++ b/spm/__external/__fieldtrip/__fileio/_db_select.py @@ -2,7 +2,7 @@ def _db_select(*args, **kwargs): - """ + r""" DB_SELECT selects data from a database table and converts it into a Matlab structure.Each of the fields in the database table will be represented as field in the strucure. @@ -12,11 +12,16 @@ def _db_select(*args, **kwargs): s = db_select(tablename, fields, num) The optional argument num allows you to select a specific row number. + + See also DB_OPEN, DB_INSERT, DB_SELECT_BLOB, DB_INSERT_BLOB, DB_CLOSE - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/db_select.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/db_select.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("db_select", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_db_select_blob.py b/spm/__external/__fieldtrip/__fileio/_db_select_blob.py index 4defd63b..6027d6b4 100644 --- a/spm/__external/__fieldtrip/__fileio/_db_select_blob.py +++ b/spm/__external/__fieldtrip/__fileio/_db_select_blob.py @@ -2,7 +2,7 @@ def _db_select_blob(*args, **kwargs): - """ + r""" DB_SELECT_BLOB selects a binary blob from a database table and converts it back into a Matlab variable. The variable can be of an arbitrary type. @@ -11,11 +11,16 @@ def _db_select_blob(*args, **kwargs): s = db_select_blob(tablename, fieldname, num) The optional argument num allows you to select a specific row number. + + See also DB_OPEN, DB_INSERT, DB_SELECT, DB_INSERT_BLOB, DB_CLOSE - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/db_select_blob.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/db_select_blob.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("db_select_blob", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_decode_fif.py b/spm/__external/__fieldtrip/__fileio/_decode_fif.py index 5722f5f6..b571410b 100644 --- a/spm/__external/__fieldtrip/__fileio/_decode_fif.py +++ b/spm/__external/__fieldtrip/__fileio/_decode_fif.py @@ -2,16 +2,19 @@ def _decode_fif(*args, **kwargs): - """ + r""" DECODE_FIF is a helper function for real-time processing of Neuromag data. This function is used to decode the content of the optional neuromag_fif chunk(s). See also DECODE_RES4, DECODE_NIFTI1, SAP2MATLAB - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/decode_fif.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/decode_fif.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("decode_fif", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_decode_nifti1.py b/spm/__external/__fieldtrip/__fileio/_decode_nifti1.py index 33c7a803..5fee71a1 100644 --- a/spm/__external/__fieldtrip/__fileio/_decode_nifti1.py +++ b/spm/__external/__fieldtrip/__fileio/_decode_nifti1.py @@ -2,7 +2,7 @@ def _decode_nifti1(*args, **kwargs): - """ + r""" DECODE_NIFTI1 is a helper function for real-time processing of MRI data Use as @@ -19,9 +19,12 @@ def _decode_nifti1(*args, **kwargs): See also DECODE_RES4, DECODE_NIFTI1, SAP2MATLAB - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/decode_nifti1.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/decode_nifti1.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("decode_nifti1", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_decode_res4.py b/spm/__external/__fieldtrip/__fileio/_decode_res4.py index 6c096469..84c4529f 100644 --- a/spm/__external/__fieldtrip/__fileio/_decode_res4.py +++ b/spm/__external/__fieldtrip/__fileio/_decode_res4.py @@ -2,16 +2,19 @@ def _decode_res4(*args, **kwargs): - """ + r""" DECODE_RES4 is a helper function for real-time processing of CTF data. This function is used to decode the content of the optional ctf_res4 chunck. See also DECODE_FIF, DECODE_NIFTI1, SAP2MATLAB - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/decode_res4.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/decode_res4.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("decode_res4", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_defaultId.py b/spm/__external/__fieldtrip/__fileio/_defaultId.py index c3d218fa..37d485cd 100644 --- a/spm/__external/__fieldtrip/__fileio/_defaultId.py +++ b/spm/__external/__fieldtrip/__fileio/_defaultId.py @@ -2,16 +2,19 @@ def _defaultId(*args, **kwargs): - """ + r""" DEFAULTID returns a string that can serve as warning or error identifier, for example 'FieldTip:ft_read_header:line345'. See also WARNING, ERROR, FT_NOTICE, FT_INFO, FT_DEBUG - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/defaultId.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/defaultId.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("defaultId", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_dicom2transform.py b/spm/__external/__fieldtrip/__fileio/_dicom2transform.py index 1487c87e..21d559fa 100644 --- a/spm/__external/__fieldtrip/__fileio/_dicom2transform.py +++ b/spm/__external/__fieldtrip/__fileio/_dicom2transform.py @@ -2,7 +2,7 @@ def _dicom2transform(*args, **kwargs): - """ + r""" DICOM2TRANSFORM converts the DICOM header parameters into a 4x4 homogenous transformation matrix that maps voxel indices to the Patient Coordinate System. Note that voxel indices are to be counted starting from 1 (MATLAB and Fortran @@ -30,9 +30,12 @@ def _dicom2transform(*args, **kwargs): See also DCMINFO, LOAD_DICOM_SERIES - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/dicom2transform.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/dicom2transform.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("dicom2transform", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_dimlength.py b/spm/__external/__fieldtrip/__fileio/_dimlength.py index 194d9805..e810ea64 100644 --- a/spm/__external/__fieldtrip/__fileio/_dimlength.py +++ b/spm/__external/__fieldtrip/__fileio/_dimlength.py @@ -2,7 +2,7 @@ def _dimlength(*args, **kwargs): - """ + r""" DIMLENGTH(DATA, SELDIM, FLD) is a helper function to obtain n, the number of elements along dimension seldim from the appropriate field from the input data containing functional data. @@ -20,9 +20,12 @@ def _dimlength(*args, **kwargs): See also FIXSOURCE, CREATEDIMORD - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/dimlength.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/dimlength.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("dimlength", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_eegsynth_tsv.py b/spm/__external/__fieldtrip/__fileio/_eegsynth_tsv.py index 9f25254a..0900b448 100644 --- a/spm/__external/__fieldtrip/__fileio/_eegsynth_tsv.py +++ b/spm/__external/__fieldtrip/__fileio/_eegsynth_tsv.py @@ -2,7 +2,7 @@ def _eegsynth_tsv(*args, **kwargs): - """ + r""" EEGSYNTH_TSV is called from FT_READ_EVENT to read the events from a tsv file written by the recordtrigger module. The .tsv file should also contain a synchronization trigger from the recordsignal module. @@ -16,12 +16,15 @@ def _eegsynth_tsv(*args, **kwargs): See https://bids-specification.readthedocs.io/en/stable/04-modality-specific-files/05-task-events.html See also FT_FILETYPE, FT_READ_HEADER, FT_READ_DATA, FT_READ_EVENT - See also BIDS_TSV, BIOPAC_ACQ, BUCN_TXT, EEGSYNTH_TSV, EVENTS_TSV, LIBERTY_CSV, MAUS_TEXTGRID, MOTION_C3D, OPENBCI_TXT, OPENPOSE_KEYPOINTS, OPENSIGNALS_TXT, OPENVIBE_MAT, OPM_FIL, QUALISYS_TSV, SCCN_XDF, SENSYS_CSV, SNIRF, SPIKEGLX_BIN, UNICORN_CSV, XSENS_MVNX + See also BIDS_TSV, BIOPAC_ACQ, BUCN_TXT, EEGSYNTH_TSV, EVENTS_TSV, LIBERTY_CSV, MAUS_TEXTGRID, MOTION_C3D, OPENBCI_TXT, OPENPOSE_KEYPOINTS, OPENSIGNALS_TXT, OPENVIBE_MAT, OPM_FIL, QUALISYS_TSV, QUSPIN_LVM, SCCN_XDF, SENSYS_CSV, SNIRF, SPIKEGLX_BIN, UNICORN_CSV, XSENS_MVNX - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/eegsynth_tsv.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/eegsynth_tsv.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("eegsynth_tsv", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_elproj.py b/spm/__external/__fieldtrip/__fileio/_elproj.py index e4b7dad7..fd41b3d8 100644 --- a/spm/__external/__fieldtrip/__fileio/_elproj.py +++ b/spm/__external/__fieldtrip/__fileio/_elproj.py @@ -2,12 +2,12 @@ def _elproj(*args, **kwargs): - """ - ELPROJ makes a azimuthal projection of a 3D electrode cloud - on a plane tangent to the sphere fitted through the electrodes - the projection is along the z-axis + r""" + ELPROJ makes a azimuthal projection of a 3D electrode cloud on a plane tangent to + the sphere fitted through the electrodes. The projection is along the z-axis. - [proj] = elproj([x, y, z], 'method'); + Use as + proj = elproj([x, y, z], 'method'); Method should be one of these: 'gnomic' @@ -23,15 +23,18 @@ def _elproj(*args, **kwargs): projection results, if the light is antipodal a Sterographic, and if at infinity, an Orthographic. - The default projection is a polar projection (BESA like). + The default projection is a BESA-like polar projection. An inverse projection is the opposite of the default polar projection. See also PROJECTTRI - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/elproj.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/elproj.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("elproj", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_encode_nifti1.py b/spm/__external/__fieldtrip/__fileio/_encode_nifti1.py index ba20925c..3ea585ce 100644 --- a/spm/__external/__fieldtrip/__fileio/_encode_nifti1.py +++ b/spm/__external/__fieldtrip/__fileio/_encode_nifti1.py @@ -2,7 +2,7 @@ def _encode_nifti1(*args, **kwargs): - """ + r""" function blob = encode_nifti1(H) Encodes a NIFTI-1 header (=> raw 348 bytes (uint8)) from a Matlab structure @@ -11,9 +11,12 @@ def _encode_nifti1(*args, **kwargs): WARNING: This function currently ignores endianness !!! - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/encode_nifti1.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/encode_nifti1.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("encode_nifti1", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_events_tsv.py b/spm/__external/__fieldtrip/__fileio/_events_tsv.py index b1731572..b23d600a 100644 --- a/spm/__external/__fieldtrip/__fileio/_events_tsv.py +++ b/spm/__external/__fieldtrip/__fileio/_events_tsv.py @@ -2,7 +2,7 @@ def _events_tsv(*args, **kwargs): - """ + r""" EVENTS_TSV is called from FT_READ_EVENT to read the events from a BIDS _events.tsv file. Although this function also reads the header for the sampling rate, it cannot be used to read data. Please see BIDS_TSV for reading data. @@ -18,12 +18,15 @@ def _events_tsv(*args, **kwargs): See https://bids-specification.readthedocs.io/en/stable/04-modality-specific-files/05-task-events.html See also FT_FILETYPE, FT_READ_HEADER, FT_READ_DATA, FT_READ_EVENT - See also BIDS_TSV, BIOPAC_ACQ, BUCN_TXT, EEGSYNTH_TSV, EVENTS_TSV, LIBERTY_CSV, MAUS_TEXTGRID, MOTION_C3D, OPENBCI_TXT, OPENPOSE_KEYPOINTS, OPENSIGNALS_TXT, OPENVIBE_MAT, OPM_FIL, QUALISYS_TSV, SCCN_XDF, SENSYS_CSV, SNIRF, SPIKEGLX_BIN, UNICORN_CSV, XSENS_MVNX + See also BIDS_TSV, BIOPAC_ACQ, BUCN_TXT, EEGSYNTH_TSV, EVENTS_TSV, LIBERTY_CSV, MAUS_TEXTGRID, MOTION_C3D, OPENBCI_TXT, OPENPOSE_KEYPOINTS, OPENSIGNALS_TXT, OPENVIBE_MAT, OPM_FIL, QUALISYS_TSV, QUSPIN_LVM, SCCN_XDF, SENSYS_CSV, SNIRF, SPIKEGLX_BIN, UNICORN_CSV, XSENS_MVNX - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/events_tsv.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/events_tsv.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("events_tsv", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_fetch_url.py b/spm/__external/__fieldtrip/__fileio/_fetch_url.py index 68f8bf09..7ee264d9 100644 --- a/spm/__external/__fieldtrip/__fileio/_fetch_url.py +++ b/spm/__external/__fieldtrip/__fileio/_fetch_url.py @@ -2,7 +2,7 @@ def _fetch_url(*args, **kwargs): - """ + r""" FETCH_URL checks the filename and downloads the file to a local copy in case it is specified as an Universal Resource Locator. It returns the name of the temporary file on the local filesystem. @@ -14,9 +14,12 @@ def _fetch_url(*args, **kwargs): filename. - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/fetch_url.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/fetch_url.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("fetch_url", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_fif2grad.py b/spm/__external/__fieldtrip/__fileio/_fif2grad.py index 4f2f16a8..9fe88c99 100644 --- a/spm/__external/__fieldtrip/__fileio/_fif2grad.py +++ b/spm/__external/__fieldtrip/__fileio/_fif2grad.py @@ -2,7 +2,7 @@ def _fif2grad(*args, **kwargs): - """ + r""" FIF2GRAD constructs a gradiometer definition from a Neuromag *.fif file The resulting gradiometer definition can be used by Fieldtrip for forward and inverse computations. @@ -14,9 +14,12 @@ def _fif2grad(*args, **kwargs): FT_READ_SENS, FT_READ_HEADER - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/fif2grad.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/fif2grad.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("fif2grad", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_fiff_open_le.py b/spm/__external/__fieldtrip/__fileio/_fiff_open_le.py index ac42fd42..34bd466e 100644 --- a/spm/__external/__fieldtrip/__fileio/_fiff_open_le.py +++ b/spm/__external/__fieldtrip/__fileio/_fiff_open_le.py @@ -2,7 +2,7 @@ def _fiff_open_le(*args, **kwargs): - """ + r""" [fid, tree, dir] = fiff_open_le(fname) @@ -16,9 +16,12 @@ def _fiff_open_le(*args, **kwargs): Arjen Stolk - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/fiff_open_le.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/fiff_open_le.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("fiff_open_le", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_filetype_check_extension.py b/spm/__external/__fieldtrip/__fileio/_filetype_check_extension.py index 290e5d7c..76ea5814 100644 --- a/spm/__external/__fieldtrip/__fileio/_filetype_check_extension.py +++ b/spm/__external/__fieldtrip/__fileio/_filetype_check_extension.py @@ -2,14 +2,17 @@ def _filetype_check_extension(*args, **kwargs): - """ + r""" FILETYPE_CHECK_EXTENSION helper function to determine the file type by performing a case insensitive string comparison of the extension. - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/filetype_check_extension.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/filetype_check_extension.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("filetype_check_extension", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_filetype_check_header.py b/spm/__external/__fieldtrip/__fileio/_filetype_check_header.py index 23e09165..45729ceb 100644 --- a/spm/__external/__fieldtrip/__fileio/_filetype_check_header.py +++ b/spm/__external/__fieldtrip/__fileio/_filetype_check_header.py @@ -2,15 +2,18 @@ def _filetype_check_header(*args, **kwargs): - """ + r""" FILETYPE_CHECK_HEADER helper function to determine the file type by reading the first number of bytes of a file and comparing them to a known string or magic number. - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/filetype_check_header.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/filetype_check_header.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("filetype_check_header", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_filetype_check_uri.py b/spm/__external/__fieldtrip/__fileio/_filetype_check_uri.py index 6b72c105..709ac58e 100644 --- a/spm/__external/__fieldtrip/__fileio/_filetype_check_uri.py +++ b/spm/__external/__fieldtrip/__fileio/_filetype_check_uri.py @@ -2,7 +2,7 @@ def _filetype_check_uri(*args, **kwargs): - """ + r""" FILETYPE_CHECK_URI Use as @@ -28,9 +28,12 @@ def _filetype_check_uri(*args, **kwargs): http://en.wikipedia.org/wiki/URI_scheme#Generic_syntax. - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/filetype_check_uri.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/filetype_check_uri.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("filetype_check_uri", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_find_outermost_boundary.py b/spm/__external/__fieldtrip/__fileio/_find_outermost_boundary.py index 20cc6ea3..7f76e457 100644 --- a/spm/__external/__fieldtrip/__fileio/_find_outermost_boundary.py +++ b/spm/__external/__fieldtrip/__fileio/_find_outermost_boundary.py @@ -2,7 +2,7 @@ def _find_outermost_boundary(*args, **kwargs): - """ + r""" FIND_OUTERMOST_BOUNDARY locates outermost compartment of a BEM model by looking at the containment of the triangular meshes describing the surface boundaries @@ -14,9 +14,12 @@ def _find_outermost_boundary(*args, **kwargs): bnd(i).tri triangles of boundary i (matrix of size Mx3) - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/find_outermost_boundary.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/find_outermost_boundary.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("find_outermost_boundary", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_fixbalance.py b/spm/__external/__fieldtrip/__fileio/_fixbalance.py new file mode 100644 index 00000000..ce57cba1 --- /dev/null +++ b/spm/__external/__fieldtrip/__fileio/_fixbalance.py @@ -0,0 +1,23 @@ +from spm._runtime import Runtime + + +def _fixbalance(*args, **kwargs): + r""" + FIXBALANCE ensures that the balancing representation in grad.balance or + elec.balance field is up to date and consistent, specifically with the + list of linear projections (or montages) being applied specified as + cell-array in "current", and not as a string in "current" and cell-array + in "previous". + + See also FT_DATATYPE_SENS + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/fixbalance.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("fixbalance", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_fixcoordsys.py b/spm/__external/__fieldtrip/__fileio/_fixcoordsys.py index cec5d920..0a376250 100644 --- a/spm/__external/__fieldtrip/__fileio/_fixcoordsys.py +++ b/spm/__external/__fieldtrip/__fileio/_fixcoordsys.py @@ -2,7 +2,7 @@ def _fixcoordsys(*args, **kwargs): - """ + r""" FIXCOORDSYS ensures that the coordinate system is consistently described. E.g. SPM and MNI are technically the same coordinate system, but the strings 'spm' and 'mni' are different. @@ -10,9 +10,12 @@ def _fixcoordsys(*args, **kwargs): See also FT_DETERMINE_COORDSYS - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/fixcoordsys.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/fixcoordsys.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("fixcoordsys", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_fixdimord.py b/spm/__external/__fieldtrip/__fileio/_fixdimord.py index 93cc55ea..0a1e7c86 100644 --- a/spm/__external/__fieldtrip/__fileio/_fixdimord.py +++ b/spm/__external/__fieldtrip/__fileio/_fixdimord.py @@ -2,7 +2,7 @@ def _fixdimord(*args, **kwargs): - """ + r""" FIXDIMORD ensures consistency between the dimord string and the axes that describe the data dimensions. The main purpose of this function is to ensure backward compatibility of all functions with data that has @@ -30,9 +30,12 @@ def _fixdimord(*args, **kwargs): 'voxel' - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/fixdimord.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/fixdimord.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("fixdimord", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_fixinside.py b/spm/__external/__fieldtrip/__fileio/_fixinside.py index 69dfa133..6da66085 100644 --- a/spm/__external/__fieldtrip/__fileio/_fixinside.py +++ b/spm/__external/__fieldtrip/__fileio/_fixinside.py @@ -2,7 +2,7 @@ def _fixinside(*args, **kwargs): - """ + r""" FIXINSIDE ensures that the region of interest (which is indicated by the field "inside") is consistently defined for source structures and volume structures. Furthermore, it solves backward compatibility problems. @@ -13,9 +13,12 @@ def _fixinside(*args, **kwargs): [source] = fixinside(source, 'index'); - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/fixinside.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/fixinside.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("fixinside", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_fixname.py b/spm/__external/__fieldtrip/__fileio/_fixname.py index a65617b9..0eee7383 100644 --- a/spm/__external/__fieldtrip/__fileio/_fixname.py +++ b/spm/__external/__fieldtrip/__fileio/_fixname.py @@ -2,7 +2,7 @@ def _fixname(*args, **kwargs): - """ + r""" FIXNAME changes all inappropriate characters in a string into '_' so that it can be used as a filename or as a field name in a structure. If the string begins with a digit, an 'x' is prepended. @@ -18,9 +18,12 @@ def _fixname(*args, **kwargs): See also DEBLANK, STRIP, PAD - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/fixname.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/fixname.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("fixname", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_fixoldorg.py b/spm/__external/__fieldtrip/__fileio/_fixoldorg.py index 04990244..3d627c8e 100644 --- a/spm/__external/__fieldtrip/__fileio/_fixoldorg.py +++ b/spm/__external/__fieldtrip/__fileio/_fixoldorg.py @@ -2,13 +2,16 @@ def _fixoldorg(*args, **kwargs): - """ + r""" FIXOLDORG use "old/new" instead of "org/new" - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/fixoldorg.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/fixoldorg.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("fixoldorg", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_fixpos.py b/spm/__external/__fieldtrip/__fileio/_fixpos.py index 22cfb317..deae5bfd 100644 --- a/spm/__external/__fieldtrip/__fileio/_fixpos.py +++ b/spm/__external/__fieldtrip/__fileio/_fixpos.py @@ -2,13 +2,16 @@ def _fixpos(*args, **kwargs): - """ + r""" FIXPOS helper function to ensure that meshes are described properly - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/fixpos.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/fixpos.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("fixpos", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_fixsampleinfo.py b/spm/__external/__fieldtrip/__fileio/_fixsampleinfo.py index bdf2fabe..cda055a1 100644 --- a/spm/__external/__fieldtrip/__fileio/_fixsampleinfo.py +++ b/spm/__external/__fieldtrip/__fileio/_fixsampleinfo.py @@ -2,7 +2,7 @@ def _fixsampleinfo(*args, **kwargs): - """ + r""" FIXSAMPLEINFO checks for the existence of a sampleinfo and trialinfo field in the provided raw or timelock data structure. If present, nothing is done; if absent, this function attempts to reconstruct them based on either an trl-matrix present in @@ -12,9 +12,12 @@ def _fixsampleinfo(*args, **kwargs): See also FT_DATATYPE_RAW, FT_DATATYPE_TIMELOCK - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/fixsampleinfo.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/fixsampleinfo.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("fixsampleinfo", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_fopen_or_error.py b/spm/__external/__fieldtrip/__fileio/_fopen_or_error.py index 070831ff..26f93633 100644 --- a/spm/__external/__fieldtrip/__fileio/_fopen_or_error.py +++ b/spm/__external/__fieldtrip/__fileio/_fopen_or_error.py @@ -2,7 +2,7 @@ def _fopen_or_error(*args, **kwargs): - """ + r""" FOPEN_OR_ERROR Opens a file, like fopen, but throws an exception if the open failed. This keeps you from having to write "if fid < 0; error(...)" everywhere @@ -11,9 +11,12 @@ def _fopen_or_error(*args, **kwargs): See also FOPEN, ISDIR_OR_MKDIR - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/fopen_or_error.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/fopen_or_error.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("fopen_or_error", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_ft_apply_montage.py b/spm/__external/__fieldtrip/__fileio/_ft_apply_montage.py index 5d95e1b0..6eccef07 100644 --- a/spm/__external/__fieldtrip/__fileio/_ft_apply_montage.py +++ b/spm/__external/__fieldtrip/__fileio/_ft_apply_montage.py @@ -2,7 +2,7 @@ def _ft_apply_montage(*args, **kwargs): - """ + r""" FT_APPLY_MONTAGE changes the montage (i.e. linear combination) of a set of electrode or gradiometer channels. A montage can be used for EEG rereferencing, MEG synthetic gradients, MEG planar gradients or unmixing using ICA. This function not @@ -39,8 +39,6 @@ def _ft_apply_montage(*args, **kwargs): Additional options should be specified in key-value pairs and can be 'keepunused' = string, 'yes' or 'no' (default = 'no') - 'inverse' = string, 'yes' or 'no' (default = 'no') - 'balancename' = string, name of the montage (default = '') 'feedback' = string, see FT_PROGRESS (default = 'text') 'warning' = boolean, whether to show warnings (default = true) @@ -51,9 +49,12 @@ def _ft_apply_montage(*args, **kwargs): See also FT_READ_SENS, FT_DATATYPE_SENS - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/ft_apply_montage.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/ft_apply_montage.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_apply_montage", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_ft_checkdata.py b/spm/__external/__fieldtrip/__fileio/_ft_checkdata.py index 34f972a4..d3874d30 100644 --- a/spm/__external/__fieldtrip/__fileio/_ft_checkdata.py +++ b/spm/__external/__fieldtrip/__fileio/_ft_checkdata.py @@ -2,7 +2,7 @@ def _ft_checkdata(*args, **kwargs): - """ + r""" FT_CHECKDATA checks the input data of the main FieldTrip functions, e.g. whether the type of data structure corresponds with the required data. If necessary and possible, this function will adjust the data structure to the input requirements (e.g. change @@ -46,9 +46,12 @@ def _ft_checkdata(*args, **kwargs): See also FT_DATATYPE_XXX for each of the respective data types. - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/ft_checkdata.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/ft_checkdata.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_checkdata", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_ft_convert_units.py b/spm/__external/__fieldtrip/__fileio/_ft_convert_units.py index c7678dc6..242380e8 100644 --- a/spm/__external/__fieldtrip/__fileio/_ft_convert_units.py +++ b/spm/__external/__fieldtrip/__fileio/_ft_convert_units.py @@ -2,7 +2,7 @@ def _ft_convert_units(*args, **kwargs): - """ + r""" FT_CONVERT_UNITS changes the geometrical dimension to the specified SI unit. The units of the input object is determined from the structure field object.unit, or is estimated based on the spatial extend of the structure, @@ -24,9 +24,12 @@ def _ft_convert_units(*args, **kwargs): See also FT_DETERMINE_UNITS, FT_DETERMINE_COORDSYS, FT_CONVERT_COORDSYS, FT_PLOT_AXES, FT_PLOT_XXX - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/ft_convert_units.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/ft_convert_units.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_convert_units", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_ft_datatype.py b/spm/__external/__fieldtrip/__fileio/_ft_datatype.py index 32f822ee..c160ca2f 100644 --- a/spm/__external/__fieldtrip/__fileio/_ft_datatype.py +++ b/spm/__external/__fieldtrip/__fileio/_ft_datatype.py @@ -2,7 +2,7 @@ def _ft_datatype(*args, **kwargs): - """ + r""" FT_DATATYPE determines the type of data represented in a FieldTrip data structure and returns a string with raw, freq, timelock source, comp, spike, source, volume, dip, montage, event. @@ -17,9 +17,12 @@ def _ft_datatype(*args, **kwargs): FT_DATATYPE_RAW, FT_DATATYPE_SENS, FT_DATATYPE_SPIKE, FT_DATATYPE_VOLUME - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/ft_datatype.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/ft_datatype.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_datatype", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_ft_datatype_comp.py b/spm/__external/__fieldtrip/__fileio/_ft_datatype_comp.py index 30370a87..6b342856 100644 --- a/spm/__external/__fieldtrip/__fileio/_ft_datatype_comp.py +++ b/spm/__external/__fieldtrip/__fileio/_ft_datatype_comp.py @@ -2,7 +2,7 @@ def _ft_datatype_comp(*args, **kwargs): - """ + r""" FT_DATATYPE_COMP describes the FieldTrip MATLAB structure for comp data The comp data structure represents time-series channel-level data that has @@ -50,9 +50,12 @@ def _ft_datatype_comp(*args, **kwargs): FT_DATATYPE_TIMELOCK, FT_DATATYPE_VOLUME - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/ft_datatype_comp.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/ft_datatype_comp.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_datatype_comp", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_ft_datatype_dip.py b/spm/__external/__fieldtrip/__fileio/_ft_datatype_dip.py index 4ef8a006..a924d2b7 100644 --- a/spm/__external/__fieldtrip/__fileio/_ft_datatype_dip.py +++ b/spm/__external/__fieldtrip/__fileio/_ft_datatype_dip.py @@ -2,7 +2,7 @@ def _ft_datatype_dip(*args, **kwargs): - """ + r""" FT_DATATYPE_DIP descripts the FieldTrip MATLAB structure for dip data The dip structure represents a dipole model that has been fitted to @@ -14,9 +14,12 @@ def _ft_datatype_dip(*args, **kwargs): See also FT_DATATYPE, FT_DATATYPE_SOURCE, FT_DATATYPE_VOLUME - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/ft_datatype_dip.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/ft_datatype_dip.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_datatype_dip", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_ft_datatype_freq.py b/spm/__external/__fieldtrip/__fileio/_ft_datatype_freq.py index 7de982ee..09b58405 100644 --- a/spm/__external/__fieldtrip/__fileio/_ft_datatype_freq.py +++ b/spm/__external/__fieldtrip/__fileio/_ft_datatype_freq.py @@ -2,7 +2,7 @@ def _ft_datatype_freq(*args, **kwargs): - """ + r""" FT_DATATYPE_FREQ describes the FieldTrip MATLAB structure for freq data The freq data structure represents frequency or time-frequency decomposed @@ -61,9 +61,12 @@ def _ft_datatype_freq(*args, **kwargs): FT_DATATYPE_TIMELOCK, FT_DATATYPE_VOLUME - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/ft_datatype_freq.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/ft_datatype_freq.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_datatype_freq", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_ft_datatype_headmodel.py b/spm/__external/__fieldtrip/__fileio/_ft_datatype_headmodel.py index d9b74181..fdbfdbe5 100644 --- a/spm/__external/__fieldtrip/__fileio/_ft_datatype_headmodel.py +++ b/spm/__external/__fieldtrip/__fileio/_ft_datatype_headmodel.py @@ -2,7 +2,7 @@ def _ft_datatype_headmodel(*args, **kwargs): - """ + r""" FT_DATATYPE_HEADMODEL describes the FieldTrip MATLAB structure for a volume conduction model of the head that can be used for forward computations of the EEG potentials or the MEG fields. The volume conduction model represents the @@ -69,9 +69,12 @@ def _ft_datatype_headmodel(*args, **kwargs): FT_DATATYPE_SPIKE, FT_DATATYPE_TIMELOCK, FT_DATATYPE_VOLUME - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/ft_datatype_headmodel.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/ft_datatype_headmodel.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_datatype_headmodel", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_ft_datatype_mvar.py b/spm/__external/__fieldtrip/__fileio/_ft_datatype_mvar.py index ff40240f..36cd48cb 100644 --- a/spm/__external/__fieldtrip/__fileio/_ft_datatype_mvar.py +++ b/spm/__external/__fieldtrip/__fileio/_ft_datatype_mvar.py @@ -2,7 +2,7 @@ def _ft_datatype_mvar(*args, **kwargs): - """ + r""" FT_DATATYPE_MVAR describes the FieldTrip MATLAB structure for multi-variate autoregressive model data. @@ -56,9 +56,12 @@ def _ft_datatype_mvar(*args, **kwargs): FT_DATATYPE_TIMELOCK, FT_DATATYPE_VOLUME - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/ft_datatype_mvar.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/ft_datatype_mvar.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_datatype_mvar", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_ft_datatype_raw.py b/spm/__external/__fieldtrip/__fileio/_ft_datatype_raw.py index 5181d4cd..20751033 100644 --- a/spm/__external/__fieldtrip/__fileio/_ft_datatype_raw.py +++ b/spm/__external/__fieldtrip/__fileio/_ft_datatype_raw.py @@ -2,7 +2,7 @@ def _ft_datatype_raw(*args, **kwargs): - """ + r""" FT_DATATYPE_RAW describes the FieldTrip MATLAB structure for raw data The raw datatype represents sensor-level time-domain data typically @@ -55,9 +55,12 @@ def _ft_datatype_raw(*args, **kwargs): FT_DATATYPE_SPIKE, FT_DATATYPE_SENS - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/ft_datatype_raw.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/ft_datatype_raw.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_datatype_raw", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_ft_datatype_sens.py b/spm/__external/__fieldtrip/__fileio/_ft_datatype_sens.py index 713ca35a..3f8eec42 100644 --- a/spm/__external/__fieldtrip/__fileio/_ft_datatype_sens.py +++ b/spm/__external/__fieldtrip/__fileio/_ft_datatype_sens.py @@ -2,7 +2,7 @@ def _ft_datatype_sens(*args, **kwargs): - """ + r""" FT_DATATYPE_SENS describes the FieldTrip structure that represents an MEG, EEG, sEEG, ECoG, or NIRS sensor array. This structure is commonly called "grad" for MEG, "elec" for EEG and intranial EEG, "opto" for NIRS, or in general "sens" if it could @@ -49,12 +49,14 @@ def _ft_datatype_sens(*args, **kwargs): sens.chanunit = Mx1 cell-array with the units of the channel signal, e.g. 'V', 'fT' or 'T/cm', see FT_CHANUNIT Optional fields: - type, unit, fid, chantype, chanunit, coordsys + type, unit, fid, chantype, chanunit, coordsys, balance Historical fields: pnt, pos, ori, pnt1, pnt2, fiberpos, fibertype, fiberlabel, transceiver, transmits, laserstrength Revision history: + (2025/latest) Explicitly deal with the balance field and sequence of montages. + (2020/latest) Updated the specification of the NIRS sensor definition. Dropped the laserstrength and renamed transmits into tra for consistency. @@ -96,9 +98,12 @@ def _ft_datatype_sens(*args, **kwargs): BTI2GRAD, YOKOGAWA2GRAD, ITAB2GRAD - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/ft_datatype_sens.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/ft_datatype_sens.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_datatype_sens", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_ft_datatype_source.py b/spm/__external/__fieldtrip/__fileio/_ft_datatype_source.py index 4edb1f0b..fdddbfbb 100644 --- a/spm/__external/__fieldtrip/__fileio/_ft_datatype_source.py +++ b/spm/__external/__fieldtrip/__fileio/_ft_datatype_source.py @@ -2,7 +2,7 @@ def _ft_datatype_source(*args, **kwargs): - """ + r""" FT_DATATYPE_SOURCE describes the FieldTrip MATLAB structure for data that is represented at the source level. This is typically obtained with a beamformer of minimum-norm source reconstruction using FT_SOURCEANALYSIS. @@ -58,9 +58,12 @@ def _ft_datatype_source(*args, **kwargs): FT_DATATYPE_TIMELOCK, FT_DATATYPE_VOLUME - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/ft_datatype_source.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/ft_datatype_source.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_datatype_source", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_ft_datatype_spike.py b/spm/__external/__fieldtrip/__fileio/_ft_datatype_spike.py index b4818cc4..cedd9b63 100644 --- a/spm/__external/__fieldtrip/__fileio/_ft_datatype_spike.py +++ b/spm/__external/__fieldtrip/__fileio/_ft_datatype_spike.py @@ -2,7 +2,7 @@ def _ft_datatype_spike(*args, **kwargs): - """ + r""" FT_DATATYPE_SPIKE describes the FieldTrip MATLAB structure for spike data Spike data is obtained using FT_READ_SPIKE to read files from a Plexon, @@ -128,9 +128,12 @@ def _ft_datatype_spike(*args, **kwargs): See also FT_DATATYPE, FT_DATATYPE_RAW, FT_DATATYPE_FREQ, FT_DATATYPE_TIMELOCK - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/ft_datatype_spike.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/ft_datatype_spike.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_datatype_spike", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_ft_datatype_timelock.py b/spm/__external/__fieldtrip/__fileio/_ft_datatype_timelock.py index a8b6f30e..903f78d1 100644 --- a/spm/__external/__fieldtrip/__fileio/_ft_datatype_timelock.py +++ b/spm/__external/__fieldtrip/__fileio/_ft_datatype_timelock.py @@ -2,7 +2,7 @@ def _ft_datatype_timelock(*args, **kwargs): - """ + r""" FT_DATATYPE_TIMELOCK describes the FieldTrip MATLAB structure for timelock data The timelock data structure represents averaged or non-averaged event-releted @@ -46,9 +46,12 @@ def _ft_datatype_timelock(*args, **kwargs): See also FT_DATATYPE, FT_DATATYPE_COMP, FT_DATATYPE_FREQ, FT_DATATYPE_RAW - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/ft_datatype_timelock.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/ft_datatype_timelock.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_datatype_timelock", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_ft_debug.py b/spm/__external/__fieldtrip/__fileio/_ft_debug.py index 1d75de30..d33cd5f0 100644 --- a/spm/__external/__fieldtrip/__fileio/_ft_debug.py +++ b/spm/__external/__fieldtrip/__fileio/_ft_debug.py @@ -2,7 +2,7 @@ def _ft_debug(*args, **kwargs): - """ + r""" FT_DEBUG prints a debug message on screen, depending on the verbosity settings of the calling high-level FieldTrip function. @@ -37,9 +37,12 @@ def _ft_debug(*args, **kwargs): See also FT_ERROR, FT_WARNING, FT_NOTICE, FT_INFO, FT_DEBUG, ERROR, WARNING - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/ft_debug.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/ft_debug.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_debug", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_ft_determine_units.py b/spm/__external/__fieldtrip/__fileio/_ft_determine_units.py index aeee2aab..46a18477 100644 --- a/spm/__external/__fieldtrip/__fileio/_ft_determine_units.py +++ b/spm/__external/__fieldtrip/__fileio/_ft_determine_units.py @@ -2,7 +2,7 @@ def _ft_determine_units(*args, **kwargs): - """ + r""" FT_DETERMINE_UNITS tries to determine the units of a geometrical object by looking at its size and by relating this to the approximate size of the human head according to the following table: @@ -28,9 +28,12 @@ def _ft_determine_units(*args, **kwargs): See also FT_CONVERT_UNITS, FT_DETERMINE_COODSYS, FT_CONVERT_COORDSYS, FT_PLOT_AXES, FT_PLOT_XXX - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/ft_determine_units.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/ft_determine_units.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_determine_units", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_ft_error.py b/spm/__external/__fieldtrip/__fileio/_ft_error.py index 3c338c71..d4c68666 100644 --- a/spm/__external/__fieldtrip/__fileio/_ft_error.py +++ b/spm/__external/__fieldtrip/__fileio/_ft_error.py @@ -2,7 +2,7 @@ def _ft_error(*args, **kwargs): - """ + r""" FT_ERROR prints an error message on screen, just like the standard ERROR function. Use as @@ -14,9 +14,12 @@ def _ft_error(*args, **kwargs): See also FT_ERROR, FT_WARNING, FT_NOTICE, FT_INFO, FT_DEBUG, ERROR, WARNING - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/ft_error.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/ft_error.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_error", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_ft_estimate_units.py b/spm/__external/__fieldtrip/__fileio/_ft_estimate_units.py index 5f0cae5a..7244eb87 100644 --- a/spm/__external/__fieldtrip/__fileio/_ft_estimate_units.py +++ b/spm/__external/__fieldtrip/__fileio/_ft_estimate_units.py @@ -2,7 +2,7 @@ def _ft_estimate_units(*args, **kwargs): - """ + r""" FT_ESTIMATE_UNITS tries to determine the units of a geometrical object by looking at its size and by relating this to the approximate size of the human head according to the following table: @@ -16,15 +16,19 @@ def _ft_estimate_units(*args, **kwargs): This function will return one of the following strings 'm' + 'dm' 'cm' 'mm' See also FT_CONVERT_UNITS - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/ft_estimate_units.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/ft_estimate_units.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_estimate_units", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_ft_fetch_data.py b/spm/__external/__fieldtrip/__fileio/_ft_fetch_data.py index 2e3134dc..16c43ba5 100644 --- a/spm/__external/__fieldtrip/__fileio/_ft_fetch_data.py +++ b/spm/__external/__fieldtrip/__fileio/_ft_fetch_data.py @@ -2,7 +2,7 @@ def _ft_fetch_data(*args, **kwargs): - """ + r""" FT_FETCH_DATA mimics the behavior of FT_READ_DATA, but for a FieldTrip raw data structure instead of a file on disk. @@ -12,9 +12,12 @@ def _ft_fetch_data(*args, **kwargs): See also FT_READ_DATA, FT_FETCH_HEADER, FT_FETCH_EVENT - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/ft_fetch_data.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/ft_fetch_data.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_fetch_data", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_ft_fetch_header.py b/spm/__external/__fieldtrip/__fileio/_ft_fetch_header.py index 7d058b68..6227bf6d 100644 --- a/spm/__external/__fieldtrip/__fileio/_ft_fetch_header.py +++ b/spm/__external/__fieldtrip/__fileio/_ft_fetch_header.py @@ -2,7 +2,7 @@ def _ft_fetch_header(*args, **kwargs): - """ + r""" FT_FETCH_HEADER mimics the behavior of FT_READ_HEADER, but for a FieldTrip raw data structure instead of a file on disk. @@ -12,9 +12,12 @@ def _ft_fetch_header(*args, **kwargs): See also FT_READ_HEADER, FT_FETCH_DATA, FT_FETCH_EVENT - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/ft_fetch_header.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/ft_fetch_header.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_fetch_header", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_ft_findcfg.py b/spm/__external/__fieldtrip/__fileio/_ft_findcfg.py index 913e7cbc..bb47f129 100644 --- a/spm/__external/__fieldtrip/__fileio/_ft_findcfg.py +++ b/spm/__external/__fieldtrip/__fileio/_ft_findcfg.py @@ -2,7 +2,7 @@ def _ft_findcfg(*args, **kwargs): - """ + r""" FT_FINDCFG searches for an element in the cfg structure or in the nested previous cfgs @@ -17,9 +17,12 @@ def _ft_findcfg(*args, **kwargs): See also FT_GETOPT, FT_CFG2KEYVAL - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/ft_findcfg.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/ft_findcfg.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_findcfg", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_ft_getopt.py b/spm/__external/__fieldtrip/__fileio/_ft_getopt.py index a44ae26c..362c82d2 100644 --- a/spm/__external/__fieldtrip/__fileio/_ft_getopt.py +++ b/spm/__external/__fieldtrip/__fileio/_ft_getopt.py @@ -2,7 +2,7 @@ def _ft_getopt(*args, **kwargs): - """ + r""" FT_GETOPT gets the value of a specified option from a configuration structure or from a cell-array with key-value pairs. @@ -25,12 +25,15 @@ def _ft_getopt(*args, **kwargs): If emptymeaningful==true, then the empty array will be returned. If emptymeaningful==false, then the specified default will be returned. - See also FT_SETOPT, FT_CHECKOPT, INPUTPARSER + See also FT_SETOPT, FT_CHECKOPT, FT_DELETEOPT, INPUTPARSER - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/ft_getopt.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/ft_getopt.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_getopt", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_ft_hastoolbox.py b/spm/__external/__fieldtrip/__fileio/_ft_hastoolbox.py index 7a9cd33a..e019747e 100644 --- a/spm/__external/__fieldtrip/__fileio/_ft_hastoolbox.py +++ b/spm/__external/__fieldtrip/__fileio/_ft_hastoolbox.py @@ -2,7 +2,7 @@ def _ft_hastoolbox(*args, **kwargs): - """ + r""" FT_HASTOOLBOX tests whether an external toolbox is installed. Optionally it will try to determine the path to the toolbox and install it automatically. @@ -19,9 +19,12 @@ def _ft_hastoolbox(*args, **kwargs): silent = 1 means that it will not give feedback - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/ft_hastoolbox.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/ft_hastoolbox.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_hastoolbox", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_ft_headcoordinates.py b/spm/__external/__fieldtrip/__fileio/_ft_headcoordinates.py index 398ba38d..7e03aa0f 100644 --- a/spm/__external/__fieldtrip/__fileio/_ft_headcoordinates.py +++ b/spm/__external/__fieldtrip/__fileio/_ft_headcoordinates.py @@ -2,7 +2,7 @@ def _ft_headcoordinates(*args, **kwargs): - """ + r""" FT_HEADCOORDINATES returns the homogeneous coordinate transformation matrix that converts the specified fiducials in any coordinate system (e.g. MRI) into the rotated and translated headcoordinate system. @@ -47,8 +47,8 @@ def _ft_headcoordinates(*args, **kwargs): according to CTF conventions: coordsys = 'ctf' according to 4D conventions: coordsys = '4d' or 'bti' according to EEGLAB conventions: coordsys = 'eeglab' - according to NEUROMAG conventions: coordsys = 'itab' - according to ITAB conventions: coordsys = 'neuromag' + according to NEUROMAG conventions: coordsys = 'neuromag' + according to ITAB conventions: coordsys = 'itab' according to YOKOGAWA conventions: coordsys = 'yokogawa' according to ASA conventions: coordsys = 'asa' according to FTG conventions: coordsys = 'ftg' @@ -97,9 +97,12 @@ def _ft_headcoordinates(*args, **kwargs): See also FT_ELECTRODEREALIGN, FT_VOLUMEREALIGN, FT_INTERACTIVEREALIGN, FT_AFFINECOORDINATES, COORDSYS2LABEL - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/ft_headcoordinates.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/ft_headcoordinates.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_headcoordinates", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_ft_headmodeltype.py b/spm/__external/__fieldtrip/__fileio/_ft_headmodeltype.py index 4fedf212..b75ca372 100644 --- a/spm/__external/__fieldtrip/__fileio/_ft_headmodeltype.py +++ b/spm/__external/__fieldtrip/__fileio/_ft_headmodeltype.py @@ -2,7 +2,7 @@ def _ft_headmodeltype(*args, **kwargs): - """ + r""" FT_HEADMODELTYPE determines the type of volume conduction model of the head Use as @@ -38,9 +38,12 @@ def _ft_headmodeltype(*args, **kwargs): FT_HEADMODEL_SINGLESHELL, FT_HEADMODEL_INTERPOLATE - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/ft_headmodeltype.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/ft_headmodeltype.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_headmodeltype", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_ft_info.py b/spm/__external/__fieldtrip/__fileio/_ft_info.py index 8df6d084..02cf7441 100644 --- a/spm/__external/__fieldtrip/__fileio/_ft_info.py +++ b/spm/__external/__fieldtrip/__fileio/_ft_info.py @@ -2,7 +2,7 @@ def _ft_info(*args, **kwargs): - """ + r""" FT_INFO prints an info message on screen, depending on the verbosity settings of the calling high-level FieldTrip function. @@ -37,9 +37,12 @@ def _ft_info(*args, **kwargs): See also FT_ERROR, FT_WARNING, FT_NOTICE, FT_INFO, FT_DEBUG, ERROR, WARNING - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/ft_info.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/ft_info.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_info", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_ft_notice.py b/spm/__external/__fieldtrip/__fileio/_ft_notice.py index 8f51f1f1..f2ddfb3c 100644 --- a/spm/__external/__fieldtrip/__fileio/_ft_notice.py +++ b/spm/__external/__fieldtrip/__fileio/_ft_notice.py @@ -2,7 +2,7 @@ def _ft_notice(*args, **kwargs): - """ + r""" FT_NOTICE prints a notice message on screen, depending on the verbosity settings of the calling high-level FieldTrip function. @@ -37,9 +37,12 @@ def _ft_notice(*args, **kwargs): See also FT_ERROR, FT_WARNING, FT_NOTICE, FT_INFO, FT_DEBUG, ERROR, WARNING - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/ft_notice.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/ft_notice.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_notice", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_ft_notification.py b/spm/__external/__fieldtrip/__fileio/_ft_notification.py index 8764832e..cb2a5b5f 100644 --- a/spm/__external/__fieldtrip/__fileio/_ft_notification.py +++ b/spm/__external/__fieldtrip/__fileio/_ft_notification.py @@ -2,7 +2,7 @@ def _ft_notification(*args, **kwargs): - """ + r""" FT_NOTIFICATION works mostly like the WARNING and ERROR commands in MATLAB and is called by FT_ERROR, FT_WARNING, FT_NOTICE, FT_INFO and FT_DEBUG. Please note that you should not call this function directly. @@ -27,9 +27,12 @@ def _ft_notification(*args, **kwargs): See also DEFAULTID, FT_ERROR, FT_WARNING, FT_NOTICE, FT_INFO, FT_DEBUG, ERROR, WARNING - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/ft_notification.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/ft_notification.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_notification", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_ft_platform_supports.py b/spm/__external/__fieldtrip/__fileio/_ft_platform_supports.py index c82f9ad1..85347348 100644 --- a/spm/__external/__fieldtrip/__fileio/_ft_platform_supports.py +++ b/spm/__external/__fieldtrip/__fileio/_ft_platform_supports.py @@ -2,7 +2,7 @@ def _ft_platform_supports(*args, **kwargs): - """ + r""" FT_PLATFORM_SUPPORTS returns a boolean indicating whether the current platform supports a specific capability @@ -46,9 +46,12 @@ def _ft_platform_supports(*args, **kwargs): See also FT_VERSION, VERSION, VER, VERLESSTHAN - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/ft_platform_supports.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/ft_platform_supports.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_platform_supports", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_ft_progress.py b/spm/__external/__fieldtrip/__fileio/_ft_progress.py index 11e97e76..9fb8ddbe 100644 --- a/spm/__external/__fieldtrip/__fileio/_ft_progress.py +++ b/spm/__external/__fieldtrip/__fileio/_ft_progress.py @@ -2,7 +2,7 @@ def _ft_progress(*args, **kwargs): - """ + r""" FT_PROGRESS shows a graphical or non-graphical progress indication similar to the standard WAITBAR function, but with the extra option of printing it in the command window as a plain text string or as a rotating dial. Alternatively, you can also @@ -34,9 +34,12 @@ def _ft_progress(*args, **kwargs): See also WAITBAR - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/ft_progress.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/ft_progress.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_progress", *args, **kwargs, nargout=0) diff --git a/spm/__external/__fieldtrip/__fileio/_ft_scalingfactor.py b/spm/__external/__fieldtrip/__fileio/_ft_scalingfactor.py index f56597b7..5363c6b9 100644 --- a/spm/__external/__fieldtrip/__fileio/_ft_scalingfactor.py +++ b/spm/__external/__fieldtrip/__fileio/_ft_scalingfactor.py @@ -2,7 +2,7 @@ def _ft_scalingfactor(*args, **kwargs): - """ + r""" FT_SCALINGFACTOR determines the scaling factor from old to new units, i.e. it returns a number with which the data in the old units needs to be multiplied to get it expressed in the new units. @@ -62,9 +62,12 @@ def _ft_scalingfactor(*args, **kwargs): See also http://en.wikipedia.org/wiki/International_System_of_Units - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/ft_scalingfactor.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/ft_scalingfactor.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_scalingfactor", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_ft_senslabel.py b/spm/__external/__fieldtrip/__fileio/_ft_senslabel.py index c1877546..d6affad1 100644 --- a/spm/__external/__fieldtrip/__fileio/_ft_senslabel.py +++ b/spm/__external/__fieldtrip/__fileio/_ft_senslabel.py @@ -2,7 +2,7 @@ def _ft_senslabel(*args, **kwargs): - """ + r""" FT_SENSLABEL returns a list of predefined sensor labels given the EEG or MEG system type which can be used to detect the type of data. @@ -60,9 +60,12 @@ def _ft_senslabel(*args, **kwargs): See also FT_SENSTYPE, FT_CHANNELSELECTION - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/ft_senslabel.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/ft_senslabel.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_senslabel", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_ft_senstype.py b/spm/__external/__fieldtrip/__fileio/_ft_senstype.py index aa309788..d4cb52e5 100644 --- a/spm/__external/__fieldtrip/__fileio/_ft_senstype.py +++ b/spm/__external/__fieldtrip/__fileio/_ft_senstype.py @@ -2,7 +2,7 @@ def _ft_senstype(*args, **kwargs): - """ + r""" FT_SENSTYPE determines the type of acquisition device by looking at the channel names and comparing them with predefined lists. @@ -43,6 +43,7 @@ def _ft_senstype(*args, **kwargs): 'magview' this is a BabySQUID system from Tristan Technologies 'fieldline_v2' 'fieldline_v3' + 'quspin_neuro1' this can be from a LVM or a FIF file 'egi32' 'egi64' 'egi128' @@ -90,7 +91,7 @@ def _ft_senstype(*args, **kwargs): If you specify the desired type, this function will return a boolean flag indicating true/false depending on the input data. - Besides specifiying a sensor definition (i.e. a grad or elec structure, see + Besides specifying a sensor definition (i.e. a grad or elec structure, see FT_DATATYPE_SENS), it is also possible to give a data structure containing a grad or elec field, or giving a list of channel names (as cell-arrray). So assuming that you have a FieldTrip data structure, any of the following calls would also be fine. @@ -103,9 +104,12 @@ def _ft_senstype(*args, **kwargs): See also FT_SENSLABEL, FT_CHANTYPE, FT_READ_SENS, FT_COMPUTE_LEADFIELD, FT_DATATYPE_SENS - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/ft_senstype.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/ft_senstype.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_senstype", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_ft_setopt.py b/spm/__external/__fieldtrip/__fileio/_ft_setopt.py new file mode 100644 index 00000000..b80b5477 --- /dev/null +++ b/spm/__external/__fieldtrip/__fileio/_ft_setopt.py @@ -0,0 +1,25 @@ +from spm._runtime import Runtime + + +def _ft_setopt(*args, **kwargs): + r""" + FT_SETOPT assigns a value to an configuration structure or to a cell-array + with key-value pairs. It will overwrite the option if already present, or + append the option if not present. + + Use as + s = ft_setopt(s, key, val) + where s is a structure or a cell-array. + + See also FT_GETOPT, FT_CHECKOPT, FT_DELETEOPT + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/ft_setopt.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("ft_setopt", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_ft_struct2char.py b/spm/__external/__fieldtrip/__fileio/_ft_struct2char.py new file mode 100644 index 00000000..4c49905a --- /dev/null +++ b/spm/__external/__fieldtrip/__fileio/_ft_struct2char.py @@ -0,0 +1,23 @@ +from spm._runtime import Runtime + + +def _ft_struct2char(*args, **kwargs): + r""" + FT_STRUCT2CHAR converts all string elements in a structure + into char-arrays. + + Use as + x = ft_struct2char(x) + + See also FT_STRUCT2STRING, FT_STRUCT2SINGLE, FT_STRUCT2DOUBLE + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/ft_struct2char.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("ft_struct2char", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_ft_version.py b/spm/__external/__fieldtrip/__fileio/_ft_version.py index e1d19f0a..488accc9 100644 --- a/spm/__external/__fieldtrip/__fileio/_ft_version.py +++ b/spm/__external/__fieldtrip/__fileio/_ft_version.py @@ -2,7 +2,7 @@ def _ft_version(*args, **kwargs): - """ + r""" FT_VERSION returns the version of FieldTrip and the path where it is installed FieldTrip is not released with version numbers as "2.0", "2.1", etc. Instead, we @@ -40,9 +40,12 @@ def _ft_version(*args, **kwargs): See also FT_PLATFORM_SUPPORTS, VERSION, VER, VERLESSTHAN - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/ft_version.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/ft_version.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_version", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_ft_warning.py b/spm/__external/__fieldtrip/__fileio/_ft_warning.py index 2ddb31d9..0ed422c3 100644 --- a/spm/__external/__fieldtrip/__fileio/_ft_warning.py +++ b/spm/__external/__fieldtrip/__fileio/_ft_warning.py @@ -2,7 +2,7 @@ def _ft_warning(*args, **kwargs): - """ + r""" FT_WARNING prints a warning message on screen, depending on the verbosity settings of the calling high-level FieldTrip function. This function works similar to the standard WARNING function, but also features the "once" mode. @@ -38,9 +38,12 @@ def _ft_warning(*args, **kwargs): See also FT_ERROR, FT_WARNING, FT_NOTICE, FT_INFO, FT_DEBUG, ERROR, WARNING - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/ft_warning.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/ft_warning.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_warning", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_ft_warp_apply.py b/spm/__external/__fieldtrip/__fileio/_ft_warp_apply.py index 3c58693a..415175b0 100644 --- a/spm/__external/__fieldtrip/__fileio/_ft_warp_apply.py +++ b/spm/__external/__fieldtrip/__fileio/_ft_warp_apply.py @@ -2,50 +2,50 @@ def _ft_warp_apply(*args, **kwargs): - """ + r""" FT_WARP_APPLY performs a 3D linear or nonlinear transformation on the input coordinates, similar to those in AIR. You can find technical documentation on warping in general at http://air.bmap.ucla.edu/AIR5 Use as - [output] = ft_warp_apply(M, input, method, tol) + [output] = ft_warp_apply(transform, input, method, tol) where - M vector or matrix with warping parameters - input Nx3 matrix with input coordinates - output Nx3 matrix with the transformed or warped output coordinates - method string describing the transformation or warping method - tol (optional) value determining the numerical precision of the - output, to deal with numerical round-off imprecisions due to - the warping + transform vector or matrix with warping parameters + input Nx3 matrix with input coordinates + output Nx3 matrix with the transformed or warped output coordinates + method string describing the transformation or warping method + tol (optional) value determining the numerical precision of the + output, to deal with numerical round-off imprecisions due to + the warping The methods 'nonlin0', 'nonlin2' ... 'nonlin5' specify a polynomial transformation. - The size of the transformation matrix depends on the order of the warp + The size of the specified transform depends on the order of the warp zeroth order : 1 parameter per coordinate (translation) first order : 4 parameters per coordinate (total 12, affine) second order : 10 parameters per coordinate third order : 20 parameters per coordinate fourth order : 35 parameters per coordinate fifth order : 56 parameters per coordinate (total 168) - The size of M should be 3xP, where P is the number of parameters per coordinate. - Alternatively, you can specify the method to be 'nonlinear', in which case the - order will be determined from the size of the matrix M. + The size of the specified transform should be 3xP, where P is the number of + parameters per coordinate. Alternatively, you can specify the method to be + 'nonlinear', in which case the order will be determined from the size of the + specified transform. - If the method 'homogeneous' is selected, the input matrix M should be a 4x4 + If the method 'homogeneous' is selected, the specified transform should be a 4x4 homogenous transformation matrix. - If the method 'sn2individual' or 'individual2sn' is selected, the input M should be - a structure with the nonlinear spatial normalisation (warping) parameters created - by SPM8 or SPM12 for alignment between an individual subject and a template brain. - When using the 'old' method, M will have subfields like this: + If the method 'sn2individual' or 'individual2sn' is selected, the specified + transform should be a structure with the nonlinear spatial normalisation (warping) + parameters created by SPM8 or SPM12 for alignment between an individual subject and + a template brain. The specified transform is a structure with fields like this: Affine: [4x4 double] Tr: [4-D double] VF: [1x1 struct] VG: [1x1 struct] flags: [1x1 struct] - When using the 'new' or the 'mars' method, M will have subfields like this: If any other method is selected, it is assumed that it specifies the name of an - auxiliary function that will, when given the input parameter vector M, return an + auxiliary function that will, when given the specified transform vector, return an 4x4 homogenous transformation matrix. Supplied functions are 'translate', 'rotate', 'scale', 'rigidbody', 'globalrescale', 'traditional', 'affine', 'perspective', 'quaternion'. @@ -54,9 +54,12 @@ def _ft_warp_apply(*args, **kwargs): MAKETFORM, AFFINE2D, AFFINE3D - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/ft_warp_apply.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/ft_warp_apply.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_warp_apply", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_getdatfield.py b/spm/__external/__fieldtrip/__fileio/_getdatfield.py index e084032c..ae723981 100644 --- a/spm/__external/__fieldtrip/__fileio/_getdatfield.py +++ b/spm/__external/__fieldtrip/__fileio/_getdatfield.py @@ -2,7 +2,7 @@ def _getdatfield(*args, **kwargs): - """ + r""" GETDATFIELD Use as @@ -12,9 +12,12 @@ def _getdatfield(*args, **kwargs): See also GETDIMORD, GETDIMSIZ - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/getdatfield.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/getdatfield.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("getdatfield", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_getdimord.py b/spm/__external/__fieldtrip/__fileio/_getdimord.py index d992a8f6..fc402d67 100644 --- a/spm/__external/__fieldtrip/__fileio/_getdimord.py +++ b/spm/__external/__fieldtrip/__fileio/_getdimord.py @@ -2,7 +2,7 @@ def _getdimord(*args, **kwargs): - """ + r""" GETDIMORD determine the dimensions and order of a data field in a FieldTrip structure. @@ -12,9 +12,12 @@ def _getdimord(*args, **kwargs): See also GETDIMSIZ, GETDATFIELD, FIXDIMORD - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/getdimord.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/getdimord.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("getdimord", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_getdimsiz.py b/spm/__external/__fieldtrip/__fileio/_getdimsiz.py index c6f67a8d..72af2e6c 100644 --- a/spm/__external/__fieldtrip/__fileio/_getdimsiz.py +++ b/spm/__external/__fieldtrip/__fileio/_getdimsiz.py @@ -2,7 +2,7 @@ def _getdimsiz(*args, **kwargs): - """ + r""" GETDIMSIZ Use as @@ -23,9 +23,12 @@ def _getdimsiz(*args, **kwargs): See also GETDIMORD, GETDATFIELD - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/getdimsiz.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/getdimsiz.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("getdimsiz", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_getorthoviewpos.py b/spm/__external/__fieldtrip/__fileio/_getorthoviewpos.py index af310744..32fe4e02 100644 --- a/spm/__external/__fieldtrip/__fileio/_getorthoviewpos.py +++ b/spm/__external/__fieldtrip/__fileio/_getorthoviewpos.py @@ -2,7 +2,7 @@ def _getorthoviewpos(*args, **kwargs): - """ + r""" GETORTHOVIEWPOS obtains the orthographic projections of 3D positions based on a given coordinate system and viewpoint @@ -15,9 +15,12 @@ def _getorthoviewpos(*args, **kwargs): See alo SETVIEWPOINT, COORDSYS2LABEL - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/getorthoviewpos.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/getorthoviewpos.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("getorthoviewpos", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_getsubfield.py b/spm/__external/__fieldtrip/__fileio/_getsubfield.py index 26361549..8e5169c4 100644 --- a/spm/__external/__fieldtrip/__fileio/_getsubfield.py +++ b/spm/__external/__fieldtrip/__fileio/_getsubfield.py @@ -2,7 +2,7 @@ def _getsubfield(*args, **kwargs): - """ + r""" GETSUBFIELD returns a field from a structure just like the standard GETFIELD function, except that you can also specify nested fields using a '.' in the fieldname. The nesting can be arbitrary deep. @@ -15,9 +15,12 @@ def _getsubfield(*args, **kwargs): See also GETFIELD, ISSUBFIELD, SETSUBFIELD - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/getsubfield.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/getsubfield.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("getsubfield", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_hasricoh.py b/spm/__external/__fieldtrip/__fileio/_hasricoh.py index 055ebe48..9fb0793e 100644 --- a/spm/__external/__fieldtrip/__fileio/_hasricoh.py +++ b/spm/__external/__fieldtrip/__fileio/_hasricoh.py @@ -2,7 +2,7 @@ def _hasricoh(*args, **kwargs): - """ + r""" HASRICOH tests whether the official toolbox for RICOH MEG systems by Ricoh Company, Ltd. is installed or not. Use as @@ -19,9 +19,12 @@ def _hasricoh(*args, **kwargs): See also READ_RICOH_HEADER, READ_RICOH_DATA, READ_RICOH_EVENT, RICOH2GRAD - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/hasricoh.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/hasricoh.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("hasricoh", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_hasyokogawa.py b/spm/__external/__fieldtrip/__fileio/_hasyokogawa.py index 977d0c45..87412b67 100644 --- a/spm/__external/__fieldtrip/__fileio/_hasyokogawa.py +++ b/spm/__external/__fieldtrip/__fileio/_hasyokogawa.py @@ -2,7 +2,7 @@ def _hasyokogawa(*args, **kwargs): - """ + r""" HASYOKOGAWA tests whether the data input toolbox for MEG systems by Yokogawa (www.yokogawa.com, designed by KIT/EagleTechnology) is installed. Only the newest version of the toolbox is accepted. @@ -23,9 +23,12 @@ def _hasyokogawa(*args, **kwargs): YOKOGAWA2GRAD - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/hasyokogawa.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/hasyokogawa.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("hasyokogawa", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_ignorefields.py b/spm/__external/__fieldtrip/__fileio/_ignorefields.py index 81f9c14d..7b9763f7 100644 --- a/spm/__external/__fieldtrip/__fileio/_ignorefields.py +++ b/spm/__external/__fieldtrip/__fileio/_ignorefields.py @@ -2,15 +2,18 @@ def _ignorefields(*args, **kwargs): - """ + r""" IGNOREFIELDS returns a list of fields that can be present in the cfg structure that should be ignored at various places in the code, e.g. for provenance, history, size-checking, etc. - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/ignorefields.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/ignorefields.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ignorefields", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_inflate_file.py b/spm/__external/__fieldtrip/__fileio/_inflate_file.py index 1147e01c..b863ce6d 100644 --- a/spm/__external/__fieldtrip/__fileio/_inflate_file.py +++ b/spm/__external/__fieldtrip/__fileio/_inflate_file.py @@ -2,15 +2,18 @@ def _inflate_file(*args, **kwargs): - """ + r""" INFLATE_FILE helper function to uncompress a compressed file of arbitrary compression type. Returns the full path to the extracted file or directory, which will be located in a temporary location. - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/inflate_file.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/inflate_file.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("inflate_file", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_inifile.py b/spm/__external/__fieldtrip/__fileio/_inifile.py index 7cc5bff4..6e153c5e 100644 --- a/spm/__external/__fieldtrip/__fileio/_inifile.py +++ b/spm/__external/__fieldtrip/__fileio/_inifile.py @@ -2,7 +2,7 @@ def _inifile(*args, **kwargs): - """ + r""" readsett = INIFILE(fileName,operation,keys,style) Creates, reads, or writes data from/to ini (ascii) file. @@ -60,9 +60,12 @@ def _inifile(*args, **kwargs): are used, at least Matlab 6.5 should be used. - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/inifile.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/inifile.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("inifile", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_isdir_or_mkdir.py b/spm/__external/__fieldtrip/__fileio/_isdir_or_mkdir.py index d2c22a03..310f8c82 100644 --- a/spm/__external/__fieldtrip/__fileio/_isdir_or_mkdir.py +++ b/spm/__external/__fieldtrip/__fileio/_isdir_or_mkdir.py @@ -2,16 +2,19 @@ def _isdir_or_mkdir(*args, **kwargs): - """ + r""" ISDIR_OR_MKDIR Checks that a directory exists, or if not, creates the directory and all its parent directories. See also FOPEN_OR_ERROR - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/isdir_or_mkdir.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/isdir_or_mkdir.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("isdir_or_mkdir", *args, **kwargs, nargout=0) diff --git a/spm/__external/__fieldtrip/__fileio/_isricohmegfile.py b/spm/__external/__fieldtrip/__fileio/_isricohmegfile.py index d99e0428..28aefef8 100644 --- a/spm/__external/__fieldtrip/__fileio/_isricohmegfile.py +++ b/spm/__external/__fieldtrip/__fileio/_isricohmegfile.py @@ -2,15 +2,18 @@ def _isricohmegfile(*args, **kwargs): - """ + r""" The extentions, .con, .ave, and .mrk are common between Ricoh and Yokogawa systems. isricohmegfile idetifies whether the file is generated from Ricoh system or not. This function uses a function in YOKOGAWA_MEG_READER toolbox, getYkgwHdrSystem. - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/isricohmegfile.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/isricohmegfile.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("isricohmegfile", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_issubfield.py b/spm/__external/__fieldtrip/__fileio/_issubfield.py index e4c941ee..1270f5fe 100644 --- a/spm/__external/__fieldtrip/__fileio/_issubfield.py +++ b/spm/__external/__fieldtrip/__fileio/_issubfield.py @@ -2,7 +2,7 @@ def _issubfield(*args, **kwargs): - """ + r""" ISSUBFIELD tests for the presence of a field in a structure just like the standard Matlab ISFIELD function, except that you can also specify nested fields using a '.' in the fieldname. The nesting can be arbitrary deep. @@ -18,9 +18,12 @@ def _issubfield(*args, **kwargs): See also ISFIELD, GETSUBFIELD, SETSUBFIELD - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/issubfield.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/issubfield.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("issubfield", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_istrue.py b/spm/__external/__fieldtrip/__fileio/_istrue.py index d4b7d216..b94d9c41 100644 --- a/spm/__external/__fieldtrip/__fileio/_istrue.py +++ b/spm/__external/__fieldtrip/__fileio/_istrue.py @@ -2,14 +2,17 @@ def _istrue(*args, **kwargs): - """ + r""" ISTRUE converts an input argument like "yes/no", "true/false" or "on/off" into a boolean. If the input is boolean, then it will remain like that. - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/istrue.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/istrue.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("istrue", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_itab2grad.py b/spm/__external/__fieldtrip/__fileio/_itab2grad.py index 20649612..08387a6e 100644 --- a/spm/__external/__fieldtrip/__fileio/_itab2grad.py +++ b/spm/__external/__fieldtrip/__fileio/_itab2grad.py @@ -2,7 +2,7 @@ def _itab2grad(*args, **kwargs): - """ + r""" ITAB2GRAD converts the original Chieti ITAB header structure into a gradiometer definition that is compatible with FieldTrip forward and inverse computations @@ -11,9 +11,12 @@ def _itab2grad(*args, **kwargs): FT_READ_SENS, FT_READ_HEADER - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/itab2grad.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/itab2grad.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("itab2grad", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_jaga16_packet.py b/spm/__external/__fieldtrip/__fileio/_jaga16_packet.py index 054ea03b..0566a931 100644 --- a/spm/__external/__fieldtrip/__fileio/_jaga16_packet.py +++ b/spm/__external/__fieldtrip/__fileio/_jaga16_packet.py @@ -2,13 +2,16 @@ def _jaga16_packet(*args, **kwargs): - """ + r""" JAGA16_PACKET converts the JAGA16 byte stream into packets - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/jaga16_packet.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/jaga16_packet.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("jaga16_packet", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_keyval.py b/spm/__external/__fieldtrip/__fileio/_keyval.py index 1fdd74e4..d6e41f58 100644 --- a/spm/__external/__fieldtrip/__fileio/_keyval.py +++ b/spm/__external/__fieldtrip/__fileio/_keyval.py @@ -2,7 +2,7 @@ def _keyval(*args, **kwargs): - """ + r""" KEYVAL returns the value that corresponds to the requested key in a key-value pair list of variable input arguments @@ -12,9 +12,12 @@ def _keyval(*args, **kwargs): See also VARARGIN - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/keyval.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/keyval.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("keyval", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_labelcmb2indx.py b/spm/__external/__fieldtrip/__fileio/_labelcmb2indx.py index 550bd608..788fa9f3 100644 --- a/spm/__external/__fieldtrip/__fileio/_labelcmb2indx.py +++ b/spm/__external/__fieldtrip/__fileio/_labelcmb2indx.py @@ -2,7 +2,7 @@ def _labelcmb2indx(*args, **kwargs): - """ + r""" LABELCMB2INDX computes an array with indices, corresponding to the order in a list of labels, for an Nx2 list of label combinations @@ -30,9 +30,12 @@ def _labelcmb2indx(*args, **kwargs): This is a helper function to FT_CONNECTIVITYANALYSIS - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/labelcmb2indx.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/labelcmb2indx.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("labelcmb2indx", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_liberty_csv.py b/spm/__external/__fieldtrip/__fileio/_liberty_csv.py index 90fba564..7b5f8e09 100644 --- a/spm/__external/__fieldtrip/__fileio/_liberty_csv.py +++ b/spm/__external/__fieldtrip/__fileio/_liberty_csv.py @@ -2,7 +2,7 @@ def _liberty_csv(*args, **kwargs): - """ + r""" LIBERTY_CSV reads motion capture data from the Polhemus Liberty system Use as @@ -11,12 +11,15 @@ def _liberty_csv(*args, **kwargs): evt = liberty_csv(filename, hdr); See also FT_FILETYPE, FT_READ_HEADER, FT_READ_DATA, FT_READ_EVENT - See also BIDS_TSV, BIOPAC_ACQ, BUCN_TXT, EEGSYNTH_TSV, EVENTS_TSV, LIBERTY_CSV, MAUS_TEXTGRID, MOTION_C3D, OPENBCI_TXT, OPENPOSE_KEYPOINTS, OPENSIGNALS_TXT, OPENVIBE_MAT, OPM_FIL, QUALISYS_TSV, SCCN_XDF, SENSYS_CSV, SNIRF, SPIKEGLX_BIN, UNICORN_CSV, XSENS_MVNX + See also BIDS_TSV, BIOPAC_ACQ, BUCN_TXT, EEGSYNTH_TSV, EVENTS_TSV, LIBERTY_CSV, MAUS_TEXTGRID, MOTION_C3D, OPENBCI_TXT, OPENPOSE_KEYPOINTS, OPENSIGNALS_TXT, OPENVIBE_MAT, OPM_FIL, QUALISYS_TSV, QUSPIN_LVM, SCCN_XDF, SENSYS_CSV, SNIRF, SPIKEGLX_BIN, UNICORN_CSV, XSENS_MVNX - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/liberty_csv.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/liberty_csv.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("liberty_csv", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_littleendian.py b/spm/__external/__fieldtrip/__fileio/_littleendian.py index c0eafbd2..53e80cd6 100644 --- a/spm/__external/__fieldtrip/__fileio/_littleendian.py +++ b/spm/__external/__fieldtrip/__fileio/_littleendian.py @@ -2,7 +2,7 @@ def _littleendian(*args, **kwargs): - """ + r""" LITTLEENDIAN returns 1 (true) on a little endian machine, e.g. with an Intel or AMD, or 0 (false) otherwise @@ -14,9 +14,12 @@ def _littleendian(*args, **kwargs): See also BIGENDIAN, SWAPBYTES, TYPECAST - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/littleendian.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/littleendian.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("littleendian", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_load_curry_data_file.py b/spm/__external/__fieldtrip/__fileio/_load_curry_data_file.py index 64c8c157..4cca7ac7 100644 --- a/spm/__external/__fieldtrip/__fileio/_load_curry_data_file.py +++ b/spm/__external/__fieldtrip/__fileio/_load_curry_data_file.py @@ -2,14 +2,17 @@ def _load_curry_data_file(*args, **kwargs): - """ + r""" load_curry_data_file is a function. [orig, data] = load_curry_data_file(datafile) - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/load_curry_data_file.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/load_curry_data_file.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("load_curry_data_file", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_loadama.py b/spm/__external/__fieldtrip/__fileio/_loadama.py index 5634303d..3fb3cf87 100644 --- a/spm/__external/__fieldtrip/__fileio/_loadama.py +++ b/spm/__external/__fieldtrip/__fileio/_loadama.py @@ -2,7 +2,7 @@ def _loadama(*args, **kwargs): - """ + r""" LOADAMA read an inverted A-matrix and associated geometry information from an ama file that was written by Tom Oostendorp's DIPOLI @@ -12,9 +12,12 @@ def _loadama(*args, **kwargs): See also LOADTRI, LOADMAT - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/loadama.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/loadama.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("loadama", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_loadvar.py b/spm/__external/__fieldtrip/__fileio/_loadvar.py index 880fc144..1e99720c 100644 --- a/spm/__external/__fieldtrip/__fileio/_loadvar.py +++ b/spm/__external/__fieldtrip/__fileio/_loadvar.py @@ -2,15 +2,18 @@ def _loadvar(*args, **kwargs): - """ + r""" LOADVAR is a helper function for cfg.inputfile See also SAVEVAR - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/loadvar.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/loadvar.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("loadvar", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_makessense.py b/spm/__external/__fieldtrip/__fileio/_makessense.py index 3ef106eb..612e98dd 100644 --- a/spm/__external/__fieldtrip/__fileio/_makessense.py +++ b/spm/__external/__fieldtrip/__fileio/_makessense.py @@ -2,7 +2,7 @@ def _makessense(*args, **kwargs): - """ + r""" MAKESSENSE determines whether a some specific fields in a FieldTrip data structure make sense. @@ -12,9 +12,12 @@ def _makessense(*args, **kwargs): See also GETDIMORD, GETDIMSIZ, GETDATFIELD - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/makessense.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/makessense.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("makessense", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_mat2ades.py b/spm/__external/__fieldtrip/__fileio/_mat2ades.py index 27867306..da945e32 100644 --- a/spm/__external/__fieldtrip/__fileio/_mat2ades.py +++ b/spm/__external/__fieldtrip/__fileio/_mat2ades.py @@ -2,7 +2,7 @@ def _mat2ades(*args, **kwargs): - """ + r""" write in the current folder ADES and DAT files from matrix in MATLAB workspace data = matrix of data (nbchannel * time points) - the data have to be in microVolt fileName = string of the output files without extension ; the ades and dat files will have the same name @@ -17,9 +17,12 @@ def _mat2ades(*args, **kwargs): Modified by Robert Oostenveld - February 2019 - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/mat2ades.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/mat2ades.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("mat2ades", *args, **kwargs, nargout=0) diff --git a/spm/__external/__fieldtrip/__fileio/_match_str.py b/spm/__external/__fieldtrip/__fileio/_match_str.py index 7ae6aa94..cc63942a 100644 --- a/spm/__external/__fieldtrip/__fileio/_match_str.py +++ b/spm/__external/__fieldtrip/__fileio/_match_str.py @@ -2,7 +2,7 @@ def _match_str(*args, **kwargs): - """ + r""" MATCH_STR looks for matching labels in two lists of strings and returns the indices into both the 1st and 2nd list of the matches. They will be ordered according to the first input argument. @@ -20,9 +20,12 @@ def _match_str(*args, **kwargs): size of the input lists is meaningful. - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/match_str.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/match_str.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("match_str", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_maus_textgrid.py b/spm/__external/__fieldtrip/__fileio/_maus_textgrid.py index 89fb643b..ebc3206a 100644 --- a/spm/__external/__fieldtrip/__fileio/_maus_textgrid.py +++ b/spm/__external/__fieldtrip/__fileio/_maus_textgrid.py @@ -2,7 +2,7 @@ def _maus_textgrid(*args, **kwargs): - """ + r""" MAUS_TEXTGRID reads speech segments from a file that has been processed with MAUS see https://clarin.phonetik.uni-muenchen.de/BASWebServices @@ -15,12 +15,15 @@ def _maus_textgrid(*args, **kwargs): corresponding wav file with the same filename in the same directory. See also FT_FILETYPE, FT_READ_HEADER, FT_READ_DATA, FT_READ_EVENT - See also BIDS_TSV, BIOPAC_ACQ, BUCN_TXT, EEGSYNTH_TSV, EVENTS_TSV, LIBERTY_CSV, MAUS_TEXTGRID, MOTION_C3D, OPENBCI_TXT, OPENPOSE_KEYPOINTS, OPENSIGNALS_TXT, OPENVIBE_MAT, OPM_FIL, QUALISYS_TSV, SCCN_XDF, SENSYS_CSV, SNIRF, SPIKEGLX_BIN, UNICORN_CSV, XSENS_MVNX + See also BIDS_TSV, BIOPAC_ACQ, BUCN_TXT, EEGSYNTH_TSV, EVENTS_TSV, LIBERTY_CSV, MAUS_TEXTGRID, MOTION_C3D, OPENBCI_TXT, OPENPOSE_KEYPOINTS, OPENSIGNALS_TXT, OPENVIBE_MAT, OPM_FIL, QUALISYS_TSV, QUSPIN_LVM, SCCN_XDF, SENSYS_CSV, SNIRF, SPIKEGLX_BIN, UNICORN_CSV, XSENS_MVNX - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/maus_textgrid.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/maus_textgrid.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("maus_textgrid", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_mne2grad.py b/spm/__external/__fieldtrip/__fileio/_mne2grad.py index 47235312..db95c245 100644 --- a/spm/__external/__fieldtrip/__fileio/_mne2grad.py +++ b/spm/__external/__fieldtrip/__fileio/_mne2grad.py @@ -2,7 +2,7 @@ def _mne2grad(*args, **kwargs): - """ + r""" MNE2GRAD converts a header from a fif file that was read using the MNE toolbox into a gradiometer structure that can be understood by the FieldTrip low-level forward and inverse routines. @@ -17,9 +17,12 @@ def _mne2grad(*args, **kwargs): See also CTF2GRAD, BTI2GRAD - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/mne2grad.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/mne2grad.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("mne2grad", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_motion_c3d.py b/spm/__external/__fieldtrip/__fileio/_motion_c3d.py index 23c9e6bb..b1eabf8f 100644 --- a/spm/__external/__fieldtrip/__fileio/_motion_c3d.py +++ b/spm/__external/__fieldtrip/__fileio/_motion_c3d.py @@ -2,7 +2,7 @@ def _motion_c3d(*args, **kwargs): - """ + r""" MOTION_C3D reads motion tracking data from a C3D file, see https://www.c3d.org Use as @@ -11,12 +11,15 @@ def _motion_c3d(*args, **kwargs): evt = motion_c3d(filename, hdr); See also FT_FILETYPE, FT_READ_HEADER, FT_READ_DATA, FT_READ_EVENT - See also BIDS_TSV, BIOPAC_ACQ, BUCN_TXT, EEGSYNTH_TSV, EVENTS_TSV, LIBERTY_CSV, MAUS_TEXTGRID, MOTION_C3D, OPENBCI_TXT, OPENPOSE_KEYPOINTS, OPENSIGNALS_TXT, OPENVIBE_MAT, OPM_FIL, QUALISYS_TSV, SCCN_XDF, SENSYS_CSV, SNIRF, SPIKEGLX_BIN, UNICORN_CSV, XSENS_MVNX + See also BIDS_TSV, BIOPAC_ACQ, BUCN_TXT, EEGSYNTH_TSV, EVENTS_TSV, LIBERTY_CSV, MAUS_TEXTGRID, MOTION_C3D, OPENBCI_TXT, OPENPOSE_KEYPOINTS, OPENSIGNALS_TXT, OPENVIBE_MAT, OPM_FIL, QUALISYS_TSV, QUSPIN_LVM, SCCN_XDF, SENSYS_CSV, SNIRF, SPIKEGLX_BIN, UNICORN_CSV, XSENS_MVNX - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/motion_c3d.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/motion_c3d.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("motion_c3d", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_mxDeserialize.py b/spm/__external/__fieldtrip/__fileio/_mxDeserialize.py index e4c70567..c3352bbc 100644 --- a/spm/__external/__fieldtrip/__fileio/_mxDeserialize.py +++ b/spm/__external/__fieldtrip/__fileio/_mxDeserialize.py @@ -2,16 +2,19 @@ def _mxDeserialize(*args, **kwargs): - """ + r""" MXDESERIALIZE reconstructs a MATLAB object from a uint8 array suitable for passing down a comms channel to be reconstructed at the other end. See also MXSERIALIZE - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/mxDeserialize.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/mxDeserialize.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("mxDeserialize", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_mxSerialize.py b/spm/__external/__fieldtrip/__fileio/_mxSerialize.py index 05006ea0..507f42f1 100644 --- a/spm/__external/__fieldtrip/__fileio/_mxSerialize.py +++ b/spm/__external/__fieldtrip/__fileio/_mxSerialize.py @@ -2,16 +2,19 @@ def _mxSerialize(*args, **kwargs): - """ + r""" MXSERIALIZE converts any MATLAB object into a uint8 array suitable for passing down a comms channel to be reconstructed at the other end. See also MXDESERIALIZE - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/mxSerialize.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/mxSerialize.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("mxSerialize", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_ndgrid.py b/spm/__external/__fieldtrip/__fileio/_ndgrid.py index ca9e5af7..a68b1702 100644 --- a/spm/__external/__fieldtrip/__fileio/_ndgrid.py +++ b/spm/__external/__fieldtrip/__fileio/_ndgrid.py @@ -2,7 +2,7 @@ def _ndgrid(*args, **kwargs): - """ + r""" NDGRID Generation of arrays for N-D functions and interpolation. [X1,X2,X3,...] = NDGRID(x1,x2,x3,...) transforms the domain specified by vectors x1,x2,x3, etc. into arrays X1,X2,X3, etc. that @@ -33,9 +33,12 @@ def _ndgrid(*args, **kwargs): See also MESHGRID, INTERPN. - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/ndgrid.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/ndgrid.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ndgrid", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_netmeg2grad.py b/spm/__external/__fieldtrip/__fileio/_netmeg2grad.py index b0d4ea47..74b4950b 100644 --- a/spm/__external/__fieldtrip/__fileio/_netmeg2grad.py +++ b/spm/__external/__fieldtrip/__fileio/_netmeg2grad.py @@ -2,16 +2,19 @@ def _netmeg2grad(*args, **kwargs): - """ + r""" NETMEG2GRAD converts a NetMEG header to a gradiometer structure that can be understood by FieldTrip and Robert Oostenveld's low-level forward and inverse routines. This function only works for headers that have been read using FT_READ_DATA and NETCDF. - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/netmeg2grad.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/netmeg2grad.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("netmeg2grad", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_neuralynx_crc.py b/spm/__external/__fieldtrip/__fileio/_neuralynx_crc.py index 91bd00ec..89a01a45 100644 --- a/spm/__external/__fieldtrip/__fileio/_neuralynx_crc.py +++ b/spm/__external/__fieldtrip/__fileio/_neuralynx_crc.py @@ -2,7 +2,7 @@ def _neuralynx_crc(*args, **kwargs): - """ + r""" NEURALYNX_CRC computes a cyclic redundancy check Use as @@ -11,9 +11,12 @@ def _neuralynx_crc(*args, **kwargs): Note that the CRC is computed along the first dimension. - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/neuralynx_crc.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/neuralynx_crc.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("neuralynx_crc", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_neuralynx_getheader.py b/spm/__external/__fieldtrip/__fileio/_neuralynx_getheader.py index 4677faa4..28f6e34d 100644 --- a/spm/__external/__fieldtrip/__fileio/_neuralynx_getheader.py +++ b/spm/__external/__fieldtrip/__fileio/_neuralynx_getheader.py @@ -2,15 +2,18 @@ def _neuralynx_getheader(*args, **kwargs): - """ + r""" %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% SUBFUNCTION for reading the 16384 byte header from any Neuralynx file %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/neuralynx_getheader.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/neuralynx_getheader.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("neuralynx_getheader", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_neuralynx_timestamp.py b/spm/__external/__fieldtrip/__fileio/_neuralynx_timestamp.py index 19ab5e2c..5c4558d0 100644 --- a/spm/__external/__fieldtrip/__fileio/_neuralynx_timestamp.py +++ b/spm/__external/__fieldtrip/__fileio/_neuralynx_timestamp.py @@ -2,15 +2,18 @@ def _neuralynx_timestamp(*args, **kwargs): - """ + r""" %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% SUBFUNCTION for reading a single timestamp of a single channel Neuralynx file %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/neuralynx_timestamp.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/neuralynx_timestamp.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("neuralynx_timestamp", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_np_read_splitted_fileinfo.py b/spm/__external/__fieldtrip/__fileio/_np_read_splitted_fileinfo.py index 2c14fa9f..986b7b11 100644 --- a/spm/__external/__fieldtrip/__fileio/_np_read_splitted_fileinfo.py +++ b/spm/__external/__fieldtrip/__fileio/_np_read_splitted_fileinfo.py @@ -2,7 +2,7 @@ def _np_read_splitted_fileinfo(*args, **kwargs): - """ + r""" function [np_info] = np_read_splitted_fileinfo (filename, option) @@ -15,9 +15,12 @@ def _np_read_splitted_fileinfo(*args, **kwargs): 02.02.2005 - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/np_read_splitted_fileinfo.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/np_read_splitted_fileinfo.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("np_read_splitted_fileinfo", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_np_readdata.py b/spm/__external/__fieldtrip/__fileio/_np_readdata.py index 626df721..6e809f64 100644 --- a/spm/__external/__fieldtrip/__fileio/_np_readdata.py +++ b/spm/__external/__fieldtrip/__fileio/_np_readdata.py @@ -2,7 +2,7 @@ def _np_readdata(*args, **kwargs): - """ + r""" function [np_data] = np_readdata (filename, idx_begin, data_length, option) @@ -50,9 +50,12 @@ def _np_readdata(*args, **kwargs): 02.02.2005 - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/np_readdata.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/np_readdata.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("np_readdata", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_np_readfileinfo.py b/spm/__external/__fieldtrip/__fileio/_np_readfileinfo.py index f1fee066..63c31ff8 100644 --- a/spm/__external/__fieldtrip/__fileio/_np_readfileinfo.py +++ b/spm/__external/__fieldtrip/__fileio/_np_readfileinfo.py @@ -2,7 +2,7 @@ def _np_readfileinfo(*args, **kwargs): - """ + r""" function [np_info] = np_readfileinfo (filename, option) @@ -86,9 +86,12 @@ def _np_readfileinfo(*args, **kwargs): 02.02.2005 - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/np_readfileinfo.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/np_readfileinfo.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("np_readfileinfo", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_np_readmarker.py b/spm/__external/__fieldtrip/__fileio/_np_readmarker.py index 826b9b3f..dd9490db 100644 --- a/spm/__external/__fieldtrip/__fileio/_np_readmarker.py +++ b/spm/__external/__fieldtrip/__fileio/_np_readmarker.py @@ -2,7 +2,7 @@ def _np_readmarker(*args, **kwargs): - """ + r""" function [np_marker] = np_readmarker (filename, idx_begin, data_length, option) @@ -54,9 +54,12 @@ def _np_readmarker(*args, **kwargs): 22.10.2004 - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/np_readmarker.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/np_readmarker.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("np_readmarker", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_openbci_txt.py b/spm/__external/__fieldtrip/__fileio/_openbci_txt.py index fa495310..dab24254 100644 --- a/spm/__external/__fieldtrip/__fileio/_openbci_txt.py +++ b/spm/__external/__fieldtrip/__fileio/_openbci_txt.py @@ -2,7 +2,7 @@ def _openbci_txt(*args, **kwargs): - """ + r""" OPENBCI_TXT reads time series data from a OpenBCI txt file Use as @@ -11,12 +11,15 @@ def _openbci_txt(*args, **kwargs): evt = openbci_txt(filename, hdr); See also FT_FILETYPE, FT_READ_HEADER, FT_READ_DATA, FT_READ_EVENT - See also BIDS_TSV, BIOPAC_ACQ, BUCN_TXT, EEGSYNTH_TSV, EVENTS_TSV, LIBERTY_CSV, MAUS_TEXTGRID, MOTION_C3D, OPENBCI_TXT, OPENPOSE_KEYPOINTS, OPENSIGNALS_TXT, OPENVIBE_MAT, OPM_FIL, QUALISYS_TSV, SCCN_XDF, SENSYS_CSV, SNIRF, SPIKEGLX_BIN, UNICORN_CSV, XSENS_MVNX + See also BIDS_TSV, BIOPAC_ACQ, BUCN_TXT, EEGSYNTH_TSV, EVENTS_TSV, LIBERTY_CSV, MAUS_TEXTGRID, MOTION_C3D, OPENBCI_TXT, OPENPOSE_KEYPOINTS, OPENSIGNALS_TXT, OPENVIBE_MAT, OPM_FIL, QUALISYS_TSV, QUSPIN_LVM, SCCN_XDF, SENSYS_CSV, SNIRF, SPIKEGLX_BIN, UNICORN_CSV, XSENS_MVNX - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/openbci_txt.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/openbci_txt.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("openbci_txt", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_openpose_keypoints.py b/spm/__external/__fieldtrip/__fileio/_openpose_keypoints.py index 6c942b56..d93babef 100644 --- a/spm/__external/__fieldtrip/__fileio/_openpose_keypoints.py +++ b/spm/__external/__fieldtrip/__fileio/_openpose_keypoints.py @@ -2,7 +2,7 @@ def _openpose_keypoints(*args, **kwargs): - """ + r""" OPENPOSE_KEYPOINTS reads keypoints from a series of OpenPose JSON files Use as @@ -11,12 +11,15 @@ def _openpose_keypoints(*args, **kwargs): evt = openpose_keypoints(filename, hdr); See also FT_FILETYPE, FT_READ_HEADER, FT_READ_DATA, FT_READ_EVENT - See also BIDS_TSV, BIOPAC_ACQ, BUCN_TXT, EEGSYNTH_TSV, EVENTS_TSV, LIBERTY_CSV, MAUS_TEXTGRID, MOTION_C3D, OPENBCI_TXT, OPENPOSE_KEYPOINTS, OPENSIGNALS_TXT, OPENVIBE_MAT, OPM_FIL, QUALISYS_TSV, SCCN_XDF, SENSYS_CSV, SNIRF, SPIKEGLX_BIN, UNICORN_CSV, XSENS_MVNX + See also BIDS_TSV, BIOPAC_ACQ, BUCN_TXT, EEGSYNTH_TSV, EVENTS_TSV, LIBERTY_CSV, MAUS_TEXTGRID, MOTION_C3D, OPENBCI_TXT, OPENPOSE_KEYPOINTS, OPENSIGNALS_TXT, OPENVIBE_MAT, OPM_FIL, QUALISYS_TSV, QUSPIN_LVM, SCCN_XDF, SENSYS_CSV, SNIRF, SPIKEGLX_BIN, UNICORN_CSV, XSENS_MVNX - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/openpose_keypoints.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/openpose_keypoints.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("openpose_keypoints", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_opensignals_txt.py b/spm/__external/__fieldtrip/__fileio/_opensignals_txt.py index 84839468..8cba8bc3 100644 --- a/spm/__external/__fieldtrip/__fileio/_opensignals_txt.py +++ b/spm/__external/__fieldtrip/__fileio/_opensignals_txt.py @@ -2,7 +2,7 @@ def _opensignals_txt(*args, **kwargs): - """ + r""" OPENSIGNALS_TXT reads time series data from a Bitalino OpenSignals txt file Use as @@ -11,12 +11,15 @@ def _opensignals_txt(*args, **kwargs): evt = opensignals_txt(filename, hdr); See also FT_FILETYPE, FT_READ_HEADER, FT_READ_DATA, FT_READ_EVENT - See also BIDS_TSV, BIOPAC_ACQ, BUCN_TXT, EEGSYNTH_TSV, EVENTS_TSV, LIBERTY_CSV, MAUS_TEXTGRID, MOTION_C3D, OPENBCI_TXT, OPENPOSE_KEYPOINTS, OPENSIGNALS_TXT, OPENVIBE_MAT, OPM_FIL, QUALISYS_TSV, SCCN_XDF, SENSYS_CSV, SNIRF, SPIKEGLX_BIN, UNICORN_CSV, XSENS_MVNX + See also BIDS_TSV, BIOPAC_ACQ, BUCN_TXT, EEGSYNTH_TSV, EVENTS_TSV, LIBERTY_CSV, MAUS_TEXTGRID, MOTION_C3D, OPENBCI_TXT, OPENPOSE_KEYPOINTS, OPENSIGNALS_TXT, OPENVIBE_MAT, OPM_FIL, QUALISYS_TSV, QUSPIN_LVM, SCCN_XDF, SENSYS_CSV, SNIRF, SPIKEGLX_BIN, UNICORN_CSV, XSENS_MVNX - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/opensignals_txt.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/opensignals_txt.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("opensignals_txt", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_openvibe_mat.py b/spm/__external/__fieldtrip/__fileio/_openvibe_mat.py index e008df84..49146534 100644 --- a/spm/__external/__fieldtrip/__fileio/_openvibe_mat.py +++ b/spm/__external/__fieldtrip/__fileio/_openvibe_mat.py @@ -2,7 +2,7 @@ def _openvibe_mat(*args, **kwargs): - """ + r""" OPENVIBE_MAT reads EEG data from MATLAB file with OpenVibe data that was converted according to http://openvibe.inria.fr/converting-ov-files-to-matlab/ @@ -12,12 +12,15 @@ def _openvibe_mat(*args, **kwargs): evt = openvibe_mat(filename, hdr); See also FT_FILETYPE, FT_READ_HEADER, FT_READ_DATA, FT_READ_EVENT - See also BIDS_TSV, BIOPAC_ACQ, BUCN_TXT, EEGSYNTH_TSV, EVENTS_TSV, LIBERTY_CSV, MAUS_TEXTGRID, MOTION_C3D, OPENBCI_TXT, OPENPOSE_KEYPOINTS, OPENSIGNALS_TXT, OPENVIBE_MAT, OPM_FIL, QUALISYS_TSV, SCCN_XDF, SENSYS_CSV, SNIRF, SPIKEGLX_BIN, UNICORN_CSV, XSENS_MVNX + See also BIDS_TSV, BIOPAC_ACQ, BUCN_TXT, EEGSYNTH_TSV, EVENTS_TSV, LIBERTY_CSV, MAUS_TEXTGRID, MOTION_C3D, OPENBCI_TXT, OPENPOSE_KEYPOINTS, OPENSIGNALS_TXT, OPENVIBE_MAT, OPM_FIL, QUALISYS_TSV, QUSPIN_LVM, SCCN_XDF, SENSYS_CSV, SNIRF, SPIKEGLX_BIN, UNICORN_CSV, XSENS_MVNX - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/openvibe_mat.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/openvibe_mat.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("openvibe_mat", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_opm_fil.py b/spm/__external/__fieldtrip/__fileio/_opm_fil.py index 34cd0af4..a9cde789 100644 --- a/spm/__external/__fieldtrip/__fileio/_opm_fil.py +++ b/spm/__external/__fieldtrip/__fileio/_opm_fil.py @@ -2,7 +2,7 @@ def _opm_fil(*args, **kwargs): - """ + r""" OPM_FIL reads header, data and events from OPM MEG recordings that are done at the FIL (UCL, London). Use as @@ -13,12 +13,15 @@ def _opm_fil(*args, **kwargs): See https://github.com/tierneytim/OPM for technical details. See also FT_FILETYPE, FT_READ_HEADER, FT_READ_DATA, FT_READ_EVENT - See also BIDS_TSV, BIOPAC_ACQ, BUCN_TXT, EEGSYNTH_TSV, EVENTS_TSV, LIBERTY_CSV, MAUS_TEXTGRID, MOTION_C3D, OPENBCI_TXT, OPENPOSE_KEYPOINTS, OPENSIGNALS_TXT, OPENVIBE_MAT, OPM_FIL, QUALISYS_TSV, SCCN_XDF, SENSYS_CSV, SNIRF, SPIKEGLX_BIN, UNICORN_CSV, XSENS_MVNX + See also BIDS_TSV, BIOPAC_ACQ, BUCN_TXT, EEGSYNTH_TSV, EVENTS_TSV, LIBERTY_CSV, MAUS_TEXTGRID, MOTION_C3D, OPENBCI_TXT, OPENPOSE_KEYPOINTS, OPENSIGNALS_TXT, OPENVIBE_MAT, OPM_FIL, QUALISYS_TSV, QUSPIN_LVM, SCCN_XDF, SENSYS_CSV, SNIRF, SPIKEGLX_BIN, UNICORN_CSV, XSENS_MVNX - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/opm_fil.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/opm_fil.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("opm_fil", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_parameterselection.py b/spm/__external/__fieldtrip/__fileio/_parameterselection.py index f93fd0e4..ff1a2d6d 100644 --- a/spm/__external/__fieldtrip/__fileio/_parameterselection.py +++ b/spm/__external/__fieldtrip/__fileio/_parameterselection.py @@ -2,7 +2,7 @@ def _parameterselection(*args, **kwargs): - """ + r""" PARAMETERSELECTION selects the parameters that are present as a volume in the data add that have a dimension that is compatible with the specified dimensions of the volume, i.e. either as a vector or as a 3D volume. @@ -15,9 +15,12 @@ def _parameterselection(*args, **kwargs): select returns the selected parameters as a cell-array - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/parameterselection.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/parameterselection.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("parameterselection", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_physionet_hea.py b/spm/__external/__fieldtrip/__fileio/_physionet_hea.py new file mode 100644 index 00000000..7bc67435 --- /dev/null +++ b/spm/__external/__fieldtrip/__fileio/_physionet_hea.py @@ -0,0 +1,32 @@ +from spm._runtime import Runtime + + +def _physionet_hea(*args, **kwargs): + r""" + PHYSIONET_HEA reads data from PhysioNet .hea and .dat files + + Use as + hdr = motion_c3d(filename); + dat = motion_c3d(filename, hdr, begsample, endsample, chanindx); + evt = motion_c3d(filename, hdr); + + This is for data hosted on https://physionet.org following the format + documentd on https://wfdb.io + + The format specification is not very clear and example files that I downloaded from + Physionet seem to be inconsistent with the specification. The code below works for + one example, but your mileage may vary. + + See also FT_FILETYPE, FT_READ_HEADER, FT_READ_DATA, FT_READ_EVENT + See also BIDS_TSV, BIOPAC_ACQ, BUCN_TXT, EEGSYNTH_TSV, EVENTS_TSV, LIBERTY_CSV, MAUS_TEXTGRID, MOTION_C3D, OPENBCI_TXT, OPENPOSE_KEYPOINTS, OPENSIGNALS_TXT, OPENVIBE_MAT, OPM_FIL, QUALISYS_TSV, QUSPIN_LVM, SCCN_XDF, SENSYS_CSV, SNIRF, SPIKEGLX_BIN, UNICORN_CSV, XSENS_MVNX + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/physionet_hea.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("physionet_hea", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_plx_orig_header.py b/spm/__external/__fieldtrip/__fileio/_plx_orig_header.py index 6f70cb19..210fc208 100644 --- a/spm/__external/__fieldtrip/__fileio/_plx_orig_header.py +++ b/spm/__external/__fieldtrip/__fileio/_plx_orig_header.py @@ -2,7 +2,7 @@ def _plx_orig_header(*args, **kwargs): - """ + r""" PLX_ORIG_HEADER Extracts the header informations of plx files using the Plexon Offline SDK, which is available from http://www.plexon.com/assets/downloads/sdk/ReadingPLXandDDTfilesinMatlab-mexw.zip @@ -16,9 +16,12 @@ def _plx_orig_header(*args, **kwargs): newer. - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/plx_orig_header.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/plx_orig_header.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("plx_orig_header", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_pos2dim.py b/spm/__external/__fieldtrip/__fileio/_pos2dim.py index c7a7a959..f84ee2cc 100644 --- a/spm/__external/__fieldtrip/__fileio/_pos2dim.py +++ b/spm/__external/__fieldtrip/__fileio/_pos2dim.py @@ -2,7 +2,7 @@ def _pos2dim(*args, **kwargs): - """ + r""" POS2DIM reconstructs the volumetric dimensions from an ordered list of positions. @@ -16,9 +16,12 @@ def _pos2dim(*args, **kwargs): See also POS2TRANSFORM - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/pos2dim.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/pos2dim.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("pos2dim", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_pos2dim3d.py b/spm/__external/__fieldtrip/__fileio/_pos2dim3d.py index cc75ddbf..7eb2ebc6 100644 --- a/spm/__external/__fieldtrip/__fileio/_pos2dim3d.py +++ b/spm/__external/__fieldtrip/__fileio/_pos2dim3d.py @@ -2,7 +2,7 @@ def _pos2dim3d(*args, **kwargs): - """ + r""" POS2DIM3D reconstructs the volumetric dimensions from an ordered list of positions. optionally, the original dim can be provided, and the (2:end) elements are appended to the output. @@ -19,9 +19,12 @@ def _pos2dim3d(*args, **kwargs): See also POS2DIM, POS2TRANSFORM - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/pos2dim3d.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/pos2dim3d.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("pos2dim3d", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_pos2transform.py b/spm/__external/__fieldtrip/__fileio/_pos2transform.py index 327d5507..f6399b99 100644 --- a/spm/__external/__fieldtrip/__fileio/_pos2transform.py +++ b/spm/__external/__fieldtrip/__fileio/_pos2transform.py @@ -2,7 +2,7 @@ def _pos2transform(*args, **kwargs): - """ + r""" POS2TRANSFORM reconstructs a transformation matrix from an ordered list of positions. @@ -16,9 +16,12 @@ def _pos2transform(*args, **kwargs): See also POS2DIM - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/pos2transform.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/pos2transform.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("pos2transform", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_printor.py b/spm/__external/__fieldtrip/__fileio/_printor.py index 4a45e079..2d17a995 100644 --- a/spm/__external/__fieldtrip/__fileio/_printor.py +++ b/spm/__external/__fieldtrip/__fileio/_printor.py @@ -2,16 +2,19 @@ def _printor(*args, **kwargs): - """ + r""" PRINTOR prints a single or multiple strings as "x1, x2, x3 or x4". If there is only one string, that string is returned without additional formatting. See also PRINTAND - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/printor.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/printor.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("printor", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_qualisys_tsv.py b/spm/__external/__fieldtrip/__fileio/_qualisys_tsv.py index 219e8c0f..06e02bc3 100644 --- a/spm/__external/__fieldtrip/__fileio/_qualisys_tsv.py +++ b/spm/__external/__fieldtrip/__fileio/_qualisys_tsv.py @@ -2,7 +2,7 @@ def _qualisys_tsv(*args, **kwargs): - """ + r""" QUALISYS_TSV reads motion tracking data from a Qualisys tsv file. Use as @@ -11,12 +11,15 @@ def _qualisys_tsv(*args, **kwargs): evt = qualysis_tsv(filename, hdr); See also FT_FILETYPE, FT_READ_HEADER, FT_READ_DATA, FT_READ_EVENT - See also BIDS_TSV, BIOPAC_ACQ, BUCN_TXT, EEGSYNTH_TSV, EVENTS_TSV, LIBERTY_CSV, MAUS_TEXTGRID, MOTION_C3D, OPENBCI_TXT, OPENPOSE_KEYPOINTS, OPENSIGNALS_TXT, OPENVIBE_MAT, OPM_FIL, QUALISYS_TSV, SCCN_XDF, SENSYS_CSV, SNIRF, SPIKEGLX_BIN, UNICORN_CSV, XSENS_MVNX + See also BIDS_TSV, BIOPAC_ACQ, BUCN_TXT, EEGSYNTH_TSV, EVENTS_TSV, LIBERTY_CSV, MAUS_TEXTGRID, MOTION_C3D, OPENBCI_TXT, OPENPOSE_KEYPOINTS, OPENSIGNALS_TXT, OPENVIBE_MAT, OPM_FIL, QUALISYS_TSV, QUSPIN_LVM, SCCN_XDF, SENSYS_CSV, SNIRF, SPIKEGLX_BIN, UNICORN_CSV, XSENS_MVNX - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/qualisys_tsv.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/qualisys_tsv.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("qualisys_tsv", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_quaternion.py b/spm/__external/__fieldtrip/__fileio/_quaternion.py index 4ef2e69f..7ad54fd9 100644 --- a/spm/__external/__fieldtrip/__fileio/_quaternion.py +++ b/spm/__external/__fieldtrip/__fileio/_quaternion.py @@ -2,7 +2,7 @@ def _quaternion(*args, **kwargs): - """ + r""" QUATERNION returns the homogenous coordinate transformation matrix corresponding to a coordinate transformation described by 7 quaternion parameters. @@ -20,9 +20,12 @@ def _quaternion(*args, **kwargs): See also TRANSLATE, ROTATE, SCALE, HOMOGENOUS2QUATERNION - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/quaternion.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/quaternion.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("quaternion", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_quspin_lvm.py b/spm/__external/__fieldtrip/__fileio/_quspin_lvm.py new file mode 100644 index 00000000..723c45fb --- /dev/null +++ b/spm/__external/__fieldtrip/__fileio/_quspin_lvm.py @@ -0,0 +1,26 @@ +from spm._runtime import Runtime + + +def _quspin_lvm(*args, **kwargs): + r""" + QUSPIN_LVM reads QuSpin OPM data from the LabVIEW measurement file. + See also https://www.ni.com/docs/en-US/bundle/labview/page/labview-measurement-files.html + + Use as + hdr = quspin_lvm(filename); + dat = quspin_lvm(filename, hdr, begsample, endsample, chanindx); + evt = quspin_lvm(filename, hdr); + + See also FT_FILETYPE, FT_READ_HEADER, FT_READ_DATA, FT_READ_EVENT + See also BIDS_TSV, BIOPAC_ACQ, BUCN_TXT, EEGSYNTH_TSV, EVENTS_TSV, LIBERTY_CSV, MAUS_TEXTGRID, MOTION_C3D, OPENBCI_TXT, OPENPOSE_KEYPOINTS, OPENSIGNALS_TXT, OPENVIBE_MAT, OPM_FIL, QUALISYS_TSV, QUSPIN_LVM, SCCN_XDF, SENSYS_CSV, SNIRF, SPIKEGLX_BIN, UNICORN_CSV, XSENS_MVNX + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/quspin_lvm.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("quspin_lvm", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_read_4d_hdr.py b/spm/__external/__fieldtrip/__fileio/_read_4d_hdr.py index 062f2cde..c829cc8d 100644 --- a/spm/__external/__fieldtrip/__fileio/_read_4d_hdr.py +++ b/spm/__external/__fieldtrip/__fileio/_read_4d_hdr.py @@ -2,7 +2,7 @@ def _read_4d_hdr(*args, **kwargs): - """ + r""" hdr=READ_4D_HDR(datafile, configfile) Collects the required Fieldtrip header data from the data file 'filename' and the associated 'config' file for that data. @@ -10,9 +10,12 @@ def _read_4d_hdr(*args, **kwargs): Adapted from the MSI>>Matlab code written by Eugene Kronberg - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/read_4d_hdr.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/read_4d_hdr.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("read_4d_hdr", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_read_ah5_data.py b/spm/__external/__fieldtrip/__fileio/_read_ah5_data.py index 71054370..0f19a826 100644 --- a/spm/__external/__fieldtrip/__fileio/_read_ah5_data.py +++ b/spm/__external/__fieldtrip/__fileio/_read_ah5_data.py @@ -2,14 +2,17 @@ def _read_ah5_data(*args, **kwargs): - """ + r""" read_ah5_data is a function. [data] = read_ah5_data(filename, hdr, begsample, endsample, chanindx) - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/read_ah5_data.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/read_ah5_data.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("read_ah5_data", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_read_ah5_markers.py b/spm/__external/__fieldtrip/__fileio/_read_ah5_markers.py index 9744e51e..296f7153 100644 --- a/spm/__external/__fieldtrip/__fileio/_read_ah5_markers.py +++ b/spm/__external/__fieldtrip/__fileio/_read_ah5_markers.py @@ -2,14 +2,17 @@ def _read_ah5_markers(*args, **kwargs): - """ + r""" read_ah5_markers is a function. [event] = read_ah5_markers(hdr, filename) - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/read_ah5_markers.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/read_ah5_markers.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("read_ah5_markers", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_read_ahdf5_hdr.py b/spm/__external/__fieldtrip/__fileio/_read_ahdf5_hdr.py index ab35301a..f7e95c7e 100644 --- a/spm/__external/__fieldtrip/__fileio/_read_ahdf5_hdr.py +++ b/spm/__external/__fieldtrip/__fileio/_read_ahdf5_hdr.py @@ -2,13 +2,16 @@ def _read_ahdf5_hdr(*args, **kwargs): - """ + r""" read header - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/read_ahdf5_hdr.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/read_ahdf5_hdr.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("read_ahdf5_hdr", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_read_asa_bnd.py b/spm/__external/__fieldtrip/__fileio/_read_asa_bnd.py index a71119c8..f6ef14c6 100644 --- a/spm/__external/__fieldtrip/__fileio/_read_asa_bnd.py +++ b/spm/__external/__fieldtrip/__fileio/_read_asa_bnd.py @@ -2,14 +2,17 @@ def _read_asa_bnd(*args, **kwargs): - """ + r""" READ_ASA_BND reads an ASA boundary triangulation file converting the units of the vertices to mm - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/read_asa_bnd.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/read_asa_bnd.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("read_asa_bnd", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_read_asa_dip.py b/spm/__external/__fieldtrip/__fileio/_read_asa_dip.py index 12e742c4..634edfa7 100644 --- a/spm/__external/__fieldtrip/__fileio/_read_asa_dip.py +++ b/spm/__external/__fieldtrip/__fileio/_read_asa_dip.py @@ -2,7 +2,7 @@ def _read_asa_dip(*args, **kwargs): - """ + r""" READ_ASA_DIP reads the dipole position, moment and amplitude This importer is designed for fixed-dipole models and only supports a limited number of the options that ASA has. @@ -13,9 +13,12 @@ def _read_asa_dip(*args, **kwargs): See also READ_ASA_VOL, READ_ASA_MRI - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/read_asa_dip.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/read_asa_dip.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("read_asa_dip", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_read_asa_elc.py b/spm/__external/__fieldtrip/__fileio/_read_asa_elc.py index d434b574..5f58fea8 100644 --- a/spm/__external/__fieldtrip/__fileio/_read_asa_elc.py +++ b/spm/__external/__fieldtrip/__fileio/_read_asa_elc.py @@ -2,14 +2,17 @@ def _read_asa_elc(*args, **kwargs): - """ + r""" READ_ASA_ELC reads electrodes from an ASA electrode file converting the units to mm - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/read_asa_elc.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/read_asa_elc.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("read_asa_elc", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_read_asa_mri.py b/spm/__external/__fieldtrip/__fileio/_read_asa_mri.py index 7de54ccc..dbce46c1 100644 --- a/spm/__external/__fieldtrip/__fileio/_read_asa_mri.py +++ b/spm/__external/__fieldtrip/__fileio/_read_asa_mri.py @@ -2,7 +2,7 @@ def _read_asa_mri(*args, **kwargs): - """ + r""" READ_ASA_MRI reads an ASA format MRI file Use as @@ -17,9 +17,12 @@ def _read_asa_mri(*args, **kwargs): PointOnPositiveXAxis -> nasion - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/read_asa_mri.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/read_asa_mri.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("read_asa_mri", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_read_asa_msr.py b/spm/__external/__fieldtrip/__fileio/_read_asa_msr.py index 357bf02b..f8085e47 100644 --- a/spm/__external/__fieldtrip/__fileio/_read_asa_msr.py +++ b/spm/__external/__fieldtrip/__fileio/_read_asa_msr.py @@ -2,14 +2,17 @@ def _read_asa_msr(*args, **kwargs): - """ + r""" READ_ASA_MSR reads EEG or MEG data from an ASA data file converting the units to uV or fT - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/read_asa_msr.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/read_asa_msr.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("read_asa_msr", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_read_asa_vol.py b/spm/__external/__fieldtrip/__fileio/_read_asa_vol.py index 6658b7a5..39509a7e 100644 --- a/spm/__external/__fieldtrip/__fileio/_read_asa_vol.py +++ b/spm/__external/__fieldtrip/__fileio/_read_asa_vol.py @@ -2,7 +2,7 @@ def _read_asa_vol(*args, **kwargs): - """ + r""" READ_ASA_VOL reads an ASA volume conductor file all data is converted to the following units @@ -10,9 +10,12 @@ def _read_asa_vol(*args, **kwargs): conductivities S/m - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/read_asa_vol.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/read_asa_vol.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("read_asa_vol", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_read_bdf.py b/spm/__external/__fieldtrip/__fileio/_read_bdf.py new file mode 100644 index 00000000..d38e48e8 --- /dev/null +++ b/spm/__external/__fieldtrip/__fileio/_read_bdf.py @@ -0,0 +1,38 @@ +from spm._runtime import Runtime + + +def _read_bdf(*args, **kwargs): + r""" + READ_BDF Read EEG data from a Biosemi BDF file + + [data, header] = read_bdf(filename) + [data, header] = read_bdf(filename, 'Param', value, ...) + + Inputs: + filename - BDF filename (including .bdf extension) + + Outputs: + data - EEG data matrix (Nchannels × Ntimepoints) + header - Structure containing header information + + Optional parameters: + 'Channels' - Cell array of channel names to read (default: all) + 'TimeRange' - [start end] in seconds (default: all) + 'Verbose' - Display progress info (default: true) + + Example: + [eeg, hdr] = read_bdf('eeg_data.bdf'); + [eeg, hdr] = read_bdf('eeg_data.bdf', 'Channels', {'Fz', 'Cz', 'Pz'}, 'TimeRange', [10 20]); + + See also WRITE_BDF + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/read_bdf.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("read_bdf", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_read_besa_avr.py b/spm/__external/__fieldtrip/__fileio/_read_besa_avr.py index 53b8683e..c991092f 100644 --- a/spm/__external/__fieldtrip/__fileio/_read_besa_avr.py +++ b/spm/__external/__fieldtrip/__fileio/_read_besa_avr.py @@ -2,7 +2,7 @@ def _read_besa_avr(*args, **kwargs): - """ + r""" READ_BESA_AVR reads average EEG data in BESA format Use as @@ -20,9 +20,12 @@ def _read_besa_avr(*args, **kwargs): avr.data - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/read_besa_avr.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/read_besa_avr.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("read_besa_avr", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_read_besa_besa.py b/spm/__external/__fieldtrip/__fileio/_read_besa_besa.py index 2e659e04..404a3cef 100644 --- a/spm/__external/__fieldtrip/__fileio/_read_besa_besa.py +++ b/spm/__external/__fieldtrip/__fileio/_read_besa_besa.py @@ -2,7 +2,7 @@ def _read_besa_besa(*args, **kwargs): - """ + r""" READ_BESA_BESA reads data and header information from a BESA file See formatting document here @@ -44,9 +44,12 @@ def _read_besa_besa(*args, **kwargs): This returns a Nchans X Nsamples data matrix - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/read_besa_besa.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/read_besa_besa.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("read_besa_besa", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_read_besa_sfp.py b/spm/__external/__fieldtrip/__fileio/_read_besa_sfp.py index 37496e51..8a76e0c0 100644 --- a/spm/__external/__fieldtrip/__fileio/_read_besa_sfp.py +++ b/spm/__external/__fieldtrip/__fileio/_read_besa_sfp.py @@ -2,7 +2,7 @@ def _read_besa_sfp(*args, **kwargs): - """ + r""" READ_BESA_SFP reads a besa style electrode location file. Use as: @@ -17,9 +17,12 @@ def _read_besa_sfp(*args, **kwargs): done in SPM) - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/read_besa_sfp.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/read_besa_sfp.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("read_besa_sfp", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_read_besa_swf.py b/spm/__external/__fieldtrip/__fileio/_read_besa_swf.py index b5b480db..e4fec6fd 100644 --- a/spm/__external/__fieldtrip/__fileio/_read_besa_swf.py +++ b/spm/__external/__fieldtrip/__fileio/_read_besa_swf.py @@ -2,7 +2,7 @@ def _read_besa_swf(*args, **kwargs): - """ + r""" READ_BESA_SWF Use as @@ -17,9 +17,12 @@ def _read_besa_swf(*args, **kwargs): swf.sb - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/read_besa_swf.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/read_besa_swf.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("read_besa_swf", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_read_bham.py b/spm/__external/__fieldtrip/__fileio/_read_bham.py index eea9c807..b7f8fed4 100644 --- a/spm/__external/__fieldtrip/__fileio/_read_bham.py +++ b/spm/__external/__fieldtrip/__fileio/_read_bham.py @@ -2,16 +2,19 @@ def _read_bham(*args, **kwargs): - """ + r""" READ_BHAM reads the EEG data files as recorded by Praamstra in Birmingham the datafiles are in a particular ascii format [dat, lab] = read_bham(filename) - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/read_bham.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/read_bham.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("read_bham", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_read_biff.py b/spm/__external/__fieldtrip/__fileio/_read_biff.py index a9c25379..8f49f159 100644 --- a/spm/__external/__fieldtrip/__fileio/_read_biff.py +++ b/spm/__external/__fieldtrip/__fileio/_read_biff.py @@ -2,7 +2,7 @@ def _read_biff(*args, **kwargs): - """ + r""" READ_BIFF reads data and header information from a BIFF file This is a attemt for a reference implementation to read the BIFF @@ -22,9 +22,12 @@ def _read_biff(*args, **kwargs): evnt : event markers (struct) - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/read_biff.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/read_biff.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("read_biff", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_read_bioimage_mgrid.py b/spm/__external/__fieldtrip/__fileio/_read_bioimage_mgrid.py index 4afea262..245a22f3 100644 --- a/spm/__external/__fieldtrip/__fileio/_read_bioimage_mgrid.py +++ b/spm/__external/__fieldtrip/__fileio/_read_bioimage_mgrid.py @@ -2,7 +2,7 @@ def _read_bioimage_mgrid(*args, **kwargs): - """ + r""" READ_BIOIMAGE_MGRID reads BioImage Suite *.mgrid files and converts them into a FieldTrip-compatible elec datatype structure with electrode positions in xyz coordinates (equals voxel coordinates in mm) @@ -14,9 +14,12 @@ def _read_bioimage_mgrid(*args, **kwargs): See also FT_READ_SENS, FT_DATATYPE_SENS - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/read_bioimage_mgrid.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/read_bioimage_mgrid.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("read_bioimage_mgrid", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_read_biosemi_bdf.py b/spm/__external/__fieldtrip/__fileio/_read_biosemi_bdf.py index 136a6710..41d45566 100644 --- a/spm/__external/__fieldtrip/__fileio/_read_biosemi_bdf.py +++ b/spm/__external/__fieldtrip/__fileio/_read_biosemi_bdf.py @@ -2,7 +2,7 @@ def _read_biosemi_bdf(*args, **kwargs): - """ + r""" READ_BIOSEMI_BDF reads specified samples from a BDF continuous datafile It neglects all trial boundaries as if the data was acquired in non-continuous mode. @@ -18,7 +18,7 @@ def _read_biosemi_bdf(*args, **kwargs): hdr.nSamplesPre number of pre-trigger samples in each trial hdr.nTrials number of trials hdr.label cell-array with labels of each channel - hdr.orig detailled EDF header information + hdr.orig detailed EDF header information Or use as [dat] = read_biosemi_bdf(filename, hdr, begsample, endsample, chanindx); @@ -31,9 +31,12 @@ def _read_biosemi_bdf(*args, **kwargs): This returns a Nchans X Nsamples data matrix - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/read_biosemi_bdf.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/read_biosemi_bdf.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("read_biosemi_bdf", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_read_biosig_data.py b/spm/__external/__fieldtrip/__fileio/_read_biosig_data.py index 344fbef9..3ce8cfaa 100644 --- a/spm/__external/__fieldtrip/__fileio/_read_biosig_data.py +++ b/spm/__external/__fieldtrip/__fileio/_read_biosig_data.py @@ -2,7 +2,7 @@ def _read_biosig_data(*args, **kwargs): - """ + r""" READ_BIOSIG_DATA reads data from EEG file using the BIOSIG toolbox and returns it in the FCDC framework standard format @@ -13,9 +13,12 @@ def _read_biosig_data(*args, **kwargs): The following data formats are supported: EDF, BKR, CNT, BDF, GDF - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/read_biosig_data.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/read_biosig_data.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("read_biosig_data", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_read_biosig_header.py b/spm/__external/__fieldtrip/__fileio/_read_biosig_header.py index 980a8f00..96fc0058 100644 --- a/spm/__external/__fieldtrip/__fileio/_read_biosig_header.py +++ b/spm/__external/__fieldtrip/__fileio/_read_biosig_header.py @@ -2,7 +2,7 @@ def _read_biosig_header(*args, **kwargs): - """ + r""" READ_BIOSIG_HEADER reads header from EEG file using the BIOSIG toolbox and returns it in the FCDC framework standard format @@ -15,9 +15,12 @@ def _read_biosig_header(*args, **kwargs): See also READ_BIOSIG_DATA - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/read_biosig_header.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/read_biosig_header.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("read_biosig_header", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_read_brainstorm_data.py b/spm/__external/__fieldtrip/__fileio/_read_brainstorm_data.py index 8d5185b0..d4d3574f 100644 --- a/spm/__external/__fieldtrip/__fileio/_read_brainstorm_data.py +++ b/spm/__external/__fieldtrip/__fileio/_read_brainstorm_data.py @@ -2,7 +2,7 @@ def _read_brainstorm_data(*args, **kwargs): - """ + r""" READ_BRAINSTORM_DATA reads .EEG files that have been generated by the Nihon Kohden system. The function constitutes a wrapper around BrainStorm3 functionalities @@ -15,9 +15,12 @@ def _read_brainstorm_data(*args, **kwargs): See also READ_BRAINSTORM_HEADER, READ_BRAINSTORM_EVENT - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/read_brainstorm_data.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/read_brainstorm_data.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("read_brainstorm_data", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_read_brainstorm_event.py b/spm/__external/__fieldtrip/__fileio/_read_brainstorm_event.py index 1a01d88b..717842c1 100644 --- a/spm/__external/__fieldtrip/__fileio/_read_brainstorm_event.py +++ b/spm/__external/__fieldtrip/__fileio/_read_brainstorm_event.py @@ -2,7 +2,7 @@ def _read_brainstorm_event(*args, **kwargs): - """ + r""" READ_BRAINSTORM_EVENT reads the event information from .EEG files that have been generated by the Nihon Kohden system. The function constitutes a wrapper around BrainStorm3 functionalities @@ -13,9 +13,12 @@ def _read_brainstorm_event(*args, **kwargs): See also READ_NK1200_HEADER, READ_NK1200_DATA - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/read_brainstorm_event.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/read_brainstorm_event.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("read_brainstorm_event", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_read_brainstorm_header.py b/spm/__external/__fieldtrip/__fileio/_read_brainstorm_header.py index a8d943b5..c4a45e78 100644 --- a/spm/__external/__fieldtrip/__fileio/_read_brainstorm_header.py +++ b/spm/__external/__fieldtrip/__fileio/_read_brainstorm_header.py @@ -2,7 +2,7 @@ def _read_brainstorm_header(*args, **kwargs): - """ + r""" READ_BRAINSTORM_HEADER reads the header information from .EEG files that have been generated by the Nihon Kohden system. The function constitutes a wrapper around BrainStorm3 functionalities @@ -13,9 +13,12 @@ def _read_brainstorm_header(*args, **kwargs): See also READ_BRAINSTORM_DATA, READ_BRAINSTORM_EVENT - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/read_brainstorm_header.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/read_brainstorm_header.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("read_brainstorm_header", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_read_brainvision_eeg.py b/spm/__external/__fieldtrip/__fileio/_read_brainvision_eeg.py index 399d7760..cce85f13 100644 --- a/spm/__external/__fieldtrip/__fileio/_read_brainvision_eeg.py +++ b/spm/__external/__fieldtrip/__fileio/_read_brainvision_eeg.py @@ -2,7 +2,7 @@ def _read_brainvision_eeg(*args, **kwargs): - """ + r""" READ_BRAINVISION_EEG reads raw data from an EEG file and returns it as a Nchans x Nsamples matrix. @@ -16,9 +16,12 @@ def _read_brainvision_eeg(*args, **kwargs): See also READ_BRAINVISION_VHDR, READ_BRAINVISION_VMRK - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/read_brainvision_eeg.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/read_brainvision_eeg.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("read_brainvision_eeg", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_read_brainvision_vhdr.py b/spm/__external/__fieldtrip/__fileio/_read_brainvision_vhdr.py index 11c0046a..91a64672 100644 --- a/spm/__external/__fieldtrip/__fileio/_read_brainvision_vhdr.py +++ b/spm/__external/__fieldtrip/__fileio/_read_brainvision_vhdr.py @@ -2,7 +2,7 @@ def _read_brainvision_vhdr(*args, **kwargs): - """ + r""" READ_BRAINVISION_VHDR reads the known items from the BrainVision EEG header file and returns them in a structure. @@ -12,9 +12,12 @@ def _read_brainvision_vhdr(*args, **kwargs): See also READ_BRAINVISION_EEG, READ_BRAINVISION_VMRK - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/read_brainvision_vhdr.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/read_brainvision_vhdr.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("read_brainvision_vhdr", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_read_brainvision_vmrk.py b/spm/__external/__fieldtrip/__fileio/_read_brainvision_vmrk.py index da8ad726..6c219d3d 100644 --- a/spm/__external/__fieldtrip/__fileio/_read_brainvision_vmrk.py +++ b/spm/__external/__fieldtrip/__fileio/_read_brainvision_vmrk.py @@ -2,7 +2,7 @@ def _read_brainvision_vmrk(*args, **kwargs): - """ + r""" READ_BRAINVISION_VMRK reads the markers and latencies it returns the stimulus/response code and latency in ms. @@ -12,9 +12,12 @@ def _read_brainvision_vmrk(*args, **kwargs): See also READ_BRAINVISION_VHDR, READ_BRAINVISION_EEG - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/read_brainvision_vmrk.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/read_brainvision_vmrk.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("read_brainvision_vmrk", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_read_bti_ascii.py b/spm/__external/__fieldtrip/__fileio/_read_bti_ascii.py index a8cb6ab0..e25f0b78 100644 --- a/spm/__external/__fieldtrip/__fileio/_read_bti_ascii.py +++ b/spm/__external/__fieldtrip/__fileio/_read_bti_ascii.py @@ -2,7 +2,7 @@ def _read_bti_ascii(*args, **kwargs): - """ + r""" READ_BTI_ASCII reads general data from a BTI configuration file The file should be formatted like @@ -13,9 +13,12 @@ def _read_bti_ascii(*args, **kwargs): item4 : value4a value4b value4c - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/read_bti_ascii.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/read_bti_ascii.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("read_bti_ascii", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_read_bti_hs.py b/spm/__external/__fieldtrip/__fileio/_read_bti_hs.py index 0eddfdae..1dd4827f 100644 --- a/spm/__external/__fieldtrip/__fileio/_read_bti_hs.py +++ b/spm/__external/__fieldtrip/__fileio/_read_bti_hs.py @@ -2,7 +2,7 @@ def _read_bti_hs(*args, **kwargs): - """ + r""" read_hs_file Reads in BTI-Headshape files filename: file with the headshape informations outfile: if present, a ctf ".shape" file is written @@ -11,9 +11,12 @@ def _read_bti_hs(*args, **kwargs): (C) 2007 by Thomas Hartmann - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/read_bti_hs.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/read_bti_hs.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("read_bti_hs", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_read_bti_m4d.py b/spm/__external/__fieldtrip/__fileio/_read_bti_m4d.py index c7c85f53..e2297b13 100644 --- a/spm/__external/__fieldtrip/__fileio/_read_bti_m4d.py +++ b/spm/__external/__fieldtrip/__fileio/_read_bti_m4d.py @@ -2,16 +2,19 @@ def _read_bti_m4d(*args, **kwargs): - """ + r""" READ_BTI_M4D Use as msi = read_bti_m4d(filename) - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/read_bti_m4d.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/read_bti_m4d.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("read_bti_m4d", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_read_bucn_nirsdata.py b/spm/__external/__fieldtrip/__fileio/_read_bucn_nirsdata.py index 4aeaa1dd..1a737f75 100644 --- a/spm/__external/__fieldtrip/__fileio/_read_bucn_nirsdata.py +++ b/spm/__external/__fieldtrip/__fileio/_read_bucn_nirsdata.py @@ -2,7 +2,7 @@ def _read_bucn_nirsdata(*args, **kwargs): - """ + r""" READ_BUCN_NIRSDATA reads ASCII-formatted NIRS data acquired with the UCL-BIRKBECK machine and postprocessed by the Paris group. The first line contains the channel labels and the rest of the file contains per line a @@ -14,9 +14,12 @@ def _read_bucn_nirsdata(*args, **kwargs): See also READ_BUCN_NIRSHDR, READ_BUCN_NIRSEVENT - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/read_bucn_nirsdata.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/read_bucn_nirsdata.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("read_bucn_nirsdata", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_read_bucn_nirsevent.py b/spm/__external/__fieldtrip/__fileio/_read_bucn_nirsevent.py index 5fcb4c70..9565caef 100644 --- a/spm/__external/__fieldtrip/__fileio/_read_bucn_nirsevent.py +++ b/spm/__external/__fieldtrip/__fileio/_read_bucn_nirsevent.py @@ -2,7 +2,7 @@ def _read_bucn_nirsevent(*args, **kwargs): - """ + r""" READ_BUCN_NIRSEVENT reads the event information of ASCII-formatted NIRS data acquired with the UCL-BIRKBECK machine and postprocessed by the Paris group. The first line contains the header-info and the rest of @@ -17,9 +17,12 @@ def _read_bucn_nirsevent(*args, **kwargs): See also READ_BUCN_NIRSHDR, READ_BUCN_NIRSDATA - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/read_bucn_nirsevent.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/read_bucn_nirsevent.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("read_bucn_nirsevent", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_read_bucn_nirshdr.py b/spm/__external/__fieldtrip/__fileio/_read_bucn_nirshdr.py index 3789b20a..c6be6611 100644 --- a/spm/__external/__fieldtrip/__fileio/_read_bucn_nirshdr.py +++ b/spm/__external/__fieldtrip/__fileio/_read_bucn_nirshdr.py @@ -2,7 +2,7 @@ def _read_bucn_nirshdr(*args, **kwargs): - """ + r""" READ_BUCN_NIRSHDR reads the header information of ASCII-formatted NIRS data acquired with the UCL-BIRKBECK machine and postprocessed by the Paris group. The first line contains the channel labels and the rest of @@ -15,9 +15,12 @@ def _read_bucn_nirshdr(*args, **kwargs): See also READ_BUCN_NIRSDATA, READ_BUCN_NIRSEVENT - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/read_bucn_nirshdr.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/read_bucn_nirshdr.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("read_bucn_nirshdr", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_read_buffer_offline_data.py b/spm/__external/__fieldtrip/__fileio/_read_buffer_offline_data.py index 3270cf1a..42d8f881 100644 --- a/spm/__external/__fieldtrip/__fileio/_read_buffer_offline_data.py +++ b/spm/__external/__fieldtrip/__fileio/_read_buffer_offline_data.py @@ -2,15 +2,18 @@ def _read_buffer_offline_data(*args, **kwargs): - """ + r""" function dat = read_buffer_offline_data(datafile, header, range) This function reads FCDC buffer-type data from a binary file. - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/read_buffer_offline_data.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/read_buffer_offline_data.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("read_buffer_offline_data", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_read_buffer_offline_events.py b/spm/__external/__fieldtrip/__fileio/_read_buffer_offline_events.py index c054889f..3fe1192a 100644 --- a/spm/__external/__fieldtrip/__fileio/_read_buffer_offline_events.py +++ b/spm/__external/__fieldtrip/__fileio/_read_buffer_offline_events.py @@ -2,15 +2,18 @@ def _read_buffer_offline_events(*args, **kwargs): - """ + r""" function E = read_buffer_offline_events(eventfile, header) This function reads FCDC buffer-type events from a binary file. - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/read_buffer_offline_events.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/read_buffer_offline_events.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("read_buffer_offline_events", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_read_buffer_offline_header.py b/spm/__external/__fieldtrip/__fileio/_read_buffer_offline_header.py index 91d13dcd..d10d8812 100644 --- a/spm/__external/__fieldtrip/__fileio/_read_buffer_offline_header.py +++ b/spm/__external/__fieldtrip/__fileio/_read_buffer_offline_header.py @@ -2,7 +2,7 @@ def _read_buffer_offline_header(*args, **kwargs): - """ + r""" function [hdr, nameFlag] = read_buffer_offline_header(headerfile) This function reads a FCDC buffer header from a binary file or text file @@ -13,9 +13,12 @@ def _read_buffer_offline_header(*args, **kwargs): 2 = Got channel labels from chunk information - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/read_buffer_offline_header.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/read_buffer_offline_header.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("read_buffer_offline_header", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_read_bv_srf.py b/spm/__external/__fieldtrip/__fileio/_read_bv_srf.py index a7c102e4..82834f15 100644 --- a/spm/__external/__fieldtrip/__fileio/_read_bv_srf.py +++ b/spm/__external/__fieldtrip/__fileio/_read_bv_srf.py @@ -2,7 +2,7 @@ def _read_bv_srf(*args, **kwargs): - """ + r""" READ_BV_SRF reads a triangulated surface from a BrainVoyager *.srf file Use as @@ -10,9 +10,12 @@ def _read_bv_srf(*args, **kwargs): [pnt, tri, srf] = read_bv_srf(filename) - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/read_bv_srf.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/read_bv_srf.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("read_bv_srf", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_read_caret_spec.py b/spm/__external/__fieldtrip/__fileio/_read_caret_spec.py index ff0327b8..6178aa44 100644 --- a/spm/__external/__fieldtrip/__fileio/_read_caret_spec.py +++ b/spm/__external/__fieldtrip/__fileio/_read_caret_spec.py @@ -2,7 +2,7 @@ def _read_caret_spec(*args, **kwargs): - """ + r""" READ_CARET_SPEC reads in a caret .spec file. Use as @@ -15,9 +15,12 @@ def _read_caret_spec(*args, **kwargs): The file can be an xml-file or an ascii formatted file - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/read_caret_spec.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/read_caret_spec.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("read_caret_spec", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_read_ced_son.py b/spm/__external/__fieldtrip/__fileio/_read_ced_son.py index 9788ddc2..8b67f986 100644 --- a/spm/__external/__fieldtrip/__fileio/_read_ced_son.py +++ b/spm/__external/__fieldtrip/__fileio/_read_ced_son.py @@ -2,7 +2,7 @@ def _read_ced_son(*args, **kwargs): - """ + r""" READ_CED_SON [OUT] = read_ced_son(DATAFILE,VARARGIN); @@ -52,9 +52,12 @@ def _read_ced_son(*args, **kwargs): (see: http://neuroshare.sourceforge.net) - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/read_ced_son.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/read_ced_son.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("read_ced_son", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_read_combined_ds.py b/spm/__external/__fieldtrip/__fileio/_read_combined_ds.py index ef946112..c3475e52 100644 --- a/spm/__external/__fieldtrip/__fileio/_read_combined_ds.py +++ b/spm/__external/__fieldtrip/__fileio/_read_combined_ds.py @@ -2,7 +2,7 @@ def _read_combined_ds(*args, **kwargs): - """ + r""" READ_COMBINED_DS reads electrophysiological data from a collection of files that are located in one directory, where each of the files should contain one channel and should have the same sampling frequency @@ -19,9 +19,12 @@ def _read_combined_ds(*args, **kwargs): fcdc_matbin - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/read_combined_ds.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/read_combined_ds.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("read_combined_ds", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_read_ctf_ascii.py b/spm/__external/__fieldtrip/__fileio/_read_ctf_ascii.py index e6ebae4a..422ba1a8 100644 --- a/spm/__external/__fieldtrip/__fileio/_read_ctf_ascii.py +++ b/spm/__external/__fieldtrip/__fileio/_read_ctf_ascii.py @@ -2,7 +2,7 @@ def _read_ctf_ascii(*args, **kwargs): - """ + r""" READ_CTF_ASCII reads general data from an CTF configuration file The file should be formatted like @@ -22,9 +22,12 @@ def _read_ctf_ascii(*args, **kwargs): and maybe for other files as well. - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/read_ctf_ascii.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/read_ctf_ascii.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("read_ctf_ascii", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_read_ctf_cls.py b/spm/__external/__fieldtrip/__fileio/_read_ctf_cls.py index 3a6ff1cc..68771d45 100644 --- a/spm/__external/__fieldtrip/__fileio/_read_ctf_cls.py +++ b/spm/__external/__fieldtrip/__fileio/_read_ctf_cls.py @@ -2,13 +2,16 @@ def _read_ctf_cls(*args, **kwargs): - """ + r""" READ_CTF_CLS reads the classification file from a CTF dataset - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/read_ctf_cls.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/read_ctf_cls.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("read_ctf_cls", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_read_ctf_coef.py b/spm/__external/__fieldtrip/__fileio/_read_ctf_coef.py index d840919c..8b373247 100644 --- a/spm/__external/__fieldtrip/__fileio/_read_ctf_coef.py +++ b/spm/__external/__fieldtrip/__fileio/_read_ctf_coef.py @@ -2,7 +2,7 @@ def _read_ctf_coef(*args, **kwargs): - """ + r""" READ_CTF_COEF returns the spatial filter coefficients for the CTF MEG system that has been installed at the F.C. Donders Centre (id 1706) @@ -13,9 +13,12 @@ def _read_ctf_coef(*args, **kwargs): odin:/opt/ctf/hardware/M016/M017_1706.coef - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/read_ctf_coef.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/read_ctf_coef.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("read_ctf_coef", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_read_ctf_dat.py b/spm/__external/__fieldtrip/__fileio/_read_ctf_dat.py index 9123d0df..8de6fbca 100644 --- a/spm/__external/__fieldtrip/__fileio/_read_ctf_dat.py +++ b/spm/__external/__fieldtrip/__fileio/_read_ctf_dat.py @@ -2,7 +2,7 @@ def _read_ctf_dat(*args, **kwargs): - """ + r""" READ_CTF_DAT reads MEG data from an ascii format CTF file meg = read_ctf_dat(filename) @@ -14,9 +14,12 @@ def _read_ctf_dat(*args, **kwargs): meg.label 1xNchans cell-array with channel labels (string) - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/read_ctf_dat.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/read_ctf_dat.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("read_ctf_dat", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_read_ctf_hc.py b/spm/__external/__fieldtrip/__fileio/_read_ctf_hc.py index 1d15c4fd..da7ec7aa 100644 --- a/spm/__external/__fieldtrip/__fileio/_read_ctf_hc.py +++ b/spm/__external/__fieldtrip/__fileio/_read_ctf_hc.py @@ -2,7 +2,7 @@ def _read_ctf_hc(*args, **kwargs): - """ + r""" READ_CTF_HC reads the MEG headcoil marker positions from an ascii file and computes the coordinate transformation required to get from from dewar to head-coordinates @@ -36,9 +36,12 @@ def _read_ctf_hc(*args, **kwargs): the warp3d function from the WARPING toolbox - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/read_ctf_hc.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/read_ctf_hc.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("read_ctf_hc", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_read_ctf_hdm.py b/spm/__external/__fieldtrip/__fileio/_read_ctf_hdm.py index 773b0ff2..cf71bbb5 100644 --- a/spm/__external/__fieldtrip/__fileio/_read_ctf_hdm.py +++ b/spm/__external/__fieldtrip/__fileio/_read_ctf_hdm.py @@ -2,15 +2,18 @@ def _read_ctf_hdm(*args, **kwargs): - """ + r""" READ_CTF_HDM reads the head volume conductor model from a *.hdm file vol = read_ctf_hdm(filename) - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/read_ctf_hdm.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/read_ctf_hdm.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("read_ctf_hdm", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_read_ctf_hist.py b/spm/__external/__fieldtrip/__fileio/_read_ctf_hist.py index e81a57f1..5bc99397 100644 --- a/spm/__external/__fieldtrip/__fileio/_read_ctf_hist.py +++ b/spm/__external/__fieldtrip/__fileio/_read_ctf_hist.py @@ -2,13 +2,16 @@ def _read_ctf_hist(*args, **kwargs): - """ + r""" READ_CTF_HIST - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/read_ctf_hist.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/read_ctf_hist.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("read_ctf_hist", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_read_ctf_meg4.py b/spm/__external/__fieldtrip/__fileio/_read_ctf_meg4.py index c8c2f16b..9dfb90c7 100644 --- a/spm/__external/__fieldtrip/__fileio/_read_ctf_meg4.py +++ b/spm/__external/__fieldtrip/__fileio/_read_ctf_meg4.py @@ -2,7 +2,7 @@ def _read_ctf_meg4(*args, **kwargs): - """ + r""" READ_CTF_MEG4 reads specified samples from a CTF continuous datafile It neglects all trial boundaries as if the data was acquired in non-continuous mode. @@ -19,9 +19,12 @@ def _read_ctf_meg4(*args, **kwargs): See also READ_CTF_MEG4 - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/read_ctf_meg4.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/read_ctf_meg4.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("read_ctf_meg4", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_read_ctf_mri.py b/spm/__external/__fieldtrip/__fileio/_read_ctf_mri.py index b2a31688..b7f573b2 100644 --- a/spm/__external/__fieldtrip/__fileio/_read_ctf_mri.py +++ b/spm/__external/__fieldtrip/__fileio/_read_ctf_mri.py @@ -2,7 +2,7 @@ def _read_ctf_mri(*args, **kwargs): - """ + r""" READ_CTF_MRI reads header and image data from a CTF version 2.2 MRI file Use as @@ -11,9 +11,12 @@ def _read_ctf_mri(*args, **kwargs): See also READ_CTF_MRI4 - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/read_ctf_mri.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/read_ctf_mri.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("read_ctf_mri", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_read_ctf_mri4.py b/spm/__external/__fieldtrip/__fileio/_read_ctf_mri4.py index 2dbfa367..030c26c5 100644 --- a/spm/__external/__fieldtrip/__fileio/_read_ctf_mri4.py +++ b/spm/__external/__fieldtrip/__fileio/_read_ctf_mri4.py @@ -2,7 +2,7 @@ def _read_ctf_mri4(*args, **kwargs): - """ + r""" READ_CTF_MRI reads header and imnage data from CTF format MRI file [mri, hdr] = read_ctf_mri(filename) @@ -10,9 +10,12 @@ def _read_ctf_mri4(*args, **kwargs): See also READ_CTF_MEG4, READ_CTF_RES4 - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/read_ctf_mri4.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/read_ctf_mri4.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("read_ctf_mri4", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_read_ctf_pos.py b/spm/__external/__fieldtrip/__fileio/_read_ctf_pos.py index 89db892c..6c021304 100644 --- a/spm/__external/__fieldtrip/__fileio/_read_ctf_pos.py +++ b/spm/__external/__fieldtrip/__fileio/_read_ctf_pos.py @@ -2,7 +2,7 @@ def _read_ctf_pos(*args, **kwargs): - """ + r""" READ_CTF_POS reads Polhemus file created with the CTF digitizer application Use as @@ -19,9 +19,12 @@ def _read_ctf_pos(*args, **kwargs): extension .pos generated by the CTF digitizer - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/read_ctf_pos.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/read_ctf_pos.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("read_ctf_pos", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_read_ctf_res4.py b/spm/__external/__fieldtrip/__fileio/_read_ctf_res4.py index f41ee932..4a851439 100644 --- a/spm/__external/__fieldtrip/__fileio/_read_ctf_res4.py +++ b/spm/__external/__fieldtrip/__fileio/_read_ctf_res4.py @@ -2,7 +2,7 @@ def _read_ctf_res4(*args, **kwargs): - """ + r""" READ_CTF_RES4 reads the header in RES4 format from a CTF dataset Use as @@ -11,9 +11,12 @@ def _read_ctf_res4(*args, **kwargs): See also READ_CTF_MEG4 - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/read_ctf_res4.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/read_ctf_res4.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("read_ctf_res4", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_read_ctf_sens.py b/spm/__external/__fieldtrip/__fileio/_read_ctf_sens.py index 806bef51..41eceb28 100644 --- a/spm/__external/__fieldtrip/__fileio/_read_ctf_sens.py +++ b/spm/__external/__fieldtrip/__fileio/_read_ctf_sens.py @@ -2,7 +2,7 @@ def _read_ctf_sens(*args, **kwargs): - """ + r""" READ_CTF_SENS reads MEG sensor information from CTF configuration file magn = read_ctf_sens(filename) @@ -14,9 +14,12 @@ def _read_ctf_sens(*args, **kwargs): magn.ori2 orientation second coil - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/read_ctf_sens.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/read_ctf_sens.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("read_ctf_sens", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_read_ctf_shape.py b/spm/__external/__fieldtrip/__fileio/_read_ctf_shape.py index 29cf44bd..485a17ad 100644 --- a/spm/__external/__fieldtrip/__fileio/_read_ctf_shape.py +++ b/spm/__external/__fieldtrip/__fileio/_read_ctf_shape.py @@ -2,7 +2,7 @@ def _read_ctf_shape(*args, **kwargs): - """ + r""" READ_CTF_SHAPE reads headshape points and header information from a CTF *.shape the accompanying *.shape_info file. @@ -11,9 +11,12 @@ def _read_ctf_shape(*args, **kwargs): where filename should have the .shape extension - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/read_ctf_shape.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/read_ctf_shape.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("read_ctf_shape", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_read_ctf_shm.py b/spm/__external/__fieldtrip/__fileio/_read_ctf_shm.py index 62a8a25f..e3249edf 100644 --- a/spm/__external/__fieldtrip/__fileio/_read_ctf_shm.py +++ b/spm/__external/__fieldtrip/__fileio/_read_ctf_shm.py @@ -2,23 +2,26 @@ def _read_ctf_shm(*args, **kwargs): - """ + r""" READ_CTF_SHM reads metainformation or selected blocks of data from shared memory. This function can be used for real-time processing of data while it is being acquired. Use as - [msgType msgId sampleNumber numSamples numChannels] = read_ctf_shm; + [msgType msgId sampleNumber numSamples numChannels] = read_ctf_shm or - [data] = read_ctf_shm(msgNumber); - [data] = read_ctf_shm(msgNumber, numValues); + [data] = read_ctf_shm(msgNumber) + [data] = read_ctf_shm(msgNumber, numValues) See also WRITE_CTF_SHM - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/read_ctf_shm.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/read_ctf_shm.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("read_ctf_shm", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_read_ctf_trigger.py b/spm/__external/__fieldtrip/__fileio/_read_ctf_trigger.py index 95570994..c6bee6ca 100644 --- a/spm/__external/__fieldtrip/__fileio/_read_ctf_trigger.py +++ b/spm/__external/__fieldtrip/__fileio/_read_ctf_trigger.py @@ -2,7 +2,7 @@ def _read_ctf_trigger(*args, **kwargs): - """ + r""" READ_CTF_TRIGGER reads the STIM channel from a dataset and detects the trigger moments and values @@ -18,9 +18,12 @@ def _read_ctf_trigger(*args, **kwargs): See also READ_CTF_MEG4, READ_CTF_RES4 - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/read_ctf_trigger.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/read_ctf_trigger.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("read_ctf_trigger", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_read_curry.py b/spm/__external/__fieldtrip/__fileio/_read_curry.py index 1e96bd0a..faff1e69 100644 --- a/spm/__external/__fieldtrip/__fileio/_read_curry.py +++ b/spm/__external/__fieldtrip/__fileio/_read_curry.py @@ -2,7 +2,7 @@ def _read_curry(*args, **kwargs): - """ + r""" READ_CURRY reads and parses Curry V2 and V4 ascii files and returns the content in a structure that is similar to the block-structured layout of the file. This function does not interpret the content of the file, but @@ -13,9 +13,12 @@ def _read_curry(*args, **kwargs): s = read_curry(filename) - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/read_curry.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/read_curry.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("read_curry", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_read_deymed_dat.py b/spm/__external/__fieldtrip/__fileio/_read_deymed_dat.py index 76cff9e9..b097d7cf 100644 --- a/spm/__external/__fieldtrip/__fileio/_read_deymed_dat.py +++ b/spm/__external/__fieldtrip/__fileio/_read_deymed_dat.py @@ -2,7 +2,7 @@ def _read_deymed_dat(*args, **kwargs): - """ + r""" READ_DEYMED_DAT reads EEG data from the Deymed Truescan file format Use as @@ -11,9 +11,12 @@ def _read_deymed_dat(*args, **kwargs): See also READ_DEYMED_INI - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/read_deymed_dat.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/read_deymed_dat.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("read_deymed_dat", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_read_deymed_ini.py b/spm/__external/__fieldtrip/__fileio/_read_deymed_ini.py index b8e00a84..5e26aad4 100644 --- a/spm/__external/__fieldtrip/__fileio/_read_deymed_ini.py +++ b/spm/__external/__fieldtrip/__fileio/_read_deymed_ini.py @@ -2,7 +2,7 @@ def _read_deymed_ini(*args, **kwargs): - """ + r""" READ_DEYMED_INI reads EEG data from the Deymed Truescan file format Use as @@ -11,9 +11,12 @@ def _read_deymed_ini(*args, **kwargs): See also READ_DEYMED_DAT - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/read_deymed_ini.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/read_deymed_ini.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("read_deymed_ini", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_read_dhn_med10.py b/spm/__external/__fieldtrip/__fileio/_read_dhn_med10.py index 0ce383b4..a3a2ef4c 100644 --- a/spm/__external/__fieldtrip/__fileio/_read_dhn_med10.py +++ b/spm/__external/__fieldtrip/__fileio/_read_dhn_med10.py @@ -2,7 +2,7 @@ def _read_dhn_med10(*args, **kwargs): - """ + r""" READ_DHN_MED10 read header, event, and waveform data formated in Dark Horse Neuron MED 1.0 Syntax: @@ -37,9 +37,12 @@ def _read_dhn_med10(*args, **kwargs): See also FT_FILETYPE, FT_READ_HEADER, FT_READ_EVENT, FT_READ_DATA. - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/read_dhn_med10.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/read_dhn_med10.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("read_dhn_med10", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_read_edf.py b/spm/__external/__fieldtrip/__fileio/_read_edf.py index 3d094713..eaed56be 100644 --- a/spm/__external/__fieldtrip/__fileio/_read_edf.py +++ b/spm/__external/__fieldtrip/__fileio/_read_edf.py @@ -2,7 +2,7 @@ def _read_edf(*args, **kwargs): - """ + r""" READ_EDF reads specified samples from an EDF datafile. It neglects all trial or data block boundaries as if the data was acquired in non-continuous mode. @@ -31,7 +31,7 @@ def _read_edf(*args, **kwargs): hdr.nSamplesPre number of pre-trigger samples in each trial hdr.nTrials number of trials hdr.label cell-array with labels of each channel - hdr.orig detailled EDF header information + hdr.orig detailed EDF header information Or use as [dat] = read_edf(filename, hdr, begsample, endsample, chanindx) @@ -51,9 +51,12 @@ def _read_edf(*args, **kwargs): This returns an Nsamples data vector of just the annotation channel - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/read_edf.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/read_edf.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("read_edf", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_read_egis_data.py b/spm/__external/__fieldtrip/__fileio/_read_egis_data.py index b46f8606..b4f37c7c 100644 --- a/spm/__external/__fieldtrip/__fileio/_read_egis_data.py +++ b/spm/__external/__fieldtrip/__fileio/_read_egis_data.py @@ -2,7 +2,7 @@ def _read_egis_data(*args, **kwargs): - """ + r""" READ_EGIS_DATA reads the data from an EGI EGIS format file Use as @@ -25,9 +25,12 @@ def _read_egis_data(*args, **kwargs): Modified from EGI's EGI Toolbox with permission 2007-06-28 Joseph Dien - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/read_egis_data.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/read_egis_data.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("read_egis_data", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_read_egis_header.py b/spm/__external/__fieldtrip/__fileio/_read_egis_header.py index 11d9ba8a..e0d66c24 100644 --- a/spm/__external/__fieldtrip/__fileio/_read_egis_header.py +++ b/spm/__external/__fieldtrip/__fileio/_read_egis_header.py @@ -2,7 +2,7 @@ def _read_egis_header(*args, **kwargs): - """ + r""" READ_EGIS_HEADER reads the header information from an EGI EGIS format file Use as @@ -22,9 +22,12 @@ def _read_egis_header(*args, **kwargs): Modified from EGI's EGI Toolbox with permission 2007-06-28 Joseph Dien - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/read_egis_header.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/read_egis_header.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("read_egis_header", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_read_elec.py b/spm/__external/__fieldtrip/__fileio/_read_elec.py index 0668b02c..2a84c859 100644 --- a/spm/__external/__fieldtrip/__fileio/_read_elec.py +++ b/spm/__external/__fieldtrip/__fileio/_read_elec.py @@ -2,7 +2,7 @@ def _read_elec(*args, **kwargs): - """ + r""" READ_ELEC reads "la/mu" electrode parameters from a MBF electrode file which are used to position them on a triangulated surface @@ -14,9 +14,12 @@ def _read_elec(*args, **kwargs): See also READ_TRI, TRANSFER_ELEC - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/read_elec.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/read_elec.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("read_elec", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_read_eyelink_asc.py b/spm/__external/__fieldtrip/__fileio/_read_eyelink_asc.py index 041ba003..0f84a9a4 100644 --- a/spm/__external/__fieldtrip/__fileio/_read_eyelink_asc.py +++ b/spm/__external/__fieldtrip/__fileio/_read_eyelink_asc.py @@ -2,18 +2,25 @@ def _read_eyelink_asc(*args, **kwargs): - """ + r""" READ_EYELINK_ASC reads the header information, input triggers, messages - and all data points from an Eyelink *.asc file. The output events are - represented as matlab tables (after Aug 2022) + and optional data points from an Eyelink *.asc file. The output is either + a pair of FieldTrip compatible hdr and event structures, or a data structure + containing the low-level header information, and the requested data + matrix Use as - asc = read_eyelink_asc(filename) + [hdr, event] = read_eyelink_asc(filename) + or + [asc] = read_eyelink_asc(filename, hdr, begsample, endsample, chanindx) - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/read_eyelink_asc.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/read_eyelink_asc.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("read_eyelink_asc", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_read_fcdc_trl.py b/spm/__external/__fieldtrip/__fileio/_read_fcdc_trl.py index ac25b0f2..88182bee 100644 --- a/spm/__external/__fieldtrip/__fileio/_read_fcdc_trl.py +++ b/spm/__external/__fieldtrip/__fileio/_read_fcdc_trl.py @@ -2,7 +2,7 @@ def _read_fcdc_trl(*args, **kwargs): - """ + r""" READ_FCDC_TRL reads trial definitions from a file Given a file which defines N trials, this function returns a Nx3 @@ -26,9 +26,12 @@ def _read_fcdc_trl(*args, **kwargs): correspond to "6.700 7.700 -0.300". - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/read_fcdc_trl.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/read_fcdc_trl.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("read_fcdc_trl", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_read_gmsh_binary.py b/spm/__external/__fieldtrip/__fileio/_read_gmsh_binary.py index 01d23ac6..c771925f 100644 --- a/spm/__external/__fieldtrip/__fileio/_read_gmsh_binary.py +++ b/spm/__external/__fieldtrip/__fileio/_read_gmsh_binary.py @@ -2,7 +2,7 @@ def _read_gmsh_binary(*args, **kwargs): - """ + r""" READ_GMSH_BINARY reads a gmsh .msh binary file. Current support is only for version 2. There are some ASCII-readers floating around on the net, but they do not seem to work with the primary use case in FieldTrip (and @@ -11,9 +11,12 @@ def _read_gmsh_binary(*args, **kwargs): See also MESH_LOAD_GMSH4 - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/read_gmsh_binary.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/read_gmsh_binary.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("read_gmsh_binary", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_read_ini.py b/spm/__external/__fieldtrip/__fileio/_read_ini.py index 9569309f..3711ffb0 100644 --- a/spm/__external/__fieldtrip/__fileio/_read_ini.py +++ b/spm/__external/__fieldtrip/__fileio/_read_ini.py @@ -2,7 +2,7 @@ def _read_ini(*args, **kwargs): - """ + r""" READ_INI reads a specified element from a Windows *.ini file Use as @@ -26,9 +26,12 @@ def _read_ini(*args, **kwargs): the values from anything not wanted. - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/read_ini.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/read_ini.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("read_ini", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_read_itab_mhd.py b/spm/__external/__fieldtrip/__fileio/_read_itab_mhd.py index 64863f4d..e59663eb 100644 --- a/spm/__external/__fieldtrip/__fileio/_read_itab_mhd.py +++ b/spm/__external/__fieldtrip/__fileio/_read_itab_mhd.py @@ -2,14 +2,17 @@ def _read_itab_mhd(*args, **kwargs): - """ + r""" read_itab_mhd is a function. mhd = read_itab_mhd(filename) - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/read_itab_mhd.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/read_itab_mhd.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("read_itab_mhd", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_read_mat.py b/spm/__external/__fieldtrip/__fileio/_read_mat.py index ebab7fe4..e01525f8 100644 --- a/spm/__external/__fieldtrip/__fileio/_read_mat.py +++ b/spm/__external/__fieldtrip/__fileio/_read_mat.py @@ -2,7 +2,7 @@ def _read_mat(*args, **kwargs): - """ + r""" READ_MAT reads a matrix from an ascii or binary MBF format file Usage: m = loadmat('file'); @@ -15,9 +15,12 @@ def _read_mat(*args, **kwargs): See also WRITE_MAT - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/read_mat.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/read_mat.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("read_mat", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_read_mayo_mef21.py b/spm/__external/__fieldtrip/__fileio/_read_mayo_mef21.py index 372b7b3e..246d7a7e 100644 --- a/spm/__external/__fieldtrip/__fileio/_read_mayo_mef21.py +++ b/spm/__external/__fieldtrip/__fileio/_read_mayo_mef21.py @@ -2,7 +2,7 @@ def _read_mayo_mef21(*args, **kwargs): - """ + r""" READ_MAYO_MEF21 read header, event and data from the files formatted in MEF2.1 Syntax: @@ -38,9 +38,12 @@ def _read_mayo_mef21(*args, **kwargs): See also ft_filetype, ft_read_header, ft_read_event, ft_read_data. - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/read_mayo_mef21.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/read_mayo_mef21.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("read_mayo_mef21", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_read_mayo_mef30.py b/spm/__external/__fieldtrip/__fileio/_read_mayo_mef30.py index 083224fa..72d9c8e2 100644 --- a/spm/__external/__fieldtrip/__fileio/_read_mayo_mef30.py +++ b/spm/__external/__fieldtrip/__fileio/_read_mayo_mef30.py @@ -2,7 +2,7 @@ def _read_mayo_mef30(*args, **kwargs): - """ + r""" READ_MAYO_MEF30 read header, event and data from the files formatted in MEF 3.0 Syntax: @@ -36,9 +36,12 @@ def _read_mayo_mef30(*args, **kwargs): See also FT_FILETYPE, FT_READ_HEADER, FT_READ_EVENT, FT_READ_DATA - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/read_mayo_mef30.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/read_mayo_mef30.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("read_mayo_mef30", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_read_mclust_t.py b/spm/__external/__fieldtrip/__fileio/_read_mclust_t.py index f3abbe9b..24cc36c5 100644 --- a/spm/__external/__fieldtrip/__fileio/_read_mclust_t.py +++ b/spm/__external/__fieldtrip/__fileio/_read_mclust_t.py @@ -2,13 +2,16 @@ def _read_mclust_t(*args, **kwargs): - """ + r""" adapted from M-clust function LoadSpikes - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/read_mclust_t.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/read_mclust_t.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("read_mclust_t", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_read_mff_bin.py b/spm/__external/__fieldtrip/__fileio/_read_mff_bin.py index a91a4fc1..53cd69ae 100644 --- a/spm/__external/__fieldtrip/__fileio/_read_mff_bin.py +++ b/spm/__external/__fieldtrip/__fileio/_read_mff_bin.py @@ -2,7 +2,7 @@ def _read_mff_bin(*args, **kwargs): - """ + r""" READ_MFF_BIN Use as @@ -11,9 +11,12 @@ def _read_mff_bin(*args, **kwargs): [dat] = read_mff_bin(filename, begblock, endblock); - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/read_mff_bin.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/read_mff_bin.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("read_mff_bin", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_read_micromed_event.py b/spm/__external/__fieldtrip/__fileio/_read_micromed_event.py index bdaaad09..f5338633 100644 --- a/spm/__external/__fieldtrip/__fileio/_read_micromed_event.py +++ b/spm/__external/__fieldtrip/__fileio/_read_micromed_event.py @@ -2,13 +2,16 @@ def _read_micromed_event(*args, **kwargs): - """ + r""" reads the events of the Micromed TRC format files - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/read_micromed_event.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/read_micromed_event.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("read_micromed_event", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_read_micromed_trc.py b/spm/__external/__fieldtrip/__fileio/_read_micromed_trc.py index 8b45dd96..d3f620bb 100644 --- a/spm/__external/__fieldtrip/__fileio/_read_micromed_trc.py +++ b/spm/__external/__fieldtrip/__fileio/_read_micromed_trc.py @@ -2,7 +2,7 @@ def _read_micromed_trc(*args, **kwargs): - """ + r""" -------------------------------------------------------------------------- reads Micromed .TRC file into matlab, version Mariska, edited by Romain input: filename @@ -10,9 +10,12 @@ def _read_micromed_trc(*args, **kwargs): -------------------------------------------------------------------------- - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/read_micromed_trc.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/read_micromed_trc.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("read_micromed_trc", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_read_mpi_dap.py b/spm/__external/__fieldtrip/__fileio/_read_mpi_dap.py index b596db68..c5cde5ba 100644 --- a/spm/__external/__fieldtrip/__fileio/_read_mpi_dap.py +++ b/spm/__external/__fieldtrip/__fileio/_read_mpi_dap.py @@ -2,7 +2,7 @@ def _read_mpi_dap(*args, **kwargs): - """ + r""" READ_MPI_DAP read the analog channels from a DAP file and returns the values in microvolt (uV) @@ -10,9 +10,12 @@ def _read_mpi_dap(*args, **kwargs): [dap] = read_mpi_dap(filename) - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/read_mpi_dap.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/read_mpi_dap.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("read_mpi_dap", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_read_mpi_ds.py b/spm/__external/__fieldtrip/__fileio/_read_mpi_ds.py index 33b0f731..2192f3f7 100644 --- a/spm/__external/__fieldtrip/__fileio/_read_mpi_ds.py +++ b/spm/__external/__fieldtrip/__fileio/_read_mpi_ds.py @@ -2,7 +2,7 @@ def _read_mpi_ds(*args, **kwargs): - """ + r""" READ_MPI_DS reads all DAP files from a directory containing files or alternatively a single DAP file and returns it in a simplified FieldTrip format. The analog channels and spike channels are both returned in a @@ -16,9 +16,12 @@ def _read_mpi_ds(*args, **kwargs): See also READ_MPI_DAP - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/read_mpi_ds.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/read_mpi_ds.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("read_mpi_ds", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_read_nervus_data.py b/spm/__external/__fieldtrip/__fileio/_read_nervus_data.py index 64e66591..1335589e 100644 --- a/spm/__external/__fieldtrip/__fileio/_read_nervus_data.py +++ b/spm/__external/__fieldtrip/__fileio/_read_nervus_data.py @@ -2,7 +2,7 @@ def _read_nervus_data(*args, **kwargs): - """ + r""" read_nervus_data Returns data from Nicolet file. OUT = read_nervus_data(NRVHDR, SEGMENT, RANGE, CHIDX) returns data in an n x m array of @@ -41,9 +41,12 @@ def _read_nervus_data(*args, **kwargs): $Id: $ - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/read_nervus_data.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/read_nervus_data.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("read_nervus_data", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_read_nervus_header.py b/spm/__external/__fieldtrip/__fileio/_read_nervus_header.py index 3cc9fe0b..c96e65d8 100644 --- a/spm/__external/__fieldtrip/__fileio/_read_nervus_header.py +++ b/spm/__external/__fieldtrip/__fileio/_read_nervus_header.py @@ -2,7 +2,7 @@ def _read_nervus_header(*args, **kwargs): - """ + r""" read_nervus_header Returns header information from Nicolet file. FILENAME is the file name of a file in the Natus/Nicolet/Nervus(TM) @@ -32,9 +32,12 @@ def _read_nervus_header(*args, **kwargs): $Id: $ - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/read_nervus_header.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/read_nervus_header.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("read_nervus_header", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_read_neuralynx_bin.py b/spm/__external/__fieldtrip/__fileio/_read_neuralynx_bin.py index bf2853c7..d5ef6c59 100644 --- a/spm/__external/__fieldtrip/__fileio/_read_neuralynx_bin.py +++ b/spm/__external/__fieldtrip/__fileio/_read_neuralynx_bin.py @@ -2,7 +2,7 @@ def _read_neuralynx_bin(*args, **kwargs): - """ + r""" READ_NEURALYNX_BIN Use as @@ -29,9 +29,12 @@ def _read_neuralynx_bin(*args, **kwargs): filename as dataset.chanlabel.bin. - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/read_neuralynx_bin.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/read_neuralynx_bin.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("read_neuralynx_bin", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_read_neuralynx_cds.py b/spm/__external/__fieldtrip/__fileio/_read_neuralynx_cds.py index f78cd816..f7f30b2e 100644 --- a/spm/__external/__fieldtrip/__fileio/_read_neuralynx_cds.py +++ b/spm/__external/__fieldtrip/__fileio/_read_neuralynx_cds.py @@ -2,7 +2,7 @@ def _read_neuralynx_cds(*args, **kwargs): - """ + r""" READ_NEURALYNX_CDS reads selected samples and channels from a combined Neuralynx dataset with separate subdirectories for the LFP, MUA and spike channels Use as @@ -14,9 +14,12 @@ def _read_neuralynx_cds(*args, **kwargs): with Neuralynx, SPIKESPLITTING and SPIKEDOWNSAMPLE. - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/read_neuralynx_cds.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/read_neuralynx_cds.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("read_neuralynx_cds", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_read_neuralynx_dma.py b/spm/__external/__fieldtrip/__fileio/_read_neuralynx_dma.py index 777e801e..6b81dc49 100644 --- a/spm/__external/__fieldtrip/__fileio/_read_neuralynx_dma.py +++ b/spm/__external/__fieldtrip/__fileio/_read_neuralynx_dma.py @@ -2,7 +2,7 @@ def _read_neuralynx_dma(*args, **kwargs): - """ + r""" READ_NEURALYNX_DMA reads specified samples and channels data from a Neuralynx DMA log file Use as @@ -19,9 +19,12 @@ def _read_neuralynx_dma(*args, **kwargs): the Neuralynx amplifier and scale the values accordingly. - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/read_neuralynx_dma.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/read_neuralynx_dma.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("read_neuralynx_dma", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_read_neuralynx_ds.py b/spm/__external/__fieldtrip/__fileio/_read_neuralynx_ds.py index 29a73bdc..b762446c 100644 --- a/spm/__external/__fieldtrip/__fileio/_read_neuralynx_ds.py +++ b/spm/__external/__fieldtrip/__fileio/_read_neuralynx_ds.py @@ -2,7 +2,7 @@ def _read_neuralynx_ds(*args, **kwargs): - """ + r""" READ_NEURALYNX_DS reads multiple single-channel Neuralynx files that are all contained in a single directory. Each file is treated as a single channel of a combined multi-channel dataset. @@ -27,9 +27,12 @@ def _read_neuralynx_ds(*args, **kwargs): See also READ_NEURALYNX_NCS, READ_NEURALYNX_NSE, READ_NEURALYNX_NTS - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/read_neuralynx_ds.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/read_neuralynx_ds.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("read_neuralynx_ds", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_read_neuralynx_ncs.py b/spm/__external/__fieldtrip/__fileio/_read_neuralynx_ncs.py index d0f25423..435144d8 100644 --- a/spm/__external/__fieldtrip/__fileio/_read_neuralynx_ncs.py +++ b/spm/__external/__fieldtrip/__fileio/_read_neuralynx_ncs.py @@ -2,7 +2,7 @@ def _read_neuralynx_ncs(*args, **kwargs): - """ + r""" READ_NEURALYNX_NCS reads a single continuous channel file Use as @@ -10,9 +10,12 @@ def _read_neuralynx_ncs(*args, **kwargs): [ncs] = read_neuralynx_ncs(filename, begrecord, endrecord) - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/read_neuralynx_ncs.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/read_neuralynx_ncs.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("read_neuralynx_ncs", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_read_neuralynx_nev.py b/spm/__external/__fieldtrip/__fileio/_read_neuralynx_nev.py index 7966f89c..dc14aa8d 100644 --- a/spm/__external/__fieldtrip/__fileio/_read_neuralynx_nev.py +++ b/spm/__external/__fieldtrip/__fileio/_read_neuralynx_nev.py @@ -2,7 +2,7 @@ def _read_neuralynx_nev(*args, **kwargs): - """ + r""" READ_NEURALYNX_NEV reads the event information from the *.nev file in a Neuralynx dataset directory @@ -21,9 +21,12 @@ def _read_neuralynx_nev(*args, **kwargs): The output structure contains all events and timestamps. - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/read_neuralynx_nev.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/read_neuralynx_nev.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("read_neuralynx_nev", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_read_neuralynx_nse.py b/spm/__external/__fieldtrip/__fileio/_read_neuralynx_nse.py index 563a596b..0ae8befd 100644 --- a/spm/__external/__fieldtrip/__fileio/_read_neuralynx_nse.py +++ b/spm/__external/__fieldtrip/__fileio/_read_neuralynx_nse.py @@ -2,7 +2,7 @@ def _read_neuralynx_nse(*args, **kwargs): - """ + r""" READ_NEURALYNX_NSE reads a single electrode waveform file Use as @@ -10,9 +10,12 @@ def _read_neuralynx_nse(*args, **kwargs): [nse] = read_neuralynx_nse(filename, begrecord, endrecord) - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/read_neuralynx_nse.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/read_neuralynx_nse.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("read_neuralynx_nse", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_read_neuralynx_nst.py b/spm/__external/__fieldtrip/__fileio/_read_neuralynx_nst.py index 978daa81..af9432e5 100644 --- a/spm/__external/__fieldtrip/__fileio/_read_neuralynx_nst.py +++ b/spm/__external/__fieldtrip/__fileio/_read_neuralynx_nst.py @@ -2,7 +2,7 @@ def _read_neuralynx_nst(*args, **kwargs): - """ + r""" READ_NEURALYNX_NST reads a single stereotrode file Use as @@ -10,9 +10,12 @@ def _read_neuralynx_nst(*args, **kwargs): [nst] = read_neuralynx_nst(filename, begrecord, endrecord) - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/read_neuralynx_nst.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/read_neuralynx_nst.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("read_neuralynx_nst", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_read_neuralynx_nts.py b/spm/__external/__fieldtrip/__fileio/_read_neuralynx_nts.py index d28f2804..d907b5e7 100644 --- a/spm/__external/__fieldtrip/__fileio/_read_neuralynx_nts.py +++ b/spm/__external/__fieldtrip/__fileio/_read_neuralynx_nts.py @@ -2,7 +2,7 @@ def _read_neuralynx_nts(*args, **kwargs): - """ + r""" READ_NEURALYNX_NTS reads spike timestamps Use as @@ -10,9 +10,12 @@ def _read_neuralynx_nts(*args, **kwargs): [nts] = read_neuralynx_nts(filename, begrecord, endrecord) - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/read_neuralynx_nts.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/read_neuralynx_nts.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("read_neuralynx_nts", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_read_neuralynx_ntt.py b/spm/__external/__fieldtrip/__fileio/_read_neuralynx_ntt.py index e08a7d24..bed82251 100644 --- a/spm/__external/__fieldtrip/__fileio/_read_neuralynx_ntt.py +++ b/spm/__external/__fieldtrip/__fileio/_read_neuralynx_ntt.py @@ -2,7 +2,7 @@ def _read_neuralynx_ntt(*args, **kwargs): - """ + r""" READ_NEURALYNX_NTT reads a single tetrode file Use as @@ -10,9 +10,12 @@ def _read_neuralynx_ntt(*args, **kwargs): [ntt] = read_neuralynx_ntt(filename, begrecord, endrecord) - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/read_neuralynx_ntt.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/read_neuralynx_ntt.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("read_neuralynx_ntt", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_read_neuralynx_sdma.py b/spm/__external/__fieldtrip/__fileio/_read_neuralynx_sdma.py index 4736653f..27c3a0ed 100644 --- a/spm/__external/__fieldtrip/__fileio/_read_neuralynx_sdma.py +++ b/spm/__external/__fieldtrip/__fileio/_read_neuralynx_sdma.py @@ -2,7 +2,7 @@ def _read_neuralynx_sdma(*args, **kwargs): - """ + r""" READ_NEURALYNX_SDMA read specified channels and samples from a Neuralynx splitted DMA dataset Use as @@ -23,9 +23,12 @@ def _read_neuralynx_sdma(*args, **kwargs): the Neuralynx amplifier and scale the values accordingly. - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/read_neuralynx_sdma.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/read_neuralynx_sdma.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("read_neuralynx_sdma", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_read_neuralynx_ttl.py b/spm/__external/__fieldtrip/__fileio/_read_neuralynx_ttl.py index 4c379c33..f1d6af53 100644 --- a/spm/__external/__fieldtrip/__fileio/_read_neuralynx_ttl.py +++ b/spm/__external/__fieldtrip/__fileio/_read_neuralynx_ttl.py @@ -2,7 +2,7 @@ def _read_neuralynx_ttl(*args, **kwargs): - """ + r""" READ_NEURALYNX_TTL reads the Parallel_in values from a *.ttl file Use as @@ -13,9 +13,12 @@ def _read_neuralynx_ttl(*args, **kwargs): SPIKEDOWNSAMPLE. - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/read_neuralynx_ttl.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/read_neuralynx_ttl.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("read_neuralynx_ttl", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_read_neuromag_eve.py b/spm/__external/__fieldtrip/__fileio/_read_neuromag_eve.py index cd71bf1d..55993bee 100644 --- a/spm/__external/__fieldtrip/__fileio/_read_neuromag_eve.py +++ b/spm/__external/__fieldtrip/__fileio/_read_neuromag_eve.py @@ -2,7 +2,7 @@ def _read_neuromag_eve(*args, **kwargs): - """ + r""" READ_NEUROMAG_EVE imports events from the *.eve marker file that can accompany a *.fif dataset. @@ -20,9 +20,12 @@ def _read_neuromag_eve(*args, **kwargs): file on disk. - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/read_neuromag_eve.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/read_neuromag_eve.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("read_neuromag_eve", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_read_neuromag_hc.py b/spm/__external/__fieldtrip/__fileio/_read_neuromag_hc.py index 8d75c848..c53d1c98 100644 --- a/spm/__external/__fieldtrip/__fileio/_read_neuromag_hc.py +++ b/spm/__external/__fieldtrip/__fileio/_read_neuromag_hc.py @@ -2,7 +2,7 @@ def _read_neuromag_hc(*args, **kwargs): - """ + r""" READ_NEUROMAG_HC extracts the MEG headcoil marker positions from a neuromag fif file or from the FieldTrip buffer @@ -27,9 +27,12 @@ def _read_neuromag_hc(*args, **kwargs): hc.standard.rpa - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/read_neuromag_hc.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/read_neuromag_hc.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("read_neuromag_hc", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_read_neuromag_headpos.py b/spm/__external/__fieldtrip/__fileio/_read_neuromag_headpos.py index ba015bd1..f2aa4811 100644 --- a/spm/__external/__fieldtrip/__fileio/_read_neuromag_headpos.py +++ b/spm/__external/__fieldtrip/__fileio/_read_neuromag_headpos.py @@ -2,7 +2,7 @@ def _read_neuromag_headpos(*args, **kwargs): - """ + r""" READ_NEUROMAG_HEADPOS reads head position information from file. The file contains information about Time, Quaternions (q1-q6), goodness of fit (g-value) and error. @@ -16,9 +16,12 @@ def _read_neuromag_headpos(*args, **kwargs): data.coldata Contains the Column name - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/read_neuromag_headpos.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/read_neuromag_headpos.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("read_neuromag_headpos", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_read_neuromag_maxfilterlog.py b/spm/__external/__fieldtrip/__fileio/_read_neuromag_maxfilterlog.py index 899b0474..d1b02460 100644 --- a/spm/__external/__fieldtrip/__fileio/_read_neuromag_maxfilterlog.py +++ b/spm/__external/__fieldtrip/__fileio/_read_neuromag_maxfilterlog.py @@ -2,7 +2,7 @@ def _read_neuromag_maxfilterlog(*args, **kwargs): - """ + r""" READ_NEUROMAG_MAXFILTERLOG reads the ascii logfile that is produced by MaxFilter Use as @@ -11,9 +11,12 @@ def _read_neuromag_maxfilterlog(*args, **kwargs): See also READ_NEUROMAG_EVE, READ_NEUROMAG_HC - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/read_neuromag_maxfilterlog.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/read_neuromag_maxfilterlog.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("read_neuromag_maxfilterlog", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_read_neuroshare.py b/spm/__external/__fieldtrip/__fileio/_read_neuroshare.py index 672757c2..894c4713 100644 --- a/spm/__external/__fieldtrip/__fileio/_read_neuroshare.py +++ b/spm/__external/__fieldtrip/__fileio/_read_neuroshare.py @@ -2,7 +2,7 @@ def _read_neuroshare(*args, **kwargs): - """ + r""" READ_NEUROSHARE reads header information or data from any file format supported by Neuroshare. The file can contain event timestamps, spike timestamps and waveforms, and continuous (analog) variable data. @@ -28,9 +28,12 @@ def _read_neuroshare(*args, **kwargs): Note that this is a test version, WINDOWS only - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/read_neuroshare.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/read_neuroshare.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("read_neuroshare", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_read_neurosim_evolution.py b/spm/__external/__fieldtrip/__fileio/_read_neurosim_evolution.py index fd5eeff9..e25f8fc5 100644 --- a/spm/__external/__fieldtrip/__fileio/_read_neurosim_evolution.py +++ b/spm/__external/__fieldtrip/__fileio/_read_neurosim_evolution.py @@ -2,7 +2,7 @@ def _read_neurosim_evolution(*args, **kwargs): - """ + r""" READ_NEUROSIM_EVOLUTION reads the "evolution" file that is written by Jan van der Eerden's NeuroSim software. When a directory is used as input, the default filename 'evolution' is read. @@ -16,9 +16,12 @@ def _read_neurosim_evolution(*args, **kwargs): See also FT_READ_HEADER, FT_READ_DATA - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/read_neurosim_evolution.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/read_neurosim_evolution.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("read_neurosim_evolution", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_read_neurosim_signals.py b/spm/__external/__fieldtrip/__fileio/_read_neurosim_signals.py index e0d1948c..44de70c4 100644 --- a/spm/__external/__fieldtrip/__fileio/_read_neurosim_signals.py +++ b/spm/__external/__fieldtrip/__fileio/_read_neurosim_signals.py @@ -2,16 +2,19 @@ def _read_neurosim_signals(*args, **kwargs): - """ + r""" READ_NEUROSIM_SIGNALS reads the "signals" file that is written by Jan van der Eerden's NeuroSim software. See also FT_READ_HEADER, FT_READ_DATA - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/read_neurosim_signals.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/read_neurosim_signals.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("read_neurosim_signals", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_read_neurosim_spikes.py b/spm/__external/__fieldtrip/__fileio/_read_neurosim_spikes.py index a1e0a908..dcd51b7a 100644 --- a/spm/__external/__fieldtrip/__fileio/_read_neurosim_spikes.py +++ b/spm/__external/__fieldtrip/__fileio/_read_neurosim_spikes.py @@ -2,7 +2,7 @@ def _read_neurosim_spikes(*args, **kwargs): - """ + r""" READ_NEUROSIM_SPIKES reads the "spikes" file that is written by Jan van der Eerden's NeuroSim software. The output is represented in a structure that is consistent with the FieldTrip spike representation. @@ -23,9 +23,12 @@ def _read_neurosim_spikes(*args, **kwargs): See also FT_READ_SPIKE, FT_DATATYPE_SPIKE - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/read_neurosim_spikes.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/read_neurosim_spikes.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("read_neurosim_spikes", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_read_nex5.py b/spm/__external/__fieldtrip/__fileio/_read_nex5.py index 2bd66e0e..2d640b30 100644 --- a/spm/__external/__fieldtrip/__fileio/_read_nex5.py +++ b/spm/__external/__fieldtrip/__fileio/_read_nex5.py @@ -2,7 +2,7 @@ def _read_nex5(*args, **kwargs): - """ + r""" READ_NEX5 reads header or data from a Nex Technologies *.nex5 file, which is a file containing action-potential (spike) timestamps and waveforms (spike channels), event timestamps (event channels), and continuous @@ -47,9 +47,12 @@ def _read_nex5(*args, **kwargs): $Id$ - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/read_nex5.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/read_nex5.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("read_nex5", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_read_nex5_event.py b/spm/__external/__fieldtrip/__fileio/_read_nex5_event.py index 82d65e6c..a7c9b6e4 100644 --- a/spm/__external/__fieldtrip/__fileio/_read_nex5_event.py +++ b/spm/__external/__fieldtrip/__fileio/_read_nex5_event.py @@ -2,7 +2,7 @@ def _read_nex5_event(*args, **kwargs): - """ + r""" READ_NEX5_EVENT for Nex Technologies *.nex5 file, supports NEX5 variable types: marker, interval, and event @@ -25,9 +25,12 @@ def _read_nex5_event(*args, **kwargs): See also READ_NEX5_HEADER, READ_NEX5 - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/read_nex5_event.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/read_nex5_event.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("read_nex5_event", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_read_nex5_header.py b/spm/__external/__fieldtrip/__fileio/_read_nex5_header.py index 9779a982..7a27a94e 100644 --- a/spm/__external/__fieldtrip/__fileio/_read_nex5_header.py +++ b/spm/__external/__fieldtrip/__fileio/_read_nex5_header.py @@ -2,7 +2,7 @@ def _read_nex5_header(*args, **kwargs): - """ + r""" READ_NEX5_HEADER for Nex Technologies *.nex5 file Use as @@ -11,9 +11,12 @@ def _read_nex5_header(*args, **kwargs): See also RAD_NEX5_DATA, READ_NEX5_EVENT - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/read_nex5_header.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/read_nex5_header.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("read_nex5_header", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_read_nex_data.py b/spm/__external/__fieldtrip/__fileio/_read_nex_data.py index 78890e08..0e047049 100644 --- a/spm/__external/__fieldtrip/__fileio/_read_nex_data.py +++ b/spm/__external/__fieldtrip/__fileio/_read_nex_data.py @@ -2,7 +2,7 @@ def _read_nex_data(*args, **kwargs): - """ + r""" READ_NEX_DATA for Plexon *.nex file Use as @@ -11,9 +11,12 @@ def _read_nex_data(*args, **kwargs): See also READ_NEX_HEADER, READ_NEX_EVENT - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/read_nex_data.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/read_nex_data.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("read_nex_data", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_read_nex_event.py b/spm/__external/__fieldtrip/__fileio/_read_nex_event.py index f0c76cf6..96bb655e 100644 --- a/spm/__external/__fieldtrip/__fileio/_read_nex_event.py +++ b/spm/__external/__fieldtrip/__fileio/_read_nex_event.py @@ -2,7 +2,7 @@ def _read_nex_event(*args, **kwargs): - """ + r""" READ_NEX_EVENT for Plexon *.nex file, supports NEX variable types: marker, interval, and event @@ -25,9 +25,12 @@ def _read_nex_event(*args, **kwargs): See also READ_NEX_HEADER, READ_NEX_DATA - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/read_nex_event.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/read_nex_event.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("read_nex_event", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_read_nex_header.py b/spm/__external/__fieldtrip/__fileio/_read_nex_header.py index df695a80..8df982ff 100644 --- a/spm/__external/__fieldtrip/__fileio/_read_nex_header.py +++ b/spm/__external/__fieldtrip/__fileio/_read_nex_header.py @@ -2,7 +2,7 @@ def _read_nex_header(*args, **kwargs): - """ + r""" READ_NEX_HEADER for Plexon *.nex file Use as @@ -11,9 +11,12 @@ def _read_nex_header(*args, **kwargs): See also RAD_NEX_DATA, READ_NEX_EVENT - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/read_nex_header.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/read_nex_header.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("read_nex_header", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_read_nexstim_event.py b/spm/__external/__fieldtrip/__fileio/_read_nexstim_event.py index 88e27f70..710e9cff 100644 --- a/spm/__external/__fieldtrip/__fileio/_read_nexstim_event.py +++ b/spm/__external/__fieldtrip/__fileio/_read_nexstim_event.py @@ -2,14 +2,17 @@ def _read_nexstim_event(*args, **kwargs): - """ + r""" Use as [event] = read_nexstim_event(filename) - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/read_nexstim_event.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/read_nexstim_event.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("read_nexstim_event", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_read_nexstim_nxe.py b/spm/__external/__fieldtrip/__fileio/_read_nexstim_nxe.py index 3c36d749..e1249f08 100644 --- a/spm/__external/__fieldtrip/__fileio/_read_nexstim_nxe.py +++ b/spm/__external/__fieldtrip/__fileio/_read_nexstim_nxe.py @@ -2,7 +2,7 @@ def _read_nexstim_nxe(*args, **kwargs): - """ + r""" READ_NEXSTIM_NXE reads specified samples from a NXE continuous datafile Use as @@ -27,9 +27,12 @@ def _read_nexstim_nxe(*args, **kwargs): This returns a Nchans X Nsamples data matrix - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/read_nexstim_nxe.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/read_nexstim_nxe.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("read_nexstim_nxe", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_read_nifti2_hdr.py b/spm/__external/__fieldtrip/__fileio/_read_nifti2_hdr.py index f063a4d4..8f3f9525 100644 --- a/spm/__external/__fieldtrip/__fileio/_read_nifti2_hdr.py +++ b/spm/__external/__fieldtrip/__fileio/_read_nifti2_hdr.py @@ -2,7 +2,7 @@ def _read_nifti2_hdr(*args, **kwargs): - """ + r""" READ_NIFTI2_HDR Use as @@ -23,9 +23,12 @@ def _read_nifti2_hdr(*args, **kwargs): See also WRITE_NIFTI_HDR, READ_CIFTI, WRITE_CIFTI - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/read_nifti2_hdr.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/read_nifti2_hdr.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("read_nifti2_hdr", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_read_nihonkohden_m00.py b/spm/__external/__fieldtrip/__fileio/_read_nihonkohden_m00.py index 3ef868b9..f5d00be3 100644 --- a/spm/__external/__fieldtrip/__fileio/_read_nihonkohden_m00.py +++ b/spm/__external/__fieldtrip/__fileio/_read_nihonkohden_m00.py @@ -2,7 +2,7 @@ def _read_nihonkohden_m00(*args, **kwargs): - """ + r""" READ_NIHONKOHDEN_M00 reads the header and data from a file in the Nihon Kohden *.m00 format. This implementation is an adaptation of convert_nkascii2mat.m and get_nkheader.m written by Timothy Ellmore, see https://openwetware.org/wiki/Beauchamp:AnalyzeEEGinMatlab. @@ -15,9 +15,12 @@ def _read_nihonkohden_m00(*args, **kwargs): See also FT_READ_HEADER, FT_READ_DATA - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/read_nihonkohden_m00.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/read_nihonkohden_m00.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("read_nihonkohden_m00", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_read_nimh_cortex.py b/spm/__external/__fieldtrip/__fileio/_read_nimh_cortex.py index a0a9d340..4a281a05 100644 --- a/spm/__external/__fieldtrip/__fileio/_read_nimh_cortex.py +++ b/spm/__external/__fieldtrip/__fileio/_read_nimh_cortex.py @@ -2,7 +2,7 @@ def _read_nimh_cortex(*args, **kwargs): - """ + r""" READ_NIMH_CORTEX Use as @@ -19,9 +19,12 @@ def _read_nimh_cortex(*args, **kwargs): The output is a structure array with one structure for every trial that was read. - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/read_nimh_cortex.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/read_nimh_cortex.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("read_nimh_cortex", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_read_nmc_archive_k_data.py b/spm/__external/__fieldtrip/__fileio/_read_nmc_archive_k_data.py index 957b5fe4..650f7622 100644 --- a/spm/__external/__fieldtrip/__fileio/_read_nmc_archive_k_data.py +++ b/spm/__external/__fieldtrip/__fileio/_read_nmc_archive_k_data.py @@ -2,7 +2,7 @@ def _read_nmc_archive_k_data(*args, **kwargs): - """ + r""" READ_NMC_ARCHIVE_K_DATA reads data from nmc_archive_k datasets Used in read_data as @@ -16,9 +16,12 @@ def _read_nmc_archive_k_data(*args, **kwargs): format. - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/read_nmc_archive_k_data.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/read_nmc_archive_k_data.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("read_nmc_archive_k_data", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_read_nmc_archive_k_event.py b/spm/__external/__fieldtrip/__fileio/_read_nmc_archive_k_event.py index d7b5d289..873ce3f5 100644 --- a/spm/__external/__fieldtrip/__fileio/_read_nmc_archive_k_event.py +++ b/spm/__external/__fieldtrip/__fileio/_read_nmc_archive_k_event.py @@ -2,7 +2,7 @@ def _read_nmc_archive_k_event(*args, **kwargs): - """ + r""" READ_NMC_ARCHIVE_K_EVENT extracts event-data from nmc_archive_k datasets Use as @@ -16,9 +16,12 @@ def _read_nmc_archive_k_event(*args, **kwargs): format. - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/read_nmc_archive_k_event.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/read_nmc_archive_k_event.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("read_nmc_archive_k_event", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_read_nmc_archive_k_hdr.py b/spm/__external/__fieldtrip/__fileio/_read_nmc_archive_k_hdr.py index 06874f01..95f777ad 100644 --- a/spm/__external/__fieldtrip/__fileio/_read_nmc_archive_k_hdr.py +++ b/spm/__external/__fieldtrip/__fileio/_read_nmc_archive_k_hdr.py @@ -2,7 +2,7 @@ def _read_nmc_archive_k_hdr(*args, **kwargs): - """ + r""" READ_NMC_ARCHIVE_K_HDR extracts 'header-data' for nmc_archive_k datasets Use as @@ -16,9 +16,12 @@ def _read_nmc_archive_k_hdr(*args, **kwargs): format. - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/read_nmc_archive_k_hdr.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/read_nmc_archive_k_hdr.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("read_nmc_archive_k_hdr", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_read_ns_avg.py b/spm/__external/__fieldtrip/__fileio/_read_ns_avg.py index 67699903..563e4d26 100644 --- a/spm/__external/__fieldtrip/__fileio/_read_ns_avg.py +++ b/spm/__external/__fieldtrip/__fileio/_read_ns_avg.py @@ -2,7 +2,7 @@ def _read_ns_avg(*args, **kwargs): - """ + r""" READ_NS_AVG read a NeuroScan 3.x or 4.x AVG File [avg] = read_ns_avg(filename) @@ -22,9 +22,12 @@ def _read_ns_avg(*args, **kwargs): avg.xmax - poststimulus epoch end (e.g., 900 msec) - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/read_ns_avg.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/read_ns_avg.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("read_ns_avg", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_read_ns_eeg.py b/spm/__external/__fieldtrip/__fileio/_read_ns_eeg.py index e1fb91d3..c9b04a27 100644 --- a/spm/__external/__fieldtrip/__fileio/_read_ns_eeg.py +++ b/spm/__external/__fieldtrip/__fileio/_read_ns_eeg.py @@ -2,7 +2,7 @@ def _read_ns_eeg(*args, **kwargs): - """ + r""" READ_NS_EEG read a NeuroScan 3.x or 4.x EEG File [eeg] = read_ns_eeg(filename, epoch) @@ -23,9 +23,12 @@ def _read_ns_eeg(*args, **kwargs): eeg.nsweeps - number of accepted trials/sweeps - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/read_ns_eeg.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/read_ns_eeg.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("read_ns_eeg", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_read_ns_hdr.py b/spm/__external/__fieldtrip/__fileio/_read_ns_hdr.py index ff269c03..ed33cc7e 100644 --- a/spm/__external/__fieldtrip/__fileio/_read_ns_hdr.py +++ b/spm/__external/__fieldtrip/__fileio/_read_ns_hdr.py @@ -2,7 +2,7 @@ def _read_ns_hdr(*args, **kwargs): - """ + r""" READ_NS_HDR read the header from a NeuroScan 3.x or 4.x AVG/EEG/CNT File [hdr] = read_ns_hdr(filename) @@ -18,9 +18,12 @@ def _read_ns_hdr(*args, **kwargs): hdr.domain - time (0) or frequency (1) domain - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/read_ns_hdr.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/read_ns_hdr.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("read_ns_hdr", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_read_nwb_spike.py b/spm/__external/__fieldtrip/__fileio/_read_nwb_spike.py index 2ffacd87..b2e44ac8 100644 --- a/spm/__external/__fieldtrip/__fileio/_read_nwb_spike.py +++ b/spm/__external/__fieldtrip/__fileio/_read_nwb_spike.py @@ -2,7 +2,7 @@ def _read_nwb_spike(*args, **kwargs): - """ + r""" READ_NWB_SPIKE reads spike timestamps and waveforms (if present-not currently supported) from NWB files and converts them to fieldtrip spike data format. @@ -32,9 +32,12 @@ def _read_nwb_spike(*args, **kwargs): Latest change: 01/06/2020 - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/read_nwb_spike.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/read_nwb_spike.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("read_nwb_spike", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_read_off.py b/spm/__external/__fieldtrip/__fileio/_read_off.py index 8ae48ebe..2c393988 100644 --- a/spm/__external/__fieldtrip/__fileio/_read_off.py +++ b/spm/__external/__fieldtrip/__fileio/_read_off.py @@ -2,7 +2,7 @@ def _read_off(*args, **kwargs): - """ + r""" READ_OFF reads vertices and triangles from a OFF format triangulation file [pnt, tri] = read_off(filename) @@ -10,9 +10,12 @@ def _read_off(*args, **kwargs): See also READ_TRI, READ_BND - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/read_off.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/read_off.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("read_off", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_read_plexon_ddt.py b/spm/__external/__fieldtrip/__fileio/_read_plexon_ddt.py index 667d3033..a5632447 100644 --- a/spm/__external/__fieldtrip/__fileio/_read_plexon_ddt.py +++ b/spm/__external/__fieldtrip/__fileio/_read_plexon_ddt.py @@ -2,7 +2,7 @@ def _read_plexon_ddt(*args, **kwargs): - """ + r""" READ_PLEXON_DDT reads header or data from a Plexon *.ddt file, which is a Plexon continuous data file optimized for continuous (streaming) recording where every channel is continuously recorded @@ -16,9 +16,12 @@ def _read_plexon_ddt(*args, **kwargs): returned values are in mV - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/read_plexon_ddt.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/read_plexon_ddt.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("read_plexon_ddt", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_read_plexon_ds.py b/spm/__external/__fieldtrip/__fileio/_read_plexon_ds.py index 172b8434..63d232a1 100644 --- a/spm/__external/__fieldtrip/__fileio/_read_plexon_ds.py +++ b/spm/__external/__fieldtrip/__fileio/_read_plexon_ds.py @@ -2,7 +2,7 @@ def _read_plexon_ds(*args, **kwargs): - """ + r""" READ_PLEXON_DS reads multiple single-channel Plexon files that are all contained in a single directory. Each file is treated as a single channel of a combined multi-channel dataset. @@ -14,9 +14,12 @@ def _read_plexon_ds(*args, **kwargs): See also READ_PLEXON_NEX, READ_PLEXON_PLX, READ_PLEXON_DDT - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/read_plexon_ds.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/read_plexon_ds.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("read_plexon_ds", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_read_plexon_nex.py b/spm/__external/__fieldtrip/__fileio/_read_plexon_nex.py index 22c94f30..50d0df7c 100644 --- a/spm/__external/__fieldtrip/__fileio/_read_plexon_nex.py +++ b/spm/__external/__fieldtrip/__fileio/_read_plexon_nex.py @@ -2,7 +2,7 @@ def _read_plexon_nex(*args, **kwargs): - """ + r""" READ_PLEXON_NEX reads header or data from a Plexon *.nex file, which is a file containing action-potential (spike) timestamps and waveforms (spike channels), event timestamps (event channels), and continuous @@ -27,9 +27,12 @@ def _read_plexon_nex(*args, **kwargs): See also READ_PLEXON_PLX, READ_PLEXON_DDT - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/read_plexon_nex.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/read_plexon_nex.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("read_plexon_nex", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_read_plexon_plx.py b/spm/__external/__fieldtrip/__fileio/_read_plexon_plx.py index 34ad8736..44d9494b 100644 --- a/spm/__external/__fieldtrip/__fileio/_read_plexon_plx.py +++ b/spm/__external/__fieldtrip/__fileio/_read_plexon_plx.py @@ -2,7 +2,7 @@ def _read_plexon_plx(*args, **kwargs): - """ + r""" READ_PLEXON_PLX reads header or data from a Plexon *.plx file, which is a file containing action-potential (spike) timestamps and waveforms (spike channels), event timestamps (event channels), and continuous @@ -22,9 +22,12 @@ def _read_plexon_plx(*args, **kwargs): 'EventIndex' = number, or list of numbers (that will result in multiple outputs) - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/read_plexon_plx.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/read_plexon_plx.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("read_plexon_plx", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_read_ply.py b/spm/__external/__fieldtrip/__fileio/_read_ply.py index 7642a189..bd84c42e 100644 --- a/spm/__external/__fieldtrip/__fileio/_read_ply.py +++ b/spm/__external/__fieldtrip/__fileio/_read_ply.py @@ -2,8 +2,8 @@ def _read_ply(*args, **kwargs): - """ - READ_PLY reads triangles, tetraheders or hexaheders from a Stanford *.ply file + r""" + READ_PLY reads triangles, tetrahedrons or hexahedrons from a Stanford *.ply file Use as [vert, face, prop, face_prop] = read_ply(filename) @@ -15,9 +15,12 @@ def _read_ply(*args, **kwargs): See also WRITE_PLY, WRITE_VTK, READ_VTK - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/read_ply.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/read_ply.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("read_ply", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_read_polhemus_fil.py b/spm/__external/__fieldtrip/__fileio/_read_polhemus_fil.py index d3f944fd..5e2dd99f 100644 --- a/spm/__external/__fieldtrip/__fileio/_read_polhemus_fil.py +++ b/spm/__external/__fieldtrip/__fileio/_read_polhemus_fil.py @@ -2,7 +2,7 @@ def _read_polhemus_fil(*args, **kwargs): - """ + r""" Reads Polhemus files: either sensor file or headshape file or both @@ -30,9 +30,12 @@ def _read_polhemus_fil(*args, **kwargs): Copyright (C) 2008 Wellcome Trust Centre for Neuroimaging - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/read_polhemus_fil.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/read_polhemus_fil.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("read_polhemus_fil", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_read_polhemus_pos.py b/spm/__external/__fieldtrip/__fileio/_read_polhemus_pos.py index f8017b84..486f852a 100644 --- a/spm/__external/__fieldtrip/__fileio/_read_polhemus_pos.py +++ b/spm/__external/__fieldtrip/__fileio/_read_polhemus_pos.py @@ -2,7 +2,7 @@ def _read_polhemus_pos(*args, **kwargs): - """ + r""" READ_POLHEMUS_POS reads electrode positions measured with the Polhemus tracker in one of the EEG labs at the DCCN. The software used with the Polhemus is from CTF. @@ -14,9 +14,12 @@ def _read_polhemus_pos(*args, **kwargs): elec.pnt position of each electrode - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/read_polhemus_pos.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/read_polhemus_pos.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("read_polhemus_pos", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_read_presentation_log.py b/spm/__external/__fieldtrip/__fileio/_read_presentation_log.py index 18bada4f..e16c14e2 100644 --- a/spm/__external/__fieldtrip/__fileio/_read_presentation_log.py +++ b/spm/__external/__fieldtrip/__fileio/_read_presentation_log.py @@ -2,16 +2,19 @@ def _read_presentation_log(*args, **kwargs): - """ + r""" READ_PRESENTATION_LOG reads a NBS Presentation scenario log file and represents it as a FieldTrip event structure. See also FT_READ_EVENT - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/read_presentation_log.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/read_presentation_log.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("read_presentation_log", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_read_ricoh_data.py b/spm/__external/__fieldtrip/__fileio/_read_ricoh_data.py index 8fef533f..dd50c989 100644 --- a/spm/__external/__fieldtrip/__fileio/_read_ricoh_data.py +++ b/spm/__external/__fieldtrip/__fileio/_read_ricoh_data.py @@ -2,7 +2,7 @@ def _read_ricoh_data(*args, **kwargs): - """ + r""" function [dat] = read_ricoh_data(filename, hdr, begsample, endsample, chanindx) READ_RICOH_DATA reads continuous or averaged MEG data @@ -17,9 +17,12 @@ def _read_ricoh_data(*args, **kwargs): See also READ_RICOH_HEADER, READ_RICOH_EVENT - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/read_ricoh_data.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/read_ricoh_data.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("read_ricoh_data", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_read_ricoh_event.py b/spm/__external/__fieldtrip/__fileio/_read_ricoh_event.py index 6218ff5e..b9035662 100644 --- a/spm/__external/__fieldtrip/__fileio/_read_ricoh_event.py +++ b/spm/__external/__fieldtrip/__fileio/_read_ricoh_event.py @@ -2,7 +2,7 @@ def _read_ricoh_event(*args, **kwargs): - """ + r""" READ_RICOH_EVENT reads event information from continuous, epoched or averaged MEG data that has been generated by the Ricoh MEG system and software and allows those events to be used in @@ -14,9 +14,12 @@ def _read_ricoh_event(*args, **kwargs): See also READ_RICOH_HEADER, READ_RICOH_DATA - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/read_ricoh_event.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/read_ricoh_event.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("read_ricoh_event", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_read_ricoh_header.py b/spm/__external/__fieldtrip/__fileio/_read_ricoh_header.py index 2c0d5b42..8fa14f36 100644 --- a/spm/__external/__fieldtrip/__fileio/_read_ricoh_header.py +++ b/spm/__external/__fieldtrip/__fileio/_read_ricoh_header.py @@ -2,7 +2,7 @@ def _read_ricoh_header(*args, **kwargs): - """ + r""" READ_RICOH_HEADER reads the header information from continuous or averaged MEG data generated by the Ricoh MEG system and software and allows the data to be used in FieldTrip. @@ -21,9 +21,12 @@ def _read_ricoh_header(*args, **kwargs): See also READ_RICOH_DATA, READ_RICOH_EVENT - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/read_ricoh_header.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/read_ricoh_header.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("read_ricoh_header", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_read_sbin_data.py b/spm/__external/__fieldtrip/__fileio/_read_sbin_data.py index 2bc59a4e..c826d0b7 100644 --- a/spm/__external/__fieldtrip/__fileio/_read_sbin_data.py +++ b/spm/__external/__fieldtrip/__fileio/_read_sbin_data.py @@ -2,7 +2,7 @@ def _read_sbin_data(*args, **kwargs): - """ + r""" READ_SBIN_DATA reads the data from an EGI segmented simple binary format file Use as @@ -21,9 +21,12 @@ def _read_sbin_data(*args, **kwargs): Modified from EGI's readEGLY.m with permission 2008-03-31 Joseph Dien - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/read_sbin_data.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/read_sbin_data.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("read_sbin_data", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_read_sbin_events.py b/spm/__external/__fieldtrip/__fileio/_read_sbin_events.py index d7328035..a12b1752 100644 --- a/spm/__external/__fieldtrip/__fileio/_read_sbin_events.py +++ b/spm/__external/__fieldtrip/__fileio/_read_sbin_events.py @@ -2,7 +2,7 @@ def _read_sbin_events(*args, **kwargs): - """ + r""" READ_SBIN_EVENTS reads the events information from an EGI segmented simple binary format file Use as @@ -19,9 +19,12 @@ def _read_sbin_events(*args, **kwargs): Modified from EGI's readEGLY.m with permission 2008-03-31 Joseph Dien - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/read_sbin_events.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/read_sbin_events.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("read_sbin_events", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_read_sbin_header.py b/spm/__external/__fieldtrip/__fileio/_read_sbin_header.py index 4ed25556..653988dd 100644 --- a/spm/__external/__fieldtrip/__fileio/_read_sbin_header.py +++ b/spm/__external/__fieldtrip/__fileio/_read_sbin_header.py @@ -2,7 +2,7 @@ def _read_sbin_header(*args, **kwargs): - """ + r""" READ_SBIN_HEADER reads the header information from an EGI segmented simple binary format file Use as @@ -24,9 +24,12 @@ def _read_sbin_header(*args, **kwargs): Modified from EGI's readEGLY.m with permission 2008-03-31 Joseph Dien - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/read_sbin_header.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/read_sbin_header.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("read_sbin_header", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_read_serial_event.py b/spm/__external/__fieldtrip/__fileio/_read_serial_event.py index bd43f1b4..df790575 100644 --- a/spm/__external/__fieldtrip/__fileio/_read_serial_event.py +++ b/spm/__external/__fieldtrip/__fileio/_read_serial_event.py @@ -2,7 +2,7 @@ def _read_serial_event(*args, **kwargs): - """ + r""" READ_SERIAL_EVENT changed A.Hadjipapas 2010 @@ -10,9 +10,12 @@ def _read_serial_event(*args, **kwargs): The only thing transmitted is the event.value (no info about sample) but it works - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/read_serial_event.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/read_serial_event.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("read_serial_event", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_read_shm_data.py b/spm/__external/__fieldtrip/__fileio/_read_shm_data.py index 31c706c7..49ee7937 100644 --- a/spm/__external/__fieldtrip/__fileio/_read_shm_data.py +++ b/spm/__external/__fieldtrip/__fileio/_read_shm_data.py @@ -2,14 +2,17 @@ def _read_shm_data(*args, **kwargs): - """ + r""" READ_SHM_DATA reads the data in real-time from shared memory this is a helper function for READ_DATA - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/read_shm_data.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/read_shm_data.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("read_shm_data", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_read_shm_event.py b/spm/__external/__fieldtrip/__fileio/_read_shm_event.py index 5a127fef..bf866400 100644 --- a/spm/__external/__fieldtrip/__fileio/_read_shm_event.py +++ b/spm/__external/__fieldtrip/__fileio/_read_shm_event.py @@ -2,14 +2,17 @@ def _read_shm_event(*args, **kwargs): - """ + r""" READ_SHM_EVENT reads the events in real-time from shared memory this is a helper function for READ_EVENT - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/read_shm_event.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/read_shm_event.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("read_shm_event", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_read_shm_header.py b/spm/__external/__fieldtrip/__fileio/_read_shm_header.py index e7f42766..7fcefeca 100644 --- a/spm/__external/__fieldtrip/__fileio/_read_shm_header.py +++ b/spm/__external/__fieldtrip/__fileio/_read_shm_header.py @@ -2,14 +2,17 @@ def _read_shm_header(*args, **kwargs): - """ + r""" READ_SHM_HEADER reads the header in real-time from shared memory this is a helper function for FT_READ_HEADER - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/read_shm_header.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/read_shm_header.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("read_shm_header", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_read_smi_txt.py b/spm/__external/__fieldtrip/__fileio/_read_smi_txt.py index 984eeb80..b59b9b31 100644 --- a/spm/__external/__fieldtrip/__fileio/_read_smi_txt.py +++ b/spm/__external/__fieldtrip/__fileio/_read_smi_txt.py @@ -2,7 +2,7 @@ def _read_smi_txt(*args, **kwargs): - """ + r""" READ_SMI_TXT reads the header information, input triggers, messages and all data points from an SensoMotoric Instruments (SMI) *.txt file @@ -10,9 +10,12 @@ def _read_smi_txt(*args, **kwargs): smi = read_smi_txt(filename) - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/read_smi_txt.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/read_smi_txt.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("read_smi_txt", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_read_spike6mat_data.py b/spm/__external/__fieldtrip/__fileio/_read_spike6mat_data.py index 06116b44..59da42f5 100644 --- a/spm/__external/__fieldtrip/__fileio/_read_spike6mat_data.py +++ b/spm/__external/__fieldtrip/__fileio/_read_spike6mat_data.py @@ -2,7 +2,7 @@ def _read_spike6mat_data(*args, **kwargs): - """ + r""" read_spike6mat_data() - read Matlab files exported from Spike 6 Usage: @@ -24,9 +24,12 @@ def _read_spike6mat_data(*args, **kwargs): Vladimir Litvak - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/read_spike6mat_data.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/read_spike6mat_data.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("read_spike6mat_data", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_read_spike6mat_header.py b/spm/__external/__fieldtrip/__fileio/_read_spike6mat_header.py index cde29461..0ee4dfe4 100644 --- a/spm/__external/__fieldtrip/__fileio/_read_spike6mat_header.py +++ b/spm/__external/__fieldtrip/__fileio/_read_spike6mat_header.py @@ -2,7 +2,7 @@ def _read_spike6mat_header(*args, **kwargs): - """ + r""" read_spike6mat_header() - read Matlab files exported from Spike 6 Usage: @@ -18,9 +18,12 @@ def _read_spike6mat_header(*args, **kwargs): Vladimir Litvak - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/read_spike6mat_header.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/read_spike6mat_header.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("read_spike6mat_header", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_read_spmeeg_data.py b/spm/__external/__fieldtrip/__fileio/_read_spmeeg_data.py index 80eb6789..108ec3b2 100644 --- a/spm/__external/__fieldtrip/__fileio/_read_spmeeg_data.py +++ b/spm/__external/__fieldtrip/__fileio/_read_spmeeg_data.py @@ -2,7 +2,7 @@ def _read_spmeeg_data(*args, **kwargs): - """ + r""" read_spmeeg_data() - import SPM5 and SPM8 meeg datasets Usage: @@ -24,9 +24,12 @@ def _read_spmeeg_data(*args, **kwargs): Vladimir Litvak - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/read_spmeeg_data.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/read_spmeeg_data.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("read_spmeeg_data", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_read_spmeeg_event.py b/spm/__external/__fieldtrip/__fileio/_read_spmeeg_event.py index 4c45e2e3..b8df2d6d 100644 --- a/spm/__external/__fieldtrip/__fileio/_read_spmeeg_event.py +++ b/spm/__external/__fieldtrip/__fileio/_read_spmeeg_event.py @@ -2,7 +2,7 @@ def _read_spmeeg_event(*args, **kwargs): - """ + r""" read_spmeeg_event() - import evtns from SPM5 and SPM8 meeg datasets Usage: @@ -18,9 +18,12 @@ def _read_spmeeg_event(*args, **kwargs): Vladimir Litvak - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/read_spmeeg_event.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/read_spmeeg_event.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("read_spmeeg_event", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_read_spmeeg_header.py b/spm/__external/__fieldtrip/__fileio/_read_spmeeg_header.py index 47a45dd4..1fca75ea 100644 --- a/spm/__external/__fieldtrip/__fileio/_read_spmeeg_header.py +++ b/spm/__external/__fieldtrip/__fileio/_read_spmeeg_header.py @@ -2,7 +2,7 @@ def _read_spmeeg_header(*args, **kwargs): - """ + r""" read_spmeeg_header() - import SPM5 and SPM8 meeg datasets Usage: @@ -18,9 +18,12 @@ def _read_spmeeg_header(*args, **kwargs): Vladimir Litvak - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/read_spmeeg_header.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/read_spmeeg_header.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("read_spmeeg_header", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_read_stl.py b/spm/__external/__fieldtrip/__fileio/_read_stl.py index b71246fd..04eebff0 100644 --- a/spm/__external/__fieldtrip/__fileio/_read_stl.py +++ b/spm/__external/__fieldtrip/__fileio/_read_stl.py @@ -2,7 +2,7 @@ def _read_stl(*args, **kwargs): - """ + r""" READ_STL reads a triangulation from an ascii or binary *.stl file, which is a file format native to the stereolithography CAD software created by 3D Systems. @@ -15,9 +15,12 @@ def _read_stl(*args, **kwargs): See also WRITE_STL - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/read_stl.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/read_stl.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("read_stl", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_read_tck.py b/spm/__external/__fieldtrip/__fileio/_read_tck.py index 57662b57..237f91d3 100644 --- a/spm/__external/__fieldtrip/__fileio/_read_tck.py +++ b/spm/__external/__fieldtrip/__fileio/_read_tck.py @@ -2,14 +2,17 @@ def _read_tck(*args, **kwargs): - """ + r""" READ_TCK reads tractography information from an mrtrix-generated .tck file. Requires the matlab functions from mrtrix. - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/read_tck.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/read_tck.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("read_tck", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_read_tdt_sev.py b/spm/__external/__fieldtrip/__fileio/_read_tdt_sev.py index 4916c77e..4a8561e8 100644 --- a/spm/__external/__fieldtrip/__fileio/_read_tdt_sev.py +++ b/spm/__external/__fieldtrip/__fileio/_read_tdt_sev.py @@ -2,7 +2,7 @@ def _read_tdt_sev(*args, **kwargs): - """ + r""" READ_TDT_SEV Use as @@ -11,9 +11,12 @@ def _read_tdt_sev(*args, **kwargs): Note: sev files contain raw broadband data that is streamed to the RS4 - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/read_tdt_sev.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/read_tdt_sev.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("read_tdt_sev", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_read_tdt_tbk.py b/spm/__external/__fieldtrip/__fileio/_read_tdt_tbk.py index b9742275..203560f6 100644 --- a/spm/__external/__fieldtrip/__fileio/_read_tdt_tbk.py +++ b/spm/__external/__fieldtrip/__fileio/_read_tdt_tbk.py @@ -2,14 +2,17 @@ def _read_tdt_tbk(*args, **kwargs): - """ + r""" tbk file has block events information and time marks for efficiently locate event if query by time - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/read_tdt_tbk.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/read_tdt_tbk.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("read_tdt_tbk", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_read_tdt_tdx.py b/spm/__external/__fieldtrip/__fileio/_read_tdt_tdx.py index 5bdde9e8..852ed80f 100644 --- a/spm/__external/__fieldtrip/__fileio/_read_tdt_tdx.py +++ b/spm/__external/__fieldtrip/__fileio/_read_tdt_tdx.py @@ -2,14 +2,17 @@ def _read_tdt_tdx(*args, **kwargs): - """ + r""" tdx file contains just information about epoc, is generated after recording if necessary for fast retrieve epoc information - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/read_tdt_tdx.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/read_tdt_tdx.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("read_tdt_tdx", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_read_tdt_tev.py b/spm/__external/__fieldtrip/__fileio/_read_tdt_tev.py index 33b1699f..bfb26525 100644 --- a/spm/__external/__fieldtrip/__fileio/_read_tdt_tev.py +++ b/spm/__external/__fieldtrip/__fileio/_read_tdt_tev.py @@ -2,7 +2,7 @@ def _read_tdt_tev(*args, **kwargs): - """ + r""" READ_TDT_TANK Use as @@ -14,9 +14,12 @@ def _read_tdt_tev(*args, **kwargs): sev files contains streamed binary data - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/read_tdt_tev.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/read_tdt_tev.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("read_tdt_tev", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_read_tdt_tsq.py b/spm/__external/__fieldtrip/__fileio/_read_tdt_tsq.py index 941f71a6..de19d7de 100644 --- a/spm/__external/__fieldtrip/__fileio/_read_tdt_tsq.py +++ b/spm/__external/__fieldtrip/__fileio/_read_tdt_tsq.py @@ -2,7 +2,7 @@ def _read_tdt_tsq(*args, **kwargs): - """ + r""" READ_TDT_TSQ reads the headers from a Tucker_Davis_technologies TSQ file tsq file is a heap of event headers, which is ?40 byte each, @@ -12,9 +12,12 @@ def _read_tdt_tsq(*args, **kwargs): tsq = read_tdt_tsq(filename, begblock, endblock) - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/read_tdt_tsq.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/read_tdt_tsq.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("read_tdt_tsq", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_read_tmsi_poly5.py b/spm/__external/__fieldtrip/__fileio/_read_tmsi_poly5.py index 11c4a94f..06dd0f7d 100644 --- a/spm/__external/__fieldtrip/__fileio/_read_tmsi_poly5.py +++ b/spm/__external/__fieldtrip/__fileio/_read_tmsi_poly5.py @@ -2,7 +2,7 @@ def _read_tmsi_poly5(*args, **kwargs): - """ + r""" READ_TMSI_POLY5 Use as @@ -27,9 +27,12 @@ def _read_tmsi_poly5(*args, **kwargs): MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/read_tmsi_poly5.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/read_tmsi_poly5.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("read_tmsi_poly5", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_read_tobii_tsv.py b/spm/__external/__fieldtrip/__fileio/_read_tobii_tsv.py index f781291b..03c4a1ea 100644 --- a/spm/__external/__fieldtrip/__fileio/_read_tobii_tsv.py +++ b/spm/__external/__fieldtrip/__fileio/_read_tobii_tsv.py @@ -2,7 +2,7 @@ def _read_tobii_tsv(*args, **kwargs): - """ + r""" READ_TOBII_TSV Use as @@ -11,9 +11,12 @@ def _read_tobii_tsv(*args, **kwargs): dat = read_tobii_tsv(filename, tsv, begsample, endsample) - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/read_tobii_tsv.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/read_tobii_tsv.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("read_tobii_tsv", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_read_trigger.py b/spm/__external/__fieldtrip/__fileio/_read_trigger.py index 7c11420c..5d48cd5f 100644 --- a/spm/__external/__fieldtrip/__fileio/_read_trigger.py +++ b/spm/__external/__fieldtrip/__fileio/_read_trigger.py @@ -2,7 +2,7 @@ def _read_trigger(*args, **kwargs): - """ + r""" READ_TRIGGER extracts the events from a continuous trigger channel This function is a helper function to read_event and can be used for all dataformats that have one or multiple continuously sampled TTL channels @@ -18,9 +18,12 @@ def _read_trigger(*args, **kwargs): See also FT_READ_EVENT - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/read_trigger.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/read_trigger.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("read_trigger", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_read_trk.py b/spm/__external/__fieldtrip/__fileio/_read_trk.py index 0eccf523..bed3a9a1 100644 --- a/spm/__external/__fieldtrip/__fileio/_read_trk.py +++ b/spm/__external/__fieldtrip/__fileio/_read_trk.py @@ -2,15 +2,18 @@ def _read_trk(*args, **kwargs): - """ + r""" read TrackVis .trk format data fillPath: filename of track to read. for format details http://www.trackvis.org/docs/?subsect=fileformat - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/read_trk.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/read_trk.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("read_trk", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_read_video.py b/spm/__external/__fieldtrip/__fileio/_read_video.py index e3790ffb..fe0b615f 100644 --- a/spm/__external/__fieldtrip/__fileio/_read_video.py +++ b/spm/__external/__fieldtrip/__fileio/_read_video.py @@ -2,7 +2,7 @@ def _read_video(*args, **kwargs): - """ + r""" READ_VIDEO Use as @@ -13,9 +13,12 @@ def _read_video(*args, **kwargs): See also READ_VIDEOMEG_VID, LOAD_VIDEO123 - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/read_video.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/read_video.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("read_video", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_read_videomeg_aud.py b/spm/__external/__fieldtrip/__fileio/_read_videomeg_aud.py index f2eae9c0..01194c5d 100644 --- a/spm/__external/__fieldtrip/__fileio/_read_videomeg_aud.py +++ b/spm/__external/__fieldtrip/__fileio/_read_videomeg_aud.py @@ -2,7 +2,7 @@ def _read_videomeg_aud(*args, **kwargs): - """ + r""" READ_VIDEOMEG_AUD Use as @@ -13,9 +13,12 @@ def _read_videomeg_aud(*args, **kwargs): See also READ_VIDEOMEG_VID, LOAD_AUDIO0123, LOAD_VIDEO123 - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/read_videomeg_aud.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/read_videomeg_aud.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("read_videomeg_aud", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_read_videomeg_vid.py b/spm/__external/__fieldtrip/__fileio/_read_videomeg_vid.py index 36d4784b..bad01771 100644 --- a/spm/__external/__fieldtrip/__fileio/_read_videomeg_vid.py +++ b/spm/__external/__fieldtrip/__fileio/_read_videomeg_vid.py @@ -2,7 +2,7 @@ def _read_videomeg_vid(*args, **kwargs): - """ + r""" READ_VIDEOMEG_VID Use as @@ -13,9 +13,12 @@ def _read_videomeg_vid(*args, **kwargs): See also READ_VIDEOMEG_AUD, LOAD_AUDIO0123, LOAD_VIDEO123 - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/read_videomeg_vid.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/read_videomeg_vid.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("read_videomeg_vid", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_read_vtk.py b/spm/__external/__fieldtrip/__fileio/_read_vtk.py index e3c96243..fcedee3e 100644 --- a/spm/__external/__fieldtrip/__fileio/_read_vtk.py +++ b/spm/__external/__fieldtrip/__fileio/_read_vtk.py @@ -2,19 +2,25 @@ def _read_vtk(*args, **kwargs): - """ - READ_VTK reads a triangulation from a VTK (Visualisation ToolKit) format file - Supported are triangles and other polygons. + r""" + READ_VTK reads a triangulation from a VTK (Visualisation ToolKit) format file. + Supported are triangles, triangle strips, and other polygons. Use as [pnt, tri] = read_vtk(filename) - See also WRITE_VTK + See https://docs.vtk.org/en/latest/design_documents/VTKFileFormats.html + and https://www.princeton.edu/~efeibush/viscourse/vtk.pdf + + See also WRITE_VTK, READ_VTK_XML - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/read_vtk.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/read_vtk.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("read_vtk", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_read_vtk_xml.py b/spm/__external/__fieldtrip/__fileio/_read_vtk_xml.py index e6c11a9d..997e5367 100644 --- a/spm/__external/__fieldtrip/__fileio/_read_vtk_xml.py +++ b/spm/__external/__fieldtrip/__fileio/_read_vtk_xml.py @@ -2,18 +2,23 @@ def _read_vtk_xml(*args, **kwargs): - """ + r""" READ_VTK_XML reads a XML-formatted vtk file containing points in 3D and connecting elements. this function is a trial-and-error based implementation to read xml-style vtk files. There is some documentation online, which seems somewhat incomplete, or at least not fully understood by me. + + See also READ_VTK, WRITE_VTK - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/read_vtk_xml.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/read_vtk_xml.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("read_vtk_xml", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_read_wdq_data.py b/spm/__external/__fieldtrip/__fileio/_read_wdq_data.py index 507a284b..230e3daf 100644 --- a/spm/__external/__fieldtrip/__fileio/_read_wdq_data.py +++ b/spm/__external/__fieldtrip/__fileio/_read_wdq_data.py @@ -2,7 +2,7 @@ def _read_wdq_data(*args, **kwargs): - """ + r""" READ_WDQ_DATA reads data from wdq files Use as @@ -11,9 +11,12 @@ def _read_wdq_data(*args, **kwargs): [dat] = read_wdq_data(filename, hdr, 'lowbits') - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/read_wdq_data.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/read_wdq_data.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("read_wdq_data", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_read_wdq_header.py b/spm/__external/__fieldtrip/__fileio/_read_wdq_header.py index 21bbba42..4b432203 100644 --- a/spm/__external/__fieldtrip/__fileio/_read_wdq_header.py +++ b/spm/__external/__fieldtrip/__fileio/_read_wdq_header.py @@ -2,16 +2,19 @@ def _read_wdq_header(*args, **kwargs): - """ + r""" READ_WDQ_HEADER reads header information from wdq files Use as [hdr] = read_wdq_header(filename) - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/read_wdq_header.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/read_wdq_header.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("read_wdq_header", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_read_yokogawa_data.py b/spm/__external/__fieldtrip/__fileio/_read_yokogawa_data.py index 19e6f96b..ce3d9da4 100644 --- a/spm/__external/__fieldtrip/__fileio/_read_yokogawa_data.py +++ b/spm/__external/__fieldtrip/__fileio/_read_yokogawa_data.py @@ -2,7 +2,7 @@ def _read_yokogawa_data(*args, **kwargs): - """ + r""" READ_YOKAGAWA_DATA reads continuous, epoched or averaged MEG data that has been generated by the Yokogawa MEG system and software and allows that data to be used in combination with FieldTrip. @@ -18,9 +18,12 @@ def _read_yokogawa_data(*args, **kwargs): See also READ_YOKOGAWA_HEADER, READ_YOKOGAWA_EVENT - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/read_yokogawa_data.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/read_yokogawa_data.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("read_yokogawa_data", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_read_yokogawa_data_new.py b/spm/__external/__fieldtrip/__fileio/_read_yokogawa_data_new.py index 5f3b02d2..1160ee71 100644 --- a/spm/__external/__fieldtrip/__fileio/_read_yokogawa_data_new.py +++ b/spm/__external/__fieldtrip/__fileio/_read_yokogawa_data_new.py @@ -2,7 +2,7 @@ def _read_yokogawa_data_new(*args, **kwargs): - """ + r""" READ_YOKAGAWA_DATA_NEW reads continuous, epoched or averaged MEG data that has been generated by the Yokogawa MEG system and software and allows that data to be used in combination with FieldTrip. @@ -16,9 +16,12 @@ def _read_yokogawa_data_new(*args, **kwargs): See also READ_YOKOGAWA_HEADER_NEW, READ_YOKOGAWA_EVENT - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/read_yokogawa_data_new.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/read_yokogawa_data_new.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("read_yokogawa_data_new", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_read_yokogawa_event.py b/spm/__external/__fieldtrip/__fileio/_read_yokogawa_event.py index 97600b41..cbbc5ef1 100644 --- a/spm/__external/__fieldtrip/__fileio/_read_yokogawa_event.py +++ b/spm/__external/__fieldtrip/__fileio/_read_yokogawa_event.py @@ -2,7 +2,7 @@ def _read_yokogawa_event(*args, **kwargs): - """ + r""" READ_YOKOGAWA_EVENT reads event information from continuous, epoched or averaged MEG data that has been generated by the Yokogawa MEG system and software and allows those events to be used in @@ -14,9 +14,12 @@ def _read_yokogawa_event(*args, **kwargs): See also READ_YOKOGAWA_HEADER, READ_YOKOGAWA_DATA - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/read_yokogawa_event.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/read_yokogawa_event.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("read_yokogawa_event", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_read_yokogawa_header.py b/spm/__external/__fieldtrip/__fileio/_read_yokogawa_header.py index ac9ff2fe..8ba394ee 100644 --- a/spm/__external/__fieldtrip/__fileio/_read_yokogawa_header.py +++ b/spm/__external/__fieldtrip/__fileio/_read_yokogawa_header.py @@ -2,7 +2,7 @@ def _read_yokogawa_header(*args, **kwargs): - """ + r""" READ_YOKOGAWA_HEADER reads the header information from continuous, epoched or averaged MEG data that has been generated by the Yokogawa MEG system and software and allows that data to be used in combination @@ -24,9 +24,12 @@ def _read_yokogawa_header(*args, **kwargs): See also READ_YOKOGAWA_DATA, READ_YOKOGAWA_EVENT - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/read_yokogawa_header.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/read_yokogawa_header.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("read_yokogawa_header", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_read_yokogawa_header_new.py b/spm/__external/__fieldtrip/__fileio/_read_yokogawa_header_new.py index 8e5b6535..05e65289 100644 --- a/spm/__external/__fieldtrip/__fileio/_read_yokogawa_header_new.py +++ b/spm/__external/__fieldtrip/__fileio/_read_yokogawa_header_new.py @@ -2,7 +2,7 @@ def _read_yokogawa_header_new(*args, **kwargs): - """ + r""" READ_YOKOGAWA_HEADER_NEW reads the header information from continuous, epoched or averaged MEG data that has been generated by the Yokogawa MEG system and software and allows that data to be used in combination @@ -23,9 +23,12 @@ def _read_yokogawa_header_new(*args, **kwargs): FT_READ_HEADER, READ_YOKOGAWA_DATA_NEW, READ_YOKOGAWA_EVENT - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/read_yokogawa_header_new.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/read_yokogawa_header_new.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("read_yokogawa_header_new", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_read_yorkinstruments_hdf5_meta.py b/spm/__external/__fieldtrip/__fileio/_read_yorkinstruments_hdf5_meta.py index 6b37c8a6..1e0485db 100644 --- a/spm/__external/__fieldtrip/__fileio/_read_yorkinstruments_hdf5_meta.py +++ b/spm/__external/__fieldtrip/__fileio/_read_yorkinstruments_hdf5_meta.py @@ -2,16 +2,19 @@ def _read_yorkinstruments_hdf5_meta(*args, **kwargs): - """ + r""" READ_YPRKINSTRUMENTS_HDF5_META reads the metatada and header information from a .meghdf5 file Use as info=read_yorkinstruments_hdf5_meta(datafile) - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/read_yorkinstruments_hdf5_meta.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/read_yorkinstruments_hdf5_meta.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("read_yorkinstruments_hdf5_meta", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_read_zebris.py b/spm/__external/__fieldtrip/__fileio/_read_zebris.py index abfc02f3..199c9eb3 100644 --- a/spm/__external/__fieldtrip/__fileio/_read_zebris.py +++ b/spm/__external/__fieldtrip/__fileio/_read_zebris.py @@ -2,7 +2,7 @@ def _read_zebris(*args, **kwargs): - """ + r""" Reads Zebris files: fiducials locations, and either sensor file or headshape file or both @@ -34,9 +34,12 @@ def _read_zebris(*args, **kwargs): Copyright (C) 2008 Wellcome Trust Centre for Neuroimaging - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/read_zebris.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/read_zebris.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("read_zebris", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_readmarkerfile.py b/spm/__external/__fieldtrip/__fileio/_readmarkerfile.py index 97ca07c5..e899801d 100644 --- a/spm/__external/__fieldtrip/__fileio/_readmarkerfile.py +++ b/spm/__external/__fieldtrip/__fileio/_readmarkerfile.py @@ -2,7 +2,7 @@ def _readmarkerfile(*args, **kwargs): - """ + r""" Read the MarkerFile.mrk file in a CTF dataset. Use as @@ -12,9 +12,12 @@ def _readmarkerfile(*args, **kwargs): number_samples, marker_names, and trial_times. - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/readmarkerfile.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/readmarkerfile.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("readmarkerfile", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_refine.py b/spm/__external/__fieldtrip/__fileio/_refine.py index 05d8e991..ba55ffcc 100644 --- a/spm/__external/__fieldtrip/__fileio/_refine.py +++ b/spm/__external/__fieldtrip/__fileio/_refine.py @@ -2,12 +2,13 @@ def _refine(*args, **kwargs): - """ + r""" REFINE a 3D surface that is described by a triangulation Use as [pos, tri] = refine(pos, tri) [pos, tri] = refine(pos, tri, 'banks') + [pos, tri] = refine(pos, tri, 'midpoint') [pos, tri, texture] = refine(pos, tri, 'banks', texture) [pos, tri] = refine(pos, tri, 'updown', numtri) @@ -31,9 +32,12 @@ def _refine(*args, **kwargs): reference. - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/refine.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/refine.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("refine", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_remove_double_vertices.py b/spm/__external/__fieldtrip/__fileio/_remove_double_vertices.py index 33ed1422..0d90b00f 100644 --- a/spm/__external/__fieldtrip/__fileio/_remove_double_vertices.py +++ b/spm/__external/__fieldtrip/__fileio/_remove_double_vertices.py @@ -2,7 +2,7 @@ def _remove_double_vertices(*args, **kwargs): - """ + r""" REMOVE_DOUBLE_VERTICES removes double vertices from a triangular, tetrahedral or hexahedral mesh, renumbering the vertex-indices for the elements. @@ -11,12 +11,15 @@ def _remove_double_vertices(*args, **kwargs): [pos, tet] = remove_double_vertices(pos, tet) [pos, hex] = remove_double_vertices(pos, hex) - See also REMOVE_VERTICES + See also REMOVE_VERTICES, REMOVE_UNUSED_VERTICES - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/remove_double_vertices.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/remove_double_vertices.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("remove_double_vertices", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_remove_unused_vertices.py b/spm/__external/__fieldtrip/__fileio/_remove_unused_vertices.py index 04254f94..39581565 100644 --- a/spm/__external/__fieldtrip/__fileio/_remove_unused_vertices.py +++ b/spm/__external/__fieldtrip/__fileio/_remove_unused_vertices.py @@ -2,7 +2,7 @@ def _remove_unused_vertices(*args, **kwargs): - """ + r""" REMOVE_UNUSED_VERTICES removes unused vertices from a triangular, tetrahedral or hexahedral mesh, renumbering the vertex-indices for the elements. @@ -14,9 +14,12 @@ def _remove_unused_vertices(*args, **kwargs): See also REMOVE_VERTICES, REMOVE_DOUBLE_VERTICES - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/remove_unused_vertices.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/remove_unused_vertices.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("remove_unused_vertices", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_remove_vertices.py b/spm/__external/__fieldtrip/__fileio/_remove_vertices.py index 5d46cb73..776f71a8 100644 --- a/spm/__external/__fieldtrip/__fileio/_remove_vertices.py +++ b/spm/__external/__fieldtrip/__fileio/_remove_vertices.py @@ -2,7 +2,7 @@ def _remove_vertices(*args, **kwargs): - """ + r""" REMOVE_VERTICES removes specified indexed vertices from a triangular, tetrahedral or hexahedral mesh renumbering the vertex-indices for the elements and removing all resulting 'open' elements. @@ -15,9 +15,12 @@ def _remove_vertices(*args, **kwargs): See also REMOVE_DOUBLE_VERTICES, REMOVE_UNUSED_VERTICES - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/remove_vertices.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/remove_vertices.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("remove_vertices", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_ricoh2grad.py b/spm/__external/__fieldtrip/__fileio/_ricoh2grad.py index 9f842a14..9ac53a2b 100644 --- a/spm/__external/__fieldtrip/__fileio/_ricoh2grad.py +++ b/spm/__external/__fieldtrip/__fileio/_ricoh2grad.py @@ -2,7 +2,7 @@ def _ricoh2grad(*args, **kwargs): - """ + r""" RICOH2GRAD converts the position and weights of all coils that compromise a gradiometer system into a structure that can be used by FieldTrip. This implementation uses the "ricoh_meg_reader" toolbox. @@ -10,9 +10,12 @@ def _ricoh2grad(*args, **kwargs): See also FT_READ_HEADER, CTF2GRAD, BTI2GRAD, FIF2GRAD, YOKOGAWA2GRAD_NEW - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/ricoh2grad.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/ricoh2grad.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ricoh2grad", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_rmsubfield.py b/spm/__external/__fieldtrip/__fileio/_rmsubfield.py index e0bb676b..8cad2712 100644 --- a/spm/__external/__fieldtrip/__fileio/_rmsubfield.py +++ b/spm/__external/__fieldtrip/__fileio/_rmsubfield.py @@ -2,7 +2,7 @@ def _rmsubfield(*args, **kwargs): - """ + r""" RMSUBFIELD removes the contents of the specified field from a structure just like the standard Matlab RMFIELD function, except that you can also specify nested fields using a '.' in the fieldname. The nesting can be @@ -16,9 +16,12 @@ def _rmsubfield(*args, **kwargs): See also SETFIELD, GETSUBFIELD, ISSUBFIELD - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/rmsubfield.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/rmsubfield.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("rmsubfield", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_rotate.py b/spm/__external/__fieldtrip/__fileio/_rotate.py index e35ceac1..7a282763 100644 --- a/spm/__external/__fieldtrip/__fileio/_rotate.py +++ b/spm/__external/__fieldtrip/__fileio/_rotate.py @@ -2,7 +2,7 @@ def _rotate(*args, **kwargs): - """ + r""" ROTATE returns the homogenous coordinate transformation matrix corresponding to a rotation around the x, y and z-axis. The direction of the rotation is according to the right-hand rule. @@ -20,9 +20,12 @@ def _rotate(*args, **kwargs): See also TRANSLATE, SCALE, RIGIDBODY, QUATERNION, HOMOGENOUS2TRADITIONAL - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/rotate.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/rotate.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("rotate", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_sccn_xdf.py b/spm/__external/__fieldtrip/__fileio/_sccn_xdf.py index 04d3bb8e..c0e14a60 100644 --- a/spm/__external/__fieldtrip/__fileio/_sccn_xdf.py +++ b/spm/__external/__fieldtrip/__fileio/_sccn_xdf.py @@ -2,7 +2,7 @@ def _sccn_xdf(*args, **kwargs): - """ + r""" This is a wrapper to the reading function from the XDF MATLAB toolbox. Use as @@ -11,12 +11,15 @@ def _sccn_xdf(*args, **kwargs): evt = sccn_xdf(filename, hdr); See also FT_FILETYPE, FT_READ_HEADER, FT_READ_DATA, FT_READ_EVENT, XDF2FIELDTRIP - See also BIDS_TSV, BIOPAC_ACQ, BUCN_TXT, EEGSYNTH_TSV, EVENTS_TSV, LIBERTY_CSV, MAUS_TEXTGRID, MOTION_C3D, OPENBCI_TXT, OPENPOSE_KEYPOINTS, OPENSIGNALS_TXT, OPENVIBE_MAT, OPM_FIL, QUALISYS_TSV, SCCN_XDF, SENSYS_CSV, SNIRF, SPIKEGLX_BIN, UNICORN_CSV, XSENS_MVNX + See also BIDS_TSV, BIOPAC_ACQ, BUCN_TXT, EEGSYNTH_TSV, EVENTS_TSV, LIBERTY_CSV, MAUS_TEXTGRID, MOTION_C3D, OPENBCI_TXT, OPENPOSE_KEYPOINTS, OPENSIGNALS_TXT, OPENVIBE_MAT, OPM_FIL, QUALISYS_TSV, QUSPIN_LVM, SCCN_XDF, SENSYS_CSV, SNIRF, SPIKEGLX_BIN, UNICORN_CSV, XSENS_MVNX - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/sccn_xdf.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/sccn_xdf.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("sccn_xdf", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_sensys_csv.py b/spm/__external/__fieldtrip/__fileio/_sensys_csv.py index df6e2950..5be8ba4d 100644 --- a/spm/__external/__fieldtrip/__fileio/_sensys_csv.py +++ b/spm/__external/__fieldtrip/__fileio/_sensys_csv.py @@ -2,7 +2,7 @@ def _sensys_csv(*args, **kwargs): - """ + r""" SENSYS_CSV reads fluxgate magnetometer from the Sensys FGM3D TD system See https://sensysmagnetometer.com/products/fgm3d/ @@ -13,12 +13,15 @@ def _sensys_csv(*args, **kwargs): evt = sensys_csv(filename, hdr); See also FT_FILETYPE, FT_READ_HEADER, FT_READ_DATA, FT_READ_EVENT - See also BIDS_TSV, BIOPAC_ACQ, BUCN_TXT, EEGSYNTH_TSV, EVENTS_TSV, LIBERTY_CSV, MAUS_TEXTGRID, MOTION_C3D, OPENBCI_TXT, OPENPOSE_KEYPOINTS, OPENSIGNALS_TXT, OPENVIBE_MAT, OPM_FIL, QUALISYS_TSV, SCCN_XDF, SENSYS_CSV, SNIRF, SPIKEGLX_BIN, UNICORN_CSV, XSENS_MVNX + See also BIDS_TSV, BIOPAC_ACQ, BUCN_TXT, EEGSYNTH_TSV, EVENTS_TSV, LIBERTY_CSV, MAUS_TEXTGRID, MOTION_C3D, OPENBCI_TXT, OPENPOSE_KEYPOINTS, OPENSIGNALS_TXT, OPENVIBE_MAT, OPM_FIL, QUALISYS_TSV, QUSPIN_LVM, SCCN_XDF, SENSYS_CSV, SNIRF, SPIKEGLX_BIN, UNICORN_CSV, XSENS_MVNX - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/sensys_csv.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/sensys_csv.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("sensys_csv", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_setsubfield.py b/spm/__external/__fieldtrip/__fileio/_setsubfield.py index 2b32d04d..6b7e9ac0 100644 --- a/spm/__external/__fieldtrip/__fileio/_setsubfield.py +++ b/spm/__external/__fieldtrip/__fileio/_setsubfield.py @@ -2,7 +2,7 @@ def _setsubfield(*args, **kwargs): - """ + r""" SETSUBFIELD sets the contents of the specified field to a specified value just like the standard Matlab SETFIELD function, except that you can also specify nested fields using a '.' in the fieldname. The nesting can be @@ -19,9 +19,12 @@ def _setsubfield(*args, **kwargs): See also SETFIELD, GETSUBFIELD, ISSUBFIELD - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/setsubfield.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/setsubfield.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("setsubfield", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_snirf.py b/spm/__external/__fieldtrip/__fileio/_snirf.py index f4007342..3198f6f9 100644 --- a/spm/__external/__fieldtrip/__fileio/_snirf.py +++ b/spm/__external/__fieldtrip/__fileio/_snirf.py @@ -2,7 +2,7 @@ def _snirf(*args, **kwargs): - """ + r""" SNIRF reads data from a SNIRF file and returns it in a format that FieldTrip understands. See https://github.com/fNIRS/snirf/blob/master/snirf_specification.md @@ -17,12 +17,15 @@ def _snirf(*args, **kwargs): must have the same sampling rate and be sampled at the same time. See also FT_FILETYPE, FT_READ_HEADER, FT_READ_DATA, FT_READ_EVENT, SNIRF2OPTO - See also BIDS_TSV, BIOPAC_ACQ, BUCN_TXT, EEGSYNTH_TSV, EVENTS_TSV, LIBERTY_CSV, MAUS_TEXTGRID, MOTION_C3D, OPENBCI_TXT, OPENPOSE_KEYPOINTS, OPENSIGNALS_TXT, OPENVIBE_MAT, OPM_FIL, QUALISYS_TSV, SCCN_XDF, SENSYS_CSV, SNIRF, SPIKEGLX_BIN, UNICORN_CSV, XSENS_MVNX + See also BIDS_TSV, BIOPAC_ACQ, BUCN_TXT, EEGSYNTH_TSV, EVENTS_TSV, LIBERTY_CSV, MAUS_TEXTGRID, MOTION_C3D, OPENBCI_TXT, OPENPOSE_KEYPOINTS, OPENSIGNALS_TXT, OPENVIBE_MAT, OPM_FIL, QUALISYS_TSV, QUSPIN_LVM, SCCN_XDF, SENSYS_CSV, SNIRF, SPIKEGLX_BIN, UNICORN_CSV, XSENS_MVNX - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/snirf.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/snirf.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("snirf", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_snirf2opto.py b/spm/__external/__fieldtrip/__fileio/_snirf2opto.py index 0d925672..ba73eaa7 100644 --- a/spm/__external/__fieldtrip/__fileio/_snirf2opto.py +++ b/spm/__external/__fieldtrip/__fileio/_snirf2opto.py @@ -2,7 +2,7 @@ def _snirf2opto(*args, **kwargs): - """ + r""" SNIRF2OPTO converts the SNIRF probe and measurementList structures to a FieldTrip optode structure. @@ -13,9 +13,12 @@ def _snirf2opto(*args, **kwargs): See also OPTO2HOMER, BTI2GRAD, CTF2GRAD, FIF2GRAD, ITAB2GRAD, MNE2GRAD, NETMEG2GRAD, YOKOGAWA2GRAD, FT_DATATYPE_SENS - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/snirf2opto.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/snirf2opto.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("snirf2opto", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_solid_angle.py b/spm/__external/__fieldtrip/__fileio/_solid_angle.py index f7ebb374..b343a850 100644 --- a/spm/__external/__fieldtrip/__fileio/_solid_angle.py +++ b/spm/__external/__fieldtrip/__fileio/_solid_angle.py @@ -2,7 +2,7 @@ def _solid_angle(*args, **kwargs): - """ + r""" SOLID_ANGLE of a planar triangle as seen from the origin The solid angle W subtended by a surface S is defined as the surface @@ -10,7 +10,7 @@ def _solid_angle(*args, **kwargs): sphere. Solid angle is measured in steradians, and the solid angle corresponding to all of space being subtended is 4*pi sterradians. - Use: + Use as [w] = solid_angle(v1, v2, v3) or [w] = solid_angle(pnt, tri) @@ -19,9 +19,12 @@ def _solid_angle(*args, **kwargs): compute the solid angle for each triangle) - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/solid_angle.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/solid_angle.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("solid_angle", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_spikeglx_bin.py b/spm/__external/__fieldtrip/__fileio/_spikeglx_bin.py index 307b09eb..ff04a00e 100644 --- a/spm/__external/__fieldtrip/__fileio/_spikeglx_bin.py +++ b/spm/__external/__fieldtrip/__fileio/_spikeglx_bin.py @@ -2,7 +2,7 @@ def _spikeglx_bin(*args, **kwargs): - """ + r""" SPIKEGLX_BIN reads Neuropixel data from SpikeGLX .bin files See https://github.com/jenniferColonell/SpikeGLX_Datafile_Tools @@ -13,12 +13,15 @@ def _spikeglx_bin(*args, **kwargs): evt = spikeglx_bin(filename, hdr); See also FT_FILETYPE, FT_READ_HEADER, FT_READ_DATA, FT_READ_EVENT - See also BIDS_TSV, BIOPAC_ACQ, BUCN_TXT, EEGSYNTH_TSV, EVENTS_TSV, LIBERTY_CSV, MAUS_TEXTGRID, MOTION_C3D, OPENBCI_TXT, OPENPOSE_KEYPOINTS, OPENSIGNALS_TXT, OPENVIBE_MAT, OPM_FIL, QUALISYS_TSV, SCCN_XDF, SENSYS_CSV, SNIRF, SPIKEGLX_BIN, UNICORN_CSV, XSENS_MVNX + See also BIDS_TSV, BIOPAC_ACQ, BUCN_TXT, EEGSYNTH_TSV, EVENTS_TSV, LIBERTY_CSV, MAUS_TEXTGRID, MOTION_C3D, OPENBCI_TXT, OPENPOSE_KEYPOINTS, OPENSIGNALS_TXT, OPENVIBE_MAT, OPM_FIL, QUALISYS_TSV, QUSPIN_LVM, SCCN_XDF, SENSYS_CSV, SNIRF, SPIKEGLX_BIN, UNICORN_CSV, XSENS_MVNX - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/spikeglx_bin.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/spikeglx_bin.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spikeglx_bin", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_surf_to_tetgen.py b/spm/__external/__fieldtrip/__fileio/_surf_to_tetgen.py index fe0fa1a7..d19c14d3 100644 --- a/spm/__external/__fieldtrip/__fileio/_surf_to_tetgen.py +++ b/spm/__external/__fieldtrip/__fileio/_surf_to_tetgen.py @@ -2,14 +2,17 @@ def _surf_to_tetgen(*args, **kwargs): - """ + r""" This function converts a triangulated mesh in FieldTrip format into a surface structure readable by Tetgen software - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/surf_to_tetgen.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/surf_to_tetgen.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("surf_to_tetgen", *args, **kwargs, nargout=0) diff --git a/spm/__external/__fieldtrip/__fileio/_surface_inside.py b/spm/__external/__fieldtrip/__fileio/_surface_inside.py index ef71be0f..c0e55d00 100644 --- a/spm/__external/__fieldtrip/__fileio/_surface_inside.py +++ b/spm/__external/__fieldtrip/__fileio/_surface_inside.py @@ -2,7 +2,7 @@ def _surface_inside(*args, **kwargs): - """ + r""" SURFACE_INSIDE determines if a point is inside/outside a triangle mesh whereby the bounding triangle mesh should be closed. @@ -16,9 +16,12 @@ def _surface_inside(*args, **kwargs): See also SURFACE_AREA, SURFACE_ORIENTATION, SURFACE_NORMALS, SURFACE_NESTING, SOLID_ANGLE - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/surface_inside.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/surface_inside.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("surface_inside", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_surface_normals.py b/spm/__external/__fieldtrip/__fileio/_surface_normals.py index 2d363cf1..e1571725 100644 --- a/spm/__external/__fieldtrip/__fileio/_surface_normals.py +++ b/spm/__external/__fieldtrip/__fileio/_surface_normals.py @@ -2,7 +2,7 @@ def _surface_normals(*args, **kwargs): - """ + r""" SURFACE_NORMALS compute the surface normals of a triangular mesh for each triangle or for each vertex @@ -13,9 +13,12 @@ def _surface_normals(*args, **kwargs): See also SURFACE_AREA, SURFACE_ORIENTATION, SURFACE_INSIDE, SURFACE_NESTING, PROJECTTRI, PCNORMALS - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/surface_normals.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/surface_normals.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("surface_normals", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_time2offset.py b/spm/__external/__fieldtrip/__fileio/_time2offset.py index a1ecfe0f..19e73612 100644 --- a/spm/__external/__fieldtrip/__fileio/_time2offset.py +++ b/spm/__external/__fieldtrip/__fileio/_time2offset.py @@ -2,7 +2,7 @@ def _time2offset(*args, **kwargs): - """ + r""" TIME2OFFSET converts a time-axis of a trial into the offset in samples according to the definition from DEFINETRIAL @@ -19,9 +19,12 @@ def _time2offset(*args, **kwargs): negative offset indicates a trial beginning before the trigger. - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/time2offset.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/time2offset.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("time2offset", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_timestamp_neuralynx.py b/spm/__external/__fieldtrip/__fileio/_timestamp_neuralynx.py index 9d35fedb..9c84015c 100644 --- a/spm/__external/__fieldtrip/__fileio/_timestamp_neuralynx.py +++ b/spm/__external/__fieldtrip/__fileio/_timestamp_neuralynx.py @@ -2,14 +2,17 @@ def _timestamp_neuralynx(*args, **kwargs): - """ + r""" TIMESTAMP_NEURALYNX merge the low and high part of Neuralynx timestamps into a single uint64 value - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/timestamp_neuralynx.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/timestamp_neuralynx.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("timestamp_neuralynx", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_timestamp_plexon.py b/spm/__external/__fieldtrip/__fileio/_timestamp_plexon.py index 2587f75f..2688235d 100644 --- a/spm/__external/__fieldtrip/__fileio/_timestamp_plexon.py +++ b/spm/__external/__fieldtrip/__fileio/_timestamp_plexon.py @@ -2,14 +2,17 @@ def _timestamp_plexon(*args, **kwargs): - """ + r""" TIMESTAMP_PLEXON merge the low and high part of the timestamps into a single uint64 value - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/timestamp_plexon.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/timestamp_plexon.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("timestamp_plexon", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_tokenize.py b/spm/__external/__fieldtrip/__fileio/_tokenize.py index 98a3d461..398387ac 100644 --- a/spm/__external/__fieldtrip/__fileio/_tokenize.py +++ b/spm/__external/__fieldtrip/__fileio/_tokenize.py @@ -2,7 +2,7 @@ def _tokenize(*args, **kwargs): - """ + r""" TOKENIZE cuts a string into pieces, returning the pieces in a cell-array Use as @@ -22,9 +22,12 @@ def _tokenize(*args, **kwargs): See also STRSPLIT, SPLIT, STRTOK, TEXTSCAN - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/tokenize.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/tokenize.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("tokenize", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_translate.py b/spm/__external/__fieldtrip/__fileio/_translate.py index a8f0409c..1e580c22 100644 --- a/spm/__external/__fieldtrip/__fileio/_translate.py +++ b/spm/__external/__fieldtrip/__fileio/_translate.py @@ -2,7 +2,7 @@ def _translate(*args, **kwargs): - """ + r""" TRANSLATE returns the homogenous coordinate transformation matrix corresponding to a translation along the x, y and z-axis @@ -15,9 +15,12 @@ def _translate(*args, **kwargs): See also ROTATE, SCALE, RIGIDBODY, QUATERNION, HOMOGENOUS2TRADITIONAL - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/translate.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/translate.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("translate", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_tri2bnd.py b/spm/__external/__fieldtrip/__fileio/_tri2bnd.py index 7a4f86e7..599dc8c2 100644 --- a/spm/__external/__fieldtrip/__fileio/_tri2bnd.py +++ b/spm/__external/__fieldtrip/__fileio/_tri2bnd.py @@ -1,23 +1,26 @@ -from mpython import Runtime +from spm._runtime import Runtime def _tri2bnd(*args, **kwargs): - """ - TRI2BND takes a triangulated surface mesh that is represented as one - long list of triangles with per triangle a tissue or region type, and - converts it in a struct array with one surface mesh per tissue. - - Use as - [bnd, bndtissue] = tri2bnd(pos, tri, tritissue) - - The output "bnd" is a structure array with the fields bnd.pos and bnd.tri. - - See also MESH2EDGE, POLY2TRI, BND2TRI - - - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/tri2bnd.m ) - - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + r""" + TRI2BND takes a triangulated surface mesh that is represented as one + long list of triangles with per triangle a tissue or region type, and + converts it in a struct array with one surface mesh per tissue. + + Use as + [bnd, bndtissue] = tri2bnd(pos, tri, tritissue) + + The output "bnd" is a structure array with the fields bnd.pos and bnd.tri. + + See also MESH2EDGE, POLY2TRI, BND2TRI + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/tri2bnd.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("tri2bnd", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_undobalancing.py b/spm/__external/__fieldtrip/__fileio/_undobalancing.py index 4054cec6..fa496441 100644 --- a/spm/__external/__fieldtrip/__fileio/_undobalancing.py +++ b/spm/__external/__fieldtrip/__fileio/_undobalancing.py @@ -2,15 +2,18 @@ def _undobalancing(*args, **kwargs): - """ + r""" UNDOBALANCING removes all balancing coefficients from the gradiometer sensor array This is used in CHANNELPOSITION, FT_PREPARE_LAYOUT, FT_SENSTYPE - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/undobalancing.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/undobalancing.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("undobalancing", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_unicorn_csv.py b/spm/__external/__fieldtrip/__fileio/_unicorn_csv.py index 86026f44..2e4960f8 100644 --- a/spm/__external/__fieldtrip/__fileio/_unicorn_csv.py +++ b/spm/__external/__fieldtrip/__fileio/_unicorn_csv.py @@ -2,7 +2,7 @@ def _unicorn_csv(*args, **kwargs): - """ + r""" UNICORN_CSV reads EEG data from the Gtec/Unicorn Hybrid Black See http://unicorn-bi.com/ @@ -13,12 +13,15 @@ def _unicorn_csv(*args, **kwargs): evt = unicorn_csv(filename, hdr); See also FT_FILETYPE, FT_READ_HEADER, FT_READ_DATA, FT_READ_EVENT - See also BIDS_TSV, BIOPAC_ACQ, BUCN_TXT, EEGSYNTH_TSV, EVENTS_TSV, LIBERTY_CSV, MAUS_TEXTGRID, MOTION_C3D, OPENBCI_TXT, OPENPOSE_KEYPOINTS, OPENSIGNALS_TXT, OPENVIBE_MAT, OPM_FIL, QUALISYS_TSV, SCCN_XDF, SENSYS_CSV, SNIRF, SPIKEGLX_BIN, UNICORN_CSV, XSENS_MVNX + See also BIDS_TSV, BIOPAC_ACQ, BUCN_TXT, EEGSYNTH_TSV, EVENTS_TSV, LIBERTY_CSV, MAUS_TEXTGRID, MOTION_C3D, OPENBCI_TXT, OPENPOSE_KEYPOINTS, OPENSIGNALS_TXT, OPENVIBE_MAT, OPM_FIL, QUALISYS_TSV, QUSPIN_LVM, SCCN_XDF, SENSYS_CSV, SNIRF, SPIKEGLX_BIN, UNICORN_CSV, XSENS_MVNX - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/unicorn_csv.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/unicorn_csv.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("unicorn_csv", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_volumewrite_spm.py b/spm/__external/__fieldtrip/__fileio/_volumewrite_spm.py index 1fc4c4c1..e8f69a92 100644 --- a/spm/__external/__fieldtrip/__fileio/_volumewrite_spm.py +++ b/spm/__external/__fieldtrip/__fileio/_volumewrite_spm.py @@ -2,7 +2,7 @@ def _volumewrite_spm(*args, **kwargs): - """ + r""" VOLUMEWRITE_SPM writes anatomical or functional MRI volume data to analyze or nifti format using the SPM toolbox. @@ -10,9 +10,12 @@ def _volumewrite_spm(*args, **kwargs): [Va] = volumewrite_spm(filename, data, transform) - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/volumewrite_spm.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/volumewrite_spm.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("volumewrite_spm", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_write_bdf.py b/spm/__external/__fieldtrip/__fileio/_write_bdf.py new file mode 100644 index 00000000..eaaee40a --- /dev/null +++ b/spm/__external/__fieldtrip/__fileio/_write_bdf.py @@ -0,0 +1,45 @@ +from spm._runtime import Runtime + + +def _write_bdf(*args, **kwargs): + r""" + WRITE_BDF Write EEG data to a Biosemi BDF file + + write_bdf(filename, data, fs, channel_names) + write_bdf(filename, data, fs, channel_names, 'Param', value, ...) + + Inputs: + filename - Output BDF filename (including .bdf extension) + data - EEG data matrix (Nchannels × Ntimepoints) + fs - Sampling frequency (Hz) + channel_names - Cell array of channel names (length Nchannels) + + Optional parameters: + 'SubjectID' - Subject identification string (default: 'X') + 'RecordingID' - Recording identification string (default: 'X') + 'PhysicalMax' - Physical maximum for each channel (default: 32767) + 'PhysicalMin' - Physical minimum for each channel (default: -32768) + 'DigitalMax' - Digital maximum for each channel (default: 8388607) + 'DigitalMin' - Digital minimum for each channel (default: -8388608) + 'ScaleFactor' - Scaling factor for each channel (default: 1) + 'Transducer' - Transducer type for each channel (default: 'Active electrode') + 'Prefilter' - Prefiltering for each channel (default: 'HP:0.16Hz LP:500Hz') + + Example: + data = randn(32, 1000); % 32 channels, 1000 timepoints + fs = 256; % 256 Hz sampling rate + ch_names = arrayfun(@(x) sprintf('EEG%02d', x), 1:32, 'UniformOutput', false); + write_bdf('test.bdf', data, fs, ch_names, 'SubjectID', 'SUBJ01'); + + See also READ_BDF + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/write_bdf.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("write_bdf", *args, **kwargs, nargout=0) diff --git a/spm/__external/__fieldtrip/__fileio/_write_bioimage_mgrid.py b/spm/__external/__fieldtrip/__fileio/_write_bioimage_mgrid.py index f1a56afb..e837feff 100644 --- a/spm/__external/__fieldtrip/__fileio/_write_bioimage_mgrid.py +++ b/spm/__external/__fieldtrip/__fileio/_write_bioimage_mgrid.py @@ -2,7 +2,7 @@ def _write_bioimage_mgrid(*args, **kwargs): - """ + r""" -------------------------------------------------------- WRITE_BIOIMAGE_MGRID writes BioImage Suite .mgrid files from a FieldTrip elec datatype structure @@ -20,9 +20,12 @@ def _write_bioimage_mgrid(*args, **kwargs): -------------------------------------------------------- - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/write_bioimage_mgrid.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/write_bioimage_mgrid.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("write_bioimage_mgrid", *args, **kwargs, nargout=0) diff --git a/spm/__external/__fieldtrip/__fileio/_write_brainvision_eeg.py b/spm/__external/__fieldtrip/__fileio/_write_brainvision_eeg.py index cbc7478a..7e68b78a 100644 --- a/spm/__external/__fieldtrip/__fileio/_write_brainvision_eeg.py +++ b/spm/__external/__fieldtrip/__fileio/_write_brainvision_eeg.py @@ -2,7 +2,7 @@ def _write_brainvision_eeg(*args, **kwargs): - """ + r""" WRITE_BRAINVISION_EEG exports continuous EEG data to a BrainVision *.eeg and corresponding *.vhdr file. The samples in the exported file are multiplexed and stored in ieee-le float32 format. @@ -13,9 +13,12 @@ def _write_brainvision_eeg(*args, **kwargs): See also READ_BRAINVISION_EEG, READ_BRAINVISION_VHDR, READ_BRAINVISION_VMRK - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/write_brainvision_eeg.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/write_brainvision_eeg.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("write_brainvision_eeg", *args, **kwargs, nargout=0) diff --git a/spm/__external/__fieldtrip/__fileio/_write_brainvoyager.py b/spm/__external/__fieldtrip/__fileio/_write_brainvoyager.py index 93bea592..ec4c2bf0 100644 --- a/spm/__external/__fieldtrip/__fileio/_write_brainvoyager.py +++ b/spm/__external/__fieldtrip/__fileio/_write_brainvoyager.py @@ -2,16 +2,19 @@ def _write_brainvoyager(*args, **kwargs): - """ + r""" helper function to write volumetric data for brainvoyager. this is old code that moved from ft_volumewrite to clean up the high level function a bit. it is assumed that the orientation of the volume is correct. - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/write_brainvoyager.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/write_brainvoyager.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("write_brainvoyager", *args, **kwargs, nargout=0) diff --git a/spm/__external/__fieldtrip/__fileio/_write_ctf_shm.py b/spm/__external/__fieldtrip/__fileio/_write_ctf_shm.py index 74a5c112..90746170 100644 --- a/spm/__external/__fieldtrip/__fileio/_write_ctf_shm.py +++ b/spm/__external/__fieldtrip/__fileio/_write_ctf_shm.py @@ -2,20 +2,23 @@ def _write_ctf_shm(*args, **kwargs): - """ + r""" WRITE_CTF_SHM writes metainformation and data as a packet to shared memory. This function can be used for real-time processing of data while it is being acquired. Use as - write_ctf_shm(msgType, msgId, sampleNumber, numSamples, numChannels, data); + write_ctf_shm(msgType, msgId, sampleNumber, numSamples, numChannels, data) See also READ_CTF_SHM - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/write_ctf_shm.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/write_ctf_shm.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ - return Runtime.call("write_ctf_shm", *args, **kwargs) + return Runtime.call("write_ctf_shm", *args, **kwargs, nargout=0) diff --git a/spm/__external/__fieldtrip/__fileio/_write_edf.py b/spm/__external/__fieldtrip/__fileio/_write_edf.py index d3d58d59..b1d4d90f 100644 --- a/spm/__external/__fieldtrip/__fileio/_write_edf.py +++ b/spm/__external/__fieldtrip/__fileio/_write_edf.py @@ -2,7 +2,7 @@ def _write_edf(*args, **kwargs): - """ + r""" WRITE_EDF(filename, header, data) Writes a EDF file from the given header (only label, Fs, nChans are of interest) @@ -16,9 +16,12 @@ def _write_edf(*args, **kwargs): which we could easily violate if we write the whole data as *one* record. - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/write_edf.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/write_edf.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("write_edf", *args, **kwargs, nargout=0) diff --git a/spm/__external/__fieldtrip/__fileio/_write_gdf.py b/spm/__external/__fieldtrip/__fileio/_write_gdf.py index aac467e5..5fc9c0fe 100644 --- a/spm/__external/__fieldtrip/__fileio/_write_gdf.py +++ b/spm/__external/__fieldtrip/__fileio/_write_gdf.py @@ -2,7 +2,7 @@ def _write_gdf(*args, **kwargs): - """ + r""" WRITE_GDF(filename, header, data) Writes a GDF file from the given header (only label, Fs, nChans are of interest) @@ -11,9 +11,12 @@ def _write_gdf(*args, **kwargs): where N is the number of columns in 'data'. - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/write_gdf.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/write_gdf.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("write_gdf", *args, **kwargs, nargout=0) diff --git a/spm/__external/__fieldtrip/__fileio/_write_neuralynx_ncs.py b/spm/__external/__fieldtrip/__fileio/_write_neuralynx_ncs.py index 21d9d5b9..36c440cb 100644 --- a/spm/__external/__fieldtrip/__fileio/_write_neuralynx_ncs.py +++ b/spm/__external/__fieldtrip/__fileio/_write_neuralynx_ncs.py @@ -2,7 +2,7 @@ def _write_neuralynx_ncs(*args, **kwargs): - """ + r""" WRITE_NEURALYNX_NCS writes continuous data to a NCS file Use as @@ -13,9 +13,12 @@ def _write_neuralynx_ncs(*args, **kwargs): See also READ_NEURALYNX_NCS - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/write_neuralynx_ncs.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/write_neuralynx_ncs.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("write_neuralynx_ncs", *args, **kwargs, nargout=0) diff --git a/spm/__external/__fieldtrip/__fileio/_write_neuralynx_nts.py b/spm/__external/__fieldtrip/__fileio/_write_neuralynx_nts.py index 34729d33..a5b11c17 100644 --- a/spm/__external/__fieldtrip/__fileio/_write_neuralynx_nts.py +++ b/spm/__external/__fieldtrip/__fileio/_write_neuralynx_nts.py @@ -2,7 +2,7 @@ def _write_neuralynx_nts(*args, **kwargs): - """ + r""" WRITE_NEURALYNX_NTS writes spike timestamps to a NTS file Use as @@ -11,9 +11,12 @@ def _write_neuralynx_nts(*args, **kwargs): See also READ_NEURALYNX_NTS - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/write_neuralynx_nts.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/write_neuralynx_nts.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("write_neuralynx_nts", *args, **kwargs, nargout=0) diff --git a/spm/__external/__fieldtrip/__fileio/_write_nifti2_hdr.py b/spm/__external/__fieldtrip/__fileio/_write_nifti2_hdr.py index daaa570a..a66adbef 100644 --- a/spm/__external/__fieldtrip/__fileio/_write_nifti2_hdr.py +++ b/spm/__external/__fieldtrip/__fileio/_write_nifti2_hdr.py @@ -2,7 +2,7 @@ def _write_nifti2_hdr(*args, **kwargs): - """ + r""" WRITE_NIFTI2_HDR Use as @@ -14,9 +14,12 @@ def _write_nifti2_hdr(*args, **kwargs): See also READ_NIFTI_HDR, READ_CIFTI, WRITE_CIFTI - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/write_nifti2_hdr.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/write_nifti2_hdr.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("write_nifti2_hdr", *args, **kwargs, nargout=0) diff --git a/spm/__external/__fieldtrip/__fileio/_write_off.py b/spm/__external/__fieldtrip/__fileio/_write_off.py index e6ea5d99..0bcf23a0 100644 --- a/spm/__external/__fieldtrip/__fileio/_write_off.py +++ b/spm/__external/__fieldtrip/__fileio/_write_off.py @@ -2,7 +2,7 @@ def _write_off(*args, **kwargs): - """ + r""" WRITE_OFF writes a set of geometrical planar forms (called piecewise linear complex, PLC) to an ascii *.off file, which is a file format created by Princeton Shape Benchmark @@ -12,9 +12,12 @@ def _write_off(*args, **kwargs): See also READ_OFF - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/write_off.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/write_off.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("write_off", *args, **kwargs, nargout=0) diff --git a/spm/__external/__fieldtrip/__fileio/_write_plexon_nex.py b/spm/__external/__fieldtrip/__fileio/_write_plexon_nex.py index 853be63e..209f58e0 100644 --- a/spm/__external/__fieldtrip/__fileio/_write_plexon_nex.py +++ b/spm/__external/__fieldtrip/__fileio/_write_plexon_nex.py @@ -2,7 +2,7 @@ def _write_plexon_nex(*args, **kwargs): - """ + r""" WRITE_PLEXON_NEX writes a Plexon *.nex file, which is a file containing action-potential (spike) timestamps and waveforms (spike channels), event timestamps (event channels), and continuous variable @@ -22,9 +22,12 @@ def _write_plexon_nex(*args, **kwargs): See also READ_PLEXON_NEX, READ_PLEXON_PLX, READ_PLEXON_DDT - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/write_plexon_nex.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/write_plexon_nex.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("write_plexon_nex", *args, **kwargs, nargout=0) diff --git a/spm/__external/__fieldtrip/__fileio/_write_ply.py b/spm/__external/__fieldtrip/__fileio/_write_ply.py index a7f6c67a..2a2c0a77 100644 --- a/spm/__external/__fieldtrip/__fileio/_write_ply.py +++ b/spm/__external/__fieldtrip/__fileio/_write_ply.py @@ -2,8 +2,8 @@ def _write_ply(*args, **kwargs): - """ - WRITE_PLY writes triangles, tetraheders or hexaheders to a Stanford *.ply format file + r""" + WRITE_PLY writes triangles, tetrahedrons or hexahedrons to a Stanford *.ply format file Use as write_ply(filename, vertex, element) @@ -15,9 +15,12 @@ def _write_ply(*args, **kwargs): See also READ_PLY, READ_VTK, WRITE_VTK - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/write_ply.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/write_ply.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("write_ply", *args, **kwargs, nargout=0) diff --git a/spm/__external/__fieldtrip/__fileio/_write_serial_event.py b/spm/__external/__fieldtrip/__fileio/_write_serial_event.py index f0eb8cbc..6270545b 100644 --- a/spm/__external/__fieldtrip/__fileio/_write_serial_event.py +++ b/spm/__external/__fieldtrip/__fileio/_write_serial_event.py @@ -2,7 +2,7 @@ def _write_serial_event(*args, **kwargs): - """ + r""" WRITE_SERIAL_EVENT changed A.Hadjipapas 2010 @@ -11,9 +11,12 @@ def _write_serial_event(*args, **kwargs): serial port on windows or linux platform - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/write_serial_event.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/write_serial_event.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("write_serial_event", *args, **kwargs, nargout=0) diff --git a/spm/__external/__fieldtrip/__fileio/_write_stl.py b/spm/__external/__fieldtrip/__fileio/_write_stl.py index d31c11b2..4508e825 100644 --- a/spm/__external/__fieldtrip/__fileio/_write_stl.py +++ b/spm/__external/__fieldtrip/__fileio/_write_stl.py @@ -2,20 +2,23 @@ def _write_stl(*args, **kwargs): - """ - WRITE_STL writes a triangulation to an ascii *.stl file, which is a file + r""" + WRITE_STL writes a triangulation to an ASCII *.stl file, which is a file format native to the stereolithography CAD software created by 3D Systems. Use as - write_stl(filename, pnt, tri, nrm) + write_stl(filename, pos, tri, nrm) where nrm refers to the triangle normals. See also READ_STL - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/write_stl.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/write_stl.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("write_stl", *args, **kwargs, nargout=0) diff --git a/spm/__external/__fieldtrip/__fileio/_write_vtk.py b/spm/__external/__fieldtrip/__fileio/_write_vtk.py index 31236030..31b63ffc 100644 --- a/spm/__external/__fieldtrip/__fileio/_write_vtk.py +++ b/spm/__external/__fieldtrip/__fileio/_write_vtk.py @@ -2,9 +2,9 @@ def _write_vtk(*args, **kwargs): - """ + r""" WRITE_VTK writes a mesh to a VTK (Visualisation ToolKit) format file. - Supported are triangles, tetraheders and hexaheders. + Supported are triangles, tetrahedrons and hexahedrons. Use as write_vtk(filename, pos, tri, val) @@ -16,12 +16,15 @@ def _write_vtk(*args, **kwargs): The optional val argument can be used to write scalar or vector values for each vertex or element. - See also READ_VTK, WRITE_PLY + See also READ_VTK, READ_VTK_XML, WRITE_PLY - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/write_vtk.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/write_vtk.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("write_vtk", *args, **kwargs, nargout=0) diff --git a/spm/__external/__fieldtrip/__fileio/_xml2struct.py b/spm/__external/__fieldtrip/__fileio/_xml2struct.py index eb765bb6..db99752f 100644 --- a/spm/__external/__fieldtrip/__fileio/_xml2struct.py +++ b/spm/__external/__fieldtrip/__fileio/_xml2struct.py @@ -2,7 +2,7 @@ def _xml2struct(*args, **kwargs): - """ + r""" Convert xml file into a MATLAB structure [ s ] = xml2struct( file ) @@ -46,9 +46,12 @@ def _xml2struct(*args, **kwargs): 2012/04/04 roboos: don't print the filename that is being read - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/xml2struct.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/xml2struct.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("xml2struct", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_xsens_mvnx.py b/spm/__external/__fieldtrip/__fileio/_xsens_mvnx.py index d1b78a6e..82950951 100644 --- a/spm/__external/__fieldtrip/__fileio/_xsens_mvnx.py +++ b/spm/__external/__fieldtrip/__fileio/_xsens_mvnx.py @@ -2,7 +2,7 @@ def _xsens_mvnx(*args, **kwargs): - """ + r""" XSENS_MVNX reads motion tracking data from a file that was created by XSens MVN motion capture systems. This function is designed to read in .mvnx files from release version 4. @@ -15,12 +15,15 @@ def _xsens_mvnx(*args, **kwargs): evt = xsens_mvnx(filename, hdr); See also FT_FILETYPE, FT_READ_HEADER, FT_READ_DATA, FT_READ_EVENT - See also BIDS_TSV, BIOPAC_ACQ, BUCN_TXT, EEGSYNTH_TSV, EVENTS_TSV, LIBERTY_CSV, MAUS_TEXTGRID, MOTION_C3D, OPENBCI_TXT, OPENPOSE_KEYPOINTS, OPENSIGNALS_TXT, OPENVIBE_MAT, OPM_FIL, QUALISYS_TSV, SCCN_XDF, SENSYS_CSV, SNIRF, SPIKEGLX_BIN, UNICORN_CSV, XSENS_MVNX + See also BIDS_TSV, BIOPAC_ACQ, BUCN_TXT, EEGSYNTH_TSV, EVENTS_TSV, LIBERTY_CSV, MAUS_TEXTGRID, MOTION_C3D, OPENBCI_TXT, OPENPOSE_KEYPOINTS, OPENSIGNALS_TXT, OPENVIBE_MAT, OPM_FIL, QUALISYS_TSV, QUSPIN_LVM, SCCN_XDF, SENSYS_CSV, SNIRF, SPIKEGLX_BIN, UNICORN_CSV, XSENS_MVNX - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/xsens_mvnx.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/xsens_mvnx.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("xsens_mvnx", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_yokogawa2grad.py b/spm/__external/__fieldtrip/__fileio/_yokogawa2grad.py index ebadc83d..2b3b8271 100644 --- a/spm/__external/__fieldtrip/__fileio/_yokogawa2grad.py +++ b/spm/__external/__fieldtrip/__fileio/_yokogawa2grad.py @@ -2,7 +2,7 @@ def _yokogawa2grad(*args, **kwargs): - """ + r""" YOKOGAWA2GRAD converts the position and weights of all coils that compromise a gradiometer system into a structure that can be used by FieldTrip. This implementation uses the old "yokogawa" toolbox. @@ -11,9 +11,12 @@ def _yokogawa2grad(*args, **kwargs): FT_READ_SENS, FT_READ_HEADER - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/yokogawa2grad.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/yokogawa2grad.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("yokogawa2grad", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_yokogawa2grad_new.py b/spm/__external/__fieldtrip/__fileio/_yokogawa2grad_new.py index e6089b23..19cb005d 100644 --- a/spm/__external/__fieldtrip/__fileio/_yokogawa2grad_new.py +++ b/spm/__external/__fieldtrip/__fileio/_yokogawa2grad_new.py @@ -2,7 +2,7 @@ def _yokogawa2grad_new(*args, **kwargs): - """ + r""" YOKOGAWA2GRAD_NEW converts the position and weights of all coils that compromise a gradiometer system into a structure that can be used by FieldTrip. This implementation uses the new "yokogawa_meg_reader" @@ -11,9 +11,12 @@ def _yokogawa2grad_new(*args, **kwargs): See also FT_READ_HEADER, CTF2GRAD, BTI2GRAD, FIF2GRAD, YOKOGAWA2GRAD - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/yokogawa2grad_new.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/yokogawa2grad_new.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("yokogawa2grad_new", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/_yokogawa2headmodel.py b/spm/__external/__fieldtrip/__fileio/_yokogawa2headmodel.py index 4fef751a..ff1165f3 100644 --- a/spm/__external/__fieldtrip/__fileio/_yokogawa2headmodel.py +++ b/spm/__external/__fieldtrip/__fileio/_yokogawa2headmodel.py @@ -2,15 +2,18 @@ def _yokogawa2headmodel(*args, **kwargs): - """ + r""" YOKOGAWA2HEADMODEL converts a spherical volume conductor model that can be present in the header of a datafile into a structure that can be used by FieldTrip. - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/private/yokogawa2headmodel.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/private/yokogawa2headmodel.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("yokogawa2headmodel", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/ft_chantype.py b/spm/__external/__fieldtrip/__fileio/ft_chantype.py index 58b9a3f3..6b4c24d5 100644 --- a/spm/__external/__fieldtrip/__fileio/ft_chantype.py +++ b/spm/__external/__fieldtrip/__fileio/ft_chantype.py @@ -2,7 +2,7 @@ def ft_chantype(*args, **kwargs): - """ + r""" FT_CHANTYPE determines for each individual channel what chantype of data it represents, e.g. a planar gradiometer, axial gradiometer, magnetometer, trigger channel, etc. If you want to know what the acquisition system is @@ -33,9 +33,12 @@ def ft_chantype(*args, **kwargs): See also FT_READ_HEADER, FT_SENSTYPE, FT_CHANUNIT - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/ft_chantype.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/ft_chantype.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_chantype", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/ft_chanunit.py b/spm/__external/__fieldtrip/__fileio/ft_chanunit.py index ef343036..f602226c 100644 --- a/spm/__external/__fieldtrip/__fileio/ft_chanunit.py +++ b/spm/__external/__fieldtrip/__fileio/ft_chanunit.py @@ -2,7 +2,7 @@ def ft_chanunit(*args, **kwargs): - """ + r""" FT_CHANUNIT is a helper function that tries to determine the physical units of each channel. In case the type of channel is not detected, it will return 'unknown' for that channel. @@ -28,9 +28,12 @@ def ft_chanunit(*args, **kwargs): See also FT_CHANTYPE - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/ft_chanunit.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/ft_chanunit.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_chanunit", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/ft_create_buffer.py b/spm/__external/__fieldtrip/__fileio/ft_create_buffer.py index 75518d2e..9ff264e7 100644 --- a/spm/__external/__fieldtrip/__fileio/ft_create_buffer.py +++ b/spm/__external/__fieldtrip/__fileio/ft_create_buffer.py @@ -2,7 +2,7 @@ def ft_create_buffer(*args, **kwargs): - """ + r""" FT_CREATE_BUFFER starts the thread with the TCP server attached to the local MATLAB instance. The TCP server will listen to the specified network port, and accept incoming read and write requests. @@ -15,9 +15,12 @@ def ft_create_buffer(*args, **kwargs): See also FT_DESTROY_BUFFER - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/ft_create_buffer.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/ft_create_buffer.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_create_buffer", *args, **kwargs, nargout=0) diff --git a/spm/__external/__fieldtrip/__fileio/ft_destroy_buffer.py b/spm/__external/__fieldtrip/__fileio/ft_destroy_buffer.py index 4cb3ebe4..6288828f 100644 --- a/spm/__external/__fieldtrip/__fileio/ft_destroy_buffer.py +++ b/spm/__external/__fieldtrip/__fileio/ft_destroy_buffer.py @@ -2,7 +2,7 @@ def ft_destroy_buffer(*args, **kwargs): - """ + r""" FT_DESTROY_BUFFER stops the thread with the TCP server attached to the local MATLAB instance and removes all data from memory. @@ -12,9 +12,12 @@ def ft_destroy_buffer(*args, **kwargs): See also FT_CREATE_BUFFER - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/ft_destroy_buffer.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/ft_destroy_buffer.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_destroy_buffer", *args, **kwargs, nargout=0) diff --git a/spm/__external/__fieldtrip/__fileio/ft_filetype.py b/spm/__external/__fieldtrip/__fileio/ft_filetype.py index 9bc44c52..c4c01ef4 100644 --- a/spm/__external/__fieldtrip/__fileio/ft_filetype.py +++ b/spm/__external/__fieldtrip/__fileio/ft_filetype.py @@ -2,7 +2,7 @@ def ft_filetype(*args, **kwargs): - """ + r""" FT_FILETYPE determines the filetype of many EEG/MEG/MRI data files by looking at the name, extension and optionally (part of) its contents. It tries to determine the global type of file (which usually @@ -78,9 +78,12 @@ def ft_filetype(*args, **kwargs): - York Instruments *.meghdf5 - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/ft_filetype.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/ft_filetype.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_filetype", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/ft_filter_event.py b/spm/__external/__fieldtrip/__fileio/ft_filter_event.py index f4076d19..0b11b782 100644 --- a/spm/__external/__fieldtrip/__fileio/ft_filter_event.py +++ b/spm/__external/__fieldtrip/__fileio/ft_filter_event.py @@ -2,7 +2,7 @@ def ft_filter_event(*args, **kwargs): - """ + r""" FT_FILTER_EVENT does what its name implies Use as @@ -28,9 +28,12 @@ def ft_filter_event(*args, **kwargs): See also FT_READ_EVENT, FT_WRITE_EVENT - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/ft_filter_event.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/ft_filter_event.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_filter_event", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/ft_flush_data.py b/spm/__external/__fieldtrip/__fileio/ft_flush_data.py index c4bc4584..9c4be6d2 100644 --- a/spm/__external/__fieldtrip/__fileio/ft_flush_data.py +++ b/spm/__external/__fieldtrip/__fileio/ft_flush_data.py @@ -2,7 +2,7 @@ def ft_flush_data(*args, **kwargs): - """ + r""" FT_FLUSH_DATA removes all data from the data queue Use as @@ -11,9 +11,12 @@ def ft_flush_data(*args, **kwargs): See also FT_FLUSH_HEADER, FT_FLUSH_EVENT - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/ft_flush_data.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/ft_flush_data.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_flush_data", *args, **kwargs, nargout=0) diff --git a/spm/__external/__fieldtrip/__fileio/ft_flush_event.py b/spm/__external/__fieldtrip/__fileio/ft_flush_event.py index 1dcdcf7c..649adec9 100644 --- a/spm/__external/__fieldtrip/__fileio/ft_flush_event.py +++ b/spm/__external/__fieldtrip/__fileio/ft_flush_event.py @@ -2,7 +2,7 @@ def ft_flush_event(*args, **kwargs): - """ + r""" FT_FLUSH_EVENT removes all events from the event queue Use as @@ -11,9 +11,12 @@ def ft_flush_event(*args, **kwargs): See also FT_FLUSH_HEADER, FT_FLUSH_DATA - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/ft_flush_event.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/ft_flush_event.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_flush_event", *args, **kwargs, nargout=0) diff --git a/spm/__external/__fieldtrip/__fileio/ft_flush_header.py b/spm/__external/__fieldtrip/__fileio/ft_flush_header.py index ec8e043d..6b5608ef 100644 --- a/spm/__external/__fieldtrip/__fileio/ft_flush_header.py +++ b/spm/__external/__fieldtrip/__fileio/ft_flush_header.py @@ -2,7 +2,7 @@ def ft_flush_header(*args, **kwargs): - """ + r""" FT_FLUSH_HEADER removes the header information from the data queue this also removes all data associated with the specific header. @@ -12,9 +12,12 @@ def ft_flush_header(*args, **kwargs): See also FT_FLUSH_DATA, FT_FLUSH_EVENT - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/ft_flush_header.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/ft_flush_header.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_flush_header", *args, **kwargs, nargout=0) diff --git a/spm/__external/__fieldtrip/__fileio/ft_poll_buffer.py b/spm/__external/__fieldtrip/__fileio/ft_poll_buffer.py index 133ac8eb..56a95086 100644 --- a/spm/__external/__fieldtrip/__fileio/ft_poll_buffer.py +++ b/spm/__external/__fieldtrip/__fileio/ft_poll_buffer.py @@ -2,16 +2,19 @@ def ft_poll_buffer(*args, **kwargs): - """ + r""" FT_POLL_BUFFER is deprecated. Please use FT_READ_DATA and FT_READ_EVENT with the 'blocking' and the 'timeout' options. - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/ft_poll_buffer.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/ft_poll_buffer.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_poll_buffer", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/ft_read_atlas.py b/spm/__external/__fieldtrip/__fileio/ft_read_atlas.py index 99b94c38..ea839513 100644 --- a/spm/__external/__fieldtrip/__fileio/ft_read_atlas.py +++ b/spm/__external/__fieldtrip/__fileio/ft_read_atlas.py @@ -2,11 +2,12 @@ def ft_read_atlas(*args, **kwargs): - """ + r""" FT_READ_ATLAS reads an template/individual segmentation or parcellation from disk. + The volumetric segmentation or the surface-based parcellation can either represent - a template atlas (e.g. AAL or the Talairach Daemon), it can represent an - individualized atlas (e.g. obtained from FreeSurfer) or it can represent an + a template atlas (for example AAL or the Talairach Daemon), it can represent an + individualized atlas (for example obtained from FreeSurfer) or it can represent an unlabeled parcellation/segmentation obtained from an individual's DTi, anatomical, or resting state fMRI scan. @@ -17,18 +18,19 @@ def ft_read_atlas(*args, **kwargs): Additional options should be specified in key-value pairs and can include 'format' = string, see below - 'unit' = string, e.g. 'mm' (default is to keep it in the native units of the file) - 'map' = string, 'maxprob' (default), or 'prob', for FSL-based atlases, providing + 'unit' = string, for example 'mm' (default is to keep it in the native units of the file) + 'map' = string, 'maxprob' (default), or 'prob', for FSL-based atlases, providing either a probabilistic segmentation or a maximum a posterior probability map - 'labelfile' = string, point to a (generic) text or xml file for interpretation of the values in the atlas + 'labelfile' = string, point to a (generic) txt or xml file for the interpretation of + the values in the atlas (default is automatic) For individual surface-based atlases from FreeSurfer you should specify two filenames as a cell-array: the first points to the file that contains information with respect to the parcels' labels, the second points to the file that defines the mesh on which the parcellation is defined. - The 'format' variable, if not specified, will be determined automatically. In general - it will not be needed to specify it. The following formats are supported: + The 'format' variable in general is not needed to be specified, it will be determined + automatically. The following formats are supported: Volumetric atlases based on a (gzipped) nifti-file with an companion txt-file for interpretation 'aal' assumes filename starting with 'ROI_MNI' @@ -37,48 +39,52 @@ def ft_read_atlas(*args, **kwargs): 'wfu' assumes specific formatting of companion lookuptable txt-file Volumetric atlases based on a (gzipped) nifti-file with hard coded assumption on the labels - 'yeo7' + 'yeo7' 'yeo17' Volumetric atlases based on a folder with (gzipped) nifti-files with a companion xml-file for interpretation - 'fsl' assumes path to folder with data mentioned in the xml-file. Use xml-file as filename + 'fsl' assumes path to folder with data mentioned in the xml-file. Use xml-file as filename Volumetric atlases based on the freesurfer mgz format with standard lookuptable txt-file for interpretation - 'freesurfer_volume' assumes the freesurfer LUT file for interpretation, and assumes aparc or aseg in the + 'freesurfer_volume' assumes the freesurfer LUT file for interpretation, and assumes aparc or aseg in the filename, used for subject-specific parcellations - + Volumetric atlases based on the afni software - 'afni' assumes filename containing BRIK or HEAD, assumes generic interpretation of the labels + 'afni' assumes filename containing BRIK or HEAD, assumes generic interpretation of the labels for the TTatlas+tlrc, or otherwise the interpretation should be in the file - + Volumetric atlas based on the spm_anatomy toolbox - 'spm_anatomy' pair of .hdr/.img files, and an associated mat-file for the interpretation - Specify the associated mat-file with MPM in filename + 'spm_anatomy' pair of .hdr/.img files, and an associated mat-file for the interpretation. Please + specify the associated mat-file with MPM as the filename. Surface based atlases, requiring a pair of files, containing the labels, and the associated geometry - 'caret_label' hcp-workbench/caret style .gii, with .label. in filename, requires additional file describing the geometry - 'freesurfer_surface' freesurfer style annotation file, requires additional file describing the geometry + 'caret_label' hcp-workbench/caret style .gii, with .label. in filename, requires additional file describing the geometry + 'freesurfer_surface' freesurfer style annotation file, requires additional file describing the geometry Miscellaneous formats - 'mat' mat-file, with FieldTrip style struct, other matlab data that FieldTrip knows to handle, can also be - Brainstorm derived surfaces 'vtpm' + 'mat' mat-file, with FieldTrip style struct, or other MATLAB data that FieldTrip knows to + handle, this can also be Brainstorm derived surfaces - For volume data for whicth the format cannot be automatically detected, or if the volume data does not have a companion file - for the interpretation of the labels, a list of 'fake' labels will be generated. + A list of fake tissue labels will be generated if the volume data does not have a + companion file for the interpretation of the labels or for volume data for which + the format cannot be automatically detected. The output atlas will be represented as structure according to FT_DATATYPE_SEGMENTATION or FT_DATATYPE_PARCELLATION. - The 'lines' and the 'colorcube' colormaps may be useful for plotting the different + The 'lines' and the 'colorcube' colormaps are useful for plotting the different patches, for example using FT_PLOT_MESH, or FT_SOURCEPLOT. See also FT_READ_MRI, FT_READ_HEADSHAPE, FT_PREPARE_SOURCEMODEL, FT_SOURCEPARCELLATE, FT_PLOT_MESH - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/ft_read_atlas.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/ft_read_atlas.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_read_atlas", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/ft_read_cifti.py b/spm/__external/__fieldtrip/__fileio/ft_read_cifti.py index 8439c7ef..3cb4c124 100644 --- a/spm/__external/__fieldtrip/__fileio/ft_read_cifti.py +++ b/spm/__external/__fieldtrip/__fileio/ft_read_cifti.py @@ -2,7 +2,7 @@ def ft_read_cifti(*args, **kwargs): - """ + r""" FT_READ_CIFTI read functional data or functional connectivity from a cifti-1 or cifti-2 file. The functional data can consist of a dense or a parcellated representation. The geometrical description of the brainordinates can consist of @@ -35,9 +35,12 @@ def ft_read_cifti(*args, **kwargs): See also FT_WRITE_CIFTI, FT_READ_MRI, FT_WRITE_MRI - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/ft_read_cifti.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/ft_read_cifti.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_read_cifti", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/ft_read_data.py b/spm/__external/__fieldtrip/__fileio/ft_read_data.py index f477b206..cb11abad 100644 --- a/spm/__external/__fieldtrip/__fileio/ft_read_data.py +++ b/spm/__external/__fieldtrip/__fileio/ft_read_data.py @@ -2,7 +2,7 @@ def ft_read_data(*args, **kwargs): - """ + r""" FT_READ_DATA reads data from a variety of EEG, MEG and other time series data files and represents it in a common data-independent format. The supported formats are listed in the accompanying FT_READ_HEADER function. @@ -41,9 +41,12 @@ def ft_read_data(*args, **kwargs): See also FT_READ_HEADER, FT_READ_EVENT, FT_WRITE_DATA, FT_WRITE_EVENT - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/ft_read_data.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/ft_read_data.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_read_data", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/ft_read_event.py b/spm/__external/__fieldtrip/__fileio/ft_read_event.py index daffbf31..9b7a867b 100644 --- a/spm/__external/__fieldtrip/__fileio/ft_read_event.py +++ b/spm/__external/__fieldtrip/__fileio/ft_read_event.py @@ -2,7 +2,7 @@ def ft_read_event(*args, **kwargs): - """ + r""" FT_READ_EVENT reads all events from an EEG, MEG or other time series dataset and returns them in a common data-independent structure. The supported formats are listed in the accompanying FT_READ_HEADER function. @@ -75,9 +75,12 @@ def ft_read_event(*args, **kwargs): See also FT_READ_HEADER, FT_READ_DATA, FT_WRITE_EVENT, FT_FILTER_EVENT - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/ft_read_event.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/ft_read_event.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_read_event", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/ft_read_header.py b/spm/__external/__fieldtrip/__fileio/ft_read_header.py index bb9d845f..2d30c8d2 100644 --- a/spm/__external/__fieldtrip/__fileio/ft_read_header.py +++ b/spm/__external/__fieldtrip/__fileio/ft_read_header.py @@ -2,7 +2,7 @@ def ft_read_header(*args, **kwargs): - """ + r""" FT_READ_HEADER reads header information from a variety of EEG, MEG and other time series data files and represents the header information in a common data-independent structure. The supported formats are listed below. @@ -76,6 +76,7 @@ def ft_read_header(*args, **kwargs): NeuroScan (*.eeg, *.cnt, *.avg) Nexstim (*.nxe) OpenBCI (*.txt) + PhysioNet (*.hea, *.dat) TMSi (*.Poly5) The following spike and LFP dataformats are supported @@ -103,9 +104,12 @@ def ft_read_header(*args, **kwargs): FT_CHANTYPE, FT_CHANUNIT - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/ft_read_header.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/ft_read_header.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_read_header", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/ft_read_headmodel.py b/spm/__external/__fieldtrip/__fileio/ft_read_headmodel.py index f24a71f9..62c1648a 100644 --- a/spm/__external/__fieldtrip/__fileio/ft_read_headmodel.py +++ b/spm/__external/__fieldtrip/__fileio/ft_read_headmodel.py @@ -2,7 +2,7 @@ def ft_read_headmodel(*args, **kwargs): - """ + r""" FT_READ_HEADMODEL reads a head model (or volume conduction model of the head) from various manufacturer specific files. Currently supported are ASA, CTF, Neuromag, MBFYS, MATLAB and SimNIBS. The volume conduction model is represented as a @@ -22,9 +22,12 @@ def ft_read_headmodel(*args, **kwargs): FT_PREPARE_VOL_SENS, FT_COMPUTE_LEADFIELD - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/ft_read_headmodel.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/ft_read_headmodel.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_read_headmodel", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/ft_read_headshape.py b/spm/__external/__fieldtrip/__fileio/ft_read_headshape.py index ec85cdf0..6a0a1556 100644 --- a/spm/__external/__fieldtrip/__fileio/ft_read_headshape.py +++ b/spm/__external/__fieldtrip/__fileio/ft_read_headshape.py @@ -2,7 +2,7 @@ def ft_read_headshape(*args, **kwargs): - """ + r""" FT_READ_HEADSHAPE reads the fiducials and/or the measured headshape and/or meshes that describe headsurfaces, headmodels or cortical sheets from a variety of files (like CTF and Polhemus). The headshape and fiducials can for example be used for @@ -31,6 +31,7 @@ def ft_read_headshape(*args, **kwargs): 'surface' = specific surface to be read (only for Caret spec files) 'refine' = number, used for refining Structure Sensor meshes (default = 1) 'jmeshopt' = cell-array with {'name', 'value'} pairs, options for reading JSON/JMesh files + 'meshtype' = string, which type of mesh to read in case the file contains multiple types, can be 'tri', 'tet' or 'hex' Supported input file formats include 'gifti' see https://www.nitrc.org/projects/gifti/ @@ -73,9 +74,12 @@ def ft_read_headshape(*args, **kwargs): See also FT_READ_HEADMODEL, FT_READ_SENS, FT_READ_ATLAS, FT_WRITE_HEADSHAPE - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/ft_read_headshape.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/ft_read_headshape.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_read_headshape", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/ft_read_json.py b/spm/__external/__fieldtrip/__fileio/ft_read_json.py index 17b99fec..3d10aa8b 100644 --- a/spm/__external/__fieldtrip/__fileio/ft_read_json.py +++ b/spm/__external/__fieldtrip/__fileio/ft_read_json.py @@ -2,7 +2,7 @@ def ft_read_json(*args, **kwargs): - """ + r""" FT_READ_JSON reads information from a JSON file and represents it as a MATLAB structure Use as @@ -11,9 +11,12 @@ def ft_read_json(*args, **kwargs): See also FT_WRITE_JSON, FT_READ_TSV, FT_WRITE_TSV, JSONDECODE, JSONENCODE - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/ft_read_json.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/ft_read_json.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_read_json", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/ft_read_mri.py b/spm/__external/__fieldtrip/__fileio/ft_read_mri.py index e19d5dd4..962da2e3 100644 --- a/spm/__external/__fieldtrip/__fileio/ft_read_mri.py +++ b/spm/__external/__fieldtrip/__fileio/ft_read_mri.py @@ -2,7 +2,7 @@ def ft_read_mri(*args, **kwargs): - """ + r""" FT_READ_MRI reads anatomical and functional MRI data from different file formats. The output data is structured in such a way that it is compatible with FT_DATATYPE_VOLUME. @@ -81,9 +81,12 @@ def ft_read_mri(*args, **kwargs): See also FT_DATATYPE_VOLUME, FT_WRITE_MRI, FT_READ_DATA, FT_READ_HEADER, FT_READ_EVENT - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/ft_read_mri.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/ft_read_mri.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_read_mri", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/ft_read_sens.py b/spm/__external/__fieldtrip/__fileio/ft_read_sens.py index 45668e34..d527bc5b 100644 --- a/spm/__external/__fieldtrip/__fileio/ft_read_sens.py +++ b/spm/__external/__fieldtrip/__fileio/ft_read_sens.py @@ -2,7 +2,7 @@ def ft_read_sens(*args, **kwargs): - """ + r""" FT_READ_SENS read sensor positions from various manufacturer specific files. See further down for the list of file types that are supported. @@ -33,9 +33,12 @@ def ft_read_sens(*args, **kwargs): See also FT_READ_HEADER, FT_DATATYPE_SENS, FT_PREPARE_VOL_SENS, FT_COMPUTE_LEADFIELD, - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/ft_read_sens.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/ft_read_sens.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_read_sens", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/ft_read_spike.py b/spm/__external/__fieldtrip/__fileio/ft_read_spike.py index 9118cfe7..7bf8b624 100644 --- a/spm/__external/__fieldtrip/__fileio/ft_read_spike.py +++ b/spm/__external/__fieldtrip/__fileio/ft_read_spike.py @@ -2,7 +2,7 @@ def ft_read_spike(*args, **kwargs): - """ + r""" FT_READ_SPIKE reads spike timestamps and waveforms from various data formats. Use as @@ -39,9 +39,12 @@ def ft_read_spike(*args, **kwargs): See also FT_DATATYPE_SPIKE, FT_READ_HEADER, FT_READ_DATA, FT_READ_EVENT - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/ft_read_spike.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/ft_read_spike.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_read_spike", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/ft_read_tsv.py b/spm/__external/__fieldtrip/__fileio/ft_read_tsv.py index f589d348..b9595e5e 100644 --- a/spm/__external/__fieldtrip/__fileio/ft_read_tsv.py +++ b/spm/__external/__fieldtrip/__fileio/ft_read_tsv.py @@ -2,7 +2,7 @@ def ft_read_tsv(*args, **kwargs): - """ + r""" FT_READ_TSV reads information from a tab-separated-values file and represents it as a MATLAB table Use as @@ -11,9 +11,12 @@ def ft_read_tsv(*args, **kwargs): See also FT_WRITE_TSV, FT_READ_JSON, FT_WRITE_JSON, READTABLE, WRITETABLE, TDFREAD, TBLREAD - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/ft_read_tsv.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/ft_read_tsv.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_read_tsv", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/ft_read_vol.py b/spm/__external/__fieldtrip/__fileio/ft_read_vol.py index def0245e..9e3d4676 100644 --- a/spm/__external/__fieldtrip/__fileio/ft_read_vol.py +++ b/spm/__external/__fieldtrip/__fileio/ft_read_vol.py @@ -2,16 +2,19 @@ def ft_read_vol(*args, **kwargs): - """ + r""" This function is a backward compatibility wrapper for existing MATLAB scripts that call a function that is not part of the FieldTrip toolbox any more. Please update your code to make it future-proof. - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/ft_read_vol.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/ft_read_vol.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_read_vol", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/ft_write_cifti.py b/spm/__external/__fieldtrip/__fileio/ft_write_cifti.py index af3a9884..d1c09f78 100644 --- a/spm/__external/__fieldtrip/__fileio/ft_write_cifti.py +++ b/spm/__external/__fieldtrip/__fileio/ft_write_cifti.py @@ -2,7 +2,7 @@ def ft_write_cifti(*args, **kwargs): - """ + r""" FT_WRITE_CIFTI writes functional data or functional connectivity to a cifti-2 file. The geometrical description of the brainordinates can consist of triangulated surfaces or voxels in a regular 3-D volumetric grid. The functional @@ -33,14 +33,17 @@ def ft_write_cifti(*args, **kwargs): 'debug' = boolean, write a debug.xml file (default = false) The brainstructure refers to the global anatomical structure, such as CortexLeft, Thalamus, etc. - The parcellation refers to the the detailled parcellation, such as BA1, BA2, BA3, etc. + The parcellation refers to the the detailed parcellation, such as BA1, BA2, BA3, etc. See also FT_READ_CIFTI, FT_READ_MRI, FT_WRITE_MRI - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/ft_write_cifti.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/ft_write_cifti.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_write_cifti", *args, **kwargs, nargout=0) diff --git a/spm/__external/__fieldtrip/__fileio/ft_write_data.py b/spm/__external/__fieldtrip/__fileio/ft_write_data.py index 222dcae5..11210b73 100644 --- a/spm/__external/__fieldtrip/__fileio/ft_write_data.py +++ b/spm/__external/__fieldtrip/__fileio/ft_write_data.py @@ -2,7 +2,7 @@ def ft_write_data(*args, **kwargs): - """ + r""" FT_WRITE_DATA exports electrophysiological data such as EEG to a file. Use as @@ -22,6 +22,7 @@ def ft_write_data(*args, **kwargs): edf gdf anywave_ades + biosemi_bdf brainvision_eeg neuralynx_ncs neuralynx_sdma @@ -33,6 +34,7 @@ def ft_write_data(*args, **kwargs): matlab homer_nirs snirf + csv For EEG data, the input data is assumed to be scaled in microvolt. For NIRS data, the input data is assumed to represent optical densities. @@ -40,9 +42,12 @@ def ft_write_data(*args, **kwargs): See also FT_READ_HEADER, FT_READ_DATA, FT_READ_EVENT, FT_WRITE_EVENT - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/ft_write_data.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/ft_write_data.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_write_data", *args, **kwargs, nargout=0) diff --git a/spm/__external/__fieldtrip/__fileio/ft_write_event.py b/spm/__external/__fieldtrip/__fileio/ft_write_event.py index 7a056719..ec736370 100644 --- a/spm/__external/__fieldtrip/__fileio/ft_write_event.py +++ b/spm/__external/__fieldtrip/__fileio/ft_write_event.py @@ -2,7 +2,7 @@ def ft_write_event(*args, **kwargs): - """ + r""" FT_WRITE_EVENT writes an event structure to a file, a message daemon listening on a network socked, or to another computer connected through the serial port. Note that this function is mostly for real-time streaming of events. For most data files on @@ -40,9 +40,12 @@ def ft_write_event(*args, **kwargs): See also FT_READ_HEADER, FT_READ_DATA, FT_READ_EVENT, FT_WRITE_DATA - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/ft_write_event.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/ft_write_event.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_write_event", *args, **kwargs, nargout=0) diff --git a/spm/__external/__fieldtrip/__fileio/ft_write_headshape.py b/spm/__external/__fieldtrip/__fileio/ft_write_headshape.py index c8af3888..dabf615d 100644 --- a/spm/__external/__fieldtrip/__fileio/ft_write_headshape.py +++ b/spm/__external/__fieldtrip/__fileio/ft_write_headshape.py @@ -2,7 +2,7 @@ def ft_write_headshape(*args, **kwargs): - """ + r""" FT_WRITE_HEADSHAPE writes a head surface, cortical sheet or geometrical descrition of the volume conduction model or source model to a file for further processing in external software. @@ -39,13 +39,18 @@ def ft_write_headshape(*args, **kwargs): 'tetgen' see https://wias-berlin.de/software/tetgen/ 'vista' see http://www.cs.ubc.ca/nest/lci/vista/vista.html 'vtk' Visualization ToolKit file format, for use with Paraview + 'dgf' Duneuro geometry file format, for hexahedral meshes (uses io function from Brainstorm) + 'geo' Cauchy geometry file format (simbio), for tetrahedral meshes (uses io function from Brainstorm) See also FT_READ_HEADSHAPE, FT_WRITE_DATA, FT_WRITE_MRI, FT_WRITE_SENS - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/ft_write_headshape.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/ft_write_headshape.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_write_headshape", *args, **kwargs, nargout=0) diff --git a/spm/__external/__fieldtrip/__fileio/ft_write_json.py b/spm/__external/__fieldtrip/__fileio/ft_write_json.py index ef83b8fb..2ee60efe 100644 --- a/spm/__external/__fieldtrip/__fileio/ft_write_json.py +++ b/spm/__external/__fieldtrip/__fileio/ft_write_json.py @@ -2,7 +2,7 @@ def ft_write_json(*args, **kwargs): - """ + r""" FT_WRITE_JSON writes a MATLAB structure to a JSON file. Compared to the builtin MATLAB function, this implementation deals a bit different with missing values, booleans, and NaNs, and results in a more human-readable file. @@ -13,9 +13,12 @@ def ft_write_json(*args, **kwargs): See also FT_READ_JSON, JSONDECODE, JSONENCODE - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/ft_write_json.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/ft_write_json.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_write_json", *args, **kwargs, nargout=0) diff --git a/spm/__external/__fieldtrip/__fileio/ft_write_mri.py b/spm/__external/__fieldtrip/__fileio/ft_write_mri.py index 7f847c59..6426e3f4 100644 --- a/spm/__external/__fieldtrip/__fileio/ft_write_mri.py +++ b/spm/__external/__fieldtrip/__fileio/ft_write_mri.py @@ -2,7 +2,7 @@ def ft_write_mri(*args, **kwargs): - """ + r""" FT_WRITE_MRI exports volumetric data such as anatomical and functional MRI to a file. @@ -42,9 +42,12 @@ def ft_write_mri(*args, **kwargs): See also FT_READ_MRI, FT_DATATYPE_VOLUME, FT_WRITE_DATA, FT_WRITE_HEADSHAPE, FT_WRITE_SENS - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/ft_write_mri.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/ft_write_mri.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_write_mri", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__fileio/ft_write_sens.py b/spm/__external/__fieldtrip/__fileio/ft_write_sens.py index 1f292ed6..ca94a300 100644 --- a/spm/__external/__fieldtrip/__fileio/ft_write_sens.py +++ b/spm/__external/__fieldtrip/__fileio/ft_write_sens.py @@ -2,7 +2,7 @@ def ft_write_sens(*args, **kwargs): - """ + r""" FT_WRITE_SENS writes electrode information to an external file for further processing in external software. Use as @@ -23,9 +23,12 @@ def ft_write_sens(*args, **kwargs): See also FT_READ_SENS, FT_DATATYPE_SENS, FT_WRITE_DATA, FT_WRITE_MRI, FT_WRITE_SENS - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/ft_write_sens.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/ft_write_sens.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_write_sens", *args, **kwargs, nargout=0) diff --git a/spm/__external/__fieldtrip/__fileio/ft_write_spike.py b/spm/__external/__fieldtrip/__fileio/ft_write_spike.py index dcff10ea..31273964 100644 --- a/spm/__external/__fieldtrip/__fileio/ft_write_spike.py +++ b/spm/__external/__fieldtrip/__fileio/ft_write_spike.py @@ -2,7 +2,7 @@ def ft_write_spike(*args, **kwargs): - """ + r""" FT_WRITE_SPIKE writes animal electrophysiology spike timestamps and/or waveforms to file @@ -24,9 +24,12 @@ def ft_write_spike(*args, **kwargs): See also FT_READ_SPIKE - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/ft_write_spike.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/ft_write_spike.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_write_spike", *args, **kwargs, nargout=0) diff --git a/spm/__external/__fieldtrip/__fileio/ft_write_tsv.py b/spm/__external/__fieldtrip/__fileio/ft_write_tsv.py index b29b0c7d..6d1d1add 100644 --- a/spm/__external/__fieldtrip/__fileio/ft_write_tsv.py +++ b/spm/__external/__fieldtrip/__fileio/ft_write_tsv.py @@ -2,7 +2,7 @@ def ft_write_tsv(*args, **kwargs): - """ + r""" FT_WRITE_TSV writes a MATLAB table to a tab-separated-values file. Compared to the builtin MATLAB function, this implementation deals a bit different with missing values, booleans, and NaNs. @@ -13,9 +13,12 @@ def ft_write_tsv(*args, **kwargs): See also FT_READ_TSV, FT_READ_JSON, FT_WRITE_JSON, READTABLE, WRITETABLE, TBLWRITE - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fileio/ft_write_tsv.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fileio/ft_write_tsv.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_write_tsv", *args, **kwargs, nargout=0) diff --git a/spm/__external/__fieldtrip/__forward/__init__.py b/spm/__external/__fieldtrip/__forward/__init__.py index ee3b593b..4fab6c13 100644 --- a/spm/__external/__fieldtrip/__forward/__init__.py +++ b/spm/__external/__fieldtrip/__forward/__init__.py @@ -1,4 +1,3 @@ -from .ft_apply_montage import ft_apply_montage from .ft_compute_leadfield import ft_compute_leadfield from .ft_convert_units import ft_convert_units from .ft_determine_units import ft_determine_units @@ -10,6 +9,7 @@ from .ft_headmodel_duneuro import ft_headmodel_duneuro from .ft_headmodel_fns import ft_headmodel_fns from .ft_headmodel_halfspace import ft_headmodel_halfspace +from .ft_headmodel_hbf import ft_headmodel_hbf from .ft_headmodel_infinite import ft_headmodel_infinite from .ft_headmodel_interpolate import ft_headmodel_interpolate from .ft_headmodel_localspheres import ft_headmodel_localspheres @@ -27,7 +27,6 @@ __all__ = [ - "ft_apply_montage", "ft_compute_leadfield", "ft_convert_units", "ft_determine_units", @@ -39,6 +38,7 @@ "ft_headmodel_duneuro", "ft_headmodel_fns", "ft_headmodel_halfspace", + "ft_headmodel_hbf", "ft_headmodel_infinite", "ft_headmodel_interpolate", "ft_headmodel_localspheres", diff --git a/spm/__external/__fieldtrip/__forward/_add_mex_source.py b/spm/__external/__fieldtrip/__forward/_add_mex_source.py index e10d1e56..23b8e385 100644 --- a/spm/__external/__fieldtrip/__forward/_add_mex_source.py +++ b/spm/__external/__fieldtrip/__forward/_add_mex_source.py @@ -2,7 +2,7 @@ def _add_mex_source(*args, **kwargs): - """ + r""" function L = add_mex_source(L, directory, relName, matchPlatform, excludePlatform, extras) Input + output argument L is a structure array of directory names, source file names, @@ -23,9 +23,12 @@ def _add_mex_source(*args, **kwargs): extra arguments to the MEX command, e.g. additional source files - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/forward/private/add_mex_source.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/forward/private/add_mex_source.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("add_mex_source", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__forward/_ama2headmodel.py b/spm/__external/__fieldtrip/__forward/_ama2headmodel.py index d37f366d..6a43594c 100644 --- a/spm/__external/__fieldtrip/__forward/_ama2headmodel.py +++ b/spm/__external/__fieldtrip/__forward/_ama2headmodel.py @@ -2,7 +2,7 @@ def _ama2headmodel(*args, **kwargs): - """ + r""" AMA2HEADMODEL converts a dipoli structure with boundary geometries and a boundary element method transfer matrix to a volume conduction model. @@ -11,9 +11,12 @@ def _ama2headmodel(*args, **kwargs): headmodel = ama2headmodel(ama) - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/forward/private/ama2headmodel.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/forward/private/ama2headmodel.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ama2headmodel", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__forward/_bmesh2bnd.py b/spm/__external/__fieldtrip/__forward/_bmesh2bnd.py new file mode 100644 index 00000000..c5754504 --- /dev/null +++ b/spm/__external/__fieldtrip/__forward/_bmesh2bnd.py @@ -0,0 +1,20 @@ +from spm._runtime import Runtime + + +def _bmesh2bnd(*args, **kwargs): + r""" + Helper to convert the fieldtrip bnd format for meshes into the bmesh + format for the HBF toolbox, and vice versa. + + George O'Neill + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/forward/private/bmesh2bnd.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("bmesh2bnd", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__forward/_channelposition.py b/spm/__external/__fieldtrip/__forward/_channelposition.py index 103d91a0..e0ccaa46 100644 --- a/spm/__external/__fieldtrip/__forward/_channelposition.py +++ b/spm/__external/__fieldtrip/__forward/_channelposition.py @@ -2,7 +2,7 @@ def _channelposition(*args, **kwargs): - """ + r""" CHANNELPOSITION computes the channel positions and orientations from the MEG coils, EEG electrodes or NIRS optodes @@ -13,9 +13,12 @@ def _channelposition(*args, **kwargs): See also FT_DATATYPE_SENS - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/forward/private/channelposition.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/forward/private/channelposition.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("channelposition", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__forward/_circularcoil.py b/spm/__external/__fieldtrip/__forward/_circularcoil.py new file mode 100644 index 00000000..aa5bf891 --- /dev/null +++ b/spm/__external/__fieldtrip/__forward/_circularcoil.py @@ -0,0 +1,31 @@ +from spm._runtime import Runtime + + +def _circularcoil(*args, **kwargs): + r""" + CIRCULARCOIL magnetic field of a circular current loop + + Use as: + [Bx, By, Bz] = circularcoil(x, y, z, d, I) + + where + x,y,z : observation point(s) [m] + d : coil diameter [m] + I : coil current [A] + and + Bx,By,Bz : magnetic field components [T] + + The coil is centered at (0,0,0), lies in the xy-plane, + and carries current I. Positive I gives a field in +z + at the center. + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/forward/private/circularcoil.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("circularcoil", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__forward/_compile_mex_list.py b/spm/__external/__fieldtrip/__forward/_compile_mex_list.py index f97a0d90..ad07cc6d 100644 --- a/spm/__external/__fieldtrip/__forward/_compile_mex_list.py +++ b/spm/__external/__fieldtrip/__forward/_compile_mex_list.py @@ -2,7 +2,7 @@ def _compile_mex_list(*args, **kwargs): - """ + r""" function compile_mex_list(L, baseDir) Compile a list of MEX files as determined by the input argument L. @@ -13,9 +13,12 @@ def _compile_mex_list(*args, **kwargs): See also ft_compile_mex, add_mex_source. - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/forward/private/compile_mex_list.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/forward/private/compile_mex_list.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("compile_mex_list", *args, **kwargs, nargout=0) diff --git a/spm/__external/__fieldtrip/__forward/_cornerpoints.py b/spm/__external/__fieldtrip/__forward/_cornerpoints.py index ee7d4c2a..53a589c5 100644 --- a/spm/__external/__fieldtrip/__forward/_cornerpoints.py +++ b/spm/__external/__fieldtrip/__forward/_cornerpoints.py @@ -2,7 +2,7 @@ def _cornerpoints(*args, **kwargs): - """ + r""" CORNERPOINTS returns the eight corner points of an anatomical volume in voxel and in head coordinates @@ -11,9 +11,12 @@ def _cornerpoints(*args, **kwargs): which will return two 8x3 matrices. - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/forward/private/cornerpoints.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/forward/private/cornerpoints.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("cornerpoints", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__forward/_current_dipole.py b/spm/__external/__fieldtrip/__forward/_current_dipole.py index e4d3bc5a..a2833519 100644 --- a/spm/__external/__fieldtrip/__forward/_current_dipole.py +++ b/spm/__external/__fieldtrip/__forward/_current_dipole.py @@ -2,7 +2,7 @@ def _current_dipole(*args, **kwargs): - """ + r""" CURRENT_DIPOLE leadfield for a current dipole in an infinite homogenous medium [lf] = current_dipole(R, pos, ori) @@ -18,9 +18,12 @@ def _current_dipole(*args, **kwargs): See also MAGNETIC_DIPOLE - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/forward/private/current_dipole.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/forward/private/current_dipole.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("current_dipole", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__forward/_defaultId.py b/spm/__external/__fieldtrip/__forward/_defaultId.py index fede19b7..1a658f47 100644 --- a/spm/__external/__fieldtrip/__forward/_defaultId.py +++ b/spm/__external/__fieldtrip/__forward/_defaultId.py @@ -2,16 +2,19 @@ def _defaultId(*args, **kwargs): - """ + r""" DEFAULTID returns a string that can serve as warning or error identifier, for example 'FieldTip:ft_read_header:line345'. See also WARNING, ERROR, FT_NOTICE, FT_INFO, FT_DEBUG - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/forward/private/defaultId.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/forward/private/defaultId.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("defaultId", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__forward/_eeg_halfspace_dipole.py b/spm/__external/__fieldtrip/__forward/_eeg_halfspace_dipole.py index 23c9c4f1..b60c6084 100644 --- a/spm/__external/__fieldtrip/__forward/_eeg_halfspace_dipole.py +++ b/spm/__external/__fieldtrip/__forward/_eeg_halfspace_dipole.py @@ -2,7 +2,7 @@ def _eeg_halfspace_dipole(*args, **kwargs): - """ + r""" EEG_HALFSPACE_DIPOLE calculate the leadfield on electrode positions elc for a dipole at position dippos. The halfspace solution requires a plane dividing a conductive zone (cond > 0), from a non-coductive zone (cond = 0). @@ -13,9 +13,12 @@ def _eeg_halfspace_dipole(*args, **kwargs): See also EEG_INFINITE_DIPOLE, EEG_INFINITE_MONOPOLE, EEG_HALFSPACE_MONOPOLE - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/forward/private/eeg_halfspace_dipole.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/forward/private/eeg_halfspace_dipole.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("eeg_halfspace_dipole", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__forward/_eeg_halfspace_monopole.py b/spm/__external/__fieldtrip/__forward/_eeg_halfspace_monopole.py index 4efde0ea..9f194092 100644 --- a/spm/__external/__fieldtrip/__forward/_eeg_halfspace_monopole.py +++ b/spm/__external/__fieldtrip/__forward/_eeg_halfspace_monopole.py @@ -2,7 +2,7 @@ def _eeg_halfspace_monopole(*args, **kwargs): - """ + r""" EEG_HALFSPACE_MONOPOLE calculate the leadfield on positions elc for a monopole at position monpos. The halfspace solution requires a plane dividing a conductive zone (cond > 0), from a non-coductive zone (cond = 0). @@ -13,9 +13,12 @@ def _eeg_halfspace_monopole(*args, **kwargs): See also EEG_INFINITE_DIPOLE, EEG_INFINITE_MONOPOLE, EEG_HALFSPACE_DIPOLE - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/forward/private/eeg_halfspace_monopole.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/forward/private/eeg_halfspace_monopole.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("eeg_halfspace_monopole", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__forward/_eeg_infinite_dipole.py b/spm/__external/__fieldtrip/__forward/_eeg_infinite_dipole.py index 1c485323..4ca07173 100644 --- a/spm/__external/__fieldtrip/__forward/_eeg_infinite_dipole.py +++ b/spm/__external/__fieldtrip/__forward/_eeg_infinite_dipole.py @@ -2,7 +2,7 @@ def _eeg_infinite_dipole(*args, **kwargs): - """ + r""" EEG_INFINITE_DIPOLE calculate the infinite medium leadfield on electrode positions elc for a dipole at dippos and with the conductivity cond. @@ -12,9 +12,12 @@ def _eeg_infinite_dipole(*args, **kwargs): See also EEG_INFINITE_MONOPOLE, EEG_HALFSPACE_DIPOLE, EEG_HALFSPACE_MONOPOLE - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/forward/private/eeg_infinite_dipole.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/forward/private/eeg_infinite_dipole.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("eeg_infinite_dipole", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__forward/_eeg_infinite_monopole.py b/spm/__external/__fieldtrip/__forward/_eeg_infinite_monopole.py index cd93ae50..18064be5 100644 --- a/spm/__external/__fieldtrip/__forward/_eeg_infinite_monopole.py +++ b/spm/__external/__fieldtrip/__forward/_eeg_infinite_monopole.py @@ -2,7 +2,7 @@ def _eeg_infinite_monopole(*args, **kwargs): - """ + r""" EEG_INFINITE_MONOPOLE calculate the infinite medium potential for a monopole Use as @@ -14,9 +14,12 @@ def _eeg_infinite_monopole(*args, **kwargs): See also EEG_INFINITE_DIPOLE, EEG_HALFSPACE_DIPOLE, EEG_HALFSPACE_MONOPOLE - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/forward/private/eeg_infinite_monopole.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/forward/private/eeg_infinite_monopole.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("eeg_infinite_monopole", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__forward/_eeg_leadfield1.py b/spm/__external/__fieldtrip/__forward/_eeg_leadfield1.py index ffc666ed..b068d1a3 100644 --- a/spm/__external/__fieldtrip/__forward/_eeg_leadfield1.py +++ b/spm/__external/__fieldtrip/__forward/_eeg_leadfield1.py @@ -2,7 +2,7 @@ def _eeg_leadfield1(*args, **kwargs): - """ + r""" EEG_LEADFIELD1 electric leadfield for a dipole in a single sphere [lf] = eeg_leadfield1(R, elc, vol) @@ -24,9 +24,12 @@ def _eeg_leadfield1(*args, **kwargs): Trans Biomed Eng, 25:421-429, 1978. - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/forward/private/eeg_leadfield1.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/forward/private/eeg_leadfield1.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("eeg_leadfield1", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__forward/_eeg_leadfield4.py b/spm/__external/__fieldtrip/__forward/_eeg_leadfield4.py index 333ab8a9..2893626b 100644 --- a/spm/__external/__fieldtrip/__forward/_eeg_leadfield4.py +++ b/spm/__external/__fieldtrip/__forward/_eeg_leadfield4.py @@ -2,7 +2,7 @@ def _eeg_leadfield4(*args, **kwargs): - """ + r""" EEG_LEADFIELD4 electric leadfield for a dipole in 4 concentric spheres [lf] = eeg_leadfield4(R, elc, vol) @@ -26,9 +26,12 @@ def _eeg_leadfield4(*args, **kwargs): which can save time when multiple leadfield computations are done. - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/forward/private/eeg_leadfield4.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/forward/private/eeg_leadfield4.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("eeg_leadfield4", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__forward/_eeg_leadfield4_prepare.py b/spm/__external/__fieldtrip/__forward/_eeg_leadfield4_prepare.py index 72738fe5..e33fa975 100644 --- a/spm/__external/__fieldtrip/__forward/_eeg_leadfield4_prepare.py +++ b/spm/__external/__fieldtrip/__forward/_eeg_leadfield4_prepare.py @@ -2,7 +2,7 @@ def _eeg_leadfield4_prepare(*args, **kwargs): - """ + r""" EEG_LEADFIELD4_PREPARE computes constant factors for series expansion for the 4 concentric sphere electric leadfield computation. Calling this function speeds up subsequent computations, as the constant @@ -25,9 +25,12 @@ def _eeg_leadfield4_prepare(*args, **kwargs): See also EEG_LEADFIELD4 - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/forward/private/eeg_leadfield4_prepare.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/forward/private/eeg_leadfield4_prepare.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("eeg_leadfield4_prepare", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__forward/_eeg_leadfieldb.py b/spm/__external/__fieldtrip/__forward/_eeg_leadfieldb.py index abc56d1a..4ddaa600 100644 --- a/spm/__external/__fieldtrip/__forward/_eeg_leadfieldb.py +++ b/spm/__external/__fieldtrip/__forward/_eeg_leadfieldb.py @@ -2,7 +2,7 @@ def _eeg_leadfieldb(*args, **kwargs): - """ + r""" EEG_LEADFIELDB computes the electric leadfield for a dipole in a volume using the boundary element method @@ -23,9 +23,12 @@ def _eeg_leadfieldb(*args, **kwargs): vol.bnd(i).pos - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/forward/private/eeg_leadfieldb.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/forward/private/eeg_leadfieldb.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("eeg_leadfieldb", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__forward/_eeg_slab_monopole.py b/spm/__external/__fieldtrip/__forward/_eeg_slab_monopole.py index a386b2fc..7d7cb37c 100644 --- a/spm/__external/__fieldtrip/__forward/_eeg_slab_monopole.py +++ b/spm/__external/__fieldtrip/__forward/_eeg_slab_monopole.py @@ -2,7 +2,7 @@ def _eeg_slab_monopole(*args, **kwargs): - """ + r""" EEG_SLAB_MONOPOLE calculate the strip medium leadfield on positions pnt for a monopole at position rd and conductivity cond The halfspace solution requires a plane dividing a conductive zone of @@ -14,9 +14,12 @@ def _eeg_slab_monopole(*args, **kwargs): http://www.bem.fi/book/index.htm - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/forward/private/eeg_slab_monopole.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/forward/private/eeg_slab_monopole.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("eeg_slab_monopole", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__forward/_elproj.py b/spm/__external/__fieldtrip/__forward/_elproj.py index 5f748a48..c0572029 100644 --- a/spm/__external/__fieldtrip/__forward/_elproj.py +++ b/spm/__external/__fieldtrip/__forward/_elproj.py @@ -2,12 +2,12 @@ def _elproj(*args, **kwargs): - """ - ELPROJ makes a azimuthal projection of a 3D electrode cloud - on a plane tangent to the sphere fitted through the electrodes - the projection is along the z-axis + r""" + ELPROJ makes a azimuthal projection of a 3D electrode cloud on a plane tangent to + the sphere fitted through the electrodes. The projection is along the z-axis. - [proj] = elproj([x, y, z], 'method'); + Use as + proj = elproj([x, y, z], 'method'); Method should be one of these: 'gnomic' @@ -23,15 +23,18 @@ def _elproj(*args, **kwargs): projection results, if the light is antipodal a Sterographic, and if at infinity, an Orthographic. - The default projection is a polar projection (BESA like). + The default projection is a BESA-like polar projection. An inverse projection is the opposite of the default polar projection. See also PROJECTTRI - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/forward/private/elproj.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/forward/private/elproj.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("elproj", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__forward/_find_innermost_boundary.py b/spm/__external/__fieldtrip/__forward/_find_innermost_boundary.py index c1fc01ef..55094cb8 100644 --- a/spm/__external/__fieldtrip/__forward/_find_innermost_boundary.py +++ b/spm/__external/__fieldtrip/__forward/_find_innermost_boundary.py @@ -2,7 +2,7 @@ def _find_innermost_boundary(*args, **kwargs): - """ + r""" FIND_INNERMOST_BOUNDARY locates innermost compartment of a BEM model by looking at the containment of the triangular meshes describing the surface boundaries @@ -14,9 +14,12 @@ def _find_innermost_boundary(*args, **kwargs): bnd(i).tri triangles of boundary i (matrix of size Mx3) - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/forward/private/find_innermost_boundary.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/forward/private/find_innermost_boundary.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("find_innermost_boundary", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__forward/_find_mesh_edge.py b/spm/__external/__fieldtrip/__forward/_find_mesh_edge.py index 6efbe051..03d04f05 100644 --- a/spm/__external/__fieldtrip/__forward/_find_mesh_edge.py +++ b/spm/__external/__fieldtrip/__forward/_find_mesh_edge.py @@ -2,7 +2,7 @@ def _find_mesh_edge(*args, **kwargs): - """ + r""" FIND_MESH_EDGE returns the edge of a triangulated mesh [pnt, line] = find_mesh_edge(pnt, tri), where @@ -11,9 +11,12 @@ def _find_mesh_edge(*args, **kwargs): line contains the indices of the linepieces connecting the vertices - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/forward/private/find_mesh_edge.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/forward/private/find_mesh_edge.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("find_mesh_edge", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__forward/_find_outermost_boundary.py b/spm/__external/__fieldtrip/__forward/_find_outermost_boundary.py index dd7e7730..cc589a71 100644 --- a/spm/__external/__fieldtrip/__forward/_find_outermost_boundary.py +++ b/spm/__external/__fieldtrip/__forward/_find_outermost_boundary.py @@ -2,7 +2,7 @@ def _find_outermost_boundary(*args, **kwargs): - """ + r""" FIND_OUTERMOST_BOUNDARY locates outermost compartment of a BEM model by looking at the containment of the triangular meshes describing the surface boundaries @@ -14,9 +14,12 @@ def _find_outermost_boundary(*args, **kwargs): bnd(i).tri triangles of boundary i (matrix of size Mx3) - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/forward/private/find_outermost_boundary.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/forward/private/find_outermost_boundary.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("find_outermost_boundary", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__forward/_find_triangle_neighbours.py b/spm/__external/__fieldtrip/__forward/_find_triangle_neighbours.py index 3dda3438..2494ea0e 100644 --- a/spm/__external/__fieldtrip/__forward/_find_triangle_neighbours.py +++ b/spm/__external/__fieldtrip/__forward/_find_triangle_neighbours.py @@ -2,7 +2,7 @@ def _find_triangle_neighbours(*args, **kwargs): - """ + r""" FIND_TRIANGLE_NEIGHBOURS determines the three neighbours for each triangle in a mesh. It returns NaN's if the triangle does not have a neighbour on that particular side. @@ -10,9 +10,12 @@ def _find_triangle_neighbours(*args, **kwargs): [nb] = find_triangle_neighbours(pnt, tri) - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/forward/private/find_triangle_neighbours.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/forward/private/find_triangle_neighbours.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("find_triangle_neighbours", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__forward/_fitsphere.py b/spm/__external/__fieldtrip/__forward/_fitsphere.py index 5c5e17ad..3329c8d1 100644 --- a/spm/__external/__fieldtrip/__forward/_fitsphere.py +++ b/spm/__external/__fieldtrip/__forward/_fitsphere.py @@ -2,22 +2,25 @@ def _fitsphere(*args, **kwargs): - """ + r""" FITSPHERE fits the centre and radius of a sphere to a set of points using Taubin's method. Use as [center,radius] = fitsphere(pnt) where - pnt = Nx3 matrix with the Carthesian coordinates of the surface points + pnt = Nx3 matrix with the Cartesian coordinates of the surface points and center = the center of the fitted sphere radius = the radius of the fitted sphere - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/forward/private/fitsphere.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/forward/private/fitsphere.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("fitsphere", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__forward/_fixbalance.py b/spm/__external/__fieldtrip/__forward/_fixbalance.py new file mode 100644 index 00000000..bb312226 --- /dev/null +++ b/spm/__external/__fieldtrip/__forward/_fixbalance.py @@ -0,0 +1,23 @@ +from spm._runtime import Runtime + + +def _fixbalance(*args, **kwargs): + r""" + FIXBALANCE ensures that the balancing representation in grad.balance or + elec.balance field is up to date and consistent, specifically with the + list of linear projections (or montages) being applied specified as + cell-array in "current", and not as a string in "current" and cell-array + in "previous". + + See also FT_DATATYPE_SENS + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/forward/private/fixbalance.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("fixbalance", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__forward/_fixcoordsys.py b/spm/__external/__fieldtrip/__forward/_fixcoordsys.py index 1f161699..28da8025 100644 --- a/spm/__external/__fieldtrip/__forward/_fixcoordsys.py +++ b/spm/__external/__fieldtrip/__forward/_fixcoordsys.py @@ -2,7 +2,7 @@ def _fixcoordsys(*args, **kwargs): - """ + r""" FIXCOORDSYS ensures that the coordinate system is consistently described. E.g. SPM and MNI are technically the same coordinate system, but the strings 'spm' and 'mni' are different. @@ -10,9 +10,12 @@ def _fixcoordsys(*args, **kwargs): See also FT_DETERMINE_COORDSYS - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/forward/private/fixcoordsys.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/forward/private/fixcoordsys.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("fixcoordsys", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__forward/_fixname.py b/spm/__external/__fieldtrip/__forward/_fixname.py index b3b5ab56..b8f53d38 100644 --- a/spm/__external/__fieldtrip/__forward/_fixname.py +++ b/spm/__external/__fieldtrip/__forward/_fixname.py @@ -2,7 +2,7 @@ def _fixname(*args, **kwargs): - """ + r""" FIXNAME changes all inappropriate characters in a string into '_' so that it can be used as a filename or as a field name in a structure. If the string begins with a digit, an 'x' is prepended. @@ -18,9 +18,12 @@ def _fixname(*args, **kwargs): See also DEBLANK, STRIP, PAD - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/forward/private/fixname.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/forward/private/fixname.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("fixname", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__forward/_fixoldorg.py b/spm/__external/__fieldtrip/__forward/_fixoldorg.py index 5beb622c..a61c8b78 100644 --- a/spm/__external/__fieldtrip/__forward/_fixoldorg.py +++ b/spm/__external/__fieldtrip/__forward/_fixoldorg.py @@ -2,13 +2,16 @@ def _fixoldorg(*args, **kwargs): - """ + r""" FIXOLDORG use "old/new" instead of "org/new" - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/forward/private/fixoldorg.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/forward/private/fixoldorg.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("fixoldorg", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__forward/_fixpos.py b/spm/__external/__fieldtrip/__forward/_fixpos.py index 9287a34e..e722bf1f 100644 --- a/spm/__external/__fieldtrip/__forward/_fixpos.py +++ b/spm/__external/__fieldtrip/__forward/_fixpos.py @@ -2,13 +2,16 @@ def _fixpos(*args, **kwargs): - """ + r""" FIXPOS helper function to ensure that meshes are described properly - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/forward/private/fixpos.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/forward/private/fixpos.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("fixpos", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__forward/_ft_apply_montage.py b/spm/__external/__fieldtrip/__forward/_ft_apply_montage.py new file mode 100644 index 00000000..4455f12b --- /dev/null +++ b/spm/__external/__fieldtrip/__forward/_ft_apply_montage.py @@ -0,0 +1,60 @@ +from spm._runtime import Runtime + + +def _ft_apply_montage(*args, **kwargs): + r""" + FT_APPLY_MONTAGE changes the montage (i.e. linear combination) of a set of + electrode or gradiometer channels. A montage can be used for EEG rereferencing, MEG + synthetic gradients, MEG planar gradients or unmixing using ICA. This function not + only applies the montage to the EEG or MEG data, but also applies the montage to + the input EEG or MEG sensor array, which can subsequently be used for forward + computation and source reconstruction of the data. + + Use as + [sens] = ft_apply_montage(sens, montage, ...) + [data] = ft_apply_montage(data, montage, ...) + [freq] = ft_apply_montage(freq, montage, ...) + [montage] = ft_apply_montage(montage1, montage2, ...) + + A montage is specified as a structure with the fields + montage.tra = MxN matrix + montage.labelold = Nx1 cell-array + montage.labelnew = Mx1 cell-array + + As an example, a bipolar montage could look like this + bipolar.labelold = {'1', '2', '3', '4'} + bipolar.labelnew = {'1-2', '2-3', '3-4'} + bipolar.tra = [ + +1 -1 0 0 + 0 +1 -1 0 + 0 0 +1 -1 + ]; + + The montage can optionally also specify the channel type and unit of the input + and output data with + montage.chantypeold = Nx1 cell-array + montage.chantypenew = Mx1 cell-array + montage.chanunitold = Nx1 cell-array + montage.chanunitnew = Mx1 cell-array + + Additional options should be specified in key-value pairs and can be + 'keepunused' = string, 'yes' or 'no' (default = 'no') + 'feedback' = string, see FT_PROGRESS (default = 'text') + 'warning' = boolean, whether to show warnings (default = true) + + If the first input is a montage, then the second input montage will be + applied to the first. In effect, the output montage will first do + montage1, then montage2. + + See also FT_READ_SENS, FT_DATATYPE_SENS + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/forward/private/ft_apply_montage.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("ft_apply_montage", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__forward/_ft_datatype_headmodel.py b/spm/__external/__fieldtrip/__forward/_ft_datatype_headmodel.py index 751232ce..118c9873 100644 --- a/spm/__external/__fieldtrip/__forward/_ft_datatype_headmodel.py +++ b/spm/__external/__fieldtrip/__forward/_ft_datatype_headmodel.py @@ -2,7 +2,7 @@ def _ft_datatype_headmodel(*args, **kwargs): - """ + r""" FT_DATATYPE_HEADMODEL describes the FieldTrip MATLAB structure for a volume conduction model of the head that can be used for forward computations of the EEG potentials or the MEG fields. The volume conduction model represents the @@ -69,9 +69,12 @@ def _ft_datatype_headmodel(*args, **kwargs): FT_DATATYPE_SPIKE, FT_DATATYPE_TIMELOCK, FT_DATATYPE_VOLUME - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/forward/private/ft_datatype_headmodel.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/forward/private/ft_datatype_headmodel.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_datatype_headmodel", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__forward/_ft_datatype_sens.py b/spm/__external/__fieldtrip/__forward/_ft_datatype_sens.py index 359c5796..b4a3ccd0 100644 --- a/spm/__external/__fieldtrip/__forward/_ft_datatype_sens.py +++ b/spm/__external/__fieldtrip/__forward/_ft_datatype_sens.py @@ -2,7 +2,7 @@ def _ft_datatype_sens(*args, **kwargs): - """ + r""" FT_DATATYPE_SENS describes the FieldTrip structure that represents an MEG, EEG, sEEG, ECoG, or NIRS sensor array. This structure is commonly called "grad" for MEG, "elec" for EEG and intranial EEG, "opto" for NIRS, or in general "sens" if it could @@ -49,12 +49,14 @@ def _ft_datatype_sens(*args, **kwargs): sens.chanunit = Mx1 cell-array with the units of the channel signal, e.g. 'V', 'fT' or 'T/cm', see FT_CHANUNIT Optional fields: - type, unit, fid, chantype, chanunit, coordsys + type, unit, fid, chantype, chanunit, coordsys, balance Historical fields: pnt, pos, ori, pnt1, pnt2, fiberpos, fibertype, fiberlabel, transceiver, transmits, laserstrength Revision history: + (2025/latest) Explicitly deal with the balance field and sequence of montages. + (2020/latest) Updated the specification of the NIRS sensor definition. Dropped the laserstrength and renamed transmits into tra for consistency. @@ -96,9 +98,12 @@ def _ft_datatype_sens(*args, **kwargs): BTI2GRAD, YOKOGAWA2GRAD, ITAB2GRAD - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/forward/private/ft_datatype_sens.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/forward/private/ft_datatype_sens.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_datatype_sens", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__forward/_ft_debug.py b/spm/__external/__fieldtrip/__forward/_ft_debug.py index 8494c910..94a4d9d2 100644 --- a/spm/__external/__fieldtrip/__forward/_ft_debug.py +++ b/spm/__external/__fieldtrip/__forward/_ft_debug.py @@ -2,7 +2,7 @@ def _ft_debug(*args, **kwargs): - """ + r""" FT_DEBUG prints a debug message on screen, depending on the verbosity settings of the calling high-level FieldTrip function. @@ -37,9 +37,12 @@ def _ft_debug(*args, **kwargs): See also FT_ERROR, FT_WARNING, FT_NOTICE, FT_INFO, FT_DEBUG, ERROR, WARNING - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/forward/private/ft_debug.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/forward/private/ft_debug.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_debug", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__forward/_ft_error.py b/spm/__external/__fieldtrip/__forward/_ft_error.py index e374f30b..9ef5d418 100644 --- a/spm/__external/__fieldtrip/__forward/_ft_error.py +++ b/spm/__external/__fieldtrip/__forward/_ft_error.py @@ -2,7 +2,7 @@ def _ft_error(*args, **kwargs): - """ + r""" FT_ERROR prints an error message on screen, just like the standard ERROR function. Use as @@ -14,9 +14,12 @@ def _ft_error(*args, **kwargs): See also FT_ERROR, FT_WARNING, FT_NOTICE, FT_INFO, FT_DEBUG, ERROR, WARNING - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/forward/private/ft_error.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/forward/private/ft_error.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_error", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__forward/_ft_getopt.py b/spm/__external/__fieldtrip/__forward/_ft_getopt.py index 3378c4f8..44a7fa45 100644 --- a/spm/__external/__fieldtrip/__forward/_ft_getopt.py +++ b/spm/__external/__fieldtrip/__forward/_ft_getopt.py @@ -2,7 +2,7 @@ def _ft_getopt(*args, **kwargs): - """ + r""" FT_GETOPT gets the value of a specified option from a configuration structure or from a cell-array with key-value pairs. @@ -25,12 +25,15 @@ def _ft_getopt(*args, **kwargs): If emptymeaningful==true, then the empty array will be returned. If emptymeaningful==false, then the specified default will be returned. - See also FT_SETOPT, FT_CHECKOPT, INPUTPARSER + See also FT_SETOPT, FT_CHECKOPT, FT_DELETEOPT, INPUTPARSER - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/forward/private/ft_getopt.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/forward/private/ft_getopt.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_getopt", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__forward/_ft_hastoolbox.py b/spm/__external/__fieldtrip/__forward/_ft_hastoolbox.py index acf22fc8..c7f595c3 100644 --- a/spm/__external/__fieldtrip/__forward/_ft_hastoolbox.py +++ b/spm/__external/__fieldtrip/__forward/_ft_hastoolbox.py @@ -2,7 +2,7 @@ def _ft_hastoolbox(*args, **kwargs): - """ + r""" FT_HASTOOLBOX tests whether an external toolbox is installed. Optionally it will try to determine the path to the toolbox and install it automatically. @@ -19,9 +19,12 @@ def _ft_hastoolbox(*args, **kwargs): silent = 1 means that it will not give feedback - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/forward/private/ft_hastoolbox.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/forward/private/ft_hastoolbox.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_hastoolbox", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__forward/_ft_headcoordinates.py b/spm/__external/__fieldtrip/__forward/_ft_headcoordinates.py index 05d0eb66..c55be65e 100644 --- a/spm/__external/__fieldtrip/__forward/_ft_headcoordinates.py +++ b/spm/__external/__fieldtrip/__forward/_ft_headcoordinates.py @@ -2,7 +2,7 @@ def _ft_headcoordinates(*args, **kwargs): - """ + r""" FT_HEADCOORDINATES returns the homogeneous coordinate transformation matrix that converts the specified fiducials in any coordinate system (e.g. MRI) into the rotated and translated headcoordinate system. @@ -47,8 +47,8 @@ def _ft_headcoordinates(*args, **kwargs): according to CTF conventions: coordsys = 'ctf' according to 4D conventions: coordsys = '4d' or 'bti' according to EEGLAB conventions: coordsys = 'eeglab' - according to NEUROMAG conventions: coordsys = 'itab' - according to ITAB conventions: coordsys = 'neuromag' + according to NEUROMAG conventions: coordsys = 'neuromag' + according to ITAB conventions: coordsys = 'itab' according to YOKOGAWA conventions: coordsys = 'yokogawa' according to ASA conventions: coordsys = 'asa' according to FTG conventions: coordsys = 'ftg' @@ -97,9 +97,12 @@ def _ft_headcoordinates(*args, **kwargs): See also FT_ELECTRODEREALIGN, FT_VOLUMEREALIGN, FT_INTERACTIVEREALIGN, FT_AFFINECOORDINATES, COORDSYS2LABEL - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/forward/private/ft_headcoordinates.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/forward/private/ft_headcoordinates.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_headcoordinates", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__forward/_ft_info.py b/spm/__external/__fieldtrip/__forward/_ft_info.py index bfabec29..df096208 100644 --- a/spm/__external/__fieldtrip/__forward/_ft_info.py +++ b/spm/__external/__fieldtrip/__forward/_ft_info.py @@ -2,7 +2,7 @@ def _ft_info(*args, **kwargs): - """ + r""" FT_INFO prints an info message on screen, depending on the verbosity settings of the calling high-level FieldTrip function. @@ -37,9 +37,12 @@ def _ft_info(*args, **kwargs): See also FT_ERROR, FT_WARNING, FT_NOTICE, FT_INFO, FT_DEBUG, ERROR, WARNING - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/forward/private/ft_info.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/forward/private/ft_info.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_info", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__forward/_ft_notice.py b/spm/__external/__fieldtrip/__forward/_ft_notice.py index 5988bbf9..fe074076 100644 --- a/spm/__external/__fieldtrip/__forward/_ft_notice.py +++ b/spm/__external/__fieldtrip/__forward/_ft_notice.py @@ -2,7 +2,7 @@ def _ft_notice(*args, **kwargs): - """ + r""" FT_NOTICE prints a notice message on screen, depending on the verbosity settings of the calling high-level FieldTrip function. @@ -37,9 +37,12 @@ def _ft_notice(*args, **kwargs): See also FT_ERROR, FT_WARNING, FT_NOTICE, FT_INFO, FT_DEBUG, ERROR, WARNING - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/forward/private/ft_notice.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/forward/private/ft_notice.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_notice", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__forward/_ft_notification.py b/spm/__external/__fieldtrip/__forward/_ft_notification.py index de8cce00..b29850eb 100644 --- a/spm/__external/__fieldtrip/__forward/_ft_notification.py +++ b/spm/__external/__fieldtrip/__forward/_ft_notification.py @@ -2,7 +2,7 @@ def _ft_notification(*args, **kwargs): - """ + r""" FT_NOTIFICATION works mostly like the WARNING and ERROR commands in MATLAB and is called by FT_ERROR, FT_WARNING, FT_NOTICE, FT_INFO and FT_DEBUG. Please note that you should not call this function directly. @@ -27,9 +27,12 @@ def _ft_notification(*args, **kwargs): See also DEFAULTID, FT_ERROR, FT_WARNING, FT_NOTICE, FT_INFO, FT_DEBUG, ERROR, WARNING - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/forward/private/ft_notification.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/forward/private/ft_notification.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_notification", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__forward/_ft_platform_supports.py b/spm/__external/__fieldtrip/__forward/_ft_platform_supports.py index b1eb9833..6fab2c36 100644 --- a/spm/__external/__fieldtrip/__forward/_ft_platform_supports.py +++ b/spm/__external/__fieldtrip/__forward/_ft_platform_supports.py @@ -2,7 +2,7 @@ def _ft_platform_supports(*args, **kwargs): - """ + r""" FT_PLATFORM_SUPPORTS returns a boolean indicating whether the current platform supports a specific capability @@ -46,9 +46,12 @@ def _ft_platform_supports(*args, **kwargs): See also FT_VERSION, VERSION, VER, VERLESSTHAN - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/forward/private/ft_platform_supports.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/forward/private/ft_platform_supports.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_platform_supports", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__forward/_ft_scalingfactor.py b/spm/__external/__fieldtrip/__forward/_ft_scalingfactor.py index 9e259614..d75f2b04 100644 --- a/spm/__external/__fieldtrip/__forward/_ft_scalingfactor.py +++ b/spm/__external/__fieldtrip/__forward/_ft_scalingfactor.py @@ -2,7 +2,7 @@ def _ft_scalingfactor(*args, **kwargs): - """ + r""" FT_SCALINGFACTOR determines the scaling factor from old to new units, i.e. it returns a number with which the data in the old units needs to be multiplied to get it expressed in the new units. @@ -62,9 +62,12 @@ def _ft_scalingfactor(*args, **kwargs): See also http://en.wikipedia.org/wiki/International_System_of_Units - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/forward/private/ft_scalingfactor.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/forward/private/ft_scalingfactor.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_scalingfactor", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__forward/_ft_version.py b/spm/__external/__fieldtrip/__forward/_ft_version.py index cb8f2d7c..1a4ed6a8 100644 --- a/spm/__external/__fieldtrip/__forward/_ft_version.py +++ b/spm/__external/__fieldtrip/__forward/_ft_version.py @@ -2,7 +2,7 @@ def _ft_version(*args, **kwargs): - """ + r""" FT_VERSION returns the version of FieldTrip and the path where it is installed FieldTrip is not released with version numbers as "2.0", "2.1", etc. Instead, we @@ -40,9 +40,12 @@ def _ft_version(*args, **kwargs): See also FT_PLATFORM_SUPPORTS, VERSION, VER, VERLESSTHAN - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/forward/private/ft_version.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/forward/private/ft_version.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_version", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__forward/_ft_warning.py b/spm/__external/__fieldtrip/__forward/_ft_warning.py index 85b8756a..977d876c 100644 --- a/spm/__external/__fieldtrip/__forward/_ft_warning.py +++ b/spm/__external/__fieldtrip/__forward/_ft_warning.py @@ -2,7 +2,7 @@ def _ft_warning(*args, **kwargs): - """ + r""" FT_WARNING prints a warning message on screen, depending on the verbosity settings of the calling high-level FieldTrip function. This function works similar to the standard WARNING function, but also features the "once" mode. @@ -38,9 +38,12 @@ def _ft_warning(*args, **kwargs): See also FT_ERROR, FT_WARNING, FT_NOTICE, FT_INFO, FT_DEBUG, ERROR, WARNING - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/forward/private/ft_warning.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/forward/private/ft_warning.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_warning", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__forward/_ft_warp_apply.py b/spm/__external/__fieldtrip/__forward/_ft_warp_apply.py index bd0b6bc2..17bcc198 100644 --- a/spm/__external/__fieldtrip/__forward/_ft_warp_apply.py +++ b/spm/__external/__fieldtrip/__forward/_ft_warp_apply.py @@ -2,50 +2,50 @@ def _ft_warp_apply(*args, **kwargs): - """ + r""" FT_WARP_APPLY performs a 3D linear or nonlinear transformation on the input coordinates, similar to those in AIR. You can find technical documentation on warping in general at http://air.bmap.ucla.edu/AIR5 Use as - [output] = ft_warp_apply(M, input, method, tol) + [output] = ft_warp_apply(transform, input, method, tol) where - M vector or matrix with warping parameters - input Nx3 matrix with input coordinates - output Nx3 matrix with the transformed or warped output coordinates - method string describing the transformation or warping method - tol (optional) value determining the numerical precision of the - output, to deal with numerical round-off imprecisions due to - the warping + transform vector or matrix with warping parameters + input Nx3 matrix with input coordinates + output Nx3 matrix with the transformed or warped output coordinates + method string describing the transformation or warping method + tol (optional) value determining the numerical precision of the + output, to deal with numerical round-off imprecisions due to + the warping The methods 'nonlin0', 'nonlin2' ... 'nonlin5' specify a polynomial transformation. - The size of the transformation matrix depends on the order of the warp + The size of the specified transform depends on the order of the warp zeroth order : 1 parameter per coordinate (translation) first order : 4 parameters per coordinate (total 12, affine) second order : 10 parameters per coordinate third order : 20 parameters per coordinate fourth order : 35 parameters per coordinate fifth order : 56 parameters per coordinate (total 168) - The size of M should be 3xP, where P is the number of parameters per coordinate. - Alternatively, you can specify the method to be 'nonlinear', in which case the - order will be determined from the size of the matrix M. + The size of the specified transform should be 3xP, where P is the number of + parameters per coordinate. Alternatively, you can specify the method to be + 'nonlinear', in which case the order will be determined from the size of the + specified transform. - If the method 'homogeneous' is selected, the input matrix M should be a 4x4 + If the method 'homogeneous' is selected, the specified transform should be a 4x4 homogenous transformation matrix. - If the method 'sn2individual' or 'individual2sn' is selected, the input M should be - a structure with the nonlinear spatial normalisation (warping) parameters created - by SPM8 or SPM12 for alignment between an individual subject and a template brain. - When using the 'old' method, M will have subfields like this: + If the method 'sn2individual' or 'individual2sn' is selected, the specified + transform should be a structure with the nonlinear spatial normalisation (warping) + parameters created by SPM8 or SPM12 for alignment between an individual subject and + a template brain. The specified transform is a structure with fields like this: Affine: [4x4 double] Tr: [4-D double] VF: [1x1 struct] VG: [1x1 struct] flags: [1x1 struct] - When using the 'new' or the 'mars' method, M will have subfields like this: If any other method is selected, it is assumed that it specifies the name of an - auxiliary function that will, when given the input parameter vector M, return an + auxiliary function that will, when given the specified transform vector, return an 4x4 homogenous transformation matrix. Supplied functions are 'translate', 'rotate', 'scale', 'rigidbody', 'globalrescale', 'traditional', 'affine', 'perspective', 'quaternion'. @@ -54,9 +54,12 @@ def _ft_warp_apply(*args, **kwargs): MAKETFORM, AFFINE2D, AFFINE3D - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/forward/private/ft_warp_apply.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/forward/private/ft_warp_apply.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_warp_apply", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__forward/_get_dip_halfspace.py b/spm/__external/__fieldtrip/__forward/_get_dip_halfspace.py index dfdd301e..d72fd170 100644 --- a/spm/__external/__fieldtrip/__forward/_get_dip_halfspace.py +++ b/spm/__external/__fieldtrip/__forward/_get_dip_halfspace.py @@ -2,7 +2,7 @@ def _get_dip_halfspace(*args, **kwargs): - """ + r""" GET_DIP_HALFSPACE checks if the dipole is in the empty halfspace and returns true if this happens. The normal of the plane points by convention to the empty halfspace. @@ -10,9 +10,12 @@ def _get_dip_halfspace(*args, **kwargs): is_in_empty = get_dip_halfspace(P,vol); - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/forward/private/get_dip_halfspace.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/forward/private/get_dip_halfspace.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("get_dip_halfspace", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__forward/_getdimord.py b/spm/__external/__fieldtrip/__forward/_getdimord.py index 785dd635..f685429e 100644 --- a/spm/__external/__fieldtrip/__forward/_getdimord.py +++ b/spm/__external/__fieldtrip/__forward/_getdimord.py @@ -2,7 +2,7 @@ def _getdimord(*args, **kwargs): - """ + r""" GETDIMORD determine the dimensions and order of a data field in a FieldTrip structure. @@ -12,9 +12,12 @@ def _getdimord(*args, **kwargs): See also GETDIMSIZ, GETDATFIELD, FIXDIMORD - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/forward/private/getdimord.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/forward/private/getdimord.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("getdimord", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__forward/_getdimsiz.py b/spm/__external/__fieldtrip/__forward/_getdimsiz.py index a93a97e0..c200087e 100644 --- a/spm/__external/__fieldtrip/__forward/_getdimsiz.py +++ b/spm/__external/__fieldtrip/__forward/_getdimsiz.py @@ -2,7 +2,7 @@ def _getdimsiz(*args, **kwargs): - """ + r""" GETDIMSIZ Use as @@ -23,9 +23,12 @@ def _getdimsiz(*args, **kwargs): See also GETDIMORD, GETDATFIELD - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/forward/private/getdimsiz.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/forward/private/getdimsiz.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("getdimsiz", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__forward/_getsubfield.py b/spm/__external/__fieldtrip/__forward/_getsubfield.py index e56e3e0f..d4f54378 100644 --- a/spm/__external/__fieldtrip/__forward/_getsubfield.py +++ b/spm/__external/__fieldtrip/__forward/_getsubfield.py @@ -2,7 +2,7 @@ def _getsubfield(*args, **kwargs): - """ + r""" GETSUBFIELD returns a field from a structure just like the standard GETFIELD function, except that you can also specify nested fields using a '.' in the fieldname. The nesting can be arbitrary deep. @@ -15,9 +15,12 @@ def _getsubfield(*args, **kwargs): See also GETFIELD, ISSUBFIELD, SETSUBFIELD - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/forward/private/getsubfield.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/forward/private/getsubfield.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("getsubfield", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__forward/_halfspace_medium_leadfield.py b/spm/__external/__fieldtrip/__forward/_halfspace_medium_leadfield.py index 4592f949..d96c0142 100644 --- a/spm/__external/__fieldtrip/__forward/_halfspace_medium_leadfield.py +++ b/spm/__external/__fieldtrip/__forward/_halfspace_medium_leadfield.py @@ -2,7 +2,7 @@ def _halfspace_medium_leadfield(*args, **kwargs): - """ + r""" HALFSPACE_MEDIUM_LEADFIELD calculate the halfspace medium leadfield on positions pnt for a dipole at position rd and conductivity cond The halfspace solution requires a plane dividing a conductive zone of @@ -11,9 +11,12 @@ def _halfspace_medium_leadfield(*args, **kwargs): [lf] = halfspace_medium_leadfield(rd, elc, cond) - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/forward/private/halfspace_medium_leadfield.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/forward/private/halfspace_medium_leadfield.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("halfspace_medium_leadfield", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__forward/_hasyokogawa.py b/spm/__external/__fieldtrip/__forward/_hasyokogawa.py index 26a0ff83..a3295945 100644 --- a/spm/__external/__fieldtrip/__forward/_hasyokogawa.py +++ b/spm/__external/__fieldtrip/__forward/_hasyokogawa.py @@ -2,7 +2,7 @@ def _hasyokogawa(*args, **kwargs): - """ + r""" HASYOKOGAWA tests whether the data input toolbox for MEG systems by Yokogawa (www.yokogawa.com, designed by KIT/EagleTechnology) is installed. Only the newest version of the toolbox is accepted. @@ -23,9 +23,12 @@ def _hasyokogawa(*args, **kwargs): YOKOGAWA2GRAD - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/forward/private/hasyokogawa.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/forward/private/hasyokogawa.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("hasyokogawa", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__forward/_headsurface.py b/spm/__external/__fieldtrip/__forward/_headsurface.py index eb9b7815..4c6c7e2a 100644 --- a/spm/__external/__fieldtrip/__forward/_headsurface.py +++ b/spm/__external/__fieldtrip/__forward/_headsurface.py @@ -2,7 +2,7 @@ def _headsurface(*args, **kwargs): - """ + r""" HEADSURFACE constructs a triangulated description of the skin or brain surface from a volume conduction model, from a set of electrodes or gradiometers, or from a combination of the two. It returns a closed @@ -22,9 +22,12 @@ def _headsurface(*args, **kwargs): headshape = string, file containing the head shape - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/forward/private/headsurface.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/forward/private/headsurface.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("headsurface", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__forward/_issubfield.py b/spm/__external/__fieldtrip/__forward/_issubfield.py index 7d0bbb2a..d3d9f490 100644 --- a/spm/__external/__fieldtrip/__forward/_issubfield.py +++ b/spm/__external/__fieldtrip/__forward/_issubfield.py @@ -2,7 +2,7 @@ def _issubfield(*args, **kwargs): - """ + r""" ISSUBFIELD tests for the presence of a field in a structure just like the standard Matlab ISFIELD function, except that you can also specify nested fields using a '.' in the fieldname. The nesting can be arbitrary deep. @@ -18,9 +18,12 @@ def _issubfield(*args, **kwargs): See also ISFIELD, GETSUBFIELD, SETSUBFIELD - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/forward/private/issubfield.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/forward/private/issubfield.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("issubfield", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__forward/_istrue.py b/spm/__external/__fieldtrip/__forward/_istrue.py index 05fe7960..bc7e9c0b 100644 --- a/spm/__external/__fieldtrip/__forward/_istrue.py +++ b/spm/__external/__fieldtrip/__forward/_istrue.py @@ -2,14 +2,17 @@ def _istrue(*args, **kwargs): - """ + r""" ISTRUE converts an input argument like "yes/no", "true/false" or "on/off" into a boolean. If the input is boolean, then it will remain like that. - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/forward/private/istrue.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/forward/private/istrue.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("istrue", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__forward/_keyval.py b/spm/__external/__fieldtrip/__forward/_keyval.py index bb420ea6..5e0d4601 100644 --- a/spm/__external/__fieldtrip/__forward/_keyval.py +++ b/spm/__external/__fieldtrip/__forward/_keyval.py @@ -2,7 +2,7 @@ def _keyval(*args, **kwargs): - """ + r""" KEYVAL returns the value that corresponds to the requested key in a key-value pair list of variable input arguments @@ -12,9 +12,12 @@ def _keyval(*args, **kwargs): See also VARARGIN - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/forward/private/keyval.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/forward/private/keyval.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("keyval", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__forward/_leadfield_duneuro.py b/spm/__external/__fieldtrip/__forward/_leadfield_duneuro.py index 191c9005..27b3bb4c 100644 --- a/spm/__external/__fieldtrip/__forward/_leadfield_duneuro.py +++ b/spm/__external/__fieldtrip/__forward/_leadfield_duneuro.py @@ -2,23 +2,28 @@ def _leadfield_duneuro(*args, **kwargs): - """ + r""" LEADFIELD_DUNEURO computes EEG/MEG leadfields for a set of given dipoles - using the finite element method (FEM) + using the finite element method (FEM), implemented in the duneuro + software - [lf] = leadfield_duneuro(pos, vol); + [lf] = leadfield_duneuro(pos, headmodel, sens, method); with input arguments pos a matrix of dipole positions (there can be 'deep electrodes', too) - vol contains a FE volume conductor (output of ft_prepare_vol_sens) + headmodel contains a FE volume conductor (output of ft_prepare_vol_sens) + sens contains a sensor array description (output of ft_prepare_vol_sens) method string defining the modality ('eeg' or 'meg) The output lf is the leadfield matrix of dimensions m (rows) x n*3 (columns) - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/forward/private/leadfield_duneuro.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/forward/private/leadfield_duneuro.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("leadfield_duneuro", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__forward/_leadfield_fns.py b/spm/__external/__fieldtrip/__forward/_leadfield_fns.py index 5faf996a..373f5207 100644 --- a/spm/__external/__fieldtrip/__forward/_leadfield_fns.py +++ b/spm/__external/__fieldtrip/__forward/_leadfield_fns.py @@ -2,7 +2,7 @@ def _leadfield_fns(*args, **kwargs): - """ + r""" LEADFIELD_FNS calculates the FDM forward solution for a set of given dipolar sources @@ -23,9 +23,12 @@ def _leadfield_fns(*args, **kwargs): vol.bnd positions of the external surface vertices - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/forward/private/leadfield_fns.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/forward/private/leadfield_fns.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("leadfield_fns", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__forward/_leadfield_interpolate.py b/spm/__external/__fieldtrip/__forward/_leadfield_interpolate.py index 11fbefdf..4812df40 100644 --- a/spm/__external/__fieldtrip/__forward/_leadfield_interpolate.py +++ b/spm/__external/__fieldtrip/__forward/_leadfield_interpolate.py @@ -2,7 +2,7 @@ def _leadfield_interpolate(*args, **kwargs): - """ + r""" LEADFIELD_INTERPOLATE interpolates the leadfield for a source at an arbitrary location given the pre-computed leadfields on a regular grid. @@ -11,9 +11,12 @@ def _leadfield_interpolate(*args, **kwargs): lf = leadfield_interpolate(pos, vol) - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/forward/private/leadfield_interpolate.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/forward/private/leadfield_interpolate.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("leadfield_interpolate", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__forward/_leadfield_simbio.py b/spm/__external/__fieldtrip/__forward/_leadfield_simbio.py index b72c8e78..637cb73f 100644 --- a/spm/__external/__fieldtrip/__forward/_leadfield_simbio.py +++ b/spm/__external/__fieldtrip/__forward/_leadfield_simbio.py @@ -2,7 +2,7 @@ def _leadfield_simbio(*args, **kwargs): - """ + r""" leadfield_simbio leadfields for a set of dipoles [lf] = leadfield_simbio(pos, vol); @@ -15,9 +15,12 @@ def _leadfield_simbio(*args, **kwargs): the output lf is the leadfield matrix of dimensions m (rows) x n*3 (cols) - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/forward/private/leadfield_simbio.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/forward/private/leadfield_simbio.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("leadfield_simbio", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__forward/_leadsphere_all.py b/spm/__external/__fieldtrip/__forward/_leadsphere_all.py index 63e4237b..33235f42 100644 --- a/spm/__external/__fieldtrip/__forward/_leadsphere_all.py +++ b/spm/__external/__fieldtrip/__forward/_leadsphere_all.py @@ -2,13 +2,16 @@ def _leadsphere_all(*args, **kwargs): - """ + r""" usage: out=leadsphere_all(xloc,sensorloc,sensorori) - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/forward/private/leadsphere_all.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/forward/private/leadsphere_all.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("leadsphere_all", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__forward/_legs.py b/spm/__external/__fieldtrip/__forward/_legs.py index 2c6aa53f..6873d4c4 100644 --- a/spm/__external/__fieldtrip/__forward/_legs.py +++ b/spm/__external/__fieldtrip/__forward/_legs.py @@ -2,7 +2,7 @@ def _legs(*args, **kwargs): - """ + r""" usage: [basis,gradbasis]=legs(x,dir,n,scale) returns the values and directional derivatives of (n+1)^2-1 basis functions @@ -33,9 +33,12 @@ def _legs(*args, **kwargs): product of the gradient of the former with the j.th row of dir - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/forward/private/legs.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/forward/private/legs.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("legs", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__forward/_lmoutr.py b/spm/__external/__fieldtrip/__forward/_lmoutr.py index 67a87962..289faaed 100644 --- a/spm/__external/__fieldtrip/__forward/_lmoutr.py +++ b/spm/__external/__fieldtrip/__forward/_lmoutr.py @@ -2,18 +2,21 @@ def _lmoutr(*args, **kwargs): - """ + r""" LMOUTR computes the la/mu parameters of a point projected to a triangle Use as [la, mu, dist] = lmoutr(v1, v2, v3, r) - where v1, v2 and v3 are three vertices of the triangle, and r is + where v1, v2 and v3 are three vertices of the triangle, and r is the point that is projected onto the plane spanned by the vertices - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/forward/private/lmoutr.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/forward/private/lmoutr.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("lmoutr", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__forward/_lmoutrn.py b/spm/__external/__fieldtrip/__forward/_lmoutrn.py index 6a063d6b..c402d05e 100644 --- a/spm/__external/__fieldtrip/__forward/_lmoutrn.py +++ b/spm/__external/__fieldtrip/__forward/_lmoutrn.py @@ -2,7 +2,7 @@ def _lmoutrn(*args, **kwargs): - """ + r""" LMOUTRN computes the la/mu parameters of a point projected to triangles Use as @@ -16,9 +16,12 @@ def _lmoutrn(*args, **kwargs): lies closer to the average across all vertices and the triangle under consideration. - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/forward/private/lmoutrn.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/forward/private/lmoutrn.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("lmoutrn", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__forward/_loadama.py b/spm/__external/__fieldtrip/__forward/_loadama.py index 0363d0f4..b961c067 100644 --- a/spm/__external/__fieldtrip/__forward/_loadama.py +++ b/spm/__external/__fieldtrip/__forward/_loadama.py @@ -2,7 +2,7 @@ def _loadama(*args, **kwargs): - """ + r""" LOADAMA read an inverted A-matrix and associated geometry information from an ama file that was written by Tom Oostendorp's DIPOLI @@ -12,9 +12,12 @@ def _loadama(*args, **kwargs): See also LOADTRI, LOADMAT - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/forward/private/loadama.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/forward/private/loadama.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("loadama", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__forward/_magnetic_dipole.py b/spm/__external/__fieldtrip/__forward/_magnetic_dipole.py index 1854c33c..f0ef1728 100644 --- a/spm/__external/__fieldtrip/__forward/_magnetic_dipole.py +++ b/spm/__external/__fieldtrip/__forward/_magnetic_dipole.py @@ -2,7 +2,7 @@ def _magnetic_dipole(*args, **kwargs): - """ + r""" MAGNETIC_DIPOLE leadfield for a magnetic dipole in an infinite medium [lf] = magnetic_dipole(R, pos, ori) @@ -15,9 +15,12 @@ def _magnetic_dipole(*args, **kwargs): See also CURRENT_DIPOLE - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/forward/private/magnetic_dipole.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/forward/private/magnetic_dipole.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("magnetic_dipole", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__forward/_match_str.py b/spm/__external/__fieldtrip/__forward/_match_str.py index dda5d8a7..24b8a303 100644 --- a/spm/__external/__fieldtrip/__forward/_match_str.py +++ b/spm/__external/__fieldtrip/__forward/_match_str.py @@ -2,7 +2,7 @@ def _match_str(*args, **kwargs): - """ + r""" MATCH_STR looks for matching labels in two lists of strings and returns the indices into both the 1st and 2nd list of the matches. They will be ordered according to the first input argument. @@ -20,9 +20,12 @@ def _match_str(*args, **kwargs): size of the input lists is meaningful. - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/forward/private/match_str.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/forward/private/match_str.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("match_str", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__forward/_meg_forward.py b/spm/__external/__fieldtrip/__forward/_meg_forward.py index e5cba501..4255cf86 100644 --- a/spm/__external/__fieldtrip/__forward/_meg_forward.py +++ b/spm/__external/__fieldtrip/__forward/_meg_forward.py @@ -2,7 +2,7 @@ def _meg_forward(*args, **kwargs): - """ + r""" calculates the magnetic field of n dipoles in a realistic volume conductor usage: field=meg_forward(dip_par,forwpar) @@ -46,9 +46,12 @@ def _meg_forward(*args, **kwargs): $Id$ - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/forward/private/meg_forward.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/forward/private/meg_forward.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("meg_forward", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__forward/_meg_ini.py b/spm/__external/__fieldtrip/__forward/_meg_ini.py index d71ebe8f..2f5c8d1a 100644 --- a/spm/__external/__fieldtrip/__forward/_meg_ini.py +++ b/spm/__external/__fieldtrip/__forward/_meg_ini.py @@ -2,7 +2,7 @@ def _meg_ini(*args, **kwargs): - """ + r""" initializes MEG-forward calculation usage: forwpar=meg_ini(vc,center,order,sens,refs,gradlocs,weights) @@ -33,9 +33,12 @@ def _meg_ini(*args, **kwargs): note: it is assumed that locations are in cm. - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/forward/private/meg_ini.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/forward/private/meg_ini.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("meg_ini", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__forward/_mesh2edge.py b/spm/__external/__fieldtrip/__forward/_mesh2edge.py index 35f4552b..1b13596e 100644 --- a/spm/__external/__fieldtrip/__forward/_mesh2edge.py +++ b/spm/__external/__fieldtrip/__forward/_mesh2edge.py @@ -2,7 +2,7 @@ def _mesh2edge(*args, **kwargs): - """ + r""" MESH2EDGE finds the edge lines from a triangulated mesh or the edge surfaces from a tetrahedral or hexahedral mesh. An edge is defined as an element that does not border any other element. This also implies that a @@ -11,12 +11,15 @@ def _mesh2edge(*args, **kwargs): Use as [edge] = mesh2edge(mesh) - See also POLY2TRI + See also POLY2TRI, TRI2BND - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/forward/private/mesh2edge.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/forward/private/mesh2edge.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("mesh2edge", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__forward/_mesh_icosahedron.py b/spm/__external/__fieldtrip/__forward/_mesh_icosahedron.py index 9242607f..e30c8a75 100644 --- a/spm/__external/__fieldtrip/__forward/_mesh_icosahedron.py +++ b/spm/__external/__fieldtrip/__forward/_mesh_icosahedron.py @@ -2,7 +2,7 @@ def _mesh_icosahedron(*args, **kwargs): - """ + r""" MESH_ICOSAHEDRON returns the vertices and triangle of a 12-vertex icosahedral mesh. @@ -12,9 +12,12 @@ def _mesh_icosahedron(*args, **kwargs): See also MESH_TETRAHEDRON, MESH_OCTAHEDRON, MESH_SPHERE - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/forward/private/mesh_icosahedron.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/forward/private/mesh_icosahedron.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("mesh_icosahedron", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__forward/_mesh_octahedron.py b/spm/__external/__fieldtrip/__forward/_mesh_octahedron.py index f5914717..9f6f71e0 100644 --- a/spm/__external/__fieldtrip/__forward/_mesh_octahedron.py +++ b/spm/__external/__fieldtrip/__forward/_mesh_octahedron.py @@ -2,7 +2,7 @@ def _mesh_octahedron(*args, **kwargs): - """ + r""" MESH_OCTAHEDRON returns the vertices and triangles of an octahedron Use as @@ -11,9 +11,12 @@ def _mesh_octahedron(*args, **kwargs): See also MESH_TETRAHEDRON, MESH_OCTAHEDRON, MESH_SPHERE - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/forward/private/mesh_octahedron.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/forward/private/mesh_octahedron.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("mesh_octahedron", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__forward/_mesh_sphere.py b/spm/__external/__fieldtrip/__forward/_mesh_sphere.py index ce0345bf..29aaf4cb 100644 --- a/spm/__external/__fieldtrip/__forward/_mesh_sphere.py +++ b/spm/__external/__fieldtrip/__forward/_mesh_sphere.py @@ -2,7 +2,7 @@ def _mesh_sphere(*args, **kwargs): - """ + r""" MESH_SPHERE creates spherical mesh, with approximately nvertices vertices Use as @@ -23,9 +23,12 @@ def _mesh_sphere(*args, **kwargs): See also MESH_TETRAHEDRON, MESH_OCTAHEDRON, MESH_ICOSAHEDRON - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/forward/private/mesh_sphere.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/forward/private/mesh_sphere.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("mesh_sphere", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__forward/_mesh_tetrahedron.py b/spm/__external/__fieldtrip/__forward/_mesh_tetrahedron.py index e9d1edbe..e0602527 100644 --- a/spm/__external/__fieldtrip/__forward/_mesh_tetrahedron.py +++ b/spm/__external/__fieldtrip/__forward/_mesh_tetrahedron.py @@ -2,7 +2,7 @@ def _mesh_tetrahedron(*args, **kwargs): - """ + r""" MESH_TETRAHEDRON returns the vertices and triangles of a tetrahedron. Use as @@ -11,9 +11,12 @@ def _mesh_tetrahedron(*args, **kwargs): See also MESH_ICOSAHEDRON, MESH_OCTAHEDRON, MESH_SPHERE - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/forward/private/mesh_tetrahedron.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/forward/private/mesh_tetrahedron.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("mesh_tetrahedron", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__forward/_pinvNx2.py b/spm/__external/__fieldtrip/__forward/_pinvNx2.py index c6b48a88..7658f637 100644 --- a/spm/__external/__fieldtrip/__forward/_pinvNx2.py +++ b/spm/__external/__fieldtrip/__forward/_pinvNx2.py @@ -2,15 +2,18 @@ def _pinvNx2(*args, **kwargs): - """ + r""" PINVNX2 computes a pseudo-inverse of the M slices of an MxNx2 real-valued matrix. Output has dimensionality Mx2xN. This implementation is generally faster than calling pinv in a for-loop, once M > 2 - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/forward/private/pinvNx2.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/forward/private/pinvNx2.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("pinvNx2", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__forward/_plgndr.py b/spm/__external/__fieldtrip/__forward/_plgndr.py index ec36d680..925ec9c4 100644 --- a/spm/__external/__fieldtrip/__forward/_plgndr.py +++ b/spm/__external/__fieldtrip/__forward/_plgndr.py @@ -2,18 +2,20 @@ def _plgndr(*args, **kwargs): - """ - PLGNDR associated Legendre function - - y = plgndr(n,k,x) computes the values of the associated Legendre functions + r""" + PLGNDR computes the values of the associated Legendre functions of degree N and order K - implemented as MEX file + Use as + y = plgndr(n,k,x) - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/forward/private/plgndr.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/forward/private/plgndr.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("plgndr", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__forward/_plinprojn.py b/spm/__external/__fieldtrip/__forward/_plinprojn.py index 1814077b..fab00dd7 100644 --- a/spm/__external/__fieldtrip/__forward/_plinprojn.py +++ b/spm/__external/__fieldtrip/__forward/_plinprojn.py @@ -2,7 +2,7 @@ def _plinprojn(*args, **kwargs): - """ + r""" PLINPROJN projects a point onto a line or linepiece [proj, dist] = plinprojn(l1, l2, r, flag) @@ -17,9 +17,12 @@ def _plinprojn(*args, **kwargs): 1 project the point within or on the edge of the linepiece - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/forward/private/plinprojn.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/forward/private/plinprojn.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("plinprojn", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__forward/_project_elec.py b/spm/__external/__fieldtrip/__forward/_project_elec.py index acc9c308..43f61711 100644 --- a/spm/__external/__fieldtrip/__forward/_project_elec.py +++ b/spm/__external/__fieldtrip/__forward/_project_elec.py @@ -2,22 +2,30 @@ def _project_elec(*args, **kwargs): - """ + r""" PROJECT_ELEC projects electrodes on a triangulated surface and returns triangle index, la/mu parameters and distance Use as [el, prj] = project_elec(elc, pnt, tri) - which returns + with + elc = Kx3 matrix with the position of all electrodes + pos = Mx3 matrix with the vertex locations of the triangulated headshape + tri = Nx3 matrix with the vertex indices for each of the triangles + + This function returns el = Nx4 matrix with [tri, la, mu, dist] for each electrode prj = Nx3 matrix with the projected electrode position See also TRANSFER_ELEC - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/forward/private/project_elec.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/forward/private/project_elec.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("project_elec", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__forward/_projecttri.py b/spm/__external/__fieldtrip/__forward/_projecttri.py index 053dee6d..eb766ae9 100644 --- a/spm/__external/__fieldtrip/__forward/_projecttri.py +++ b/spm/__external/__fieldtrip/__forward/_projecttri.py @@ -2,7 +2,7 @@ def _projecttri(*args, **kwargs): - """ + r""" PROJECTTRI makes a closed triangulation of a list of vertices by projecting them onto a unit sphere and subsequently by constructing a convex hull triangulation. @@ -14,9 +14,12 @@ def _projecttri(*args, **kwargs): See also SURFACE_NORMALS, PCNORMALS, ELPROJ - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/forward/private/projecttri.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/forward/private/projecttri.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("projecttri", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__forward/_ptriproj.py b/spm/__external/__fieldtrip/__forward/_ptriproj.py index 25ef0453..a152939d 100644 --- a/spm/__external/__fieldtrip/__forward/_ptriproj.py +++ b/spm/__external/__fieldtrip/__forward/_ptriproj.py @@ -2,7 +2,7 @@ def _ptriproj(*args, **kwargs): - """ + r""" PTRIPROJ projects a point onto the plane going through a triangle Use as @@ -15,9 +15,12 @@ def _ptriproj(*args, **kwargs): 1 project the point within or on the edge of the triangle - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/forward/private/ptriproj.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/forward/private/ptriproj.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ptriproj", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__forward/_ptriprojn.py b/spm/__external/__fieldtrip/__forward/_ptriprojn.py index fb7ce09f..7dba5b65 100644 --- a/spm/__external/__fieldtrip/__forward/_ptriprojn.py +++ b/spm/__external/__fieldtrip/__forward/_ptriprojn.py @@ -2,7 +2,7 @@ def _ptriprojn(*args, **kwargs): - """ + r""" PTRIPROJN projects a point onto the plane going through a set of triangles @@ -18,9 +18,12 @@ def _ptriprojn(*args, **kwargs): 1 project the point within or on the edge of the triangle - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/forward/private/ptriprojn.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/forward/private/ptriprojn.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ptriprojn", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__forward/_refine.py b/spm/__external/__fieldtrip/__forward/_refine.py index 6db10164..6b366834 100644 --- a/spm/__external/__fieldtrip/__forward/_refine.py +++ b/spm/__external/__fieldtrip/__forward/_refine.py @@ -2,12 +2,13 @@ def _refine(*args, **kwargs): - """ + r""" REFINE a 3D surface that is described by a triangulation Use as [pos, tri] = refine(pos, tri) [pos, tri] = refine(pos, tri, 'banks') + [pos, tri] = refine(pos, tri, 'midpoint') [pos, tri, texture] = refine(pos, tri, 'banks', texture) [pos, tri] = refine(pos, tri, 'updown', numtri) @@ -31,9 +32,12 @@ def _refine(*args, **kwargs): reference. - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/forward/private/refine.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/forward/private/refine.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("refine", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__forward/_remove_double_vertices.py b/spm/__external/__fieldtrip/__forward/_remove_double_vertices.py index 847ce3c9..5056716d 100644 --- a/spm/__external/__fieldtrip/__forward/_remove_double_vertices.py +++ b/spm/__external/__fieldtrip/__forward/_remove_double_vertices.py @@ -2,7 +2,7 @@ def _remove_double_vertices(*args, **kwargs): - """ + r""" REMOVE_DOUBLE_VERTICES removes double vertices from a triangular, tetrahedral or hexahedral mesh, renumbering the vertex-indices for the elements. @@ -11,12 +11,15 @@ def _remove_double_vertices(*args, **kwargs): [pos, tet] = remove_double_vertices(pos, tet) [pos, hex] = remove_double_vertices(pos, hex) - See also REMOVE_VERTICES + See also REMOVE_VERTICES, REMOVE_UNUSED_VERTICES - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/forward/private/remove_double_vertices.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/forward/private/remove_double_vertices.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("remove_double_vertices", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__forward/_remove_unused_vertices.py b/spm/__external/__fieldtrip/__forward/_remove_unused_vertices.py index ced4c3b0..c09ee5b2 100644 --- a/spm/__external/__fieldtrip/__forward/_remove_unused_vertices.py +++ b/spm/__external/__fieldtrip/__forward/_remove_unused_vertices.py @@ -2,7 +2,7 @@ def _remove_unused_vertices(*args, **kwargs): - """ + r""" REMOVE_UNUSED_VERTICES removes unused vertices from a triangular, tetrahedral or hexahedral mesh, renumbering the vertex-indices for the elements. @@ -14,9 +14,12 @@ def _remove_unused_vertices(*args, **kwargs): See also REMOVE_VERTICES, REMOVE_DOUBLE_VERTICES - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/forward/private/remove_unused_vertices.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/forward/private/remove_unused_vertices.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("remove_unused_vertices", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__forward/_remove_vertices.py b/spm/__external/__fieldtrip/__forward/_remove_vertices.py index 69a24e1d..2509b43a 100644 --- a/spm/__external/__fieldtrip/__forward/_remove_vertices.py +++ b/spm/__external/__fieldtrip/__forward/_remove_vertices.py @@ -2,7 +2,7 @@ def _remove_vertices(*args, **kwargs): - """ + r""" REMOVE_VERTICES removes specified indexed vertices from a triangular, tetrahedral or hexahedral mesh renumbering the vertex-indices for the elements and removing all resulting 'open' elements. @@ -15,9 +15,12 @@ def _remove_vertices(*args, **kwargs): See also REMOVE_DOUBLE_VERTICES, REMOVE_UNUSED_VERTICES - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/forward/private/remove_vertices.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/forward/private/remove_vertices.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("remove_vertices", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__forward/_retriangulate.py b/spm/__external/__fieldtrip/__forward/_retriangulate.py index 5d70693c..ad73944c 100644 --- a/spm/__external/__fieldtrip/__forward/_retriangulate.py +++ b/spm/__external/__fieldtrip/__forward/_retriangulate.py @@ -2,7 +2,7 @@ def _retriangulate(*args, **kwargs): - """ + r""" RETRIANGULATE projects a triangulation onto another triangulation thereby providing a a new triangulation of the old one. @@ -29,9 +29,12 @@ def _retriangulate(*args, **kwargs): See also ICOSAHEDRONxxx, ISOSURFACE, REDUCEPATCH - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/forward/private/retriangulate.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/forward/private/retriangulate.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("retriangulate", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__forward/_rmsubfield.py b/spm/__external/__fieldtrip/__forward/_rmsubfield.py index 8f682623..5243e934 100644 --- a/spm/__external/__fieldtrip/__forward/_rmsubfield.py +++ b/spm/__external/__fieldtrip/__forward/_rmsubfield.py @@ -2,7 +2,7 @@ def _rmsubfield(*args, **kwargs): - """ + r""" RMSUBFIELD removes the contents of the specified field from a structure just like the standard Matlab RMFIELD function, except that you can also specify nested fields using a '.' in the fieldname. The nesting can be @@ -16,9 +16,12 @@ def _rmsubfield(*args, **kwargs): See also SETFIELD, GETSUBFIELD, ISSUBFIELD - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/forward/private/rmsubfield.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/forward/private/rmsubfield.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("rmsubfield", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__forward/_setsubfield.py b/spm/__external/__fieldtrip/__forward/_setsubfield.py index 5a1294ab..12cb0780 100644 --- a/spm/__external/__fieldtrip/__forward/_setsubfield.py +++ b/spm/__external/__fieldtrip/__forward/_setsubfield.py @@ -2,7 +2,7 @@ def _setsubfield(*args, **kwargs): - """ + r""" SETSUBFIELD sets the contents of the specified field to a specified value just like the standard Matlab SETFIELD function, except that you can also specify nested fields using a '.' in the fieldname. The nesting can be @@ -19,9 +19,12 @@ def _setsubfield(*args, **kwargs): See also SETFIELD, GETSUBFIELD, ISSUBFIELD - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/forward/private/setsubfield.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/forward/private/setsubfield.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("setsubfield", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__forward/_solid_angle.py b/spm/__external/__fieldtrip/__forward/_solid_angle.py index 13c7fec4..4c83c497 100644 --- a/spm/__external/__fieldtrip/__forward/_solid_angle.py +++ b/spm/__external/__fieldtrip/__forward/_solid_angle.py @@ -2,7 +2,7 @@ def _solid_angle(*args, **kwargs): - """ + r""" SOLID_ANGLE of a planar triangle as seen from the origin The solid angle W subtended by a surface S is defined as the surface @@ -10,7 +10,7 @@ def _solid_angle(*args, **kwargs): sphere. Solid angle is measured in steradians, and the solid angle corresponding to all of space being subtended is 4*pi sterradians. - Use: + Use as [w] = solid_angle(v1, v2, v3) or [w] = solid_angle(pnt, tri) @@ -19,9 +19,12 @@ def _solid_angle(*args, **kwargs): compute the solid angle for each triangle) - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/forward/private/solid_angle.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/forward/private/solid_angle.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("solid_angle", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__forward/_surface_inside.py b/spm/__external/__fieldtrip/__forward/_surface_inside.py index ca188c1a..f1ca44ca 100644 --- a/spm/__external/__fieldtrip/__forward/_surface_inside.py +++ b/spm/__external/__fieldtrip/__forward/_surface_inside.py @@ -2,7 +2,7 @@ def _surface_inside(*args, **kwargs): - """ + r""" SURFACE_INSIDE determines if a point is inside/outside a triangle mesh whereby the bounding triangle mesh should be closed. @@ -16,9 +16,12 @@ def _surface_inside(*args, **kwargs): See also SURFACE_AREA, SURFACE_ORIENTATION, SURFACE_NORMALS, SURFACE_NESTING, SOLID_ANGLE - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/forward/private/surface_inside.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/forward/private/surface_inside.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("surface_inside", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__forward/_surface_nesting.py b/spm/__external/__fieldtrip/__forward/_surface_nesting.py index e3e78048..ec34d309 100644 --- a/spm/__external/__fieldtrip/__forward/_surface_nesting.py +++ b/spm/__external/__fieldtrip/__forward/_surface_nesting.py @@ -2,7 +2,7 @@ def _surface_nesting(*args, **kwargs): - """ + r""" SURFACE_NESTING determines what the order of multiple boundaries is to get them sorted with the innermost or outermost surface first. @@ -16,9 +16,12 @@ def _surface_nesting(*args, **kwargs): See also SURFACE_ORIENTATION, SURFACE_NORMALS, SURFACE_INSIDE - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/forward/private/surface_nesting.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/forward/private/surface_nesting.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("surface_nesting", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__forward/_surface_normals.py b/spm/__external/__fieldtrip/__forward/_surface_normals.py index 7da01a53..ed8418a6 100644 --- a/spm/__external/__fieldtrip/__forward/_surface_normals.py +++ b/spm/__external/__fieldtrip/__forward/_surface_normals.py @@ -2,7 +2,7 @@ def _surface_normals(*args, **kwargs): - """ + r""" SURFACE_NORMALS compute the surface normals of a triangular mesh for each triangle or for each vertex @@ -13,9 +13,12 @@ def _surface_normals(*args, **kwargs): See also SURFACE_AREA, SURFACE_ORIENTATION, SURFACE_INSIDE, SURFACE_NESTING, PROJECTTRI, PCNORMALS - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/forward/private/surface_normals.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/forward/private/surface_normals.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("surface_normals", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__forward/_surface_orientation.py b/spm/__external/__fieldtrip/__forward/_surface_orientation.py index 0c612c0f..173cd698 100644 --- a/spm/__external/__fieldtrip/__forward/_surface_orientation.py +++ b/spm/__external/__fieldtrip/__forward/_surface_orientation.py @@ -2,7 +2,7 @@ def _surface_orientation(*args, **kwargs): - """ + r""" SURFACE_ORIENTATION returns the string 'inward' or 'outward' or 'unknown', depending on the surface orientation. @@ -14,9 +14,12 @@ def _surface_orientation(*args, **kwargs): See also SURFACE_AREA, SURFACE_NESTING, SURFACE_NORMALS, SURFACE_NESTING - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/forward/private/surface_orientation.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/forward/private/surface_orientation.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("surface_orientation", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__forward/_surface_shift.py b/spm/__external/__fieldtrip/__forward/_surface_shift.py index 6e8a2e97..080bc53e 100644 --- a/spm/__external/__fieldtrip/__forward/_surface_shift.py +++ b/spm/__external/__fieldtrip/__forward/_surface_shift.py @@ -2,7 +2,7 @@ def _surface_shift(*args, **kwargs): - """ + r""" SURFACE_SHIFT inflates or deflates a triangulated surface by moving the vertices outward or inward along their normals. @@ -14,9 +14,12 @@ def _surface_shift(*args, **kwargs): SURFACE_NESTING - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/forward/private/surface_shift.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/forward/private/surface_shift.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("surface_shift", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__forward/_transfer_elec.py b/spm/__external/__fieldtrip/__forward/_transfer_elec.py index 574f94dd..1a40c61c 100644 --- a/spm/__external/__fieldtrip/__forward/_transfer_elec.py +++ b/spm/__external/__fieldtrip/__forward/_transfer_elec.py @@ -2,20 +2,26 @@ def _transfer_elec(*args, **kwargs): - """ - TRANSFER_ELEC is the transfermatrix from vertex to electrode potentials - using bi-linear interpolation over the triangles - - tra = transfer_elec(pnt, tri, el) + r""" + TRANSFER_ELEC computes the transfer matrix from vertex to electrode potentials + using bi-linear interpolation over the triangles. - the Nx3 matrix el shold contain [tri, la, mu] for each electrode + Use as + tra = transfer_elec(el, pos, tri) + where + el = Kx3 matrix that contains the [tri, la, mu] for each electrode + pos = Mx3 matrix with vertex locations of the triangulated headshape + tri = Nx3 matrix with the vertex indices for each of the triangles - See also PROJECT_ELEC + See also PROJECT_ELEC, NORMALS_ELEC - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/forward/private/transfer_elec.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/forward/private/transfer_elec.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("transfer_elec", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__forward/_triangle4pt.py b/spm/__external/__fieldtrip/__forward/_triangle4pt.py index cb406686..6b5d7162 100644 --- a/spm/__external/__fieldtrip/__forward/_triangle4pt.py +++ b/spm/__external/__fieldtrip/__forward/_triangle4pt.py @@ -2,7 +2,7 @@ def _triangle4pt(*args, **kwargs): - """ + r""" TRIANGLE4PNT takes the volume model and estimates the 4th point of each triangle of each mesh. @@ -41,9 +41,12 @@ def _triangle4pt(*args, **kwargs): $Id$ - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/forward/private/triangle4pt.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/forward/private/triangle4pt.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("triangle4pt", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__forward/_undobalancing.py b/spm/__external/__fieldtrip/__forward/_undobalancing.py index ca41fa1b..70a0e686 100644 --- a/spm/__external/__fieldtrip/__forward/_undobalancing.py +++ b/spm/__external/__fieldtrip/__forward/_undobalancing.py @@ -2,15 +2,18 @@ def _undobalancing(*args, **kwargs): - """ + r""" UNDOBALANCING removes all balancing coefficients from the gradiometer sensor array This is used in CHANNELPOSITION, FT_PREPARE_LAYOUT, FT_SENSTYPE - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/forward/private/undobalancing.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/forward/private/undobalancing.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("undobalancing", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__forward/ft_compute_leadfield.py b/spm/__external/__fieldtrip/__forward/ft_compute_leadfield.py index 8efefa4b..2947baae 100644 --- a/spm/__external/__fieldtrip/__forward/ft_compute_leadfield.py +++ b/spm/__external/__fieldtrip/__forward/ft_compute_leadfield.py @@ -2,10 +2,10 @@ def ft_compute_leadfield(*args, **kwargs): - """ + r""" FT_COMPUTE_LEADFIELD computes a forward solution for a dipole in a a volume conductor model. The forward solution is expressed as the leadfield matrix - (Nchan*3), where each column corresponds with the potential or field distributions + with size Nchan*3, where each column corresponds with the potential or field distributions on all sensors for one of the x,y,z-orientations of the dipole. Use as @@ -67,9 +67,12 @@ def ft_compute_leadfield(*args, **kwargs): FT_HEADMODEL_HALFSPACE, FT_HEADMODEL_DUNEURO - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/forward/ft_compute_leadfield.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/forward/ft_compute_leadfield.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_compute_leadfield", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__forward/ft_convert_units.py b/spm/__external/__fieldtrip/__forward/ft_convert_units.py index 9d8149ea..c6503553 100644 --- a/spm/__external/__fieldtrip/__forward/ft_convert_units.py +++ b/spm/__external/__fieldtrip/__forward/ft_convert_units.py @@ -2,7 +2,7 @@ def ft_convert_units(*args, **kwargs): - """ + r""" FT_CONVERT_UNITS changes the geometrical dimension to the specified SI unit. The units of the input object is determined from the structure field object.unit, or is estimated based on the spatial extend of the structure, @@ -24,9 +24,12 @@ def ft_convert_units(*args, **kwargs): See also FT_DETERMINE_UNITS, FT_DETERMINE_COORDSYS, FT_CONVERT_COORDSYS, FT_PLOT_AXES, FT_PLOT_XXX - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/forward/ft_convert_units.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/forward/ft_convert_units.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_convert_units", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__forward/ft_determine_units.py b/spm/__external/__fieldtrip/__forward/ft_determine_units.py index 1c974d19..9a38a6b3 100644 --- a/spm/__external/__fieldtrip/__forward/ft_determine_units.py +++ b/spm/__external/__fieldtrip/__forward/ft_determine_units.py @@ -2,7 +2,7 @@ def ft_determine_units(*args, **kwargs): - """ + r""" FT_DETERMINE_UNITS tries to determine the units of a geometrical object by looking at its size and by relating this to the approximate size of the human head according to the following table: @@ -28,9 +28,12 @@ def ft_determine_units(*args, **kwargs): See also FT_CONVERT_UNITS, FT_DETERMINE_COODSYS, FT_CONVERT_COORDSYS, FT_PLOT_AXES, FT_PLOT_XXX - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/forward/ft_determine_units.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/forward/ft_determine_units.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_determine_units", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__forward/ft_estimate_units.py b/spm/__external/__fieldtrip/__forward/ft_estimate_units.py index 829932c6..f335699d 100644 --- a/spm/__external/__fieldtrip/__forward/ft_estimate_units.py +++ b/spm/__external/__fieldtrip/__forward/ft_estimate_units.py @@ -2,7 +2,7 @@ def ft_estimate_units(*args, **kwargs): - """ + r""" FT_ESTIMATE_UNITS tries to determine the units of a geometrical object by looking at its size and by relating this to the approximate size of the human head according to the following table: @@ -16,15 +16,19 @@ def ft_estimate_units(*args, **kwargs): This function will return one of the following strings 'm' + 'dm' 'cm' 'mm' See also FT_CONVERT_UNITS - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/forward/ft_estimate_units.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/forward/ft_estimate_units.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_estimate_units", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__forward/ft_headmodel_asa.py b/spm/__external/__fieldtrip/__forward/ft_headmodel_asa.py index 3d4b5857..bd7a6605 100644 --- a/spm/__external/__fieldtrip/__forward/ft_headmodel_asa.py +++ b/spm/__external/__fieldtrip/__forward/ft_headmodel_asa.py @@ -2,7 +2,7 @@ def ft_headmodel_asa(*args, **kwargs): - """ + r""" FT_HEADMODEL_ASA reads a volume conduction model from an ASA *.vol file @@ -16,12 +16,15 @@ def ft_headmodel_asa(*args, **kwargs): Use as headmodel = ft_headmodel_asa(filename) - See also FT_PREPARE_VOL_SENS, FT_COMPUTE_LEADFIELD + See also FT_PREPARE_HEADMODEL, FT_COMPUTE_LEADFIELD - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/forward/ft_headmodel_asa.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/forward/ft_headmodel_asa.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_headmodel_asa", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__forward/ft_headmodel_bemcp.py b/spm/__external/__fieldtrip/__forward/ft_headmodel_bemcp.py index ca88d7c2..a71cdc8b 100644 --- a/spm/__external/__fieldtrip/__forward/ft_headmodel_bemcp.py +++ b/spm/__external/__fieldtrip/__forward/ft_headmodel_bemcp.py @@ -2,7 +2,7 @@ def ft_headmodel_bemcp(*args, **kwargs): - """ + r""" FT_HEADMODEL_BEMCP creates a volume conduction model of the head using the boundary element method (BEM) for EEG. This function takes as input the triangulated surfaces that describe the boundaries @@ -20,12 +20,15 @@ def ft_headmodel_bemcp(*args, **kwargs): conductivity = vector, conductivity of each compartment checkmesh = 'yes' or 'no' - See also FT_PREPARE_VOL_SENS, FT_COMPUTE_LEADFIELD + See also FT_PREPARE_HEADMODEL, FT_COMPUTE_LEADFIELD - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/forward/ft_headmodel_bemcp.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/forward/ft_headmodel_bemcp.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_headmodel_bemcp", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__forward/ft_headmodel_concentricspheres.py b/spm/__external/__fieldtrip/__forward/ft_headmodel_concentricspheres.py index 70335260..e2368d97 100644 --- a/spm/__external/__fieldtrip/__forward/ft_headmodel_concentricspheres.py +++ b/spm/__external/__fieldtrip/__forward/ft_headmodel_concentricspheres.py @@ -2,7 +2,7 @@ def ft_headmodel_concentricspheres(*args, **kwargs): - """ + r""" FT_HEADMODEL_CONCENTRICSPHERES creates a volume conduction model of the head based on three or four concentric spheres. For a 3-sphere model the spheres represent the skin surface, the outside of the @@ -26,12 +26,23 @@ def ft_headmodel_concentricspheres(*args, **kwargs): fitind = vector with indices of the surfaces to use in fitting the center of the spheres order = number of iterations in series expansion (default = 60) - See also FT_PREPARE_VOL_SENS, FT_COMPUTE_LEADFIELD + You can also manually construct a concentric spheres headmodel like this + headmodel.unit = 'mm'; + headmodel.cond = [1 1/80 1]; % the conductivity of each compartment + headmodel.r = [88 92 100]; % the radius of each sphere + headmodel.o = [0 0 0]; % the origin aka center of the spheres + + + + See also FT_PREPARE_HEADMODEL, FT_COMPUTE_LEADFIELD - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/forward/ft_headmodel_concentricspheres.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/forward/ft_headmodel_concentricspheres.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_headmodel_concentricspheres", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__forward/ft_headmodel_dipoli.py b/spm/__external/__fieldtrip/__forward/ft_headmodel_dipoli.py index 78231a4b..13c96c85 100644 --- a/spm/__external/__fieldtrip/__forward/ft_headmodel_dipoli.py +++ b/spm/__external/__fieldtrip/__forward/ft_headmodel_dipoli.py @@ -2,7 +2,7 @@ def ft_headmodel_dipoli(*args, **kwargs): - """ + r""" FT_HEADMODEL_DIPOLI creates a volume conduction model of the head using the boundary element method (BEM) for EEG. This function takes as input the triangulated surfaces that describe the boundaries and @@ -30,12 +30,15 @@ def ft_headmodel_dipoli(*args, **kwargs): tempname = string, allows you to specify the full tempory name including path (default is automatic) checkmesh = 'yes' or 'no' - See also FT_PREPARE_VOL_SENS, FT_COMPUTE_LEADFIELD + See also FT_PREPARE_HEADMODEL, FT_COMPUTE_LEADFIELD - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/forward/ft_headmodel_dipoli.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/forward/ft_headmodel_dipoli.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_headmodel_dipoli", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__forward/ft_headmodel_duneuro.py b/spm/__external/__fieldtrip/__forward/ft_headmodel_duneuro.py index 3e202a60..177e254c 100644 --- a/spm/__external/__fieldtrip/__forward/ft_headmodel_duneuro.py +++ b/spm/__external/__fieldtrip/__forward/ft_headmodel_duneuro.py @@ -2,55 +2,35 @@ def ft_headmodel_duneuro(*args, **kwargs): - """ - FT_HEADMODEL_DUNEURO creates a volume conduction model of the head - using the finite element method (FEM) for EEG and MEG. Different source models - are implemented, including the St. Venant, the subtraction and partial - integration model. This function takes as input a mesh with tetrahedral - or hexahedral elements and corresponding conductivities and returns - as output a volume conduction model which can be used to compute EEG/MEG - leadfields. + r""" + FT_HEADMODEL_DUNEURO creates a volume conduction model of the head using the finite element method (FEM) for EEG and MEG. + Different source models are implemented, including the St. Venant, the subtraction and partial integration model. This + function takes as input a mesh with tetrahedral or hexahedral elements and corresponding conductivities and returns + as output a volume conduction model which can be used to compute EEG/MEG leadfields. Use as headmodel = ft_headmodel_duneuro(mesh,'conductivity', conductivities, ...) headmodel = ft_headmodel_duneuro(mesh,'grid_filename', grid_filename, 'tensors_filename', tensors_filename, ...) - Required input arguments should be specified in key-value pairs and have - to include either + Required input arguments should be specified in key-value pairs and have to include either grid_filename = string, filename for grid in "msh" fileformat (see here: https://gmsh.info/doc/texinfo/gmsh.html#File-formats) tensors_filename= string, filename for conductivities, txt file with conductivity values - or conductivity = vector, conductivity values for tissues - - Optional input arguments are passed with - duneuro_settings = (optional) struct, which can contain the following fields - - type = string, 'fitted' (default) - solver_type = string, 'cg' (default) - electrodes = string, 'closest_subentity_center' (default) - subentities = string, e.g. '1 2 3' (default) or '3' - forward = string, 'venant' (default), 'partial_integration' - intorderadd = string, e.g. '2' (default) - intorderadd_lb = string, e.g. '2' (default) - initialization = string, e.g. 'closest_vertex' (default) - numberOfMoments = string, e.g. '3' (default) - referenceLength = string, e.g. '20' (default) - relaxationFactor= string, e.g. '1e-6' (default) - restrict = string, e.g. 'true' (default) - weightingExponent= string, e.g. '1' (default) - post_process = string, e.g. 'true' (default) - subtract_mean = string, e.g. 'true' (default) - reduction = string, e.g. '1e-10' (default) - intorderadd_meg = integer, e.g.'0' (default) - mixedMoments = logical, e.g. 'true' (default) - meg_type = string, e.g. 'physical' (default) - meg_eneablecache= logical, e.g. 'false (default) + + if a pair of filenames is provided, the input mesh is not considered, but will be generated from the grid_filename + + In addition, an optional struct with configuration options can be provided, which can specify the options + related to the functional behavior of the duneuro software. See DUNEURO_DEFAULTS for the configureable options, and + their default values. - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/forward/ft_headmodel_duneuro.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/forward/ft_headmodel_duneuro.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_headmodel_duneuro", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__forward/ft_headmodel_fns.py b/spm/__external/__fieldtrip/__forward/ft_headmodel_fns.py index 073bb3fc..f9eedb3a 100644 --- a/spm/__external/__fieldtrip/__forward/ft_headmodel_fns.py +++ b/spm/__external/__fieldtrip/__forward/ft_headmodel_fns.py @@ -2,7 +2,7 @@ def ft_headmodel_fns(*args, **kwargs): - """ + r""" FT_HEADMODEL_FNS creates the volume conduction structure to be used in the FNS forward solver. @@ -29,12 +29,15 @@ def ft_headmodel_fns(*args, **kwargs): Additional documentation available at: http://hunghienvn.nmsu.edu/wiki/index.php/FNS - See also FT_PREPARE_VOL_SENS, FT_COMPUTE_LEADFIELD + See also FT_PREPARE_HEADMODEL, FT_COMPUTE_LEADFIELD - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/forward/ft_headmodel_fns.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/forward/ft_headmodel_fns.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_headmodel_fns", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__forward/ft_headmodel_halfspace.py b/spm/__external/__fieldtrip/__forward/ft_headmodel_halfspace.py index 4d4662cb..6285b475 100644 --- a/spm/__external/__fieldtrip/__forward/ft_headmodel_halfspace.py +++ b/spm/__external/__fieldtrip/__forward/ft_headmodel_halfspace.py @@ -2,7 +2,7 @@ def ft_headmodel_halfspace(*args, **kwargs): - """ + r""" FT_HEADMODEL_HALFSPACE creates an EEG volume conduction model that is described with an infinite conductive halfspace. You can think of this as a plane with on one side a infinite mass of conductive @@ -20,12 +20,15 @@ def ft_headmodel_halfspace(*args, **kwargs): 'sourcemodel' = string, 'monopole' or 'dipole' (default = 'dipole') 'conductivity' = number, conductivity value of the conductive halfspace (default = 1) - See also FT_PREPARE_VOL_SENS, FT_COMPUTE_LEADFIELD + See also FT_PREPARE_HEADMODEL, FT_COMPUTE_LEADFIELD - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/forward/ft_headmodel_halfspace.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/forward/ft_headmodel_halfspace.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_headmodel_halfspace", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__forward/ft_headmodel_hbf.py b/spm/__external/__fieldtrip/__forward/ft_headmodel_hbf.py new file mode 100644 index 00000000..f51d8707 --- /dev/null +++ b/spm/__external/__fieldtrip/__forward/ft_headmodel_hbf.py @@ -0,0 +1,37 @@ +from spm._runtime import Runtime + + +def ft_headmodel_hbf(*args, **kwargs): + r""" + FT_HEADMODEL_HBF creates a volume conduction model of the head + using the boundary element method (BEM) for M/EEG. This function + takes as input the triangulated surfaces that describe the boundaries + and returns as output a volume conduction model which can be used + to compute leadfields. + + The implementation of this function is based on Matti Stenroos' public + version of the Hesinki BEM Freamework hence the name "hbf". + + Use as + headmodel = ft_headmodel_hbf(mesh, ...) + + Optional input arguments should be specified in key-value pairs and can + include + conductivity = 2 x n array, conductivity on inside and outside of + compartment + checkmesh = 'yes' or 'no' + isolatedsource = which compartment number should ISA apply to? + DEFAULT: [] + + See also FT_PREPARE_HEADMODEL, FT_COMPUTE_LEADFIELD + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/forward/ft_headmodel_hbf.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("ft_headmodel_hbf", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__forward/ft_headmodel_infinite.py b/spm/__external/__fieldtrip/__forward/ft_headmodel_infinite.py index f625b6c2..2776538f 100644 --- a/spm/__external/__fieldtrip/__forward/ft_headmodel_infinite.py +++ b/spm/__external/__fieldtrip/__forward/ft_headmodel_infinite.py @@ -2,7 +2,7 @@ def ft_headmodel_infinite(*args, **kwargs): - """ + r""" FT_HEADMODEL_INFINITE returns an infinitely large homogenous volume conduction model. For EEG the volume conductor can be used to compute the leadfield of electric current dipoles, for MEG it @@ -11,12 +11,15 @@ def ft_headmodel_infinite(*args, **kwargs): Use as headmodel = ft_headmodel_infinite; - See also FT_PREPARE_VOL_SENS, FT_COMPUTE_LEADFIELD + See also FT_PREPARE_HEADMODEL, FT_COMPUTE_LEADFIELD - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/forward/ft_headmodel_infinite.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/forward/ft_headmodel_infinite.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_headmodel_infinite", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__forward/ft_headmodel_interpolate.py b/spm/__external/__fieldtrip/__forward/ft_headmodel_interpolate.py index 2e892faa..d69a4237 100644 --- a/spm/__external/__fieldtrip/__forward/ft_headmodel_interpolate.py +++ b/spm/__external/__fieldtrip/__forward/ft_headmodel_interpolate.py @@ -2,7 +2,7 @@ def ft_headmodel_interpolate(*args, **kwargs): - """ + r""" FT_HEADMODEL_INTERPOLATE describes a volume conduction model of the head in which subsequent leadfield computations can be performed using a simple interpolation scheme. @@ -27,12 +27,15 @@ def ft_headmodel_interpolate(*args, **kwargs): headmodel.unit = string with the geometrical units of the positions, e.g. 'cm' or 'mm' to describe the source positions. - See also FT_PREPARE_VOL_SENS, FT_COMPUTE_LEADFIELD + See also FT_PREPARE_HEADMODEL, FT_COMPUTE_LEADFIELD - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/forward/ft_headmodel_interpolate.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/forward/ft_headmodel_interpolate.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_headmodel_interpolate", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__forward/ft_headmodel_localspheres.py b/spm/__external/__fieldtrip/__forward/ft_headmodel_localspheres.py index 4685a8e6..8c7c3303 100644 --- a/spm/__external/__fieldtrip/__forward/ft_headmodel_localspheres.py +++ b/spm/__external/__fieldtrip/__forward/ft_headmodel_localspheres.py @@ -2,7 +2,7 @@ def ft_headmodel_localspheres(*args, **kwargs): - """ + r""" FT_HEADMODEL_LOCALSPHERES constructs a MEG volume conduction model in with a local sphere fitted to the head or brain surface for each separate channel @@ -27,9 +27,12 @@ def ft_headmodel_localspheres(*args, **kwargs): See also FT_PREPARE_HEADMODEL, FT_PREPARE_VOL_SENS, FT_COMPUTE_LEADFIELD - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/forward/ft_headmodel_localspheres.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/forward/ft_headmodel_localspheres.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_headmodel_localspheres", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__forward/ft_headmodel_openmeeg.py b/spm/__external/__fieldtrip/__forward/ft_headmodel_openmeeg.py index 39587a4e..57dde3a3 100644 --- a/spm/__external/__fieldtrip/__forward/ft_headmodel_openmeeg.py +++ b/spm/__external/__fieldtrip/__forward/ft_headmodel_openmeeg.py @@ -2,7 +2,7 @@ def ft_headmodel_openmeeg(*args, **kwargs): - """ + r""" FT_HEADMODEL_OPENMEEG creates a volume conduction model of the head using the boundary element method (BEM). This function takes as input the triangulated surfaces that describe the boundaries and returns as output a volume conduction @@ -31,12 +31,15 @@ def ft_headmodel_openmeeg(*args, **kwargs): tissue = cell-array with the tissue labels for each compartment checkmesh = 'yes' or 'no' - See also FT_PREPARE_VOL_SENS, FT_COMPUTE_LEADFIELD + See also FT_PREPARE_HEADMODEL, FT_COMPUTE_LEADFIELD - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/forward/ft_headmodel_openmeeg.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/forward/ft_headmodel_openmeeg.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_headmodel_openmeeg", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__forward/ft_headmodel_simbio.py b/spm/__external/__fieldtrip/__forward/ft_headmodel_simbio.py index 4e251200..af33ed1c 100644 --- a/spm/__external/__fieldtrip/__forward/ft_headmodel_simbio.py +++ b/spm/__external/__fieldtrip/__forward/ft_headmodel_simbio.py @@ -2,7 +2,7 @@ def ft_headmodel_simbio(*args, **kwargs): - """ + r""" FT_HEADMODEL_SIMBIO creates a volume conduction model of the head using the finite element method (FEM) for EEG. This function takes as input a volumetric mesh (hexahedral or tetrahedral) and @@ -36,12 +36,15 @@ def ft_headmodel_simbio(*args, **kwargs): %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% - See also FT_PREPARE_VOL_SENS, FT_COMPUTE_LEADFIELD + See also FT_PREPARE_HEADMODEL, FT_COMPUTE_LEADFIELD - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/forward/ft_headmodel_simbio.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/forward/ft_headmodel_simbio.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_headmodel_simbio", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__forward/ft_headmodel_singleshell.py b/spm/__external/__fieldtrip/__forward/ft_headmodel_singleshell.py index e8389f19..b7d7577b 100644 --- a/spm/__external/__fieldtrip/__forward/ft_headmodel_singleshell.py +++ b/spm/__external/__fieldtrip/__forward/ft_headmodel_singleshell.py @@ -2,7 +2,7 @@ def ft_headmodel_singleshell(*args, **kwargs): - """ + r""" FT_HEADMODEL_SINGLESHELL creates a volume conduction model of the head for MEG based on a realistic shaped surface of the inside of the skull. @@ -24,12 +24,15 @@ def ft_headmodel_singleshell(*args, **kwargs): Optional input arguments should be specified in key-value pairs and can include order = number of iterations in series expansion (default = 10) - See also FT_PREPARE_VOL_SENS, FT_COMPUTE_LEADFIELD + See also FT_PREPARE_HEADMODEL, FT_COMPUTE_LEADFIELD - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/forward/ft_headmodel_singleshell.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/forward/ft_headmodel_singleshell.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_headmodel_singleshell", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__forward/ft_headmodel_singlesphere.py b/spm/__external/__fieldtrip/__forward/ft_headmodel_singlesphere.py index 036e278c..959196e3 100644 --- a/spm/__external/__fieldtrip/__forward/ft_headmodel_singlesphere.py +++ b/spm/__external/__fieldtrip/__forward/ft_headmodel_singlesphere.py @@ -2,7 +2,7 @@ def ft_headmodel_singlesphere(*args, **kwargs): - """ + r""" FT_HEADMODEL_SINGLESPHERE creates a volume conduction model of the head by fitting a spherical model to a set of points that describe the head surface. @@ -20,12 +20,15 @@ def ft_headmodel_singlesphere(*args, **kwargs): Optional arguments should be specified in key-value pairs and can include conductivity = number, conductivity of the sphere - See also FT_PREPARE_VOL_SENS, FT_COMPUTE_LEADFIELD + See also FT_PREPARE_HEADMODEL, FT_COMPUTE_LEADFIELD - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/forward/ft_headmodel_singlesphere.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/forward/ft_headmodel_singlesphere.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_headmodel_singlesphere", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__forward/ft_headmodel_slab.py b/spm/__external/__fieldtrip/__forward/ft_headmodel_slab.py index 74cc98de..c7904828 100644 --- a/spm/__external/__fieldtrip/__forward/ft_headmodel_slab.py +++ b/spm/__external/__fieldtrip/__forward/ft_headmodel_slab.py @@ -2,7 +2,7 @@ def ft_headmodel_slab(*args, **kwargs): - """ + r""" FT_HEADMODEL_SLAB creates an EEG volume conduction model that is described with an infinite conductive slab. You can think of this as two parallel planes containing a mass of conductive @@ -21,12 +21,15 @@ def ft_headmodel_slab(*args, **kwargs): 'sourcemodel' = 'monopole' 'conductivity' = number , conductivity value of the conductive halfspace (default = 1) - See also FT_PREPARE_VOL_SENS, FT_COMPUTE_LEADFIELD + See also FT_PREPARE_HEADMODEL, FT_COMPUTE_LEADFIELD - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/forward/ft_headmodel_slab.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/forward/ft_headmodel_slab.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_headmodel_slab", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__forward/ft_headmodeltype.py b/spm/__external/__fieldtrip/__forward/ft_headmodeltype.py index ecd8ba7b..575872e9 100644 --- a/spm/__external/__fieldtrip/__forward/ft_headmodeltype.py +++ b/spm/__external/__fieldtrip/__forward/ft_headmodeltype.py @@ -2,7 +2,7 @@ def ft_headmodeltype(*args, **kwargs): - """ + r""" FT_HEADMODELTYPE determines the type of volume conduction model of the head Use as @@ -38,9 +38,12 @@ def ft_headmodeltype(*args, **kwargs): FT_HEADMODEL_SINGLESHELL, FT_HEADMODEL_INTERPOLATE - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/forward/ft_headmodeltype.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/forward/ft_headmodeltype.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_headmodeltype", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__forward/ft_inside_headmodel.py b/spm/__external/__fieldtrip/__forward/ft_inside_headmodel.py index bdb50848..36309a0a 100644 --- a/spm/__external/__fieldtrip/__forward/ft_inside_headmodel.py +++ b/spm/__external/__fieldtrip/__forward/ft_inside_headmodel.py @@ -2,7 +2,7 @@ def ft_inside_headmodel(*args, **kwargs): - """ + r""" FT_INSIDE_HEADMODEL locates dipole locations inside/outside the source compartment of a volume conductor model. @@ -21,9 +21,12 @@ def ft_inside_headmodel(*args, **kwargs): headshape = structure with headshape, used for old CTF localspheres strategy - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/forward/ft_inside_headmodel.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/forward/ft_inside_headmodel.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_inside_headmodel", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__forward/ft_prepare_vol_sens.py b/spm/__external/__fieldtrip/__forward/ft_prepare_vol_sens.py index dab3001d..221d7d43 100644 --- a/spm/__external/__fieldtrip/__forward/ft_prepare_vol_sens.py +++ b/spm/__external/__fieldtrip/__forward/ft_prepare_vol_sens.py @@ -2,7 +2,7 @@ def ft_prepare_vol_sens(*args, **kwargs): - """ + r""" FT_PREPARE_VOL_SENS does some bookkeeping to ensure that the volume conductor model and the sensor array are ready for subsequent forward leadfield computations and takes care of some pre-computations to make the calculations more efficient. @@ -22,7 +22,7 @@ def ft_prepare_vol_sens(*args, **kwargs): 'channel' = cell-array with strings (default = 'all') The detailed behavior of this function depends on whether the input - consists of EEG or MEG and furthermoree depends on the type of volume + consists of EEG or MEG and furthermore depends on the type of volume conductor model: - in case of EEG single and concentric sphere models, the electrodes are projected onto the skin surface. @@ -40,9 +40,12 @@ def ft_prepare_vol_sens(*args, **kwargs): See also FT_COMPUTE_LEADFIELD, FT_READ_HEADMODEL, FT_READ_SENS - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/forward/ft_prepare_vol_sens.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/forward/ft_prepare_vol_sens.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_prepare_vol_sens", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__forward/ft_senslabel.py b/spm/__external/__fieldtrip/__forward/ft_senslabel.py index d510286d..8a20fc7b 100644 --- a/spm/__external/__fieldtrip/__forward/ft_senslabel.py +++ b/spm/__external/__fieldtrip/__forward/ft_senslabel.py @@ -2,7 +2,7 @@ def ft_senslabel(*args, **kwargs): - """ + r""" FT_SENSLABEL returns a list of predefined sensor labels given the EEG or MEG system type which can be used to detect the type of data. @@ -60,9 +60,12 @@ def ft_senslabel(*args, **kwargs): See also FT_SENSTYPE, FT_CHANNELSELECTION - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/forward/ft_senslabel.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/forward/ft_senslabel.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_senslabel", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__forward/ft_senstype.py b/spm/__external/__fieldtrip/__forward/ft_senstype.py index ac280e5d..5c6cc769 100644 --- a/spm/__external/__fieldtrip/__forward/ft_senstype.py +++ b/spm/__external/__fieldtrip/__forward/ft_senstype.py @@ -2,7 +2,7 @@ def ft_senstype(*args, **kwargs): - """ + r""" FT_SENSTYPE determines the type of acquisition device by looking at the channel names and comparing them with predefined lists. @@ -43,6 +43,7 @@ def ft_senstype(*args, **kwargs): 'magview' this is a BabySQUID system from Tristan Technologies 'fieldline_v2' 'fieldline_v3' + 'quspin_neuro1' this can be from a LVM or a FIF file 'egi32' 'egi64' 'egi128' @@ -90,7 +91,7 @@ def ft_senstype(*args, **kwargs): If you specify the desired type, this function will return a boolean flag indicating true/false depending on the input data. - Besides specifiying a sensor definition (i.e. a grad or elec structure, see + Besides specifying a sensor definition (i.e. a grad or elec structure, see FT_DATATYPE_SENS), it is also possible to give a data structure containing a grad or elec field, or giving a list of channel names (as cell-arrray). So assuming that you have a FieldTrip data structure, any of the following calls would also be fine. @@ -103,9 +104,12 @@ def ft_senstype(*args, **kwargs): See also FT_SENSLABEL, FT_CHANTYPE, FT_READ_SENS, FT_COMPUTE_LEADFIELD, FT_DATATYPE_SENS - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/forward/ft_senstype.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/forward/ft_senstype.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_senstype", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__forward/ft_sourcedepth.py b/spm/__external/__fieldtrip/__forward/ft_sourcedepth.py index 7385351e..922bd6f9 100644 --- a/spm/__external/__fieldtrip/__forward/ft_sourcedepth.py +++ b/spm/__external/__fieldtrip/__forward/ft_sourcedepth.py @@ -2,7 +2,7 @@ def ft_sourcedepth(*args, **kwargs): - """ + r""" FT_SOURCEDEPTH computes the distance from the source to the surface of the source compartment (usually the brain) in the volume conduction model. @@ -18,9 +18,12 @@ def ft_sourcedepth(*args, **kwargs): See also FT_INSIDE_HEADMODEL - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/forward/ft_sourcedepth.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/forward/ft_sourcedepth.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_sourcedepth", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__init__.py b/spm/__external/__fieldtrip/__init__.py index 54495201..c77643ae 100644 --- a/spm/__external/__fieldtrip/__init__.py +++ b/spm/__external/__fieldtrip/__init__.py @@ -18,19 +18,37 @@ from .data2bids import data2bids from .edf2fieldtrip import edf2fieldtrip from .__external import ( + eeg_loadbvrf, + loadbvrf, + CalcMD5, + DataHash, + arrow, + base64decode, + base64encode, + icp, + keep, + pan_tompkin, + stlwrite, + subtightplot, uimage, uimagesc, + vtkwrite, rgb2hsv, boxcar, + dpss, + precompute_dpss, flattopwin, hanning, hilbert, binocdf, binopdf, - common_size, + knnsearch, + kurtosis, mvnrnd, nanvar, + pdist2, range_, + skewness, tcdf, tinv ) @@ -75,7 +93,6 @@ ft_write_tsv ) from .__forward import ( - ft_apply_montage, ft_compute_leadfield, ft_convert_units, ft_determine_units, @@ -87,6 +104,7 @@ ft_headmodel_duneuro, ft_headmodel_fns, ft_headmodel_halfspace, + ft_headmodel_hbf, ft_headmodel_infinite, ft_headmodel_interpolate, ft_headmodel_localspheres, @@ -155,6 +173,7 @@ from .ft_electrodeplacement import ft_electrodeplacement from .ft_electroderealign import ft_electroderealign from .ft_electrodermalactivity import ft_electrodermalactivity +from .ft_electrodeselection import ft_electrodeselection from .ft_eventtiminganalysis import ft_eventtiminganalysis from .ft_examplefunction import ft_examplefunction from .ft_freqanalysis import ft_freqanalysis @@ -205,6 +224,7 @@ from .ft_resampledata import ft_resampledata from .ft_respiration import ft_respiration from .ft_scalpcurrentdensity import ft_scalpcurrentdensity +from .ft_sensorplacement import ft_sensorplacement from .ft_singleplotER import ft_singleplotER from .ft_singleplotTFR import ft_singleplotTFR from .ft_sliceinterp import ft_sliceinterp @@ -263,6 +283,7 @@ from .nutmeg2fieldtrip import nutmeg2fieldtrip from .__plotting import ( ft_colormap, + ft_headlight, ft_plot_axes, ft_plot_box, ft_plot_cloud, @@ -328,8 +349,10 @@ ) from .spm2fieldtrip import spm2fieldtrip from .__src import ( + combineClusters, det2x2, det3x3, + ft_getopt, getpid, inv2x2, inv3x3, @@ -340,6 +363,7 @@ mtimes3x3, mxDeserialize, mxSerialize, + nanvar, plgndr, plinproj, ptriproj, @@ -397,6 +421,7 @@ copyfields, dccnpath, ft_affinecoordinates, + ft_apply_montage, ft_average_sens, ft_cfg2keyval, ft_channelcombination, @@ -422,6 +447,7 @@ ft_datatype_timelock, ft_datatype_volume, ft_debug, + ft_deleteopt, ft_determine_coordsys, ft_documentationconfiguration, ft_documentationreference, @@ -435,6 +461,7 @@ ft_hastoolbox, ft_headcoordinates, ft_info, + ft_inverse_montage, ft_keyval2cfg, ft_notice, ft_platform_supports, @@ -508,19 +535,37 @@ "ft_connectivity_wpli", "data2bids", "edf2fieldtrip", + "eeg_loadbvrf", + "loadbvrf", + "CalcMD5", + "DataHash", + "arrow", + "base64decode", + "base64encode", + "icp", + "keep", + "pan_tompkin", + "stlwrite", + "subtightplot", "uimage", "uimagesc", + "vtkwrite", "rgb2hsv", "boxcar", + "dpss", + "precompute_dpss", "flattopwin", "hanning", "hilbert", "binocdf", "binopdf", - "common_size", + "knnsearch", + "kurtosis", "mvnrnd", "nanvar", + "pdist2", "range_", + "skewness", "tcdf", "tinv", "fieldtrip2besa", @@ -561,7 +606,6 @@ "ft_write_sens", "ft_write_spike", "ft_write_tsv", - "ft_apply_montage", "ft_compute_leadfield", "ft_convert_units", "ft_determine_units", @@ -573,6 +617,7 @@ "ft_headmodel_duneuro", "ft_headmodel_fns", "ft_headmodel_halfspace", + "ft_headmodel_hbf", "ft_headmodel_infinite", "ft_headmodel_interpolate", "ft_headmodel_localspheres", @@ -640,6 +685,7 @@ "ft_electrodeplacement", "ft_electroderealign", "ft_electrodermalactivity", + "ft_electrodeselection", "ft_eventtiminganalysis", "ft_examplefunction", "ft_freqanalysis", @@ -690,6 +736,7 @@ "ft_resampledata", "ft_respiration", "ft_scalpcurrentdensity", + "ft_sensorplacement", "ft_singleplotER", "ft_singleplotTFR", "ft_sliceinterp", @@ -745,6 +792,7 @@ "loreta2fieldtrip", "nutmeg2fieldtrip", "ft_colormap", + "ft_headlight", "ft_plot_axes", "ft_plot_box", "ft_plot_cloud", @@ -804,8 +852,10 @@ "ft_specest_tfr", "ft_specest_wavelet", "spm2fieldtrip", + "combineClusters", "det2x2", "det3x3", + "ft_getopt", "getpid", "inv2x2", "inv3x3", @@ -816,6 +866,7 @@ "mtimes3x3", "mxDeserialize", "mxSerialize", + "nanvar", "plgndr", "plinproj", "ptriproj", @@ -867,6 +918,7 @@ "copyfields", "dccnpath", "ft_affinecoordinates", + "ft_apply_montage", "ft_average_sens", "ft_cfg2keyval", "ft_channelcombination", @@ -892,6 +944,7 @@ "ft_datatype_timelock", "ft_datatype_volume", "ft_debug", + "ft_deleteopt", "ft_determine_coordsys", "ft_documentationconfiguration", "ft_documentationreference", @@ -905,6 +958,7 @@ "ft_hastoolbox", "ft_headcoordinates", "ft_info", + "ft_inverse_montage", "ft_keyval2cfg", "ft_notice", "ft_platform_supports", diff --git a/spm/__external/__fieldtrip/__inverse/_SAM_costfun.py b/spm/__external/__fieldtrip/__inverse/_SAM_costfun.py index f458905c..dca09de2 100644 --- a/spm/__external/__fieldtrip/__inverse/_SAM_costfun.py +++ b/spm/__external/__fieldtrip/__inverse/_SAM_costfun.py @@ -2,7 +2,7 @@ def _SAM_costfun(*args, **kwargs): - """ + r""" costfunction for non-linear beamformer. Use this cost-function to find the optimum orientation (in the tangential plane formed by tanu and tanv) of the targetvoxel maximizes the pseudo_Z (i.e. @@ -15,9 +15,12 @@ def _SAM_costfun(*args, **kwargs): should be given in forward_resource (in mm in CTF co-ordinates) - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/inverse/private/SAM_costfun.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/inverse/private/SAM_costfun.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("SAM_costfun", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__inverse/_avgref.py b/spm/__external/__fieldtrip/__inverse/_avgref.py index fc0a5a4f..e0ed5eb0 100644 --- a/spm/__external/__fieldtrip/__inverse/_avgref.py +++ b/spm/__external/__fieldtrip/__inverse/_avgref.py @@ -2,7 +2,7 @@ def _avgref(*args, **kwargs): - """ + r""" AVGREF computes the average reference in each column [data] = avgref(data) @@ -11,9 +11,12 @@ def _avgref(*args, **kwargs): [data] = avgref(data, sel) - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/inverse/private/avgref.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/inverse/private/avgref.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("avgref", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__inverse/_calctangent.py b/spm/__external/__fieldtrip/__inverse/_calctangent.py index 82b924e2..f2ccb05e 100644 --- a/spm/__external/__fieldtrip/__inverse/_calctangent.py +++ b/spm/__external/__fieldtrip/__inverse/_calctangent.py @@ -2,15 +2,18 @@ def _calctangent(*args, **kwargs): - """ + r""" Based on calcrads.m, only difference is that RDip is alread with respect to the sphere origin in calctangent.m MODIFIED 13th JAN 2005 MATT BROOKES - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/inverse/private/calctangent.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/inverse/private/calctangent.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("calctangent", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__inverse/_defaultId.py b/spm/__external/__fieldtrip/__inverse/_defaultId.py index 27808505..f18dda38 100644 --- a/spm/__external/__fieldtrip/__inverse/_defaultId.py +++ b/spm/__external/__fieldtrip/__inverse/_defaultId.py @@ -2,16 +2,19 @@ def _defaultId(*args, **kwargs): - """ + r""" DEFAULTID returns a string that can serve as warning or error identifier, for example 'FieldTip:ft_read_header:line345'. See also WARNING, ERROR, FT_NOTICE, FT_INFO, FT_DEBUG - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/inverse/private/defaultId.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/inverse/private/defaultId.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("defaultId", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__inverse/_find_innermost_boundary.py b/spm/__external/__fieldtrip/__inverse/_find_innermost_boundary.py index 018fba6a..eb4be943 100644 --- a/spm/__external/__fieldtrip/__inverse/_find_innermost_boundary.py +++ b/spm/__external/__fieldtrip/__inverse/_find_innermost_boundary.py @@ -2,7 +2,7 @@ def _find_innermost_boundary(*args, **kwargs): - """ + r""" FIND_INNERMOST_BOUNDARY locates innermost compartment of a BEM model by looking at the containment of the triangular meshes describing the surface boundaries @@ -14,9 +14,12 @@ def _find_innermost_boundary(*args, **kwargs): bnd(i).tri triangles of boundary i (matrix of size Mx3) - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/inverse/private/find_innermost_boundary.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/inverse/private/find_innermost_boundary.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("find_innermost_boundary", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__inverse/_fixdipole.py b/spm/__external/__fieldtrip/__inverse/_fixdipole.py index 443d0c3d..1f5ef407 100644 --- a/spm/__external/__fieldtrip/__inverse/_fixdipole.py +++ b/spm/__external/__fieldtrip/__inverse/_fixdipole.py @@ -2,14 +2,17 @@ def _fixdipole(*args, **kwargs): - """ + r""" FIXDIPOLE ensures that the dipole position and moment are consistently represented throughout FieldTrip functions. - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/inverse/private/fixdipole.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/inverse/private/fixdipole.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("fixdipole", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__inverse/_fixinside.py b/spm/__external/__fieldtrip/__inverse/_fixinside.py index e53ceb78..66800e3c 100644 --- a/spm/__external/__fieldtrip/__inverse/_fixinside.py +++ b/spm/__external/__fieldtrip/__inverse/_fixinside.py @@ -2,7 +2,7 @@ def _fixinside(*args, **kwargs): - """ + r""" FIXINSIDE ensures that the region of interest (which is indicated by the field "inside") is consistently defined for source structures and volume structures. Furthermore, it solves backward compatibility problems. @@ -13,9 +13,12 @@ def _fixinside(*args, **kwargs): [source] = fixinside(source, 'index'); - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/inverse/private/fixinside.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/inverse/private/fixinside.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("fixinside", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__inverse/_fixname.py b/spm/__external/__fieldtrip/__inverse/_fixname.py index 193a49fe..5706ceb6 100644 --- a/spm/__external/__fieldtrip/__inverse/_fixname.py +++ b/spm/__external/__fieldtrip/__inverse/_fixname.py @@ -2,7 +2,7 @@ def _fixname(*args, **kwargs): - """ + r""" FIXNAME changes all inappropriate characters in a string into '_' so that it can be used as a filename or as a field name in a structure. If the string begins with a digit, an 'x' is prepended. @@ -18,9 +18,12 @@ def _fixname(*args, **kwargs): See also DEBLANK, STRIP, PAD - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/inverse/private/fixname.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/inverse/private/fixname.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("fixname", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__inverse/_fixpos.py b/spm/__external/__fieldtrip/__inverse/_fixpos.py index fe89b302..1b235861 100644 --- a/spm/__external/__fieldtrip/__inverse/_fixpos.py +++ b/spm/__external/__fieldtrip/__inverse/_fixpos.py @@ -2,13 +2,16 @@ def _fixpos(*args, **kwargs): - """ + r""" FIXPOS helper function to ensure that meshes are described properly - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/inverse/private/fixpos.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/inverse/private/fixpos.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("fixpos", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__inverse/_ft_debug.py b/spm/__external/__fieldtrip/__inverse/_ft_debug.py index c9b30f3b..a18f1eb0 100644 --- a/spm/__external/__fieldtrip/__inverse/_ft_debug.py +++ b/spm/__external/__fieldtrip/__inverse/_ft_debug.py @@ -2,7 +2,7 @@ def _ft_debug(*args, **kwargs): - """ + r""" FT_DEBUG prints a debug message on screen, depending on the verbosity settings of the calling high-level FieldTrip function. @@ -37,9 +37,12 @@ def _ft_debug(*args, **kwargs): See also FT_ERROR, FT_WARNING, FT_NOTICE, FT_INFO, FT_DEBUG, ERROR, WARNING - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/inverse/private/ft_debug.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/inverse/private/ft_debug.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_debug", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__inverse/_ft_error.py b/spm/__external/__fieldtrip/__inverse/_ft_error.py index e011181a..4cf29178 100644 --- a/spm/__external/__fieldtrip/__inverse/_ft_error.py +++ b/spm/__external/__fieldtrip/__inverse/_ft_error.py @@ -2,7 +2,7 @@ def _ft_error(*args, **kwargs): - """ + r""" FT_ERROR prints an error message on screen, just like the standard ERROR function. Use as @@ -14,9 +14,12 @@ def _ft_error(*args, **kwargs): See also FT_ERROR, FT_WARNING, FT_NOTICE, FT_INFO, FT_DEBUG, ERROR, WARNING - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/inverse/private/ft_error.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/inverse/private/ft_error.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_error", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__inverse/_ft_getopt.py b/spm/__external/__fieldtrip/__inverse/_ft_getopt.py index 2c7977bf..0f462fd3 100644 --- a/spm/__external/__fieldtrip/__inverse/_ft_getopt.py +++ b/spm/__external/__fieldtrip/__inverse/_ft_getopt.py @@ -2,7 +2,7 @@ def _ft_getopt(*args, **kwargs): - """ + r""" FT_GETOPT gets the value of a specified option from a configuration structure or from a cell-array with key-value pairs. @@ -25,12 +25,15 @@ def _ft_getopt(*args, **kwargs): If emptymeaningful==true, then the empty array will be returned. If emptymeaningful==false, then the specified default will be returned. - See also FT_SETOPT, FT_CHECKOPT, INPUTPARSER + See also FT_SETOPT, FT_CHECKOPT, FT_DELETEOPT, INPUTPARSER - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/inverse/private/ft_getopt.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/inverse/private/ft_getopt.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_getopt", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__inverse/_ft_hastoolbox.py b/spm/__external/__fieldtrip/__inverse/_ft_hastoolbox.py index e88dbaa0..d5733cd6 100644 --- a/spm/__external/__fieldtrip/__inverse/_ft_hastoolbox.py +++ b/spm/__external/__fieldtrip/__inverse/_ft_hastoolbox.py @@ -2,7 +2,7 @@ def _ft_hastoolbox(*args, **kwargs): - """ + r""" FT_HASTOOLBOX tests whether an external toolbox is installed. Optionally it will try to determine the path to the toolbox and install it automatically. @@ -19,9 +19,12 @@ def _ft_hastoolbox(*args, **kwargs): silent = 1 means that it will not give feedback - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/inverse/private/ft_hastoolbox.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/inverse/private/ft_hastoolbox.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_hastoolbox", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__inverse/_ft_headmodeltype.py b/spm/__external/__fieldtrip/__inverse/_ft_headmodeltype.py index 43b04372..d37e05fd 100644 --- a/spm/__external/__fieldtrip/__inverse/_ft_headmodeltype.py +++ b/spm/__external/__fieldtrip/__inverse/_ft_headmodeltype.py @@ -2,7 +2,7 @@ def _ft_headmodeltype(*args, **kwargs): - """ + r""" FT_HEADMODELTYPE determines the type of volume conduction model of the head Use as @@ -38,9 +38,12 @@ def _ft_headmodeltype(*args, **kwargs): FT_HEADMODEL_SINGLESHELL, FT_HEADMODEL_INTERPOLATE - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/inverse/private/ft_headmodeltype.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/inverse/private/ft_headmodeltype.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_headmodeltype", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__inverse/_ft_info.py b/spm/__external/__fieldtrip/__inverse/_ft_info.py index ed84c529..cf00217c 100644 --- a/spm/__external/__fieldtrip/__inverse/_ft_info.py +++ b/spm/__external/__fieldtrip/__inverse/_ft_info.py @@ -2,7 +2,7 @@ def _ft_info(*args, **kwargs): - """ + r""" FT_INFO prints an info message on screen, depending on the verbosity settings of the calling high-level FieldTrip function. @@ -37,9 +37,12 @@ def _ft_info(*args, **kwargs): See also FT_ERROR, FT_WARNING, FT_NOTICE, FT_INFO, FT_DEBUG, ERROR, WARNING - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/inverse/private/ft_info.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/inverse/private/ft_info.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_info", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__inverse/_ft_inside_headmodel.py b/spm/__external/__fieldtrip/__inverse/_ft_inside_headmodel.py index 87ec5266..07670b8c 100644 --- a/spm/__external/__fieldtrip/__inverse/_ft_inside_headmodel.py +++ b/spm/__external/__fieldtrip/__inverse/_ft_inside_headmodel.py @@ -2,7 +2,7 @@ def _ft_inside_headmodel(*args, **kwargs): - """ + r""" FT_INSIDE_HEADMODEL locates dipole locations inside/outside the source compartment of a volume conductor model. @@ -21,9 +21,12 @@ def _ft_inside_headmodel(*args, **kwargs): headshape = structure with headshape, used for old CTF localspheres strategy - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/inverse/private/ft_inside_headmodel.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/inverse/private/ft_inside_headmodel.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_inside_headmodel", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__inverse/_ft_inv.py b/spm/__external/__fieldtrip/__inverse/_ft_inv.py index 10bc6258..b58885ff 100644 --- a/spm/__external/__fieldtrip/__inverse/_ft_inv.py +++ b/spm/__external/__fieldtrip/__inverse/_ft_inv.py @@ -2,7 +2,7 @@ def _ft_inv(*args, **kwargs): - """ + r""" FT_INV computes a matrix inverse with optional regularization. Use as @@ -58,9 +58,12 @@ def _ft_inv(*args, **kwargs): See also INV, PINV, CONDEST, RANK - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/inverse/private/ft_inv.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/inverse/private/ft_inv.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_inv", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__inverse/_ft_notice.py b/spm/__external/__fieldtrip/__inverse/_ft_notice.py index 55bcf8eb..07177183 100644 --- a/spm/__external/__fieldtrip/__inverse/_ft_notice.py +++ b/spm/__external/__fieldtrip/__inverse/_ft_notice.py @@ -2,7 +2,7 @@ def _ft_notice(*args, **kwargs): - """ + r""" FT_NOTICE prints a notice message on screen, depending on the verbosity settings of the calling high-level FieldTrip function. @@ -37,9 +37,12 @@ def _ft_notice(*args, **kwargs): See also FT_ERROR, FT_WARNING, FT_NOTICE, FT_INFO, FT_DEBUG, ERROR, WARNING - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/inverse/private/ft_notice.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/inverse/private/ft_notice.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_notice", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__inverse/_ft_notification.py b/spm/__external/__fieldtrip/__inverse/_ft_notification.py index 07dbd68d..82f8642a 100644 --- a/spm/__external/__fieldtrip/__inverse/_ft_notification.py +++ b/spm/__external/__fieldtrip/__inverse/_ft_notification.py @@ -2,7 +2,7 @@ def _ft_notification(*args, **kwargs): - """ + r""" FT_NOTIFICATION works mostly like the WARNING and ERROR commands in MATLAB and is called by FT_ERROR, FT_WARNING, FT_NOTICE, FT_INFO and FT_DEBUG. Please note that you should not call this function directly. @@ -27,9 +27,12 @@ def _ft_notification(*args, **kwargs): See also DEFAULTID, FT_ERROR, FT_WARNING, FT_NOTICE, FT_INFO, FT_DEBUG, ERROR, WARNING - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/inverse/private/ft_notification.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/inverse/private/ft_notification.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_notification", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__inverse/_ft_platform_supports.py b/spm/__external/__fieldtrip/__inverse/_ft_platform_supports.py index 1cda4adf..ce5b123e 100644 --- a/spm/__external/__fieldtrip/__inverse/_ft_platform_supports.py +++ b/spm/__external/__fieldtrip/__inverse/_ft_platform_supports.py @@ -2,7 +2,7 @@ def _ft_platform_supports(*args, **kwargs): - """ + r""" FT_PLATFORM_SUPPORTS returns a boolean indicating whether the current platform supports a specific capability @@ -46,9 +46,12 @@ def _ft_platform_supports(*args, **kwargs): See also FT_VERSION, VERSION, VER, VERLESSTHAN - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/inverse/private/ft_platform_supports.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/inverse/private/ft_platform_supports.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_platform_supports", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__inverse/_ft_progress.py b/spm/__external/__fieldtrip/__inverse/_ft_progress.py index 193f7f93..717d69a3 100644 --- a/spm/__external/__fieldtrip/__inverse/_ft_progress.py +++ b/spm/__external/__fieldtrip/__inverse/_ft_progress.py @@ -2,7 +2,7 @@ def _ft_progress(*args, **kwargs): - """ + r""" FT_PROGRESS shows a graphical or non-graphical progress indication similar to the standard WAITBAR function, but with the extra option of printing it in the command window as a plain text string or as a rotating dial. Alternatively, you can also @@ -34,9 +34,12 @@ def _ft_progress(*args, **kwargs): See also WAITBAR - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/inverse/private/ft_progress.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/inverse/private/ft_progress.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_progress", *args, **kwargs, nargout=0) diff --git a/spm/__external/__fieldtrip/__inverse/_ft_scalingfactor.py b/spm/__external/__fieldtrip/__inverse/_ft_scalingfactor.py index fe2469bc..7953444f 100644 --- a/spm/__external/__fieldtrip/__inverse/_ft_scalingfactor.py +++ b/spm/__external/__fieldtrip/__inverse/_ft_scalingfactor.py @@ -2,7 +2,7 @@ def _ft_scalingfactor(*args, **kwargs): - """ + r""" FT_SCALINGFACTOR determines the scaling factor from old to new units, i.e. it returns a number with which the data in the old units needs to be multiplied to get it expressed in the new units. @@ -62,9 +62,12 @@ def _ft_scalingfactor(*args, **kwargs): See also http://en.wikipedia.org/wiki/International_System_of_Units - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/inverse/private/ft_scalingfactor.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/inverse/private/ft_scalingfactor.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_scalingfactor", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__inverse/_ft_senslabel.py b/spm/__external/__fieldtrip/__inverse/_ft_senslabel.py index c1f0c2d5..633b8cde 100644 --- a/spm/__external/__fieldtrip/__inverse/_ft_senslabel.py +++ b/spm/__external/__fieldtrip/__inverse/_ft_senslabel.py @@ -2,7 +2,7 @@ def _ft_senslabel(*args, **kwargs): - """ + r""" FT_SENSLABEL returns a list of predefined sensor labels given the EEG or MEG system type which can be used to detect the type of data. @@ -60,9 +60,12 @@ def _ft_senslabel(*args, **kwargs): See also FT_SENSTYPE, FT_CHANNELSELECTION - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/inverse/private/ft_senslabel.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/inverse/private/ft_senslabel.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_senslabel", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__inverse/_ft_senstype.py b/spm/__external/__fieldtrip/__inverse/_ft_senstype.py index 3de5a676..23b22611 100644 --- a/spm/__external/__fieldtrip/__inverse/_ft_senstype.py +++ b/spm/__external/__fieldtrip/__inverse/_ft_senstype.py @@ -2,7 +2,7 @@ def _ft_senstype(*args, **kwargs): - """ + r""" FT_SENSTYPE determines the type of acquisition device by looking at the channel names and comparing them with predefined lists. @@ -43,6 +43,7 @@ def _ft_senstype(*args, **kwargs): 'magview' this is a BabySQUID system from Tristan Technologies 'fieldline_v2' 'fieldline_v3' + 'quspin_neuro1' this can be from a LVM or a FIF file 'egi32' 'egi64' 'egi128' @@ -90,7 +91,7 @@ def _ft_senstype(*args, **kwargs): If you specify the desired type, this function will return a boolean flag indicating true/false depending on the input data. - Besides specifiying a sensor definition (i.e. a grad or elec structure, see + Besides specifying a sensor definition (i.e. a grad or elec structure, see FT_DATATYPE_SENS), it is also possible to give a data structure containing a grad or elec field, or giving a list of channel names (as cell-arrray). So assuming that you have a FieldTrip data structure, any of the following calls would also be fine. @@ -103,9 +104,12 @@ def _ft_senstype(*args, **kwargs): See also FT_SENSLABEL, FT_CHANTYPE, FT_READ_SENS, FT_COMPUTE_LEADFIELD, FT_DATATYPE_SENS - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/inverse/private/ft_senstype.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/inverse/private/ft_senstype.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_senstype", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__inverse/_ft_setopt.py b/spm/__external/__fieldtrip/__inverse/_ft_setopt.py index ce6ec2e3..f72940a7 100644 --- a/spm/__external/__fieldtrip/__inverse/_ft_setopt.py +++ b/spm/__external/__fieldtrip/__inverse/_ft_setopt.py @@ -2,7 +2,7 @@ def _ft_setopt(*args, **kwargs): - """ + r""" FT_SETOPT assigns a value to an configuration structure or to a cell-array with key-value pairs. It will overwrite the option if already present, or append the option if not present. @@ -11,12 +11,15 @@ def _ft_setopt(*args, **kwargs): s = ft_setopt(s, key, val) where s is a structure or a cell-array. - See also FT_GETOPT, FT_CHECKOPT + See also FT_GETOPT, FT_CHECKOPT, FT_DELETEOPT - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/inverse/private/ft_setopt.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/inverse/private/ft_setopt.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_setopt", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__inverse/_ft_version.py b/spm/__external/__fieldtrip/__inverse/_ft_version.py index a08a40f7..5291da28 100644 --- a/spm/__external/__fieldtrip/__inverse/_ft_version.py +++ b/spm/__external/__fieldtrip/__inverse/_ft_version.py @@ -2,7 +2,7 @@ def _ft_version(*args, **kwargs): - """ + r""" FT_VERSION returns the version of FieldTrip and the path where it is installed FieldTrip is not released with version numbers as "2.0", "2.1", etc. Instead, we @@ -40,9 +40,12 @@ def _ft_version(*args, **kwargs): See also FT_PLATFORM_SUPPORTS, VERSION, VER, VERLESSTHAN - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/inverse/private/ft_version.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/inverse/private/ft_version.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_version", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__inverse/_ft_warning.py b/spm/__external/__fieldtrip/__inverse/_ft_warning.py index 5649de00..a4387ba4 100644 --- a/spm/__external/__fieldtrip/__inverse/_ft_warning.py +++ b/spm/__external/__fieldtrip/__inverse/_ft_warning.py @@ -2,7 +2,7 @@ def _ft_warning(*args, **kwargs): - """ + r""" FT_WARNING prints a warning message on screen, depending on the verbosity settings of the calling high-level FieldTrip function. This function works similar to the standard WARNING function, but also features the "once" mode. @@ -38,9 +38,12 @@ def _ft_warning(*args, **kwargs): See also FT_ERROR, FT_WARNING, FT_NOTICE, FT_INFO, FT_DEBUG, ERROR, WARNING - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/inverse/private/ft_warning.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/inverse/private/ft_warning.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_warning", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__inverse/_getsubfield.py b/spm/__external/__fieldtrip/__inverse/_getsubfield.py index 6fef0ba1..7754debb 100644 --- a/spm/__external/__fieldtrip/__inverse/_getsubfield.py +++ b/spm/__external/__fieldtrip/__inverse/_getsubfield.py @@ -2,7 +2,7 @@ def _getsubfield(*args, **kwargs): - """ + r""" GETSUBFIELD returns a field from a structure just like the standard GETFIELD function, except that you can also specify nested fields using a '.' in the fieldname. The nesting can be arbitrary deep. @@ -15,9 +15,12 @@ def _getsubfield(*args, **kwargs): See also GETFIELD, ISSUBFIELD, SETSUBFIELD - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/inverse/private/getsubfield.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/inverse/private/getsubfield.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("getsubfield", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__inverse/_hasyokogawa.py b/spm/__external/__fieldtrip/__inverse/_hasyokogawa.py index fd66b152..3b8994e6 100644 --- a/spm/__external/__fieldtrip/__inverse/_hasyokogawa.py +++ b/spm/__external/__fieldtrip/__inverse/_hasyokogawa.py @@ -2,7 +2,7 @@ def _hasyokogawa(*args, **kwargs): - """ + r""" HASYOKOGAWA tests whether the data input toolbox for MEG systems by Yokogawa (www.yokogawa.com, designed by KIT/EagleTechnology) is installed. Only the newest version of the toolbox is accepted. @@ -23,9 +23,12 @@ def _hasyokogawa(*args, **kwargs): YOKOGAWA2GRAD - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/inverse/private/hasyokogawa.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/inverse/private/hasyokogawa.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("hasyokogawa", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__inverse/_headsurface.py b/spm/__external/__fieldtrip/__inverse/_headsurface.py index a3bac5a7..ad21bc64 100644 --- a/spm/__external/__fieldtrip/__inverse/_headsurface.py +++ b/spm/__external/__fieldtrip/__inverse/_headsurface.py @@ -2,7 +2,7 @@ def _headsurface(*args, **kwargs): - """ + r""" HEADSURFACE constructs a triangulated description of the skin or brain surface from a volume conduction model, from a set of electrodes or gradiometers, or from a combination of the two. It returns a closed @@ -22,9 +22,12 @@ def _headsurface(*args, **kwargs): headshape = string, file containing the head shape - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/inverse/private/headsurface.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/inverse/private/headsurface.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("headsurface", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__inverse/_issubfield.py b/spm/__external/__fieldtrip/__inverse/_issubfield.py index 2f908de6..09e60ef7 100644 --- a/spm/__external/__fieldtrip/__inverse/_issubfield.py +++ b/spm/__external/__fieldtrip/__inverse/_issubfield.py @@ -2,7 +2,7 @@ def _issubfield(*args, **kwargs): - """ + r""" ISSUBFIELD tests for the presence of a field in a structure just like the standard Matlab ISFIELD function, except that you can also specify nested fields using a '.' in the fieldname. The nesting can be arbitrary deep. @@ -18,9 +18,12 @@ def _issubfield(*args, **kwargs): See also ISFIELD, GETSUBFIELD, SETSUBFIELD - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/inverse/private/issubfield.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/inverse/private/issubfield.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("issubfield", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__inverse/_keyval.py b/spm/__external/__fieldtrip/__inverse/_keyval.py index df75b837..43e69420 100644 --- a/spm/__external/__fieldtrip/__inverse/_keyval.py +++ b/spm/__external/__fieldtrip/__inverse/_keyval.py @@ -2,7 +2,7 @@ def _keyval(*args, **kwargs): - """ + r""" KEYVAL returns the value that corresponds to the requested key in a key-value pair list of variable input arguments @@ -12,9 +12,12 @@ def _keyval(*args, **kwargs): See also VARARGIN - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/inverse/private/keyval.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/inverse/private/keyval.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("keyval", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__inverse/_mesh_laplacian.py b/spm/__external/__fieldtrip/__inverse/_mesh_laplacian.py index b0c7ec4f..2aa75169 100644 --- a/spm/__external/__fieldtrip/__inverse/_mesh_laplacian.py +++ b/spm/__external/__fieldtrip/__inverse/_mesh_laplacian.py @@ -2,7 +2,7 @@ def _mesh_laplacian(*args, **kwargs): - """ + r""" MESH_LAPLACIAN: Laplacian of irregular triangular mesh Useage: [lap,edge] = mesh_laplacian(vertex,face) @@ -31,9 +31,12 @@ def _mesh_laplacian(*args, **kwargs): See also, eeg_interp_scalp_mesh - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/inverse/private/mesh_laplacian.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/inverse/private/mesh_laplacian.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("mesh_laplacian", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__inverse/_mkfilt_eloreta.py b/spm/__external/__fieldtrip/__inverse/_mkfilt_eloreta.py index bc83cf84..16459bb0 100644 --- a/spm/__external/__fieldtrip/__inverse/_mkfilt_eloreta.py +++ b/spm/__external/__fieldtrip/__inverse/_mkfilt_eloreta.py @@ -2,7 +2,7 @@ def _mkfilt_eloreta(*args, **kwargs): - """ + r""" makes spatial filter according to eLoreta usage A=mkfilt_eloreta(L); or A=mkfilt_eloreta(L,regu); @@ -24,9 +24,12 @@ def _mkfilt_eloreta(*args, **kwargs): error localization. arXiv:0710.3341 [math-ph], 2007-October-17, http://arxiv.org/pdf/0710.3341 ” - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/inverse/private/mkfilt_eloreta.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/inverse/private/mkfilt_eloreta.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("mkfilt_eloreta", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__inverse/_quaternion.py b/spm/__external/__fieldtrip/__inverse/_quaternion.py index a99ba2cd..6ccffbc9 100644 --- a/spm/__external/__fieldtrip/__inverse/_quaternion.py +++ b/spm/__external/__fieldtrip/__inverse/_quaternion.py @@ -2,7 +2,7 @@ def _quaternion(*args, **kwargs): - """ + r""" QUATERNION returns the homogenous coordinate transformation matrix corresponding to a coordinate transformation described by 7 quaternion parameters. @@ -20,9 +20,12 @@ def _quaternion(*args, **kwargs): See also TRANSLATE, ROTATE, SCALE, HOMOGENOUS2QUATERNION - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/inverse/private/quaternion.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/inverse/private/quaternion.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("quaternion", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__inverse/_rigidbody.py b/spm/__external/__fieldtrip/__inverse/_rigidbody.py index 97ec60da..85546d99 100644 --- a/spm/__external/__fieldtrip/__inverse/_rigidbody.py +++ b/spm/__external/__fieldtrip/__inverse/_rigidbody.py @@ -2,7 +2,7 @@ def _rigidbody(*args, **kwargs): - """ + r""" RIGIDBODY creates the homogenous spatial transformation matrix for a 6 parameter rigid-body transformation @@ -21,9 +21,12 @@ def _rigidbody(*args, **kwargs): See also ROTATE, TRANSLATE, SCALE, QUATERNION, HOMOGENOUS2TRADITIONAL - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/inverse/private/rigidbody.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/inverse/private/rigidbody.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("rigidbody", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__inverse/_rotate.py b/spm/__external/__fieldtrip/__inverse/_rotate.py index f261d2c1..cae0bfbd 100644 --- a/spm/__external/__fieldtrip/__inverse/_rotate.py +++ b/spm/__external/__fieldtrip/__inverse/_rotate.py @@ -2,7 +2,7 @@ def _rotate(*args, **kwargs): - """ + r""" ROTATE returns the homogenous coordinate transformation matrix corresponding to a rotation around the x, y and z-axis. The direction of the rotation is according to the right-hand rule. @@ -20,9 +20,12 @@ def _rotate(*args, **kwargs): See also TRANSLATE, SCALE, RIGIDBODY, QUATERNION, HOMOGENOUS2TRADITIONAL - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/inverse/private/rotate.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/inverse/private/rotate.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("rotate", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__inverse/_settang.py b/spm/__external/__fieldtrip/__inverse/_settang.py index 2ee856c0..b061e80f 100644 --- a/spm/__external/__fieldtrip/__inverse/_settang.py +++ b/spm/__external/__fieldtrip/__inverse/_settang.py @@ -2,15 +2,18 @@ def _settang(*args, **kwargs): - """ + r""" set the dipole cartesian direction, given: 1) the instantenious decomposition vectors tanu and tanv 2) the instanteneous dipole orientation theta - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/inverse/private/settang.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/inverse/private/settang.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("settang", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__inverse/_solid_angle.py b/spm/__external/__fieldtrip/__inverse/_solid_angle.py index 2d014c2c..564cb6f2 100644 --- a/spm/__external/__fieldtrip/__inverse/_solid_angle.py +++ b/spm/__external/__fieldtrip/__inverse/_solid_angle.py @@ -2,7 +2,7 @@ def _solid_angle(*args, **kwargs): - """ + r""" SOLID_ANGLE of a planar triangle as seen from the origin The solid angle W subtended by a surface S is defined as the surface @@ -10,7 +10,7 @@ def _solid_angle(*args, **kwargs): sphere. Solid angle is measured in steradians, and the solid angle corresponding to all of space being subtended is 4*pi sterradians. - Use: + Use as [w] = solid_angle(v1, v2, v3) or [w] = solid_angle(pnt, tri) @@ -19,9 +19,12 @@ def _solid_angle(*args, **kwargs): compute the solid angle for each triangle) - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/inverse/private/solid_angle.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/inverse/private/solid_angle.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("solid_angle", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__inverse/_surface_inside.py b/spm/__external/__fieldtrip/__inverse/_surface_inside.py index a6cb6823..70a32278 100644 --- a/spm/__external/__fieldtrip/__inverse/_surface_inside.py +++ b/spm/__external/__fieldtrip/__inverse/_surface_inside.py @@ -2,7 +2,7 @@ def _surface_inside(*args, **kwargs): - """ + r""" SURFACE_INSIDE determines if a point is inside/outside a triangle mesh whereby the bounding triangle mesh should be closed. @@ -16,9 +16,12 @@ def _surface_inside(*args, **kwargs): See also SURFACE_AREA, SURFACE_ORIENTATION, SURFACE_NORMALS, SURFACE_NESTING, SOLID_ANGLE - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/inverse/private/surface_inside.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/inverse/private/surface_inside.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("surface_inside", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__inverse/_surface_orientation.py b/spm/__external/__fieldtrip/__inverse/_surface_orientation.py index b1c73fc7..b9b24e95 100644 --- a/spm/__external/__fieldtrip/__inverse/_surface_orientation.py +++ b/spm/__external/__fieldtrip/__inverse/_surface_orientation.py @@ -2,7 +2,7 @@ def _surface_orientation(*args, **kwargs): - """ + r""" SURFACE_ORIENTATION returns the string 'inward' or 'outward' or 'unknown', depending on the surface orientation. @@ -14,9 +14,12 @@ def _surface_orientation(*args, **kwargs): See also SURFACE_AREA, SURFACE_NESTING, SURFACE_NORMALS, SURFACE_NESTING - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/inverse/private/surface_orientation.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/inverse/private/surface_orientation.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("surface_orientation", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__inverse/_translate.py b/spm/__external/__fieldtrip/__inverse/_translate.py index 05281968..91bbcfe9 100644 --- a/spm/__external/__fieldtrip/__inverse/_translate.py +++ b/spm/__external/__fieldtrip/__inverse/_translate.py @@ -2,7 +2,7 @@ def _translate(*args, **kwargs): - """ + r""" TRANSLATE returns the homogenous coordinate transformation matrix corresponding to a translation along the x, y and z-axis @@ -15,9 +15,12 @@ def _translate(*args, **kwargs): See also ROTATE, SCALE, RIGIDBODY, QUATERNION, HOMOGENOUS2TRADITIONAL - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/inverse/private/translate.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/inverse/private/translate.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("translate", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__inverse/ft_inverse_dics.py b/spm/__external/__fieldtrip/__inverse/ft_inverse_dics.py index ae86166a..e4c9e7a0 100644 --- a/spm/__external/__fieldtrip/__inverse/ft_inverse_dics.py +++ b/spm/__external/__fieldtrip/__inverse/ft_inverse_dics.py @@ -2,7 +2,7 @@ def ft_inverse_dics(*args, **kwargs): - """ + r""" FT_INVERSE_DICS scans on pre-defined dipole locations with a single dipole and returns the beamformer spatial filter output for a dipole on every location. @@ -18,6 +18,10 @@ def ft_inverse_dics(*args, **kwargs): and estimate contains the estimated source parameters + If the input data "dat" is in V, "cov" is in V^2, and the leadfield is in V/Am, + then the output "pow/csd" is (Am)^2, and the output "filter" is in Am/V, provided + "weightnorm" has been specified to be 'no'. + Additional input arguments should be specified as key-value pairs and can include 'Pr' = power of the external reference channel 'Cr' = cross spectral density between all data channels and the external reference channel @@ -43,6 +47,7 @@ def ft_inverse_dics(*args, **kwargs): 'lambda' = regularisation parameter 'kappa' = parameter for covariance matrix inversion 'tol' = parameter for covariance matrix inversion + 'invmethod' = method for covariance matrix inversion If the dipole definition only specifies the dipole location, a rotating dipole (regional source) is assumed on each location. If a dipole moment @@ -52,9 +57,12 @@ def ft_inverse_dics(*args, **kwargs): See also FT_SOURCEANALYSIS, FT_PREPARE_HEADMODEL, FT_PREPARE_SOURCEMODEL - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/inverse/ft_inverse_dics.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/inverse/ft_inverse_dics.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_inverse_dics", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__inverse/ft_inverse_dipolefit.py b/spm/__external/__fieldtrip/__inverse/ft_inverse_dipolefit.py index a7724ced..00c6faf7 100644 --- a/spm/__external/__fieldtrip/__inverse/ft_inverse_dipolefit.py +++ b/spm/__external/__fieldtrip/__inverse/ft_inverse_dipolefit.py @@ -2,7 +2,7 @@ def ft_inverse_dipolefit(*args, **kwargs): - """ + r""" FT_INVERSE_DIPOLEFIT performs an equivalent current dipole fit with a single or a small number of dipoles to explain an EEG or MEG scalp topography. @@ -42,16 +42,24 @@ def ft_inverse_dipolefit(*args, **kwargs): constr.sequential = boolean, fit different dipoles to sequential slices of the data The maximum likelihood estimation implements - - Lutkenhoner B. "Dipole source localization by means of maximum likelihood + Lutkenhoner B. "Dipole source localization by means of maximum likelihood estimation I. Theory and simulations" Electroencephalogr Clin Neurophysiol. 1998 Apr;106(4):314-21. + The rigidbody constraint implements + Pfeiffer C, Andersen LM, Lundqvist D, Hämäläinen M, Schneiderman JF, Oostenveld R. + "Localizing on-scalp MEG sensors using an array of magnetic dipole coils" PLoS + One. 2018 doi: 10.1371/journal.pone.0191111 + See also FT_DIPOLEFITTING, FT_SOURCEANALYSIS, FT_PREPARE_HEADMODEL, FT_PREPARE_SOURCEMODEL - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/inverse/ft_inverse_dipolefit.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/inverse/ft_inverse_dipolefit.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_inverse_dipolefit", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__inverse/ft_inverse_eloreta.py b/spm/__external/__fieldtrip/__inverse/ft_inverse_eloreta.py index 6608fa92..45f30a17 100644 --- a/spm/__external/__fieldtrip/__inverse/ft_inverse_eloreta.py +++ b/spm/__external/__fieldtrip/__inverse/ft_inverse_eloreta.py @@ -2,7 +2,7 @@ def ft_inverse_eloreta(*args, **kwargs): - """ + r""" FT_INVERSE_ELORETA estimates the source activity using eLORETA Use as @@ -16,10 +16,14 @@ def ft_inverse_eloreta(*args, **kwargs): and estimate contains the estimated source parameters + If the input data "dat" is in V, "cov" is in V^2, and the leadfield is in V/Am, + then the estimated output "mom" is in Am, the output "pow" is (Am)^2, and the + output "filter" is in Am/V. + Additional input arguments should be specified as key-value pairs and can include - 'keepfilter' = remember the spatial filter, can be 'yes' or 'no' - 'keepleadfield' = remember the forward computation, can be 'yes' or 'no' - 'keepmom' = remember the dipole moment, can be 'yes' or 'no' + 'keepfilter' = remember the spatial filter, can be 'yes' or 'no' + 'keepleadfield' = remember the forward computation, can be 'yes' or 'no' + 'keepmom' = remember the dipole moment, can be 'yes' or 'no' 'lambda' = scalar, regularisation parameter (default = 0.05) These options influence the forward computation of the leadfield @@ -41,9 +45,12 @@ def ft_inverse_eloreta(*args, **kwargs): See also FT_SOURCEANALYSIS, FT_PREPARE_HEADMODEL, FT_PREPARE_SOURCEMODEL - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/inverse/ft_inverse_eloreta.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/inverse/ft_inverse_eloreta.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_inverse_eloreta", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__inverse/ft_inverse_harmony.py b/spm/__external/__fieldtrip/__inverse/ft_inverse_harmony.py index ee93db2d..ba525434 100644 --- a/spm/__external/__fieldtrip/__inverse/ft_inverse_harmony.py +++ b/spm/__external/__fieldtrip/__inverse/ft_inverse_harmony.py @@ -2,7 +2,7 @@ def ft_inverse_harmony(*args, **kwargs): - """ + r""" FT_INVERSE_HARMONY computes a linear estimate of the current in a distributed source model using a mesh harmonic based low-pass filter. @@ -43,9 +43,12 @@ def ft_inverse_harmony(*args, **kwargs): See also FT_SOURCEANALYSIS, FT_PREPARE_HEADMODEL, FT_PREPARE_SOURCEMODEL - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/inverse/ft_inverse_harmony.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/inverse/ft_inverse_harmony.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_inverse_harmony", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__inverse/ft_inverse_lcmv.py b/spm/__external/__fieldtrip/__inverse/ft_inverse_lcmv.py index 7e2966ca..74fc7d17 100644 --- a/spm/__external/__fieldtrip/__inverse/ft_inverse_lcmv.py +++ b/spm/__external/__fieldtrip/__inverse/ft_inverse_lcmv.py @@ -2,7 +2,7 @@ def ft_inverse_lcmv(*args, **kwargs): - """ + r""" FT_INVERSE_LCMV scans on pre-defined dipole locations with a single dipole and returns the linear constrained minimum variance beamformer spatial filter output for a dipole on every location. @@ -18,6 +18,10 @@ def ft_inverse_lcmv(*args, **kwargs): and estimate contains the estimated source parameters + If the input data "dat" is in V, "cov" is in V^2, and the leadfield is in V/Am, + then the estimated output "mom" is in Am, the output "pow" is (Am)^2, and the + output "filter" is in Am/V, provided "weightnorm" has been specified to be 'no'. + Additional input arguments should be specified as key-value pairs and can include 'powmethod' = can be 'trace' or 'lambda1' 'feedback' = can be 'none', 'gui', 'dial', 'textbar', 'text', 'textcr', 'textnl' (default = 'text') @@ -42,6 +46,7 @@ def ft_inverse_lcmv(*args, **kwargs): 'lambda' = regularisation parameter 'kappa' = parameter for covariance matrix inversion 'tol' = parameter for covariance matrix inversion + 'invmethod' = method for covariance matrix inversion If the dipole definition only specifies the dipole location, a rotating dipole (regional source) is assumed on each location. If a dipole moment @@ -51,9 +56,12 @@ def ft_inverse_lcmv(*args, **kwargs): See also FT_SOURCEANALYSIS, FT_PREPARE_HEADMODEL, FT_PREPARE_SOURCEMODEL - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/inverse/ft_inverse_lcmv.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/inverse/ft_inverse_lcmv.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_inverse_lcmv", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__inverse/ft_inverse_mne.py b/spm/__external/__fieldtrip/__inverse/ft_inverse_mne.py index 36966f95..c05839ce 100644 --- a/spm/__external/__fieldtrip/__inverse/ft_inverse_mne.py +++ b/spm/__external/__fieldtrip/__inverse/ft_inverse_mne.py @@ -2,7 +2,7 @@ def ft_inverse_mne(*args, **kwargs): - """ + r""" FT_INVERSE_MNE computes a minimum norm linear estimate of the current in a distributed source model. @@ -16,6 +16,10 @@ def ft_inverse_mne(*args, **kwargs): and estimate contains the estimated source parameters + If the input data "dat" is in V, "cov" is in V^2, and the leadfield is in V/Am, + then the estimated output "mom" is in Am, the output "pow" is (Am)^2, and the + output "filter" is in Am/V. + Additional input arguments should be specified as key-value pairs and can include 'noisecov' = Nchan x Nchan matrix with noise covariance 'noiselambda' = scalar value, regularisation parameter for the noise covariance matrix (default = 0) @@ -49,9 +53,12 @@ def ft_inverse_mne(*args, **kwargs): See also FT_SOURCEANALYSIS, FT_PREPARE_HEADMODEL, FT_PREPARE_SOURCEMODEL - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/inverse/ft_inverse_mne.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/inverse/ft_inverse_mne.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_inverse_mne", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__inverse/ft_inverse_music.py b/spm/__external/__fieldtrip/__inverse/ft_inverse_music.py index 1c74d402..c299f3c2 100644 --- a/spm/__external/__fieldtrip/__inverse/ft_inverse_music.py +++ b/spm/__external/__fieldtrip/__inverse/ft_inverse_music.py @@ -2,7 +2,7 @@ def ft_inverse_music(*args, **kwargs): - """ + r""" FT_INVERSE_MUSIC source localization using MUltiple SIgnal Classification. This is a signal subspace method, which covers the techniques for multiple source localization by using the eigen-structure of the @@ -38,9 +38,12 @@ def ft_inverse_music(*args, **kwargs): See also FT_SOURCEANALYSIS, FT_PREPARE_HEADMODEL, FT_PREPARE_SOURCEMODEL - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/inverse/ft_inverse_music.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/inverse/ft_inverse_music.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_inverse_music", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__inverse/ft_inverse_pcc.py b/spm/__external/__fieldtrip/__inverse/ft_inverse_pcc.py index 29a49ab5..1f05f950 100644 --- a/spm/__external/__fieldtrip/__inverse/ft_inverse_pcc.py +++ b/spm/__external/__fieldtrip/__inverse/ft_inverse_pcc.py @@ -2,7 +2,7 @@ def ft_inverse_pcc(*args, **kwargs): - """ + r""" FT_INVERSE_PCC implements a linearly-constrained miminum variance beamformer that allows for post-hoc computation of canonical or partial coherence or correlation. Moreover, if cortico-cortical interactions are computed, the spatial filters are @@ -20,6 +20,10 @@ def ft_inverse_pcc(*args, **kwargs): and estimate contains the estimated source parameters + If the input data "dat" is in V, "cov" is in V^2, and the leadfield is in V/Am, + then the output "pow/csd" is (Am)^2, and the output "filter" is in Am/V, provided + "weightnorm" has been specified to be 'no'. + Additional input arguments should be specified as key-value pairs and can include 'refchan' 'refdip' @@ -42,12 +46,21 @@ def ft_inverse_pcc(*args, **kwargs): 'normalizeparam' = parameter for depth normalization (default = 0.5) 'weight' = number or Nx1 vector, weight for each dipole position to compensate for the size of the corresponding patch (default = 1) + These options influence the mathematical inversion of the cross-spectral density matrix + 'lambda' = regularisation parameter + 'kappa' = parameter for covariance matrix inversion + 'tol' = parameter for covariance matrix inversion + 'invmethod' = method for covariance matrix inversion + See also FT_SOURCEANALYSIS, FT_PREPARE_HEADMODEL, FT_PREPARE_SOURCEMODEL - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/inverse/ft_inverse_pcc.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/inverse/ft_inverse_pcc.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_inverse_pcc", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__inverse/ft_inverse_rv.py b/spm/__external/__fieldtrip/__inverse/ft_inverse_rv.py index 7f43b4e8..e225e3bc 100644 --- a/spm/__external/__fieldtrip/__inverse/ft_inverse_rv.py +++ b/spm/__external/__fieldtrip/__inverse/ft_inverse_rv.py @@ -2,7 +2,7 @@ def ft_inverse_rv(*args, **kwargs): - """ + r""" FT_INVERSE_RV scan with a single dipole and computes the residual variance at each dipole location. @@ -29,9 +29,12 @@ def ft_inverse_rv(*args, **kwargs): See also FT_SOURCEANALYSIS, FT_PREPARE_HEADMODEL, FT_PREPARE_SOURCEMODEL - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/inverse/ft_inverse_rv.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/inverse/ft_inverse_rv.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_inverse_rv", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__inverse/ft_inverse_sam.py b/spm/__external/__fieldtrip/__inverse/ft_inverse_sam.py index 0a1924e2..472c0702 100644 --- a/spm/__external/__fieldtrip/__inverse/ft_inverse_sam.py +++ b/spm/__external/__fieldtrip/__inverse/ft_inverse_sam.py @@ -2,7 +2,7 @@ def ft_inverse_sam(*args, **kwargs): - """ + r""" FT_INVERSE_SAM scans on pre-defined dipole locations with a single dipole and returns the Synthetic Aperture Magnetometry (SAM) beamformer estimates. @@ -17,6 +17,10 @@ def ft_inverse_sam(*args, **kwargs): and estimate contains the estimated source parameters + If the input data "dat" is in V, "cov" is in V^2, and the leadfield is in V/Am, + then the estimated output "mom" is in Am, the output "pow" is (Am)^2, and the + output "filter" is in Am/V. + Additional input arguments should be specified as key-value pairs and can include 'feedback' 'fixedori' deprecated, control behaviour via 'reducerank' instead @@ -36,12 +40,21 @@ def ft_inverse_sam(*args, **kwargs): 'normalizeparam' = parameter for depth normalization (default = 0.5) 'weight' = number or Nx1 vector, weight for each dipole position to compensate for the size of the corresponding patch (default = 1) + These options influence the mathematical inversion of the covariance matrix + 'lambda' = regularisation parameter + 'kappa' = parameter for covariance matrix inversion + 'tol' = parameter for covariance matrix inversion + 'invmethod' = method for covariance matrix inversion + See also FT_SOURCEANALYSIS, FT_PREPARE_HEADMODEL, FT_PREPARE_SOURCEMODEL - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/inverse/ft_inverse_sam.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/inverse/ft_inverse_sam.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_inverse_sam", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__inverse/ft_inverse_sloreta.py b/spm/__external/__fieldtrip/__inverse/ft_inverse_sloreta.py index 458ab258..c3727fed 100644 --- a/spm/__external/__fieldtrip/__inverse/ft_inverse_sloreta.py +++ b/spm/__external/__fieldtrip/__inverse/ft_inverse_sloreta.py @@ -2,7 +2,7 @@ def ft_inverse_sloreta(*args, **kwargs): - """ + r""" FT_INVERSE_SLORETA scans on pre-defined dipole locations with a single dipole and returns the sLORETA spatial filter output for a dipole on every location. @@ -44,9 +44,12 @@ def ft_inverse_sloreta(*args, **kwargs): See also FT_SOURCEANALYSIS, FT_PREPARE_HEADMODEL, FT_PREPARE_SOURCEMODEL - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/inverse/ft_inverse_sloreta.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/inverse/ft_inverse_sloreta.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_inverse_sloreta", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__plotting/__init__.py b/spm/__external/__fieldtrip/__plotting/__init__.py index f9258871..db394371 100644 --- a/spm/__external/__fieldtrip/__plotting/__init__.py +++ b/spm/__external/__fieldtrip/__plotting/__init__.py @@ -1,4 +1,5 @@ from .ft_colormap import ft_colormap +from .ft_headlight import ft_headlight from .ft_plot_axes import ft_plot_axes from .ft_plot_box import ft_plot_box from .ft_plot_cloud import ft_plot_cloud @@ -30,6 +31,7 @@ __all__ = [ "ft_colormap", + "ft_headlight", "ft_plot_axes", "ft_plot_box", "ft_plot_cloud", diff --git a/spm/__external/__fieldtrip/__plotting/_atlas_lookup.py b/spm/__external/__fieldtrip/__plotting/_atlas_lookup.py index d14a9a67..f7e31ed7 100644 --- a/spm/__external/__fieldtrip/__plotting/_atlas_lookup.py +++ b/spm/__external/__fieldtrip/__plotting/_atlas_lookup.py @@ -2,26 +2,29 @@ def _atlas_lookup(*args, **kwargs): - """ + r""" ATLAS_LOOKUP determines the anatomical label of a location in the given atlas. Use as label = atlas_lookup(atlas, pos, ...); - Optinal input arguments should come in key-value pairs and can include + Optional input arguments should come in key-value pairs and can include 'method' = 'sphere' (default) searches surrounding voxels in a sphere 'cube' searches surrounding voxels in a cube 'queryrange' = number, should be 1, 3, 5, 7, 9 or 11 (default = 3) 'coordsys' = 'mni' or 'tal' (default = []) Dependent on the coordinates if the input points and the coordinates of the atlas, - the input positions are transformed betweem MNI and Talairach-Tournoux coordinates. + the input positions are transformed between MNI and Talairach-Tournoux coordinates. See http://www.mrc-cbu.cam.ac.uk/Imaging/Common/mnispace.shtml for more details. - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/plotting/private/atlas_lookup.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/plotting/private/atlas_lookup.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("atlas_lookup", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__plotting/_bg_rgba2rgb.py b/spm/__external/__fieldtrip/__plotting/_bg_rgba2rgb.py index 6432e559..bd47c959 100644 --- a/spm/__external/__fieldtrip/__plotting/_bg_rgba2rgb.py +++ b/spm/__external/__fieldtrip/__plotting/_bg_rgba2rgb.py @@ -2,7 +2,7 @@ def _bg_rgba2rgb(*args, **kwargs): - """ + r""" BG_RGBA2RGB overlays a transparency masked colored image on a colored background, and represents the result as an RGB matrix. @@ -26,9 +26,12 @@ def _bg_rgba2rgb(*args, **kwargs): alim = 1x2 vector denoting the opacity limits - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/plotting/private/bg_rgba2rgb.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/plotting/private/bg_rgba2rgb.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("bg_rgba2rgb", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__plotting/_cdat2rgb.py b/spm/__external/__fieldtrip/__plotting/_cdat2rgb.py index 713ed9bc..5b80eb33 100644 --- a/spm/__external/__fieldtrip/__plotting/_cdat2rgb.py +++ b/spm/__external/__fieldtrip/__plotting/_cdat2rgb.py @@ -2,7 +2,7 @@ def _cdat2rgb(*args, **kwargs): - """ + r""" This function changes the color of pixels to white, regardless of colormap, without using opengl It does by converting by: 1) convert the to-be-plotted data to their respective rgb color values (determined by colormap) @@ -11,9 +11,12 @@ def _cdat2rgb(*args, **kwargs): 4) convert the hsv values back to rgb values - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/plotting/private/cdat2rgb.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/plotting/private/cdat2rgb.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("cdat2rgb", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__plotting/_channelposition.py b/spm/__external/__fieldtrip/__plotting/_channelposition.py index 987883cb..19ce42d0 100644 --- a/spm/__external/__fieldtrip/__plotting/_channelposition.py +++ b/spm/__external/__fieldtrip/__plotting/_channelposition.py @@ -2,7 +2,7 @@ def _channelposition(*args, **kwargs): - """ + r""" CHANNELPOSITION computes the channel positions and orientations from the MEG coils, EEG electrodes or NIRS optodes @@ -13,9 +13,12 @@ def _channelposition(*args, **kwargs): See also FT_DATATYPE_SENS - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/plotting/private/channelposition.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/plotting/private/channelposition.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("channelposition", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__plotting/_colorspec2rgb.py b/spm/__external/__fieldtrip/__plotting/_colorspec2rgb.py index ddc0d907..519c3588 100644 --- a/spm/__external/__fieldtrip/__plotting/_colorspec2rgb.py +++ b/spm/__external/__fieldtrip/__plotting/_colorspec2rgb.py @@ -1,37 +1,40 @@ -from mpython import Runtime +from spm._runtime import Runtime def _colorspec2rgb(*args, **kwargs): - """ - COLORSPEC2RGB converts the string color specification into the corresponding RGB - triplet(s), unless the string equals 'none', or is a hexadecimal (starting with #). - The optional second input argument determines the number of rows in the output Nx3 matrix, - when applicable. - - If the first input argument equals 'none', or starts with a '#', the output will be - the same as the input argument, and the assumption is that the downstream function - that uses the colorspec knows how to deal with this. Otherwise, a Nx3 matrix or 1x3 - vector will be returned. - - If the input string contains only characters from the following sequence - 'ymcrgbwk', an Mx3 matrix will be returned, where M is the number of characters in - the input string. If a second input argument N is defined (N>M), the output will be - expanded to have N number of rows. - - Otherwise, colorspec2rgb checks whether the input is a valid name for one of the - colors htmlcolors or standardcolors. If this also fails, colorspec2rgb checks - whether the colorspec defines a supported FieldTrip colormap. If this also fails, - an error is thrown. - - See https://nl.mathworks.com/help/matlab/creating_plots/specify-plot-colors.html - and https://nl.mathworks.com/matlabcentral/fileexchange/48155-convert-between-rgb-and-color-names - - See also HTMLCOLORS, STANDARDCOLORS, FT_COLORMAP, COLORMAP, COLORMAPEDITOR, BREWERMAP, MATPLOTLIB, CMOCEAN - - - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/plotting/private/colorspec2rgb.m ) - - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + r""" + COLORSPEC2RGB converts the string color specification into the corresponding RGB + triplet(s), unless the string equals 'none', or is a hexadecimal (starting with #). + The optional second input argument determines the number of rows in the output Nx3 matrix, + when applicable. + + If the first input argument equals 'none', or starts with a '#', the output will be + the same as the input argument, and the assumption is that the downstream function + that uses the colorspec knows how to deal with this. Otherwise, a Nx3 matrix or 1x3 + vector will be returned. + + If the input string contains only characters from the following sequence + 'ymcrgbwk', an Mx3 matrix will be returned, where M is the number of characters in + the input string. If a second input argument N is defined (N>M), the output will be + expanded to have N number of rows. + + Otherwise, colorspec2rgb checks whether the input is a valid name for one of the + colors htmlcolors or standardcolors. If this also fails, colorspec2rgb checks + whether the colorspec defines a supported FieldTrip colormap. If this also fails, + an error is thrown. + + See https://nl.mathworks.com/help/matlab/creating_plots/specify-plot-colors.html + and https://nl.mathworks.com/matlabcentral/fileexchange/48155-convert-between-rgb-and-color-names + + See also HTMLCOLORS, STANDARDCOLORS, FT_COLORMAP, COLORMAP, COLORMAPEDITOR, BREWERMAP, MATPLOTLIB, CMOCEAN + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/plotting/private/colorspec2rgb.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("colorspec2rgb", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__plotting/_combineClusters.py b/spm/__external/__fieldtrip/__plotting/_combineClusters.py index edbb2c26..722d32e5 100644 --- a/spm/__external/__fieldtrip/__plotting/_combineClusters.py +++ b/spm/__external/__fieldtrip/__plotting/_combineClusters.py @@ -2,14 +2,17 @@ def _combineClusters(*args, **kwargs): - """ + r""" COMBINECLUSTERS is a helper function for FINDCLUSTER. It searches for adjacent clusters in neighbouring channels and combines them. - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/plotting/private/combineClusters.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/plotting/private/combineClusters.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("combineClusters", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__plotting/_combineClusters2.py b/spm/__external/__fieldtrip/__plotting/_combineClusters2.py new file mode 100644 index 00000000..3fb5819a --- /dev/null +++ b/spm/__external/__fieldtrip/__plotting/_combineClusters2.py @@ -0,0 +1,34 @@ +from spm._runtime import Runtime + + +def _combineClusters2(*args, **kwargs): + r""" + COMBINECLUSTERS2 is a helper function for FINDCLUSTER. It searches for + adjacent clusters in neighbouring channels and combines them. This + version is an alternative to the original m-file, and an alternative to + the mex-file. In some cases it may be faster, specifically if the spatial + adjacency matrix is large (size(C,1)>10000), and the number of columns in + the input data labelmat is low. Note also, that this version + supports a sparse adjacency matrix. + + A mex-file is available for this functionality, as it can take quite long. + This mex-file is preferred if the spatial dimension is relatively small + (<1000). + + Note that there is a minute difference in functional behaviour between + COMBINECLUSTERS and COMBINECLUSTERS2, where the former occasionally + labels isolated pixels (i.e. singleton 'clusters' in a spatial slice of + the labelmat) as a separate clusters, whereas COMBINECLUSTERS2 merges these + isolated pixels with the cluster in neighbouring slices (provided the + said isolated pixels is also suprathrehold in the neighbouring slice). + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/plotting/private/combineClusters2.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("combineClusters2", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__plotting/_coordsys2label.py b/spm/__external/__fieldtrip/__plotting/_coordsys2label.py index 1140b1fc..436d3291 100644 --- a/spm/__external/__fieldtrip/__plotting/_coordsys2label.py +++ b/spm/__external/__fieldtrip/__plotting/_coordsys2label.py @@ -2,7 +2,7 @@ def _coordsys2label(*args, **kwargs): - """ + r""" COORDSYS2LABEL returns the labels for the three axes, given the symbolic string representation of the coordinate system. @@ -22,9 +22,12 @@ def _coordsys2label(*args, **kwargs): See also FT_DETERMINE_COORDSYS, FT_PLOT_AXES, FT_HEADCOORDINATES, SETVIEWPOINT - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/plotting/private/coordsys2label.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/plotting/private/coordsys2label.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("coordsys2label", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__plotting/_cornerpoints.py b/spm/__external/__fieldtrip/__plotting/_cornerpoints.py index 43dccb67..9e387f16 100644 --- a/spm/__external/__fieldtrip/__plotting/_cornerpoints.py +++ b/spm/__external/__fieldtrip/__plotting/_cornerpoints.py @@ -2,7 +2,7 @@ def _cornerpoints(*args, **kwargs): - """ + r""" CORNERPOINTS returns the eight corner points of an anatomical volume in voxel and in head coordinates @@ -11,9 +11,12 @@ def _cornerpoints(*args, **kwargs): which will return two 8x3 matrices. - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/plotting/private/cornerpoints.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/plotting/private/cornerpoints.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("cornerpoints", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__plotting/_defaultId.py b/spm/__external/__fieldtrip/__plotting/_defaultId.py index ebfad78e..0fbbbadd 100644 --- a/spm/__external/__fieldtrip/__plotting/_defaultId.py +++ b/spm/__external/__fieldtrip/__plotting/_defaultId.py @@ -2,16 +2,19 @@ def _defaultId(*args, **kwargs): - """ + r""" DEFAULTID returns a string that can serve as warning or error identifier, for example 'FieldTip:ft_read_header:line345'. See also WARNING, ERROR, FT_NOTICE, FT_INFO, FT_DEBUG - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/plotting/private/defaultId.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/plotting/private/defaultId.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("defaultId", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__plotting/_dist.py b/spm/__external/__fieldtrip/__plotting/_dist.py index 7ff1c51e..af4bfd7b 100644 --- a/spm/__external/__fieldtrip/__plotting/_dist.py +++ b/spm/__external/__fieldtrip/__plotting/_dist.py @@ -2,8 +2,8 @@ def _dist(*args, **kwargs): - """ - DIST computes the euclidian distance between the columns of the input matrix + r""" + DIST computes the euclidean distance between the columns of the input matrix Use as [d] = dist(x) @@ -13,9 +13,12 @@ def _dist(*args, **kwargs): Networks toolbox. - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/plotting/private/dist.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/plotting/private/dist.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("dist", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__plotting/_elproj.py b/spm/__external/__fieldtrip/__plotting/_elproj.py index c5d95502..20312f09 100644 --- a/spm/__external/__fieldtrip/__plotting/_elproj.py +++ b/spm/__external/__fieldtrip/__plotting/_elproj.py @@ -2,12 +2,12 @@ def _elproj(*args, **kwargs): - """ - ELPROJ makes a azimuthal projection of a 3D electrode cloud - on a plane tangent to the sphere fitted through the electrodes - the projection is along the z-axis + r""" + ELPROJ makes a azimuthal projection of a 3D electrode cloud on a plane tangent to + the sphere fitted through the electrodes. The projection is along the z-axis. - [proj] = elproj([x, y, z], 'method'); + Use as + proj = elproj([x, y, z], 'method'); Method should be one of these: 'gnomic' @@ -23,15 +23,18 @@ def _elproj(*args, **kwargs): projection results, if the light is antipodal a Sterographic, and if at infinity, an Orthographic. - The default projection is a polar projection (BESA like). + The default projection is a BESA-like polar projection. An inverse projection is the opposite of the default polar projection. See also PROJECTTRI - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/plotting/private/elproj.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/plotting/private/elproj.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("elproj", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__plotting/_find_mesh_edge.py b/spm/__external/__fieldtrip/__plotting/_find_mesh_edge.py index fa5cabb9..30bcdf6b 100644 --- a/spm/__external/__fieldtrip/__plotting/_find_mesh_edge.py +++ b/spm/__external/__fieldtrip/__plotting/_find_mesh_edge.py @@ -2,7 +2,7 @@ def _find_mesh_edge(*args, **kwargs): - """ + r""" FIND_MESH_EDGE returns the edge of a triangulated mesh [pnt, line] = find_mesh_edge(pnt, tri), where @@ -11,9 +11,12 @@ def _find_mesh_edge(*args, **kwargs): line contains the indices of the linepieces connecting the vertices - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/plotting/private/find_mesh_edge.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/plotting/private/find_mesh_edge.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("find_mesh_edge", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__plotting/_find_triangle_neighbours.py b/spm/__external/__fieldtrip/__plotting/_find_triangle_neighbours.py index 709107f5..1c6e3d46 100644 --- a/spm/__external/__fieldtrip/__plotting/_find_triangle_neighbours.py +++ b/spm/__external/__fieldtrip/__plotting/_find_triangle_neighbours.py @@ -2,7 +2,7 @@ def _find_triangle_neighbours(*args, **kwargs): - """ + r""" FIND_TRIANGLE_NEIGHBOURS determines the three neighbours for each triangle in a mesh. It returns NaN's if the triangle does not have a neighbour on that particular side. @@ -10,9 +10,12 @@ def _find_triangle_neighbours(*args, **kwargs): [nb] = find_triangle_neighbours(pnt, tri) - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/plotting/private/find_triangle_neighbours.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/plotting/private/find_triangle_neighbours.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("find_triangle_neighbours", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__plotting/_findcluster.py b/spm/__external/__fieldtrip/__plotting/_findcluster.py index af0e9231..ef4c654f 100644 --- a/spm/__external/__fieldtrip/__plotting/_findcluster.py +++ b/spm/__external/__fieldtrip/__plotting/_findcluster.py @@ -2,23 +2,23 @@ def _findcluster(*args, **kwargs): - """ + r""" FINDCLUSTER returns all connected clusters for a three-dimensional six-connected neighborhood Use as - [cluster, num] = findcluster(onoff, spatdimneighbstructmat, minnbchan) - or ar - [cluster, num] = findcluster(onoff, spatdimneighbstructmat, spatdimneighbselmat, minnbchan) + [cluster, num] = findcluster(onoff, connmat, 'minnbchan', minnbchan) + or as + [cluster, num] = findcluster(onoff, connmat, 'minnbchan', minnbchan, 'spatdimneighbselmat', spatdimneighbselmat) where onoff = is a 3D boolean matrix with size N1xN2xN3 - spatdimneighbstructmat = defines the neighbouring channels/combinations, see below + connmat = defines the neighbouring channels/combinations, see below minnbchan = the minimum number of neighbouring channels/combinations spatdimneighbselmat = is a special neighbourhood matrix that is used for selecting channels/combinations on the basis of the minnbchan criterium The neighbourhood structure for the first dimension is specified using - spatdimneighbstructmat, which is a 2D (N1xN1) matrix. Each row and each column + connmat, which is a 2D (N1xN1) matrix. Each row and each column corresponds to a channel (combination) along the first dimension and along that row/column, elements with "1" define the neighbouring channel(s) (combinations). The first dimension of onoff should correspond to the channel(s) (combinations). @@ -26,9 +26,12 @@ def _findcluster(*args, **kwargs): See also SPM_BWLABEL, BWLABEL, BWLABELN - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/plotting/private/findcluster.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/plotting/private/findcluster.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("findcluster", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__plotting/_fitsphere.py b/spm/__external/__fieldtrip/__plotting/_fitsphere.py index 2914868b..f5748ac9 100644 --- a/spm/__external/__fieldtrip/__plotting/_fitsphere.py +++ b/spm/__external/__fieldtrip/__plotting/_fitsphere.py @@ -2,22 +2,25 @@ def _fitsphere(*args, **kwargs): - """ + r""" FITSPHERE fits the centre and radius of a sphere to a set of points using Taubin's method. Use as [center,radius] = fitsphere(pnt) where - pnt = Nx3 matrix with the Carthesian coordinates of the surface points + pnt = Nx3 matrix with the Cartesian coordinates of the surface points and center = the center of the fitted sphere radius = the radius of the fitted sphere - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/plotting/private/fitsphere.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/plotting/private/fitsphere.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("fitsphere", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__plotting/_fixbalance.py b/spm/__external/__fieldtrip/__plotting/_fixbalance.py new file mode 100644 index 00000000..50005566 --- /dev/null +++ b/spm/__external/__fieldtrip/__plotting/_fixbalance.py @@ -0,0 +1,23 @@ +from spm._runtime import Runtime + + +def _fixbalance(*args, **kwargs): + r""" + FIXBALANCE ensures that the balancing representation in grad.balance or + elec.balance field is up to date and consistent, specifically with the + list of linear projections (or montages) being applied specified as + cell-array in "current", and not as a string in "current" and cell-array + in "previous". + + See also FT_DATATYPE_SENS + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/plotting/private/fixbalance.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("fixbalance", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__plotting/_fixcoordsys.py b/spm/__external/__fieldtrip/__plotting/_fixcoordsys.py index 09410a98..34f5f4e9 100644 --- a/spm/__external/__fieldtrip/__plotting/_fixcoordsys.py +++ b/spm/__external/__fieldtrip/__plotting/_fixcoordsys.py @@ -2,7 +2,7 @@ def _fixcoordsys(*args, **kwargs): - """ + r""" FIXCOORDSYS ensures that the coordinate system is consistently described. E.g. SPM and MNI are technically the same coordinate system, but the strings 'spm' and 'mni' are different. @@ -10,9 +10,12 @@ def _fixcoordsys(*args, **kwargs): See also FT_DETERMINE_COORDSYS - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/plotting/private/fixcoordsys.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/plotting/private/fixcoordsys.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("fixcoordsys", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__plotting/_fixname.py b/spm/__external/__fieldtrip/__plotting/_fixname.py index 6bcc5d39..a895b653 100644 --- a/spm/__external/__fieldtrip/__plotting/_fixname.py +++ b/spm/__external/__fieldtrip/__plotting/_fixname.py @@ -2,7 +2,7 @@ def _fixname(*args, **kwargs): - """ + r""" FIXNAME changes all inappropriate characters in a string into '_' so that it can be used as a filename or as a field name in a structure. If the string begins with a digit, an 'x' is prepended. @@ -18,9 +18,12 @@ def _fixname(*args, **kwargs): See also DEBLANK, STRIP, PAD - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/plotting/private/fixname.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/plotting/private/fixname.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("fixname", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__plotting/_fixoldorg.py b/spm/__external/__fieldtrip/__plotting/_fixoldorg.py index 6e36b478..2029a52a 100644 --- a/spm/__external/__fieldtrip/__plotting/_fixoldorg.py +++ b/spm/__external/__fieldtrip/__plotting/_fixoldorg.py @@ -2,13 +2,16 @@ def _fixoldorg(*args, **kwargs): - """ + r""" FIXOLDORG use "old/new" instead of "org/new" - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/plotting/private/fixoldorg.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/plotting/private/fixoldorg.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("fixoldorg", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__plotting/_fixpos.py b/spm/__external/__fieldtrip/__plotting/_fixpos.py index 73d2b1b5..4a62f2d9 100644 --- a/spm/__external/__fieldtrip/__plotting/_fixpos.py +++ b/spm/__external/__fieldtrip/__plotting/_fixpos.py @@ -2,13 +2,16 @@ def _fixpos(*args, **kwargs): - """ + r""" FIXPOS helper function to ensure that meshes are described properly - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/plotting/private/fixpos.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/plotting/private/fixpos.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("fixpos", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__plotting/_ft_apply_montage.py b/spm/__external/__fieldtrip/__plotting/_ft_apply_montage.py index bef7d534..bd91eeb3 100644 --- a/spm/__external/__fieldtrip/__plotting/_ft_apply_montage.py +++ b/spm/__external/__fieldtrip/__plotting/_ft_apply_montage.py @@ -2,7 +2,7 @@ def _ft_apply_montage(*args, **kwargs): - """ + r""" FT_APPLY_MONTAGE changes the montage (i.e. linear combination) of a set of electrode or gradiometer channels. A montage can be used for EEG rereferencing, MEG synthetic gradients, MEG planar gradients or unmixing using ICA. This function not @@ -39,8 +39,6 @@ def _ft_apply_montage(*args, **kwargs): Additional options should be specified in key-value pairs and can be 'keepunused' = string, 'yes' or 'no' (default = 'no') - 'inverse' = string, 'yes' or 'no' (default = 'no') - 'balancename' = string, name of the montage (default = '') 'feedback' = string, see FT_PROGRESS (default = 'text') 'warning' = boolean, whether to show warnings (default = true) @@ -51,9 +49,12 @@ def _ft_apply_montage(*args, **kwargs): See also FT_READ_SENS, FT_DATATYPE_SENS - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/plotting/private/ft_apply_montage.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/plotting/private/ft_apply_montage.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_apply_montage", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__plotting/_ft_convert_units.py b/spm/__external/__fieldtrip/__plotting/_ft_convert_units.py index c2250a19..09a1cfd2 100644 --- a/spm/__external/__fieldtrip/__plotting/_ft_convert_units.py +++ b/spm/__external/__fieldtrip/__plotting/_ft_convert_units.py @@ -2,7 +2,7 @@ def _ft_convert_units(*args, **kwargs): - """ + r""" FT_CONVERT_UNITS changes the geometrical dimension to the specified SI unit. The units of the input object is determined from the structure field object.unit, or is estimated based on the spatial extend of the structure, @@ -24,9 +24,12 @@ def _ft_convert_units(*args, **kwargs): See also FT_DETERMINE_UNITS, FT_DETERMINE_COORDSYS, FT_CONVERT_COORDSYS, FT_PLOT_AXES, FT_PLOT_XXX - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/plotting/private/ft_convert_units.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/plotting/private/ft_convert_units.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_convert_units", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__plotting/_ft_datatype_sens.py b/spm/__external/__fieldtrip/__plotting/_ft_datatype_sens.py index 12d8f9b7..e28236b8 100644 --- a/spm/__external/__fieldtrip/__plotting/_ft_datatype_sens.py +++ b/spm/__external/__fieldtrip/__plotting/_ft_datatype_sens.py @@ -2,7 +2,7 @@ def _ft_datatype_sens(*args, **kwargs): - """ + r""" FT_DATATYPE_SENS describes the FieldTrip structure that represents an MEG, EEG, sEEG, ECoG, or NIRS sensor array. This structure is commonly called "grad" for MEG, "elec" for EEG and intranial EEG, "opto" for NIRS, or in general "sens" if it could @@ -49,12 +49,14 @@ def _ft_datatype_sens(*args, **kwargs): sens.chanunit = Mx1 cell-array with the units of the channel signal, e.g. 'V', 'fT' or 'T/cm', see FT_CHANUNIT Optional fields: - type, unit, fid, chantype, chanunit, coordsys + type, unit, fid, chantype, chanunit, coordsys, balance Historical fields: pnt, pos, ori, pnt1, pnt2, fiberpos, fibertype, fiberlabel, transceiver, transmits, laserstrength Revision history: + (2025/latest) Explicitly deal with the balance field and sequence of montages. + (2020/latest) Updated the specification of the NIRS sensor definition. Dropped the laserstrength and renamed transmits into tra for consistency. @@ -96,9 +98,12 @@ def _ft_datatype_sens(*args, **kwargs): BTI2GRAD, YOKOGAWA2GRAD, ITAB2GRAD - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/plotting/private/ft_datatype_sens.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/plotting/private/ft_datatype_sens.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_datatype_sens", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__plotting/_ft_datatype_volume.py b/spm/__external/__fieldtrip/__plotting/_ft_datatype_volume.py index bcca0a30..f121385c 100644 --- a/spm/__external/__fieldtrip/__plotting/_ft_datatype_volume.py +++ b/spm/__external/__fieldtrip/__plotting/_ft_datatype_volume.py @@ -2,7 +2,7 @@ def _ft_datatype_volume(*args, **kwargs): - """ + r""" FT_DATATYPE_VOLUME describes the FieldTrip MATLAB structure for volumetric data such as an anatomical MRI. @@ -59,9 +59,12 @@ def _ft_datatype_volume(*args, **kwargs): See also FT_DATATYPE, FT_DATATYPE_DIP, FT_DATATYPE_SOURCE - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/plotting/private/ft_datatype_volume.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/plotting/private/ft_datatype_volume.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_datatype_volume", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__plotting/_ft_debug.py b/spm/__external/__fieldtrip/__plotting/_ft_debug.py index c974704e..98198882 100644 --- a/spm/__external/__fieldtrip/__plotting/_ft_debug.py +++ b/spm/__external/__fieldtrip/__plotting/_ft_debug.py @@ -2,7 +2,7 @@ def _ft_debug(*args, **kwargs): - """ + r""" FT_DEBUG prints a debug message on screen, depending on the verbosity settings of the calling high-level FieldTrip function. @@ -37,9 +37,12 @@ def _ft_debug(*args, **kwargs): See also FT_ERROR, FT_WARNING, FT_NOTICE, FT_INFO, FT_DEBUG, ERROR, WARNING - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/plotting/private/ft_debug.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/plotting/private/ft_debug.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_debug", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__plotting/_ft_determine_units.py b/spm/__external/__fieldtrip/__plotting/_ft_determine_units.py index 24fa8d89..e30345b3 100644 --- a/spm/__external/__fieldtrip/__plotting/_ft_determine_units.py +++ b/spm/__external/__fieldtrip/__plotting/_ft_determine_units.py @@ -2,7 +2,7 @@ def _ft_determine_units(*args, **kwargs): - """ + r""" FT_DETERMINE_UNITS tries to determine the units of a geometrical object by looking at its size and by relating this to the approximate size of the human head according to the following table: @@ -28,9 +28,12 @@ def _ft_determine_units(*args, **kwargs): See also FT_CONVERT_UNITS, FT_DETERMINE_COODSYS, FT_CONVERT_COORDSYS, FT_PLOT_AXES, FT_PLOT_XXX - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/plotting/private/ft_determine_units.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/plotting/private/ft_determine_units.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_determine_units", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__plotting/_ft_error.py b/spm/__external/__fieldtrip/__plotting/_ft_error.py index c3f14eb2..3b36646c 100644 --- a/spm/__external/__fieldtrip/__plotting/_ft_error.py +++ b/spm/__external/__fieldtrip/__plotting/_ft_error.py @@ -2,7 +2,7 @@ def _ft_error(*args, **kwargs): - """ + r""" FT_ERROR prints an error message on screen, just like the standard ERROR function. Use as @@ -14,9 +14,12 @@ def _ft_error(*args, **kwargs): See also FT_ERROR, FT_WARNING, FT_NOTICE, FT_INFO, FT_DEBUG, ERROR, WARNING - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/plotting/private/ft_error.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/plotting/private/ft_error.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_error", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__plotting/_ft_estimate_units.py b/spm/__external/__fieldtrip/__plotting/_ft_estimate_units.py index db3ed1d6..ac596a3b 100644 --- a/spm/__external/__fieldtrip/__plotting/_ft_estimate_units.py +++ b/spm/__external/__fieldtrip/__plotting/_ft_estimate_units.py @@ -2,7 +2,7 @@ def _ft_estimate_units(*args, **kwargs): - """ + r""" FT_ESTIMATE_UNITS tries to determine the units of a geometrical object by looking at its size and by relating this to the approximate size of the human head according to the following table: @@ -16,15 +16,19 @@ def _ft_estimate_units(*args, **kwargs): This function will return one of the following strings 'm' + 'dm' 'cm' 'mm' See also FT_CONVERT_UNITS - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/plotting/private/ft_estimate_units.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/plotting/private/ft_estimate_units.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_estimate_units", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__plotting/_ft_getopt.py b/spm/__external/__fieldtrip/__plotting/_ft_getopt.py index 99ed0fc4..d40f9bd1 100644 --- a/spm/__external/__fieldtrip/__plotting/_ft_getopt.py +++ b/spm/__external/__fieldtrip/__plotting/_ft_getopt.py @@ -2,7 +2,7 @@ def _ft_getopt(*args, **kwargs): - """ + r""" FT_GETOPT gets the value of a specified option from a configuration structure or from a cell-array with key-value pairs. @@ -25,12 +25,15 @@ def _ft_getopt(*args, **kwargs): If emptymeaningful==true, then the empty array will be returned. If emptymeaningful==false, then the specified default will be returned. - See also FT_SETOPT, FT_CHECKOPT, INPUTPARSER + See also FT_SETOPT, FT_CHECKOPT, FT_DELETEOPT, INPUTPARSER - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/plotting/private/ft_getopt.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/plotting/private/ft_getopt.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_getopt", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__plotting/_ft_hastoolbox.py b/spm/__external/__fieldtrip/__plotting/_ft_hastoolbox.py index deacc3ba..670039c4 100644 --- a/spm/__external/__fieldtrip/__plotting/_ft_hastoolbox.py +++ b/spm/__external/__fieldtrip/__plotting/_ft_hastoolbox.py @@ -2,7 +2,7 @@ def _ft_hastoolbox(*args, **kwargs): - """ + r""" FT_HASTOOLBOX tests whether an external toolbox is installed. Optionally it will try to determine the path to the toolbox and install it automatically. @@ -19,9 +19,12 @@ def _ft_hastoolbox(*args, **kwargs): silent = 1 means that it will not give feedback - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/plotting/private/ft_hastoolbox.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/plotting/private/ft_hastoolbox.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_hastoolbox", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__plotting/_ft_headmodeltype.py b/spm/__external/__fieldtrip/__plotting/_ft_headmodeltype.py index 6012fec0..22e4e749 100644 --- a/spm/__external/__fieldtrip/__plotting/_ft_headmodeltype.py +++ b/spm/__external/__fieldtrip/__plotting/_ft_headmodeltype.py @@ -2,7 +2,7 @@ def _ft_headmodeltype(*args, **kwargs): - """ + r""" FT_HEADMODELTYPE determines the type of volume conduction model of the head Use as @@ -38,9 +38,12 @@ def _ft_headmodeltype(*args, **kwargs): FT_HEADMODEL_SINGLESHELL, FT_HEADMODEL_INTERPOLATE - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/plotting/private/ft_headmodeltype.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/plotting/private/ft_headmodeltype.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_headmodeltype", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__plotting/_ft_info.py b/spm/__external/__fieldtrip/__plotting/_ft_info.py index f18b7d9c..5e9bad3e 100644 --- a/spm/__external/__fieldtrip/__plotting/_ft_info.py +++ b/spm/__external/__fieldtrip/__plotting/_ft_info.py @@ -2,7 +2,7 @@ def _ft_info(*args, **kwargs): - """ + r""" FT_INFO prints an info message on screen, depending on the verbosity settings of the calling high-level FieldTrip function. @@ -37,9 +37,12 @@ def _ft_info(*args, **kwargs): See also FT_ERROR, FT_WARNING, FT_NOTICE, FT_INFO, FT_DEBUG, ERROR, WARNING - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/plotting/private/ft_info.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/plotting/private/ft_info.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_info", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__plotting/_ft_notice.py b/spm/__external/__fieldtrip/__plotting/_ft_notice.py index 6a474cb7..37c2f4cc 100644 --- a/spm/__external/__fieldtrip/__plotting/_ft_notice.py +++ b/spm/__external/__fieldtrip/__plotting/_ft_notice.py @@ -2,7 +2,7 @@ def _ft_notice(*args, **kwargs): - """ + r""" FT_NOTICE prints a notice message on screen, depending on the verbosity settings of the calling high-level FieldTrip function. @@ -37,9 +37,12 @@ def _ft_notice(*args, **kwargs): See also FT_ERROR, FT_WARNING, FT_NOTICE, FT_INFO, FT_DEBUG, ERROR, WARNING - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/plotting/private/ft_notice.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/plotting/private/ft_notice.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_notice", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__plotting/_ft_notification.py b/spm/__external/__fieldtrip/__plotting/_ft_notification.py index 5335c33b..d2410ca4 100644 --- a/spm/__external/__fieldtrip/__plotting/_ft_notification.py +++ b/spm/__external/__fieldtrip/__plotting/_ft_notification.py @@ -2,7 +2,7 @@ def _ft_notification(*args, **kwargs): - """ + r""" FT_NOTIFICATION works mostly like the WARNING and ERROR commands in MATLAB and is called by FT_ERROR, FT_WARNING, FT_NOTICE, FT_INFO and FT_DEBUG. Please note that you should not call this function directly. @@ -27,9 +27,12 @@ def _ft_notification(*args, **kwargs): See also DEFAULTID, FT_ERROR, FT_WARNING, FT_NOTICE, FT_INFO, FT_DEBUG, ERROR, WARNING - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/plotting/private/ft_notification.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/plotting/private/ft_notification.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_notification", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__plotting/_ft_platform_supports.py b/spm/__external/__fieldtrip/__plotting/_ft_platform_supports.py index a0f68d34..6551d5cd 100644 --- a/spm/__external/__fieldtrip/__plotting/_ft_platform_supports.py +++ b/spm/__external/__fieldtrip/__plotting/_ft_platform_supports.py @@ -2,7 +2,7 @@ def _ft_platform_supports(*args, **kwargs): - """ + r""" FT_PLATFORM_SUPPORTS returns a boolean indicating whether the current platform supports a specific capability @@ -46,9 +46,12 @@ def _ft_platform_supports(*args, **kwargs): See also FT_VERSION, VERSION, VER, VERLESSTHAN - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/plotting/private/ft_platform_supports.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/plotting/private/ft_platform_supports.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_platform_supports", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__plotting/_ft_progress.py b/spm/__external/__fieldtrip/__plotting/_ft_progress.py index b9715340..452d7c38 100644 --- a/spm/__external/__fieldtrip/__plotting/_ft_progress.py +++ b/spm/__external/__fieldtrip/__plotting/_ft_progress.py @@ -2,7 +2,7 @@ def _ft_progress(*args, **kwargs): - """ + r""" FT_PROGRESS shows a graphical or non-graphical progress indication similar to the standard WAITBAR function, but with the extra option of printing it in the command window as a plain text string or as a rotating dial. Alternatively, you can also @@ -34,9 +34,12 @@ def _ft_progress(*args, **kwargs): See also WAITBAR - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/plotting/private/ft_progress.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/plotting/private/ft_progress.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_progress", *args, **kwargs, nargout=0) diff --git a/spm/__external/__fieldtrip/__plotting/_ft_scalingfactor.py b/spm/__external/__fieldtrip/__plotting/_ft_scalingfactor.py index 85426bbd..ca200e53 100644 --- a/spm/__external/__fieldtrip/__plotting/_ft_scalingfactor.py +++ b/spm/__external/__fieldtrip/__plotting/_ft_scalingfactor.py @@ -2,7 +2,7 @@ def _ft_scalingfactor(*args, **kwargs): - """ + r""" FT_SCALINGFACTOR determines the scaling factor from old to new units, i.e. it returns a number with which the data in the old units needs to be multiplied to get it expressed in the new units. @@ -62,9 +62,12 @@ def _ft_scalingfactor(*args, **kwargs): See also http://en.wikipedia.org/wiki/International_System_of_Units - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/plotting/private/ft_scalingfactor.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/plotting/private/ft_scalingfactor.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_scalingfactor", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__plotting/_ft_senslabel.py b/spm/__external/__fieldtrip/__plotting/_ft_senslabel.py index 54149451..f7892d9f 100644 --- a/spm/__external/__fieldtrip/__plotting/_ft_senslabel.py +++ b/spm/__external/__fieldtrip/__plotting/_ft_senslabel.py @@ -2,7 +2,7 @@ def _ft_senslabel(*args, **kwargs): - """ + r""" FT_SENSLABEL returns a list of predefined sensor labels given the EEG or MEG system type which can be used to detect the type of data. @@ -60,9 +60,12 @@ def _ft_senslabel(*args, **kwargs): See also FT_SENSTYPE, FT_CHANNELSELECTION - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/plotting/private/ft_senslabel.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/plotting/private/ft_senslabel.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_senslabel", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__plotting/_ft_senstype.py b/spm/__external/__fieldtrip/__plotting/_ft_senstype.py index d27b20f7..8a00d076 100644 --- a/spm/__external/__fieldtrip/__plotting/_ft_senstype.py +++ b/spm/__external/__fieldtrip/__plotting/_ft_senstype.py @@ -2,7 +2,7 @@ def _ft_senstype(*args, **kwargs): - """ + r""" FT_SENSTYPE determines the type of acquisition device by looking at the channel names and comparing them with predefined lists. @@ -43,6 +43,7 @@ def _ft_senstype(*args, **kwargs): 'magview' this is a BabySQUID system from Tristan Technologies 'fieldline_v2' 'fieldline_v3' + 'quspin_neuro1' this can be from a LVM or a FIF file 'egi32' 'egi64' 'egi128' @@ -90,7 +91,7 @@ def _ft_senstype(*args, **kwargs): If you specify the desired type, this function will return a boolean flag indicating true/false depending on the input data. - Besides specifiying a sensor definition (i.e. a grad or elec structure, see + Besides specifying a sensor definition (i.e. a grad or elec structure, see FT_DATATYPE_SENS), it is also possible to give a data structure containing a grad or elec field, or giving a list of channel names (as cell-arrray). So assuming that you have a FieldTrip data structure, any of the following calls would also be fine. @@ -103,9 +104,12 @@ def _ft_senstype(*args, **kwargs): See also FT_SENSLABEL, FT_CHANTYPE, FT_READ_SENS, FT_COMPUTE_LEADFIELD, FT_DATATYPE_SENS - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/plotting/private/ft_senstype.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/plotting/private/ft_senstype.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_senstype", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__plotting/_ft_version.py b/spm/__external/__fieldtrip/__plotting/_ft_version.py index acbc13fb..bbff04a4 100644 --- a/spm/__external/__fieldtrip/__plotting/_ft_version.py +++ b/spm/__external/__fieldtrip/__plotting/_ft_version.py @@ -2,7 +2,7 @@ def _ft_version(*args, **kwargs): - """ + r""" FT_VERSION returns the version of FieldTrip and the path where it is installed FieldTrip is not released with version numbers as "2.0", "2.1", etc. Instead, we @@ -40,9 +40,12 @@ def _ft_version(*args, **kwargs): See also FT_PLATFORM_SUPPORTS, VERSION, VER, VERLESSTHAN - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/plotting/private/ft_version.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/plotting/private/ft_version.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_version", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__plotting/_ft_warning.py b/spm/__external/__fieldtrip/__plotting/_ft_warning.py index aef92813..898bac78 100644 --- a/spm/__external/__fieldtrip/__plotting/_ft_warning.py +++ b/spm/__external/__fieldtrip/__plotting/_ft_warning.py @@ -2,7 +2,7 @@ def _ft_warning(*args, **kwargs): - """ + r""" FT_WARNING prints a warning message on screen, depending on the verbosity settings of the calling high-level FieldTrip function. This function works similar to the standard WARNING function, but also features the "once" mode. @@ -38,9 +38,12 @@ def _ft_warning(*args, **kwargs): See also FT_ERROR, FT_WARNING, FT_NOTICE, FT_INFO, FT_DEBUG, ERROR, WARNING - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/plotting/private/ft_warning.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/plotting/private/ft_warning.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_warning", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__plotting/_ft_warp_apply.py b/spm/__external/__fieldtrip/__plotting/_ft_warp_apply.py index ccfa07ac..6aafa63e 100644 --- a/spm/__external/__fieldtrip/__plotting/_ft_warp_apply.py +++ b/spm/__external/__fieldtrip/__plotting/_ft_warp_apply.py @@ -2,50 +2,50 @@ def _ft_warp_apply(*args, **kwargs): - """ + r""" FT_WARP_APPLY performs a 3D linear or nonlinear transformation on the input coordinates, similar to those in AIR. You can find technical documentation on warping in general at http://air.bmap.ucla.edu/AIR5 Use as - [output] = ft_warp_apply(M, input, method, tol) + [output] = ft_warp_apply(transform, input, method, tol) where - M vector or matrix with warping parameters - input Nx3 matrix with input coordinates - output Nx3 matrix with the transformed or warped output coordinates - method string describing the transformation or warping method - tol (optional) value determining the numerical precision of the - output, to deal with numerical round-off imprecisions due to - the warping + transform vector or matrix with warping parameters + input Nx3 matrix with input coordinates + output Nx3 matrix with the transformed or warped output coordinates + method string describing the transformation or warping method + tol (optional) value determining the numerical precision of the + output, to deal with numerical round-off imprecisions due to + the warping The methods 'nonlin0', 'nonlin2' ... 'nonlin5' specify a polynomial transformation. - The size of the transformation matrix depends on the order of the warp + The size of the specified transform depends on the order of the warp zeroth order : 1 parameter per coordinate (translation) first order : 4 parameters per coordinate (total 12, affine) second order : 10 parameters per coordinate third order : 20 parameters per coordinate fourth order : 35 parameters per coordinate fifth order : 56 parameters per coordinate (total 168) - The size of M should be 3xP, where P is the number of parameters per coordinate. - Alternatively, you can specify the method to be 'nonlinear', in which case the - order will be determined from the size of the matrix M. + The size of the specified transform should be 3xP, where P is the number of + parameters per coordinate. Alternatively, you can specify the method to be + 'nonlinear', in which case the order will be determined from the size of the + specified transform. - If the method 'homogeneous' is selected, the input matrix M should be a 4x4 + If the method 'homogeneous' is selected, the specified transform should be a 4x4 homogenous transformation matrix. - If the method 'sn2individual' or 'individual2sn' is selected, the input M should be - a structure with the nonlinear spatial normalisation (warping) parameters created - by SPM8 or SPM12 for alignment between an individual subject and a template brain. - When using the 'old' method, M will have subfields like this: + If the method 'sn2individual' or 'individual2sn' is selected, the specified + transform should be a structure with the nonlinear spatial normalisation (warping) + parameters created by SPM8 or SPM12 for alignment between an individual subject and + a template brain. The specified transform is a structure with fields like this: Affine: [4x4 double] Tr: [4-D double] VF: [1x1 struct] VG: [1x1 struct] flags: [1x1 struct] - When using the 'new' or the 'mars' method, M will have subfields like this: If any other method is selected, it is assumed that it specifies the name of an - auxiliary function that will, when given the input parameter vector M, return an + auxiliary function that will, when given the specified transform vector, return an 4x4 homogenous transformation matrix. Supplied functions are 'translate', 'rotate', 'scale', 'rigidbody', 'globalrescale', 'traditional', 'affine', 'perspective', 'quaternion'. @@ -54,9 +54,12 @@ def _ft_warp_apply(*args, **kwargs): MAKETFORM, AFFINE2D, AFFINE3D - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/plotting/private/ft_warp_apply.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/plotting/private/ft_warp_apply.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_warp_apply", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__plotting/_ftcolors.py b/spm/__external/__fieldtrip/__plotting/_ftcolors.py index bdecd534..d91e737b 100644 --- a/spm/__external/__fieldtrip/__plotting/_ftcolors.py +++ b/spm/__external/__fieldtrip/__plotting/_ftcolors.py @@ -2,7 +2,7 @@ def _ftcolors(*args, **kwargs): - """ + r""" FTCOLORS returns an Nx3 rgb matrix with the colors of the fieldtrip logo at its extremes. Can be used as a colormap by FT_COLORMAP @@ -14,9 +14,12 @@ def _ftcolors(*args, **kwargs): Without input arguments, N will be set to 64 - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/plotting/private/ftcolors.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/plotting/private/ftcolors.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ftcolors", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__plotting/_getdatfield.py b/spm/__external/__fieldtrip/__plotting/_getdatfield.py index 0d2e3ab1..3f4aa71f 100644 --- a/spm/__external/__fieldtrip/__plotting/_getdatfield.py +++ b/spm/__external/__fieldtrip/__plotting/_getdatfield.py @@ -2,7 +2,7 @@ def _getdatfield(*args, **kwargs): - """ + r""" GETDATFIELD Use as @@ -12,9 +12,12 @@ def _getdatfield(*args, **kwargs): See also GETDIMORD, GETDIMSIZ - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/plotting/private/getdatfield.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/plotting/private/getdatfield.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("getdatfield", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__plotting/_getsubfield.py b/spm/__external/__fieldtrip/__plotting/_getsubfield.py index 1b21c95a..89078b24 100644 --- a/spm/__external/__fieldtrip/__plotting/_getsubfield.py +++ b/spm/__external/__fieldtrip/__plotting/_getsubfield.py @@ -2,7 +2,7 @@ def _getsubfield(*args, **kwargs): - """ + r""" GETSUBFIELD returns a field from a structure just like the standard GETFIELD function, except that you can also specify nested fields using a '.' in the fieldname. The nesting can be arbitrary deep. @@ -15,9 +15,12 @@ def _getsubfield(*args, **kwargs): See also GETFIELD, ISSUBFIELD, SETSUBFIELD - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/plotting/private/getsubfield.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/plotting/private/getsubfield.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("getsubfield", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__plotting/_headsurface.py b/spm/__external/__fieldtrip/__plotting/_headsurface.py index 14a36eef..86abe5e3 100644 --- a/spm/__external/__fieldtrip/__plotting/_headsurface.py +++ b/spm/__external/__fieldtrip/__plotting/_headsurface.py @@ -2,7 +2,7 @@ def _headsurface(*args, **kwargs): - """ + r""" HEADSURFACE constructs a triangulated description of the skin or brain surface from a volume conduction model, from a set of electrodes or gradiometers, or from a combination of the two. It returns a closed @@ -22,9 +22,12 @@ def _headsurface(*args, **kwargs): headshape = string, file containing the head shape - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/plotting/private/headsurface.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/plotting/private/headsurface.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("headsurface", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__plotting/_htmlcolors.py b/spm/__external/__fieldtrip/__plotting/_htmlcolors.py index c064f81c..056f7b5c 100644 --- a/spm/__external/__fieldtrip/__plotting/_htmlcolors.py +++ b/spm/__external/__fieldtrip/__plotting/_htmlcolors.py @@ -2,7 +2,7 @@ def _htmlcolors(*args, **kwargs): - """ + r""" HTMLCOLORS looks up the RGB value for a named color (string), or the name for a given RGB value Use as @@ -15,12 +15,15 @@ def _htmlcolors(*args, **kwargs): See https://www.rapidtables.com/web/color/html-color-codes.html and https://www.color-hex.com/color-palettes/ - See also FT_COLORMAP, COLORMAP, COLORMAPEDITOR, BREWERMAP, MATPLOTLIB, CMOCEAN + See also STANDARDCOLORS, COLORSPEC2RGB, FT_COLORMAP, COLORMAP, COLORMAPEDITOR, BREWERMAP, MATPLOTLIB, CMOCEAN - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/plotting/private/htmlcolors.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/plotting/private/htmlcolors.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("htmlcolors", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__plotting/_inside_contour.py b/spm/__external/__fieldtrip/__plotting/_inside_contour.py index f1804b84..e1906839 100644 --- a/spm/__external/__fieldtrip/__plotting/_inside_contour.py +++ b/spm/__external/__fieldtrip/__plotting/_inside_contour.py @@ -2,14 +2,17 @@ def _inside_contour(*args, **kwargs): - """ + r""" inside_contour is a function. bool = inside_contour(pos, contour) - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/plotting/private/inside_contour.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/plotting/private/inside_contour.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("inside_contour", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__plotting/_intersect_line.py b/spm/__external/__fieldtrip/__plotting/_intersect_line.py index 6689978c..3943feb8 100644 --- a/spm/__external/__fieldtrip/__plotting/_intersect_line.py +++ b/spm/__external/__fieldtrip/__plotting/_intersect_line.py @@ -2,7 +2,7 @@ def _intersect_line(*args, **kwargs): - """ + r""" INTERSECT_LINE finds the intersection points between a mesh and a line. Use as: @@ -21,9 +21,12 @@ def _intersect_line(*args, **kwargs): Adapted to FieldTrip by Jan-Mathijs Schoffelen 2012 - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/plotting/private/intersect_line.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/plotting/private/intersect_line.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("intersect_line", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__plotting/_intersect_plane.py b/spm/__external/__fieldtrip/__plotting/_intersect_plane.py index 2ff61b98..c2610a1a 100644 --- a/spm/__external/__fieldtrip/__plotting/_intersect_plane.py +++ b/spm/__external/__fieldtrip/__plotting/_intersect_plane.py @@ -2,7 +2,7 @@ def _intersect_plane(*args, **kwargs): - """ + r""" INTERSECT_PLANE intersection between a triangulated surface mesh and a plane. It returns the coordinates of the begin- and endpoints of the line segments that together form the contour of the intersection. @@ -15,9 +15,12 @@ def _intersect_plane(*args, **kwargs): segments. - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/plotting/private/intersect_plane.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/plotting/private/intersect_plane.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("intersect_plane", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__plotting/_issubfield.py b/spm/__external/__fieldtrip/__plotting/_issubfield.py index 8a2f1d8f..1884c180 100644 --- a/spm/__external/__fieldtrip/__plotting/_issubfield.py +++ b/spm/__external/__fieldtrip/__plotting/_issubfield.py @@ -2,7 +2,7 @@ def _issubfield(*args, **kwargs): - """ + r""" ISSUBFIELD tests for the presence of a field in a structure just like the standard Matlab ISFIELD function, except that you can also specify nested fields using a '.' in the fieldname. The nesting can be arbitrary deep. @@ -18,9 +18,12 @@ def _issubfield(*args, **kwargs): See also ISFIELD, GETSUBFIELD, SETSUBFIELD - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/plotting/private/issubfield.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/plotting/private/issubfield.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("issubfield", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__plotting/_istrue.py b/spm/__external/__fieldtrip/__plotting/_istrue.py index 18456682..eef49aa2 100644 --- a/spm/__external/__fieldtrip/__plotting/_istrue.py +++ b/spm/__external/__fieldtrip/__plotting/_istrue.py @@ -2,14 +2,17 @@ def _istrue(*args, **kwargs): - """ + r""" ISTRUE converts an input argument like "yes/no", "true/false" or "on/off" into a boolean. If the input is boolean, then it will remain like that. - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/plotting/private/istrue.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/plotting/private/istrue.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("istrue", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__plotting/_keyval.py b/spm/__external/__fieldtrip/__plotting/_keyval.py index 821cd2ee..12763fed 100644 --- a/spm/__external/__fieldtrip/__plotting/_keyval.py +++ b/spm/__external/__fieldtrip/__plotting/_keyval.py @@ -2,7 +2,7 @@ def _keyval(*args, **kwargs): - """ + r""" KEYVAL returns the value that corresponds to the requested key in a key-value pair list of variable input arguments @@ -12,9 +12,12 @@ def _keyval(*args, **kwargs): See also VARARGIN - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/plotting/private/keyval.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/plotting/private/keyval.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("keyval", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__plotting/_keyvalcheck.py b/spm/__external/__fieldtrip/__plotting/_keyvalcheck.py index 3d7418ff..adc50480 100644 --- a/spm/__external/__fieldtrip/__plotting/_keyvalcheck.py +++ b/spm/__external/__fieldtrip/__plotting/_keyvalcheck.py @@ -2,7 +2,7 @@ def _keyvalcheck(*args, **kwargs): - """ + r""" KEYVALCHECK is a helper function for parsing optional key-value input pairs. Use as @@ -13,9 +13,12 @@ def _keyvalcheck(*args, **kwargs): See also KEYVAL - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/plotting/private/keyvalcheck.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/plotting/private/keyvalcheck.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("keyvalcheck", *args, **kwargs, nargout=0) diff --git a/spm/__external/__fieldtrip/__plotting/_lmoutrn.py b/spm/__external/__fieldtrip/__plotting/_lmoutrn.py index cd865a45..ef3503f2 100644 --- a/spm/__external/__fieldtrip/__plotting/_lmoutrn.py +++ b/spm/__external/__fieldtrip/__plotting/_lmoutrn.py @@ -2,7 +2,7 @@ def _lmoutrn(*args, **kwargs): - """ + r""" LMOUTRN computes the la/mu parameters of a point projected to triangles Use as @@ -16,9 +16,12 @@ def _lmoutrn(*args, **kwargs): lies closer to the average across all vertices and the triangle under consideration. - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/plotting/private/lmoutrn.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/plotting/private/lmoutrn.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("lmoutrn", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__plotting/_ltrisect.py b/spm/__external/__fieldtrip/__plotting/_ltrisect.py index 9957df2b..851305cc 100644 --- a/spm/__external/__fieldtrip/__plotting/_ltrisect.py +++ b/spm/__external/__fieldtrip/__plotting/_ltrisect.py @@ -2,18 +2,21 @@ def _ltrisect(*args, **kwargs): - """ + r""" LTRISECT intersects a line with a plane spanned by three vertices Use as - [sect] = ltrisect(v1, v2, v3, l1, l2) + [pos] = ltrisect(v1, v2, v3, l1, l2) where v1, v2 and v3 are three vertices spanning the plane, and l1 and l2 are two points on the line - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/plotting/private/ltrisect.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/plotting/private/ltrisect.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ltrisect", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__plotting/_match_str.py b/spm/__external/__fieldtrip/__plotting/_match_str.py index d2d6f9a0..3f59dbd0 100644 --- a/spm/__external/__fieldtrip/__plotting/_match_str.py +++ b/spm/__external/__fieldtrip/__plotting/_match_str.py @@ -2,7 +2,7 @@ def _match_str(*args, **kwargs): - """ + r""" MATCH_STR looks for matching labels in two lists of strings and returns the indices into both the 1st and 2nd list of the matches. They will be ordered according to the first input argument. @@ -20,9 +20,12 @@ def _match_str(*args, **kwargs): size of the input lists is meaningful. - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/plotting/private/match_str.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/plotting/private/match_str.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("match_str", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__plotting/_menu_viewpoint.py b/spm/__external/__fieldtrip/__plotting/_menu_viewpoint.py index 232f8ed3..82c7acc7 100644 --- a/spm/__external/__fieldtrip/__plotting/_menu_viewpoint.py +++ b/spm/__external/__fieldtrip/__plotting/_menu_viewpoint.py @@ -2,15 +2,18 @@ def _menu_viewpoint(*args, **kwargs): - """ + r""" MENU_VIEWPOINT adds a context menu to a 3D figure. See also MENU_FIELDTRIP - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/plotting/private/menu_viewpoint.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/plotting/private/menu_viewpoint.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("menu_viewpoint", *args, **kwargs, nargout=0) diff --git a/spm/__external/__fieldtrip/__plotting/_mesh2edge.py b/spm/__external/__fieldtrip/__plotting/_mesh2edge.py index 2d430a80..a98ee286 100644 --- a/spm/__external/__fieldtrip/__plotting/_mesh2edge.py +++ b/spm/__external/__fieldtrip/__plotting/_mesh2edge.py @@ -2,7 +2,7 @@ def _mesh2edge(*args, **kwargs): - """ + r""" MESH2EDGE finds the edge lines from a triangulated mesh or the edge surfaces from a tetrahedral or hexahedral mesh. An edge is defined as an element that does not border any other element. This also implies that a @@ -11,12 +11,15 @@ def _mesh2edge(*args, **kwargs): Use as [edge] = mesh2edge(mesh) - See also POLY2TRI + See also POLY2TRI, TRI2BND - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/plotting/private/mesh2edge.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/plotting/private/mesh2edge.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("mesh2edge", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__plotting/_mesh_cone.py b/spm/__external/__fieldtrip/__plotting/_mesh_cone.py index 506538a9..7eb700d6 100644 --- a/spm/__external/__fieldtrip/__plotting/_mesh_cone.py +++ b/spm/__external/__fieldtrip/__plotting/_mesh_cone.py @@ -2,7 +2,7 @@ def _mesh_cone(*args, **kwargs): - """ + r""" MESH_CONE creates a triangulated cone Use as @@ -13,9 +13,12 @@ def _mesh_cone(*args, **kwargs): See also MESH_TETRAHEDRON, MESH_OCTAHEDRON, MESH_ICOSAHEDRON, MESH_SPHERE, MESH_CUBE - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/plotting/private/mesh_cone.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/plotting/private/mesh_cone.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("mesh_cone", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__plotting/_mesh_cube.py b/spm/__external/__fieldtrip/__plotting/_mesh_cube.py index cc402b6b..1c708b02 100644 --- a/spm/__external/__fieldtrip/__plotting/_mesh_cube.py +++ b/spm/__external/__fieldtrip/__plotting/_mesh_cube.py @@ -2,7 +2,7 @@ def _mesh_cube(*args, **kwargs): - """ + r""" MESH_CUBE creates a triangulated cube Use as @@ -11,9 +11,12 @@ def _mesh_cube(*args, **kwargs): See also MESH_TETRAHEDRON, MESH_OCTAHEDRON, MESH_ICOSAHEDRON, MESH_SPHERE, MESH_CONE - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/plotting/private/mesh_cube.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/plotting/private/mesh_cube.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("mesh_cube", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__plotting/_mesh_cylinder.py b/spm/__external/__fieldtrip/__plotting/_mesh_cylinder.py index 4e1a653c..15a5d1c5 100644 --- a/spm/__external/__fieldtrip/__plotting/_mesh_cylinder.py +++ b/spm/__external/__fieldtrip/__plotting/_mesh_cylinder.py @@ -2,16 +2,19 @@ def _mesh_cylinder(*args, **kwargs): - """ + r""" MESH_CYLINDER creates a triangulated cylinder Use as [pnt, tri] = mesh_cylinder(Naz, Nel) - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/plotting/private/mesh_cylinder.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/plotting/private/mesh_cylinder.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("mesh_cylinder", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__plotting/_mesh_icosahedron.py b/spm/__external/__fieldtrip/__plotting/_mesh_icosahedron.py index f92f6aac..fced311a 100644 --- a/spm/__external/__fieldtrip/__plotting/_mesh_icosahedron.py +++ b/spm/__external/__fieldtrip/__plotting/_mesh_icosahedron.py @@ -2,7 +2,7 @@ def _mesh_icosahedron(*args, **kwargs): - """ + r""" MESH_ICOSAHEDRON returns the vertices and triangle of a 12-vertex icosahedral mesh. @@ -12,9 +12,12 @@ def _mesh_icosahedron(*args, **kwargs): See also MESH_TETRAHEDRON, MESH_OCTAHEDRON, MESH_SPHERE - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/plotting/private/mesh_icosahedron.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/plotting/private/mesh_icosahedron.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("mesh_icosahedron", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__plotting/_mesh_octahedron.py b/spm/__external/__fieldtrip/__plotting/_mesh_octahedron.py index 870a134b..c3dfd961 100644 --- a/spm/__external/__fieldtrip/__plotting/_mesh_octahedron.py +++ b/spm/__external/__fieldtrip/__plotting/_mesh_octahedron.py @@ -2,7 +2,7 @@ def _mesh_octahedron(*args, **kwargs): - """ + r""" MESH_OCTAHEDRON returns the vertices and triangles of an octahedron Use as @@ -11,9 +11,12 @@ def _mesh_octahedron(*args, **kwargs): See also MESH_TETRAHEDRON, MESH_OCTAHEDRON, MESH_SPHERE - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/plotting/private/mesh_octahedron.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/plotting/private/mesh_octahedron.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("mesh_octahedron", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__plotting/_mesh_sphere.py b/spm/__external/__fieldtrip/__plotting/_mesh_sphere.py index f21f525a..c23fc6e0 100644 --- a/spm/__external/__fieldtrip/__plotting/_mesh_sphere.py +++ b/spm/__external/__fieldtrip/__plotting/_mesh_sphere.py @@ -2,7 +2,7 @@ def _mesh_sphere(*args, **kwargs): - """ + r""" MESH_SPHERE creates spherical mesh, with approximately nvertices vertices Use as @@ -23,9 +23,12 @@ def _mesh_sphere(*args, **kwargs): See also MESH_TETRAHEDRON, MESH_OCTAHEDRON, MESH_ICOSAHEDRON - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/plotting/private/mesh_sphere.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/plotting/private/mesh_sphere.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("mesh_sphere", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__plotting/_mesh_tetrahedron.py b/spm/__external/__fieldtrip/__plotting/_mesh_tetrahedron.py index 0730b4f1..416b6a47 100644 --- a/spm/__external/__fieldtrip/__plotting/_mesh_tetrahedron.py +++ b/spm/__external/__fieldtrip/__plotting/_mesh_tetrahedron.py @@ -2,7 +2,7 @@ def _mesh_tetrahedron(*args, **kwargs): - """ + r""" MESH_TETRAHEDRON returns the vertices and triangles of a tetrahedron. Use as @@ -11,9 +11,12 @@ def _mesh_tetrahedron(*args, **kwargs): See also MESH_ICOSAHEDRON, MESH_OCTAHEDRON, MESH_SPHERE - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/plotting/private/mesh_tetrahedron.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/plotting/private/mesh_tetrahedron.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("mesh_tetrahedron", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__plotting/_ndgrid.py b/spm/__external/__fieldtrip/__plotting/_ndgrid.py index cbaadb2e..efb2b5e4 100644 --- a/spm/__external/__fieldtrip/__plotting/_ndgrid.py +++ b/spm/__external/__fieldtrip/__plotting/_ndgrid.py @@ -2,7 +2,7 @@ def _ndgrid(*args, **kwargs): - """ + r""" NDGRID Generation of arrays for N-D functions and interpolation. [X1,X2,X3,...] = NDGRID(x1,x2,x3,...) transforms the domain specified by vectors x1,x2,x3, etc. into arrays X1,X2,X3, etc. that @@ -33,9 +33,12 @@ def _ndgrid(*args, **kwargs): See also MESHGRID, INTERPN. - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/plotting/private/ndgrid.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/plotting/private/ndgrid.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ndgrid", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__plotting/_normals_elec.py b/spm/__external/__fieldtrip/__plotting/_normals_elec.py new file mode 100644 index 00000000..1ca01d54 --- /dev/null +++ b/spm/__external/__fieldtrip/__plotting/_normals_elec.py @@ -0,0 +1,27 @@ +from spm._runtime import Runtime + + +def _normals_elec(*args, **kwargs): + r""" + NORMALS_ELEC computes the surface normals for the electrodes from the given + triangulated headshape + + Use as + nrm = normals_elec(elc, pos, tri) + where + elc = Kx3 matrix with the position of all electrodes + pos = Mx3 matrix with vertex locations of the triangulated headshape + tri = Nx3 matrix with the vertex indices for each of the triangles + + See also PROJECT_ELEC, TRANSFER_ELEC, PCNORMALS + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/plotting/private/normals_elec.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("normals_elec", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__plotting/_octahedron.py b/spm/__external/__fieldtrip/__plotting/_octahedron.py index d6c3ccce..638ee982 100644 --- a/spm/__external/__fieldtrip/__plotting/_octahedron.py +++ b/spm/__external/__fieldtrip/__plotting/_octahedron.py @@ -2,7 +2,7 @@ def _octahedron(*args, **kwargs): - """ + r""" OCTAHEDRON Use as @@ -11,9 +11,12 @@ def _octahedron(*args, **kwargs): See also TETRAHEDRON ICOSAHEDRON - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/plotting/private/octahedron.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/plotting/private/octahedron.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("octahedron", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__plotting/_outline_shape.py b/spm/__external/__fieldtrip/__plotting/_outline_shape.py new file mode 100644 index 00000000..77524b3a --- /dev/null +++ b/spm/__external/__fieldtrip/__plotting/_outline_shape.py @@ -0,0 +1,20 @@ +from spm._runtime import Runtime + + +def _outline_shape(*args, **kwargs): + r""" + helper function for ft_prepare_layout and ft_plot_topo to create an + outline (to-be-plotted), or a mask (to use as extrapolation boundary). + The input is either a layout structure, or an Nx2 matrix with point + positions. + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/plotting/private/outline_shape.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("outline_shape", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__plotting/_pinvNx2.py b/spm/__external/__fieldtrip/__plotting/_pinvNx2.py index d5c9c0bf..8c89800c 100644 --- a/spm/__external/__fieldtrip/__plotting/_pinvNx2.py +++ b/spm/__external/__fieldtrip/__plotting/_pinvNx2.py @@ -2,15 +2,18 @@ def _pinvNx2(*args, **kwargs): - """ + r""" PINVNX2 computes a pseudo-inverse of the M slices of an MxNx2 real-valued matrix. Output has dimensionality Mx2xN. This implementation is generally faster than calling pinv in a for-loop, once M > 2 - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/plotting/private/pinvNx2.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/plotting/private/pinvNx2.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("pinvNx2", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__plotting/_projecttri.py b/spm/__external/__fieldtrip/__plotting/_projecttri.py index 7c148469..fce40560 100644 --- a/spm/__external/__fieldtrip/__plotting/_projecttri.py +++ b/spm/__external/__fieldtrip/__plotting/_projecttri.py @@ -2,7 +2,7 @@ def _projecttri(*args, **kwargs): - """ + r""" PROJECTTRI makes a closed triangulation of a list of vertices by projecting them onto a unit sphere and subsequently by constructing a convex hull triangulation. @@ -14,9 +14,12 @@ def _projecttri(*args, **kwargs): See also SURFACE_NORMALS, PCNORMALS, ELPROJ - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/plotting/private/projecttri.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/plotting/private/projecttri.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("projecttri", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__plotting/_ptriprojn.py b/spm/__external/__fieldtrip/__plotting/_ptriprojn.py index 187e3dec..d10f9e29 100644 --- a/spm/__external/__fieldtrip/__plotting/_ptriprojn.py +++ b/spm/__external/__fieldtrip/__plotting/_ptriprojn.py @@ -2,7 +2,7 @@ def _ptriprojn(*args, **kwargs): - """ + r""" PTRIPROJN projects a point onto the plane going through a set of triangles @@ -18,9 +18,12 @@ def _ptriprojn(*args, **kwargs): 1 project the point within or on the edge of the triangle - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/plotting/private/ptriprojn.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/plotting/private/ptriprojn.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ptriprojn", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__plotting/_ptriside.py b/spm/__external/__fieldtrip/__plotting/_ptriside.py index 36afb48e..8982e77b 100644 --- a/spm/__external/__fieldtrip/__plotting/_ptriside.py +++ b/spm/__external/__fieldtrip/__plotting/_ptriside.py @@ -2,7 +2,7 @@ def _ptriside(*args, **kwargs): - """ + r""" PTRISIDE determines the side of a plane on which a set of points lie. It returns 0 for the points that lie exactly on the plane. @@ -13,9 +13,12 @@ def _ptriside(*args, **kwargs): Nx3 matrix - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/plotting/private/ptriside.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/plotting/private/ptriside.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ptriside", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__plotting/_quaternion.py b/spm/__external/__fieldtrip/__plotting/_quaternion.py index 5765e99f..29bcb2e0 100644 --- a/spm/__external/__fieldtrip/__plotting/_quaternion.py +++ b/spm/__external/__fieldtrip/__plotting/_quaternion.py @@ -2,7 +2,7 @@ def _quaternion(*args, **kwargs): - """ + r""" QUATERNION returns the homogenous coordinate transformation matrix corresponding to a coordinate transformation described by 7 quaternion parameters. @@ -20,9 +20,12 @@ def _quaternion(*args, **kwargs): See also TRANSLATE, ROTATE, SCALE, HOMOGENOUS2QUATERNION - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/plotting/private/quaternion.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/plotting/private/quaternion.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("quaternion", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__plotting/_refine.py b/spm/__external/__fieldtrip/__plotting/_refine.py index c4383e25..6160fdf1 100644 --- a/spm/__external/__fieldtrip/__plotting/_refine.py +++ b/spm/__external/__fieldtrip/__plotting/_refine.py @@ -2,12 +2,13 @@ def _refine(*args, **kwargs): - """ + r""" REFINE a 3D surface that is described by a triangulation Use as [pos, tri] = refine(pos, tri) [pos, tri] = refine(pos, tri, 'banks') + [pos, tri] = refine(pos, tri, 'midpoint') [pos, tri, texture] = refine(pos, tri, 'banks', texture) [pos, tri] = refine(pos, tri, 'updown', numtri) @@ -31,9 +32,12 @@ def _refine(*args, **kwargs): reference. - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/plotting/private/refine.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/plotting/private/refine.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("refine", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__plotting/_remove_vertices.py b/spm/__external/__fieldtrip/__plotting/_remove_vertices.py index be9cd6fb..0092b094 100644 --- a/spm/__external/__fieldtrip/__plotting/_remove_vertices.py +++ b/spm/__external/__fieldtrip/__plotting/_remove_vertices.py @@ -2,7 +2,7 @@ def _remove_vertices(*args, **kwargs): - """ + r""" REMOVE_VERTICES removes specified indexed vertices from a triangular, tetrahedral or hexahedral mesh renumbering the vertex-indices for the elements and removing all resulting 'open' elements. @@ -15,9 +15,12 @@ def _remove_vertices(*args, **kwargs): See also REMOVE_DOUBLE_VERTICES, REMOVE_UNUSED_VERTICES - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/plotting/private/remove_vertices.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/plotting/private/remove_vertices.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("remove_vertices", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__plotting/_rmsubfield.py b/spm/__external/__fieldtrip/__plotting/_rmsubfield.py index 441da0fb..d81df238 100644 --- a/spm/__external/__fieldtrip/__plotting/_rmsubfield.py +++ b/spm/__external/__fieldtrip/__plotting/_rmsubfield.py @@ -2,7 +2,7 @@ def _rmsubfield(*args, **kwargs): - """ + r""" RMSUBFIELD removes the contents of the specified field from a structure just like the standard Matlab RMFIELD function, except that you can also specify nested fields using a '.' in the fieldname. The nesting can be @@ -16,9 +16,12 @@ def _rmsubfield(*args, **kwargs): See also SETFIELD, GETSUBFIELD, ISSUBFIELD - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/plotting/private/rmsubfield.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/plotting/private/rmsubfield.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("rmsubfield", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__plotting/_rotate.py b/spm/__external/__fieldtrip/__plotting/_rotate.py index d432b2ca..d37e5c39 100644 --- a/spm/__external/__fieldtrip/__plotting/_rotate.py +++ b/spm/__external/__fieldtrip/__plotting/_rotate.py @@ -2,7 +2,7 @@ def _rotate(*args, **kwargs): - """ + r""" ROTATE returns the homogenous coordinate transformation matrix corresponding to a rotation around the x, y and z-axis. The direction of the rotation is according to the right-hand rule. @@ -20,9 +20,12 @@ def _rotate(*args, **kwargs): See also TRANSLATE, SCALE, RIGIDBODY, QUATERNION, HOMOGENOUS2TRADITIONAL - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/plotting/private/rotate.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/plotting/private/rotate.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("rotate", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__plotting/_scale.py b/spm/__external/__fieldtrip/__plotting/_scale.py index 9e11c603..7a6f6ca7 100644 --- a/spm/__external/__fieldtrip/__plotting/_scale.py +++ b/spm/__external/__fieldtrip/__plotting/_scale.py @@ -2,7 +2,7 @@ def _scale(*args, **kwargs): - """ + r""" SCALE returns the homogenous coordinate transformation matrix corresponding to a scaling along the x, y and z-axis @@ -15,9 +15,12 @@ def _scale(*args, **kwargs): See also TRANSLATE, ROTATE, RIGIDBODY, QUATERNION, HOMOGENOUS2TRADITIONAL - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/plotting/private/scale.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/plotting/private/scale.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("scale", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__plotting/_select3d.py b/spm/__external/__fieldtrip/__plotting/_select3d.py index b0acd0ae..999547cb 100644 --- a/spm/__external/__fieldtrip/__plotting/_select3d.py +++ b/spm/__external/__fieldtrip/__plotting/_select3d.py @@ -2,7 +2,7 @@ def _select3d(*args, **kwargs): - """ + r""" SELECT3D(H) Determines the selected point in 3-D data space. P = SELECT3D determines the point, P, in data space corresponding to the current selection position. P is a point on the first @@ -59,9 +59,12 @@ def _select3d(*args, **kwargs): See also GINPUT, GCO. - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/plotting/private/select3d.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/plotting/private/select3d.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("select3d", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__plotting/_select3dtool.py b/spm/__external/__fieldtrip/__plotting/_select3dtool.py index 3c08cb77..1fb14125 100644 --- a/spm/__external/__fieldtrip/__plotting/_select3dtool.py +++ b/spm/__external/__fieldtrip/__plotting/_select3dtool.py @@ -2,7 +2,7 @@ def _select3dtool(*args, **kwargs): - """ + r""" SELECT3DTOOL A simple tool for interactively obtaining 3-D coordinates SELECT3DTOOL(FIG) Specify figure handle @@ -13,9 +13,12 @@ def _select3dtool(*args, **kwargs): % click on surface - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/plotting/private/select3dtool.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/plotting/private/select3dtool.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("select3dtool", *args, **kwargs, nargout=0) diff --git a/spm/__external/__fieldtrip/__plotting/_select_elec.py b/spm/__external/__fieldtrip/__plotting/_select_elec.py new file mode 100644 index 00000000..d317a133 --- /dev/null +++ b/spm/__external/__fieldtrip/__plotting/_select_elec.py @@ -0,0 +1,17 @@ +from spm._runtime import Runtime + + +def _select_elec(*args, **kwargs): + r""" + SELECT_ELEC make a selection of channels + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/plotting/private/select_elec.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("select_elec", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__plotting/_select_grad.py b/spm/__external/__fieldtrip/__plotting/_select_grad.py new file mode 100644 index 00000000..78c8a831 --- /dev/null +++ b/spm/__external/__fieldtrip/__plotting/_select_grad.py @@ -0,0 +1,17 @@ +from spm._runtime import Runtime + + +def _select_grad(*args, **kwargs): + r""" + SELECT_GRAD make a selection of channels + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/plotting/private/select_grad.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("select_grad", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__plotting/_select_opto.py b/spm/__external/__fieldtrip/__plotting/_select_opto.py new file mode 100644 index 00000000..bc356a9d --- /dev/null +++ b/spm/__external/__fieldtrip/__plotting/_select_opto.py @@ -0,0 +1,17 @@ +from spm._runtime import Runtime + + +def _select_opto(*args, **kwargs): + r""" + SELECT_OPTO make a selection of channels + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/plotting/private/select_opto.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("select_opto", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__plotting/_setsubfield.py b/spm/__external/__fieldtrip/__plotting/_setsubfield.py index e60f45be..191c0ca4 100644 --- a/spm/__external/__fieldtrip/__plotting/_setsubfield.py +++ b/spm/__external/__fieldtrip/__plotting/_setsubfield.py @@ -2,7 +2,7 @@ def _setsubfield(*args, **kwargs): - """ + r""" SETSUBFIELD sets the contents of the specified field to a specified value just like the standard Matlab SETFIELD function, except that you can also specify nested fields using a '.' in the fieldname. The nesting can be @@ -19,9 +19,12 @@ def _setsubfield(*args, **kwargs): See also SETFIELD, GETSUBFIELD, ISSUBFIELD - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/plotting/private/setsubfield.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/plotting/private/setsubfield.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("setsubfield", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__plotting/_setviewpoint.py b/spm/__external/__fieldtrip/__plotting/_setviewpoint.py index a6b1641f..2e9882d9 100644 --- a/spm/__external/__fieldtrip/__plotting/_setviewpoint.py +++ b/spm/__external/__fieldtrip/__plotting/_setviewpoint.py @@ -2,7 +2,7 @@ def _setviewpoint(*args, **kwargs): - """ + r""" SETVIEWPOINT changes the viewpoint for a 3D image that contains data in a known coordinate system Use as @@ -11,12 +11,15 @@ def _setviewpoint(*args, **kwargs): For example setviewpoint(gca, 'mni', 'left') - See alo GETORTHOVIEWPOS, COORDSYS2LABEL + See also GETORTHOVIEWPOS, COORDSYS2LABEL - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/plotting/private/setviewpoint.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/plotting/private/setviewpoint.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("setviewpoint", *args, **kwargs, nargout=0) diff --git a/spm/__external/__fieldtrip/__plotting/_solid_angle.py b/spm/__external/__fieldtrip/__plotting/_solid_angle.py index d99fc6e5..a9daf82e 100644 --- a/spm/__external/__fieldtrip/__plotting/_solid_angle.py +++ b/spm/__external/__fieldtrip/__plotting/_solid_angle.py @@ -2,7 +2,7 @@ def _solid_angle(*args, **kwargs): - """ + r""" SOLID_ANGLE of a planar triangle as seen from the origin The solid angle W subtended by a surface S is defined as the surface @@ -10,7 +10,7 @@ def _solid_angle(*args, **kwargs): sphere. Solid angle is measured in steradians, and the solid angle corresponding to all of space being subtended is 4*pi sterradians. - Use: + Use as [w] = solid_angle(v1, v2, v3) or [w] = solid_angle(pnt, tri) @@ -19,9 +19,12 @@ def _solid_angle(*args, **kwargs): compute the solid angle for each triangle) - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/plotting/private/solid_angle.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/plotting/private/solid_angle.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("solid_angle", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__plotting/_standardcolors.py b/spm/__external/__fieldtrip/__plotting/_standardcolors.py index 8a3bfd2d..a58fdb63 100644 --- a/spm/__external/__fieldtrip/__plotting/_standardcolors.py +++ b/spm/__external/__fieldtrip/__plotting/_standardcolors.py @@ -1,54 +1,57 @@ -from mpython import Runtime +from spm._runtime import Runtime def _standardcolors(*args, **kwargs): - """ - STANDARDCOLORS looks up the RGB value for a named color that is specified as - a string, or looks up the name given the RGB value. - - Use as - rgb = standardcolors(name) - or - name = standardcolors(rgb) - or - list = standardcolors - - This returns a predefined color as [red green blue] values, according to - the following mapping: - red = [255 0 0]/255; - green = [ 0 192 0]/255; - blue = [ 0 0 255]/255; - magenta = [255 255 0]/255; - cyan = [ 0 255 255]/255; - yellow = [255 255 0]/255; - white = [255 255 255]/255; - black = [ 0 0 0]/255; - brain = [202 100 100]/255; - skull = [140 85 85]/255 - cortex = [255 213 119]/255; - cortex_light = [199 194 169]/255; - cortex_dark = [100 97 85]/255; - skin = [249 223 192]/255; - skin_light = [249 223 192]/255; - skin_medium_light = [225 194 158]/255; - skin_medium = [188 142 106]/255; - skin_medium_dark = [155 102 65]/255; - skin_dark = [ 91 71 61]/255; - - The different skin-based colors follow the Fitzpatrick scale with type I and II - combined, and return RGB values that approximate those used by Apple in the emoji - skin tones. See also https://emojipedia.org/emoji-modifier-sequence/ - - If no specific skin tone is specified, this function returns a light skin color. - This corresponds with that of one of the developers who approximated his own skin - color more than 15 years ago upon the first implementation of this function. - - See also HTMLCOLORS, COLORSPEC2RGB, FT_COLORMAP, COLORMAP, COLORMAPEDITOR, BREWERMAP, MATPLOTLIB, CMOCEAM - - - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/plotting/private/standardcolors.m ) - - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + r""" + STANDARDCOLORS looks up the RGB value for a named color that is specified as + a string, or looks up the name given the RGB value. + + Use as + rgb = standardcolors(name) + or + name = standardcolors(rgb) + or + list = standardcolors + + This returns a predefined color as [red green blue] values, according to + the following mapping: + red = [255 0 0]/255; + green = [ 0 192 0]/255; + blue = [ 0 0 255]/255; + magenta = [255 255 0]/255; + cyan = [ 0 255 255]/255; + yellow = [255 255 0]/255; + white = [255 255 255]/255; + black = [ 0 0 0]/255; + brain = [202 100 100]/255; + skull = [140 85 85]/255 + cortex = [255 213 119]/255; + cortex_light = [199 194 169]/255; + cortex_dark = [100 97 85]/255; + skin = [249 223 192]/255; + skin_light = [249 223 192]/255; + skin_medium_light = [225 194 158]/255; + skin_medium = [188 142 106]/255; + skin_medium_dark = [155 102 65]/255; + skin_dark = [ 91 71 61]/255; + + The different skin-based colors follow the Fitzpatrick scale with type I and II + combined, and return RGB values that approximate those used by Apple in the emoji + skin tones. See also https://emojipedia.org/emoji-modifier-sequence/ + + If no specific skin tone is specified, this function returns a light skin color. + This corresponds with that of one of the developers who approximated his own skin + color more than 15 years ago upon the first implementation of this function. + + See also HTMLCOLORS, COLORSPEC2RGB, FT_COLORMAP, COLORMAP, COLORMAPEDITOR, BREWERMAP, MATPLOTLIB, CMOCEAM + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/plotting/private/standardcolors.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("standardcolors", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__plotting/_surface_normals.py b/spm/__external/__fieldtrip/__plotting/_surface_normals.py index 5b3a7cd0..291c400c 100644 --- a/spm/__external/__fieldtrip/__plotting/_surface_normals.py +++ b/spm/__external/__fieldtrip/__plotting/_surface_normals.py @@ -2,7 +2,7 @@ def _surface_normals(*args, **kwargs): - """ + r""" SURFACE_NORMALS compute the surface normals of a triangular mesh for each triangle or for each vertex @@ -13,9 +13,12 @@ def _surface_normals(*args, **kwargs): See also SURFACE_AREA, SURFACE_ORIENTATION, SURFACE_INSIDE, SURFACE_NESTING, PROJECTTRI, PCNORMALS - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/plotting/private/surface_normals.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/plotting/private/surface_normals.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("surface_normals", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__plotting/_surface_orientation.py b/spm/__external/__fieldtrip/__plotting/_surface_orientation.py index 573ec9dd..72a0e849 100644 --- a/spm/__external/__fieldtrip/__plotting/_surface_orientation.py +++ b/spm/__external/__fieldtrip/__plotting/_surface_orientation.py @@ -2,7 +2,7 @@ def _surface_orientation(*args, **kwargs): - """ + r""" SURFACE_ORIENTATION returns the string 'inward' or 'outward' or 'unknown', depending on the surface orientation. @@ -14,9 +14,12 @@ def _surface_orientation(*args, **kwargs): See also SURFACE_AREA, SURFACE_NESTING, SURFACE_NORMALS, SURFACE_NESTING - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/plotting/private/surface_orientation.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/plotting/private/surface_orientation.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("surface_orientation", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__plotting/_tetrahedron.py b/spm/__external/__fieldtrip/__plotting/_tetrahedron.py index d9d597b4..17ea24bb 100644 --- a/spm/__external/__fieldtrip/__plotting/_tetrahedron.py +++ b/spm/__external/__fieldtrip/__plotting/_tetrahedron.py @@ -2,7 +2,7 @@ def _tetrahedron(*args, **kwargs): - """ + r""" TETRAHEDRON returns the vertices and triangles of a tetraedron Use as @@ -11,9 +11,12 @@ def _tetrahedron(*args, **kwargs): See also ICOSAHEDRON, OCTAHEDRON - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/plotting/private/tetrahedron.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/plotting/private/tetrahedron.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("tetrahedron", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__plotting/_translate.py b/spm/__external/__fieldtrip/__plotting/_translate.py index 666c1a4b..a16cd8f9 100644 --- a/spm/__external/__fieldtrip/__plotting/_translate.py +++ b/spm/__external/__fieldtrip/__plotting/_translate.py @@ -2,7 +2,7 @@ def _translate(*args, **kwargs): - """ + r""" TRANSLATE returns the homogenous coordinate transformation matrix corresponding to a translation along the x, y and z-axis @@ -15,9 +15,12 @@ def _translate(*args, **kwargs): See also ROTATE, SCALE, RIGIDBODY, QUATERNION, HOMOGENOUS2TRADITIONAL - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/plotting/private/translate.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/plotting/private/translate.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("translate", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__plotting/_triangle2connectivity.py b/spm/__external/__fieldtrip/__plotting/_triangle2connectivity.py index ca1e2777..4a1ba688 100644 --- a/spm/__external/__fieldtrip/__plotting/_triangle2connectivity.py +++ b/spm/__external/__fieldtrip/__plotting/_triangle2connectivity.py @@ -2,7 +2,7 @@ def _triangle2connectivity(*args, **kwargs): - """ + r""" TRIANGLE2CONNECTIVITY computes a connectivity-matrix from a triangulation. Use as @@ -22,9 +22,12 @@ def _triangle2connectivity(*args, **kwargs): See also CHANNELCONNECTIVIY - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/plotting/private/triangle2connectivity.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/plotting/private/triangle2connectivity.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("triangle2connectivity", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__plotting/_undobalancing.py b/spm/__external/__fieldtrip/__plotting/_undobalancing.py index ce0821ab..868939da 100644 --- a/spm/__external/__fieldtrip/__plotting/_undobalancing.py +++ b/spm/__external/__fieldtrip/__plotting/_undobalancing.py @@ -2,15 +2,18 @@ def _undobalancing(*args, **kwargs): - """ + r""" UNDOBALANCING removes all balancing coefficients from the gradiometer sensor array This is used in CHANNELPOSITION, FT_PREPARE_LAYOUT, FT_SENSTYPE - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/plotting/private/undobalancing.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/plotting/private/undobalancing.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("undobalancing", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__plotting/ft_colormap.py b/spm/__external/__fieldtrip/__plotting/ft_colormap.py index 95979295..8f88633a 100644 --- a/spm/__external/__fieldtrip/__plotting/ft_colormap.py +++ b/spm/__external/__fieldtrip/__plotting/ft_colormap.py @@ -2,7 +2,7 @@ def ft_colormap(*args, **kwargs): - """ + r""" FT_COLORMAP is a wrapper function with the same usage as the normal COLORMAP function, but it also knows about the colormaps from BREWERMAP and some colormaps from MATPLOTLIB. The recommended colormaps include 'parula', 'cividis', 'balance', @@ -50,12 +50,15 @@ def ft_colormap(*args, **kwargs): - Cooper et al. 2021. Over the rainbow: Guidelines for meaningful use of colour maps in neurophysiology. https://doi.org/10.1016/j.neuroimage.2021.118628 - Kovesi 2015, Good colour maps: How to design them. https://doi.org/10.48550/arXiv.1509.03700 - See also COLORMAP, COLORMAPEDITOR, BREWERMAP, MATPLOTLIB, CMOCEAN, COLORCET + See also COLORMAP, COLORMAPEDITOR, BREWERMAP, MATPLOTLIB, CMOCEAN, COLORCET, COLORSPEC2RGB - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/plotting/ft_colormap.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/plotting/ft_colormap.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_colormap", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__plotting/ft_headlight.py b/spm/__external/__fieldtrip/__plotting/ft_headlight.py index 53261c39..8938bc1f 100644 --- a/spm/__external/__fieldtrip/__plotting/ft_headlight.py +++ b/spm/__external/__fieldtrip/__plotting/ft_headlight.py @@ -1,23 +1,26 @@ -from mpython import Runtime +from spm._runtime import Runtime def ft_headlight(*args, **kwargs): - """ - FT_HEADLIGHT places a light along the direction of the camera and updates the light - position as you rotate the scene and the camera view point changes. - - Use as - surf(peaks); - ft_headlight; - - See https://stackoverflow.com/questions/30921003/matlab-how-to-make-camera-light-follow-3d-rotation - - See also CAMLIGHT, ROTATE3D - - - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/plotting/ft_headlight.m ) - - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + r""" + FT_HEADLIGHT places a light along the direction of the camera and updates the light + position as you rotate the scene and the camera view point changes. + + Use as + surf(peaks); + ft_headlight; + + See https://stackoverflow.com/questions/30921003/matlab-how-to-make-camera-light-follow-3d-rotation + + See also CAMLIGHT, ROTATE3D + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/plotting/ft_headlight.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_headlight", *args, **kwargs, nargout=0) diff --git a/spm/__external/__fieldtrip/__plotting/ft_plot_axes.py b/spm/__external/__fieldtrip/__plotting/ft_plot_axes.py index 838b3844..e625b473 100644 --- a/spm/__external/__fieldtrip/__plotting/ft_plot_axes.py +++ b/spm/__external/__fieldtrip/__plotting/ft_plot_axes.py @@ -2,7 +2,7 @@ def ft_plot_axes(*args, **kwargs): - """ + r""" FT_PLOT_AXES adds three axes of 150 mm and a 10 mm sphere at the origin to the present 3-D figure. The axes and sphere are scaled according to the units of the geometrical object that is passed to this function. Furthermore, when possible, @@ -28,9 +28,12 @@ def ft_plot_axes(*args, **kwargs): See also FT_PLOT_SENS, FT_PLOT_MESH, FT_PLOT_ORTHO, FT_PLOT_HEADSHAPE, FT_PLOT_DIPOLE, FT_PLOT_HEADMODEL - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/plotting/ft_plot_axes.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/plotting/ft_plot_axes.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_plot_axes", *args, **kwargs, nargout=0) diff --git a/spm/__external/__fieldtrip/__plotting/ft_plot_box.py b/spm/__external/__fieldtrip/__plotting/ft_plot_box.py index 12814026..b6f7af54 100644 --- a/spm/__external/__fieldtrip/__plotting/ft_plot_box.py +++ b/spm/__external/__fieldtrip/__plotting/ft_plot_box.py @@ -2,7 +2,7 @@ def ft_plot_box(*args, **kwargs): - """ + r""" FT_PLOT_BOX plots the outline of a box that is specified by its lower left and upper right corner @@ -12,12 +12,12 @@ def ft_plot_box(*args, **kwargs): Optional arguments should come in key-value pairs and can include 'facealpha' = transparency value between 0 and 1 - 'facecolor' = color specification as [r g b] values or a string, for example 'brain', 'cortex', 'skin', 'red', 'r' - 'edgecolor' = color specification as [r g b] values or a string, for example 'brain', 'cortex', 'skin', 'red', 'r' + 'facecolor' = color specification as [r g b] values or a string, for example 'skin', 'skull', 'brain', 'red', 'r' + 'edgecolor' = color specification as [r g b] values or a string, for example 'skin', 'skull', 'brain', 'red', 'r' 'parent' = handle which is set as the parent for the plotted elements (default = []) 'tag' = string, the tag assigned to the plotted elements (default = '') - It is possible to plot the object in a local pseudo-axis (c.f. subplot), which is specfied as follows + It is possible to plot the object in a local pseudo-axis (c.f. subplot), which is specified as follows 'hpos' = horizontal position of the center of the local axes 'vpos' = vertical position of the center of the local axes 'width' = width of the local axes @@ -33,9 +33,12 @@ def ft_plot_box(*args, **kwargs): See also FT_PLOT_LINE, FT_PLOT_CROSSHAIR - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/plotting/ft_plot_box.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/plotting/ft_plot_box.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_plot_box", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__plotting/ft_plot_cloud.py b/spm/__external/__fieldtrip/__plotting/ft_plot_cloud.py index 635900e6..79e539f1 100644 --- a/spm/__external/__fieldtrip/__plotting/ft_plot_cloud.py +++ b/spm/__external/__fieldtrip/__plotting/ft_plot_cloud.py @@ -2,7 +2,7 @@ def ft_plot_cloud(*args, **kwargs): - """ + r""" FT_PLOT_CLOUD visualizes spatially sparse scalar data as spheres or spherical clouds of points and optionally 2D slices through those clouds @@ -52,9 +52,12 @@ def ft_plot_cloud(*args, **kwargs): See also FT_ELECTRODEPLACEMENT, FT_PLOT_SENS, FT_PLOT_TOPO, FT_PLOT_TOPO3D - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/plotting/ft_plot_cloud.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/plotting/ft_plot_cloud.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_plot_cloud", *args, **kwargs, nargout=0) diff --git a/spm/__external/__fieldtrip/__plotting/ft_plot_crosshair.py b/spm/__external/__fieldtrip/__plotting/ft_plot_crosshair.py index 1d4c5692..39f9f894 100644 --- a/spm/__external/__fieldtrip/__plotting/ft_plot_crosshair.py +++ b/spm/__external/__fieldtrip/__plotting/ft_plot_crosshair.py @@ -2,7 +2,7 @@ def ft_plot_crosshair(*args, **kwargs): - """ + r""" FT_PLOT_CROSSHAIR plots a crosshair at a specified position in two [x, y] or three [x, y, z] dimensions. @@ -26,9 +26,12 @@ def ft_plot_crosshair(*args, **kwargs): See also FT_PLOT_BOX, FT_PLOT_LINE, TEXT, LINE - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/plotting/ft_plot_crosshair.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/plotting/ft_plot_crosshair.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_plot_crosshair", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__plotting/ft_plot_dipole.py b/spm/__external/__fieldtrip/__plotting/ft_plot_dipole.py index 7e03e98b..5f4ce3b1 100644 --- a/spm/__external/__fieldtrip/__plotting/ft_plot_dipole.py +++ b/spm/__external/__fieldtrip/__plotting/ft_plot_dipole.py @@ -2,7 +2,7 @@ def ft_plot_dipole(*args, **kwargs): - """ + r""" FT_PLOT_DIPOLE makes a 3-D representation of a dipole using a sphere and a stick pointing along the dipole orientation @@ -14,7 +14,7 @@ def ft_plot_dipole(*args, **kwargs): 'diameter' = number indicating sphere diameter (default = 'auto') 'length' = number indicating length of the stick (default = 'auto') 'thickness' = number indicating thickness of the stick (default = 'auto') - 'color' = [r g b] values or string, for example 'brain', 'cortex', 'skin', 'black', 'red', 'r' (default = 'r') + 'color' = [r g b] values or string, for example 'skin', 'skull', 'brain', 'black', 'red', 'r' (default = 'r') 'alpha' = alpha value of the plotted dipole 'scale' = scale the dipole with the amplitude, can be 'none', 'both', 'diameter', 'length' (default = 'none') 'unit' = 'm', 'cm' or 'mm', used for automatic scaling (default = 'cm') @@ -29,9 +29,12 @@ def ft_plot_dipole(*args, **kwargs): QUIVER3, PLOT3 - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/plotting/ft_plot_dipole.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/plotting/ft_plot_dipole.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_plot_dipole", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__plotting/ft_plot_headmodel.py b/spm/__external/__fieldtrip/__plotting/ft_plot_headmodel.py index d990e9d7..0b1d4653 100644 --- a/spm/__external/__fieldtrip/__plotting/ft_plot_headmodel.py +++ b/spm/__external/__fieldtrip/__plotting/ft_plot_headmodel.py @@ -2,7 +2,7 @@ def ft_plot_headmodel(*args, **kwargs): - """ + r""" FT_PLOT_HEADMODEL visualizes the boundaries in the volume conduction model of the head as specified in the headmodel structure. This works for any of the head models supported by FieldTrip. For spherical models, it will construct and plot a @@ -12,32 +12,37 @@ def ft_plot_headmodel(*args, **kwargs): ft_plot_headmodel(headmodel, ...) Optional arguments should come in key-value pairs and can include - 'facecolor' = [r g b] values or string, for example 'brain', 'cortex', 'skin', 'black', 'red', 'r', or an Nx3 or Nx1 array where N is the number of faces - 'vertexcolor' = [r g b] values or string, for example 'brain', 'cortex', 'skin', 'black', 'red', 'r', or an Nx3 or Nx1 array where N is the number of vertices - 'edgecolor' = [r g b] values or string, for example 'brain', 'cortex', 'skin', 'black', 'red', 'r' - 'faceindex' = true or false - 'vertexindex' = true or false - 'facealpha' = transparency, between 0 and 1 (default = 1) - 'edgealpha' = transparency, between 0 and 1 (default = 1) - 'surfaceonly' = true or false, plot only the outer surface of a hexahedral or tetrahedral mesh (default = false) - 'unit' = string, convert to the specified geometrical units (default = []) - 'axes' = boolean, whether to plot the axes of the 3D coordinate system (default = false) - 'grad' = gradiometer array, used in combination with local spheres model + 'facecolor' = [r g b] values or string, for example 'skin', 'skull', 'brain', 'black', 'red', 'r', or an Nx3 or Nx1 array where N is the number of faces + 'facealpha' = transparency, between 0 and 1 (default = 1) + 'faceindex' = true or false + 'vertexcolor' = [r g b] values or string, for example 'skin', 'skull', 'brain', 'black', 'red', 'r', or an Nx3 or Nx1 array where N is the number of vertices + 'vertexindex' = true or false + 'edgecolor' = [r g b] values or string, for example 'skin', 'skull', 'brain', 'black', 'red', 'r' + 'edgealpha' = transparency, between 0 and 1 (default = 1) + 'cutlocation' = 1x3 vector specifying a point on the plane that cuts the mesh + 'cutorientation' = 1x3 vector specifying the direction orthogonal through the plane that cuts the mesh + 'surfaceonly' = true or false, plot only the outer surface of a hexahedral or tetrahedral mesh (default = false) + 'unit' = string, convert to the specified geometrical units (default = []) + 'axes' = boolean, whether to plot the axes of the 3D coordinate system (default = false) + 'grad' = gradiometer array, used in combination with local spheres model Example headmodel = []; headmodel.r = [86 88 92 100]; headmodel.o = [0 0 40]; figure - ft_plot_headmodel(headmodel) + ft_plot_headmodel(headmodel); See also FT_PREPARE_HEADMODEL, FT_DATATAYPE_HEADMODEL, FT_PLOT_MESH, FT_PLOT_HEADSHAPE, FT_PLOT_SENS, FT_PLOT_DIPOLE, FT_PLOT_ORTHO, FT_PLOT_TOPO3D - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/plotting/ft_plot_headmodel.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/plotting/ft_plot_headmodel.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_plot_headmodel", *args, **kwargs, nargout=0) diff --git a/spm/__external/__fieldtrip/__plotting/ft_plot_headshape.py b/spm/__external/__fieldtrip/__plotting/ft_plot_headshape.py index 1a1d92bd..94d7f3c2 100644 --- a/spm/__external/__fieldtrip/__plotting/ft_plot_headshape.py +++ b/spm/__external/__fieldtrip/__plotting/ft_plot_headshape.py @@ -2,7 +2,7 @@ def ft_plot_headshape(*args, **kwargs): - """ + r""" FT_PLOT_HEADSHAPE visualizes the shape of a head from a variety of acquisition system. Usually the head shape is measured with a Polhemus tracker and some proprietary software (e.g. from CTF, BTi @@ -15,31 +15,40 @@ def ft_plot_headshape(*args, **kwargs): where the headshape is a structure obtained from FT_READ_HEADSHAPE. Optional arguments should come in key-value pairs and can include - 'facecolor' = [r g b] values or string, for example 'brain', 'cortex', 'skin', 'black', 'red', 'r', or an Nx3 or Nx1 array where N is the number of faces - 'facealpha' = transparency, between 0 and 1 (default = 1) - 'vertexcolor' = [r g b] values or string, for example 'brain', 'cortex', 'skin', 'black', 'red', 'r', or an Nx3 or Nx1 array where N is the number of vertices - 'vertexsize' = scalar value specifying the size of the vertices (default = 10) - 'transform' = transformation matrix for the fiducials, converts MRI voxels into head shape coordinates - 'unit' = string, convert to the specified geometrical units (default = []) - 'axes' = boolean, whether to plot the axes of the 3D coordinate system (default = false) - 'tag' = string, the tag assigned to the plotted elements (default = '') + 'facecolor' = [r g b] values or string, for example 'skin', 'skull', 'brain', 'black', 'red', 'r', or an Nx3 or Nx1 array where N is the number of faces + 'facealpha' = transparency, between 0 and 1 (default = 1) + 'vertexcolor' = [r g b] values or string, for example 'skin', 'skull', 'brain', 'black', 'red', 'r', or an Nx3 or Nx1 array where N is the number of vertices + 'vertexsize' = scalar value specifying the size of the vertices (default = 10) + 'edgecolor' = [r g b] values or string, for example 'skin', 'skull', 'brain', 'black', 'red', 'r' + 'cutlocation' = 1x3 vector specifying a point on the plane that cuts the mesh + 'cutorientation' = 1x3 vector specifying the direction orthogonal through the plane that cuts the mesh + 'unit' = string, convert to the specified geometrical units (default = []) + 'axes' = boolean, whether to plot the axes of the 3D coordinate system (default = false) + 'tag' = string, the tag assigned to the plotted elements (default = '') The sensor array can include an optional fid field with fiducials, which will also be plotted. - 'fidcolor' = [r g b] values or string, for example 'red', 'r', or an Nx3 or Nx1 array where N is the number of fiducials - 'fidmarker' = ['.', '*', '+', ...] - 'fidlabel' = ['yes', 'no', 1, 0, 'true', 'false'] + 'fidcolor' = [r g b] values or string, for example 'red', 'r', or an Nx3 or Nx1 array where N is the number of fiducials + 'fidmarker' = ['.', '*', '+', ...] + 'fidsize' = scalar, size of the fiducial marker + 'fidlabel' = ['yes', 'no', 1, 0, 'true', 'false'] + 'transform' = transformation matrix, converts fiducials from MRI voxels into head coordinates - Example: + Example headshape = ft_read_headshape(filename); - ft_plot_headshape(headshape) + figure + ft_plot_headshape(headshape); + ft_headlight See also FT_PLOT_MESH, FT_PLOT_HEADMODEL, FT_PLOT_SENS, FT_PLOT_DIPOLE, FT_PLOT_ORTHO, FT_PLOT_TOPO3D - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/plotting/ft_plot_headshape.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/plotting/ft_plot_headshape.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_plot_headshape", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__plotting/ft_plot_layout.py b/spm/__external/__fieldtrip/__plotting/ft_plot_layout.py index 128fb0e0..f79f9b26 100644 --- a/spm/__external/__fieldtrip/__plotting/ft_plot_layout.py +++ b/spm/__external/__fieldtrip/__plotting/ft_plot_layout.py @@ -2,7 +2,7 @@ def ft_plot_layout(*args, **kwargs): - """ + r""" FT_PLOT_LAYOUT plots a two-dimensional channel layout Use as @@ -10,7 +10,7 @@ def ft_plot_layout(*args, **kwargs): where the layout is a FieldTrip structure obtained from FT_PREPARE_LAYOUT. Additional options should be specified in key-value pairs and can be - 'chanindx' = logical vector or vector of indices. Which channels to plot (default is all) + 'chanindx' = logical vector or vector of indices with the channels to plot (default is all) 'point' = 'yes' or 'no' (default 'yes'), plot markers for sensors, comment and scale 'box' = 'yes' or 'no' (default 'yes'), plot boxes around the sensors, comment and scale 'label' = 'yes' or 'no' (default 'yes'), plot the labels of the sensors, comment and scale @@ -29,14 +29,14 @@ def ft_plot_layout(*args, **kwargs): 'interpreter' = string, 'none', 'tex' or 'latex' (default = 'tex') The following options control the markers of the sensors. If any is defined, the other two must be defined as well. - Further note that if 'chanindx' is used, the number of elements in each choice should correspond to the original + Further note that if 'chanindx' is used, the number of elements in each choice should correspond to the original labels in the layout, and not to the chosen subset. 'pointsymbol' = string with symbol (e.g. 'o' or 'oooxxx') 'pointcolor' = string with color (e.g. 'k'), or an NX3 matrix of RGB values 'pointsize' = scalar or vector for marker size The default marker is a blue dot sorrunded by a yellow circle. - It is possible to plot the object in a local pseudo-axis (c.f. subplot), which is specfied as follows + It is possible to plot the object in a local pseudo-axis (c.f. subplot), which is specified as follows 'hpos' = horizontal position of the lower left corner of the local axes 'vpos' = vertical position of the lower left corner of the local axes 'width' = width of the local axes @@ -45,9 +45,12 @@ def ft_plot_layout(*args, **kwargs): See also FT_PREPARE_LAYOUT, FT_PLOT_TOPO - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/plotting/ft_plot_layout.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/plotting/ft_plot_layout.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_plot_layout", *args, **kwargs, nargout=0) diff --git a/spm/__external/__fieldtrip/__plotting/ft_plot_line.py b/spm/__external/__fieldtrip/__plotting/ft_plot_line.py index 8f8fefbe..36f6fcfd 100644 --- a/spm/__external/__fieldtrip/__plotting/ft_plot_line.py +++ b/spm/__external/__fieldtrip/__plotting/ft_plot_line.py @@ -2,7 +2,7 @@ def ft_plot_line(*args, **kwargs): - """ + r""" FT_PLOT_LINE helper function for plotting a line, which can also be used in combination with the multiple channel layout display in FieldTrip. @@ -15,7 +15,7 @@ def ft_plot_line(*args, **kwargs): 'linewidth' = 'tag' = string, the tag assigned to the plotted elements (default = '') - It is possible to plot the object in a local pseudo-axis (c.f. subplot), which is specfied as follows + It is possible to plot the object in a local pseudo-axis (c.f. subplot), which is specified as follows 'hpos' = horizontal position of the center of the local axes 'vpos' = vertical position of the center of the local axes 'width' = width of the local axes @@ -26,9 +26,12 @@ def ft_plot_line(*args, **kwargs): See also FT_PLOT_BOX, FT_PLOT_CROSSHAIR - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/plotting/ft_plot_line.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/plotting/ft_plot_line.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_plot_line", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__plotting/ft_plot_matrix.py b/spm/__external/__fieldtrip/__plotting/ft_plot_matrix.py index 1fb5dcf4..847145a2 100644 --- a/spm/__external/__fieldtrip/__plotting/ft_plot_matrix.py +++ b/spm/__external/__fieldtrip/__plotting/ft_plot_matrix.py @@ -2,7 +2,7 @@ def ft_plot_matrix(*args, **kwargs): - """ + r""" FT_PLOT_MATRIX visualizes a matrix as an image, similar to IMAGESC. The position, width and height can be controlled to allow multiple matrices (i.e. channels) to be plotted in a topographic arrangement. @@ -20,7 +20,7 @@ def ft_plot_matrix(*args, **kwargs): 'highlightstyle' = can be 'saturation', 'opacity', 'outline' or 'colormix' (default = 'opacity') 'tag' = string, the tag assigned to the plotted elements (default = '') - It is possible to plot the object in a local pseudo-axis (c.f. subplot), which is specfied as follows + It is possible to plot the object in a local pseudo-axis (c.f. subplot), which is specified as follows 'box' = draw a box around the local axes, can be 'yes' or 'no' 'hpos' = horizontal position of the center of the local axes 'vpos' = vertical position of the center of the local axes @@ -43,9 +43,12 @@ def ft_plot_matrix(*args, **kwargs): See also FT_PLOT_VECTOR, IMAGESC, SURF - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/plotting/ft_plot_matrix.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/plotting/ft_plot_matrix.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_plot_matrix", *args, **kwargs, nargout=0) diff --git a/spm/__external/__fieldtrip/__plotting/ft_plot_mesh.py b/spm/__external/__fieldtrip/__plotting/ft_plot_mesh.py index d9be03c5..2ff6fd4a 100644 --- a/spm/__external/__fieldtrip/__plotting/ft_plot_mesh.py +++ b/spm/__external/__fieldtrip/__plotting/ft_plot_mesh.py @@ -2,11 +2,11 @@ def ft_plot_mesh(*args, **kwargs): - """ + r""" FT_PLOT_MESH visualizes a surface or volumetric mesh, for example with the cortical folding of the brain, or the scalp surface of the head. Surface meshes are described by triangles and consist of a structure with the fields "pos" and "tri". - Volumetric meshes are described with tetraheders or hexaheders and have the fields + Volumetric meshes are described with tetrahedrons or hexahedrons and have the fields "pos" and "tet" or "hex". Use as @@ -15,27 +15,29 @@ def ft_plot_mesh(*args, **kwargs): ft_plot_mesh(pos, ...) Optional arguments should come in key-value pairs and can include - 'facecolor' = [r g b] values or string, for example 'brain', 'cortex', 'skin', 'black', 'red', 'r', or an Nx3 or Nx1 array where N is the number of faces - 'vertexcolor' = [r g b] values or string, for example 'brain', 'cortex', 'skin', 'black', 'red', 'r', or an Nx3 or Nx1 array where N is the number of vertices - 'edgecolor' = [r g b] values or string, for example 'brain', 'cortex', 'skin', 'black', 'red', 'r' - 'faceindex' = true or false (default = false) - 'vertexindex' = true or false (default = false) - 'facealpha' = transparency, between 0 and 1 (default = 1) - 'edgealpha' = transparency, between 0 and 1 (default = 1) - 'surfaceonly' = true or false, plot only the outer surface of a hexahedral or tetrahedral mesh (default = false) - 'vertexmarker' = character, e.g. '.', 'o' or 'x' (default = '.') - 'vertexsize' = scalar or vector with the size for each vertex (default = 10) - 'unit' = string, convert to the specified geometrical units (default = []) - 'axes' = boolean, whether to plot the axes of the 3D coordinate system (default = false) - 'maskstyle' = 'opacity' or 'colormix', if the latter is specified, opacity masked color values - are converted (in combination with a background color) to RGB. This bypasses - openGL functionality, which behaves unpredictably on some platforms (e.g. when - using software opengl) - 'fontsize' = number, sets the size of the text (default = 10) - 'fontunits' = - 'fontname' = - 'fontweight' = - 'tag' = string, the tag assigned to the plotted elements (default = '') + 'facecolor' = [r g b] values or string, for example 'skin', 'skull', 'brain', 'black', 'red', 'r', or an Nx3 or Nx1 array where N is the number of faces + 'facealpha' = transparency, between 0 and 1 (default = 1) + 'faceindex' = true or false (default = false) + 'vertexcolor' = [r g b] values or string, for example 'skin', 'skull', 'brain', 'black', 'red', 'r', or an Nx3 or Nx1 array where N is the number of vertices + 'vertexsize' = scalar or vector with the size for each vertex (default = 10) + 'vertexmarker' = character, e.g. '.', 'o' or 'x' (default = '.') + 'vertexindex' = true or false (default = false) + 'edgecolor' = [r g b] values or string, for example 'skin', 'skull', 'brain', 'black', 'red', 'r' + 'edgealpha' = transparency, between 0 and 1 (default = 1) + 'surfaceonly' = true or false, plot only the outer surface of a hexahedral or tetrahedral mesh (default = false) + 'cutlocation' = 1x3 vector specifying a point on the plane that cuts the mesh + 'cutorientation' = 1x3 vector specifying the direction orthogonal through the plane that cuts the mesh + 'unit' = string, convert to the specified geometrical units (default = []) + 'axes' = boolean, whether to plot the axes of the 3D coordinate system (default = false) + 'maskstyle' = 'opacity' or 'colormix', if the latter is specified, opacity masked color values + are converted (in combination with a background color) to RGB. This bypasses + openGL functionality, which behaves unpredictably on some platforms (e.g. when + using software opengl) + 'fontsize' = number, sets the size of the text (default = 10) + 'fontunits' = + 'fontname' = + 'fontweight' = + 'tag' = string, the tag assigned to the plotted elements (default = '') If you don't want the faces, edges or vertices to be plotted, you should specify the color as 'none'. @@ -43,7 +45,7 @@ def ft_plot_mesh(*args, **kwargs): [pos, tri] = mesh_sphere(162); mesh.pos = pos; mesh.tri = tri; - ft_plot_mesh(mesh, 'facecolor', 'skin', 'edgecolor', 'none') + ft_plot_mesh(mesh, 'facecolor', 'skin', 'edgecolor', 'none'); camlight You can plot an additional contour around specified areas using @@ -56,9 +58,12 @@ def ft_plot_mesh(*args, **kwargs): FT_PLOT_DIPOLE, TRIMESH, PATCH - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/plotting/ft_plot_mesh.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/plotting/ft_plot_mesh.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_plot_mesh", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__plotting/ft_plot_montage.py b/spm/__external/__fieldtrip/__plotting/ft_plot_montage.py index 5e12e237..01475857 100644 --- a/spm/__external/__fieldtrip/__plotting/ft_plot_montage.py +++ b/spm/__external/__fieldtrip/__plotting/ft_plot_montage.py @@ -2,7 +2,7 @@ def ft_plot_montage(*args, **kwargs): - """ + r""" FT_PLOT_MONTAGE makes a montage of a 3-D array by selecting slices at regular distances and combining them in one large 2-D image. Note that the montage of MRI slices is not to be confused with the EEG montage, which is a way of specifying the reference scheme @@ -27,9 +27,12 @@ def ft_plot_montage(*args, **kwargs): See also FT_PLOT_ORTHO, FT_PLOT_SLICE, FT_SOURCEPLOT - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/plotting/ft_plot_montage.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/plotting/ft_plot_montage.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_plot_montage", *args, **kwargs, nargout=0) diff --git a/spm/__external/__fieldtrip/__plotting/ft_plot_ortho.py b/spm/__external/__fieldtrip/__plotting/ft_plot_ortho.py index 24866e6b..2aca4297 100644 --- a/spm/__external/__fieldtrip/__plotting/ft_plot_ortho.py +++ b/spm/__external/__fieldtrip/__plotting/ft_plot_ortho.py @@ -2,7 +2,7 @@ def ft_plot_ortho(*args, **kwargs): - """ + r""" FT_PLOT_ORTHO plots three orthographic slices through a 3-D volume and interpolates the data if needed. @@ -39,9 +39,12 @@ def ft_plot_ortho(*args, **kwargs): See also FT_PLOT_SLICE, FT_PLOT_MONTAGE, FT_PLOT_MESH, FT_SOURCEPLOT - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/plotting/ft_plot_ortho.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/plotting/ft_plot_ortho.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_plot_ortho", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__plotting/ft_plot_patch.py b/spm/__external/__fieldtrip/__plotting/ft_plot_patch.py index 495c354b..9d80feb5 100644 --- a/spm/__external/__fieldtrip/__plotting/ft_plot_patch.py +++ b/spm/__external/__fieldtrip/__plotting/ft_plot_patch.py @@ -2,7 +2,7 @@ def ft_plot_patch(*args, **kwargs): - """ + r""" FT_PLOT_PATCH plot a colored shape, similar to the MATLAB patch() function. It is similar in usage as ft_plot_vector, and they can be combined, for example, to plot an area equivalent to a SEM or STD-DEV around a line. @@ -26,7 +26,7 @@ def ft_plot_patch(*args, **kwargs): - as an 'RGB triplet', a 1x3 vector with values between 0 and 1 - as 'none' if you do not want the face of the patch to be filled (useful when you want to plot an empty box). - It is possible to plot the object in a local pseudo-axis (c.f. subplot), which is specfied as follows + It is possible to plot the object in a local pseudo-axis (c.f. subplot), which is specified as follows 'box' = draw a box around the local axes, can be 'yes' or 'no' 'hpos' = horizontal position of the center of the local axes 'vpos' = vertical position of the center of the local axes @@ -44,9 +44,12 @@ def ft_plot_patch(*args, **kwargs): See also FT_PLOT_VECTOR, PATCH, PLOT - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/plotting/ft_plot_patch.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/plotting/ft_plot_patch.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_plot_patch", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__plotting/ft_plot_sens.py b/spm/__external/__fieldtrip/__plotting/ft_plot_sens.py index 46b3d7eb..d5f5ee6b 100644 --- a/spm/__external/__fieldtrip/__plotting/ft_plot_sens.py +++ b/spm/__external/__fieldtrip/__plotting/ft_plot_sens.py @@ -2,7 +2,7 @@ def ft_plot_sens(*args, **kwargs): - """ + r""" FT_PLOT_SENS visualizes the EEG, MEG or NIRS sensor array. Use as @@ -11,20 +11,22 @@ def ft_plot_sens(*args, **kwargs): by FT_PREPARE_VOL_SENS. Optional input arguments should come in key-value pairs and can include - 'label' = show the label, can be 'off', 'label', 'number' (default = 'off') - 'chantype' = string or cell-array with strings, for example 'meg' (default = 'all') + 'chantype' = string or cell-array with strings, for example 'megmag' (default = 'all') + 'chanindx' = logical vector or vector of indices with the channels to plot (default is all) + 'label' = whether to show the channel label, can be 'off', 'label', 'number' (default = 'off') + 'labeloffset' = number, how much to shift the label away from the actual sensor location (default is automatic) + 'axes' = true/false, whether to plot the axes of the 3D coordinate system (default = false) 'unit' = string, convert the sensor array to the specified geometrical units (default = []) - 'axes' = boolean, whether to plot the axes of the 3D coordinate system (default = false) 'fontcolor' = string, color specification (default = 'k') 'fontsize' = number, sets the size of the text (default = 10) - 'fontunits' = - 'fontname' = - 'fontweight' = + 'fontunits' = 'inches', 'centimeters', 'normalized', 'points' or 'pixels' + 'fontweight' = 'normal' or 'bold' + 'fontname' = string The following options apply to MEG magnetometers and/or gradiometers 'coil' = true/false, plot each individual coil (default = false) 'orientation' = true/false, plot a line for the orientation of each coil (default = false) - 'coilshape' = 'point', 'circle', 'square', 'sphere', or 'disc' (default is automatic) + 'coilshape' = 'point', 'circle', 'square', 'sphere' or 'disc' (default is automatic) 'coilsize' = diameter or edge length of the coils (default is automatic) The following options apply to EEG electrodes 'elec' = true/false, plot each individual electrode (default = false) @@ -43,13 +45,19 @@ def ft_plot_sens(*args, **kwargs): 'style' = plotting style for the points representing the channels, see plot3 (default = []) 'marker' = marker type representing the channels, see plot3 (default = '.') The following options apply when electrodes/coils/optodes are plotted individually - 'facecolor' = [r g b] values or string, for example 'brain', 'cortex', 'skin', 'black', 'red', 'r', or an Nx3 or Nx1 array where N is the number of faces (default is automatic) - 'edgecolor' = [r g b] values or string, for example 'brain', 'cortex', 'skin', 'black', 'red', 'r', color of channels or coils (default is automatic) + 'facecolor' = [r g b] values or string, for example 'black', 'red', 'r', or an Nx3 or Nx1 array where N is the number of faces (default is automatic) + 'edgecolor' = [r g b] values or string, for example 'black', 'red', 'r', color of channels or coils (default is automatic) 'facealpha' = transparency, between 0 and 1 (default = 1) 'edgealpha' = transparency, between 0 and 1 (default = 1) + The following options apply when the orientation is plotted as a line segment per channel + 'linecolor' = [r g b] values or string, or Nx3 matrix for color of orientation line, + default is the default matlab colororder + 'linewidth' = scalar, width of the orientation line (default = 1) + 'linelength' = scalar, length of the orientation line in mm (default = 20) + The sensor array can include an optional fid field with fiducials, which will also be plotted. - 'fiducial' = rue/false, plot the fiducials (default = true) + 'fiducial' = true/false, plot the fiducials (default = true) 'fidcolor' = [r g b] values or string, for example 'red', 'r', or an Nx3 or Nx1 array where N is the number of fiducials 'fidmarker' = ['.', '*', '+', ...] 'fidlabel' = ['yes', 'no', 1, 0, 'true', 'false'] @@ -65,9 +73,12 @@ def ft_plot_sens(*args, **kwargs): FT_PLOT_TOPO3D - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/plotting/ft_plot_sens.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/plotting/ft_plot_sens.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_plot_sens", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__plotting/ft_plot_slice.py b/spm/__external/__fieldtrip/__plotting/ft_plot_slice.py index aec88555..7e4b59db 100644 --- a/spm/__external/__fieldtrip/__plotting/ft_plot_slice.py +++ b/spm/__external/__fieldtrip/__plotting/ft_plot_slice.py @@ -2,7 +2,7 @@ def ft_plot_slice(*args, **kwargs): - """ + r""" FT_PLOT_SLICE plots a single slice that cuts through a 3-D volume and interpolates the data if needed. @@ -47,9 +47,12 @@ def ft_plot_slice(*args, **kwargs): See also FT_PLOT_ORTHO, FT_PLOT_MONTAGE, FT_SOURCEPLOT - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/plotting/ft_plot_slice.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/plotting/ft_plot_slice.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_plot_slice", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__plotting/ft_plot_text.py b/spm/__external/__fieldtrip/__plotting/ft_plot_text.py index 0c397096..24dd133e 100644 --- a/spm/__external/__fieldtrip/__plotting/ft_plot_text.py +++ b/spm/__external/__fieldtrip/__plotting/ft_plot_text.py @@ -2,7 +2,7 @@ def ft_plot_text(*args, **kwargs): - """ + r""" FT_PLOT_TEXT helper function for plotting text, which can also be used in combination with the multiple channel layout display in FieldTrip. @@ -21,7 +21,7 @@ def ft_plot_text(*args, **kwargs): 'rotation' = 'tag' = string, the tag assigned to the plotted elements (default = '') - It is possible to plot the object in a local pseudo-axis (c.f. subplot), which is specfied as follows + It is possible to plot the object in a local pseudo-axis (c.f. subplot), which is specified as follows 'hpos' = horizontal position of the center of the local axes 'vpos' = vertical position of the center of the local axes 'width' = width of the local axes @@ -38,9 +38,12 @@ def ft_plot_text(*args, **kwargs): See also FT_PLOT_VECTOR, FT_PLOT_MATRIX, FT_PLOT_LINE, FT_PLOT_BOX - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/plotting/ft_plot_text.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/plotting/ft_plot_text.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_plot_text", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__plotting/ft_plot_topo.py b/spm/__external/__fieldtrip/__plotting/ft_plot_topo.py index 0661f36c..9e198833 100644 --- a/spm/__external/__fieldtrip/__plotting/ft_plot_topo.py +++ b/spm/__external/__fieldtrip/__plotting/ft_plot_topo.py @@ -2,7 +2,7 @@ def ft_plot_topo(*args, **kwargs): - """ + r""" FT_PLOT_TOPO interpolates and plots the 2-D spatial topography of the potential or field distribution over the head @@ -15,7 +15,9 @@ def ft_plot_topo(*args, **kwargs): 'mask' = cell-array with line segments that forms the mask (see FT_PREPARE_LAYOUT) 'outline' = cell-array with line segments that for the outline (see FT_PREPARE_LAYOUT) 'isolines' = vector with values for isocontour lines (default = []) - 'interplim' = string, 'sensors' or 'mask' (default = 'sensors') + 'interplim' = string, 'mask', 'mask_individual', 'square', 'convex' (default = automatic) + if the input contains a mask, then interplim='mask', + otherwise it defaults to 'convex' 'interpmethod' = string, 'nearest', 'linear', 'natural', 'cubic' or 'v4' (default = 'v4') 'style' = can be 'surf', 'iso', 'isofill', 'surfiso', 'imsat', 'imsatiso', 'colormix' 'clim' = [min max], limits for color scaling @@ -23,7 +25,7 @@ def ft_plot_topo(*args, **kwargs): 'parent' = handle which is set as the parent for all plots (default = []) 'tag' = string, the tag assigned to the plotted elements (default = '') - It is possible to plot the object in a local pseudo-axis (c.f. subplot), which is specfied as follows + It is possible to plot the object in a local pseudo-axis (c.f. subplot), which is specified as follows 'box' = draw a box around the local axes, can be 'yes' or 'no' 'hpos' = horizontal position of the lower left corner of the local axes 'vpos' = vertical position of the lower left corner of the local axes @@ -35,9 +37,12 @@ def ft_plot_topo(*args, **kwargs): See also FT_PLOT_TOPO3D, FT_PLOT_LAYOUT, FT_TOPOPLOTER, FT_TOPOPLOTTFR - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/plotting/ft_plot_topo.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/plotting/ft_plot_topo.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_plot_topo", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__plotting/ft_plot_topo3d.py b/spm/__external/__fieldtrip/__plotting/ft_plot_topo3d.py index 64a8658a..c1b6c99b 100644 --- a/spm/__external/__fieldtrip/__plotting/ft_plot_topo3d.py +++ b/spm/__external/__fieldtrip/__plotting/ft_plot_topo3d.py @@ -2,7 +2,7 @@ def ft_plot_topo3d(*args, **kwargs): - """ + r""" FT_PLOT_TOPO3D visualizes a 3D topographic representation of the electric potential or magnetic field distribution at the sensor locations. @@ -25,9 +25,12 @@ def ft_plot_topo3d(*args, **kwargs): FT_TOPOPLOTER, FT_TOPOPLOTTFR - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/plotting/ft_plot_topo3d.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/plotting/ft_plot_topo3d.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_plot_topo3d", *args, **kwargs, nargout=0) diff --git a/spm/__external/__fieldtrip/__plotting/ft_plot_vector.py b/spm/__external/__fieldtrip/__plotting/ft_plot_vector.py index 68453fc6..b3ea7f3d 100644 --- a/spm/__external/__fieldtrip/__plotting/ft_plot_vector.py +++ b/spm/__external/__fieldtrip/__plotting/ft_plot_vector.py @@ -2,7 +2,7 @@ def ft_plot_vector(*args, **kwargs): - """ + r""" FT_PLOT_VECTOR visualizes a vector as a line, similar to PLOT. Use as @@ -17,7 +17,7 @@ def ft_plot_vector(*args, **kwargs): 'linewidth' = see MATLAB standard line properties 'markersize' = see MATLAB standard line properties 'markerfacecolor' = see MATLAB standard line properties - 'axis' = draw the local axis, can be 'yes', 'no', 'xy', 'x' or 'y' + 'axis' = draw the local axis, can be 'yes', 'no', 'xy', 'x' or 'y' 'highlight' = a logical vector of size Y, where 1 means that the corresponding values in Y are highlighted (according to the highlightstyle) 'highlightstyle' = can be 'box', 'thickness', 'saturation', 'difference' (default='box') 'facecolor' = color for the highlighted box/difference (default = [0.6 0.6 0.6]) @@ -26,11 +26,12 @@ def ft_plot_vector(*args, **kwargs): 'tag' = string, the tag assigned to the plotted elements (default = '') The line color can be specified in a variety of ways - - as a string with one character per line that you want to plot. Supported colors are the same as in PLOT, i.e. 'bgrcmykw'. - - as 'none' if you do not want the lines to be plotted (useful in combination with the difference highlightstyle). - - as a Nx3 matrix, where N=length(x), to use graded RGB colors along the line + - as a string with one character per line that you want to plot, like 'bgrcmykw'. + - as 'none' if you do not want the lines to be plotted, this is useful in combination with the 'difference' highlightstyle. + - as an Nx3 matrix, where N is the number of points along the line, to use graded RGB colors along the line + - as an Nx3 matrix, where N is the number of lines, to use a different color for each line - It is possible to plot the object in a local pseudo-axis (c.f. subplot), which is specfied as follows + It is possible to plot the object in a local pseudo-axis (c.f. subplot), which is specified as follows 'box' = draw a box around the local axes, can be 'yes' or 'no' 'hpos' = horizontal position of the center of the local axes 'vpos' = vertical position of the center of the local axes @@ -49,37 +50,40 @@ def ft_plot_vector(*args, **kwargs): 'fontweight' = Example 1 - subplot(2,1,1); ft_plot_vector(1:100, randn(1,100), 'color', 'r') - subplot(2,1,2); ft_plot_vector(1:100, randn(1,100), 'color', rand(100,3)) + subplot(2, 1, 1); ft_plot_vector(1:100, randn(1, 100), 'color', 'r') + subplot(2, 1, 2); ft_plot_vector(1:100, randn(1, 100), 'color', rand(100, 3)) Example 2 - ft_plot_vector(randn(1,100), 'width', 0.9, 'height', 0.9, 'hpos', 0, 'vpos', 0, 'box', 'yes') - ft_plot_vector(randn(1,100), 'width', 0.9, 'height', 0.9, 'hpos', 1, 'vpos', 0, 'box', 'yes') - ft_plot_vector(randn(1,100), 'width', 0.9, 'height', 0.9, 'hpos', 0, 'vpos', 1, 'box', 'yes') + ft_plot_vector(randn(1, 100), 'width', 0.9, 'height', 0.9, 'hpos', 0, 'vpos', 0, 'box', 'yes') + ft_plot_vector(randn(1, 100), 'width', 0.9, 'height', 0.9, 'hpos', 1, 'vpos', 0, 'box', 'yes') + ft_plot_vector(randn(1, 100), 'width', 0.9, 'height', 0.9, 'hpos', 0, 'vpos', 1, 'box', 'yes') Example 3 - x = 1:100; y = hann(100)'; - subplot(3,1,1); ft_plot_vector(x, y, 'highlight', y>0.8, 'highlightstyle', 'box'); - subplot(3,1,2); ft_plot_vector(x, y, 'highlight', y>0.8, 'highlightstyle', 'thickness'); - subplot(3,1,3); ft_plot_vector(x, y, 'highlight', y>0.8, 'highlightstyle', 'saturation'); + x = 1:100; y = hann(100)'; + subplot(3, 1, 1); ft_plot_vector(x, y, 'highlight', y>0.8, 'highlightstyle', 'box'); + subplot(3, 1, 2); ft_plot_vector(x, y, 'highlight', y>0.8, 'highlightstyle', 'thickness'); + subplot(3, 1, 3); ft_plot_vector(x, y, 'highlight', y>0.8, 'highlightstyle', 'saturation'); Example 4 - x = 1:100; y = hann(100)'; ymin = 0.8*y; ymax = 1.2*y; - ft_plot_vector(x, [ymin; ymax], 'highlight', ones(size(y)), 'highlightstyle', 'difference', 'color', 'none'); - ft_plot_vector(x, y); + x = 1:100; y = hann(100)'; ymin = 0.8*y; ymax = 1.2*y; + ft_plot_vector(x, [ymin; ymax], 'highlight', ones(size(y)), 'highlightstyle', 'difference', 'color', 'none'); + ft_plot_vector(x, y); Example 5 - colormap hot; - rgb = colormap; - rgb = interp1(1:64, rgb, linspace(1,64,100)); - ft_plot_vector(1:100, 'color', rgb); + r = linspace(0, 1, 100)'; + g = linspace(1, 0, 100)'; + b = zeros(1, 100)'; + ft_plot_vector(1:100, 'color', [r g b], 'linewidth', 5); See also FT_PLOT_MATRIX, PLOT - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/plotting/ft_plot_vector.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/plotting/ft_plot_vector.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_plot_vector", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__plotting/ft_select_box.py b/spm/__external/__fieldtrip/__plotting/ft_select_box.py index 8434ca48..952017ab 100644 --- a/spm/__external/__fieldtrip/__plotting/ft_select_box.py +++ b/spm/__external/__fieldtrip/__plotting/ft_select_box.py @@ -2,9 +2,9 @@ def ft_select_box(*args, **kwargs): - """ + r""" FT_SELECT_BOX helper function for selecting a single rectangular region in the - current figure using the mouse. This function is not used as a callabck, but blocks + current figure using the mouse. This function is not used as a callback, but blocks the execution of the code until a selection is made. Use as @@ -17,9 +17,12 @@ def ft_select_box(*args, **kwargs): FT_SELECT_VOXEL, GINPUT, RBBOX - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/plotting/ft_select_box.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/plotting/ft_select_box.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_select_box", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__plotting/ft_select_channel.py b/spm/__external/__fieldtrip/__plotting/ft_select_channel.py index 1040a54f..ebda6950 100644 --- a/spm/__external/__fieldtrip/__plotting/ft_select_channel.py +++ b/spm/__external/__fieldtrip/__plotting/ft_select_channel.py @@ -2,7 +2,7 @@ def ft_select_channel(*args, **kwargs): - """ + r""" FT_SELECT_CHANNEL is a helper function that can be used as callback function in a figure. It allows the user to select a channel. The channel labels are returned. @@ -76,9 +76,12 @@ def ft_select_channel(*args, **kwargs): See also FT_SELECT_BOX, FT_SELECT_POINT, FT_SELECT_POINT3D, FT_SELECT_RANGE, FT_SELECT_VOXEL - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/plotting/ft_select_channel.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/plotting/ft_select_channel.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_select_channel", *args, **kwargs, nargout=0) diff --git a/spm/__external/__fieldtrip/__plotting/ft_select_point.py b/spm/__external/__fieldtrip/__plotting/ft_select_point.py index 8b2152de..0cfb5a98 100644 --- a/spm/__external/__fieldtrip/__plotting/ft_select_point.py +++ b/spm/__external/__fieldtrip/__plotting/ft_select_point.py @@ -2,7 +2,7 @@ def ft_select_point(*args, **kwargs): - """ + r""" FT_SELECT_POINT helper function for selecting a one or multiple points in the current figure using the mouse. It returns a list of the [x y] coordinates of the selected points. @@ -23,9 +23,12 @@ def ft_select_point(*args, **kwargs): See also FT_SELECT_BOX, FT_SELECT_CHANNEL, FT_SELECT_POINT3D, FT_SELECT_RANGE, FT_SELECT_VOXEL - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/plotting/ft_select_point.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/plotting/ft_select_point.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_select_point", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__plotting/ft_select_point3d.py b/spm/__external/__fieldtrip/__plotting/ft_select_point3d.py index 31bda445..6fb47ca1 100644 --- a/spm/__external/__fieldtrip/__plotting/ft_select_point3d.py +++ b/spm/__external/__fieldtrip/__plotting/ft_select_point3d.py @@ -2,7 +2,7 @@ def ft_select_point3d(*args, **kwargs): - """ + r""" FT_SELECT_POINT3D helper function for selecting one or multiple points on a 3D mesh using the mouse. It returns a list of the [x y z] coordinates of the selected points. @@ -28,9 +28,12 @@ def ft_select_point3d(*args, **kwargs): See also FT_SELECT_BOX, FT_SELECT_CHANNEL, FT_SELECT_POINT, FT_SELECT_RANGE, FT_SELECT_VOXEL - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/plotting/ft_select_point3d.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/plotting/ft_select_point3d.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_select_point3d", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__plotting/ft_select_range.py b/spm/__external/__fieldtrip/__plotting/ft_select_range.py index ea09b158..0589e649 100644 --- a/spm/__external/__fieldtrip/__plotting/ft_select_range.py +++ b/spm/__external/__fieldtrip/__plotting/ft_select_range.py @@ -2,7 +2,7 @@ def ft_select_range(*args, **kwargs): - """ + r""" FT_SELECT_RANGE is a helper function that can be used as callback function in a figure. It allows the user to select a horizontal or a vertical range, or one or multiple boxes. @@ -48,9 +48,12 @@ def ft_select_range(*args, **kwargs): See also FT_SELECT_BOX, FT_SELECT_CHANNEL, FT_SELECT_POINT, FT_SELECT_POINT3D, FT_SELECT_VOXEL - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/plotting/ft_select_range.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/plotting/ft_select_range.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_select_range", *args, **kwargs, nargout=0) diff --git a/spm/__external/__fieldtrip/__plotting/ft_select_voxel.py b/spm/__external/__fieldtrip/__plotting/ft_select_voxel.py index 85c8d428..1ea9c5c2 100644 --- a/spm/__external/__fieldtrip/__plotting/ft_select_voxel.py +++ b/spm/__external/__fieldtrip/__plotting/ft_select_voxel.py @@ -2,7 +2,7 @@ def ft_select_voxel(*args, **kwargs): - """ + r""" FT_SELECT_VOXEL is a helper function that can be used as callback function in a figure. It allows the user to select a voxel from a (resliced) 3-D volume. @@ -37,9 +37,12 @@ def ft_select_voxel(*args, **kwargs): See also FT_SELECT_BOX, FT_SELECT_CHANNEL, FT_SELECT_POINT, FT_SELECT_POINT3D, FT_SELECT_RANGE - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/plotting/ft_select_voxel.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/plotting/ft_select_voxel.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_select_voxel", *args, **kwargs, nargout=0) diff --git a/spm/__external/__fieldtrip/__plotting/ft_uilayout.py b/spm/__external/__fieldtrip/__plotting/ft_uilayout.py index ead8965b..7edbf1d9 100644 --- a/spm/__external/__fieldtrip/__plotting/ft_uilayout.py +++ b/spm/__external/__fieldtrip/__plotting/ft_uilayout.py @@ -2,8 +2,8 @@ def ft_uilayout(*args, **kwargs): - """ - FT_UILAYOUT is a helper function to make a consistent graphical user interafce with + r""" + FT_UILAYOUT is a helper function to make a consistent graphical user interface with multiple control elements. This function will find all elements with a specific tag and style, and update or position them consistently. @@ -61,9 +61,12 @@ def ft_uilayout(*args, **kwargs): See also UICONTROL, ALIGN, UISTACK - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/plotting/ft_uilayout.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/plotting/ft_uilayout.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_uilayout", *args, **kwargs, nargout=0) diff --git a/spm/__external/__fieldtrip/__preproc/_defaultId.py b/spm/__external/__fieldtrip/__preproc/_defaultId.py index 009e9429..f4850cb6 100644 --- a/spm/__external/__fieldtrip/__preproc/_defaultId.py +++ b/spm/__external/__fieldtrip/__preproc/_defaultId.py @@ -2,16 +2,19 @@ def _defaultId(*args, **kwargs): - """ + r""" DEFAULTID returns a string that can serve as warning or error identifier, for example 'FieldTip:ft_read_header:line345'. See also WARNING, ERROR, FT_NOTICE, FT_INFO, FT_DEBUG - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/preproc/private/defaultId.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/preproc/private/defaultId.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("defaultId", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__preproc/_filter_with_correction.py b/spm/__external/__fieldtrip/__preproc/_filter_with_correction.py index 3c0a7590..c257b2e1 100644 --- a/spm/__external/__fieldtrip/__preproc/_filter_with_correction.py +++ b/spm/__external/__fieldtrip/__preproc/_filter_with_correction.py @@ -2,7 +2,7 @@ def _filter_with_correction(*args, **kwargs): - """ + r""" FILTER_WITH_CORRECTION applies the filter to the data and corrects edge-artifacts for one-pass filtering. @@ -26,9 +26,12 @@ def _filter_with_correction(*args, **kwargs): order will attenuate the signal twice as strong. - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/preproc/private/filter_with_correction.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/preproc/private/filter_with_correction.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("filter_with_correction", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__preproc/_fir_df.py b/spm/__external/__fieldtrip/__preproc/_fir_df.py index adc2664f..e1a07adf 100644 --- a/spm/__external/__fieldtrip/__preproc/_fir_df.py +++ b/spm/__external/__fieldtrip/__preproc/_fir_df.py @@ -2,7 +2,7 @@ def _fir_df(*args, **kwargs): - """ + r""" FIR_DF computes default and maximum possible transition band width from FIR filter cutoff frequency(ies) @@ -21,9 +21,12 @@ def _fir_df(*args, **kwargs): See also FIRWS, FIRWSORD, INVFIRWSORD - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/preproc/private/fir_df.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/preproc/private/fir_df.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("fir_df", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__preproc/_fixname.py b/spm/__external/__fieldtrip/__preproc/_fixname.py index 66a93c4d..4e9ff866 100644 --- a/spm/__external/__fieldtrip/__preproc/_fixname.py +++ b/spm/__external/__fieldtrip/__preproc/_fixname.py @@ -2,7 +2,7 @@ def _fixname(*args, **kwargs): - """ + r""" FIXNAME changes all inappropriate characters in a string into '_' so that it can be used as a filename or as a field name in a structure. If the string begins with a digit, an 'x' is prepended. @@ -18,9 +18,12 @@ def _fixname(*args, **kwargs): See also DEBLANK, STRIP, PAD - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/preproc/private/fixname.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/preproc/private/fixname.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("fixname", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__preproc/_ft_debug.py b/spm/__external/__fieldtrip/__preproc/_ft_debug.py index 7eb1baca..45c43a2b 100644 --- a/spm/__external/__fieldtrip/__preproc/_ft_debug.py +++ b/spm/__external/__fieldtrip/__preproc/_ft_debug.py @@ -2,7 +2,7 @@ def _ft_debug(*args, **kwargs): - """ + r""" FT_DEBUG prints a debug message on screen, depending on the verbosity settings of the calling high-level FieldTrip function. @@ -37,9 +37,12 @@ def _ft_debug(*args, **kwargs): See also FT_ERROR, FT_WARNING, FT_NOTICE, FT_INFO, FT_DEBUG, ERROR, WARNING - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/preproc/private/ft_debug.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/preproc/private/ft_debug.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_debug", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__preproc/_ft_error.py b/spm/__external/__fieldtrip/__preproc/_ft_error.py index 18287bc0..89d23aa2 100644 --- a/spm/__external/__fieldtrip/__preproc/_ft_error.py +++ b/spm/__external/__fieldtrip/__preproc/_ft_error.py @@ -2,7 +2,7 @@ def _ft_error(*args, **kwargs): - """ + r""" FT_ERROR prints an error message on screen, just like the standard ERROR function. Use as @@ -14,9 +14,12 @@ def _ft_error(*args, **kwargs): See also FT_ERROR, FT_WARNING, FT_NOTICE, FT_INFO, FT_DEBUG, ERROR, WARNING - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/preproc/private/ft_error.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/preproc/private/ft_error.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_error", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__preproc/_ft_info.py b/spm/__external/__fieldtrip/__preproc/_ft_info.py index 359c2b25..8bd558da 100644 --- a/spm/__external/__fieldtrip/__preproc/_ft_info.py +++ b/spm/__external/__fieldtrip/__preproc/_ft_info.py @@ -2,7 +2,7 @@ def _ft_info(*args, **kwargs): - """ + r""" FT_INFO prints an info message on screen, depending on the verbosity settings of the calling high-level FieldTrip function. @@ -37,9 +37,12 @@ def _ft_info(*args, **kwargs): See also FT_ERROR, FT_WARNING, FT_NOTICE, FT_INFO, FT_DEBUG, ERROR, WARNING - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/preproc/private/ft_info.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/preproc/private/ft_info.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_info", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__preproc/_ft_notice.py b/spm/__external/__fieldtrip/__preproc/_ft_notice.py index 0b6192a5..62791e22 100644 --- a/spm/__external/__fieldtrip/__preproc/_ft_notice.py +++ b/spm/__external/__fieldtrip/__preproc/_ft_notice.py @@ -2,7 +2,7 @@ def _ft_notice(*args, **kwargs): - """ + r""" FT_NOTICE prints a notice message on screen, depending on the verbosity settings of the calling high-level FieldTrip function. @@ -37,9 +37,12 @@ def _ft_notice(*args, **kwargs): See also FT_ERROR, FT_WARNING, FT_NOTICE, FT_INFO, FT_DEBUG, ERROR, WARNING - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/preproc/private/ft_notice.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/preproc/private/ft_notice.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_notice", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__preproc/_ft_notification.py b/spm/__external/__fieldtrip/__preproc/_ft_notification.py index 2ffab555..a450f9ad 100644 --- a/spm/__external/__fieldtrip/__preproc/_ft_notification.py +++ b/spm/__external/__fieldtrip/__preproc/_ft_notification.py @@ -2,7 +2,7 @@ def _ft_notification(*args, **kwargs): - """ + r""" FT_NOTIFICATION works mostly like the WARNING and ERROR commands in MATLAB and is called by FT_ERROR, FT_WARNING, FT_NOTICE, FT_INFO and FT_DEBUG. Please note that you should not call this function directly. @@ -27,9 +27,12 @@ def _ft_notification(*args, **kwargs): See also DEFAULTID, FT_ERROR, FT_WARNING, FT_NOTICE, FT_INFO, FT_DEBUG, ERROR, WARNING - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/preproc/private/ft_notification.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/preproc/private/ft_notification.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_notification", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__preproc/_ft_platform_supports.py b/spm/__external/__fieldtrip/__preproc/_ft_platform_supports.py index 00399be6..8bc6016c 100644 --- a/spm/__external/__fieldtrip/__preproc/_ft_platform_supports.py +++ b/spm/__external/__fieldtrip/__preproc/_ft_platform_supports.py @@ -2,7 +2,7 @@ def _ft_platform_supports(*args, **kwargs): - """ + r""" FT_PLATFORM_SUPPORTS returns a boolean indicating whether the current platform supports a specific capability @@ -46,9 +46,12 @@ def _ft_platform_supports(*args, **kwargs): See also FT_VERSION, VERSION, VER, VERLESSTHAN - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/preproc/private/ft_platform_supports.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/preproc/private/ft_platform_supports.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_platform_supports", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__preproc/_ft_version.py b/spm/__external/__fieldtrip/__preproc/_ft_version.py index 117c21a0..11b7ce5a 100644 --- a/spm/__external/__fieldtrip/__preproc/_ft_version.py +++ b/spm/__external/__fieldtrip/__preproc/_ft_version.py @@ -2,7 +2,7 @@ def _ft_version(*args, **kwargs): - """ + r""" FT_VERSION returns the version of FieldTrip and the path where it is installed FieldTrip is not released with version numbers as "2.0", "2.1", etc. Instead, we @@ -40,9 +40,12 @@ def _ft_version(*args, **kwargs): See also FT_PLATFORM_SUPPORTS, VERSION, VER, VERLESSTHAN - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/preproc/private/ft_version.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/preproc/private/ft_version.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_version", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__preproc/_ft_warning.py b/spm/__external/__fieldtrip/__preproc/_ft_warning.py index 0318248a..a578d852 100644 --- a/spm/__external/__fieldtrip/__preproc/_ft_warning.py +++ b/spm/__external/__fieldtrip/__preproc/_ft_warning.py @@ -2,7 +2,7 @@ def _ft_warning(*args, **kwargs): - """ + r""" FT_WARNING prints a warning message on screen, depending on the verbosity settings of the calling high-level FieldTrip function. This function works similar to the standard WARNING function, but also features the "once" mode. @@ -38,9 +38,12 @@ def _ft_warning(*args, **kwargs): See also FT_ERROR, FT_WARNING, FT_NOTICE, FT_INFO, FT_DEBUG, ERROR, WARNING - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/preproc/private/ft_warning.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/preproc/private/ft_warning.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_warning", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__preproc/_isalmostequal.py b/spm/__external/__fieldtrip/__preproc/_isalmostequal.py index 3b7d46cb..ef47099d 100644 --- a/spm/__external/__fieldtrip/__preproc/_isalmostequal.py +++ b/spm/__external/__fieldtrip/__preproc/_isalmostequal.py @@ -2,7 +2,7 @@ def _isalmostequal(*args, **kwargs): - """ + r""" ISALMOSTEQUAL compares two input variables and returns true/false and a message containing the details on the observed difference. @@ -23,9 +23,12 @@ def _isalmostequal(*args, **kwargs): See also ISEQUAL, ISEQUALNAN - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/preproc/private/isalmostequal.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/preproc/private/isalmostequal.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("isalmostequal", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__preproc/_istrue.py b/spm/__external/__fieldtrip/__preproc/_istrue.py index 795d06e7..530ab998 100644 --- a/spm/__external/__fieldtrip/__preproc/_istrue.py +++ b/spm/__external/__fieldtrip/__preproc/_istrue.py @@ -2,14 +2,17 @@ def _istrue(*args, **kwargs): - """ + r""" ISTRUE converts an input argument like "yes/no", "true/false" or "on/off" into a boolean. If the input is boolean, then it will remain like that. - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/preproc/private/istrue.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/preproc/private/istrue.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("istrue", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__preproc/_keyval.py b/spm/__external/__fieldtrip/__preproc/_keyval.py index 63123d13..0541826f 100644 --- a/spm/__external/__fieldtrip/__preproc/_keyval.py +++ b/spm/__external/__fieldtrip/__preproc/_keyval.py @@ -2,7 +2,7 @@ def _keyval(*args, **kwargs): - """ + r""" KEYVAL returns the value that corresponds to the requested key in a key-value pair list of variable input arguments @@ -12,9 +12,12 @@ def _keyval(*args, **kwargs): See also VARARGIN - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/preproc/private/keyval.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/preproc/private/keyval.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("keyval", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__preproc/_nearest.py b/spm/__external/__fieldtrip/__preproc/_nearest.py index efc5b6d7..99e096fe 100644 --- a/spm/__external/__fieldtrip/__preproc/_nearest.py +++ b/spm/__external/__fieldtrip/__preproc/_nearest.py @@ -2,14 +2,13 @@ def _nearest(*args, **kwargs): - """ + r""" NEAREST return the index of an array nearest to a scalar Use as [indx] = nearest(array, val, insideflag, toleranceflag) - The second input val can be a scalar, or a [minval maxval] vector for - limits selection. + The second input val should be a scalar. If not specified or if left empty, the insideflag and the toleranceflag will default to false. @@ -26,12 +25,15 @@ def _nearest(*args, **kwargs): tolerance that is allowed is half the distance between the subsequent values in the array. - See also FIND + See also FIND, DSEARCHN - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/preproc/private/nearest.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/preproc/private/nearest.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("nearest", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__preproc/ft_preproc_bandpassfilter.py b/spm/__external/__fieldtrip/__preproc/ft_preproc_bandpassfilter.py index b79b9b83..14042201 100644 --- a/spm/__external/__fieldtrip/__preproc/ft_preproc_bandpassfilter.py +++ b/spm/__external/__fieldtrip/__preproc/ft_preproc_bandpassfilter.py @@ -2,7 +2,7 @@ def ft_preproc_bandpassfilter(*args, **kwargs): - """ + r""" FT_PREPROC_BANDPASSFILTER applies a band-pass filter to the data and thereby removes the spectral components in the data except for the ones in the specified frequency band. @@ -47,10 +47,16 @@ def ft_preproc_bandpassfilter(*args, **kwargs): filter, i.e. a two-pass filter with the same filter order will attenuate the signal twice as strong. - Further note that the filter type 'brickwall' filters in the frequency domain, - but may have severe issues. For instance, it has the implication that the time - domain signal is periodic. Another issue pertains to that frequencies are - not well defined over short time intervals; particularly for low frequencies. + Further note that the filter type 'brickwall' operates in the frequency domain, + which may have severe issues. For instance, it is assumed that the time + domain signal is periodic over the finite period of observation. In other words, + given that the FFT is performed on untapered data, substantial signal leakage + may occur. Another issue pertains to 0/1 nature of the brick wall mask in the + frequency domain. Particularly with short data segments, the frequency resolution + will be low, and one should realise that frequency bins are widely spaced on short + time intervals, which has consequences for the low frequencies. In general, one + should be aware of the frequency bins' width, and how this interacts with the filter + parameters. Only use this filter if you know what you are doing. If the data contains NaNs, these will affect the output. With an IIR filter, and/or with FFT-filtering, local NaNs will spread to the whole @@ -60,9 +66,12 @@ def ft_preproc_bandpassfilter(*args, **kwargs): See also PREPROC - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/preproc/ft_preproc_bandpassfilter.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/preproc/ft_preproc_bandpassfilter.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_preproc_bandpassfilter", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__preproc/ft_preproc_bandstopfilter.py b/spm/__external/__fieldtrip/__preproc/ft_preproc_bandstopfilter.py index ea73ed08..05763580 100644 --- a/spm/__external/__fieldtrip/__preproc/ft_preproc_bandstopfilter.py +++ b/spm/__external/__fieldtrip/__preproc/ft_preproc_bandstopfilter.py @@ -2,7 +2,7 @@ def ft_preproc_bandstopfilter(*args, **kwargs): - """ + r""" FT_PREPROC_BANDSTOPFILTER applies a band-stop filter to the data and thereby removes the spectral components in the specified frequency band @@ -46,10 +46,16 @@ def ft_preproc_bandstopfilter(*args, **kwargs): filter, i.e. a two-pass filter with the same filter order will attenuate the signal twice as strong. - Further note that the filter type 'brickwall' filters in the frequency domain, - but may have severe issues. For instance, it has the implication that the time - domain signal is periodic. Another issue pertains to that frequencies are - not well defined over short time intervals; particularly for low frequencies. + Further note that the filter type 'brickwall' operates in the frequency domain, + which may have severe issues. For instance, it is assumed that the time + domain signal is periodic over the finite period of observation. In other words, + given that the FFT is performed on untapered data, substantial signal leakage + may occur. Another issue pertains to 0/1 nature of the brick wall mask in the + frequency domain. Particularly with short data segments, the frequency resolution + will be low, and one should realise that frequency bins are widely spaced on short + time intervals, which has consequences for the low frequencies. In general, one + should be aware of the frequency bins' width, and how this interacts with the filter + parameters. Only use this filter if you know what you are doing. If the data contains NaNs, these will affect the output. With an IIR filter, and/or with FFT-filtering, local NaNs will spread to the whole @@ -59,9 +65,12 @@ def ft_preproc_bandstopfilter(*args, **kwargs): See also PREPROC - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/preproc/ft_preproc_bandstopfilter.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/preproc/ft_preproc_bandstopfilter.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_preproc_bandstopfilter", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__preproc/ft_preproc_baselinecorrect.py b/spm/__external/__fieldtrip/__preproc/ft_preproc_baselinecorrect.py index 225d1244..c15dd3c0 100644 --- a/spm/__external/__fieldtrip/__preproc/ft_preproc_baselinecorrect.py +++ b/spm/__external/__fieldtrip/__preproc/ft_preproc_baselinecorrect.py @@ -2,7 +2,7 @@ def ft_preproc_baselinecorrect(*args, **kwargs): - """ + r""" FT_PREPROC_BASELINECORRECT performs a baseline correction, e.g. using the prestimulus interval of the data or using the complete data @@ -22,9 +22,12 @@ def ft_preproc_baselinecorrect(*args, **kwargs): See also FT_PREPROC_DETREND, FT_PREPROC_POLYREMOVAL - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/preproc/ft_preproc_baselinecorrect.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/preproc/ft_preproc_baselinecorrect.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_preproc_baselinecorrect", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__preproc/ft_preproc_denoise.py b/spm/__external/__fieldtrip/__preproc/ft_preproc_denoise.py index 4c0cfa43..3e70cbb6 100644 --- a/spm/__external/__fieldtrip/__preproc/ft_preproc_denoise.py +++ b/spm/__external/__fieldtrip/__preproc/ft_preproc_denoise.py @@ -2,7 +2,7 @@ def ft_preproc_denoise(*args, **kwargs): - """ + r""" FT_PREPROC_DENOISE performs a regression of the matrix dat onto refdat, and subtracts the projected data. This is for the purpose of removing signals generated by coils during continuous head motion tracking, for example. @@ -23,9 +23,12 @@ def ft_preproc_denoise(*args, **kwargs): See also PREPROC - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/preproc/ft_preproc_denoise.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/preproc/ft_preproc_denoise.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_preproc_denoise", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__preproc/ft_preproc_derivative.py b/spm/__external/__fieldtrip/__preproc/ft_preproc_derivative.py index 4df8d6a4..a0b87958 100644 --- a/spm/__external/__fieldtrip/__preproc/ft_preproc_derivative.py +++ b/spm/__external/__fieldtrip/__preproc/ft_preproc_derivative.py @@ -2,7 +2,7 @@ def ft_preproc_derivative(*args, **kwargs): - """ + r""" FT_PREPROC_DERIVATIVE computes the temporal Nth order derivative of the data @@ -20,9 +20,12 @@ def ft_preproc_derivative(*args, **kwargs): See also PREPROC - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/preproc/ft_preproc_derivative.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/preproc/ft_preproc_derivative.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_preproc_derivative", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__preproc/ft_preproc_detrend.py b/spm/__external/__fieldtrip/__preproc/ft_preproc_detrend.py index 44c12707..682eee57 100644 --- a/spm/__external/__fieldtrip/__preproc/ft_preproc_detrend.py +++ b/spm/__external/__fieldtrip/__preproc/ft_preproc_detrend.py @@ -2,7 +2,7 @@ def ft_preproc_detrend(*args, **kwargs): - """ + r""" FT_PREPROC_DETREND removes mean and linear trend from the data using using a General Linear Modeling approach. @@ -19,9 +19,12 @@ def ft_preproc_detrend(*args, **kwargs): See also FT_PREPROC_BASELINECORRECT, FT_PREPROC_POLYREMOVAL - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/preproc/ft_preproc_detrend.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/preproc/ft_preproc_detrend.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_preproc_detrend", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__preproc/ft_preproc_dftfilter.py b/spm/__external/__fieldtrip/__preproc/ft_preproc_dftfilter.py index b284ea5a..e291be57 100644 --- a/spm/__external/__fieldtrip/__preproc/ft_preproc_dftfilter.py +++ b/spm/__external/__fieldtrip/__preproc/ft_preproc_dftfilter.py @@ -2,7 +2,7 @@ def ft_preproc_dftfilter(*args, **kwargs): - """ + r""" FT_PREPROC_DFTFILTER reduces power line noise (50 or 60Hz) using a discrete Fourier transform (DFT) filter, or spectrum interpolation. @@ -82,9 +82,12 @@ def ft_preproc_dftfilter(*args, **kwargs): See also PREPROC - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/preproc/ft_preproc_dftfilter.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/preproc/ft_preproc_dftfilter.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_preproc_dftfilter", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__preproc/ft_preproc_highpassfilter.py b/spm/__external/__fieldtrip/__preproc/ft_preproc_highpassfilter.py index 32164df3..3a031397 100644 --- a/spm/__external/__fieldtrip/__preproc/ft_preproc_highpassfilter.py +++ b/spm/__external/__fieldtrip/__preproc/ft_preproc_highpassfilter.py @@ -2,7 +2,7 @@ def ft_preproc_highpassfilter(*args, **kwargs): - """ + r""" FT_PREPROC_HIGHPASSFILTER applies a high-pass filter to the data and thereby removes the low frequency components in the data @@ -46,17 +46,31 @@ def ft_preproc_highpassfilter(*args, **kwargs): i.e. a two-pass filter with the same filter order will attenuate the signal twice as strong. - Further note that the filter type 'brickwall' filters in the frequency domain, - but may have severe issues. For instance, it has the implication that the time - domain signal is periodic. Another issue pertains to that frequencies are - not well defined over short time intervals; particularly for low frequencies. + Further note that the filter type 'brickwall' operates in the frequency domain, + which may have severe issues. For instance, it is assumed that the time + domain signal is periodic over the finite period of observation. In other words, + given that the FFT is performed on untapered data, substantial signal leakage + may occur. Another issue pertains to 0/1 nature of the brick wall mask in the + frequency domain. Particularly with short data segments, the frequency resolution + will be low, and one should realise that frequency bins are widely spaced on short + time intervals, which has consequences for the low frequencies. In general, one + should be aware of the frequency bins' width, and how this interacts with the filter + parameters. Only use this filter if you know what you are doing. + + If the data contains NaNs, these will affect the output. With an IIR + filter, and/or with FFT-filtering, local NaNs will spread to the whole + time series. With a FIR filter, local NaNs will spread locally, depending + on the filter order. See also PREPROC - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/preproc/ft_preproc_highpassfilter.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/preproc/ft_preproc_highpassfilter.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_preproc_highpassfilter", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__preproc/ft_preproc_hilbert.py b/spm/__external/__fieldtrip/__preproc/ft_preproc_hilbert.py index 32ca7905..7ff819e2 100644 --- a/spm/__external/__fieldtrip/__preproc/ft_preproc_hilbert.py +++ b/spm/__external/__fieldtrip/__preproc/ft_preproc_hilbert.py @@ -2,7 +2,7 @@ def ft_preproc_hilbert(*args, **kwargs): - """ + r""" FT_PREPROC_HILBERT computes the Hilbert transform of the data and optionally performs post-processing on the complex representation, e.g. the absolute value of the Hilbert transform of a band-pass filtered signal corresponds @@ -27,9 +27,12 @@ def ft_preproc_hilbert(*args, **kwargs): See also PREPROC - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/preproc/ft_preproc_hilbert.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/preproc/ft_preproc_hilbert.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_preproc_hilbert", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__preproc/ft_preproc_lowpassfilter.py b/spm/__external/__fieldtrip/__preproc/ft_preproc_lowpassfilter.py index 833c4fcd..1b9b3aeb 100644 --- a/spm/__external/__fieldtrip/__preproc/ft_preproc_lowpassfilter.py +++ b/spm/__external/__fieldtrip/__preproc/ft_preproc_lowpassfilter.py @@ -2,7 +2,7 @@ def ft_preproc_lowpassfilter(*args, **kwargs): - """ + r""" FT_PREPROC_LOWPASSFILTER applies a low-pass filter to the data and thereby removes all high frequency components in the data @@ -46,10 +46,16 @@ def ft_preproc_lowpassfilter(*args, **kwargs): filter, i.e. a two-pass filter with the same filter order will attenuate the signal twice as strong. - Further note that the filter type 'brickwall' filters in the frequency domain, - but may have severe issues. For instance, it has the implication that the time - domain signal is periodic. Another issue pertains to that frequencies are - not well defined over short time intervals; particularly for low frequencies. + Further note that the filter type 'brickwall' operates in the frequency domain, + which may have severe issues. For instance, it is assumed that the time + domain signal is periodic over the finite period of observation. In other words, + given that the FFT is performed on untapered data, substantial signal leakage + may occur. Another issue pertains to 0/1 nature of the brick wall mask in the + frequency domain. Particularly with short data segments, the frequency resolution + will be low, and one should realise that frequency bins are widely spaced on short + time intervals, which has consequences for the low frequencies. In general, one + should be aware of the frequency bins' width, and how this interacts with the filter + parameters. Only use this filter if you know what you are doing. If the data contains NaNs, these will affect the output. With an IIR filter, and/or with FFT-filtering, local NaNs will spread to the whole @@ -59,9 +65,12 @@ def ft_preproc_lowpassfilter(*args, **kwargs): See also PREPROC - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/preproc/ft_preproc_lowpassfilter.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/preproc/ft_preproc_lowpassfilter.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_preproc_lowpassfilter", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__preproc/ft_preproc_medianfilter.py b/spm/__external/__fieldtrip/__preproc/ft_preproc_medianfilter.py index db67f530..e45900b2 100644 --- a/spm/__external/__fieldtrip/__preproc/ft_preproc_medianfilter.py +++ b/spm/__external/__fieldtrip/__preproc/ft_preproc_medianfilter.py @@ -2,7 +2,7 @@ def ft_preproc_medianfilter(*args, **kwargs): - """ + r""" FT_PREPROC_MEDIANFILTER applies a median filter, which smooths the data with a boxcar-like kernel, except that it keeps steps in the data. This function requires the MATLAB Signal Processing toolbox. @@ -19,9 +19,12 @@ def ft_preproc_medianfilter(*args, **kwargs): See also PREPROC - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/preproc/ft_preproc_medianfilter.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/preproc/ft_preproc_medianfilter.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_preproc_medianfilter", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__preproc/ft_preproc_online_downsample_apply.py b/spm/__external/__fieldtrip/__preproc/ft_preproc_online_downsample_apply.py index 7b9ba9a0..eea381b5 100644 --- a/spm/__external/__fieldtrip/__preproc/ft_preproc_online_downsample_apply.py +++ b/spm/__external/__fieldtrip/__preproc/ft_preproc_online_downsample_apply.py @@ -2,7 +2,7 @@ def ft_preproc_online_downsample_apply(*args, **kwargs): - """ + r""" FT_PREPROC_ONLINE_DOWNSAMPLE_APPLY passes a signal through the online downsampler and returns the downsampler state and the downsampled signal. The state keeps track of the number of samples to be skipped in the next call. @@ -16,9 +16,12 @@ def ft_preproc_online_downsample_apply(*args, **kwargs): See also PREPROC - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/preproc/ft_preproc_online_downsample_apply.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/preproc/ft_preproc_online_downsample_apply.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_preproc_online_downsample_apply", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__preproc/ft_preproc_online_downsample_init.py b/spm/__external/__fieldtrip/__preproc/ft_preproc_online_downsample_init.py index 3acf1f7b..9353a3b5 100644 --- a/spm/__external/__fieldtrip/__preproc/ft_preproc_online_downsample_init.py +++ b/spm/__external/__fieldtrip/__preproc/ft_preproc_online_downsample_init.py @@ -2,7 +2,7 @@ def ft_preproc_online_downsample_init(*args, **kwargs): - """ + r""" FT_PREPROC_ONLINE_DOWNSAMPLE_INIT initializes an downsampling model with the given factor. Use as @@ -11,9 +11,12 @@ def ft_preproc_online_downsample_init(*args, **kwargs): See also PREPROC, FT_PREPROC_ONLINE_DOWNSAMPLE_APPLY - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/preproc/ft_preproc_online_downsample_init.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/preproc/ft_preproc_online_downsample_init.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_preproc_online_downsample_init", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__preproc/ft_preproc_online_filter_apply.py b/spm/__external/__fieldtrip/__preproc/ft_preproc_online_filter_apply.py index ebb775d0..d1af1a8e 100644 --- a/spm/__external/__fieldtrip/__preproc/ft_preproc_online_filter_apply.py +++ b/spm/__external/__fieldtrip/__preproc/ft_preproc_online_filter_apply.py @@ -2,7 +2,7 @@ def ft_preproc_online_filter_apply(*args, **kwargs): - """ + r""" FT_PREPROC_ONLINE_FILTER_APPLY passes a signal through the online filter and returns the updated filter model (delay states) and the filtered signal. @@ -15,9 +15,12 @@ def ft_preproc_online_filter_apply(*args, **kwargs): See also PREPROC - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/preproc/ft_preproc_online_filter_apply.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/preproc/ft_preproc_online_filter_apply.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_preproc_online_filter_apply", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__preproc/ft_preproc_online_filter_init.py b/spm/__external/__fieldtrip/__preproc/ft_preproc_online_filter_init.py index 56803aa3..dcada83a 100644 --- a/spm/__external/__fieldtrip/__preproc/ft_preproc_online_filter_init.py +++ b/spm/__external/__fieldtrip/__preproc/ft_preproc_online_filter_init.py @@ -2,7 +2,7 @@ def ft_preproc_online_filter_init(*args, **kwargs): - """ + r""" FT_PREPROC_ONLINE_FILTER_INIT initialize an IIR filter model with coefficients B and A, as used in filter and butter etc. The most recent sample of the signal must be given as a column vector. @@ -16,9 +16,12 @@ def ft_preproc_online_filter_init(*args, **kwargs): See also PREPROC, FT_PREPROC_ONLINE_FILTER_APPLY - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/preproc/ft_preproc_online_filter_init.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/preproc/ft_preproc_online_filter_init.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_preproc_online_filter_init", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__preproc/ft_preproc_padding.py b/spm/__external/__fieldtrip/__preproc/ft_preproc_padding.py index 9fa2e13f..a8234479 100644 --- a/spm/__external/__fieldtrip/__preproc/ft_preproc_padding.py +++ b/spm/__external/__fieldtrip/__preproc/ft_preproc_padding.py @@ -2,7 +2,7 @@ def ft_preproc_padding(*args, **kwargs): - """ + r""" FT_PREPROC_PADDING performs padding on the data, i.e. adds or removes samples to or from the data matrix. @@ -27,9 +27,12 @@ def ft_preproc_padding(*args, **kwargs): See also FT_PREPROCESSING - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/preproc/ft_preproc_padding.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/preproc/ft_preproc_padding.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_preproc_padding", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__preproc/ft_preproc_polyremoval.py b/spm/__external/__fieldtrip/__preproc/ft_preproc_polyremoval.py index 05c464ba..0bf658ad 100644 --- a/spm/__external/__fieldtrip/__preproc/ft_preproc_polyremoval.py +++ b/spm/__external/__fieldtrip/__preproc/ft_preproc_polyremoval.py @@ -2,7 +2,7 @@ def ft_preproc_polyremoval(*args, **kwargs): - """ + r""" FT_PREPROC_POLYREMOVAL removed an Nth order polynomal from the data Use as @@ -34,9 +34,12 @@ def ft_preproc_polyremoval(*args, **kwargs): See also FT_PREPROC_BASELINECORRECT, FT_PREPROC_DETREND - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/preproc/ft_preproc_polyremoval.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/preproc/ft_preproc_polyremoval.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_preproc_polyremoval", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__preproc/ft_preproc_rectify.py b/spm/__external/__fieldtrip/__preproc/ft_preproc_rectify.py index 1aae52e8..2637ea19 100644 --- a/spm/__external/__fieldtrip/__preproc/ft_preproc_rectify.py +++ b/spm/__external/__fieldtrip/__preproc/ft_preproc_rectify.py @@ -2,7 +2,7 @@ def ft_preproc_rectify(*args, **kwargs): - """ + r""" FT_PREPROC_RECTIFY rectifies the data, i.e. converts all samples with a negative value into the similar magnitude positive value @@ -17,9 +17,12 @@ def ft_preproc_rectify(*args, **kwargs): See also PREPROC - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/preproc/ft_preproc_rectify.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/preproc/ft_preproc_rectify.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_preproc_rectify", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__preproc/ft_preproc_rereference.py b/spm/__external/__fieldtrip/__preproc/ft_preproc_rereference.py index fb9df5f0..7c58c216 100644 --- a/spm/__external/__fieldtrip/__preproc/ft_preproc_rereference.py +++ b/spm/__external/__fieldtrip/__preproc/ft_preproc_rereference.py @@ -2,7 +2,7 @@ def ft_preproc_rereference(*args, **kwargs): - """ + r""" FT_PREPROC_REREFERENCE computes the average reference over all EEG channels or rereferences the data to the selected channels @@ -30,9 +30,12 @@ def ft_preproc_rereference(*args, **kwargs): See also PREPROC - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/preproc/ft_preproc_rereference.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/preproc/ft_preproc_rereference.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_preproc_rereference", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__preproc/ft_preproc_resample.py b/spm/__external/__fieldtrip/__preproc/ft_preproc_resample.py index e879a8bc..903839ef 100644 --- a/spm/__external/__fieldtrip/__preproc/ft_preproc_resample.py +++ b/spm/__external/__fieldtrip/__preproc/ft_preproc_resample.py @@ -2,7 +2,7 @@ def ft_preproc_resample(*args, **kwargs): - """ + r""" FT_PREPROC_RESAMPLE resamples all channels in the data matrix Use as @@ -24,9 +24,12 @@ def ft_preproc_resample(*args, **kwargs): See also PREPROC, FT_PREPROC_LOWPASSFILTER - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/preproc/ft_preproc_resample.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/preproc/ft_preproc_resample.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_preproc_resample", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__preproc/ft_preproc_slidingrange.py b/spm/__external/__fieldtrip/__preproc/ft_preproc_slidingrange.py index d8c3c97f..a264f022 100644 --- a/spm/__external/__fieldtrip/__preproc/ft_preproc_slidingrange.py +++ b/spm/__external/__fieldtrip/__preproc/ft_preproc_slidingrange.py @@ -2,7 +2,7 @@ def ft_preproc_slidingrange(*args, **kwargs): - """ + r""" FT_PREPROC_SLIDINGRANGE computes the range of the data in a sliding time window of the width specified. @@ -19,9 +19,12 @@ def ft_preproc_slidingrange(*args, **kwargs): See also PREPROC - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/preproc/ft_preproc_slidingrange.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/preproc/ft_preproc_slidingrange.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_preproc_slidingrange", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__preproc/ft_preproc_smooth.py b/spm/__external/__fieldtrip/__preproc/ft_preproc_smooth.py index 0c2a0340..04913a4c 100644 --- a/spm/__external/__fieldtrip/__preproc/ft_preproc_smooth.py +++ b/spm/__external/__fieldtrip/__preproc/ft_preproc_smooth.py @@ -2,7 +2,7 @@ def ft_preproc_smooth(*args, **kwargs): - """ + r""" FT_PREPROC_SMOOTH performs boxcar smoothing with specified length. Edge behavior is improved by implicit padding with the mean over half the boxcar length at the edges of the data segment. @@ -19,9 +19,12 @@ def ft_preproc_smooth(*args, **kwargs): See also PREPROC - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/preproc/ft_preproc_smooth.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/preproc/ft_preproc_smooth.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_preproc_smooth", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__preproc/ft_preproc_standardize.py b/spm/__external/__fieldtrip/__preproc/ft_preproc_standardize.py index 979c7f28..3547dc13 100644 --- a/spm/__external/__fieldtrip/__preproc/ft_preproc_standardize.py +++ b/spm/__external/__fieldtrip/__preproc/ft_preproc_standardize.py @@ -2,7 +2,7 @@ def ft_preproc_standardize(*args, **kwargs): - """ + r""" FT_PREPROC_STANDARDIZE performs a z-transformation or standardization of the data. The standardized data will have a zero-mean and a unit standard deviation. @@ -23,9 +23,12 @@ def ft_preproc_standardize(*args, **kwargs): See also PREPROC - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/preproc/ft_preproc_standardize.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/preproc/ft_preproc_standardize.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_preproc_standardize", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__specest/_adaptspec_dpss.py b/spm/__external/__fieldtrip/__specest/_adaptspec_dpss.py new file mode 100644 index 00000000..677a16bd --- /dev/null +++ b/spm/__external/__fieldtrip/__specest/_adaptspec_dpss.py @@ -0,0 +1,38 @@ +from spm._runtime import Runtime + + +def _adaptspec_dpss(*args, **kwargs): + r""" + ADAPTSPEC_DPSS Adaptive multitaper spectrum estimate + + [spec, se, wt] = adaptspec_dpss(yk, sk, lambda, adaptflag) + + Inputs + yk : [nchan x nfft x ntap] complex, tapered data Fourier transforms + lambda : [ntap x 1] real, eigenvalues of DPSS tapers + adaptflag : integer, mode (default=0) + 0 - unweighted average (all tapers equal) + 1 - weighted by eigenvalues + 2 - adaptive multitaper (Thomson) + + Outputs + spec : [nchan x nfft] spectrum estimate + se : [1 x nfft] effective degrees of freedom + wt : [nchan x nfft x ntap] weights applied to tapers + + Notes + - Follows German Prieto’s code (https://github.com/gaprieto/multitaper). + - The adaptive scheme iterates until convergence or max mloop. + - ChatGPT provided a rough translation from Python to MATLAB, code + optimized for MATLAB + multichannel data by JMS + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/specest/private/adaptspec_dpss.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("adaptspec_dpss", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__specest/_alpha_taper.py b/spm/__external/__fieldtrip/__specest/_alpha_taper.py index 49a721c9..b231e92b 100644 --- a/spm/__external/__fieldtrip/__specest/_alpha_taper.py +++ b/spm/__external/__fieldtrip/__specest/_alpha_taper.py @@ -2,7 +2,7 @@ def _alpha_taper(*args, **kwargs): - """ + r""" ALPHA_TAPER returns an asymmetric taper that can be used to construct a complex wavelet with the peak at a distance of 0.8 times the cycle length from the end. @@ -35,9 +35,12 @@ def _alpha_taper(*args, **kwargs): W(F,t) = taper(F,t) * exp(i*2*pi*F*t) - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/specest/private/alpha_taper.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/specest/private/alpha_taper.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("alpha_taper", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__specest/_defaultId.py b/spm/__external/__fieldtrip/__specest/_defaultId.py index b4ceaf9a..93e000ab 100644 --- a/spm/__external/__fieldtrip/__specest/_defaultId.py +++ b/spm/__external/__fieldtrip/__specest/_defaultId.py @@ -2,16 +2,19 @@ def _defaultId(*args, **kwargs): - """ + r""" DEFAULTID returns a string that can serve as warning or error identifier, for example 'FieldTip:ft_read_header:line345'. See also WARNING, ERROR, FT_NOTICE, FT_INFO, FT_DEBUG - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/specest/private/defaultId.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/specest/private/defaultId.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("defaultId", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__specest/_filter_with_correction.py b/spm/__external/__fieldtrip/__specest/_filter_with_correction.py index 9bcaab63..242a4ed9 100644 --- a/spm/__external/__fieldtrip/__specest/_filter_with_correction.py +++ b/spm/__external/__fieldtrip/__specest/_filter_with_correction.py @@ -2,7 +2,7 @@ def _filter_with_correction(*args, **kwargs): - """ + r""" FILTER_WITH_CORRECTION applies the filter to the data and corrects edge-artifacts for one-pass filtering. @@ -26,9 +26,12 @@ def _filter_with_correction(*args, **kwargs): order will attenuate the signal twice as strong. - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/specest/private/filter_with_correction.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/specest/private/filter_with_correction.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("filter_with_correction", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__specest/_fir_df.py b/spm/__external/__fieldtrip/__specest/_fir_df.py index 0f77e22e..90bf4f98 100644 --- a/spm/__external/__fieldtrip/__specest/_fir_df.py +++ b/spm/__external/__fieldtrip/__specest/_fir_df.py @@ -2,7 +2,7 @@ def _fir_df(*args, **kwargs): - """ + r""" FIR_DF computes default and maximum possible transition band width from FIR filter cutoff frequency(ies) @@ -21,9 +21,12 @@ def _fir_df(*args, **kwargs): See also FIRWS, FIRWSORD, INVFIRWSORD - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/specest/private/fir_df.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/specest/private/fir_df.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("fir_df", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__specest/_fixname.py b/spm/__external/__fieldtrip/__specest/_fixname.py index 56c81867..50c1318c 100644 --- a/spm/__external/__fieldtrip/__specest/_fixname.py +++ b/spm/__external/__fieldtrip/__specest/_fixname.py @@ -2,7 +2,7 @@ def _fixname(*args, **kwargs): - """ + r""" FIXNAME changes all inappropriate characters in a string into '_' so that it can be used as a filename or as a field name in a structure. If the string begins with a digit, an 'x' is prepended. @@ -18,9 +18,12 @@ def _fixname(*args, **kwargs): See also DEBLANK, STRIP, PAD - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/specest/private/fixname.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/specest/private/fixname.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("fixname", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__specest/_ft_debug.py b/spm/__external/__fieldtrip/__specest/_ft_debug.py index dfb406cc..66e2845d 100644 --- a/spm/__external/__fieldtrip/__specest/_ft_debug.py +++ b/spm/__external/__fieldtrip/__specest/_ft_debug.py @@ -2,7 +2,7 @@ def _ft_debug(*args, **kwargs): - """ + r""" FT_DEBUG prints a debug message on screen, depending on the verbosity settings of the calling high-level FieldTrip function. @@ -37,9 +37,12 @@ def _ft_debug(*args, **kwargs): See also FT_ERROR, FT_WARNING, FT_NOTICE, FT_INFO, FT_DEBUG, ERROR, WARNING - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/specest/private/ft_debug.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/specest/private/ft_debug.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_debug", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__specest/_ft_error.py b/spm/__external/__fieldtrip/__specest/_ft_error.py index e072de49..ee291b00 100644 --- a/spm/__external/__fieldtrip/__specest/_ft_error.py +++ b/spm/__external/__fieldtrip/__specest/_ft_error.py @@ -2,7 +2,7 @@ def _ft_error(*args, **kwargs): - """ + r""" FT_ERROR prints an error message on screen, just like the standard ERROR function. Use as @@ -14,9 +14,12 @@ def _ft_error(*args, **kwargs): See also FT_ERROR, FT_WARNING, FT_NOTICE, FT_INFO, FT_DEBUG, ERROR, WARNING - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/specest/private/ft_error.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/specest/private/ft_error.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_error", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__specest/_ft_getopt.py b/spm/__external/__fieldtrip/__specest/_ft_getopt.py index 3f008eb9..d8518787 100644 --- a/spm/__external/__fieldtrip/__specest/_ft_getopt.py +++ b/spm/__external/__fieldtrip/__specest/_ft_getopt.py @@ -2,7 +2,7 @@ def _ft_getopt(*args, **kwargs): - """ + r""" FT_GETOPT gets the value of a specified option from a configuration structure or from a cell-array with key-value pairs. @@ -25,12 +25,15 @@ def _ft_getopt(*args, **kwargs): If emptymeaningful==true, then the empty array will be returned. If emptymeaningful==false, then the specified default will be returned. - See also FT_SETOPT, FT_CHECKOPT, INPUTPARSER + See also FT_SETOPT, FT_CHECKOPT, FT_DELETEOPT, INPUTPARSER - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/specest/private/ft_getopt.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/specest/private/ft_getopt.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_getopt", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__specest/_ft_info.py b/spm/__external/__fieldtrip/__specest/_ft_info.py index c9c0fea8..48db944d 100644 --- a/spm/__external/__fieldtrip/__specest/_ft_info.py +++ b/spm/__external/__fieldtrip/__specest/_ft_info.py @@ -2,7 +2,7 @@ def _ft_info(*args, **kwargs): - """ + r""" FT_INFO prints an info message on screen, depending on the verbosity settings of the calling high-level FieldTrip function. @@ -37,9 +37,12 @@ def _ft_info(*args, **kwargs): See also FT_ERROR, FT_WARNING, FT_NOTICE, FT_INFO, FT_DEBUG, ERROR, WARNING - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/specest/private/ft_info.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/specest/private/ft_info.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_info", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__specest/_ft_notice.py b/spm/__external/__fieldtrip/__specest/_ft_notice.py index 05efce38..b987f413 100644 --- a/spm/__external/__fieldtrip/__specest/_ft_notice.py +++ b/spm/__external/__fieldtrip/__specest/_ft_notice.py @@ -2,7 +2,7 @@ def _ft_notice(*args, **kwargs): - """ + r""" FT_NOTICE prints a notice message on screen, depending on the verbosity settings of the calling high-level FieldTrip function. @@ -37,9 +37,12 @@ def _ft_notice(*args, **kwargs): See also FT_ERROR, FT_WARNING, FT_NOTICE, FT_INFO, FT_DEBUG, ERROR, WARNING - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/specest/private/ft_notice.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/specest/private/ft_notice.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_notice", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__specest/_ft_notification.py b/spm/__external/__fieldtrip/__specest/_ft_notification.py index 65e91e8e..6fc38d47 100644 --- a/spm/__external/__fieldtrip/__specest/_ft_notification.py +++ b/spm/__external/__fieldtrip/__specest/_ft_notification.py @@ -2,7 +2,7 @@ def _ft_notification(*args, **kwargs): - """ + r""" FT_NOTIFICATION works mostly like the WARNING and ERROR commands in MATLAB and is called by FT_ERROR, FT_WARNING, FT_NOTICE, FT_INFO and FT_DEBUG. Please note that you should not call this function directly. @@ -27,9 +27,12 @@ def _ft_notification(*args, **kwargs): See also DEFAULTID, FT_ERROR, FT_WARNING, FT_NOTICE, FT_INFO, FT_DEBUG, ERROR, WARNING - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/specest/private/ft_notification.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/specest/private/ft_notification.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_notification", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__specest/_ft_platform_supports.py b/spm/__external/__fieldtrip/__specest/_ft_platform_supports.py index c6cade6d..45348443 100644 --- a/spm/__external/__fieldtrip/__specest/_ft_platform_supports.py +++ b/spm/__external/__fieldtrip/__specest/_ft_platform_supports.py @@ -2,7 +2,7 @@ def _ft_platform_supports(*args, **kwargs): - """ + r""" FT_PLATFORM_SUPPORTS returns a boolean indicating whether the current platform supports a specific capability @@ -46,9 +46,12 @@ def _ft_platform_supports(*args, **kwargs): See also FT_VERSION, VERSION, VER, VERLESSTHAN - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/specest/private/ft_platform_supports.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/specest/private/ft_platform_supports.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_platform_supports", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__specest/_ft_preproc_bandpassfilter.py b/spm/__external/__fieldtrip/__specest/_ft_preproc_bandpassfilter.py index 7c262de4..aa0c80ee 100644 --- a/spm/__external/__fieldtrip/__specest/_ft_preproc_bandpassfilter.py +++ b/spm/__external/__fieldtrip/__specest/_ft_preproc_bandpassfilter.py @@ -2,7 +2,7 @@ def _ft_preproc_bandpassfilter(*args, **kwargs): - """ + r""" FT_PREPROC_BANDPASSFILTER applies a band-pass filter to the data and thereby removes the spectral components in the data except for the ones in the specified frequency band. @@ -47,10 +47,16 @@ def _ft_preproc_bandpassfilter(*args, **kwargs): filter, i.e. a two-pass filter with the same filter order will attenuate the signal twice as strong. - Further note that the filter type 'brickwall' filters in the frequency domain, - but may have severe issues. For instance, it has the implication that the time - domain signal is periodic. Another issue pertains to that frequencies are - not well defined over short time intervals; particularly for low frequencies. + Further note that the filter type 'brickwall' operates in the frequency domain, + which may have severe issues. For instance, it is assumed that the time + domain signal is periodic over the finite period of observation. In other words, + given that the FFT is performed on untapered data, substantial signal leakage + may occur. Another issue pertains to 0/1 nature of the brick wall mask in the + frequency domain. Particularly with short data segments, the frequency resolution + will be low, and one should realise that frequency bins are widely spaced on short + time intervals, which has consequences for the low frequencies. In general, one + should be aware of the frequency bins' width, and how this interacts with the filter + parameters. Only use this filter if you know what you are doing. If the data contains NaNs, these will affect the output. With an IIR filter, and/or with FFT-filtering, local NaNs will spread to the whole @@ -60,9 +66,12 @@ def _ft_preproc_bandpassfilter(*args, **kwargs): See also PREPROC - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/specest/private/ft_preproc_bandpassfilter.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/specest/private/ft_preproc_bandpassfilter.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_preproc_bandpassfilter", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__specest/_ft_preproc_polyremoval.py b/spm/__external/__fieldtrip/__specest/_ft_preproc_polyremoval.py index 60e3679d..450d67f9 100644 --- a/spm/__external/__fieldtrip/__specest/_ft_preproc_polyremoval.py +++ b/spm/__external/__fieldtrip/__specest/_ft_preproc_polyremoval.py @@ -2,7 +2,7 @@ def _ft_preproc_polyremoval(*args, **kwargs): - """ + r""" FT_PREPROC_POLYREMOVAL removed an Nth order polynomal from the data Use as @@ -34,9 +34,12 @@ def _ft_preproc_polyremoval(*args, **kwargs): See also FT_PREPROC_BASELINECORRECT, FT_PREPROC_DETREND - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/specest/private/ft_preproc_polyremoval.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/specest/private/ft_preproc_polyremoval.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_preproc_polyremoval", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__specest/_ft_version.py b/spm/__external/__fieldtrip/__specest/_ft_version.py index dfc14eca..e2a8471b 100644 --- a/spm/__external/__fieldtrip/__specest/_ft_version.py +++ b/spm/__external/__fieldtrip/__specest/_ft_version.py @@ -2,7 +2,7 @@ def _ft_version(*args, **kwargs): - """ + r""" FT_VERSION returns the version of FieldTrip and the path where it is installed FieldTrip is not released with version numbers as "2.0", "2.1", etc. Instead, we @@ -40,9 +40,12 @@ def _ft_version(*args, **kwargs): See also FT_PLATFORM_SUPPORTS, VERSION, VER, VERLESSTHAN - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/specest/private/ft_version.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/specest/private/ft_version.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_version", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__specest/_ft_warning.py b/spm/__external/__fieldtrip/__specest/_ft_warning.py index cf732169..c487eddb 100644 --- a/spm/__external/__fieldtrip/__specest/_ft_warning.py +++ b/spm/__external/__fieldtrip/__specest/_ft_warning.py @@ -2,7 +2,7 @@ def _ft_warning(*args, **kwargs): - """ + r""" FT_WARNING prints a warning message on screen, depending on the verbosity settings of the calling high-level FieldTrip function. This function works similar to the standard WARNING function, but also features the "once" mode. @@ -38,9 +38,12 @@ def _ft_warning(*args, **kwargs): See also FT_ERROR, FT_WARNING, FT_NOTICE, FT_INFO, FT_DEBUG, ERROR, WARNING - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/specest/private/ft_warning.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/specest/private/ft_warning.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_warning", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__specest/_getsubfield.py b/spm/__external/__fieldtrip/__specest/_getsubfield.py index 2da9e83b..ee0411ce 100644 --- a/spm/__external/__fieldtrip/__specest/_getsubfield.py +++ b/spm/__external/__fieldtrip/__specest/_getsubfield.py @@ -2,7 +2,7 @@ def _getsubfield(*args, **kwargs): - """ + r""" GETSUBFIELD returns a field from a structure just like the standard GETFIELD function, except that you can also specify nested fields using a '.' in the fieldname. The nesting can be arbitrary deep. @@ -15,9 +15,12 @@ def _getsubfield(*args, **kwargs): See also GETFIELD, ISSUBFIELD, SETSUBFIELD - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/specest/private/getsubfield.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/specest/private/getsubfield.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("getsubfield", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__specest/_isalmostequal.py b/spm/__external/__fieldtrip/__specest/_isalmostequal.py index 951125ff..a991d9a3 100644 --- a/spm/__external/__fieldtrip/__specest/_isalmostequal.py +++ b/spm/__external/__fieldtrip/__specest/_isalmostequal.py @@ -2,7 +2,7 @@ def _isalmostequal(*args, **kwargs): - """ + r""" ISALMOSTEQUAL compares two input variables and returns true/false and a message containing the details on the observed difference. @@ -23,9 +23,12 @@ def _isalmostequal(*args, **kwargs): See also ISEQUAL, ISEQUALNAN - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/specest/private/isalmostequal.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/specest/private/isalmostequal.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("isalmostequal", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__specest/_issubfield.py b/spm/__external/__fieldtrip/__specest/_issubfield.py index 569b6ebb..1405d9b7 100644 --- a/spm/__external/__fieldtrip/__specest/_issubfield.py +++ b/spm/__external/__fieldtrip/__specest/_issubfield.py @@ -2,7 +2,7 @@ def _issubfield(*args, **kwargs): - """ + r""" ISSUBFIELD tests for the presence of a field in a structure just like the standard Matlab ISFIELD function, except that you can also specify nested fields using a '.' in the fieldname. The nesting can be arbitrary deep. @@ -18,9 +18,12 @@ def _issubfield(*args, **kwargs): See also ISFIELD, GETSUBFIELD, SETSUBFIELD - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/specest/private/issubfield.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/specest/private/issubfield.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("issubfield", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__specest/_istrue.py b/spm/__external/__fieldtrip/__specest/_istrue.py index 34f9e2b1..3e0e3dd2 100644 --- a/spm/__external/__fieldtrip/__specest/_istrue.py +++ b/spm/__external/__fieldtrip/__specest/_istrue.py @@ -2,14 +2,17 @@ def _istrue(*args, **kwargs): - """ + r""" ISTRUE converts an input argument like "yes/no", "true/false" or "on/off" into a boolean. If the input is boolean, then it will remain like that. - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/specest/private/istrue.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/specest/private/istrue.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("istrue", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__specest/_keyval.py b/spm/__external/__fieldtrip/__specest/_keyval.py index 02889945..f6b71666 100644 --- a/spm/__external/__fieldtrip/__specest/_keyval.py +++ b/spm/__external/__fieldtrip/__specest/_keyval.py @@ -2,7 +2,7 @@ def _keyval(*args, **kwargs): - """ + r""" KEYVAL returns the value that corresponds to the requested key in a key-value pair list of variable input arguments @@ -12,9 +12,12 @@ def _keyval(*args, **kwargs): See also VARARGIN - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/specest/private/keyval.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/specest/private/keyval.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("keyval", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__specest/_keyvalcheck.py b/spm/__external/__fieldtrip/__specest/_keyvalcheck.py index aecdbb9c..b29d7575 100644 --- a/spm/__external/__fieldtrip/__specest/_keyvalcheck.py +++ b/spm/__external/__fieldtrip/__specest/_keyvalcheck.py @@ -2,7 +2,7 @@ def _keyvalcheck(*args, **kwargs): - """ + r""" KEYVALCHECK is a helper function for parsing optional key-value input pairs. Use as @@ -13,9 +13,12 @@ def _keyvalcheck(*args, **kwargs): See also KEYVAL - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/specest/private/keyvalcheck.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/specest/private/keyvalcheck.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("keyvalcheck", *args, **kwargs, nargout=0) diff --git a/spm/__external/__fieldtrip/__specest/_rmsubfield.py b/spm/__external/__fieldtrip/__specest/_rmsubfield.py index 798ffdd4..fdef07da 100644 --- a/spm/__external/__fieldtrip/__specest/_rmsubfield.py +++ b/spm/__external/__fieldtrip/__specest/_rmsubfield.py @@ -2,7 +2,7 @@ def _rmsubfield(*args, **kwargs): - """ + r""" RMSUBFIELD removes the contents of the specified field from a structure just like the standard Matlab RMFIELD function, except that you can also specify nested fields using a '.' in the fieldname. The nesting can be @@ -16,9 +16,12 @@ def _rmsubfield(*args, **kwargs): See also SETFIELD, GETSUBFIELD, ISSUBFIELD - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/specest/private/rmsubfield.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/specest/private/rmsubfield.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("rmsubfield", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__specest/_setsubfield.py b/spm/__external/__fieldtrip/__specest/_setsubfield.py index e17ccaf1..76a62998 100644 --- a/spm/__external/__fieldtrip/__specest/_setsubfield.py +++ b/spm/__external/__fieldtrip/__specest/_setsubfield.py @@ -2,7 +2,7 @@ def _setsubfield(*args, **kwargs): - """ + r""" SETSUBFIELD sets the contents of the specified field to a specified value just like the standard Matlab SETFIELD function, except that you can also specify nested fields using a '.' in the fieldname. The nesting can be @@ -19,9 +19,12 @@ def _setsubfield(*args, **kwargs): See also SETFIELD, GETSUBFIELD, ISSUBFIELD - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/specest/private/setsubfield.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/specest/private/setsubfield.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("setsubfield", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__specest/_sine_taper.py b/spm/__external/__fieldtrip/__specest/_sine_taper.py index d693ef57..b20d16a1 100644 --- a/spm/__external/__fieldtrip/__specest/_sine_taper.py +++ b/spm/__external/__fieldtrip/__specest/_sine_taper.py @@ -2,15 +2,18 @@ def _sine_taper(*args, **kwargs): - """ + r""" Compute Riedel & Sidorenko sine tapers. sine_taper(n, k) produces the first 2*k tapers of length n, returned as the columns of d. - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/specest/private/sine_taper.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/specest/private/sine_taper.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("sine_taper", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__specest/_sine_taper_scaled.py b/spm/__external/__fieldtrip/__specest/_sine_taper_scaled.py index 9684be51..99edf71c 100644 --- a/spm/__external/__fieldtrip/__specest/_sine_taper_scaled.py +++ b/spm/__external/__fieldtrip/__specest/_sine_taper_scaled.py @@ -2,7 +2,7 @@ def _sine_taper_scaled(*args, **kwargs): - """ + r""" Compute Riedel & Sidorenko sine tapers. sine_taper_scaled(n, k) produces the first 2*k tapers of length n, returned as the columns of d. The norm of the tapers will not be 1. The @@ -12,9 +12,12 @@ def _sine_taper_scaled(*args, **kwargs): the powerspectra of the tapered data segments, prior to averaging. - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/specest/private/sine_taper_scaled.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/specest/private/sine_taper_scaled.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("sine_taper_scaled", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__specest/ft_specest_hilbert.py b/spm/__external/__fieldtrip/__specest/ft_specest_hilbert.py index 4b1a6439..0efe87ae 100644 --- a/spm/__external/__fieldtrip/__specest/ft_specest_hilbert.py +++ b/spm/__external/__fieldtrip/__specest/ft_specest_hilbert.py @@ -2,7 +2,7 @@ def ft_specest_hilbert(*args, **kwargs): - """ + r""" FT_SPECEST_HILBERT performs a spectral estimation of data by repeatedly applying a bandpass filter and then doing a Hilbert transform. @@ -32,9 +32,12 @@ def ft_specest_hilbert(*args, **kwargs): See also FT_FREQANALYSIS, FT_SPECEST_MTMFFT, FT_SPECEST_TFR, FT_SPECEST_MTMCONVOL, FT_SPECEST_WAVELET - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/specest/ft_specest_hilbert.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/specest/ft_specest_hilbert.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_specest_hilbert", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__specest/ft_specest_irasa.py b/spm/__external/__fieldtrip/__specest/ft_specest_irasa.py index 4ab2f1f1..514ffa1d 100644 --- a/spm/__external/__fieldtrip/__specest/ft_specest_irasa.py +++ b/spm/__external/__fieldtrip/__specest/ft_specest_irasa.py @@ -2,7 +2,7 @@ def ft_specest_irasa(*args, **kwargs): - """ + r""" FT_SPECEST_IRASA separates the fractal components from the orginal power spectrum using Irregular-Resampling Auto-Spectral Analysis (IRASA) @@ -34,9 +34,12 @@ def ft_specest_irasa(*args, **kwargs): See also FT_FREQANALYSIS, FT_SPECEST_MTMFFT, FT_SPECEST_MTMCONVOL, FT_SPECEST_TFR, FT_SPECEST_HILBERT, FT_SPECEST_WAVELET - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/specest/ft_specest_irasa.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/specest/ft_specest_irasa.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_specest_irasa", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__specest/ft_specest_mtmconvol.py b/spm/__external/__fieldtrip/__specest/ft_specest_mtmconvol.py index aef4fc5e..c844470f 100644 --- a/spm/__external/__fieldtrip/__specest/ft_specest_mtmconvol.py +++ b/spm/__external/__fieldtrip/__specest/ft_specest_mtmconvol.py @@ -2,7 +2,7 @@ def ft_specest_mtmconvol(*args, **kwargs): - """ + r""" FT_SPECEST_MTMCONVOL performs wavelet convolution in the time domain by multiplication in the frequency domain. @@ -33,9 +33,12 @@ def ft_specest_mtmconvol(*args, **kwargs): See also FT_FREQANALYSIS, FT_SPECEST_MTMFFT, FT_SPECEST_TFR, FT_SPECEST_HILBERT, FT_SPECEST_WAVELET - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/specest/ft_specest_mtmconvol.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/specest/ft_specest_mtmconvol.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_specest_mtmconvol", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__specest/ft_specest_mtmfft.py b/spm/__external/__fieldtrip/__specest/ft_specest_mtmfft.py index a6b9d52c..1e487821 100644 --- a/spm/__external/__fieldtrip/__specest/ft_specest_mtmfft.py +++ b/spm/__external/__fieldtrip/__specest/ft_specest_mtmfft.py @@ -2,12 +2,12 @@ def ft_specest_mtmfft(*args, **kwargs): - """ + r""" FT_SPECEST_MTMFFT computes a fast Fourier transform using multitapering with multiple tapers from the DPSS sequence or using a variety of single tapers. Use as - [spectrum, ntaper, freqoi] = ft_specest_mtmfft(dat, time, ...) + [spectrum, ntaper, freqoi, se] = ft_specest_mtmfft(dat, time, ...) where the input arguments are dat = matrix of chan*sample time = vector, containing time in seconds for each sample @@ -15,11 +15,13 @@ def ft_specest_mtmfft(*args, **kwargs): spectrum = matrix of ntaper*nchan*nfreq of fourier coefficients ntaper = vector containing number of tapers per element of freqoi freqoi = vector of frequencies in spectrum + se = (only with dpss-tapers) effective degrees of freedom Optional arguments should be specified in key-value pairs and can include freqoi = vector, containing frequencies of interest taper = 'dpss', 'hanning' or many others, see WINDOW (default = 'dpss') taperopt = additional taper options to be used in the WINDOW function, see WINDOW + weightopt = 'mean', 'eig', 'adapt' (default = 'mean'), taper weights for dpss tapers, see ADAPTSPEC_DPSS tapsmofrq = the amount of spectral smoothing through multi-tapering. Note: 4 Hz smoothing means plus-minus 4 Hz, i.e. a 8 Hz smoothing box pad = number, total length of data after zero padding (in seconds) padtype = string, indicating type of padding to be used, can be 'zero', 'mean', 'localmean', 'edge', or 'mirror' (default = 'zero') @@ -30,9 +32,12 @@ def ft_specest_mtmfft(*args, **kwargs): See also FT_FREQANALYSIS, FT_SPECEST_MTMCONVOL, FT_SPECEST_TFR, FT_SPECEST_HILBERT, FT_SPECEST_WAVELET - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/specest/ft_specest_mtmfft.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/specest/ft_specest_mtmfft.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_specest_mtmfft", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__specest/ft_specest_neuvar.py b/spm/__external/__fieldtrip/__specest/ft_specest_neuvar.py index c3b83855..be3e3e6c 100644 --- a/spm/__external/__fieldtrip/__specest/ft_specest_neuvar.py +++ b/spm/__external/__fieldtrip/__specest/ft_specest_neuvar.py @@ -2,7 +2,7 @@ def ft_specest_neuvar(*args, **kwargs): - """ + r""" FT_SPECEST_NEUVAR computes a time-domain estimation of overall signal power, having compensated for the 1/f distribution of spectral content. @@ -25,9 +25,12 @@ def ft_specest_neuvar(*args, **kwargs): See also FT_FREQANALYSIS, FT_SPECEST_MTMFFT, FT_SPECEST_MTMCONVOL, FT_SPECEST_TFR, FT_SPECEST_HILBERT, FT_SPECEST_WAVELET - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/specest/ft_specest_neuvar.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/specest/ft_specest_neuvar.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_specest_neuvar", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__specest/ft_specest_tfr.py b/spm/__external/__fieldtrip/__specest/ft_specest_tfr.py index 82aeefcc..ffd1a339 100644 --- a/spm/__external/__fieldtrip/__specest/ft_specest_tfr.py +++ b/spm/__external/__fieldtrip/__specest/ft_specest_tfr.py @@ -2,7 +2,7 @@ def ft_specest_tfr(*args, **kwargs): - """ + r""" FT_SPECEST_TFR performs time-frequency analysis on any time series trial data using the 'wavelet method' based on Morlet wavelets, doing convolution in the time domain. @@ -28,9 +28,12 @@ def ft_specest_tfr(*args, **kwargs): See also FT_FREQANALYSIS, FT_SPECEST_MTMFFT, FT_SPECEST_MTMCONVOL, FT_SPECEST_HILBERT, FT_SPECEST_NANFFT, FT_SPECEST_WAVELET - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/specest/ft_specest_tfr.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/specest/ft_specest_tfr.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_specest_tfr", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__specest/ft_specest_wavelet.py b/spm/__external/__fieldtrip/__specest/ft_specest_wavelet.py index 19c986e2..c10d6c4f 100644 --- a/spm/__external/__fieldtrip/__specest/ft_specest_wavelet.py +++ b/spm/__external/__fieldtrip/__specest/ft_specest_wavelet.py @@ -2,7 +2,7 @@ def ft_specest_wavelet(*args, **kwargs): - """ + r""" FT_SPECEST_WAVELET performs time-frequency analysis on any time series trial data using the 'wavelet method' based on Morlet wavelets, doing convolution in the time domain by multiplication in the frequency domain. @@ -30,9 +30,12 @@ def ft_specest_wavelet(*args, **kwargs): See also FT_FREQANALYSIS, FT_SPECEST_MTMCONVOL, FT_SPECEST_TFR, FT_SPECEST_HILBERT, FT_SPECEST_MTMFFT - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/specest/ft_specest_wavelet.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/specest/ft_specest_wavelet.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_specest_wavelet", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__src/__init__.py b/spm/__external/__fieldtrip/__src/__init__.py index d7947f1d..4effb999 100644 --- a/spm/__external/__fieldtrip/__src/__init__.py +++ b/spm/__external/__fieldtrip/__src/__init__.py @@ -1,5 +1,7 @@ +from .combineClusters import combineClusters from .det2x2 import det2x2 from .det3x3 import det3x3 +from .ft_getopt import ft_getopt from .getpid import getpid from .inv2x2 import inv2x2 from .inv3x3 import inv3x3 @@ -10,6 +12,7 @@ from .mtimes3x3 import mtimes3x3 from .mxDeserialize import mxDeserialize from .mxSerialize import mxSerialize +from .nanvar import nanvar from .plgndr import plgndr from .plinproj import plinproj from .ptriproj import ptriproj @@ -26,8 +29,10 @@ __all__ = [ + "combineClusters", "det2x2", "det3x3", + "ft_getopt", "getpid", "inv2x2", "inv3x3", @@ -38,6 +43,7 @@ "mtimes3x3", "mxDeserialize", "mxSerialize", + "nanvar", "plgndr", "plinproj", "ptriproj", diff --git a/spm/__external/__fieldtrip/__src/combineClusters.py b/spm/__external/__fieldtrip/__src/combineClusters.py new file mode 100644 index 00000000..6836f66c --- /dev/null +++ b/spm/__external/__fieldtrip/__src/combineClusters.py @@ -0,0 +1,18 @@ +from spm._runtime import Runtime + + +def combineClusters(*args, **kwargs): + r""" + COMBINECLUSTERS is a helper function for FINDCLUSTER. It searches for + adjacent clusters in neighbouring channels and combines them. + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/src/combineClusters.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("combineClusters", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__src/det2x2.py b/spm/__external/__fieldtrip/__src/det2x2.py index e720343b..ab1da92f 100644 --- a/spm/__external/__fieldtrip/__src/det2x2.py +++ b/spm/__external/__fieldtrip/__src/det2x2.py @@ -2,14 +2,17 @@ def det2x2(*args, **kwargs): - """ + r""" DET2X2 computes determinant of matrix x, using explicit analytic definition if size(x,1) < 4, otherwise use MATLAB det-function - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/src/det2x2.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/src/det2x2.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("det2x2", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__src/det3x3.py b/spm/__external/__fieldtrip/__src/det3x3.py index 1a36a688..45886bbf 100644 --- a/spm/__external/__fieldtrip/__src/det3x3.py +++ b/spm/__external/__fieldtrip/__src/det3x3.py @@ -2,14 +2,17 @@ def det3x3(*args, **kwargs): - """ + r""" DET3X3 computes determinant of matrix x, using explicit analytic definition if size(x) = [3 3 K M] - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/src/det3x3.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/src/det3x3.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("det3x3", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__src/ft_getopt.py b/spm/__external/__fieldtrip/__src/ft_getopt.py new file mode 100644 index 00000000..c9260e56 --- /dev/null +++ b/spm/__external/__fieldtrip/__src/ft_getopt.py @@ -0,0 +1,39 @@ +from spm._runtime import Runtime + + +def ft_getopt(*args, **kwargs): + r""" + FT_GETOPT gets the value of a specified option from a configuration structure + or from a cell-array with key-value pairs. + + Use as + val = ft_getopt(s, key, default, emptymeaningful) + where the input values are + s = structure or cell-array + key = string + default = any valid MATLAB data type (optional, default = []) + emptymeaningful = boolean value (optional, default = false) + + If the key is present as field in the structure, or as key-value pair in the + cell-array, the corresponding value will be returned. + + If the key is not present, ft_getopt will return the default, or an empty array + when no default was specified. + + If the key is present but has an empty value, then the emptymeaningful flag + specifies whether the empty value or the default value should be returned. + If emptymeaningful==true, then the empty array will be returned. + If emptymeaningful==false, then the specified default will be returned. + + See also FT_SETOPT, FT_CHECKOPT, FT_DELETEOPT, INPUTPARSER + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/src/ft_getopt.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("ft_getopt", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__src/getpid.py b/spm/__external/__fieldtrip/__src/getpid.py index 316ad4c2..5d0eda0f 100644 --- a/spm/__external/__fieldtrip/__src/getpid.py +++ b/spm/__external/__fieldtrip/__src/getpid.py @@ -2,17 +2,19 @@ def getpid(*args, **kwargs): - """ - GETPID returns the process identifier (PID) of the current Matlab - process. + r""" + GETPID returns the process identifier (PID) of the current MATLAB process Use as - num = getpid; + num = getpid - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/src/getpid.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/src/getpid.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("getpid", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__src/inv2x2.py b/spm/__external/__fieldtrip/__src/inv2x2.py index b5633e8f..04f7c50b 100644 --- a/spm/__external/__fieldtrip/__src/inv2x2.py +++ b/spm/__external/__fieldtrip/__src/inv2x2.py @@ -2,14 +2,17 @@ def inv2x2(*args, **kwargs): - """ + r""" INV2X2 computes inverse of matrix x, using explicit analytic definition if size(x,1) < 4, otherwise use MATLAB inv-function - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/src/inv2x2.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/src/inv2x2.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("inv2x2", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__src/inv3x3.py b/spm/__external/__fieldtrip/__src/inv3x3.py index 6f5fcd3b..ad2eca70 100644 --- a/spm/__external/__fieldtrip/__src/inv3x3.py +++ b/spm/__external/__fieldtrip/__src/inv3x3.py @@ -2,14 +2,17 @@ def inv3x3(*args, **kwargs): - """ + r""" INV3X3 computes inverse of matrix x, using explicit analytic definition if size(x) = [3 3 K M] - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/src/inv3x3.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/src/inv3x3.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("inv3x3", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__src/lmoutr.py b/spm/__external/__fieldtrip/__src/lmoutr.py index fff4d712..98591957 100644 --- a/spm/__external/__fieldtrip/__src/lmoutr.py +++ b/spm/__external/__fieldtrip/__src/lmoutr.py @@ -2,18 +2,21 @@ def lmoutr(*args, **kwargs): - """ + r""" LMOUTR computes the la/mu parameters of a point projected to a triangle Use as [la, mu, dist] = lmoutr(v1, v2, v3, r) - where v1, v2 and v3 are three vertices of the triangle, and r is + where v1, v2 and v3 are three vertices of the triangle, and r is the point that is projected onto the plane spanned by the vertices - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/src/lmoutr.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/src/lmoutr.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("lmoutr", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__src/ltrisect.py b/spm/__external/__fieldtrip/__src/ltrisect.py index b8464459..32300f92 100644 --- a/spm/__external/__fieldtrip/__src/ltrisect.py +++ b/spm/__external/__fieldtrip/__src/ltrisect.py @@ -2,18 +2,21 @@ def ltrisect(*args, **kwargs): - """ + r""" LTRISECT intersects a line with a plane spanned by three vertices Use as - [sect] = ltrisect(v1, v2, v3, l1, l2) + [pos] = ltrisect(v1, v2, v3, l1, l2) where v1, v2 and v3 are three vertices spanning the plane, and l1 and l2 are two points on the line - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/src/ltrisect.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/src/ltrisect.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ltrisect", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__src/meg_leadfield1.py b/spm/__external/__fieldtrip/__src/meg_leadfield1.py index 5cb045f3..79ff2a84 100644 --- a/spm/__external/__fieldtrip/__src/meg_leadfield1.py +++ b/spm/__external/__fieldtrip/__src/meg_leadfield1.py @@ -2,15 +2,15 @@ def meg_leadfield1(*args, **kwargs): - """ + r""" MEG_LEADFIELD1 magnetic leadfield for a dipole in a homogenous sphere - [lf] = meg_leadfield1(R, pos, ori) - + Use as + [lf] = meg_leadfield1(dippos, coilpos, coilori) with input arguments - R position dipole - pos position magnetometers - ori orientation magnetometers + dippos position of the dipole dipole + coilpos position of the magnetometers + coilori orientation of the magnetometers The center of the homogenous sphere is in the origin, the field of the dipole is not dependent on the sphere radius. @@ -18,9 +18,12 @@ def meg_leadfield1(*args, **kwargs): This function is also implemented as MEX file. - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/src/meg_leadfield1.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/src/meg_leadfield1.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("meg_leadfield1", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__src/mtimes2x2.py b/spm/__external/__fieldtrip/__src/mtimes2x2.py index 3bd9bb3a..4795e196 100644 --- a/spm/__external/__fieldtrip/__src/mtimes2x2.py +++ b/spm/__external/__fieldtrip/__src/mtimes2x2.py @@ -2,13 +2,16 @@ def mtimes2x2(*args, **kwargs): - """ + r""" MTIMES2X2 compute x*y where the dimensionatity is 2x2xN or 2x2xNxM - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/src/mtimes2x2.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/src/mtimes2x2.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("mtimes2x2", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__src/mtimes3x3.py b/spm/__external/__fieldtrip/__src/mtimes3x3.py index e129708d..aec7b13b 100644 --- a/spm/__external/__fieldtrip/__src/mtimes3x3.py +++ b/spm/__external/__fieldtrip/__src/mtimes3x3.py @@ -2,13 +2,16 @@ def mtimes3x3(*args, **kwargs): - """ + r""" MTIMES3X3 compute x*y where the dimensionatity is 3x3xN or 3x3xNxM - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/src/mtimes3x3.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/src/mtimes3x3.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("mtimes3x3", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__src/mxDeserialize.py b/spm/__external/__fieldtrip/__src/mxDeserialize.py index a20f994a..4bd7e687 100644 --- a/spm/__external/__fieldtrip/__src/mxDeserialize.py +++ b/spm/__external/__fieldtrip/__src/mxDeserialize.py @@ -2,16 +2,19 @@ def mxDeserialize(*args, **kwargs): - """ + r""" MXDESERIALIZE reconstructs a MATLAB object from a uint8 array suitable for passing down a comms channel to be reconstructed at the other end. See also MXSERIALIZE - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/src/mxDeserialize.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/src/mxDeserialize.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("mxDeserialize", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__src/mxSerialize.py b/spm/__external/__fieldtrip/__src/mxSerialize.py index d1dab3fb..b69f5ee2 100644 --- a/spm/__external/__fieldtrip/__src/mxSerialize.py +++ b/spm/__external/__fieldtrip/__src/mxSerialize.py @@ -2,16 +2,19 @@ def mxSerialize(*args, **kwargs): - """ + r""" MXSERIALIZE converts any MATLAB object into a uint8 array suitable for passing down a comms channel to be reconstructed at the other end. See also MXDESERIALIZE - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/src/mxSerialize.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/src/mxSerialize.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("mxSerialize", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__src/nanvar.py b/spm/__external/__fieldtrip/__src/nanvar.py new file mode 100644 index 00000000..48d83360 --- /dev/null +++ b/spm/__external/__fieldtrip/__src/nanvar.py @@ -0,0 +1,22 @@ +from spm._runtime import Runtime + + +def nanvar(*args, **kwargs): + r""" + FORMAT: Y = NANVAR(X,FLAG,DIM) + + This file is intended as a drop-in replacement for Matlab's nanvar. It + originally forms part of the NaN suite: + http://www.mathworks.com/matlabcentral/fileexchange/6837-nan-suite/ + and was modified to be compatible. + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/src/nanvar.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("nanvar", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__src/plgndr.py b/spm/__external/__fieldtrip/__src/plgndr.py index cce3d432..7e2bf8e5 100644 --- a/spm/__external/__fieldtrip/__src/plgndr.py +++ b/spm/__external/__fieldtrip/__src/plgndr.py @@ -2,18 +2,20 @@ def plgndr(*args, **kwargs): - """ - PLGNDR associated Legendre function - - y = plgndr(n,k,x) computes the values of the associated Legendre functions + r""" + PLGNDR computes the values of the associated Legendre functions of degree N and order K - implemented as MEX file + Use as + y = plgndr(n,k,x) - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/src/plgndr.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/src/plgndr.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("plgndr", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__src/plinproj.py b/spm/__external/__fieldtrip/__src/plinproj.py index 0d6782e7..e4ca4acc 100644 --- a/spm/__external/__fieldtrip/__src/plinproj.py +++ b/spm/__external/__fieldtrip/__src/plinproj.py @@ -2,12 +2,12 @@ def plinproj(*args, **kwargs): - """ + r""" PLINPROJ projects a point onto a line or linepiece Use as [proj, dist] = plinproj(l1, l2, r, flag) - where l1 and l2 are the begin and endpoint of the linepiece, and r is + where l1 and l2 are the begin and endpoint of the linepiece, and r is the point that is projected onto the line the optional flag can be: @@ -15,9 +15,12 @@ def plinproj(*args, **kwargs): 1 project the point within or on the edge of the linepiece - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/src/plinproj.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/src/plinproj.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("plinproj", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__src/ptriproj.py b/spm/__external/__fieldtrip/__src/ptriproj.py index 8fe1136e..211c7bb1 100644 --- a/spm/__external/__fieldtrip/__src/ptriproj.py +++ b/spm/__external/__fieldtrip/__src/ptriproj.py @@ -2,7 +2,7 @@ def ptriproj(*args, **kwargs): - """ + r""" PTRIPROJ projects a point onto the plane going through a triangle Use as @@ -15,9 +15,12 @@ def ptriproj(*args, **kwargs): 1 project the point within or on the edge of the triangle - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/src/ptriproj.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/src/ptriproj.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ptriproj", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__src/read_16bit.py b/spm/__external/__fieldtrip/__src/read_16bit.py index e473ff58..b3db9fa7 100644 --- a/spm/__external/__fieldtrip/__src/read_16bit.py +++ b/spm/__external/__fieldtrip/__src/read_16bit.py @@ -2,20 +2,23 @@ def read_16bit(*args, **kwargs): - """ + r""" READ_16BIT read a stream of 16 bit values and converts them to doubles This function is designed for EDF files and is implemented as mex file for efficiency. Use as - [dat] = read_16bit(filename, offset, numwords); + [dat] = read_16bit(filename, offset, numwords) See also READ_24BIT - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/src/read_16bit.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/src/read_16bit.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("read_16bit", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__src/read_24bit.py b/spm/__external/__fieldtrip/__src/read_24bit.py index 5f62433f..d7486909 100644 --- a/spm/__external/__fieldtrip/__src/read_24bit.py +++ b/spm/__external/__fieldtrip/__src/read_24bit.py @@ -2,20 +2,23 @@ def read_24bit(*args, **kwargs): - """ + r""" READ_24BIT read a stream of 24 bit values and converts them to doubles This function is designed for Biosemi BDF files and is implemented as mex file for efficiency. Use as - [dat] = read_24bit(filename, offset, numwords); + [dat] = read_24bit(filename, offset, numwords) See also READ_16BIT - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/src/read_24bit.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/src/read_24bit.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("read_24bit", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__src/read_ctf_shm.py b/spm/__external/__fieldtrip/__src/read_ctf_shm.py index 0c7e2aeb..023690db 100644 --- a/spm/__external/__fieldtrip/__src/read_ctf_shm.py +++ b/spm/__external/__fieldtrip/__src/read_ctf_shm.py @@ -2,23 +2,26 @@ def read_ctf_shm(*args, **kwargs): - """ + r""" READ_CTF_SHM reads metainformation or selected blocks of data from shared memory. This function can be used for real-time processing of data while it is being acquired. Use as - [msgType msgId sampleNumber numSamples numChannels] = read_ctf_shm; + [msgType msgId sampleNumber numSamples numChannels] = read_ctf_shm or - [data] = read_ctf_shm(msgNumber); - [data] = read_ctf_shm(msgNumber, numValues); + [data] = read_ctf_shm(msgNumber) + [data] = read_ctf_shm(msgNumber, numValues) See also WRITE_CTF_SHM - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/src/read_ctf_shm.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/src/read_ctf_shm.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("read_ctf_shm", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__src/rfbevent.py b/spm/__external/__fieldtrip/__src/rfbevent.py index 6402e49d..9f5e01eb 100644 --- a/spm/__external/__fieldtrip/__src/rfbevent.py +++ b/spm/__external/__fieldtrip/__src/rfbevent.py @@ -2,7 +2,7 @@ def rfbevent(*args, **kwargs): - """ + r""" RFBEVENT sends a keyboard or mouse event to a VNC server RFB ("remote frame buffer") is a simple protocol for remote access to @@ -42,9 +42,12 @@ def rfbevent(*args, **kwargs): June 2007), http://www.realvnc.com/docs/rfbproto.pdf - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/src/rfbevent.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/src/rfbevent.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ - return Runtime.call("rfbevent", *args, **kwargs) + return Runtime.call("rfbevent", *args, **kwargs, nargout=0) diff --git a/spm/__external/__fieldtrip/__src/routlm.py b/spm/__external/__fieldtrip/__src/routlm.py index 6a2c64d0..7bebf0cd 100644 --- a/spm/__external/__fieldtrip/__src/routlm.py +++ b/spm/__external/__fieldtrip/__src/routlm.py @@ -2,7 +2,7 @@ def routlm(*args, **kwargs): - """ + r""" ROUTLM computes the projection of a point from its la/mu parameters these equal the "Barycentric" coordinates @@ -11,9 +11,12 @@ def routlm(*args, **kwargs): where v1, v2 and v3 are three vertices of the triangle - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/src/routlm.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/src/routlm.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("routlm", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__src/sandwich2x2.py b/spm/__external/__fieldtrip/__src/sandwich2x2.py index 6a516ffa..05d54b2d 100644 --- a/spm/__external/__fieldtrip/__src/sandwich2x2.py +++ b/spm/__external/__fieldtrip/__src/sandwich2x2.py @@ -2,13 +2,16 @@ def sandwich2x2(*args, **kwargs): - """ + r""" SANDWICH2X2 compute x*y*x' provided y is Hermitian and dimensionality is 2x2xN - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/src/sandwich2x2.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/src/sandwich2x2.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("sandwich2x2", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__src/sandwich3x3.py b/spm/__external/__fieldtrip/__src/sandwich3x3.py index 4c02cdbf..c21020c0 100644 --- a/spm/__external/__fieldtrip/__src/sandwich3x3.py +++ b/spm/__external/__fieldtrip/__src/sandwich3x3.py @@ -2,13 +2,16 @@ def sandwich3x3(*args, **kwargs): - """ + r""" SANDWICH3X3 compute x*y*x' provided y is Hermitian and dimensionality is 3x3xN - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/src/sandwich3x3.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/src/sandwich3x3.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("sandwich3x3", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__src/solid_angle.py b/spm/__external/__fieldtrip/__src/solid_angle.py index 096b1269..a3fa89e4 100644 --- a/spm/__external/__fieldtrip/__src/solid_angle.py +++ b/spm/__external/__fieldtrip/__src/solid_angle.py @@ -2,7 +2,7 @@ def solid_angle(*args, **kwargs): - """ + r""" SOLID_ANGLE of a planar triangle as seen from the origin The solid angle W subtended by a surface S is defined as the surface @@ -10,7 +10,7 @@ def solid_angle(*args, **kwargs): sphere. Solid angle is measured in steradians, and the solid angle corresponding to all of space being subtended is 4*pi sterradians. - Use: + Use as [w] = solid_angle(v1, v2, v3) or [w] = solid_angle(pnt, tri) @@ -19,9 +19,12 @@ def solid_angle(*args, **kwargs): compute the solid angle for each triangle) - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/src/solid_angle.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/src/solid_angle.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("solid_angle", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__src/splint_gh.py b/spm/__external/__fieldtrip/__src/splint_gh.py index eaeb0360..a8aadd17 100644 --- a/spm/__external/__fieldtrip/__src/splint_gh.py +++ b/spm/__external/__fieldtrip/__src/splint_gh.py @@ -2,14 +2,20 @@ def splint_gh(*args, **kwargs): - """ + r""" SPLINT_GH implements equations (3) and (5b) of Perrin 1989 for simultaneous computation of multiple values + + Use as + [gx, hx] = splint_gh(x) - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/src/splint_gh.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/src/splint_gh.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("splint_gh", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__src/write_ctf_shm.py b/spm/__external/__fieldtrip/__src/write_ctf_shm.py index 5c312414..d4222306 100644 --- a/spm/__external/__fieldtrip/__src/write_ctf_shm.py +++ b/spm/__external/__fieldtrip/__src/write_ctf_shm.py @@ -2,20 +2,23 @@ def write_ctf_shm(*args, **kwargs): - """ + r""" WRITE_CTF_SHM writes metainformation and data as a packet to shared memory. This function can be used for real-time processing of data while it is being acquired. Use as - write_ctf_shm(msgType, msgId, sampleNumber, numSamples, numChannels, data); + write_ctf_shm(msgType, msgId, sampleNumber, numSamples, numChannels, data) See also READ_CTF_SHM - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/src/write_ctf_shm.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/src/write_ctf_shm.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ - return Runtime.call("write_ctf_shm", *args, **kwargs) + return Runtime.call("write_ctf_shm", *args, **kwargs, nargout=0) diff --git a/spm/__external/__fieldtrip/__statfun/_defaultId.py b/spm/__external/__fieldtrip/__statfun/_defaultId.py index a6f05843..b7c85832 100644 --- a/spm/__external/__fieldtrip/__statfun/_defaultId.py +++ b/spm/__external/__fieldtrip/__statfun/_defaultId.py @@ -2,16 +2,19 @@ def _defaultId(*args, **kwargs): - """ + r""" DEFAULTID returns a string that can serve as warning or error identifier, for example 'FieldTip:ft_read_header:line345'. See also WARNING, ERROR, FT_NOTICE, FT_INFO, FT_DEBUG - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/statfun/private/defaultId.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/statfun/private/defaultId.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("defaultId", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__statfun/_fixname.py b/spm/__external/__fieldtrip/__statfun/_fixname.py index c697cfb3..2cfb829c 100644 --- a/spm/__external/__fieldtrip/__statfun/_fixname.py +++ b/spm/__external/__fieldtrip/__statfun/_fixname.py @@ -2,7 +2,7 @@ def _fixname(*args, **kwargs): - """ + r""" FIXNAME changes all inappropriate characters in a string into '_' so that it can be used as a filename or as a field name in a structure. If the string begins with a digit, an 'x' is prepended. @@ -18,9 +18,12 @@ def _fixname(*args, **kwargs): See also DEBLANK, STRIP, PAD - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/statfun/private/fixname.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/statfun/private/fixname.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("fixname", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__statfun/_getsubfield.py b/spm/__external/__fieldtrip/__statfun/_getsubfield.py index 74635b61..e3ef1547 100644 --- a/spm/__external/__fieldtrip/__statfun/_getsubfield.py +++ b/spm/__external/__fieldtrip/__statfun/_getsubfield.py @@ -2,7 +2,7 @@ def _getsubfield(*args, **kwargs): - """ + r""" GETSUBFIELD returns a field from a structure just like the standard GETFIELD function, except that you can also specify nested fields using a '.' in the fieldname. The nesting can be arbitrary deep. @@ -15,9 +15,12 @@ def _getsubfield(*args, **kwargs): See also GETFIELD, ISSUBFIELD, SETSUBFIELD - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/statfun/private/getsubfield.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/statfun/private/getsubfield.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("getsubfield", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__statfun/_issubfield.py b/spm/__external/__fieldtrip/__statfun/_issubfield.py index 137ec170..ca2fa1e9 100644 --- a/spm/__external/__fieldtrip/__statfun/_issubfield.py +++ b/spm/__external/__fieldtrip/__statfun/_issubfield.py @@ -2,7 +2,7 @@ def _issubfield(*args, **kwargs): - """ + r""" ISSUBFIELD tests for the presence of a field in a structure just like the standard Matlab ISFIELD function, except that you can also specify nested fields using a '.' in the fieldname. The nesting can be arbitrary deep. @@ -18,9 +18,12 @@ def _issubfield(*args, **kwargs): See also ISFIELD, GETSUBFIELD, SETSUBFIELD - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/statfun/private/issubfield.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/statfun/private/issubfield.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("issubfield", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__statfun/_istrue.py b/spm/__external/__fieldtrip/__statfun/_istrue.py index a20c6fde..6538e80d 100644 --- a/spm/__external/__fieldtrip/__statfun/_istrue.py +++ b/spm/__external/__fieldtrip/__statfun/_istrue.py @@ -2,14 +2,17 @@ def _istrue(*args, **kwargs): - """ + r""" ISTRUE converts an input argument like "yes/no", "true/false" or "on/off" into a boolean. If the input is boolean, then it will remain like that. - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/statfun/private/istrue.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/statfun/private/istrue.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("istrue", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__statfun/_rmsubfield.py b/spm/__external/__fieldtrip/__statfun/_rmsubfield.py index a7f706c0..37a250ed 100644 --- a/spm/__external/__fieldtrip/__statfun/_rmsubfield.py +++ b/spm/__external/__fieldtrip/__statfun/_rmsubfield.py @@ -2,7 +2,7 @@ def _rmsubfield(*args, **kwargs): - """ + r""" RMSUBFIELD removes the contents of the specified field from a structure just like the standard Matlab RMFIELD function, except that you can also specify nested fields using a '.' in the fieldname. The nesting can be @@ -16,9 +16,12 @@ def _rmsubfield(*args, **kwargs): See also SETFIELD, GETSUBFIELD, ISSUBFIELD - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/statfun/private/rmsubfield.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/statfun/private/rmsubfield.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("rmsubfield", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__statfun/_setsubfield.py b/spm/__external/__fieldtrip/__statfun/_setsubfield.py index 23e8d235..8c20ef3e 100644 --- a/spm/__external/__fieldtrip/__statfun/_setsubfield.py +++ b/spm/__external/__fieldtrip/__statfun/_setsubfield.py @@ -2,7 +2,7 @@ def _setsubfield(*args, **kwargs): - """ + r""" SETSUBFIELD sets the contents of the specified field to a specified value just like the standard Matlab SETFIELD function, except that you can also specify nested fields using a '.' in the fieldname. The nesting can be @@ -19,9 +19,12 @@ def _setsubfield(*args, **kwargs): See also SETFIELD, GETSUBFIELD, ISSUBFIELD - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/statfun/private/setsubfield.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/statfun/private/setsubfield.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("setsubfield", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__statfun/ft_statfun_actvsblT.py b/spm/__external/__fieldtrip/__statfun/ft_statfun_actvsblT.py index d921076c..e0f1397f 100644 --- a/spm/__external/__fieldtrip/__statfun/ft_statfun_actvsblT.py +++ b/spm/__external/__fieldtrip/__statfun/ft_statfun_actvsblT.py @@ -2,7 +2,7 @@ def ft_statfun_actvsblT(*args, **kwargs): - """ + r""" FT_STATFUN_ACTVSBLT calculates the activation-versus-baseline T-statistic on the biological data (the dependent variable), using the information on the independent variable (ivar) in design. @@ -44,9 +44,12 @@ def ft_statfun_actvsblT(*args, **kwargs): See also FT_TIMELOCKSTATISTICS, FT_FREQSTATISTICS or FT_SOURCESTATISTICS - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/statfun/ft_statfun_actvsblT.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/statfun/ft_statfun_actvsblT.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_statfun_actvsblT", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__statfun/ft_statfun_bayesfactor.py b/spm/__external/__fieldtrip/__statfun/ft_statfun_bayesfactor.py index ebae5b14..fbd30912 100644 --- a/spm/__external/__fieldtrip/__statfun/ft_statfun_bayesfactor.py +++ b/spm/__external/__fieldtrip/__statfun/ft_statfun_bayesfactor.py @@ -2,7 +2,7 @@ def ft_statfun_bayesfactor(*args, **kwargs): - """ + r""" FT_STATFUN_BAYESFACTOR computes the Bayes factor for a H0 of the data in two conditions having the same mean, versus H1 of the data having different means. This function supports both unpaired and paired designs and assumes flat priors. @@ -44,9 +44,12 @@ def ft_statfun_bayesfactor(*args, **kwargs): See also FT_TIMELOCKSTATISTICS, FT_FREQSTATISTICS or FT_SOURCESTATISTICS - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/statfun/ft_statfun_bayesfactor.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/statfun/ft_statfun_bayesfactor.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_statfun_bayesfactor", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__statfun/ft_statfun_cohensd.py b/spm/__external/__fieldtrip/__statfun/ft_statfun_cohensd.py index 0aec203b..f3f7889e 100644 --- a/spm/__external/__fieldtrip/__statfun/ft_statfun_cohensd.py +++ b/spm/__external/__fieldtrip/__statfun/ft_statfun_cohensd.py @@ -2,7 +2,7 @@ def ft_statfun_cohensd(*args, **kwargs): - """ + r""" FT_STATFUN_COHENSD computes the effect size according to Cohen's d. This function supports both unpaired and paired designs. @@ -38,9 +38,12 @@ def ft_statfun_cohensd(*args, **kwargs): See also FT_TIMELOCKSTATISTICS, FT_FREQSTATISTICS or FT_SOURCESTATISTICS - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/statfun/ft_statfun_cohensd.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/statfun/ft_statfun_cohensd.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_statfun_cohensd", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__statfun/ft_statfun_correlationT.py b/spm/__external/__fieldtrip/__statfun/ft_statfun_correlationT.py index ce44bf2d..4e7144b1 100644 --- a/spm/__external/__fieldtrip/__statfun/ft_statfun_correlationT.py +++ b/spm/__external/__fieldtrip/__statfun/ft_statfun_correlationT.py @@ -2,7 +2,7 @@ def ft_statfun_correlationT(*args, **kwargs): - """ + r""" FT_STATFUN_CORRELATIONT calculates correlation coefficient T-statistics on the biological data in dat (the dependent variable), using the information on the independent variable (predictor) in design. The correlation coefficients themselves @@ -37,9 +37,12 @@ def ft_statfun_correlationT(*args, **kwargs): See also FT_TIMELOCKSTATISTICS, FT_FREQSTATISTICS or FT_SOURCESTATISTICS - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/statfun/ft_statfun_correlationT.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/statfun/ft_statfun_correlationT.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_statfun_correlationT", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__statfun/ft_statfun_depsamplesFmultivariate.py b/spm/__external/__fieldtrip/__statfun/ft_statfun_depsamplesFmultivariate.py index d607d9b4..bff26d60 100644 --- a/spm/__external/__fieldtrip/__statfun/ft_statfun_depsamplesFmultivariate.py +++ b/spm/__external/__fieldtrip/__statfun/ft_statfun_depsamplesFmultivariate.py @@ -2,7 +2,7 @@ def ft_statfun_depsamplesFmultivariate(*args, **kwargs): - """ + r""" FT_STATFUN_DEPSAMPLESFMULTIVARIATE calculates the MANOVA dependent samples F-statistic on the biological data in dat (the dependent variable), using the information on the independent variable (ivar) in design. @@ -45,9 +45,12 @@ def ft_statfun_depsamplesFmultivariate(*args, **kwargs): See also FT_TIMELOCKSTATISTICS, FT_FREQSTATISTICS or FT_SOURCESTATISTICS - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/statfun/ft_statfun_depsamplesFmultivariate.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/statfun/ft_statfun_depsamplesFmultivariate.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_statfun_depsamplesFmultivariate", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__statfun/ft_statfun_depsamplesFunivariate.py b/spm/__external/__fieldtrip/__statfun/ft_statfun_depsamplesFunivariate.py index 27403623..d195b3a8 100644 --- a/spm/__external/__fieldtrip/__statfun/ft_statfun_depsamplesFunivariate.py +++ b/spm/__external/__fieldtrip/__statfun/ft_statfun_depsamplesFunivariate.py @@ -2,7 +2,7 @@ def ft_statfun_depsamplesFunivariate(*args, **kwargs): - """ + r""" FT_STATFUN_DEPSAMPLESFUNIIVARIATE calculates the univariate repeated-mesures ANOVA on the biological data (the dependent variable), using the information on the independent variable (ivar) in design. @@ -40,9 +40,12 @@ def ft_statfun_depsamplesFunivariate(*args, **kwargs): See also FT_TIMELOCKSTATISTICS, FT_FREQSTATISTICS or FT_SOURCESTATISTICS - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/statfun/ft_statfun_depsamplesFunivariate.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/statfun/ft_statfun_depsamplesFunivariate.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_statfun_depsamplesFunivariate", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__statfun/ft_statfun_depsamplesT.py b/spm/__external/__fieldtrip/__statfun/ft_statfun_depsamplesT.py index 496e2628..01b02fa8 100644 --- a/spm/__external/__fieldtrip/__statfun/ft_statfun_depsamplesT.py +++ b/spm/__external/__fieldtrip/__statfun/ft_statfun_depsamplesT.py @@ -2,7 +2,7 @@ def ft_statfun_depsamplesT(*args, **kwargs): - """ + r""" FT_STATFUN_DEPSAMPLEST calculates the dependent samples t-statistic on the biological data (the dependent variable), using the information on the independent variable (ivar) in the design. @@ -39,9 +39,12 @@ def ft_statfun_depsamplesT(*args, **kwargs): See also FT_TIMELOCKSTATISTICS, FT_FREQSTATISTICS or FT_SOURCESTATISTICS - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/statfun/ft_statfun_depsamplesT.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/statfun/ft_statfun_depsamplesT.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_statfun_depsamplesT", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__statfun/ft_statfun_depsamplesregrT.py b/spm/__external/__fieldtrip/__statfun/ft_statfun_depsamplesregrT.py index e006e695..567df5d0 100644 --- a/spm/__external/__fieldtrip/__statfun/ft_statfun_depsamplesregrT.py +++ b/spm/__external/__fieldtrip/__statfun/ft_statfun_depsamplesregrT.py @@ -2,7 +2,7 @@ def ft_statfun_depsamplesregrT(*args, **kwargs): - """ + r""" FT_STATFUN_DEPSAMPLESREGRT calculates independent samples regression coefficient t-statistics on the biological data (the dependent variable), using the information on the independent variable (predictor) in the design. @@ -38,9 +38,12 @@ def ft_statfun_depsamplesregrT(*args, **kwargs): See also FT_TIMELOCKSTATISTICS, FT_FREQSTATISTICS or FT_SOURCESTATISTICS - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/statfun/ft_statfun_depsamplesregrT.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/statfun/ft_statfun_depsamplesregrT.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_statfun_depsamplesregrT", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__statfun/ft_statfun_diff.py b/spm/__external/__fieldtrip/__statfun/ft_statfun_diff.py index 6c151b9b..f5fcf330 100644 --- a/spm/__external/__fieldtrip/__statfun/ft_statfun_diff.py +++ b/spm/__external/__fieldtrip/__statfun/ft_statfun_diff.py @@ -2,7 +2,7 @@ def ft_statfun_diff(*args, **kwargs): - """ + r""" FT_STATFUN_DIFF demonstrates how to compute the difference of the mean in two conditions. Although it can be used for statistical testing, it will have rather limited sensitivity and is not really suited for inferential testing. @@ -25,9 +25,12 @@ def ft_statfun_diff(*args, **kwargs): See also FT_TIMELOCKSTATISTICS, FT_FREQSTATISTICS or FT_SOURCESTATISTICS, and see FT_STATFUN_MEAN for a similar example - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/statfun/ft_statfun_diff.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/statfun/ft_statfun_diff.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_statfun_diff", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__statfun/ft_statfun_diff_itc.py b/spm/__external/__fieldtrip/__statfun/ft_statfun_diff_itc.py index 0cd5de01..bcb05b09 100644 --- a/spm/__external/__fieldtrip/__statfun/ft_statfun_diff_itc.py +++ b/spm/__external/__fieldtrip/__statfun/ft_statfun_diff_itc.py @@ -2,7 +2,7 @@ def ft_statfun_diff_itc(*args, **kwargs): - """ + r""" FT_STATFUN_DIFF_ITC computes the difference in the inter-trial coherence between two conditions. The input data for this test should consist of complex-values spectral estimates, e.g. computed using FT_FREQANALYSIS with cfg.method='mtmfft', @@ -39,9 +39,12 @@ def ft_statfun_diff_itc(*args, **kwargs): See also FT_FREQSTATISTICS and FT_STATISTICS_MONTECARLO - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/statfun/ft_statfun_diff_itc.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/statfun/ft_statfun_diff_itc.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_statfun_diff_itc", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__statfun/ft_statfun_gcmi.py b/spm/__external/__fieldtrip/__statfun/ft_statfun_gcmi.py index 76277310..84afecf0 100644 --- a/spm/__external/__fieldtrip/__statfun/ft_statfun_gcmi.py +++ b/spm/__external/__fieldtrip/__statfun/ft_statfun_gcmi.py @@ -2,7 +2,7 @@ def ft_statfun_gcmi(*args, **kwargs): - """ + r""" FT_STATFUN_GCMI computes mutual information between the dependent variable and a discrete-valued design vector. @@ -14,9 +14,12 @@ def ft_statfun_gcmi(*args, **kwargs): cfg.gcmi.tra = matrix which specifies multivariate structure - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/statfun/ft_statfun_gcmi.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/statfun/ft_statfun_gcmi.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_statfun_gcmi", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__statfun/ft_statfun_indepsamplesF.py b/spm/__external/__fieldtrip/__statfun/ft_statfun_indepsamplesF.py index 38c21253..7beddd1d 100644 --- a/spm/__external/__fieldtrip/__statfun/ft_statfun_indepsamplesF.py +++ b/spm/__external/__fieldtrip/__statfun/ft_statfun_indepsamplesF.py @@ -2,7 +2,7 @@ def ft_statfun_indepsamplesF(*args, **kwargs): - """ + r""" FT_STATFUN_INDEPSAMPLESF calculates the independent samples F-statistic on the biological data in dat (the dependent variable), using the information on the independent variable (ivar) in design. @@ -37,9 +37,12 @@ def ft_statfun_indepsamplesF(*args, **kwargs): See also FT_TIMELOCKSTATISTICS, FT_FREQSTATISTICS or FT_SOURCESTATISTICS - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/statfun/ft_statfun_indepsamplesF.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/statfun/ft_statfun_indepsamplesF.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_statfun_indepsamplesF", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__statfun/ft_statfun_indepsamplesT.py b/spm/__external/__fieldtrip/__statfun/ft_statfun_indepsamplesT.py index a7adc664..145987b3 100644 --- a/spm/__external/__fieldtrip/__statfun/ft_statfun_indepsamplesT.py +++ b/spm/__external/__fieldtrip/__statfun/ft_statfun_indepsamplesT.py @@ -2,7 +2,7 @@ def ft_statfun_indepsamplesT(*args, **kwargs): - """ + r""" FT_STATFUN_INDEPSAMPLEST calculates the independent samples T-statistic on the biological data in dat (the dependent variable), using the information on the independent variable (ivar) in design. @@ -36,9 +36,12 @@ def ft_statfun_indepsamplesT(*args, **kwargs): See also FT_TIMELOCKSTATISTICS, FT_FREQSTATISTICS or FT_SOURCESTATISTICS - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/statfun/ft_statfun_indepsamplesT.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/statfun/ft_statfun_indepsamplesT.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_statfun_indepsamplesT", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__statfun/ft_statfun_indepsamplesZcoh.py b/spm/__external/__fieldtrip/__statfun/ft_statfun_indepsamplesZcoh.py index d8245611..13c985ed 100644 --- a/spm/__external/__fieldtrip/__statfun/ft_statfun_indepsamplesZcoh.py +++ b/spm/__external/__fieldtrip/__statfun/ft_statfun_indepsamplesZcoh.py @@ -2,7 +2,7 @@ def ft_statfun_indepsamplesZcoh(*args, **kwargs): - """ + r""" FT_STATFUN_INDEPSAMPLESCOHZ calculates the independent samples coherence Z-statistic on the biological data in dat (the dependent variable), using the information on the independent variable (ivar) in design. @@ -44,9 +44,12 @@ def ft_statfun_indepsamplesZcoh(*args, **kwargs): See also FT_TIMELOCKSTATISTICS, FT_FREQSTATISTICS or FT_SOURCESTATISTICS - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/statfun/ft_statfun_indepsamplesZcoh.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/statfun/ft_statfun_indepsamplesZcoh.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_statfun_indepsamplesZcoh", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__statfun/ft_statfun_indepsamplesregrT.py b/spm/__external/__fieldtrip/__statfun/ft_statfun_indepsamplesregrT.py index a74f60bc..87ecbf3f 100644 --- a/spm/__external/__fieldtrip/__statfun/ft_statfun_indepsamplesregrT.py +++ b/spm/__external/__fieldtrip/__statfun/ft_statfun_indepsamplesregrT.py @@ -2,7 +2,7 @@ def ft_statfun_indepsamplesregrT(*args, **kwargs): - """ + r""" FT_STATFUN_INDEPSAMPLESREGRT calculates independent samples regression coefficient t-statistics on the biological data (the dependent variable), using the information on the independent variable (predictor) in the design. @@ -34,9 +34,12 @@ def ft_statfun_indepsamplesregrT(*args, **kwargs): See also FT_TIMELOCKSTATISTICS, FT_FREQSTATISTICS or FT_SOURCESTATISTICS - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/statfun/ft_statfun_indepsamplesregrT.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/statfun/ft_statfun_indepsamplesregrT.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_statfun_indepsamplesregrT", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__statfun/ft_statfun_mean.py b/spm/__external/__fieldtrip/__statfun/ft_statfun_mean.py index 2e49f326..18b886cc 100644 --- a/spm/__external/__fieldtrip/__statfun/ft_statfun_mean.py +++ b/spm/__external/__fieldtrip/__statfun/ft_statfun_mean.py @@ -2,7 +2,7 @@ def ft_statfun_mean(*args, **kwargs): - """ + r""" FT_STATFUN_MEAN demonstrates how to compute the mean over all conditions in the data. Since this does NOT depend on the experimental design, it cannot be used for testing for differences between conditions. @@ -15,9 +15,12 @@ def ft_statfun_mean(*args, **kwargs): See also FT_TIMELOCKSTATISTICS, FT_FREQSTATISTICS or FT_SOURCESTATISTICS, and see FT_STATFUN_DIFF for a similar example - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/statfun/ft_statfun_mean.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/statfun/ft_statfun_mean.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_statfun_mean", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__statfun/ft_statfun_pooledT.py b/spm/__external/__fieldtrip/__statfun/ft_statfun_pooledT.py index b3dd6441..ff0af42f 100644 --- a/spm/__external/__fieldtrip/__statfun/ft_statfun_pooledT.py +++ b/spm/__external/__fieldtrip/__statfun/ft_statfun_pooledT.py @@ -2,7 +2,7 @@ def ft_statfun_pooledT(*args, **kwargs): - """ + r""" FT_STATFUN_POOLEDT computes the pooled t-value over a number of replications. The idea behind this function is that you first (prior to calling this function) compute a contrast between two conditions per subject, and that subsequently you @@ -38,9 +38,12 @@ def ft_statfun_pooledT(*args, **kwargs): See also FT_TIMELOCKSTATISTICS, FT_FREQSTATISTICS or FT_SOURCESTATISTICS - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/statfun/ft_statfun_pooledT.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/statfun/ft_statfun_pooledT.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_statfun_pooledT", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__statfun/ft_statfun_roc.py b/spm/__external/__fieldtrip/__statfun/ft_statfun_roc.py index 1f4265f1..e4300a61 100644 --- a/spm/__external/__fieldtrip/__statfun/ft_statfun_roc.py +++ b/spm/__external/__fieldtrip/__statfun/ft_statfun_roc.py @@ -2,7 +2,7 @@ def ft_statfun_roc(*args, **kwargs): - """ + r""" FT_STATFUN_ROC computes the area under the curve (AUC) of the Receiver Operator Characteristic (ROC). This is a measure of the separability of the data observed in two conditions. The AUC can be used for statistical testing whether the two @@ -35,9 +35,12 @@ def ft_statfun_roc(*args, **kwargs): See also FT_TIMELOCKSTATISTICS, FT_FREQSTATISTICS or FT_SOURCESTATISTICS - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/statfun/ft_statfun_roc.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/statfun/ft_statfun_roc.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_statfun_roc", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__trialfun/_bids_sidecar.py b/spm/__external/__fieldtrip/__trialfun/_bids_sidecar.py index c17444ea..47009541 100644 --- a/spm/__external/__fieldtrip/__trialfun/_bids_sidecar.py +++ b/spm/__external/__fieldtrip/__trialfun/_bids_sidecar.py @@ -2,7 +2,7 @@ def _bids_sidecar(*args, **kwargs): - """ + r""" BIDS_SIDECAR will search for corresponding BIDS sidecar files that go together with a specific data file. This function respects the inheritance rules and will also search higher up in the directory structure. @@ -37,9 +37,12 @@ def _bids_sidecar(*args, **kwargs): See also BIDS_DATAFILE, BIDS_TSV, EVENTS_TSV, FT_READ_HEADER, FT_READ_EVENT - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/trialfun/private/bids_sidecar.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/trialfun/private/bids_sidecar.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("bids_sidecar", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__trialfun/_defaultId.py b/spm/__external/__fieldtrip/__trialfun/_defaultId.py index 7a5da696..0c28b6a3 100644 --- a/spm/__external/__fieldtrip/__trialfun/_defaultId.py +++ b/spm/__external/__fieldtrip/__trialfun/_defaultId.py @@ -2,16 +2,19 @@ def _defaultId(*args, **kwargs): - """ + r""" DEFAULTID returns a string that can serve as warning or error identifier, for example 'FieldTip:ft_read_header:line345'. See also WARNING, ERROR, FT_NOTICE, FT_INFO, FT_DEBUG - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/trialfun/private/defaultId.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/trialfun/private/defaultId.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("defaultId", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__trialfun/_ismatch.py b/spm/__external/__fieldtrip/__trialfun/_ismatch.py index 43cd43d4..7dabe5f8 100644 --- a/spm/__external/__fieldtrip/__trialfun/_ismatch.py +++ b/spm/__external/__fieldtrip/__trialfun/_ismatch.py @@ -2,15 +2,18 @@ def _ismatch(*args, **kwargs): - """ + r""" ISMATCH returns true if x is a member of array y, regardless of the class of x and y, if y is a string, or a cell-array of strings, it can contain the wildcard '*' - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/trialfun/private/ismatch.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/trialfun/private/ismatch.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ismatch", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__trialfun/_select_channel_list.py b/spm/__external/__fieldtrip/__trialfun/_select_channel_list.py index 45578e50..ee7900cb 100644 --- a/spm/__external/__fieldtrip/__trialfun/_select_channel_list.py +++ b/spm/__external/__fieldtrip/__trialfun/_select_channel_list.py @@ -2,7 +2,7 @@ def _select_channel_list(*args, **kwargs): - """ + r""" SELECT_CHANNEL_LIST presents a dialog for selecting multiple elements from a cell-array with strings, such as the labels of EEG channels. The dialog presents two columns with an add and remove mechanism. @@ -19,9 +19,12 @@ def _select_channel_list(*args, **kwargs): If the user presses cancel, the initial selection will be returned. - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/trialfun/private/select_channel_list.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/trialfun/private/select_channel_list.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("select_channel_list", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__trialfun/ft_trialfun_balert.py b/spm/__external/__fieldtrip/__trialfun/ft_trialfun_balert.py index 8feacaa9..a4ade464 100644 --- a/spm/__external/__fieldtrip/__trialfun/ft_trialfun_balert.py +++ b/spm/__external/__fieldtrip/__trialfun/ft_trialfun_balert.py @@ -2,7 +2,7 @@ def ft_trialfun_balert(*args, **kwargs): - """ + r""" FT_TRIALFUN_BALERT extract trials from B-Alert data using an intermediate CSV file. FieldTrip cannot yet directly interpret the event markers from B-Alert data. Therefore, it is necessary to have B-Alert LAB. This is (paid) software from @@ -18,9 +18,12 @@ def ft_trialfun_balert(*args, **kwargs): See also FT_DEFINETRIAL, FT_PREPROCESSING - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/trialfun/ft_trialfun_balert.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/trialfun/ft_trialfun_balert.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_trialfun_balert", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__trialfun/ft_trialfun_bids.py b/spm/__external/__fieldtrip/__trialfun/ft_trialfun_bids.py index 16e2f148..0d250860 100644 --- a/spm/__external/__fieldtrip/__trialfun/ft_trialfun_bids.py +++ b/spm/__external/__fieldtrip/__trialfun/ft_trialfun_bids.py @@ -2,7 +2,7 @@ def ft_trialfun_bids(*args, **kwargs): - """ + r""" FT_TRIALFUN_BIDS determines trials/segments to be used for subsequent analysis, on the basis of the BIDS "events.tsv" file. This function should in general not be called directly, it will be called by FT_DEFINETRIAL. @@ -35,9 +35,12 @@ def ft_trialfun_bids(*args, **kwargs): See also FT_DEFINETRIAL, FT_TRIALFUN_GENERAL - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/trialfun/ft_trialfun_bids.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/trialfun/ft_trialfun_bids.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_trialfun_bids", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__trialfun/ft_trialfun_brainvision_segmented.py b/spm/__external/__fieldtrip/__trialfun/ft_trialfun_brainvision_segmented.py index f8515d0c..2e6c78b0 100644 --- a/spm/__external/__fieldtrip/__trialfun/ft_trialfun_brainvision_segmented.py +++ b/spm/__external/__fieldtrip/__trialfun/ft_trialfun_brainvision_segmented.py @@ -2,7 +2,7 @@ def ft_trialfun_brainvision_segmented(*args, **kwargs): - """ + r""" FT_TRIALFUN_BRAINVISION_SEGMENTED creates trials for a Brain Vision Analyzer dataset that was segmented in the BVA software. @@ -27,9 +27,12 @@ def ft_trialfun_brainvision_segmented(*args, **kwargs): See also FT_DEFINETRIAL, FT_PREPROCESSING - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/trialfun/ft_trialfun_brainvision_segmented.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/trialfun/ft_trialfun_brainvision_segmented.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_trialfun_brainvision_segmented", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__trialfun/ft_trialfun_edf.py b/spm/__external/__fieldtrip/__trialfun/ft_trialfun_edf.py index a9b99912..31e88b25 100644 --- a/spm/__external/__fieldtrip/__trialfun/ft_trialfun_edf.py +++ b/spm/__external/__fieldtrip/__trialfun/ft_trialfun_edf.py @@ -2,7 +2,7 @@ def ft_trialfun_edf(*args, **kwargs): - """ + r""" FT_TRIALFUN_EDF is an example trial function for EDF data. It searches for events of type "up" in an analog data channel, as indentified by thresholding. This threshold can be a hard threshold, i.e. a numeric, or can flexibly be defined @@ -19,9 +19,12 @@ def ft_trialfun_edf(*args, **kwargs): See also FT_DEFINETRIAL, FT_TRIALFUN_GENERAL - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/trialfun/ft_trialfun_edf.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/trialfun/ft_trialfun_edf.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_trialfun_edf", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__trialfun/ft_trialfun_emgdetect.py b/spm/__external/__fieldtrip/__trialfun/ft_trialfun_emgdetect.py index d25f10d1..e8dd9307 100644 --- a/spm/__external/__fieldtrip/__trialfun/ft_trialfun_emgdetect.py +++ b/spm/__external/__fieldtrip/__trialfun/ft_trialfun_emgdetect.py @@ -2,15 +2,18 @@ def ft_trialfun_emgdetect(*args, **kwargs): - """ + r""" Note that there are some parameters, like the EMG channel name and the processing that is done on the EMG channel data, which are hardcoded in this trial function. You should change these parameters if necessary. - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/trialfun/ft_trialfun_emgdetect.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/trialfun/ft_trialfun_emgdetect.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_trialfun_emgdetect", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__trialfun/ft_trialfun_example1.py b/spm/__external/__fieldtrip/__trialfun/ft_trialfun_example1.py index d367e5ca..a7fa42df 100644 --- a/spm/__external/__fieldtrip/__trialfun/ft_trialfun_example1.py +++ b/spm/__external/__fieldtrip/__trialfun/ft_trialfun_example1.py @@ -2,7 +2,7 @@ def ft_trialfun_example1(*args, **kwargs): - """ + r""" FT_TRIALFUN_EXAMPLE1 is an example trial function. It searches for events of type "trigger" and specifically for a trigger with value 7, followed by a trigger with value 64. @@ -20,9 +20,12 @@ def ft_trialfun_example1(*args, **kwargs): See also FT_DEFINETRIAL, FT_TRIALFUN_GENERAL - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/trialfun/ft_trialfun_example1.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/trialfun/ft_trialfun_example1.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_trialfun_example1", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__trialfun/ft_trialfun_example2.py b/spm/__external/__fieldtrip/__trialfun/ft_trialfun_example2.py index 93726ef4..0febe0b0 100644 --- a/spm/__external/__fieldtrip/__trialfun/ft_trialfun_example2.py +++ b/spm/__external/__fieldtrip/__trialfun/ft_trialfun_example2.py @@ -2,7 +2,7 @@ def ft_trialfun_example2(*args, **kwargs): - """ + r""" FT_TRIALFUN_EXAMPLE2 is an example trial function that detects muscle activity in an EMG channel and defines variable length trials from the EMG onset up to the EMG offset. @@ -20,9 +20,12 @@ def ft_trialfun_example2(*args, **kwargs): See also FT_DEFINETRIAL, FT_TRIALFUN_GENERAL - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/trialfun/ft_trialfun_example2.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/trialfun/ft_trialfun_example2.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_trialfun_example2", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__trialfun/ft_trialfun_general.py b/spm/__external/__fieldtrip/__trialfun/ft_trialfun_general.py index 3732cf17..2397819b 100644 --- a/spm/__external/__fieldtrip/__trialfun/ft_trialfun_general.py +++ b/spm/__external/__fieldtrip/__trialfun/ft_trialfun_general.py @@ -2,7 +2,7 @@ def ft_trialfun_general(*args, **kwargs): - """ + r""" FT_TRIALFUN_GENERAL reads events from the dataset using FT_READ_EVENT and constructs a trial definition. This function should in general not be called directly, it will be called by FT_DEFINETRIAL. @@ -35,9 +35,12 @@ def ft_trialfun_general(*args, **kwargs): See also FT_DEFINETRIAL, FT_TRIALFUN_GUI, FT_TRIALFUN_SHOW - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/trialfun/ft_trialfun_general.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/trialfun/ft_trialfun_general.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_trialfun_general", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__trialfun/ft_trialfun_gui.py b/spm/__external/__fieldtrip/__trialfun/ft_trialfun_gui.py index 0b8f78be..8dd2477c 100644 --- a/spm/__external/__fieldtrip/__trialfun/ft_trialfun_gui.py +++ b/spm/__external/__fieldtrip/__trialfun/ft_trialfun_gui.py @@ -2,7 +2,7 @@ def ft_trialfun_gui(*args, **kwargs): - """ + r""" FT_TRIALFUN_GUI reads events from the dataset, displays a graphical user interface dialog to select the event types and values of interest, and constructs a trial definition. This function should in general not be called directly, it will be @@ -17,9 +17,12 @@ def ft_trialfun_gui(*args, **kwargs): See also FT_DEFINETRIAL, FT_TRIALFUN_GENERAL, FT_TRIALFUN_SHOW - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/trialfun/ft_trialfun_gui.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/trialfun/ft_trialfun_gui.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_trialfun_gui", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__trialfun/ft_trialfun_hed.py b/spm/__external/__fieldtrip/__trialfun/ft_trialfun_hed.py index 38ff0dd9..79bafc37 100644 --- a/spm/__external/__fieldtrip/__trialfun/ft_trialfun_hed.py +++ b/spm/__external/__fieldtrip/__trialfun/ft_trialfun_hed.py @@ -2,7 +2,7 @@ def ft_trialfun_hed(*args, **kwargs): - """ + r""" FT_TRIALFUN_HED is a trial function that can be used with HED tags. It demonstrates some basic functionality for selecting specific events, but mainly serves as an example or template for your own conditial trial definitions. For that you would @@ -23,9 +23,12 @@ def ft_trialfun_hed(*args, **kwargs): FT_TRIALFUN_EXAMPLE2 - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/trialfun/ft_trialfun_hed.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/trialfun/ft_trialfun_hed.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_trialfun_hed", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__trialfun/ft_trialfun_imotions.py b/spm/__external/__fieldtrip/__trialfun/ft_trialfun_imotions.py index 09f6a3dc..e7cb9a3a 100644 --- a/spm/__external/__fieldtrip/__trialfun/ft_trialfun_imotions.py +++ b/spm/__external/__fieldtrip/__trialfun/ft_trialfun_imotions.py @@ -2,7 +2,7 @@ def ft_trialfun_imotions(*args, **kwargs): - """ + r""" FT_TRIALFUN_IMOTIONS makes a trial definition for an iMotions event structure. Note that this returns the trial definition as a table rather than as a numeric array. @@ -19,9 +19,12 @@ def ft_trialfun_imotions(*args, **kwargs): See also FT_DEFINETRIAL, FT_TRIALFUN_GENERAL - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/trialfun/ft_trialfun_imotions.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/trialfun/ft_trialfun_imotions.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_trialfun_imotions", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__trialfun/ft_trialfun_neuromagSTI016fix.py b/spm/__external/__fieldtrip/__trialfun/ft_trialfun_neuromagSTI016fix.py index 7290d26c..5c8d5fb7 100644 --- a/spm/__external/__fieldtrip/__trialfun/ft_trialfun_neuromagSTI016fix.py +++ b/spm/__external/__fieldtrip/__trialfun/ft_trialfun_neuromagSTI016fix.py @@ -2,7 +2,7 @@ def ft_trialfun_neuromagSTI016fix(*args, **kwargs): - """ + r""" FT_TRIALFUN_NEUROMAGSTI106FIX is supposed to fix the error with STI016 in Neuromag/Elekta/MEGIN data. It reads the channels STI001 up to STI016, combines the values into a new "STI101" channel and then uses the new channel to define trials. @@ -19,9 +19,12 @@ def ft_trialfun_neuromagSTI016fix(*args, **kwargs): See also FT_DEFINETRIAL, FT_TRIALFUN_GENERAL - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/trialfun/ft_trialfun_neuromagSTI016fix.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/trialfun/ft_trialfun_neuromagSTI016fix.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_trialfun_neuromagSTI016fix", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__trialfun/ft_trialfun_realtime.py b/spm/__external/__fieldtrip/__trialfun/ft_trialfun_realtime.py index 179f551a..f1ac5c50 100644 --- a/spm/__external/__fieldtrip/__trialfun/ft_trialfun_realtime.py +++ b/spm/__external/__fieldtrip/__trialfun/ft_trialfun_realtime.py @@ -2,7 +2,7 @@ def ft_trialfun_realtime(*args, **kwargs): - """ + r""" FT_TRIALFUN_REALTIME can be used to segment a continuous stream of data in real-time. Trials are defined as [begsample endsample offset condition] @@ -17,9 +17,12 @@ def ft_trialfun_realtime(*args, **kwargs): interest is read. Otherwise, all well-defined blocks are read (default = 'first') - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/trialfun/ft_trialfun_realtime.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/trialfun/ft_trialfun_realtime.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_trialfun_realtime", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__trialfun/ft_trialfun_show.py b/spm/__external/__fieldtrip/__trialfun/ft_trialfun_show.py index d8185577..c42b1b92 100644 --- a/spm/__external/__fieldtrip/__trialfun/ft_trialfun_show.py +++ b/spm/__external/__fieldtrip/__trialfun/ft_trialfun_show.py @@ -2,7 +2,7 @@ def ft_trialfun_show(*args, **kwargs): - """ + r""" FT_TRIALFUN_SHOW will show a summary of the event information on screen. It will not return an actual trial definition. This function should in general not be called directly, it will be called by FT_DEFINETRIAL. @@ -16,9 +16,12 @@ def ft_trialfun_show(*args, **kwargs): See also FT_DEFINETRIAL, FT_TRIALFUN_GENERAL, FT_TRIALFUN_GUI - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/trialfun/ft_trialfun_show.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/trialfun/ft_trialfun_show.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_trialfun_show", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__trialfun/ft_trialfun_trial.py b/spm/__external/__fieldtrip/__trialfun/ft_trialfun_trial.py index 701d7d85..87ece665 100644 --- a/spm/__external/__fieldtrip/__trialfun/ft_trialfun_trial.py +++ b/spm/__external/__fieldtrip/__trialfun/ft_trialfun_trial.py @@ -2,7 +2,7 @@ def ft_trialfun_trial(*args, **kwargs): - """ + r""" FT_TRIALFUN_TRIAL creates a trial definition that corresponds to the events that are returned by FT_READ_EVENT with type='trial' @@ -15,9 +15,12 @@ def ft_trialfun_trial(*args, **kwargs): See also FT_DEFINETRIAL, FT_TRIALFUN_GENERAL - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/trialfun/ft_trialfun_trial.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/trialfun/ft_trialfun_trial.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_trialfun_trial", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__trialfun/ft_trialfun_twoclass_classification.py b/spm/__external/__fieldtrip/__trialfun/ft_trialfun_twoclass_classification.py index 116e3446..22d1ece5 100644 --- a/spm/__external/__fieldtrip/__trialfun/ft_trialfun_twoclass_classification.py +++ b/spm/__external/__fieldtrip/__trialfun/ft_trialfun_twoclass_classification.py @@ -2,10 +2,10 @@ def ft_trialfun_twoclass_classification(*args, **kwargs): - """ + r""" FT_TRIALFUN_TWOCLASS_CLASSIFICATION can be used to train and test a real-time classifier in offline and online mode. It selects pieces of data in the two classes - based on two trigger values. The first N occurences in each class are marked as + based on two trigger values. The first N occurrences in each class are marked as training items. All subsequent occurrences are marked as test items. This function can be used in conjunction with FT_REALTIME_CLASSIFICATION. The @@ -22,9 +22,12 @@ def ft_trialfun_twoclass_classification(*args, **kwargs): See also FT_DEFINETRIAL, FT_TRIALFUN_GENERAL - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/trialfun/ft_trialfun_twoclass_classification.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/trialfun/ft_trialfun_twoclass_classification.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_trialfun_twoclass_classification", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__utilities/__init__.py b/spm/__external/__fieldtrip/__utilities/__init__.py index 023eadcf..7c48096b 100644 --- a/spm/__external/__fieldtrip/__utilities/__init__.py +++ b/spm/__external/__fieldtrip/__utilities/__init__.py @@ -2,6 +2,7 @@ from .copyfields import copyfields from .dccnpath import dccnpath from .ft_affinecoordinates import ft_affinecoordinates +from .ft_apply_montage import ft_apply_montage from .ft_average_sens import ft_average_sens from .ft_cfg2keyval import ft_cfg2keyval from .ft_channelcombination import ft_channelcombination @@ -27,6 +28,7 @@ from .ft_datatype_timelock import ft_datatype_timelock from .ft_datatype_volume import ft_datatype_volume from .ft_debug import ft_debug +from .ft_deleteopt import ft_deleteopt from .ft_determine_coordsys import ft_determine_coordsys from .ft_documentationconfiguration import ft_documentationconfiguration from .ft_documentationreference import ft_documentationreference @@ -40,6 +42,7 @@ from .ft_hastoolbox import ft_hastoolbox from .ft_headcoordinates import ft_headcoordinates from .ft_info import ft_info +from .ft_inverse_montage import ft_inverse_montage from .ft_keyval2cfg import ft_keyval2cfg from .ft_notice import ft_notice from .ft_platform_supports import ft_platform_supports @@ -98,6 +101,7 @@ "copyfields", "dccnpath", "ft_affinecoordinates", + "ft_apply_montage", "ft_average_sens", "ft_cfg2keyval", "ft_channelcombination", @@ -123,6 +127,7 @@ "ft_datatype_timelock", "ft_datatype_volume", "ft_debug", + "ft_deleteopt", "ft_determine_coordsys", "ft_documentationconfiguration", "ft_documentationreference", @@ -136,6 +141,7 @@ "ft_hastoolbox", "ft_headcoordinates", "ft_info", + "ft_inverse_montage", "ft_keyval2cfg", "ft_notice", "ft_platform_supports", diff --git a/spm/__external/__fieldtrip/__utilities/_align_ctf2acpc.py b/spm/__external/__fieldtrip/__utilities/_align_ctf2acpc.py index 86b18455..064a389a 100644 --- a/spm/__external/__fieldtrip/__utilities/_align_ctf2acpc.py +++ b/spm/__external/__fieldtrip/__utilities/_align_ctf2acpc.py @@ -2,7 +2,7 @@ def _align_ctf2acpc(*args, **kwargs): - """ + r""" ALIGN_CTF2ACPC performs an approximate rigid body alignment of the anatomical volume from CTF towards ACPC coordinates. Only the homogeneous transformation matrix is modified and the coordsys-field is updated. @@ -25,9 +25,12 @@ def _align_ctf2acpc(*args, **kwargs): See also ALIGN_NEUROMAG2ACPC, ALIGN_FSAVERAGE2MNI - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/utilities/private/align_ctf2acpc.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/utilities/private/align_ctf2acpc.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("align_ctf2acpc", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__utilities/_align_fsaverage2mni.py b/spm/__external/__fieldtrip/__utilities/_align_fsaverage2mni.py index 95ff0f2e..3ce51ada 100644 --- a/spm/__external/__fieldtrip/__utilities/_align_fsaverage2mni.py +++ b/spm/__external/__fieldtrip/__utilities/_align_fsaverage2mni.py @@ -2,7 +2,7 @@ def _align_fsaverage2mni(*args, **kwargs): - """ + r""" ALIGN_FSAVERAGE2MNI performs an affine alignment of the anatomical volume from FSAVERAGE towards MNI coordinates. Only the homogeneous transformation matrix is modified and the coordsys-field is updated. @@ -19,9 +19,12 @@ def _align_fsaverage2mni(*args, **kwargs): See also ALIGN_CTF2ACPC, ALIGN_NEUROMAG2ACPC - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/utilities/private/align_fsaverage2mni.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/utilities/private/align_fsaverage2mni.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("align_fsaverage2mni", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__utilities/_align_neuromag2acpc.py b/spm/__external/__fieldtrip/__utilities/_align_neuromag2acpc.py index 9d387bee..adccb2fb 100644 --- a/spm/__external/__fieldtrip/__utilities/_align_neuromag2acpc.py +++ b/spm/__external/__fieldtrip/__utilities/_align_neuromag2acpc.py @@ -2,7 +2,7 @@ def _align_neuromag2acpc(*args, **kwargs): - """ + r""" ALIGN_NEUROMAG2ACPC performs an approximate alignment of the anatomical volume from NEUROMAG towards ACPC coordinates. Only the homogenous transformation matrix is modified and the coordsys-field is updated. @@ -25,9 +25,12 @@ def _align_neuromag2acpc(*args, **kwargs): See also ALIGN_CTF2ACPC, ALIGN_FSAVERAGE2MNI - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/utilities/private/align_neuromag2acpc.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/utilities/private/align_neuromag2acpc.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("align_neuromag2acpc", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__utilities/_avgoverdim.py b/spm/__external/__fieldtrip/__utilities/_avgoverdim.py index 73e3dfbc..c50f8fca 100644 --- a/spm/__external/__fieldtrip/__utilities/_avgoverdim.py +++ b/spm/__external/__fieldtrip/__utilities/_avgoverdim.py @@ -2,14 +2,17 @@ def _avgoverdim(*args, **kwargs): - """ + r""" avgoverdim is a function. data = avgoverdim(data, avgdim, fb) - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/utilities/private/avgoverdim.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/utilities/private/avgoverdim.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("avgoverdim", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__utilities/_avgoverlabel.py b/spm/__external/__fieldtrip/__utilities/_avgoverlabel.py index 9ccb316b..4db75a08 100644 --- a/spm/__external/__fieldtrip/__utilities/_avgoverlabel.py +++ b/spm/__external/__fieldtrip/__utilities/_avgoverlabel.py @@ -2,14 +2,17 @@ def _avgoverlabel(*args, **kwargs): - """ + r""" avgoverlabel is a function. str = avgoverlabel(label) - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/utilities/private/avgoverlabel.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/utilities/private/avgoverlabel.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("avgoverlabel", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__utilities/_base64encode.py b/spm/__external/__fieldtrip/__utilities/_base64encode.py index 29ba33bd..1532125f 100644 --- a/spm/__external/__fieldtrip/__utilities/_base64encode.py +++ b/spm/__external/__fieldtrip/__utilities/_base64encode.py @@ -2,7 +2,7 @@ def _base64encode(*args, **kwargs): - """ + r""" BASE64ENCODE Perform base64 encoding on a string. BASE64ENCODE(STR, EOL) encode the given string STR. EOL is the line ending @@ -43,9 +43,12 @@ def _base64encode(*args, **kwargs): See also BASE64DECODE. - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/utilities/private/base64encode.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/utilities/private/base64encode.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("base64encode", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__utilities/_channelposition.py b/spm/__external/__fieldtrip/__utilities/_channelposition.py index dd603182..4e24efda 100644 --- a/spm/__external/__fieldtrip/__utilities/_channelposition.py +++ b/spm/__external/__fieldtrip/__utilities/_channelposition.py @@ -2,7 +2,7 @@ def _channelposition(*args, **kwargs): - """ + r""" CHANNELPOSITION computes the channel positions and orientations from the MEG coils, EEG electrodes or NIRS optodes @@ -13,9 +13,12 @@ def _channelposition(*args, **kwargs): See also FT_DATATYPE_SENS - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/utilities/private/channelposition.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/utilities/private/channelposition.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("channelposition", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__utilities/_convert_segmentationstyle.py b/spm/__external/__fieldtrip/__utilities/_convert_segmentationstyle.py index 0543e731..8e091603 100644 --- a/spm/__external/__fieldtrip/__utilities/_convert_segmentationstyle.py +++ b/spm/__external/__fieldtrip/__utilities/_convert_segmentationstyle.py @@ -2,7 +2,7 @@ def _convert_segmentationstyle(*args, **kwargs): - """ + r""" CONVERT_SEGMENTATIONSTYLE is a helper function for converting between probabilistic and indexed representations. It is used by FT_DATATYPE_SEGMENTATION and FT_DATATYPE_PARCELLATION. @@ -10,9 +10,12 @@ def _convert_segmentationstyle(*args, **kwargs): See also FIXSEGMENTATION, DETERMINE_SEGMENTATIONSTYLE - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/utilities/private/convert_segmentationstyle.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/utilities/private/convert_segmentationstyle.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("convert_segmentationstyle", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__utilities/_coordsys2label.py b/spm/__external/__fieldtrip/__utilities/_coordsys2label.py index e3ef9155..95cccf9d 100644 --- a/spm/__external/__fieldtrip/__utilities/_coordsys2label.py +++ b/spm/__external/__fieldtrip/__utilities/_coordsys2label.py @@ -2,7 +2,7 @@ def _coordsys2label(*args, **kwargs): - """ + r""" COORDSYS2LABEL returns the labels for the three axes, given the symbolic string representation of the coordinate system. @@ -22,9 +22,12 @@ def _coordsys2label(*args, **kwargs): See also FT_DETERMINE_COORDSYS, FT_PLOT_AXES, FT_HEADCOORDINATES, SETVIEWPOINT - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/utilities/private/coordsys2label.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/utilities/private/coordsys2label.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("coordsys2label", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__utilities/_cornerpoints.py b/spm/__external/__fieldtrip/__utilities/_cornerpoints.py index 72d83c4f..61fec937 100644 --- a/spm/__external/__fieldtrip/__utilities/_cornerpoints.py +++ b/spm/__external/__fieldtrip/__utilities/_cornerpoints.py @@ -2,7 +2,7 @@ def _cornerpoints(*args, **kwargs): - """ + r""" CORNERPOINTS returns the eight corner points of an anatomical volume in voxel and in head coordinates @@ -11,9 +11,12 @@ def _cornerpoints(*args, **kwargs): which will return two 8x3 matrices. - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/utilities/private/cornerpoints.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/utilities/private/cornerpoints.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("cornerpoints", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__utilities/_dataset2files.py b/spm/__external/__fieldtrip/__utilities/_dataset2files.py index 8d59de23..5e6a5252 100644 --- a/spm/__external/__fieldtrip/__utilities/_dataset2files.py +++ b/spm/__external/__fieldtrip/__utilities/_dataset2files.py @@ -2,7 +2,7 @@ def _dataset2files(*args, **kwargs): - """ + r""" DATASET2FILES manages the filenames for the dataset, headerfile, datafile and eventfile and tries to maintain a consistent mapping between them for each of the known fileformats @@ -10,9 +10,12 @@ def _dataset2files(*args, **kwargs): [filename, headerfile, datafile] = dataset2files(filename, format) - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/utilities/private/dataset2files.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/utilities/private/dataset2files.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("dataset2files", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__utilities/_debugCleanup.py b/spm/__external/__fieldtrip/__utilities/_debugCleanup.py index b3d4b40b..f32c5fab 100644 --- a/spm/__external/__fieldtrip/__utilities/_debugCleanup.py +++ b/spm/__external/__fieldtrip/__utilities/_debugCleanup.py @@ -2,16 +2,19 @@ def _debugCleanup(*args, **kwargs): - """ + r""" DEBUGCLEANUP is a cleanup function that is being used by FT_PREAMBLE_DEBUG. It is called when a high-level FieldTrip function exits, either after finishing successfully or after detecting an error. See also FT_PREAMBLE_DEBUG, FT_POSTAMBLE_DEBUG - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/utilities/private/debugCleanup.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/utilities/private/debugCleanup.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("debugCleanup", *args, **kwargs, nargout=0) diff --git a/spm/__external/__fieldtrip/__utilities/_defaultId.py b/spm/__external/__fieldtrip/__utilities/_defaultId.py index 92db01b4..d64a0078 100644 --- a/spm/__external/__fieldtrip/__utilities/_defaultId.py +++ b/spm/__external/__fieldtrip/__utilities/_defaultId.py @@ -2,16 +2,19 @@ def _defaultId(*args, **kwargs): - """ + r""" DEFAULTID returns a string that can serve as warning or error identifier, for example 'FieldTip:ft_read_header:line345'. See also WARNING, ERROR, FT_NOTICE, FT_INFO, FT_DEBUG - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/utilities/private/defaultId.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/utilities/private/defaultId.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("defaultId", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__utilities/_determine_segmentationstyle.py b/spm/__external/__fieldtrip/__utilities/_determine_segmentationstyle.py index a95def7c..38b77f3e 100644 --- a/spm/__external/__fieldtrip/__utilities/_determine_segmentationstyle.py +++ b/spm/__external/__fieldtrip/__utilities/_determine_segmentationstyle.py @@ -2,7 +2,7 @@ def _determine_segmentationstyle(*args, **kwargs): - """ + r""" DETERMINE_SEGMENTATIONSTYLE is a helper function that determines the type of segmentation contained in each of the fields. It is used by FT_DATATYPE_SEGMENTATION and FT_DATATYPE_PARCELLATION. @@ -10,9 +10,12 @@ def _determine_segmentationstyle(*args, **kwargs): See also FIXSEGMENTATION, CONVERT_SEGMENTATIONSTYLE - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/utilities/private/determine_segmentationstyle.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/utilities/private/determine_segmentationstyle.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("determine_segmentationstyle", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__utilities/_dimindex.py b/spm/__external/__fieldtrip/__utilities/_dimindex.py index d2a8b0f7..6795430a 100644 --- a/spm/__external/__fieldtrip/__utilities/_dimindex.py +++ b/spm/__external/__fieldtrip/__utilities/_dimindex.py @@ -2,7 +2,7 @@ def _dimindex(*args, **kwargs): - """ + r""" DIMINDEX makes a selection from a multi-dimensional array where the dimension is selected by a scalar, not by the place between the brackets. @@ -18,9 +18,12 @@ def _dimindex(*args, **kwargs): See also the function DIMASSIGN - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/utilities/private/dimindex.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/utilities/private/dimindex.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("dimindex", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__utilities/_dimlength.py b/spm/__external/__fieldtrip/__utilities/_dimlength.py index b9481340..2415d6d3 100644 --- a/spm/__external/__fieldtrip/__utilities/_dimlength.py +++ b/spm/__external/__fieldtrip/__utilities/_dimlength.py @@ -2,7 +2,7 @@ def _dimlength(*args, **kwargs): - """ + r""" DIMLENGTH(DATA, SELDIM, FLD) is a helper function to obtain n, the number of elements along dimension seldim from the appropriate field from the input data containing functional data. @@ -20,9 +20,12 @@ def _dimlength(*args, **kwargs): See also FIXSOURCE, CREATEDIMORD - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/utilities/private/dimlength.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/utilities/private/dimlength.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("dimlength", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__utilities/_fixbalance.py b/spm/__external/__fieldtrip/__utilities/_fixbalance.py new file mode 100644 index 00000000..6c18c3fd --- /dev/null +++ b/spm/__external/__fieldtrip/__utilities/_fixbalance.py @@ -0,0 +1,23 @@ +from spm._runtime import Runtime + + +def _fixbalance(*args, **kwargs): + r""" + FIXBALANCE ensures that the balancing representation in grad.balance or + elec.balance field is up to date and consistent, specifically with the + list of linear projections (or montages) being applied specified as + cell-array in "current", and not as a string in "current" and cell-array + in "previous". + + See also FT_DATATYPE_SENS + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/utilities/private/fixbalance.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("fixbalance", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__utilities/_fixcoordsys.py b/spm/__external/__fieldtrip/__utilities/_fixcoordsys.py index 8c8eb54d..8198388b 100644 --- a/spm/__external/__fieldtrip/__utilities/_fixcoordsys.py +++ b/spm/__external/__fieldtrip/__utilities/_fixcoordsys.py @@ -2,7 +2,7 @@ def _fixcoordsys(*args, **kwargs): - """ + r""" FIXCOORDSYS ensures that the coordinate system is consistently described. E.g. SPM and MNI are technically the same coordinate system, but the strings 'spm' and 'mni' are different. @@ -10,9 +10,12 @@ def _fixcoordsys(*args, **kwargs): See also FT_DETERMINE_COORDSYS - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/utilities/private/fixcoordsys.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/utilities/private/fixcoordsys.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("fixcoordsys", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__utilities/_fixdimord.py b/spm/__external/__fieldtrip/__utilities/_fixdimord.py index ea26244d..08de7ca5 100644 --- a/spm/__external/__fieldtrip/__utilities/_fixdimord.py +++ b/spm/__external/__fieldtrip/__utilities/_fixdimord.py @@ -2,7 +2,7 @@ def _fixdimord(*args, **kwargs): - """ + r""" FIXDIMORD ensures consistency between the dimord string and the axes that describe the data dimensions. The main purpose of this function is to ensure backward compatibility of all functions with data that has @@ -30,9 +30,12 @@ def _fixdimord(*args, **kwargs): 'voxel' - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/utilities/private/fixdimord.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/utilities/private/fixdimord.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("fixdimord", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__utilities/_fixdipole.py b/spm/__external/__fieldtrip/__utilities/_fixdipole.py index b3f4bba6..4c0a3d40 100644 --- a/spm/__external/__fieldtrip/__utilities/_fixdipole.py +++ b/spm/__external/__fieldtrip/__utilities/_fixdipole.py @@ -2,14 +2,17 @@ def _fixdipole(*args, **kwargs): - """ + r""" FIXDIPOLE ensures that the dipole position and moment are consistently represented throughout FieldTrip functions. - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/utilities/private/fixdipole.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/utilities/private/fixdipole.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("fixdipole", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__utilities/_fixinside.py b/spm/__external/__fieldtrip/__utilities/_fixinside.py index 924c42d2..16a8a0be 100644 --- a/spm/__external/__fieldtrip/__utilities/_fixinside.py +++ b/spm/__external/__fieldtrip/__utilities/_fixinside.py @@ -2,7 +2,7 @@ def _fixinside(*args, **kwargs): - """ + r""" FIXINSIDE ensures that the region of interest (which is indicated by the field "inside") is consistently defined for source structures and volume structures. Furthermore, it solves backward compatibility problems. @@ -13,9 +13,12 @@ def _fixinside(*args, **kwargs): [source] = fixinside(source, 'index'); - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/utilities/private/fixinside.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/utilities/private/fixinside.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("fixinside", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__utilities/_fixname.py b/spm/__external/__fieldtrip/__utilities/_fixname.py index 947f4fe6..1898d4da 100644 --- a/spm/__external/__fieldtrip/__utilities/_fixname.py +++ b/spm/__external/__fieldtrip/__utilities/_fixname.py @@ -2,7 +2,7 @@ def _fixname(*args, **kwargs): - """ + r""" FIXNAME changes all inappropriate characters in a string into '_' so that it can be used as a filename or as a field name in a structure. If the string begins with a digit, an 'x' is prepended. @@ -18,9 +18,12 @@ def _fixname(*args, **kwargs): See also DEBLANK, STRIP, PAD - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/utilities/private/fixname.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/utilities/private/fixname.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("fixname", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__utilities/_fixoldorg.py b/spm/__external/__fieldtrip/__utilities/_fixoldorg.py index 077b9e22..55fc14ff 100644 --- a/spm/__external/__fieldtrip/__utilities/_fixoldorg.py +++ b/spm/__external/__fieldtrip/__utilities/_fixoldorg.py @@ -2,13 +2,16 @@ def _fixoldorg(*args, **kwargs): - """ + r""" FIXOLDORG use "old/new" instead of "org/new" - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/utilities/private/fixoldorg.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/utilities/private/fixoldorg.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("fixoldorg", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__utilities/_fixpos.py b/spm/__external/__fieldtrip/__utilities/_fixpos.py index 34ae10ac..e6961157 100644 --- a/spm/__external/__fieldtrip/__utilities/_fixpos.py +++ b/spm/__external/__fieldtrip/__utilities/_fixpos.py @@ -2,13 +2,16 @@ def _fixpos(*args, **kwargs): - """ + r""" FIXPOS helper function to ensure that meshes are described properly - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/utilities/private/fixpos.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/utilities/private/fixpos.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("fixpos", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__utilities/_fixsampleinfo.py b/spm/__external/__fieldtrip/__utilities/_fixsampleinfo.py index f68c1930..3f928b72 100644 --- a/spm/__external/__fieldtrip/__utilities/_fixsampleinfo.py +++ b/spm/__external/__fieldtrip/__utilities/_fixsampleinfo.py @@ -2,7 +2,7 @@ def _fixsampleinfo(*args, **kwargs): - """ + r""" FIXSAMPLEINFO checks for the existence of a sampleinfo and trialinfo field in the provided raw or timelock data structure. If present, nothing is done; if absent, this function attempts to reconstruct them based on either an trl-matrix present in @@ -12,9 +12,12 @@ def _fixsampleinfo(*args, **kwargs): See also FT_DATATYPE_RAW, FT_DATATYPE_TIMELOCK - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/utilities/private/fixsampleinfo.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/utilities/private/fixsampleinfo.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("fixsampleinfo", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__utilities/_fixsegmentation.py b/spm/__external/__fieldtrip/__utilities/_fixsegmentation.py index f3f80b3e..7d096ed6 100644 --- a/spm/__external/__fieldtrip/__utilities/_fixsegmentation.py +++ b/spm/__external/__fieldtrip/__utilities/_fixsegmentation.py @@ -2,16 +2,19 @@ def _fixsegmentation(*args, **kwargs): - """ + r""" FIXSEGMENTATION is a helper function that ensures the segmentation to be internally consistent. It is used by FT_DATATYPE_SEGMENTATION and FT_DATATYPE_PARCELLATION. % See also CONVERT_SEGMENTATIONSTYLE, DETERMINE_SEGMENTATIONSTYLE - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/utilities/private/fixsegmentation.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/utilities/private/fixsegmentation.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("fixsegmentation", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__utilities/_fixsource.py b/spm/__external/__fieldtrip/__utilities/_fixsource.py index 041f05ee..5a31e1dd 100644 --- a/spm/__external/__fieldtrip/__utilities/_fixsource.py +++ b/spm/__external/__fieldtrip/__utilities/_fixsource.py @@ -2,7 +2,7 @@ def _fixsource(*args, **kwargs): - """ + r""" FIXSOURCE converts old style source structures into new style source structures Use as @@ -33,9 +33,12 @@ def _fixsource(*args, **kwargs): See also FT_CHECKDATA, FIXVOLUME - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/utilities/private/fixsource.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/utilities/private/fixsource.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("fixsource", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__utilities/_fixvolume.py b/spm/__external/__fieldtrip/__utilities/_fixvolume.py index 410e0d18..bf11b87c 100644 --- a/spm/__external/__fieldtrip/__utilities/_fixvolume.py +++ b/spm/__external/__fieldtrip/__utilities/_fixvolume.py @@ -2,7 +2,7 @@ def _fixvolume(*args, **kwargs): - """ + r""" FIXVOLUME cleans up the volume data representation, removes old and obsoleted fields and ensures that it is consistent with the most recent code. @@ -13,9 +13,12 @@ def _fixvolume(*args, **kwargs): See also FT_CHECKDATA, FIXSOURCE - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/utilities/private/fixvolume.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/utilities/private/fixvolume.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("fixvolume", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__utilities/_ft_findcfg.py b/spm/__external/__fieldtrip/__utilities/_ft_findcfg.py index 07257938..b383ebd3 100644 --- a/spm/__external/__fieldtrip/__utilities/_ft_findcfg.py +++ b/spm/__external/__fieldtrip/__utilities/_ft_findcfg.py @@ -2,7 +2,7 @@ def _ft_findcfg(*args, **kwargs): - """ + r""" FT_FINDCFG searches for an element in the cfg structure or in the nested previous cfgs @@ -17,9 +17,12 @@ def _ft_findcfg(*args, **kwargs): See also FT_GETOPT, FT_CFG2KEYVAL - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/utilities/private/ft_findcfg.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/utilities/private/ft_findcfg.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_findcfg", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__utilities/_ft_notification.py b/spm/__external/__fieldtrip/__utilities/_ft_notification.py index 15d8ce31..dbb19bdf 100644 --- a/spm/__external/__fieldtrip/__utilities/_ft_notification.py +++ b/spm/__external/__fieldtrip/__utilities/_ft_notification.py @@ -2,7 +2,7 @@ def _ft_notification(*args, **kwargs): - """ + r""" FT_NOTIFICATION works mostly like the WARNING and ERROR commands in MATLAB and is called by FT_ERROR, FT_WARNING, FT_NOTICE, FT_INFO and FT_DEBUG. Please note that you should not call this function directly. @@ -27,9 +27,12 @@ def _ft_notification(*args, **kwargs): See also DEFAULTID, FT_ERROR, FT_WARNING, FT_NOTICE, FT_INFO, FT_DEBUG, ERROR, WARNING - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/utilities/private/ft_notification.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/utilities/private/ft_notification.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_notification", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__utilities/_ft_struct2json.py b/spm/__external/__fieldtrip/__utilities/_ft_struct2json.py index 855c2c18..877bb49e 100644 --- a/spm/__external/__fieldtrip/__utilities/_ft_struct2json.py +++ b/spm/__external/__fieldtrip/__utilities/_ft_struct2json.py @@ -2,13 +2,16 @@ def _ft_struct2json(*args, **kwargs): - """ + r""" FT_STRUCT2JSON - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/utilities/private/ft_struct2json.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/utilities/private/ft_struct2json.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_struct2json", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__utilities/_ft_test_compare.py b/spm/__external/__fieldtrip/__utilities/_ft_test_compare.py index f57e8343..5a6951f1 100644 --- a/spm/__external/__fieldtrip/__utilities/_ft_test_compare.py +++ b/spm/__external/__fieldtrip/__utilities/_ft_test_compare.py @@ -2,15 +2,18 @@ def _ft_test_compare(*args, **kwargs): - """ + r""" FT_TEST_COMPARE documentation is included inside ft_test documentation. See also FT_TEST - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/utilities/private/ft_test_compare.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/utilities/private/ft_test_compare.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_test_compare", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__utilities/_ft_test_find_dependency.py b/spm/__external/__fieldtrip/__utilities/_ft_test_find_dependency.py index 40a82372..a1182da8 100644 --- a/spm/__external/__fieldtrip/__utilities/_ft_test_find_dependency.py +++ b/spm/__external/__fieldtrip/__utilities/_ft_test_find_dependency.py @@ -2,16 +2,19 @@ def _ft_test_find_dependency(*args, **kwargs): - """ + r""" FT_TEST_FIND_DEPENDENCY documentation is included inside ft_test documentation. See also FT_TEST - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/utilities/private/ft_test_find_dependency.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/utilities/private/ft_test_find_dependency.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_test_find_dependency", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__utilities/_ft_test_moxunit_run.py b/spm/__external/__fieldtrip/__utilities/_ft_test_moxunit_run.py index b0c0fbd1..44365c83 100644 --- a/spm/__external/__fieldtrip/__utilities/_ft_test_moxunit_run.py +++ b/spm/__external/__fieldtrip/__utilities/_ft_test_moxunit_run.py @@ -2,16 +2,19 @@ def _ft_test_moxunit_run(*args, **kwargs): - """ + r""" FT_TEST_MOXUNIT_RUN documentation is included inside ft_test documentation. See also FT_TEST - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/utilities/private/ft_test_moxunit_run.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/utilities/private/ft_test_moxunit_run.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_test_moxunit_run", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__utilities/_ft_test_report.py b/spm/__external/__fieldtrip/__utilities/_ft_test_report.py index ca6e4f99..6084f8bd 100644 --- a/spm/__external/__fieldtrip/__utilities/_ft_test_report.py +++ b/spm/__external/__fieldtrip/__utilities/_ft_test_report.py @@ -2,15 +2,18 @@ def _ft_test_report(*args, **kwargs): - """ + r""" FT_TEST_REPORT documentation is included inside ft_test documentation. See also FT_TEST - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/utilities/private/ft_test_report.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/utilities/private/ft_test_report.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_test_report", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__utilities/_ft_test_run.py b/spm/__external/__fieldtrip/__utilities/_ft_test_run.py index 51ace627..9c12d62c 100644 --- a/spm/__external/__fieldtrip/__utilities/_ft_test_run.py +++ b/spm/__external/__fieldtrip/__utilities/_ft_test_run.py @@ -2,15 +2,18 @@ def _ft_test_run(*args, **kwargs): - """ + r""" FT_TEST_RUN documentation is included inside ft_test documentation. See also FT_TEST - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/utilities/private/ft_test_run.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/utilities/private/ft_test_run.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_test_run", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__utilities/_ft_test_untested_functions.py b/spm/__external/__fieldtrip/__utilities/_ft_test_untested_functions.py index afb42449..7b911a27 100644 --- a/spm/__external/__fieldtrip/__utilities/_ft_test_untested_functions.py +++ b/spm/__external/__fieldtrip/__utilities/_ft_test_untested_functions.py @@ -2,16 +2,19 @@ def _ft_test_untested_functions(*args, **kwargs): - """ + r""" FT_TEST_UNTESTED_FUNCTIONS documentation is included inside ft_test documentation. See also FT_TEST - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/utilities/private/ft_test_untested_functions.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/utilities/private/ft_test_untested_functions.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_test_untested_functions", *args, **kwargs, nargout=0) diff --git a/spm/__external/__fieldtrip/__utilities/_ft_test_update_dependency.py b/spm/__external/__fieldtrip/__utilities/_ft_test_update_dependency.py index 49782cfb..054a27e7 100644 --- a/spm/__external/__fieldtrip/__utilities/_ft_test_update_dependency.py +++ b/spm/__external/__fieldtrip/__utilities/_ft_test_update_dependency.py @@ -2,16 +2,19 @@ def _ft_test_update_dependency(*args, **kwargs): - """ + r""" FT_TEST_UPDATE_DEPENDENCY documentation is included inside ft_test documentation. See also FT_TEST, READLINES, WRITELINES - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/utilities/private/ft_test_update_dependency.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/utilities/private/ft_test_update_dependency.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_test_update_dependency", *args, **kwargs, nargout=0) diff --git a/spm/__external/__fieldtrip/__utilities/_ft_urlread.py b/spm/__external/__fieldtrip/__utilities/_ft_urlread.py index 5209d7d7..bef00718 100644 --- a/spm/__external/__fieldtrip/__utilities/_ft_urlread.py +++ b/spm/__external/__fieldtrip/__utilities/_ft_urlread.py @@ -2,16 +2,19 @@ def _ft_urlread(*args, **kwargs): - """ + r""" FT_URLREAD The documentation of R2016b states that urlread is not recommended. Use webread or webwrite instead. - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/utilities/private/ft_urlread.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/utilities/private/ft_urlread.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_urlread", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__utilities/_funargname.py b/spm/__external/__fieldtrip/__utilities/_funargname.py index 067f2f56..2eded84a 100644 --- a/spm/__external/__fieldtrip/__utilities/_funargname.py +++ b/spm/__external/__fieldtrip/__utilities/_funargname.py @@ -2,7 +2,7 @@ def _funargname(*args, **kwargs): - """ + r""" FUNARGNAME returns the input and output arguments of the function by parsing the m-file @@ -12,9 +12,12 @@ def _funargname(*args, **kwargs): as cell-arrays containing strings. - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/utilities/private/funargname.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/utilities/private/funargname.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("funargname", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__utilities/_getaddress.py b/spm/__external/__fieldtrip/__utilities/_getaddress.py index 0143c3bc..6332798d 100644 --- a/spm/__external/__fieldtrip/__utilities/_getaddress.py +++ b/spm/__external/__fieldtrip/__utilities/_getaddress.py @@ -2,7 +2,7 @@ def _getaddress(*args, **kwargs): - """ + r""" GETADDRESS returns the IP address Use as @@ -13,9 +13,12 @@ def _getaddress(*args, **kwargs): See also GETUSERNAME, GETHOSTNAME - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/utilities/private/getaddress.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/utilities/private/getaddress.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("getaddress", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__utilities/_getdatfield.py b/spm/__external/__fieldtrip/__utilities/_getdatfield.py index a9c802c1..c0e013c9 100644 --- a/spm/__external/__fieldtrip/__utilities/_getdatfield.py +++ b/spm/__external/__fieldtrip/__utilities/_getdatfield.py @@ -2,7 +2,7 @@ def _getdatfield(*args, **kwargs): - """ + r""" GETDATFIELD Use as @@ -12,9 +12,12 @@ def _getdatfield(*args, **kwargs): See also GETDIMORD, GETDIMSIZ - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/utilities/private/getdatfield.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/utilities/private/getdatfield.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("getdatfield", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__utilities/_getdimord.py b/spm/__external/__fieldtrip/__utilities/_getdimord.py index b61aed2c..e9467114 100644 --- a/spm/__external/__fieldtrip/__utilities/_getdimord.py +++ b/spm/__external/__fieldtrip/__utilities/_getdimord.py @@ -2,7 +2,7 @@ def _getdimord(*args, **kwargs): - """ + r""" GETDIMORD determine the dimensions and order of a data field in a FieldTrip structure. @@ -12,9 +12,12 @@ def _getdimord(*args, **kwargs): See also GETDIMSIZ, GETDATFIELD, FIXDIMORD - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/utilities/private/getdimord.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/utilities/private/getdimord.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("getdimord", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__utilities/_getdimsiz.py b/spm/__external/__fieldtrip/__utilities/_getdimsiz.py index fe29a434..bcf92ba8 100644 --- a/spm/__external/__fieldtrip/__utilities/_getdimsiz.py +++ b/spm/__external/__fieldtrip/__utilities/_getdimsiz.py @@ -2,7 +2,7 @@ def _getdimsiz(*args, **kwargs): - """ + r""" GETDIMSIZ Use as @@ -23,9 +23,12 @@ def _getdimsiz(*args, **kwargs): See also GETDIMORD, GETDATFIELD - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/utilities/private/getdimsiz.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/utilities/private/getdimsiz.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("getdimsiz", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__utilities/_gethostname.py b/spm/__external/__fieldtrip/__utilities/_gethostname.py index 36cc6174..875d5319 100644 --- a/spm/__external/__fieldtrip/__utilities/_gethostname.py +++ b/spm/__external/__fieldtrip/__utilities/_gethostname.py @@ -2,7 +2,7 @@ def _gethostname(*args, **kwargs): - """ + r""" HOSTNAME returns the hostname of this computer Use as @@ -11,9 +11,12 @@ def _gethostname(*args, **kwargs): See also GETUSERNAME, GETADDRESS - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/utilities/private/gethostname.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/utilities/private/gethostname.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("gethostname", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__utilities/_getusername.py b/spm/__external/__fieldtrip/__utilities/_getusername.py index 10122a9f..dafbcd79 100644 --- a/spm/__external/__fieldtrip/__utilities/_getusername.py +++ b/spm/__external/__fieldtrip/__utilities/_getusername.py @@ -2,16 +2,19 @@ def _getusername(*args, **kwargs): - """ + r""" GETUSERNAME Use as str = getusername(); - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/utilities/private/getusername.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/utilities/private/getusername.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("getusername", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__utilities/_globalrescale.py b/spm/__external/__fieldtrip/__utilities/_globalrescale.py index 44ceafdf..e084b391 100644 --- a/spm/__external/__fieldtrip/__utilities/_globalrescale.py +++ b/spm/__external/__fieldtrip/__utilities/_globalrescale.py @@ -2,7 +2,7 @@ def _globalrescale(*args, **kwargs): - """ + r""" GLOBALRESCALE creates the homogenous spatial transformation matrix for a 7 parameter rigid-body transformation with global rescaling @@ -21,9 +21,12 @@ def _globalrescale(*args, **kwargs): global rescaling factor - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/utilities/private/globalrescale.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/utilities/private/globalrescale.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("globalrescale", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__utilities/_hcp_getopt.py b/spm/__external/__fieldtrip/__utilities/_hcp_getopt.py index c1f83fd7..c9cdaa8d 100644 --- a/spm/__external/__fieldtrip/__utilities/_hcp_getopt.py +++ b/spm/__external/__fieldtrip/__utilities/_hcp_getopt.py @@ -2,7 +2,7 @@ def _hcp_getopt(*args, **kwargs): - """ + r""" HCP_GETOPT parses the command line to the megconnectome executable application, separating the options that start with -- from the file names of the scripts to be executed. @@ -19,9 +19,12 @@ def _hcp_getopt(*args, **kwargs): See also FT_GETOPT - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/utilities/private/hcp_getopt.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/utilities/private/hcp_getopt.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("hcp_getopt", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__utilities/_hcp_provenance.py b/spm/__external/__fieldtrip/__utilities/_hcp_provenance.py index fcd1f906..401a20a9 100644 --- a/spm/__external/__fieldtrip/__utilities/_hcp_provenance.py +++ b/spm/__external/__fieldtrip/__utilities/_hcp_provenance.py @@ -2,13 +2,16 @@ def _hcp_provenance(*args, **kwargs): - """ + r""" HCP_PROVENANCE returns a structure with provenance information - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/utilities/private/hcp_provenance.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/utilities/private/hcp_provenance.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("hcp_provenance", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__utilities/_ignorefields.py b/spm/__external/__fieldtrip/__utilities/_ignorefields.py index 6760c4e2..2ac78766 100644 --- a/spm/__external/__fieldtrip/__utilities/_ignorefields.py +++ b/spm/__external/__fieldtrip/__utilities/_ignorefields.py @@ -2,15 +2,18 @@ def _ignorefields(*args, **kwargs): - """ + r""" IGNOREFIELDS returns a list of fields that can be present in the cfg structure that should be ignored at various places in the code, e.g. for provenance, history, size-checking, etc. - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/utilities/private/ignorefields.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/utilities/private/ignorefields.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ignorefields", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__utilities/_individual2sn.py b/spm/__external/__fieldtrip/__utilities/_individual2sn.py index 9d926631..b40c0ae8 100644 --- a/spm/__external/__fieldtrip/__utilities/_individual2sn.py +++ b/spm/__external/__fieldtrip/__utilities/_individual2sn.py @@ -2,7 +2,7 @@ def _individual2sn(*args, **kwargs): - """ + r""" INDIVIDUAL2SN warps the input coordinates (defined as Nx3 matrix) from individual headspace coordinates into normalised MNI coordinates, using the (inverse of the) warp parameters defined in the structure spmparams. @@ -21,9 +21,12 @@ def _individual2sn(*args, **kwargs): input = Nx3 array containing the input positions - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/utilities/private/individual2sn.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/utilities/private/individual2sn.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("individual2sn", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__utilities/_isplottingfunction.py b/spm/__external/__fieldtrip/__utilities/_isplottingfunction.py index 61f3c7b0..efb6debe 100644 --- a/spm/__external/__fieldtrip/__utilities/_isplottingfunction.py +++ b/spm/__external/__fieldtrip/__utilities/_isplottingfunction.py @@ -2,16 +2,19 @@ def _isplottingfunction(*args, **kwargs): - """ + r""" ISPLOTTINGFUNCTION is a helper function for reproducescript, and is used for the cfg.reproducescript functionality. It compares the input function name with the list of known FieldTrip plotting functions and returns 1 if it is a plotting function, and 0 otherwise. - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/utilities/private/isplottingfunction.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/utilities/private/isplottingfunction.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("isplottingfunction", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__utilities/_labelcmb2indx.py b/spm/__external/__fieldtrip/__utilities/_labelcmb2indx.py index 0882bede..ebf5a10f 100644 --- a/spm/__external/__fieldtrip/__utilities/_labelcmb2indx.py +++ b/spm/__external/__fieldtrip/__utilities/_labelcmb2indx.py @@ -2,7 +2,7 @@ def _labelcmb2indx(*args, **kwargs): - """ + r""" LABELCMB2INDX computes an array with indices, corresponding to the order in a list of labels, for an Nx2 list of label combinations @@ -30,9 +30,12 @@ def _labelcmb2indx(*args, **kwargs): This is a helper function to FT_CONNECTIVITYANALYSIS - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/utilities/private/labelcmb2indx.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/utilities/private/labelcmb2indx.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("labelcmb2indx", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__utilities/_leaveoneout.py b/spm/__external/__fieldtrip/__utilities/_leaveoneout.py index 8d4cbfb5..b9f9bdc1 100644 --- a/spm/__external/__fieldtrip/__utilities/_leaveoneout.py +++ b/spm/__external/__fieldtrip/__utilities/_leaveoneout.py @@ -2,14 +2,17 @@ def _leaveoneout(*args, **kwargs): - """ + r""" leaveoneout is a function. data = leaveoneout(data) - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/utilities/private/leaveoneout.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/utilities/private/leaveoneout.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("leaveoneout", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__utilities/_lmoutr.py b/spm/__external/__fieldtrip/__utilities/_lmoutr.py index 2b15287e..7fa2bd8e 100644 --- a/spm/__external/__fieldtrip/__utilities/_lmoutr.py +++ b/spm/__external/__fieldtrip/__utilities/_lmoutr.py @@ -2,18 +2,21 @@ def _lmoutr(*args, **kwargs): - """ + r""" LMOUTR computes the la/mu parameters of a point projected to a triangle Use as [la, mu, dist] = lmoutr(v1, v2, v3, r) - where v1, v2 and v3 are three vertices of the triangle, and r is + where v1, v2 and v3 are three vertices of the triangle, and r is the point that is projected onto the plane spanned by the vertices - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/utilities/private/lmoutr.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/utilities/private/lmoutr.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("lmoutr", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__utilities/_lmoutrn.py b/spm/__external/__fieldtrip/__utilities/_lmoutrn.py index 0b8da8e4..b3b59de7 100644 --- a/spm/__external/__fieldtrip/__utilities/_lmoutrn.py +++ b/spm/__external/__fieldtrip/__utilities/_lmoutrn.py @@ -2,7 +2,7 @@ def _lmoutrn(*args, **kwargs): - """ + r""" LMOUTRN computes the la/mu parameters of a point projected to triangles Use as @@ -16,9 +16,12 @@ def _lmoutrn(*args, **kwargs): lies closer to the average across all vertices and the triangle under consideration. - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/utilities/private/lmoutrn.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/utilities/private/lmoutrn.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("lmoutrn", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__utilities/_loadvar.py b/spm/__external/__fieldtrip/__utilities/_loadvar.py index 7ca1cad1..ffc5ef94 100644 --- a/spm/__external/__fieldtrip/__utilities/_loadvar.py +++ b/spm/__external/__fieldtrip/__utilities/_loadvar.py @@ -2,15 +2,18 @@ def _loadvar(*args, **kwargs): - """ + r""" LOADVAR is a helper function for cfg.inputfile See also SAVEVAR - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/utilities/private/loadvar.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/utilities/private/loadvar.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("loadvar", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__utilities/_make_or_fetch_inputfile.py b/spm/__external/__fieldtrip/__utilities/_make_or_fetch_inputfile.py index 606a017f..d6a9eb4b 100644 --- a/spm/__external/__fieldtrip/__utilities/_make_or_fetch_inputfile.py +++ b/spm/__external/__fieldtrip/__utilities/_make_or_fetch_inputfile.py @@ -2,14 +2,17 @@ def _make_or_fetch_inputfile(*args, **kwargs): - """ + r""" MAKE_OR_FETCH_INPUTFILE is a helper function for ft_preamble_loadvar and ft_postamble_savevar, and is used for the cfg.reproducescript functionality. - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/utilities/private/make_or_fetch_inputfile.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/utilities/private/make_or_fetch_inputfile.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("make_or_fetch_inputfile", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__utilities/_makessense.py b/spm/__external/__fieldtrip/__utilities/_makessense.py index 7e31d2a5..c4d2beea 100644 --- a/spm/__external/__fieldtrip/__utilities/_makessense.py +++ b/spm/__external/__fieldtrip/__utilities/_makessense.py @@ -2,7 +2,7 @@ def _makessense(*args, **kwargs): - """ + r""" MAKESSENSE determines whether a some specific fields in a FieldTrip data structure make sense. @@ -12,9 +12,12 @@ def _makessense(*args, **kwargs): See also GETDIMORD, GETDIMSIZ, GETDATFIELD - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/utilities/private/makessense.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/utilities/private/makessense.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("makessense", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__utilities/_memprofile.py b/spm/__external/__fieldtrip/__utilities/_memprofile.py index 486d0093..038b1eeb 100644 --- a/spm/__external/__fieldtrip/__utilities/_memprofile.py +++ b/spm/__external/__fieldtrip/__utilities/_memprofile.py @@ -2,13 +2,16 @@ def _memprofile(*args, **kwargs): - """ + r""" MEMPROFILE this is a dummy placeholder - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/utilities/private/memprofile.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/utilities/private/memprofile.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("memprofile", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__utilities/_mergecellstruct.py b/spm/__external/__fieldtrip/__utilities/_mergecellstruct.py index d8deaef3..30932dbb 100644 --- a/spm/__external/__fieldtrip/__utilities/_mergecellstruct.py +++ b/spm/__external/__fieldtrip/__utilities/_mergecellstruct.py @@ -2,13 +2,16 @@ def _mergecellstruct(*args, **kwargs): - """ + r""" MERGECELLSTRUCT is a helper function for FT_TEST - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/utilities/private/mergecellstruct.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/utilities/private/mergecellstruct.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("mergecellstruct", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__utilities/_mergestruct.py b/spm/__external/__fieldtrip/__utilities/_mergestruct.py index 28104a7b..ee4ea560 100644 --- a/spm/__external/__fieldtrip/__utilities/_mergestruct.py +++ b/spm/__external/__fieldtrip/__utilities/_mergestruct.py @@ -2,7 +2,7 @@ def _mergestruct(*args, **kwargs): - """ + r""" MERGESTRUCT merges the fields of a structure with another structure. The fields of the 2nd structure are only copied in case they are absent in the 1st structure. @@ -12,9 +12,12 @@ def _mergestruct(*args, **kwargs): See also PRINTSTRUCT, APPENDSTRUCT, COPYFIELDS, KEEPFIELDS, REMOVEFIELDS, MERGETABLE - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/utilities/private/mergestruct.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/utilities/private/mergestruct.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("mergestruct", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__utilities/_mesh_icosahedron.py b/spm/__external/__fieldtrip/__utilities/_mesh_icosahedron.py index c1d944f9..2d83e977 100644 --- a/spm/__external/__fieldtrip/__utilities/_mesh_icosahedron.py +++ b/spm/__external/__fieldtrip/__utilities/_mesh_icosahedron.py @@ -2,7 +2,7 @@ def _mesh_icosahedron(*args, **kwargs): - """ + r""" MESH_ICOSAHEDRON returns the vertices and triangle of a 12-vertex icosahedral mesh. @@ -12,9 +12,12 @@ def _mesh_icosahedron(*args, **kwargs): See also MESH_TETRAHEDRON, MESH_OCTAHEDRON, MESH_SPHERE - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/utilities/private/mesh_icosahedron.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/utilities/private/mesh_icosahedron.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("mesh_icosahedron", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__utilities/_mesh_octahedron.py b/spm/__external/__fieldtrip/__utilities/_mesh_octahedron.py index 4514bb12..c9668790 100644 --- a/spm/__external/__fieldtrip/__utilities/_mesh_octahedron.py +++ b/spm/__external/__fieldtrip/__utilities/_mesh_octahedron.py @@ -2,7 +2,7 @@ def _mesh_octahedron(*args, **kwargs): - """ + r""" MESH_OCTAHEDRON returns the vertices and triangles of an octahedron Use as @@ -11,9 +11,12 @@ def _mesh_octahedron(*args, **kwargs): See also MESH_TETRAHEDRON, MESH_OCTAHEDRON, MESH_SPHERE - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/utilities/private/mesh_octahedron.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/utilities/private/mesh_octahedron.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("mesh_octahedron", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__utilities/_mesh_sphere.py b/spm/__external/__fieldtrip/__utilities/_mesh_sphere.py index f499d3c9..fef68e6e 100644 --- a/spm/__external/__fieldtrip/__utilities/_mesh_sphere.py +++ b/spm/__external/__fieldtrip/__utilities/_mesh_sphere.py @@ -2,7 +2,7 @@ def _mesh_sphere(*args, **kwargs): - """ + r""" MESH_SPHERE creates spherical mesh, with approximately nvertices vertices Use as @@ -23,9 +23,12 @@ def _mesh_sphere(*args, **kwargs): See also MESH_TETRAHEDRON, MESH_OCTAHEDRON, MESH_ICOSAHEDRON - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/utilities/private/mesh_sphere.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/utilities/private/mesh_sphere.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("mesh_sphere", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__utilities/_mesh_tetrahedron.py b/spm/__external/__fieldtrip/__utilities/_mesh_tetrahedron.py index 2e1a514e..a5b84569 100644 --- a/spm/__external/__fieldtrip/__utilities/_mesh_tetrahedron.py +++ b/spm/__external/__fieldtrip/__utilities/_mesh_tetrahedron.py @@ -2,7 +2,7 @@ def _mesh_tetrahedron(*args, **kwargs): - """ + r""" MESH_TETRAHEDRON returns the vertices and triangles of a tetrahedron. Use as @@ -11,9 +11,12 @@ def _mesh_tetrahedron(*args, **kwargs): See also MESH_ICOSAHEDRON, MESH_OCTAHEDRON, MESH_SPHERE - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/utilities/private/mesh_tetrahedron.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/utilities/private/mesh_tetrahedron.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("mesh_tetrahedron", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__utilities/_mutexlock.py b/spm/__external/__fieldtrip/__utilities/_mutexlock.py index 0abeed48..90655d32 100644 --- a/spm/__external/__fieldtrip/__utilities/_mutexlock.py +++ b/spm/__external/__fieldtrip/__utilities/_mutexlock.py @@ -2,7 +2,7 @@ def _mutexlock(*args, **kwargs): - """ + r""" MUTEXLOCK creates a lockfile, or if it already exists, waits until another process removes the lockfile and then creates it. This function can be used for "mutual exclusion", i.e. executing multiple processes in @@ -15,9 +15,12 @@ def _mutexlock(*args, **kwargs): See also MUTEXUNLOCK and http://en.wikipedia.org/wiki/Mutual_exclusion - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/utilities/private/mutexlock.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/utilities/private/mutexlock.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("mutexlock", *args, **kwargs, nargout=0) diff --git a/spm/__external/__fieldtrip/__utilities/_mxSerialize.py b/spm/__external/__fieldtrip/__utilities/_mxSerialize.py index 4ace8168..f6211dad 100644 --- a/spm/__external/__fieldtrip/__utilities/_mxSerialize.py +++ b/spm/__external/__fieldtrip/__utilities/_mxSerialize.py @@ -2,16 +2,19 @@ def _mxSerialize(*args, **kwargs): - """ + r""" MXSERIALIZE converts any MATLAB object into a uint8 array suitable for passing down a comms channel to be reconstructed at the other end. See also MXDESERIALIZE - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/utilities/private/mxSerialize.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/utilities/private/mxSerialize.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("mxSerialize", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__utilities/_offset2time.py b/spm/__external/__fieldtrip/__utilities/_offset2time.py index 5d728721..37d22499 100644 --- a/spm/__external/__fieldtrip/__utilities/_offset2time.py +++ b/spm/__external/__fieldtrip/__utilities/_offset2time.py @@ -2,7 +2,7 @@ def _offset2time(*args, **kwargs): - """ + r""" OFFSET2TIME converts the offset of a trial definition into a time-axis according to the definition from DEFINETRIAL @@ -19,9 +19,12 @@ def _offset2time(*args, **kwargs): negative offset indicates a trial beginning before the trigger. - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/utilities/private/offset2time.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/utilities/private/offset2time.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("offset2time", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__utilities/_parameterselection.py b/spm/__external/__fieldtrip/__utilities/_parameterselection.py index b99808ee..8e4fe3c4 100644 --- a/spm/__external/__fieldtrip/__utilities/_parameterselection.py +++ b/spm/__external/__fieldtrip/__utilities/_parameterselection.py @@ -2,7 +2,7 @@ def _parameterselection(*args, **kwargs): - """ + r""" PARAMETERSELECTION selects the parameters that are present as a volume in the data add that have a dimension that is compatible with the specified dimensions of the volume, i.e. either as a vector or as a 3D volume. @@ -15,9 +15,12 @@ def _parameterselection(*args, **kwargs): select returns the selected parameters as a cell-array - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/utilities/private/parameterselection.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/utilities/private/parameterselection.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("parameterselection", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__utilities/_pinvNx2.py b/spm/__external/__fieldtrip/__utilities/_pinvNx2.py index 38374d26..523d2410 100644 --- a/spm/__external/__fieldtrip/__utilities/_pinvNx2.py +++ b/spm/__external/__fieldtrip/__utilities/_pinvNx2.py @@ -2,15 +2,18 @@ def _pinvNx2(*args, **kwargs): - """ + r""" PINVNX2 computes a pseudo-inverse of the M slices of an MxNx2 real-valued matrix. Output has dimensionality Mx2xN. This implementation is generally faster than calling pinv in a for-loop, once M > 2 - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/utilities/private/pinvNx2.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/utilities/private/pinvNx2.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("pinvNx2", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__utilities/_plinprojn.py b/spm/__external/__fieldtrip/__utilities/_plinprojn.py index 6d364fa6..d2cada3f 100644 --- a/spm/__external/__fieldtrip/__utilities/_plinprojn.py +++ b/spm/__external/__fieldtrip/__utilities/_plinprojn.py @@ -2,7 +2,7 @@ def _plinprojn(*args, **kwargs): - """ + r""" PLINPROJN projects a point onto a line or linepiece [proj, dist] = plinprojn(l1, l2, r, flag) @@ -17,9 +17,12 @@ def _plinprojn(*args, **kwargs): 1 project the point within or on the edge of the linepiece - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/utilities/private/plinprojn.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/utilities/private/plinprojn.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("plinprojn", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__utilities/_pos2dim.py b/spm/__external/__fieldtrip/__utilities/_pos2dim.py index 477b6196..fbd45378 100644 --- a/spm/__external/__fieldtrip/__utilities/_pos2dim.py +++ b/spm/__external/__fieldtrip/__utilities/_pos2dim.py @@ -2,7 +2,7 @@ def _pos2dim(*args, **kwargs): - """ + r""" POS2DIM reconstructs the volumetric dimensions from an ordered list of positions. @@ -16,9 +16,12 @@ def _pos2dim(*args, **kwargs): See also POS2TRANSFORM - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/utilities/private/pos2dim.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/utilities/private/pos2dim.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("pos2dim", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__utilities/_pos2transform.py b/spm/__external/__fieldtrip/__utilities/_pos2transform.py index aaf702cc..6c475c12 100644 --- a/spm/__external/__fieldtrip/__utilities/_pos2transform.py +++ b/spm/__external/__fieldtrip/__utilities/_pos2transform.py @@ -2,7 +2,7 @@ def _pos2transform(*args, **kwargs): - """ + r""" POS2TRANSFORM reconstructs a transformation matrix from an ordered list of positions. @@ -16,9 +16,12 @@ def _pos2transform(*args, **kwargs): See also POS2DIM - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/utilities/private/pos2transform.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/utilities/private/pos2transform.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("pos2transform", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__utilities/_printand.py b/spm/__external/__fieldtrip/__utilities/_printand.py index 65b277c2..87961499 100644 --- a/spm/__external/__fieldtrip/__utilities/_printand.py +++ b/spm/__external/__fieldtrip/__utilities/_printand.py @@ -2,16 +2,19 @@ def _printand(*args, **kwargs): - """ + r""" PRINTAND prints a single or multiple strings as "x1, x2, x3 and x4". If there is only one string, that string is returned without additional formatting. See also PRINTOR - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/utilities/private/printand.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/utilities/private/printand.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("printand", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__utilities/_printor.py b/spm/__external/__fieldtrip/__utilities/_printor.py index 4ab3658d..2ca6126a 100644 --- a/spm/__external/__fieldtrip/__utilities/_printor.py +++ b/spm/__external/__fieldtrip/__utilities/_printor.py @@ -2,16 +2,19 @@ def _printor(*args, **kwargs): - """ + r""" PRINTOR prints a single or multiple strings as "x1, x2, x3 or x4". If there is only one string, that string is returned without additional formatting. See also PRINTAND - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/utilities/private/printor.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/utilities/private/printor.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("printor", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__utilities/_printstruct_as_table.py b/spm/__external/__fieldtrip/__utilities/_printstruct_as_table.py index 8fe65fc1..e681d65d 100644 --- a/spm/__external/__fieldtrip/__utilities/_printstruct_as_table.py +++ b/spm/__external/__fieldtrip/__utilities/_printstruct_as_table.py @@ -2,7 +2,7 @@ def _printstruct_as_table(*args, **kwargs): - """ + r""" PRINTSTRUCT_AS_TABLE prints a struct-array as a table in Markdown format Example @@ -15,9 +15,12 @@ def _printstruct_as_table(*args, **kwargs): See also PRINTSTRUCT, APPENDSTRUCT - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/utilities/private/printstruct_as_table.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/utilities/private/printstruct_as_table.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("printstruct_as_table", *args, **kwargs, nargout=0) diff --git a/spm/__external/__fieldtrip/__utilities/_project_elec.py b/spm/__external/__fieldtrip/__utilities/_project_elec.py index e8688f95..29ee1a9b 100644 --- a/spm/__external/__fieldtrip/__utilities/_project_elec.py +++ b/spm/__external/__fieldtrip/__utilities/_project_elec.py @@ -2,22 +2,30 @@ def _project_elec(*args, **kwargs): - """ + r""" PROJECT_ELEC projects electrodes on a triangulated surface and returns triangle index, la/mu parameters and distance Use as [el, prj] = project_elec(elc, pnt, tri) - which returns + with + elc = Kx3 matrix with the position of all electrodes + pos = Mx3 matrix with the vertex locations of the triangulated headshape + tri = Nx3 matrix with the vertex indices for each of the triangles + + This function returns el = Nx4 matrix with [tri, la, mu, dist] for each electrode prj = Nx3 matrix with the projected electrode position See also TRANSFER_ELEC - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/utilities/private/project_elec.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/utilities/private/project_elec.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("project_elec", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__utilities/_ptriproj.py b/spm/__external/__fieldtrip/__utilities/_ptriproj.py index c7cb50f1..7f268e31 100644 --- a/spm/__external/__fieldtrip/__utilities/_ptriproj.py +++ b/spm/__external/__fieldtrip/__utilities/_ptriproj.py @@ -2,7 +2,7 @@ def _ptriproj(*args, **kwargs): - """ + r""" PTRIPROJ projects a point onto the plane going through a triangle Use as @@ -15,9 +15,12 @@ def _ptriproj(*args, **kwargs): 1 project the point within or on the edge of the triangle - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/utilities/private/ptriproj.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/utilities/private/ptriproj.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ptriproj", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__utilities/_ptriprojn.py b/spm/__external/__fieldtrip/__utilities/_ptriprojn.py index 43c73dd3..8986a080 100644 --- a/spm/__external/__fieldtrip/__utilities/_ptriprojn.py +++ b/spm/__external/__fieldtrip/__utilities/_ptriprojn.py @@ -2,7 +2,7 @@ def _ptriprojn(*args, **kwargs): - """ + r""" PTRIPROJN projects a point onto the plane going through a set of triangles @@ -18,9 +18,12 @@ def _ptriprojn(*args, **kwargs): 1 project the point within or on the edge of the triangle - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/utilities/private/ptriprojn.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/utilities/private/ptriprojn.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ptriprojn", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__utilities/_quaternion.py b/spm/__external/__fieldtrip/__utilities/_quaternion.py index b678bceb..c5feac40 100644 --- a/spm/__external/__fieldtrip/__utilities/_quaternion.py +++ b/spm/__external/__fieldtrip/__utilities/_quaternion.py @@ -2,7 +2,7 @@ def _quaternion(*args, **kwargs): - """ + r""" QUATERNION returns the homogenous coordinate transformation matrix corresponding to a coordinate transformation described by 7 quaternion parameters. @@ -20,9 +20,12 @@ def _quaternion(*args, **kwargs): See also TRANSLATE, ROTATE, SCALE, HOMOGENOUS2QUATERNION - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/utilities/private/quaternion.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/utilities/private/quaternion.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("quaternion", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__utilities/_randomseed.py b/spm/__external/__fieldtrip/__utilities/_randomseed.py index 90b4e7f1..e718046a 100644 --- a/spm/__external/__fieldtrip/__utilities/_randomseed.py +++ b/spm/__external/__fieldtrip/__utilities/_randomseed.py @@ -2,7 +2,7 @@ def _randomseed(*args, **kwargs): - """ + r""" RANDOMSEED retrieves or sets the random seed, taking into account the different MATLAB version specific methods @@ -20,9 +20,12 @@ def _randomseed(*args, **kwargs): The output can be used as input re-create the same random number sequence - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/utilities/private/randomseed.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/utilities/private/randomseed.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("randomseed", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__utilities/_recursive_download.py b/spm/__external/__fieldtrip/__utilities/_recursive_download.py index 037476a7..0162f8d6 100644 --- a/spm/__external/__fieldtrip/__utilities/_recursive_download.py +++ b/spm/__external/__fieldtrip/__utilities/_recursive_download.py @@ -2,7 +2,7 @@ def _recursive_download(*args, **kwargs): - """ + r""" RECURSIVE_DOWNLOAD downloads a complete directory from a RESTful web service Use as @@ -11,9 +11,12 @@ def _recursive_download(*args, **kwargs): See also WEBREAD, WEBSAVE, UNTAR, UNZIP, GUNZIP - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/utilities/private/recursive_download.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/utilities/private/recursive_download.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("recursive_download", *args, **kwargs, nargout=0) diff --git a/spm/__external/__fieldtrip/__utilities/_refine.py b/spm/__external/__fieldtrip/__utilities/_refine.py index 8184a501..501b1980 100644 --- a/spm/__external/__fieldtrip/__utilities/_refine.py +++ b/spm/__external/__fieldtrip/__utilities/_refine.py @@ -2,12 +2,13 @@ def _refine(*args, **kwargs): - """ + r""" REFINE a 3D surface that is described by a triangulation Use as [pos, tri] = refine(pos, tri) [pos, tri] = refine(pos, tri, 'banks') + [pos, tri] = refine(pos, tri, 'midpoint') [pos, tri, texture] = refine(pos, tri, 'banks', texture) [pos, tri] = refine(pos, tri, 'updown', numtri) @@ -31,9 +32,12 @@ def _refine(*args, **kwargs): reference. - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/utilities/private/refine.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/utilities/private/refine.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("refine", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__utilities/_reproducescript.py b/spm/__external/__fieldtrip/__utilities/_reproducescript.py index 83a1329b..aa54a0f5 100644 --- a/spm/__external/__fieldtrip/__utilities/_reproducescript.py +++ b/spm/__external/__fieldtrip/__utilities/_reproducescript.py @@ -2,14 +2,17 @@ def _reproducescript(*args, **kwargs): - """ + r""" This is a helper function to create a script that reproduces the analysis. It appends the configuration and the function call to a MATLAB script. - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/utilities/private/reproducescript.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/utilities/private/reproducescript.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("reproducescript", *args, **kwargs, nargout=0) diff --git a/spm/__external/__fieldtrip/__utilities/_rigidbody.py b/spm/__external/__fieldtrip/__utilities/_rigidbody.py index 6c108b4c..7bcdd508 100644 --- a/spm/__external/__fieldtrip/__utilities/_rigidbody.py +++ b/spm/__external/__fieldtrip/__utilities/_rigidbody.py @@ -2,7 +2,7 @@ def _rigidbody(*args, **kwargs): - """ + r""" RIGIDBODY creates the homogenous spatial transformation matrix for a 6 parameter rigid-body transformation @@ -21,9 +21,12 @@ def _rigidbody(*args, **kwargs): See also ROTATE, TRANSLATE, SCALE, QUATERNION, HOMOGENOUS2TRADITIONAL - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/utilities/private/rigidbody.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/utilities/private/rigidbody.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("rigidbody", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__utilities/_rotate.py b/spm/__external/__fieldtrip/__utilities/_rotate.py index cb32ef48..accec09e 100644 --- a/spm/__external/__fieldtrip/__utilities/_rotate.py +++ b/spm/__external/__fieldtrip/__utilities/_rotate.py @@ -2,7 +2,7 @@ def _rotate(*args, **kwargs): - """ + r""" ROTATE returns the homogenous coordinate transformation matrix corresponding to a rotation around the x, y and z-axis. The direction of the rotation is according to the right-hand rule. @@ -20,9 +20,12 @@ def _rotate(*args, **kwargs): See also TRANSLATE, SCALE, RIGIDBODY, QUATERNION, HOMOGENOUS2TRADITIONAL - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/utilities/private/rotate.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/utilities/private/rotate.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("rotate", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__utilities/_save_large_cfg_fields.py b/spm/__external/__fieldtrip/__utilities/_save_large_cfg_fields.py index b86e10ba..c740bd73 100644 --- a/spm/__external/__fieldtrip/__utilities/_save_large_cfg_fields.py +++ b/spm/__external/__fieldtrip/__utilities/_save_large_cfg_fields.py @@ -2,14 +2,17 @@ def _save_large_cfg_fields(*args, **kwargs): - """ + r""" SAVE_LARGE_CFG_FIELDS is a helper function for ft_postamble_savevar and ft_postamble_savefig, and is used for the cfg.reproducescript functionality. - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/utilities/private/save_large_cfg_fields.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/utilities/private/save_large_cfg_fields.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("save_large_cfg_fields", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__utilities/_savevar.py b/spm/__external/__fieldtrip/__utilities/_savevar.py index 20d33d52..0668b87f 100644 --- a/spm/__external/__fieldtrip/__utilities/_savevar.py +++ b/spm/__external/__fieldtrip/__utilities/_savevar.py @@ -2,15 +2,18 @@ def _savevar(*args, **kwargs): - """ + r""" SAVEVAR is a helper function for cfg.outputfile See also LOADVAR - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/utilities/private/savevar.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/utilities/private/savevar.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("savevar", *args, **kwargs, nargout=0) diff --git a/spm/__external/__fieldtrip/__utilities/_scale.py b/spm/__external/__fieldtrip/__utilities/_scale.py index 84b18cc5..99e8a109 100644 --- a/spm/__external/__fieldtrip/__utilities/_scale.py +++ b/spm/__external/__fieldtrip/__utilities/_scale.py @@ -2,7 +2,7 @@ def _scale(*args, **kwargs): - """ + r""" SCALE returns the homogenous coordinate transformation matrix corresponding to a scaling along the x, y and z-axis @@ -15,9 +15,12 @@ def _scale(*args, **kwargs): See also TRANSLATE, ROTATE, RIGIDBODY, QUATERNION, HOMOGENOUS2TRADITIONAL - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/utilities/private/scale.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/utilities/private/scale.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("scale", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__utilities/_selfromraw.py b/spm/__external/__fieldtrip/__utilities/_selfromraw.py index 18a49744..77d517c9 100644 --- a/spm/__external/__fieldtrip/__utilities/_selfromraw.py +++ b/spm/__external/__fieldtrip/__utilities/_selfromraw.py @@ -2,13 +2,16 @@ def _selfromraw(*args, **kwargs): - """ + r""" FIXME this function is not documented - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/utilities/private/selfromraw.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/utilities/private/selfromraw.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("selfromraw", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__utilities/_seloverdim.py b/spm/__external/__fieldtrip/__utilities/_seloverdim.py index ed1e104d..9a8f8a26 100644 --- a/spm/__external/__fieldtrip/__utilities/_seloverdim.py +++ b/spm/__external/__fieldtrip/__utilities/_seloverdim.py @@ -2,14 +2,17 @@ def _seloverdim(*args, **kwargs): - """ + r""" seloverdim is a function. data = seloverdim(data, seldim, sel, fb) - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/utilities/private/seloverdim.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/utilities/private/seloverdim.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("seloverdim", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__utilities/_selparam.py b/spm/__external/__fieldtrip/__utilities/_selparam.py index 9e2c38cb..e2c25534 100644 --- a/spm/__external/__fieldtrip/__utilities/_selparam.py +++ b/spm/__external/__fieldtrip/__utilities/_selparam.py @@ -2,15 +2,18 @@ def _selparam(*args, **kwargs): - """ + r""" SELPARAM(DATA) extracts the fieldnames param of the structure data containing functional data, which have a dimensionality consistent with the dimord field in the data. Selparam is a helper function to selectdata - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/utilities/private/selparam.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/utilities/private/selparam.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("selparam", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__utilities/_smartinput.py b/spm/__external/__fieldtrip/__utilities/_smartinput.py index dd01da75..f1b48114 100644 --- a/spm/__external/__fieldtrip/__utilities/_smartinput.py +++ b/spm/__external/__fieldtrip/__utilities/_smartinput.py @@ -2,7 +2,7 @@ def _smartinput(*args, **kwargs): - """ + r""" SMARTINPUT helper function for smart interactive input from the command line Use as @@ -11,9 +11,12 @@ def _smartinput(*args, **kwargs): See also INPUT, PAUSE - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/utilities/private/smartinput.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/utilities/private/smartinput.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("smartinput", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__utilities/_sn2individual.py b/spm/__external/__fieldtrip/__utilities/_sn2individual.py index 77c7010b..1fce44ae 100644 --- a/spm/__external/__fieldtrip/__utilities/_sn2individual.py +++ b/spm/__external/__fieldtrip/__utilities/_sn2individual.py @@ -2,7 +2,7 @@ def _sn2individual(*args, **kwargs): - """ + r""" SN2INDIVIDUAL warps the input coordinates (defined as Nx3 matrix) from normalised MNI coordinates to individual headspace coordinates, using the warp parameters defined in the structure spmparams. @@ -12,9 +12,12 @@ def _sn2individual(*args, **kwargs): http://www.sph.umich.edu/~nichols/JG2/get_orig_coord2.m - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/utilities/private/sn2individual.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/utilities/private/sn2individual.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("sn2individual", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__utilities/_time2offset.py b/spm/__external/__fieldtrip/__utilities/_time2offset.py index e8d8c95f..0eb3c483 100644 --- a/spm/__external/__fieldtrip/__utilities/_time2offset.py +++ b/spm/__external/__fieldtrip/__utilities/_time2offset.py @@ -2,7 +2,7 @@ def _time2offset(*args, **kwargs): - """ + r""" TIME2OFFSET converts a time-axis of a trial into the offset in samples according to the definition from DEFINETRIAL @@ -19,9 +19,12 @@ def _time2offset(*args, **kwargs): negative offset indicates a trial beginning before the trigger. - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/utilities/private/time2offset.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/utilities/private/time2offset.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("time2offset", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__utilities/_traditional.py b/spm/__external/__fieldtrip/__utilities/_traditional.py index 663b379a..315cae13 100644 --- a/spm/__external/__fieldtrip/__utilities/_traditional.py +++ b/spm/__external/__fieldtrip/__utilities/_traditional.py @@ -2,7 +2,7 @@ def _traditional(*args, **kwargs): - """ + r""" TRADITIONAL creates the homogenous spatial transformation matrix for a 9 parameter traditional "Talairach-model" transformation @@ -26,9 +26,12 @@ def _traditional(*args, **kwargs): the list above, i.e. first z-rescale, ... and finally x-shift. - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/utilities/private/traditional.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/utilities/private/traditional.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("traditional", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__utilities/_translate.py b/spm/__external/__fieldtrip/__utilities/_translate.py index 5fd221e5..a9f09a2f 100644 --- a/spm/__external/__fieldtrip/__utilities/_translate.py +++ b/spm/__external/__fieldtrip/__utilities/_translate.py @@ -2,7 +2,7 @@ def _translate(*args, **kwargs): - """ + r""" TRANSLATE returns the homogenous coordinate transformation matrix corresponding to a translation along the x, y and z-axis @@ -15,9 +15,12 @@ def _translate(*args, **kwargs): See also ROTATE, SCALE, RIGIDBODY, QUATERNION, HOMOGENOUS2TRADITIONAL - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/utilities/private/translate.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/utilities/private/translate.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("translate", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__utilities/_undobalancing.py b/spm/__external/__fieldtrip/__utilities/_undobalancing.py index 2bbc05ee..c78c311c 100644 --- a/spm/__external/__fieldtrip/__utilities/_undobalancing.py +++ b/spm/__external/__fieldtrip/__utilities/_undobalancing.py @@ -2,15 +2,18 @@ def _undobalancing(*args, **kwargs): - """ + r""" UNDOBALANCING removes all balancing coefficients from the gradiometer sensor array This is used in CHANNELPOSITION, FT_PREPARE_LAYOUT, FT_SENSTYPE - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/utilities/private/undobalancing.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/utilities/private/undobalancing.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("undobalancing", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__utilities/_unparcellate.py b/spm/__external/__fieldtrip/__utilities/_unparcellate.py index 91914815..d8925a81 100644 --- a/spm/__external/__fieldtrip/__utilities/_unparcellate.py +++ b/spm/__external/__fieldtrip/__utilities/_unparcellate.py @@ -2,7 +2,7 @@ def _unparcellate(*args, **kwargs): - """ + r""" UNPARCELLATE performs the reverse of a parcellation, by assigigning each parcel's activation to the vertices that contributed to that parcel. @@ -33,9 +33,12 @@ def _unparcellate(*args, **kwargs): output argument gives a list of the reference parcels. - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/utilities/private/unparcellate.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/utilities/private/unparcellate.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("unparcellate", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__utilities/_varsize.py b/spm/__external/__fieldtrip/__utilities/_varsize.py index 9b85692b..451a6491 100644 --- a/spm/__external/__fieldtrip/__utilities/_varsize.py +++ b/spm/__external/__fieldtrip/__utilities/_varsize.py @@ -2,16 +2,19 @@ def _varsize(*args, **kwargs): - """ + r""" VARSIZE returns the size of a variable in bytes. It can be used on any MATLAB variable, including structures and cell arrays. See also WHOS - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/utilities/private/varsize.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/utilities/private/varsize.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("varsize", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__utilities/_volumefillholes.py b/spm/__external/__fieldtrip/__utilities/_volumefillholes.py index 0d7ca315..d0e557f1 100644 --- a/spm/__external/__fieldtrip/__utilities/_volumefillholes.py +++ b/spm/__external/__fieldtrip/__utilities/_volumefillholes.py @@ -2,15 +2,18 @@ def _volumefillholes(*args, **kwargs): - """ + r""" VOLUMEFILLHOLES is a helper function for segmentations See also VOLUMETHRESHOLD, VOLUMESMOOTH, VOLUMEPAD, VOLUMESELECTLARGEST - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/utilities/private/volumefillholes.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/utilities/private/volumefillholes.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("volumefillholes", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__utilities/_volumeflip.py b/spm/__external/__fieldtrip/__utilities/_volumeflip.py index 97b07696..59a50801 100644 --- a/spm/__external/__fieldtrip/__utilities/_volumeflip.py +++ b/spm/__external/__fieldtrip/__utilities/_volumeflip.py @@ -2,15 +2,18 @@ def _volumeflip(*args, **kwargs): - """ + r""" VOLUMEFLIP See also VOLUMEPERMUTE, ALIGN_IJK2XYZ, ALIGN_XYZ2IJK - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/utilities/private/volumeflip.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/utilities/private/volumeflip.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("volumeflip", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__utilities/_volumepermute.py b/spm/__external/__fieldtrip/__utilities/_volumepermute.py index 3fe0e827..1bd52453 100644 --- a/spm/__external/__fieldtrip/__utilities/_volumepermute.py +++ b/spm/__external/__fieldtrip/__utilities/_volumepermute.py @@ -2,15 +2,18 @@ def _volumepermute(*args, **kwargs): - """ + r""" VOLUMEPERMUTE See also VOLUMEFLIP, ALIGN_IJK2XYZ, ALIGN_XYZ2IJK - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/utilities/private/volumepermute.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/utilities/private/volumepermute.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("volumepermute", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__utilities/_volumesmooth.py b/spm/__external/__fieldtrip/__utilities/_volumesmooth.py index d8036255..2dca7596 100644 --- a/spm/__external/__fieldtrip/__utilities/_volumesmooth.py +++ b/spm/__external/__fieldtrip/__utilities/_volumesmooth.py @@ -2,15 +2,18 @@ def _volumesmooth(*args, **kwargs): - """ + r""" VOLUMESMOOTH is a helper function for segmentations See also VOLUMETHRESHOLD, VOLUMEFILLHOLES - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/utilities/private/volumesmooth.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/utilities/private/volumesmooth.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("volumesmooth", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__utilities/_volumethreshold.py b/spm/__external/__fieldtrip/__utilities/_volumethreshold.py index b9092f17..2eba8843 100644 --- a/spm/__external/__fieldtrip/__utilities/_volumethreshold.py +++ b/spm/__external/__fieldtrip/__utilities/_volumethreshold.py @@ -2,7 +2,7 @@ def _volumethreshold(*args, **kwargs): - """ + r""" VOLUMETHRESHOLD is a helper function for segmentations. It applies a relative threshold and subsequently looks for the largest connected part, thereby removing small blobs such as vitamine E capsules. @@ -10,9 +10,12 @@ def _volumethreshold(*args, **kwargs): See also VOLUMEFILLHOLES, VOLUMESMOOTH, VOLUMEPAD - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/utilities/private/volumethreshold.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/utilities/private/volumethreshold.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("volumethreshold", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__utilities/appendstruct.py b/spm/__external/__fieldtrip/__utilities/appendstruct.py index 08ff8c2f..2fdabe7e 100644 --- a/spm/__external/__fieldtrip/__utilities/appendstruct.py +++ b/spm/__external/__fieldtrip/__utilities/appendstruct.py @@ -2,7 +2,7 @@ def appendstruct(*args, **kwargs): - """ + r""" APPENDSTRUCT appends a structure or a struct-array to another structure or struct-array. It also works if the initial structure is an empty structure or an empty double array. It also works if the input structures have different fields. @@ -13,9 +13,12 @@ def appendstruct(*args, **kwargs): See also PRINTSTRUCT, MERGESTRUCT, COPYFIELDS, KEEPFIELDS, REMOVEFIELDS - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/utilities/appendstruct.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/utilities/appendstruct.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("appendstruct", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__utilities/copyfields.py b/spm/__external/__fieldtrip/__utilities/copyfields.py index af65d09f..29418e6a 100644 --- a/spm/__external/__fieldtrip/__utilities/copyfields.py +++ b/spm/__external/__fieldtrip/__utilities/copyfields.py @@ -2,7 +2,7 @@ def copyfields(*args, **kwargs): - """ + r""" COPYFIELDS copies a selection of the fields from one structure to another Use as @@ -13,9 +13,12 @@ def copyfields(*args, **kwargs): See also KEEPFIELDS, REMOVEFIELDS, RENAMEFIELDS - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/utilities/copyfields.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/utilities/copyfields.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("copyfields", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__utilities/dccnpath.py b/spm/__external/__fieldtrip/__utilities/dccnpath.py index ca14969c..c52feba1 100644 --- a/spm/__external/__fieldtrip/__utilities/dccnpath.py +++ b/spm/__external/__fieldtrip/__utilities/dccnpath.py @@ -2,7 +2,7 @@ def dccnpath(*args, **kwargs): - """ + r""" DCCNPATH manages the filename and path for test files. It helps to locate and read test file from Linux, Windows or macOS computers both inside and outside the DCCN. @@ -12,52 +12,37 @@ def dccnpath(*args, **kwargs): output filename corresponds to the local file including the full path where the test data is available. - The test data location on the DCCN cluster is '/home/common/matlab/fieldtrip/data' - and the specification of the input filename MUST start with this. + The location of the test data on the DCCN cluster is '/project/3031000.02/test' and + the location of the externally downloadable data is '/project/3031000.02/external/download' + and the specification of the input filename MUST start with the string '/project/3031000.02'. This function will search-and-replace the location on the DCCN cluster by the - location that applies to your computer. If needed, it will replace '/home' by 'H:' - and will replace forward by backward slashes. + location that applies to your computer. If needed, it will replace '/home' by 'H:', + '/project' by 'P:' and will replace forward by backward slashes. In case you have a local copy of the data, or if you are inside the DCCN and have - mounted the '/home' drive on another letter than 'H:', you should override the - default location using + mounted the network drives in a non-standard fashion, you should specify the + data location using global ft_default ft_default.dccnpath = '/your/copy'; - If you DO HAVE a local copy, it should contain a directory with the name 'ftp'. The - content of the ftp directory should match that on the FieldTrip download server, - for example '/your/copy/ftp/test/ctf'. + If you DO HAVE a local copy of the public data, it should contain a directory + with the name 'external/download'. The content of the test directory should match + that on the FieldTrip download server, for example '/your/copy/external/download/ctf'. If you DO NOT have a local copy and do not define ft_default.dccnpath manually, - then this function will automatically try to download the publicly available data - to a temporary directory. + then this function will automatically try to download the public data to a + temporary directory. See also WHICH, WEBSAVE - Copyright (C) 2012-2024, Donders Centre for Cognitive Neuroimaging, Nijmegen, NL - - This file is part of FieldTrip, see http://www.fieldtriptoolbox.org - for the documentation and details. - - FieldTrip is free software: you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - FieldTrip is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with FieldTrip. If not, see . - - $Id$ - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/utilities/dccnpath.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/utilities/dccnpath.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("dccnpath", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__utilities/ft_affinecoordinates.py b/spm/__external/__fieldtrip/__utilities/ft_affinecoordinates.py index d63ae85a..7b85fd33 100644 --- a/spm/__external/__fieldtrip/__utilities/ft_affinecoordinates.py +++ b/spm/__external/__fieldtrip/__utilities/ft_affinecoordinates.py @@ -2,7 +2,7 @@ def ft_affinecoordinates(*args, **kwargs): - """ + r""" FT_AFFINECOORDINATES returns the affine coordinate transformation matrix that converts FROM a specific head coordinate TO a specific head coordinate system. @@ -16,9 +16,12 @@ def ft_affinecoordinates(*args, **kwargs): See also FT_CONVERT_COORDSYS, FT_CONVERT_UNITS, FT_HEADCOORDINATES, FT_WARP_APPLY - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/utilities/ft_affinecoordinates.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/utilities/ft_affinecoordinates.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_affinecoordinates", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__utilities/ft_apply_montage.py b/spm/__external/__fieldtrip/__utilities/ft_apply_montage.py new file mode 100644 index 00000000..877121c2 --- /dev/null +++ b/spm/__external/__fieldtrip/__utilities/ft_apply_montage.py @@ -0,0 +1,60 @@ +from spm._runtime import Runtime + + +def ft_apply_montage(*args, **kwargs): + r""" + FT_APPLY_MONTAGE changes the montage (i.e. linear combination) of a set of + electrode or gradiometer channels. A montage can be used for EEG rereferencing, MEG + synthetic gradients, MEG planar gradients or unmixing using ICA. This function not + only applies the montage to the EEG or MEG data, but also applies the montage to + the input EEG or MEG sensor array, which can subsequently be used for forward + computation and source reconstruction of the data. + + Use as + [sens] = ft_apply_montage(sens, montage, ...) + [data] = ft_apply_montage(data, montage, ...) + [freq] = ft_apply_montage(freq, montage, ...) + [montage] = ft_apply_montage(montage1, montage2, ...) + + A montage is specified as a structure with the fields + montage.tra = MxN matrix + montage.labelold = Nx1 cell-array + montage.labelnew = Mx1 cell-array + + As an example, a bipolar montage could look like this + bipolar.labelold = {'1', '2', '3', '4'} + bipolar.labelnew = {'1-2', '2-3', '3-4'} + bipolar.tra = [ + +1 -1 0 0 + 0 +1 -1 0 + 0 0 +1 -1 + ]; + + The montage can optionally also specify the channel type and unit of the input + and output data with + montage.chantypeold = Nx1 cell-array + montage.chantypenew = Mx1 cell-array + montage.chanunitold = Nx1 cell-array + montage.chanunitnew = Mx1 cell-array + + Additional options should be specified in key-value pairs and can be + 'keepunused' = string, 'yes' or 'no' (default = 'no') + 'feedback' = string, see FT_PROGRESS (default = 'text') + 'warning' = boolean, whether to show warnings (default = true) + + If the first input is a montage, then the second input montage will be + applied to the first. In effect, the output montage will first do + montage1, then montage2. + + See also FT_READ_SENS, FT_DATATYPE_SENS + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/utilities/ft_apply_montage.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("ft_apply_montage", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__utilities/ft_average_sens.py b/spm/__external/__fieldtrip/__utilities/ft_average_sens.py index 1efd94a8..b4557d89 100644 --- a/spm/__external/__fieldtrip/__utilities/ft_average_sens.py +++ b/spm/__external/__fieldtrip/__utilities/ft_average_sens.py @@ -2,7 +2,7 @@ def ft_average_sens(*args, **kwargs): - """ + r""" FT_AVERAGE_SENS computes average sensor array from a series of input arrays. Corresponding average fiducials can also be computed (optional) @@ -17,9 +17,12 @@ def ft_average_sens(*args, **kwargs): See also FT_READ_SENS, FT_DATATYPE_SENS, FT_PREPARE_VOL_SENS - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/utilities/ft_average_sens.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/utilities/ft_average_sens.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_average_sens", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__utilities/ft_cfg2keyval.py b/spm/__external/__fieldtrip/__utilities/ft_cfg2keyval.py index d57e7de5..d14ca6d6 100644 --- a/spm/__external/__fieldtrip/__utilities/ft_cfg2keyval.py +++ b/spm/__external/__fieldtrip/__utilities/ft_cfg2keyval.py @@ -2,7 +2,7 @@ def ft_cfg2keyval(*args, **kwargs): - """ + r""" FT_CFG2KEYVAL converts between a structure and a cell-array with key-value pairs which can be used for optional input arguments. @@ -12,9 +12,12 @@ def ft_cfg2keyval(*args, **kwargs): See also FT_KEYVAL2CFG, FT_GETOPT - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/utilities/ft_cfg2keyval.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/utilities/ft_cfg2keyval.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_cfg2keyval", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__utilities/ft_channelcombination.py b/spm/__external/__fieldtrip/__utilities/ft_channelcombination.py index 05484125..0a3a0813 100644 --- a/spm/__external/__fieldtrip/__utilities/ft_channelcombination.py +++ b/spm/__external/__fieldtrip/__utilities/ft_channelcombination.py @@ -2,7 +2,7 @@ def ft_channelcombination(*args, **kwargs): - """ + r""" FT_CHANNELCOMBINATION creates a cell-array with combinations of EEG/MEG channels for subsequent cross-spectral-density, coherence and/or connectivity ananalysis @@ -31,9 +31,12 @@ def ft_channelcombination(*args, **kwargs): See also FT_CHANNELSELECTION - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/utilities/ft_channelcombination.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/utilities/ft_channelcombination.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_channelcombination", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__utilities/ft_channelselection.py b/spm/__external/__fieldtrip/__utilities/ft_channelselection.py index 034a643e..57524457 100644 --- a/spm/__external/__fieldtrip/__utilities/ft_channelselection.py +++ b/spm/__external/__fieldtrip/__utilities/ft_channelselection.py @@ -2,7 +2,7 @@ def ft_channelselection(*args, **kwargs): - """ + r""" FT_CHANNELSELECTION makes a selection of EEG and/or MEG channel labels. This function translates the user-specified list of channels into channel labels as they occur in the data. This channel selection procedure can be used throughout @@ -54,9 +54,12 @@ def ft_channelselection(*args, **kwargs): FT_SINGLEPLOTER, FT_SINGLEPLOTTFR - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/utilities/ft_channelselection.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/utilities/ft_channelselection.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_channelselection", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__utilities/ft_checkconfig.py b/spm/__external/__fieldtrip/__utilities/ft_checkconfig.py index 609b0ea2..bd655f51 100644 --- a/spm/__external/__fieldtrip/__utilities/ft_checkconfig.py +++ b/spm/__external/__fieldtrip/__utilities/ft_checkconfig.py @@ -2,7 +2,7 @@ def ft_checkconfig(*args, **kwargs): - """ + r""" FT_CHECKCONFIG checks the input cfg of the main FieldTrip functions It checks whether the cfg contains all the required options, it gives @@ -43,9 +43,12 @@ def ft_checkconfig(*args, **kwargs): See also FT_CHECKDATA, FT_CHECKOPT, FT_DEFAULTS - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/utilities/ft_checkconfig.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/utilities/ft_checkconfig.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_checkconfig", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__utilities/ft_checkdata.py b/spm/__external/__fieldtrip/__utilities/ft_checkdata.py index 6d53bcbd..cee87776 100644 --- a/spm/__external/__fieldtrip/__utilities/ft_checkdata.py +++ b/spm/__external/__fieldtrip/__utilities/ft_checkdata.py @@ -2,7 +2,7 @@ def ft_checkdata(*args, **kwargs): - """ + r""" FT_CHECKDATA checks the input data of the main FieldTrip functions, e.g. whether the type of data structure corresponds with the required data. If necessary and possible, this function will adjust the data structure to the input requirements (e.g. change @@ -46,9 +46,12 @@ def ft_checkdata(*args, **kwargs): See also FT_DATATYPE_XXX for each of the respective data types. - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/utilities/ft_checkdata.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/utilities/ft_checkdata.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_checkdata", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__utilities/ft_checkopt.py b/spm/__external/__fieldtrip/__utilities/ft_checkopt.py index b7303224..d969ca8b 100644 --- a/spm/__external/__fieldtrip/__utilities/ft_checkopt.py +++ b/spm/__external/__fieldtrip/__utilities/ft_checkopt.py @@ -2,7 +2,7 @@ def ft_checkopt(*args, **kwargs): - """ + r""" FT_CHECKOPT does a validity test on the types and values of a configuration structure or cell-array with key-value pairs. @@ -44,12 +44,15 @@ def ft_checkopt(*args, **kwargs): allowed types and any of the allowed values is sufficient to let this function pass. - See also FT_GETOPT, FT_SETOPT + See also FT_GETOPT, FT_SETOPT, FT_DELETEOPT - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/utilities/ft_checkopt.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/utilities/ft_checkopt.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_checkopt", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__utilities/ft_compile_mex.py b/spm/__external/__fieldtrip/__utilities/ft_compile_mex.py index af020d99..c61632cf 100644 --- a/spm/__external/__fieldtrip/__utilities/ft_compile_mex.py +++ b/spm/__external/__fieldtrip/__utilities/ft_compile_mex.py @@ -2,39 +2,16 @@ def ft_compile_mex(*args, **kwargs): - """ - FT_COMPILE_MEX can be used for compiling most of the FieldTrip MEX files Note that - this function does not put the MEX files in the correct location in the private - folders, this is managed by a Bash script. In case you are not working with Git and - you want to recompile the mex files for your platform, you can find all mex files - for your platform and move them to a backup directory that is not on your MATLAB - path. Subsequently you can rtun this function to recompile it on your platform with - your compiler settings - - The standards procedure for compiling mex files is detailed on - http://www.fieldtriptoolbox.org/development/guidelines/code#compiling_mex_files - - Please note that this script does NOT set up your MEX environment for you, so in - case you haven't selected the C compiler on Windows yet, you need to type 'mex - -setup' first to choose either the LCC, Borland or Microsoft compiler. If you want - to use MinGW, you also need to install Gnumex (http://gnumex.sourceforget.net), - which comes with its own procedure for setting up the MEX environment. - - The logic in this script is to first build a list of files that actually need - compilation for the particular platform that MATLAB is running on, and then to go - through that list. Functions are added to the list by giving their destination - directory and (relative to that) the name of the source file (without the .c). - Optionally, you can specify a list of platform this file needs to be compiled on - only, and a list of platforms where you don't compile it on. Finally, you can give - extra arguments to the MEX command, e.g., for including other c-sources or giving - compiler flags. - - See also MEX + r""" + FT_COMPILE_MEX is deprecated, use src/Makefile instead - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/utilities/ft_compile_mex.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/utilities/ft_compile_mex.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_compile_mex", *args, **kwargs, nargout=0) diff --git a/spm/__external/__fieldtrip/__utilities/ft_compile_standalone.py b/spm/__external/__fieldtrip/__utilities/ft_compile_standalone.py index 44682809..29b75270 100644 --- a/spm/__external/__fieldtrip/__utilities/ft_compile_standalone.py +++ b/spm/__external/__fieldtrip/__utilities/ft_compile_standalone.py @@ -2,7 +2,7 @@ def ft_compile_standalone(*args, **kwargs): - """ + r""" FT_COMPILE_STANDALONE compiles the FieldTrip functions along with the standalone entry function into a compiled executable. @@ -16,9 +16,12 @@ def ft_compile_standalone(*args, **kwargs): See also FT_STANDALONE, FT_COMPILE_MEX - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/utilities/ft_compile_standalone.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/utilities/ft_compile_standalone.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_compile_standalone", *args, **kwargs, nargout=0) diff --git a/spm/__external/__fieldtrip/__utilities/ft_convert_coordsys.py b/spm/__external/__fieldtrip/__utilities/ft_convert_coordsys.py index 2b17c53b..2969b44a 100644 --- a/spm/__external/__fieldtrip/__utilities/ft_convert_coordsys.py +++ b/spm/__external/__fieldtrip/__utilities/ft_convert_coordsys.py @@ -2,7 +2,7 @@ def ft_convert_coordsys(*args, **kwargs): - """ + r""" FT_CONVERT_COORDSYS changes the coordinate system of the input object to the specified coordinate system. The coordinate system of the input object is determined from the 'coordsys' field in the input data, or needs to be determined @@ -29,7 +29,7 @@ def ft_convert_coordsys(*args, **kwargs): anatomical or functional atlas, see FT_READ_ATLAS Recognized and supported coordinate systems are 'ctf', 'bti', '4d', 'yokogawa', - 'eeglab', 'neuromag', 'itab', 'acpc', 'spm', 'mni', 'fsaverage', 'tal', 'scanras', + 'eeglab', 'eeglab-hj', 'neuromag', 'itab', 'acpc', 'spm', 'mni', 'fsaverage', 'tal', 'scanras', 'scanlps', 'dicom'. Furthermore, supported coordinate systems that do not specify the origin are 'ras', @@ -43,9 +43,12 @@ def ft_convert_coordsys(*args, **kwargs): See also FT_DETERMINE_COORDSYS, FT_DETERMINE_UNITS, FT_CONVERT_UNITS, FT_PLOT_AXES, FT_PLOT_XXX - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/utilities/ft_convert_coordsys.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/utilities/ft_convert_coordsys.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_convert_coordsys", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__utilities/ft_datatype.py b/spm/__external/__fieldtrip/__utilities/ft_datatype.py index 05970b7f..f5ecbb69 100644 --- a/spm/__external/__fieldtrip/__utilities/ft_datatype.py +++ b/spm/__external/__fieldtrip/__utilities/ft_datatype.py @@ -2,7 +2,7 @@ def ft_datatype(*args, **kwargs): - """ + r""" FT_DATATYPE determines the type of data represented in a FieldTrip data structure and returns a string with raw, freq, timelock source, comp, spike, source, volume, dip, montage, event. @@ -17,9 +17,12 @@ def ft_datatype(*args, **kwargs): FT_DATATYPE_RAW, FT_DATATYPE_SENS, FT_DATATYPE_SPIKE, FT_DATATYPE_VOLUME - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/utilities/ft_datatype.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/utilities/ft_datatype.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_datatype", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__utilities/ft_datatype_comp.py b/spm/__external/__fieldtrip/__utilities/ft_datatype_comp.py index 04751963..5ceac6f9 100644 --- a/spm/__external/__fieldtrip/__utilities/ft_datatype_comp.py +++ b/spm/__external/__fieldtrip/__utilities/ft_datatype_comp.py @@ -2,7 +2,7 @@ def ft_datatype_comp(*args, **kwargs): - """ + r""" FT_DATATYPE_COMP describes the FieldTrip MATLAB structure for comp data The comp data structure represents time-series channel-level data that has @@ -50,9 +50,12 @@ def ft_datatype_comp(*args, **kwargs): FT_DATATYPE_TIMELOCK, FT_DATATYPE_VOLUME - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/utilities/ft_datatype_comp.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/utilities/ft_datatype_comp.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_datatype_comp", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__utilities/ft_datatype_dip.py b/spm/__external/__fieldtrip/__utilities/ft_datatype_dip.py index 4fd95c4a..76c51dd5 100644 --- a/spm/__external/__fieldtrip/__utilities/ft_datatype_dip.py +++ b/spm/__external/__fieldtrip/__utilities/ft_datatype_dip.py @@ -2,7 +2,7 @@ def ft_datatype_dip(*args, **kwargs): - """ + r""" FT_DATATYPE_DIP descripts the FieldTrip MATLAB structure for dip data The dip structure represents a dipole model that has been fitted to @@ -14,9 +14,12 @@ def ft_datatype_dip(*args, **kwargs): See also FT_DATATYPE, FT_DATATYPE_SOURCE, FT_DATATYPE_VOLUME - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/utilities/ft_datatype_dip.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/utilities/ft_datatype_dip.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_datatype_dip", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__utilities/ft_datatype_freq.py b/spm/__external/__fieldtrip/__utilities/ft_datatype_freq.py index d8a9a7e9..2a194796 100644 --- a/spm/__external/__fieldtrip/__utilities/ft_datatype_freq.py +++ b/spm/__external/__fieldtrip/__utilities/ft_datatype_freq.py @@ -2,7 +2,7 @@ def ft_datatype_freq(*args, **kwargs): - """ + r""" FT_DATATYPE_FREQ describes the FieldTrip MATLAB structure for freq data The freq data structure represents frequency or time-frequency decomposed @@ -61,9 +61,12 @@ def ft_datatype_freq(*args, **kwargs): FT_DATATYPE_TIMELOCK, FT_DATATYPE_VOLUME - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/utilities/ft_datatype_freq.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/utilities/ft_datatype_freq.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_datatype_freq", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__utilities/ft_datatype_headmodel.py b/spm/__external/__fieldtrip/__utilities/ft_datatype_headmodel.py index a555b1a1..04be9d1b 100644 --- a/spm/__external/__fieldtrip/__utilities/ft_datatype_headmodel.py +++ b/spm/__external/__fieldtrip/__utilities/ft_datatype_headmodel.py @@ -2,7 +2,7 @@ def ft_datatype_headmodel(*args, **kwargs): - """ + r""" FT_DATATYPE_HEADMODEL describes the FieldTrip MATLAB structure for a volume conduction model of the head that can be used for forward computations of the EEG potentials or the MEG fields. The volume conduction model represents the @@ -69,9 +69,12 @@ def ft_datatype_headmodel(*args, **kwargs): FT_DATATYPE_SPIKE, FT_DATATYPE_TIMELOCK, FT_DATATYPE_VOLUME - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/utilities/ft_datatype_headmodel.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/utilities/ft_datatype_headmodel.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_datatype_headmodel", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__utilities/ft_datatype_mvar.py b/spm/__external/__fieldtrip/__utilities/ft_datatype_mvar.py index f8c1b25f..4d9ff26b 100644 --- a/spm/__external/__fieldtrip/__utilities/ft_datatype_mvar.py +++ b/spm/__external/__fieldtrip/__utilities/ft_datatype_mvar.py @@ -2,7 +2,7 @@ def ft_datatype_mvar(*args, **kwargs): - """ + r""" FT_DATATYPE_MVAR describes the FieldTrip MATLAB structure for multi-variate autoregressive model data. @@ -56,9 +56,12 @@ def ft_datatype_mvar(*args, **kwargs): FT_DATATYPE_TIMELOCK, FT_DATATYPE_VOLUME - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/utilities/ft_datatype_mvar.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/utilities/ft_datatype_mvar.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_datatype_mvar", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__utilities/ft_datatype_parcellation.py b/spm/__external/__fieldtrip/__utilities/ft_datatype_parcellation.py index 7174b69b..843bc7a1 100644 --- a/spm/__external/__fieldtrip/__utilities/ft_datatype_parcellation.py +++ b/spm/__external/__fieldtrip/__utilities/ft_datatype_parcellation.py @@ -2,18 +2,19 @@ def ft_datatype_parcellation(*args, **kwargs): - """ + r""" FT_DATATYPE_PARCELLATION describes the FieldTrip MATLAB structure for parcellated - cortex-based data and atlases. A parcellation can either be indexed or probabilistic - (see below). + cortex-based data and atlases. A parcellation can either be indexed or + probabilistic (see below). A common use of a parcellation is to look up the label + of a location with the peak activity, or to average MEG source reconstructed + activity over one parcel that is the region of interest, or over all parcels. - A parcellation describes the tissue types for each of the surface elements. - Parcellations are often, but not always labeled. A parcellatoin can be used to - estimate the activity from MEG data in a known region of interest. A surface-based - atlas is basically a very detailed parcellation with an anatomical label for each - vertex. + A parcellation is a surface-based description with tissue types or classes for each + of the surface elements. Parcellations are often, but not always labeled. A + surface-based atlas is basically a very detailed parcellation with an anatomical + label for each vertex. - An example of a surface based Brodmann parcellation looks like this + An example of a surface-based Brodmann parcellation looks like this pos: [8192x3] positions of the vertices forming the cortical sheet tri: [16382x3] triangles of the cortical sheet @@ -33,7 +34,7 @@ def ft_datatype_parcellation(*args, **kwargs): Brodmann_Area_3: [8192x1 logical] binary map representing the voxels belonging to the specific area ... - The examples above demonstrate that a parcellation can be indexed, i.e. consisting of + The examples above demonstrate that a parcellation can be either indexed, consisting of subsequent integer numbers (1, 2, ...) or probabilistic, consisting of real numbers ranging from 0 to 1 that represent probabilities between 0% and 100%. An extreme case is one where the probability is either 0 or 1, in which case the probability can be @@ -63,9 +64,12 @@ def ft_datatype_parcellation(*args, **kwargs): See also FT_DATATYPE, FT_DATATYPE_SOURCE, FT_DATATYPE_SEGMENTATION - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/utilities/ft_datatype_parcellation.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/utilities/ft_datatype_parcellation.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_datatype_parcellation", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__utilities/ft_datatype_raw.py b/spm/__external/__fieldtrip/__utilities/ft_datatype_raw.py index 31490405..fc478e62 100644 --- a/spm/__external/__fieldtrip/__utilities/ft_datatype_raw.py +++ b/spm/__external/__fieldtrip/__utilities/ft_datatype_raw.py @@ -2,7 +2,7 @@ def ft_datatype_raw(*args, **kwargs): - """ + r""" FT_DATATYPE_RAW describes the FieldTrip MATLAB structure for raw data The raw datatype represents sensor-level time-domain data typically @@ -55,9 +55,12 @@ def ft_datatype_raw(*args, **kwargs): FT_DATATYPE_SPIKE, FT_DATATYPE_SENS - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/utilities/ft_datatype_raw.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/utilities/ft_datatype_raw.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_datatype_raw", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__utilities/ft_datatype_segmentation.py b/spm/__external/__fieldtrip/__utilities/ft_datatype_segmentation.py index 457102ed..25931dc9 100644 --- a/spm/__external/__fieldtrip/__utilities/ft_datatype_segmentation.py +++ b/spm/__external/__fieldtrip/__utilities/ft_datatype_segmentation.py @@ -2,7 +2,7 @@ def ft_datatype_segmentation(*args, **kwargs): - """ + r""" FT_DATATYPE_SEGMENTATION describes the FieldTrip MATLAB structure for segmented voxel-based data and atlasses. A segmentation can either be indexed or probabilistic (see below). @@ -81,9 +81,12 @@ def ft_datatype_segmentation(*args, **kwargs): See also FT_DATATYPE, FT_DATATYPE_VOLUME, FT_DATATYPE_PARCELLATION - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/utilities/ft_datatype_segmentation.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/utilities/ft_datatype_segmentation.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_datatype_segmentation", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__utilities/ft_datatype_sens.py b/spm/__external/__fieldtrip/__utilities/ft_datatype_sens.py index e1926014..058c768b 100644 --- a/spm/__external/__fieldtrip/__utilities/ft_datatype_sens.py +++ b/spm/__external/__fieldtrip/__utilities/ft_datatype_sens.py @@ -2,7 +2,7 @@ def ft_datatype_sens(*args, **kwargs): - """ + r""" FT_DATATYPE_SENS describes the FieldTrip structure that represents an MEG, EEG, sEEG, ECoG, or NIRS sensor array. This structure is commonly called "grad" for MEG, "elec" for EEG and intranial EEG, "opto" for NIRS, or in general "sens" if it could @@ -49,12 +49,14 @@ def ft_datatype_sens(*args, **kwargs): sens.chanunit = Mx1 cell-array with the units of the channel signal, e.g. 'V', 'fT' or 'T/cm', see FT_CHANUNIT Optional fields: - type, unit, fid, chantype, chanunit, coordsys + type, unit, fid, chantype, chanunit, coordsys, balance Historical fields: pnt, pos, ori, pnt1, pnt2, fiberpos, fibertype, fiberlabel, transceiver, transmits, laserstrength Revision history: + (2025/latest) Explicitly deal with the balance field and sequence of montages. + (2020/latest) Updated the specification of the NIRS sensor definition. Dropped the laserstrength and renamed transmits into tra for consistency. @@ -96,9 +98,12 @@ def ft_datatype_sens(*args, **kwargs): BTI2GRAD, YOKOGAWA2GRAD, ITAB2GRAD - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/utilities/ft_datatype_sens.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/utilities/ft_datatype_sens.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_datatype_sens", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__utilities/ft_datatype_source.py b/spm/__external/__fieldtrip/__utilities/ft_datatype_source.py index c58ec0cd..c38af8f0 100644 --- a/spm/__external/__fieldtrip/__utilities/ft_datatype_source.py +++ b/spm/__external/__fieldtrip/__utilities/ft_datatype_source.py @@ -2,7 +2,7 @@ def ft_datatype_source(*args, **kwargs): - """ + r""" FT_DATATYPE_SOURCE describes the FieldTrip MATLAB structure for data that is represented at the source level. This is typically obtained with a beamformer of minimum-norm source reconstruction using FT_SOURCEANALYSIS. @@ -58,9 +58,12 @@ def ft_datatype_source(*args, **kwargs): FT_DATATYPE_TIMELOCK, FT_DATATYPE_VOLUME - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/utilities/ft_datatype_source.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/utilities/ft_datatype_source.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_datatype_source", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__utilities/ft_datatype_spike.py b/spm/__external/__fieldtrip/__utilities/ft_datatype_spike.py index 9216d80c..2cae8a22 100644 --- a/spm/__external/__fieldtrip/__utilities/ft_datatype_spike.py +++ b/spm/__external/__fieldtrip/__utilities/ft_datatype_spike.py @@ -2,7 +2,7 @@ def ft_datatype_spike(*args, **kwargs): - """ + r""" FT_DATATYPE_SPIKE describes the FieldTrip MATLAB structure for spike data Spike data is obtained using FT_READ_SPIKE to read files from a Plexon, @@ -128,9 +128,12 @@ def ft_datatype_spike(*args, **kwargs): See also FT_DATATYPE, FT_DATATYPE_RAW, FT_DATATYPE_FREQ, FT_DATATYPE_TIMELOCK - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/utilities/ft_datatype_spike.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/utilities/ft_datatype_spike.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_datatype_spike", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__utilities/ft_datatype_timelock.py b/spm/__external/__fieldtrip/__utilities/ft_datatype_timelock.py index 0205fae2..6ed7501b 100644 --- a/spm/__external/__fieldtrip/__utilities/ft_datatype_timelock.py +++ b/spm/__external/__fieldtrip/__utilities/ft_datatype_timelock.py @@ -2,7 +2,7 @@ def ft_datatype_timelock(*args, **kwargs): - """ + r""" FT_DATATYPE_TIMELOCK describes the FieldTrip MATLAB structure for timelock data The timelock data structure represents averaged or non-averaged event-releted @@ -46,9 +46,12 @@ def ft_datatype_timelock(*args, **kwargs): See also FT_DATATYPE, FT_DATATYPE_COMP, FT_DATATYPE_FREQ, FT_DATATYPE_RAW - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/utilities/ft_datatype_timelock.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/utilities/ft_datatype_timelock.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_datatype_timelock", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__utilities/ft_datatype_volume.py b/spm/__external/__fieldtrip/__utilities/ft_datatype_volume.py index 24961794..0b23803d 100644 --- a/spm/__external/__fieldtrip/__utilities/ft_datatype_volume.py +++ b/spm/__external/__fieldtrip/__utilities/ft_datatype_volume.py @@ -2,7 +2,7 @@ def ft_datatype_volume(*args, **kwargs): - """ + r""" FT_DATATYPE_VOLUME describes the FieldTrip MATLAB structure for volumetric data such as an anatomical MRI. @@ -59,9 +59,12 @@ def ft_datatype_volume(*args, **kwargs): See also FT_DATATYPE, FT_DATATYPE_DIP, FT_DATATYPE_SOURCE - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/utilities/ft_datatype_volume.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/utilities/ft_datatype_volume.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_datatype_volume", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__utilities/ft_debug.py b/spm/__external/__fieldtrip/__utilities/ft_debug.py index a795a0a8..4643db0a 100644 --- a/spm/__external/__fieldtrip/__utilities/ft_debug.py +++ b/spm/__external/__fieldtrip/__utilities/ft_debug.py @@ -2,7 +2,7 @@ def ft_debug(*args, **kwargs): - """ + r""" FT_DEBUG prints a debug message on screen, depending on the verbosity settings of the calling high-level FieldTrip function. @@ -37,9 +37,12 @@ def ft_debug(*args, **kwargs): See also FT_ERROR, FT_WARNING, FT_NOTICE, FT_INFO, FT_DEBUG, ERROR, WARNING - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/utilities/ft_debug.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/utilities/ft_debug.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_debug", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__utilities/ft_deleteopt.py b/spm/__external/__fieldtrip/__utilities/ft_deleteopt.py new file mode 100644 index 00000000..511fce48 --- /dev/null +++ b/spm/__external/__fieldtrip/__utilities/ft_deleteopt.py @@ -0,0 +1,25 @@ +from spm._runtime import Runtime + + +def ft_deleteopt(*args, **kwargs): + r""" + FT_DELETEOPT removes one or more keys and their corresponding values from a + configuration structure or from a cell-array with key-value pairs. It will + ignore keys that are not in the structure/cell-array. + + Use as + s = ft_deleteopt(s, keys) + where s is a structure or a cell-array, and keys is a cell-array or char. + + See also FT_GETOPT, FT_CHECKOPT, FT_SETOPT + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/utilities/ft_deleteopt.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("ft_deleteopt", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__utilities/ft_determine_coordsys.py b/spm/__external/__fieldtrip/__utilities/ft_determine_coordsys.py index ae12c5d7..28da9708 100644 --- a/spm/__external/__fieldtrip/__utilities/ft_determine_coordsys.py +++ b/spm/__external/__fieldtrip/__utilities/ft_determine_coordsys.py @@ -2,7 +2,7 @@ def ft_determine_coordsys(*args, **kwargs): - """ + r""" FT_DETERMINE_COORDSYS plots a geometrical object, allowing you to perform a visual check on the coordinatesystem, the units and on the anatomical labels for the coordinate system axes. @@ -11,8 +11,8 @@ def ft_determine_coordsys(*args, **kwargs): [dataout] = ft_determine_coordsys(datain, ...) where the input data structure can be either - an anatomical MRI - - a cortical or head surface mesh - an electrode, gradiometer or optode definition + - a cortical or head surface mesh - a volume conduction model of the head or most other FieldTrip structures that represent geometrical information. @@ -30,9 +30,9 @@ def ft_determine_coordsys(*args, **kwargs): coordinate system, you should press the corresponding keyboard button. Recognized and supported coordinate systems are 'ctf', 'bti', '4d', 'yokogawa', - 'eeglab', 'neuromag', 'itab', 'acpc', 'spm', 'mni', 'fsaverage', 'tal', 'scanras', + 'eeglab', 'eeglab-hj', 'neuromag', 'itab', 'acpc', 'spm', 'mni', 'fsaverage', 'tal', 'scanras', 'scanlps', 'dicom'. - + Furthermore, supported coordinate systems that do not specify the origin are 'ras', 'als', 'lps', etc. See https://www.fieldtriptoolbox.org/faq/coordsys for more details. @@ -40,9 +40,12 @@ def ft_determine_coordsys(*args, **kwargs): See also FT_CONVERT_COORDSYS, FT_DETERMINE_UNITS, FT_CONVERT_UNITS, FT_PLOT_AXES, FT_PLOT_XXX - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/utilities/ft_determine_coordsys.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/utilities/ft_determine_coordsys.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_determine_coordsys", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__utilities/ft_documentationconfiguration.py b/spm/__external/__fieldtrip/__utilities/ft_documentationconfiguration.py index b0aa94ab..98b482c5 100644 --- a/spm/__external/__fieldtrip/__utilities/ft_documentationconfiguration.py +++ b/spm/__external/__fieldtrip/__utilities/ft_documentationconfiguration.py @@ -2,7 +2,7 @@ def ft_documentationconfiguration(*args, **kwargs): - """ + r""" FT_DOCUMENTATIONCONFIGURATION is a helper function to maintain the online documentation of all configuration options. @@ -13,9 +13,12 @@ def ft_documentationconfiguration(*args, **kwargs): See also FT_DOCUMENTATIONREFERENCE - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/utilities/ft_documentationconfiguration.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/utilities/ft_documentationconfiguration.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_documentationconfiguration", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__utilities/ft_documentationreference.py b/spm/__external/__fieldtrip/__utilities/ft_documentationreference.py index 6444bdfd..7a358a1a 100644 --- a/spm/__external/__fieldtrip/__utilities/ft_documentationreference.py +++ b/spm/__external/__fieldtrip/__utilities/ft_documentationreference.py @@ -2,7 +2,7 @@ def ft_documentationreference(*args, **kwargs): - """ + r""" FT_DOCUMENTATIONREFERENCE is a helper function to maintain the online reference documentation. @@ -13,9 +13,12 @@ def ft_documentationreference(*args, **kwargs): See also FT_DOCUMENTATIONCONFIGURATION, MATLAB2MARKDOWN - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/utilities/ft_documentationreference.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/utilities/ft_documentationreference.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_documentationreference", *args, **kwargs, nargout=0) diff --git a/spm/__external/__fieldtrip/__utilities/ft_error.py b/spm/__external/__fieldtrip/__utilities/ft_error.py index 903cc3c6..8689e1b4 100644 --- a/spm/__external/__fieldtrip/__utilities/ft_error.py +++ b/spm/__external/__fieldtrip/__utilities/ft_error.py @@ -2,7 +2,7 @@ def ft_error(*args, **kwargs): - """ + r""" FT_ERROR prints an error message on screen, just like the standard ERROR function. Use as @@ -14,9 +14,12 @@ def ft_error(*args, **kwargs): See also FT_ERROR, FT_WARNING, FT_NOTICE, FT_INFO, FT_DEBUG, ERROR, WARNING - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/utilities/ft_error.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/utilities/ft_error.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_error", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__utilities/ft_fetch_data.py b/spm/__external/__fieldtrip/__utilities/ft_fetch_data.py index c7c98e4f..ea0239d5 100644 --- a/spm/__external/__fieldtrip/__utilities/ft_fetch_data.py +++ b/spm/__external/__fieldtrip/__utilities/ft_fetch_data.py @@ -2,7 +2,7 @@ def ft_fetch_data(*args, **kwargs): - """ + r""" FT_FETCH_DATA mimics the behavior of FT_READ_DATA, but for a FieldTrip raw data structure instead of a file on disk. @@ -12,9 +12,12 @@ def ft_fetch_data(*args, **kwargs): See also FT_READ_DATA, FT_FETCH_HEADER, FT_FETCH_EVENT - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/utilities/ft_fetch_data.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/utilities/ft_fetch_data.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_fetch_data", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__utilities/ft_fetch_event.py b/spm/__external/__fieldtrip/__utilities/ft_fetch_event.py index ad258231..04748d3a 100644 --- a/spm/__external/__fieldtrip/__utilities/ft_fetch_event.py +++ b/spm/__external/__fieldtrip/__utilities/ft_fetch_event.py @@ -2,7 +2,7 @@ def ft_fetch_event(*args, **kwargs): - """ + r""" FT_FETCH_EVENT mimics the behavior of FT_READ_EVENT, but for a FieldTrip raw data structure instead of a file on disk. @@ -12,9 +12,12 @@ def ft_fetch_event(*args, **kwargs): See also FT_READ_EVENT, FT_FETCH_HEADER, FT_FETCH_DATA - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/utilities/ft_fetch_event.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/utilities/ft_fetch_event.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_fetch_event", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__utilities/ft_fetch_header.py b/spm/__external/__fieldtrip/__utilities/ft_fetch_header.py index a004b16b..f78a35ee 100644 --- a/spm/__external/__fieldtrip/__utilities/ft_fetch_header.py +++ b/spm/__external/__fieldtrip/__utilities/ft_fetch_header.py @@ -2,7 +2,7 @@ def ft_fetch_header(*args, **kwargs): - """ + r""" FT_FETCH_HEADER mimics the behavior of FT_READ_HEADER, but for a FieldTrip raw data structure instead of a file on disk. @@ -12,9 +12,12 @@ def ft_fetch_header(*args, **kwargs): See also FT_READ_HEADER, FT_FETCH_DATA, FT_FETCH_EVENT - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/utilities/ft_fetch_header.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/utilities/ft_fetch_header.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_fetch_header", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__utilities/ft_findcfg.py b/spm/__external/__fieldtrip/__utilities/ft_findcfg.py index b79b28f9..6d859a72 100644 --- a/spm/__external/__fieldtrip/__utilities/ft_findcfg.py +++ b/spm/__external/__fieldtrip/__utilities/ft_findcfg.py @@ -2,7 +2,7 @@ def ft_findcfg(*args, **kwargs): - """ + r""" FT_FINDCFG searches for an element in the cfg structure or in the nested previous cfgs @@ -17,9 +17,12 @@ def ft_findcfg(*args, **kwargs): See also FT_GETOPT, FT_CFG2KEYVAL - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/utilities/ft_findcfg.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/utilities/ft_findcfg.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_findcfg", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__utilities/ft_getopt.py b/spm/__external/__fieldtrip/__utilities/ft_getopt.py index 131f998b..a827ebf7 100644 --- a/spm/__external/__fieldtrip/__utilities/ft_getopt.py +++ b/spm/__external/__fieldtrip/__utilities/ft_getopt.py @@ -2,7 +2,7 @@ def ft_getopt(*args, **kwargs): - """ + r""" FT_GETOPT gets the value of a specified option from a configuration structure or from a cell-array with key-value pairs. @@ -25,12 +25,15 @@ def ft_getopt(*args, **kwargs): If emptymeaningful==true, then the empty array will be returned. If emptymeaningful==false, then the specified default will be returned. - See also FT_SETOPT, FT_CHECKOPT, INPUTPARSER + See also FT_SETOPT, FT_CHECKOPT, FT_DELETEOPT, INPUTPARSER - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/utilities/ft_getopt.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/utilities/ft_getopt.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_getopt", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__utilities/ft_hash.py b/spm/__external/__fieldtrip/__utilities/ft_hash.py index e61528b3..bcaa8de9 100644 --- a/spm/__external/__fieldtrip/__utilities/ft_hash.py +++ b/spm/__external/__fieldtrip/__utilities/ft_hash.py @@ -2,16 +2,19 @@ def ft_hash(*args, **kwargs): - """ + r""" FT_HASH computes a MD5 hash from a MATLAB variable or structure It will first try a hashing algorithm implemented as a mex file. If that fails, it falls back to a slower one that is based on Java. - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/utilities/ft_hash.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/utilities/ft_hash.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_hash", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__utilities/ft_hastoolbox.py b/spm/__external/__fieldtrip/__utilities/ft_hastoolbox.py index ab519038..7caf0b82 100644 --- a/spm/__external/__fieldtrip/__utilities/ft_hastoolbox.py +++ b/spm/__external/__fieldtrip/__utilities/ft_hastoolbox.py @@ -2,7 +2,7 @@ def ft_hastoolbox(*args, **kwargs): - """ + r""" FT_HASTOOLBOX tests whether an external toolbox is installed. Optionally it will try to determine the path to the toolbox and install it automatically. @@ -19,9 +19,12 @@ def ft_hastoolbox(*args, **kwargs): silent = 1 means that it will not give feedback - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/utilities/ft_hastoolbox.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/utilities/ft_hastoolbox.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_hastoolbox", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__utilities/ft_headcoordinates.py b/spm/__external/__fieldtrip/__utilities/ft_headcoordinates.py index eab0bff9..6609fd41 100644 --- a/spm/__external/__fieldtrip/__utilities/ft_headcoordinates.py +++ b/spm/__external/__fieldtrip/__utilities/ft_headcoordinates.py @@ -2,7 +2,7 @@ def ft_headcoordinates(*args, **kwargs): - """ + r""" FT_HEADCOORDINATES returns the homogeneous coordinate transformation matrix that converts the specified fiducials in any coordinate system (e.g. MRI) into the rotated and translated headcoordinate system. @@ -47,8 +47,8 @@ def ft_headcoordinates(*args, **kwargs): according to CTF conventions: coordsys = 'ctf' according to 4D conventions: coordsys = '4d' or 'bti' according to EEGLAB conventions: coordsys = 'eeglab' - according to NEUROMAG conventions: coordsys = 'itab' - according to ITAB conventions: coordsys = 'neuromag' + according to NEUROMAG conventions: coordsys = 'neuromag' + according to ITAB conventions: coordsys = 'itab' according to YOKOGAWA conventions: coordsys = 'yokogawa' according to ASA conventions: coordsys = 'asa' according to FTG conventions: coordsys = 'ftg' @@ -97,9 +97,12 @@ def ft_headcoordinates(*args, **kwargs): See also FT_ELECTRODEREALIGN, FT_VOLUMEREALIGN, FT_INTERACTIVEREALIGN, FT_AFFINECOORDINATES, COORDSYS2LABEL - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/utilities/ft_headcoordinates.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/utilities/ft_headcoordinates.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_headcoordinates", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__utilities/ft_info.py b/spm/__external/__fieldtrip/__utilities/ft_info.py index 8aa46506..0e245b4c 100644 --- a/spm/__external/__fieldtrip/__utilities/ft_info.py +++ b/spm/__external/__fieldtrip/__utilities/ft_info.py @@ -2,7 +2,7 @@ def ft_info(*args, **kwargs): - """ + r""" FT_INFO prints an info message on screen, depending on the verbosity settings of the calling high-level FieldTrip function. @@ -37,9 +37,12 @@ def ft_info(*args, **kwargs): See also FT_ERROR, FT_WARNING, FT_NOTICE, FT_INFO, FT_DEBUG, ERROR, WARNING - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/utilities/ft_info.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/utilities/ft_info.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_info", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__utilities/ft_inverse_montage.py b/spm/__external/__fieldtrip/__utilities/ft_inverse_montage.py new file mode 100644 index 00000000..f4f76d4b --- /dev/null +++ b/spm/__external/__fieldtrip/__utilities/ft_inverse_montage.py @@ -0,0 +1,23 @@ +from spm._runtime import Runtime + + +def ft_inverse_montage(*args, **kwargs): + r""" + FT_INVERSE_MONTAGE constructs an inverse of the input montage matrix, + allowing a linear projection of the channel timeseries to be undone. + + Use as + montage = ft_inverse_montage(montage) + + See also FT_APPLY_MONTAGE + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/utilities/ft_inverse_montage.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("ft_inverse_montage", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__utilities/ft_keyval2cfg.py b/spm/__external/__fieldtrip/__utilities/ft_keyval2cfg.py index 00dccde4..70383d32 100644 --- a/spm/__external/__fieldtrip/__utilities/ft_keyval2cfg.py +++ b/spm/__external/__fieldtrip/__utilities/ft_keyval2cfg.py @@ -2,7 +2,7 @@ def ft_keyval2cfg(*args, **kwargs): - """ + r""" FT_KEYVAL2CFG converts between a structure and a cell-array with key-value pairs which can be used for optional input arguments. @@ -12,9 +12,12 @@ def ft_keyval2cfg(*args, **kwargs): See also FT_CFG2KEYVAL, FT_GETOPT - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/utilities/ft_keyval2cfg.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/utilities/ft_keyval2cfg.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_keyval2cfg", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__utilities/ft_notice.py b/spm/__external/__fieldtrip/__utilities/ft_notice.py index 93c7f5aa..b5aa17cc 100644 --- a/spm/__external/__fieldtrip/__utilities/ft_notice.py +++ b/spm/__external/__fieldtrip/__utilities/ft_notice.py @@ -2,7 +2,7 @@ def ft_notice(*args, **kwargs): - """ + r""" FT_NOTICE prints a notice message on screen, depending on the verbosity settings of the calling high-level FieldTrip function. @@ -37,9 +37,12 @@ def ft_notice(*args, **kwargs): See also FT_ERROR, FT_WARNING, FT_NOTICE, FT_INFO, FT_DEBUG, ERROR, WARNING - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/utilities/ft_notice.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/utilities/ft_notice.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_notice", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__utilities/ft_platform_supports.py b/spm/__external/__fieldtrip/__utilities/ft_platform_supports.py index d41eb399..904b3a41 100644 --- a/spm/__external/__fieldtrip/__utilities/ft_platform_supports.py +++ b/spm/__external/__fieldtrip/__utilities/ft_platform_supports.py @@ -2,7 +2,7 @@ def ft_platform_supports(*args, **kwargs): - """ + r""" FT_PLATFORM_SUPPORTS returns a boolean indicating whether the current platform supports a specific capability @@ -46,9 +46,12 @@ def ft_platform_supports(*args, **kwargs): See also FT_VERSION, VERSION, VER, VERLESSTHAN - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/utilities/ft_platform_supports.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/utilities/ft_platform_supports.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_platform_supports", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__utilities/ft_postamble.py b/spm/__external/__fieldtrip/__utilities/ft_postamble.py index fd2dc8a1..4c757125 100644 --- a/spm/__external/__fieldtrip/__utilities/ft_postamble.py +++ b/spm/__external/__fieldtrip/__utilities/ft_postamble.py @@ -2,7 +2,7 @@ def ft_postamble(*args, **kwargs): - """ + r""" FT_POSTAMBLE is a helper function that is included in many of the FieldTrip functions and which takes care of some general settings and operations at the end of the function. @@ -15,9 +15,12 @@ def ft_postamble(*args, **kwargs): See also FT_PREAMBLE - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/utilities/ft_postamble.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/utilities/ft_postamble.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_postamble", *args, **kwargs, nargout=0) diff --git a/spm/__external/__fieldtrip/__utilities/ft_preamble.py b/spm/__external/__fieldtrip/__utilities/ft_preamble.py index 02baba78..21714c80 100644 --- a/spm/__external/__fieldtrip/__utilities/ft_preamble.py +++ b/spm/__external/__fieldtrip/__utilities/ft_preamble.py @@ -2,7 +2,7 @@ def ft_preamble(*args, **kwargs): - """ + r""" FT_PREAMBLE is a helper function that is included in many of the FieldTrip functions and which takes care of some general settings and operations at the begin of the function. @@ -15,9 +15,12 @@ def ft_preamble(*args, **kwargs): See also FT_POSTAMBLE - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/utilities/ft_preamble.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/utilities/ft_preamble.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_preamble", *args, **kwargs, nargout=0) diff --git a/spm/__external/__fieldtrip/__utilities/ft_progress.py b/spm/__external/__fieldtrip/__utilities/ft_progress.py index 219a037a..a3ae74e7 100644 --- a/spm/__external/__fieldtrip/__utilities/ft_progress.py +++ b/spm/__external/__fieldtrip/__utilities/ft_progress.py @@ -2,7 +2,7 @@ def ft_progress(*args, **kwargs): - """ + r""" FT_PROGRESS shows a graphical or non-graphical progress indication similar to the standard WAITBAR function, but with the extra option of printing it in the command window as a plain text string or as a rotating dial. Alternatively, you can also @@ -34,9 +34,12 @@ def ft_progress(*args, **kwargs): See also WAITBAR - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/utilities/ft_progress.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/utilities/ft_progress.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_progress", *args, **kwargs, nargout=0) diff --git a/spm/__external/__fieldtrip/__utilities/ft_save_workspace.py b/spm/__external/__fieldtrip/__utilities/ft_save_workspace.py index 8bfcea5d..2cdc0013 100644 --- a/spm/__external/__fieldtrip/__utilities/ft_save_workspace.py +++ b/spm/__external/__fieldtrip/__utilities/ft_save_workspace.py @@ -2,7 +2,7 @@ def ft_save_workspace(*args, **kwargs): - """ + r""" FT_SAVE_WORKSPACE saves every variable in the base workspace to a .mat file with the same name as the variable in the workspace itself. For example, the variable "ans" would be saved to the file "ans.mat". Prior to calling this function, you @@ -22,9 +22,12 @@ def ft_save_workspace(*args, **kwargs): See also SAVE, LOAD, SAVEFIG, CLEAR, KEEP - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/utilities/ft_save_workspace.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/utilities/ft_save_workspace.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_save_workspace", *args, **kwargs, nargout=0) diff --git a/spm/__external/__fieldtrip/__utilities/ft_scalingfactor.py b/spm/__external/__fieldtrip/__utilities/ft_scalingfactor.py index cb8025c0..66177ddc 100644 --- a/spm/__external/__fieldtrip/__utilities/ft_scalingfactor.py +++ b/spm/__external/__fieldtrip/__utilities/ft_scalingfactor.py @@ -2,7 +2,7 @@ def ft_scalingfactor(*args, **kwargs): - """ + r""" FT_SCALINGFACTOR determines the scaling factor from old to new units, i.e. it returns a number with which the data in the old units needs to be multiplied to get it expressed in the new units. @@ -62,9 +62,12 @@ def ft_scalingfactor(*args, **kwargs): See also http://en.wikipedia.org/wiki/International_System_of_Units - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/utilities/ft_scalingfactor.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/utilities/ft_scalingfactor.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_scalingfactor", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__utilities/ft_selectdata.py b/spm/__external/__fieldtrip/__utilities/ft_selectdata.py index b95a8b3b..22321d5c 100644 --- a/spm/__external/__fieldtrip/__utilities/ft_selectdata.py +++ b/spm/__external/__fieldtrip/__utilities/ft_selectdata.py @@ -2,7 +2,7 @@ def ft_selectdata(*args, **kwargs): - """ + r""" FT_SELECTDATA makes a selection in the input data along specific data dimensions, such as channels, time, frequency, trials, etc. It can also be used to average the data along each of the specific dimensions. @@ -56,9 +56,12 @@ def ft_selectdata(*args, **kwargs): See also FT_DATATYPE, FT_CHANNELSELECTION, FT_CHANNELCOMBINATION - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/utilities/ft_selectdata.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/utilities/ft_selectdata.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_selectdata", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__utilities/ft_setopt.py b/spm/__external/__fieldtrip/__utilities/ft_setopt.py index bfd67e91..cf862b1e 100644 --- a/spm/__external/__fieldtrip/__utilities/ft_setopt.py +++ b/spm/__external/__fieldtrip/__utilities/ft_setopt.py @@ -2,7 +2,7 @@ def ft_setopt(*args, **kwargs): - """ + r""" FT_SETOPT assigns a value to an configuration structure or to a cell-array with key-value pairs. It will overwrite the option if already present, or append the option if not present. @@ -11,12 +11,15 @@ def ft_setopt(*args, **kwargs): s = ft_setopt(s, key, val) where s is a structure or a cell-array. - See also FT_GETOPT, FT_CHECKOPT + See also FT_GETOPT, FT_CHECKOPT, FT_DELETEOPT - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/utilities/ft_setopt.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/utilities/ft_setopt.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_setopt", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__utilities/ft_source2full.py b/spm/__external/__fieldtrip/__utilities/ft_source2full.py index 30124912..35eeb3a0 100644 --- a/spm/__external/__fieldtrip/__utilities/ft_source2full.py +++ b/spm/__external/__fieldtrip/__utilities/ft_source2full.py @@ -2,7 +2,7 @@ def ft_source2full(*args, **kwargs): - """ + r""" FT_SOURCE2FULL recreates the grid locations outside the brain in the source reconstruction, so that the source volume again describes the full grid. This undoes the memory savings that can be achieved using FT_SOURCE2SPARSE @@ -15,9 +15,12 @@ def ft_source2full(*args, **kwargs): See also FT_SOURCE2SPARSE - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/utilities/ft_source2full.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/utilities/ft_source2full.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_source2full", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__utilities/ft_source2grid.py b/spm/__external/__fieldtrip/__utilities/ft_source2grid.py index 3ddcdcf7..0742c1d4 100644 --- a/spm/__external/__fieldtrip/__utilities/ft_source2grid.py +++ b/spm/__external/__fieldtrip/__utilities/ft_source2grid.py @@ -2,7 +2,7 @@ def ft_source2grid(*args, **kwargs): - """ + r""" FT_SOURCE2GRID removes the fields from a source structure that are not necessary to reuse the dipole grid in another source estimation. @@ -15,9 +15,12 @@ def ft_source2grid(*args, **kwargs): See also FTSOURCE2SPARSE, FT_SOURCE2FULL - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/utilities/ft_source2grid.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/utilities/ft_source2grid.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_source2grid", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__utilities/ft_source2sparse.py b/spm/__external/__fieldtrip/__utilities/ft_source2sparse.py index 71511d59..117bf7d3 100644 --- a/spm/__external/__fieldtrip/__utilities/ft_source2sparse.py +++ b/spm/__external/__fieldtrip/__utilities/ft_source2sparse.py @@ -2,7 +2,7 @@ def ft_source2sparse(*args, **kwargs): - """ + r""" FT_SOURCE2SPARSE removes the grid locations outside the brain from the source reconstruction, thereby saving memory. @@ -16,9 +16,12 @@ def ft_source2sparse(*args, **kwargs): See also FT_SOURCE2FULL - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/utilities/ft_source2sparse.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/utilities/ft_source2sparse.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_source2sparse", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__utilities/ft_standalone.py b/spm/__external/__fieldtrip/__utilities/ft_standalone.py index 9f187cb3..fa3ee758 100644 --- a/spm/__external/__fieldtrip/__utilities/ft_standalone.py +++ b/spm/__external/__fieldtrip/__utilities/ft_standalone.py @@ -2,7 +2,7 @@ def ft_standalone(*args, **kwargs): - """ + r""" FT_STANDALONE is the entry function of the compiled FieldTrip application. The compiled application can be used to execute FieldTrip data analysis scripts. @@ -27,9 +27,12 @@ def ft_standalone(*args, **kwargs): See also FT_COMPILE_STANDALONE - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/utilities/ft_standalone.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/utilities/ft_standalone.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_standalone", *args, **kwargs, nargout=0) diff --git a/spm/__external/__fieldtrip/__utilities/ft_struct2char.py b/spm/__external/__fieldtrip/__utilities/ft_struct2char.py index 2f76b083..5805cfbd 100644 --- a/spm/__external/__fieldtrip/__utilities/ft_struct2char.py +++ b/spm/__external/__fieldtrip/__utilities/ft_struct2char.py @@ -2,7 +2,7 @@ def ft_struct2char(*args, **kwargs): - """ + r""" FT_STRUCT2CHAR converts all string elements in a structure into char-arrays. @@ -12,9 +12,12 @@ def ft_struct2char(*args, **kwargs): See also FT_STRUCT2STRING, FT_STRUCT2SINGLE, FT_STRUCT2DOUBLE - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/utilities/ft_struct2char.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/utilities/ft_struct2char.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_struct2char", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__utilities/ft_struct2double.py b/spm/__external/__fieldtrip/__utilities/ft_struct2double.py index d4f889f4..13676324 100644 --- a/spm/__external/__fieldtrip/__utilities/ft_struct2double.py +++ b/spm/__external/__fieldtrip/__utilities/ft_struct2double.py @@ -2,7 +2,7 @@ def ft_struct2double(*args, **kwargs): - """ + r""" FT_STRUCT2DOUBLE converts all single precision numeric data in a structure into double precision. It will also convert plain matrices and cell-arrays. @@ -21,9 +21,12 @@ def ft_struct2double(*args, **kwargs): See also FT_STRUCT2SINGLE, FT_STRUCT2CHAR, FT_STRUCT2STRING - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/utilities/ft_struct2double.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/utilities/ft_struct2double.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_struct2double", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__utilities/ft_struct2single.py b/spm/__external/__fieldtrip/__utilities/ft_struct2single.py index 4a524400..d2b85861 100644 --- a/spm/__external/__fieldtrip/__utilities/ft_struct2single.py +++ b/spm/__external/__fieldtrip/__utilities/ft_struct2single.py @@ -2,7 +2,7 @@ def ft_struct2single(*args, **kwargs): - """ + r""" FT_STRUCT2SINGLE converts all double precision numeric data in a structure into single precision, which takes up half the amount of memory compared to double precision. It will also convert plain matrices and cell-arrays. @@ -21,9 +21,12 @@ def ft_struct2single(*args, **kwargs): See also FT_STRUCT2DOUBLE, FT_STRUCT2CHAR, FT_STRUCT2STRING - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/utilities/ft_struct2single.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/utilities/ft_struct2single.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_struct2single", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__utilities/ft_struct2string.py b/spm/__external/__fieldtrip/__utilities/ft_struct2string.py index 372af460..11f663a7 100644 --- a/spm/__external/__fieldtrip/__utilities/ft_struct2string.py +++ b/spm/__external/__fieldtrip/__utilities/ft_struct2string.py @@ -2,7 +2,7 @@ def ft_struct2string(*args, **kwargs): - """ + r""" FT_STRUCT2STRING converts all char-array elements in a structure into strings. @@ -12,9 +12,12 @@ def ft_struct2string(*args, **kwargs): See also FT_STRUCT2CHAR, FT_STRUCT2SINGLE, FT_STRUCT2DOUBLE - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/utilities/ft_struct2string.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/utilities/ft_struct2string.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_struct2string", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__utilities/ft_test.py b/spm/__external/__fieldtrip/__utilities/ft_test.py index f5fe9bf3..c0594099 100644 --- a/spm/__external/__fieldtrip/__utilities/ft_test.py +++ b/spm/__external/__fieldtrip/__utilities/ft_test.py @@ -2,7 +2,7 @@ def ft_test(*args, **kwargs): - """ + r""" FT_TEST performs selected FieldTrip test scripts, finds and updates the dependencies of test scripts, finds which high-level FieldTrip functions are not tested, or reports on previous test results from the dashboard database. @@ -133,9 +133,12 @@ def ft_test(*args, **kwargs): See also DCCNPATH, FT_VERSION - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/utilities/ft_test.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/utilities/ft_test.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_test", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__utilities/ft_trackusage.py b/spm/__external/__fieldtrip/__utilities/ft_trackusage.py index bbea2656..93bc474a 100644 --- a/spm/__external/__fieldtrip/__utilities/ft_trackusage.py +++ b/spm/__external/__fieldtrip/__utilities/ft_trackusage.py @@ -2,7 +2,7 @@ def ft_trackusage(*args, **kwargs): - """ + r""" FT_TRACKUSAGE tracks the usage of specific FieldTrip components using a central tracking server. This involves sending a small snippet of information to the server. Tracking is only used to gather data on the usage of the FieldTrip @@ -32,9 +32,12 @@ def ft_trackusage(*args, **kwargs): See also FT_DEFAULTS - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/utilities/ft_trackusage.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/utilities/ft_trackusage.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_trackusage", *args, **kwargs, nargout=0) diff --git a/spm/__external/__fieldtrip/__utilities/ft_transform_geometry.py b/spm/__external/__fieldtrip/__utilities/ft_transform_geometry.py index 030d196d..9b1fb8ab 100644 --- a/spm/__external/__fieldtrip/__utilities/ft_transform_geometry.py +++ b/spm/__external/__fieldtrip/__utilities/ft_transform_geometry.py @@ -2,50 +2,53 @@ def ft_transform_geometry(*args, **kwargs): - """ + r""" FT_TRANSFORM_GEOMETRY applies a homogeneous coordinate transformation to a structure with geometric information, for example a volume conduction model for the head, gradiometer of electrode structure containing EEG or MEG sensor positions and MEG coil orientations, a head shape or a source model. Use as - [output] = ft_transform_geometry(transform, input) - where the transform should be a 4x4 homogeneous transformation matrix and the input - data structure can be any of the FieldTrip data structures that describes - geometrical data, or + [output] = ft_transform_geometry(transform, input), or [output] = ft_transform_geometry(transform, input, method) - where the transform contains a set of parameters that can be converted into a 4x4 - homogeneous transformation matrix, using one of the supported methods: - 'rotate', 'scale', 'translate', 'rigidbody'. All methods require a 3-element vector - as parameters, apart from rigidbody, which requires 6 parameters. + + The input data structure can be any of the FieldTrip data structures that describes + geometrical data. + + Without specifying the method, the transform input argument should be a 4x4 + homogeneous transformation matrix. + + The method can also be specified as 'rotate', 'scale', 'translate', 'rigidbody', in + which case the transform is a set of parameters that can be converted into a 4x4 + homogeneous transformation matrix. All methods require a 3-element vector as + parameters, apart from rigidbody, which requires a 6-element vector. - The units of the transformation matrix must be the same as the units in which the - geometric object is expressed. + The units of the translation or transformation matrix must be the same as the units + in which the geometric object is expressed. The type of geometric object constrains the type of allowed transformations. - For sensor arrays: If the input is an MEG gradiometer array, only a rigid-body translation plus rotation are allowed. If the input is an EEG electrode or fNIRS optodes array, global rescaling and individual axis rescaling is also allowed. - For volume conduction models: If the input is a volume conductor model of the following type: - localspheres model - singleshell model with the spherical harmonic coefficients already computed - BEM model with system matrix already computed - FEM model with volumetric elements - only a rigid-body translation plus rotation are allowed. + - BEM model with system matrix already computed + - FEM model with volumetric elements + - localspheres model + - singleshell model with the spherical harmonic coefficients already computed + then only a rigid-body translation plus rotation are allowed. If the input is a volume conductor model of the following type: - BEM model with the system matrix not yet computed - singleshell model with the spherical harmonic coefficients not yet computed - rotation, translation, global rescaling and individual axis rescaling is allowed. + - BEM model with the system matrix not yet computed + - singleshell model with the spherical harmonic coefficients not yet computed + then rotation, translation, global rescaling and individual axis rescaling is + allowed. If the input is a volume conductor model of the following type: single sphere concentric spheres - rotation, translation and global rescaling is allowed. + then rotation, translation and global rescaling is allowed. For source models, either defined as a 3D regular grid, a 2D mesh or unstructred point cloud, rotation, translation, global rescaling and individual axis rescaling @@ -57,9 +60,12 @@ def ft_transform_geometry(*args, **kwargs): See also FT_WARP_APPLY, FT_HEADCOORDINATES, FT_SCALINGFACTOR - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/utilities/ft_transform_geometry.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/utilities/ft_transform_geometry.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_transform_geometry", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__utilities/ft_transform_headmodel.py b/spm/__external/__fieldtrip/__utilities/ft_transform_headmodel.py index b71381e1..0f235639 100644 --- a/spm/__external/__fieldtrip/__utilities/ft_transform_headmodel.py +++ b/spm/__external/__fieldtrip/__utilities/ft_transform_headmodel.py @@ -2,16 +2,19 @@ def ft_transform_headmodel(*args, **kwargs): - """ + r""" This function is a backward compatibility wrapper for existing MATLAB scripts that call a function that is not part of the FieldTrip toolbox any more. Please update your code to make it future-proof. - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/utilities/ft_transform_headmodel.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/utilities/ft_transform_headmodel.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_transform_headmodel", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__utilities/ft_transform_headshape.py b/spm/__external/__fieldtrip/__utilities/ft_transform_headshape.py index 521c3f9e..c9312106 100644 --- a/spm/__external/__fieldtrip/__utilities/ft_transform_headshape.py +++ b/spm/__external/__fieldtrip/__utilities/ft_transform_headshape.py @@ -2,16 +2,19 @@ def ft_transform_headshape(*args, **kwargs): - """ + r""" This function is a backward compatibility wrapper for existing MATLAB scripts that call a function that is not part of the FieldTrip toolbox any more. Please update your code to make it future-proof. - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/utilities/ft_transform_headshape.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/utilities/ft_transform_headshape.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_transform_headshape", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__utilities/ft_transform_sens.py b/spm/__external/__fieldtrip/__utilities/ft_transform_sens.py index ba8d7666..672d0c03 100644 --- a/spm/__external/__fieldtrip/__utilities/ft_transform_sens.py +++ b/spm/__external/__fieldtrip/__utilities/ft_transform_sens.py @@ -2,16 +2,19 @@ def ft_transform_sens(*args, **kwargs): - """ + r""" This function is a backward compatibility wrapper for existing MATLAB scripts that call a function that is not part of the FieldTrip toolbox any more. Please update your code to make it future-proof. - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/utilities/ft_transform_sens.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/utilities/ft_transform_sens.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_transform_sens", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__utilities/ft_transform_vol.py b/spm/__external/__fieldtrip/__utilities/ft_transform_vol.py index c31d33ea..38060690 100644 --- a/spm/__external/__fieldtrip/__utilities/ft_transform_vol.py +++ b/spm/__external/__fieldtrip/__utilities/ft_transform_vol.py @@ -2,16 +2,19 @@ def ft_transform_vol(*args, **kwargs): - """ + r""" This function is a backward compatibility wrapper for existing MATLAB scripts that call a function that is not part of the FieldTrip toolbox any more. Please update your code to make it future-proof. - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/utilities/ft_transform_vol.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/utilities/ft_transform_vol.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_transform_vol", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__utilities/ft_version.py b/spm/__external/__fieldtrip/__utilities/ft_version.py index 3f97c016..e5a333cd 100644 --- a/spm/__external/__fieldtrip/__utilities/ft_version.py +++ b/spm/__external/__fieldtrip/__utilities/ft_version.py @@ -2,7 +2,7 @@ def ft_version(*args, **kwargs): - """ + r""" FT_VERSION returns the version of FieldTrip and the path where it is installed FieldTrip is not released with version numbers as "2.0", "2.1", etc. Instead, we @@ -40,9 +40,12 @@ def ft_version(*args, **kwargs): See also FT_PLATFORM_SUPPORTS, VERSION, VER, VERLESSTHAN - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/utilities/ft_version.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/utilities/ft_version.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_version", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__utilities/ft_warning.py b/spm/__external/__fieldtrip/__utilities/ft_warning.py index 4f8ea44c..5b62879a 100644 --- a/spm/__external/__fieldtrip/__utilities/ft_warning.py +++ b/spm/__external/__fieldtrip/__utilities/ft_warning.py @@ -2,7 +2,7 @@ def ft_warning(*args, **kwargs): - """ + r""" FT_WARNING prints a warning message on screen, depending on the verbosity settings of the calling high-level FieldTrip function. This function works similar to the standard WARNING function, but also features the "once" mode. @@ -38,9 +38,12 @@ def ft_warning(*args, **kwargs): See also FT_ERROR, FT_WARNING, FT_NOTICE, FT_INFO, FT_DEBUG, ERROR, WARNING - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/utilities/ft_warning.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/utilities/ft_warning.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_warning", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__utilities/ft_warp_apply.py b/spm/__external/__fieldtrip/__utilities/ft_warp_apply.py index d50332c6..5f6682a6 100644 --- a/spm/__external/__fieldtrip/__utilities/ft_warp_apply.py +++ b/spm/__external/__fieldtrip/__utilities/ft_warp_apply.py @@ -2,50 +2,50 @@ def ft_warp_apply(*args, **kwargs): - """ + r""" FT_WARP_APPLY performs a 3D linear or nonlinear transformation on the input coordinates, similar to those in AIR. You can find technical documentation on warping in general at http://air.bmap.ucla.edu/AIR5 Use as - [output] = ft_warp_apply(M, input, method, tol) + [output] = ft_warp_apply(transform, input, method, tol) where - M vector or matrix with warping parameters - input Nx3 matrix with input coordinates - output Nx3 matrix with the transformed or warped output coordinates - method string describing the transformation or warping method - tol (optional) value determining the numerical precision of the - output, to deal with numerical round-off imprecisions due to - the warping + transform vector or matrix with warping parameters + input Nx3 matrix with input coordinates + output Nx3 matrix with the transformed or warped output coordinates + method string describing the transformation or warping method + tol (optional) value determining the numerical precision of the + output, to deal with numerical round-off imprecisions due to + the warping The methods 'nonlin0', 'nonlin2' ... 'nonlin5' specify a polynomial transformation. - The size of the transformation matrix depends on the order of the warp + The size of the specified transform depends on the order of the warp zeroth order : 1 parameter per coordinate (translation) first order : 4 parameters per coordinate (total 12, affine) second order : 10 parameters per coordinate third order : 20 parameters per coordinate fourth order : 35 parameters per coordinate fifth order : 56 parameters per coordinate (total 168) - The size of M should be 3xP, where P is the number of parameters per coordinate. - Alternatively, you can specify the method to be 'nonlinear', in which case the - order will be determined from the size of the matrix M. + The size of the specified transform should be 3xP, where P is the number of + parameters per coordinate. Alternatively, you can specify the method to be + 'nonlinear', in which case the order will be determined from the size of the + specified transform. - If the method 'homogeneous' is selected, the input matrix M should be a 4x4 + If the method 'homogeneous' is selected, the specified transform should be a 4x4 homogenous transformation matrix. - If the method 'sn2individual' or 'individual2sn' is selected, the input M should be - a structure with the nonlinear spatial normalisation (warping) parameters created - by SPM8 or SPM12 for alignment between an individual subject and a template brain. - When using the 'old' method, M will have subfields like this: + If the method 'sn2individual' or 'individual2sn' is selected, the specified + transform should be a structure with the nonlinear spatial normalisation (warping) + parameters created by SPM8 or SPM12 for alignment between an individual subject and + a template brain. The specified transform is a structure with fields like this: Affine: [4x4 double] Tr: [4-D double] VF: [1x1 struct] VG: [1x1 struct] flags: [1x1 struct] - When using the 'new' or the 'mars' method, M will have subfields like this: If any other method is selected, it is assumed that it specifies the name of an - auxiliary function that will, when given the input parameter vector M, return an + auxiliary function that will, when given the specified transform vector, return an 4x4 homogenous transformation matrix. Supplied functions are 'translate', 'rotate', 'scale', 'rigidbody', 'globalrescale', 'traditional', 'affine', 'perspective', 'quaternion'. @@ -54,9 +54,12 @@ def ft_warp_apply(*args, **kwargs): MAKETFORM, AFFINE2D, AFFINE3D - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/utilities/ft_warp_apply.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/utilities/ft_warp_apply.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_warp_apply", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__utilities/ft_warp_error.py b/spm/__external/__fieldtrip/__utilities/ft_warp_error.py index 27a66632..b21fc95d 100644 --- a/spm/__external/__fieldtrip/__utilities/ft_warp_error.py +++ b/spm/__external/__fieldtrip/__utilities/ft_warp_error.py @@ -2,7 +2,7 @@ def ft_warp_error(*args, **kwargs): - """ + r""" FT_WARP_ERROR computes the mean distance after linear or non-linear warping and can be used as the goalfunction in a 3D warping minimalisation @@ -16,9 +16,12 @@ def ft_warp_error(*args, **kwargs): See also FT_WARP_OPTIM, FT_WARP_APPLY - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/utilities/ft_warp_error.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/utilities/ft_warp_error.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_warp_error", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__utilities/ft_warp_optim.py b/spm/__external/__fieldtrip/__utilities/ft_warp_optim.py index 4b0340c5..c3e35eb6 100644 --- a/spm/__external/__fieldtrip/__utilities/ft_warp_optim.py +++ b/spm/__external/__fieldtrip/__utilities/ft_warp_optim.py @@ -2,7 +2,7 @@ def ft_warp_optim(*args, **kwargs): - """ + r""" FT_WARP_OPTIM determine intermediate positions using warping (deformation) the input cloud of points is warped to match the target. The strategy is to start with simpelest linear warp, followed by a more @@ -31,9 +31,12 @@ def ft_warp_optim(*args, **kwargs): See also FT_WARP_APPLY, FT_WARP_ERRROR - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/utilities/ft_warp_optim.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/utilities/ft_warp_optim.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_warp_optim", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__utilities/getsubfield.py b/spm/__external/__fieldtrip/__utilities/getsubfield.py index 503dd9aa..b36e81b5 100644 --- a/spm/__external/__fieldtrip/__utilities/getsubfield.py +++ b/spm/__external/__fieldtrip/__utilities/getsubfield.py @@ -2,7 +2,7 @@ def getsubfield(*args, **kwargs): - """ + r""" GETSUBFIELD returns a field from a structure just like the standard GETFIELD function, except that you can also specify nested fields using a '.' in the fieldname. The nesting can be arbitrary deep. @@ -15,9 +15,12 @@ def getsubfield(*args, **kwargs): See also GETFIELD, ISSUBFIELD, SETSUBFIELD - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/utilities/getsubfield.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/utilities/getsubfield.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("getsubfield", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__utilities/hasyokogawa.py b/spm/__external/__fieldtrip/__utilities/hasyokogawa.py index 957aaa23..bfefcd78 100644 --- a/spm/__external/__fieldtrip/__utilities/hasyokogawa.py +++ b/spm/__external/__fieldtrip/__utilities/hasyokogawa.py @@ -2,7 +2,7 @@ def hasyokogawa(*args, **kwargs): - """ + r""" HASYOKOGAWA tests whether the data input toolbox for MEG systems by Yokogawa (www.yokogawa.com, designed by KIT/EagleTechnology) is installed. Only the newest version of the toolbox is accepted. @@ -23,9 +23,12 @@ def hasyokogawa(*args, **kwargs): YOKOGAWA2GRAD - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/utilities/hasyokogawa.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/utilities/hasyokogawa.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("hasyokogawa", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__utilities/issubfield.py b/spm/__external/__fieldtrip/__utilities/issubfield.py index 348fa36a..1a174d5d 100644 --- a/spm/__external/__fieldtrip/__utilities/issubfield.py +++ b/spm/__external/__fieldtrip/__utilities/issubfield.py @@ -2,7 +2,7 @@ def issubfield(*args, **kwargs): - """ + r""" ISSUBFIELD tests for the presence of a field in a structure just like the standard Matlab ISFIELD function, except that you can also specify nested fields using a '.' in the fieldname. The nesting can be arbitrary deep. @@ -18,9 +18,12 @@ def issubfield(*args, **kwargs): See also ISFIELD, GETSUBFIELD, SETSUBFIELD - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/utilities/issubfield.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/utilities/issubfield.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("issubfield", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__utilities/istrue.py b/spm/__external/__fieldtrip/__utilities/istrue.py index ef5e5011..8d001066 100644 --- a/spm/__external/__fieldtrip/__utilities/istrue.py +++ b/spm/__external/__fieldtrip/__utilities/istrue.py @@ -2,14 +2,17 @@ def istrue(*args, **kwargs): - """ + r""" ISTRUE converts an input argument like "yes/no", "true/false" or "on/off" into a boolean. If the input is boolean, then it will remain like that. - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/utilities/istrue.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/utilities/istrue.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("istrue", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__utilities/keepfields.py b/spm/__external/__fieldtrip/__utilities/keepfields.py index 41e675d6..f1598365 100644 --- a/spm/__external/__fieldtrip/__utilities/keepfields.py +++ b/spm/__external/__fieldtrip/__utilities/keepfields.py @@ -2,7 +2,7 @@ def keepfields(*args, **kwargs): - """ + r""" KEEPFIELDS makes a selection of the fields in a structure Use as @@ -11,9 +11,12 @@ def keepfields(*args, **kwargs): See also REMOVEFIELDS, COPYFIELDS - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/utilities/keepfields.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/utilities/keepfields.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("keepfields", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__utilities/keyval.py b/spm/__external/__fieldtrip/__utilities/keyval.py index 87233c47..9dcb7bc2 100644 --- a/spm/__external/__fieldtrip/__utilities/keyval.py +++ b/spm/__external/__fieldtrip/__utilities/keyval.py @@ -2,7 +2,7 @@ def keyval(*args, **kwargs): - """ + r""" KEYVAL returns the value that corresponds to the requested key in a key-value pair list of variable input arguments @@ -12,9 +12,12 @@ def keyval(*args, **kwargs): See also VARARGIN - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/utilities/keyval.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/utilities/keyval.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("keyval", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__utilities/keyvalcheck.py b/spm/__external/__fieldtrip/__utilities/keyvalcheck.py index 6ac9a39a..45665257 100644 --- a/spm/__external/__fieldtrip/__utilities/keyvalcheck.py +++ b/spm/__external/__fieldtrip/__utilities/keyvalcheck.py @@ -2,7 +2,7 @@ def keyvalcheck(*args, **kwargs): - """ + r""" KEYVALCHECK is a helper function for parsing optional key-value input pairs. Use as @@ -13,9 +13,12 @@ def keyvalcheck(*args, **kwargs): See also KEYVAL - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/utilities/keyvalcheck.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/utilities/keyvalcheck.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("keyvalcheck", *args, **kwargs, nargout=0) diff --git a/spm/__external/__fieldtrip/__utilities/markdown2matlab.py b/spm/__external/__fieldtrip/__utilities/markdown2matlab.py index 0ca3300b..b8dc8294 100644 --- a/spm/__external/__fieldtrip/__utilities/markdown2matlab.py +++ b/spm/__external/__fieldtrip/__utilities/markdown2matlab.py @@ -2,7 +2,7 @@ def markdown2matlab(*args, **kwargs): - """ + r""" MARKDOWN2MATLAB converts a Markdown file to a MATLAB script or function. All text is converted to comments, headings are converted to comment lines starting with %% sections with code are properly formatted, and words that appear in bold, italic or @@ -23,9 +23,12 @@ def markdown2matlab(*args, **kwargs): See also MATLAB2MARKDOWN - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/utilities/markdown2matlab.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/utilities/markdown2matlab.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("markdown2matlab", *args, **kwargs, nargout=0) diff --git a/spm/__external/__fieldtrip/__utilities/match_str.py b/spm/__external/__fieldtrip/__utilities/match_str.py index 31a7edbd..748622e5 100644 --- a/spm/__external/__fieldtrip/__utilities/match_str.py +++ b/spm/__external/__fieldtrip/__utilities/match_str.py @@ -2,7 +2,7 @@ def match_str(*args, **kwargs): - """ + r""" MATCH_STR looks for matching labels in two lists of strings and returns the indices into both the 1st and 2nd list of the matches. They will be ordered according to the first input argument. @@ -20,9 +20,12 @@ def match_str(*args, **kwargs): size of the input lists is meaningful. - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/utilities/match_str.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/utilities/match_str.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("match_str", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__utilities/match_val.py b/spm/__external/__fieldtrip/__utilities/match_val.py index a53eabbc..128753d7 100644 --- a/spm/__external/__fieldtrip/__utilities/match_val.py +++ b/spm/__external/__fieldtrip/__utilities/match_val.py @@ -2,7 +2,7 @@ def match_val(*args, **kwargs): - """ + r""" MATCH_VAL looks for matching values in two arrays of values and returns the indices into both the 1st and 2nd list of the matches. They will be ordered according to the first input argument. @@ -13,9 +13,12 @@ def match_val(*args, **kwargs): See also MATCH_STR - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/utilities/match_val.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/utilities/match_val.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("match_val", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__utilities/matlab2markdown.py b/spm/__external/__fieldtrip/__utilities/matlab2markdown.py index d7fdf1ac..b83a3d8b 100644 --- a/spm/__external/__fieldtrip/__utilities/matlab2markdown.py +++ b/spm/__external/__fieldtrip/__utilities/matlab2markdown.py @@ -2,7 +2,7 @@ def matlab2markdown(*args, **kwargs): - """ + r""" MATLAB2MARKDOWN converts a MATLAB script or function to Markdown format. All comments are converted to text, comment lines starting with %% are converted to headings, sections with code are properly formatted, and words that appear in bold, @@ -27,9 +27,12 @@ def matlab2markdown(*args, **kwargs): See also MARKDOWN2MATLAB - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/utilities/matlab2markdown.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/utilities/matlab2markdown.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("matlab2markdown", *args, **kwargs, nargout=0) diff --git a/spm/__external/__fieldtrip/__utilities/memtic.py b/spm/__external/__fieldtrip/__utilities/memtic.py index e641fe0f..df58a48f 100644 --- a/spm/__external/__fieldtrip/__utilities/memtic.py +++ b/spm/__external/__fieldtrip/__utilities/memtic.py @@ -2,7 +2,7 @@ def memtic(*args, **kwargs): - """ + r""" MEMTIC start a MATLAB memory recorder MEMTIC and MEMTOC functions work together to measure memory usage. @@ -42,9 +42,12 @@ def memtic(*args, **kwargs): See also TIC, TOC - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/utilities/memtic.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/utilities/memtic.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("memtic", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__utilities/memtoc.py b/spm/__external/__fieldtrip/__utilities/memtoc.py index 474064ac..a05687b7 100644 --- a/spm/__external/__fieldtrip/__utilities/memtoc.py +++ b/spm/__external/__fieldtrip/__utilities/memtoc.py @@ -2,7 +2,7 @@ def memtoc(*args, **kwargs): - """ + r""" MEMTOC return the memory that was used MEMTIC and MEMTOC functions work together to measure memory usage. @@ -42,9 +42,12 @@ def memtoc(*args, **kwargs): See also TIC, TOC - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/utilities/memtoc.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/utilities/memtoc.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("memtoc", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__utilities/nearest.py b/spm/__external/__fieldtrip/__utilities/nearest.py index de87a957..6eeb5b41 100644 --- a/spm/__external/__fieldtrip/__utilities/nearest.py +++ b/spm/__external/__fieldtrip/__utilities/nearest.py @@ -2,14 +2,13 @@ def nearest(*args, **kwargs): - """ + r""" NEAREST return the index of an array nearest to a scalar Use as [indx] = nearest(array, val, insideflag, toleranceflag) - The second input val can be a scalar, or a [minval maxval] vector for - limits selection. + The second input val should be a scalar. If not specified or if left empty, the insideflag and the toleranceflag will default to false. @@ -26,12 +25,15 @@ def nearest(*args, **kwargs): tolerance that is allowed is half the distance between the subsequent values in the array. - See also FIND + See also FIND, DSEARCHN - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/utilities/nearest.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/utilities/nearest.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("nearest", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__utilities/printstruct.py b/spm/__external/__fieldtrip/__utilities/printstruct.py index 89e0cc9f..2c5024d6 100644 --- a/spm/__external/__fieldtrip/__utilities/printstruct.py +++ b/spm/__external/__fieldtrip/__utilities/printstruct.py @@ -2,7 +2,7 @@ def printstruct(*args, **kwargs): - """ + r""" PRINTSTRUCT converts a MATLAB structure into a multiple-line string that, when evaluated by MATLAB, results in the original structure. It also works for most other standard MATLAB classes, such as numbers, vectors, matrices, and cell-arrays. @@ -28,9 +28,12 @@ def printstruct(*args, **kwargs): See also DISP, NUM2STR, INT2STR, MAT2STR - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/utilities/printstruct.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/utilities/printstruct.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("printstruct", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__utilities/removefields.py b/spm/__external/__fieldtrip/__utilities/removefields.py index e7bb31f0..cbe939cc 100644 --- a/spm/__external/__fieldtrip/__utilities/removefields.py +++ b/spm/__external/__fieldtrip/__utilities/removefields.py @@ -2,7 +2,7 @@ def removefields(*args, **kwargs): - """ + r""" REMOVEFIELDS makes a selection of the fields in a structure Use as @@ -11,9 +11,12 @@ def removefields(*args, **kwargs): See also KEEPFIELDS, COPYFIELDS - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/utilities/removefields.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/utilities/removefields.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("removefields", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__utilities/renamefields.py b/spm/__external/__fieldtrip/__utilities/renamefields.py index 064843cf..d61945e3 100644 --- a/spm/__external/__fieldtrip/__utilities/renamefields.py +++ b/spm/__external/__fieldtrip/__utilities/renamefields.py @@ -2,7 +2,7 @@ def renamefields(*args, **kwargs): - """ + r""" RENAMEFIELDS renames a selection of the fields in a structure Use as @@ -13,9 +13,12 @@ def renamefields(*args, **kwargs): See also COPYFIELDS, KEEPFIELDS, REMOVEFIELDS - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/utilities/renamefields.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/utilities/renamefields.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("renamefields", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__utilities/rmsubfield.py b/spm/__external/__fieldtrip/__utilities/rmsubfield.py index 617db240..4aad2fbd 100644 --- a/spm/__external/__fieldtrip/__utilities/rmsubfield.py +++ b/spm/__external/__fieldtrip/__utilities/rmsubfield.py @@ -2,7 +2,7 @@ def rmsubfield(*args, **kwargs): - """ + r""" RMSUBFIELD removes the contents of the specified field from a structure just like the standard Matlab RMFIELD function, except that you can also specify nested fields using a '.' in the fieldname. The nesting can be @@ -16,9 +16,12 @@ def rmsubfield(*args, **kwargs): See also SETFIELD, GETSUBFIELD, ISSUBFIELD - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/utilities/rmsubfield.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/utilities/rmsubfield.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("rmsubfield", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__utilities/setsubfield.py b/spm/__external/__fieldtrip/__utilities/setsubfield.py index fede4309..5eef9efe 100644 --- a/spm/__external/__fieldtrip/__utilities/setsubfield.py +++ b/spm/__external/__fieldtrip/__utilities/setsubfield.py @@ -2,7 +2,7 @@ def setsubfield(*args, **kwargs): - """ + r""" SETSUBFIELD sets the contents of the specified field to a specified value just like the standard Matlab SETFIELD function, except that you can also specify nested fields using a '.' in the fieldname. The nesting can be @@ -19,9 +19,12 @@ def setsubfield(*args, **kwargs): See also SETFIELD, GETSUBFIELD, ISSUBFIELD - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/utilities/setsubfield.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/utilities/setsubfield.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("setsubfield", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__utilities/strel_bol.py b/spm/__external/__fieldtrip/__utilities/strel_bol.py index 46a221f1..e6d0e4fc 100644 --- a/spm/__external/__fieldtrip/__utilities/strel_bol.py +++ b/spm/__external/__fieldtrip/__utilities/strel_bol.py @@ -2,16 +2,19 @@ def strel_bol(*args, **kwargs): - """ + r""" STREL_BOL constructs a 3D sphere with the specified radius that can be used as structural element in 3D image processing See STREL, IMERODE, IMDILATE (image processing toolbox) - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/utilities/strel_bol.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/utilities/strel_bol.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("strel_bol", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/__utilities/tokenize.py b/spm/__external/__fieldtrip/__utilities/tokenize.py index c7eeaddd..1cdc59b5 100644 --- a/spm/__external/__fieldtrip/__utilities/tokenize.py +++ b/spm/__external/__fieldtrip/__utilities/tokenize.py @@ -2,7 +2,7 @@ def tokenize(*args, **kwargs): - """ + r""" TOKENIZE cuts a string into pieces, returning the pieces in a cell-array Use as @@ -22,9 +22,12 @@ def tokenize(*args, **kwargs): See also STRSPLIT, SPLIT, STRTOK, TEXTSCAN - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/utilities/tokenize.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/utilities/tokenize.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("tokenize", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_align_ijk2xyz.py b/spm/__external/__fieldtrip/_align_ijk2xyz.py index 4bb7f195..ed97b67d 100644 --- a/spm/__external/__fieldtrip/_align_ijk2xyz.py +++ b/spm/__external/__fieldtrip/_align_ijk2xyz.py @@ -2,7 +2,7 @@ def _align_ijk2xyz(*args, **kwargs): - """ + r""" ALIGN_IJK2XYZ flips and permutes the 3D volume data such that the axes of the voxel indices and the headcoordinates approximately correspond. The homogeneous transformation matrix is modified accordingly, to ensure that @@ -25,9 +25,12 @@ def _align_ijk2xyz(*args, **kwargs): See also ALIGN_XYZ2IJK, VOLUMEPERMUTE, VOLUMEFLIP - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/align_ijk2xyz.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/align_ijk2xyz.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("align_ijk2xyz", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_align_presentation.py b/spm/__external/__fieldtrip/_align_presentation.py index 21fe7eaf..9022585b 100644 --- a/spm/__external/__fieldtrip/_align_presentation.py +++ b/spm/__external/__fieldtrip/_align_presentation.py @@ -2,7 +2,7 @@ def _align_presentation(*args, **kwargs): - """ + r""" ALIGN_PRESENTATION is a helper function to align events from a NBS Presentation log files to MEG/EEG triggers, or to a sequence of BOLD volumes. @@ -23,9 +23,12 @@ def _align_presentation(*args, **kwargs): See also DATA2BIDS, FT_READ_EVENT, FT_DEFINETRIAL - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/align_presentation.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/align_presentation.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("align_presentation", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_align_xyz2ijk.py b/spm/__external/__fieldtrip/_align_xyz2ijk.py index a7140205..d13a2b90 100644 --- a/spm/__external/__fieldtrip/_align_xyz2ijk.py +++ b/spm/__external/__fieldtrip/_align_xyz2ijk.py @@ -2,7 +2,7 @@ def _align_xyz2ijk(*args, **kwargs): - """ + r""" ALIGN_XYZ2IJK updates the transform and coordsys fields such that the axes of the resulting head coordinate system are aligned with the voxel indices. The intention is to create a volume structure that can be plotted in native voxel coordinates. @@ -10,9 +10,12 @@ def _align_xyz2ijk(*args, **kwargs): See also ALIGN_IJK2XYZ, VOLUMEPERMUTE, VOLUMEFLIP - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/align_xyz2ijk.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/align_xyz2ijk.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("align_xyz2ijk", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_alpha_taper.py b/spm/__external/__fieldtrip/_alpha_taper.py index d3fedda1..24f9bc0c 100644 --- a/spm/__external/__fieldtrip/_alpha_taper.py +++ b/spm/__external/__fieldtrip/_alpha_taper.py @@ -2,7 +2,7 @@ def _alpha_taper(*args, **kwargs): - """ + r""" ALPHA_TAPER returns an asymmetric taper that can be used to construct a complex wavelet with the peak at a distance of 0.8 times the cycle length from the end. @@ -35,9 +35,12 @@ def _alpha_taper(*args, **kwargs): W(F,t) = taper(F,t) * exp(i*2*pi*F*t) - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/alpha_taper.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/alpha_taper.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("alpha_taper", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_append_common.py b/spm/__external/__fieldtrip/_append_common.py index 08fd76ef..74debe8f 100644 --- a/spm/__external/__fieldtrip/_append_common.py +++ b/spm/__external/__fieldtrip/_append_common.py @@ -2,7 +2,7 @@ def _append_common(*args, **kwargs): - """ + r""" APPEND_COMMON is used for concatenating raw, timelock or freq data The general bookkeeping and the correct specification of the cfg @@ -11,9 +11,12 @@ def _append_common(*args, **kwargs): See FT_APPENDDATA, FT_APPENDTIMELOCK, FT_APPENDFREQ - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/append_common.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/append_common.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("append_common", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_artifact2boolvec.py b/spm/__external/__fieldtrip/_artifact2boolvec.py index 0e121829..fa15ecaf 100644 --- a/spm/__external/__fieldtrip/_artifact2boolvec.py +++ b/spm/__external/__fieldtrip/_artifact2boolvec.py @@ -2,7 +2,7 @@ def _artifact2boolvec(*args, **kwargs): - """ + r""" ARTIFACT2BOOLVEC converts between two representations of events or trials. FieldTrip uses a number of representations for events that are conceptually very similar @@ -27,9 +27,12 @@ def _artifact2boolvec(*args, **kwargs): See also ARTIFACT2BOOLVEC, ARTIFACT2EVENT, ARTIFACT2TRL, BOOLVEC2ARTIFACT, BOOLVEC2EVENT, BOOLVEC2TRL, EVENT2ARTIFACT, EVENT2BOOLVEC, EVENT2TRL, TRL2ARTIFACT, TRL2BOOLVEC, TRL2EVENT - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/artifact2boolvec.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/artifact2boolvec.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("artifact2boolvec", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_artifact2event.py b/spm/__external/__fieldtrip/_artifact2event.py index 38f2dad4..5364bf5f 100644 --- a/spm/__external/__fieldtrip/_artifact2event.py +++ b/spm/__external/__fieldtrip/_artifact2event.py @@ -2,7 +2,7 @@ def _artifact2event(*args, **kwargs): - """ + r""" ARTIFACT2EVENT converts between two representations of events or trials. FieldTrip uses a number of representations for events that are conceptually very similar @@ -21,9 +21,12 @@ def _artifact2event(*args, **kwargs): See also ARTIFACT2BOOLVEC, ARTIFACT2EVENT, ARTIFACT2TRL, BOOLVEC2ARTIFACT, BOOLVEC2EVENT, BOOLVEC2TRL, EVENT2ARTIFACT, EVENT2BOOLVEC, EVENT2TRL, TRL2ARTIFACT, TRL2BOOLVEC, TRL2EVENT - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/artifact2event.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/artifact2event.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("artifact2event", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_artifact2trl.py b/spm/__external/__fieldtrip/_artifact2trl.py index 168fe65e..6dcc492b 100644 --- a/spm/__external/__fieldtrip/_artifact2trl.py +++ b/spm/__external/__fieldtrip/_artifact2trl.py @@ -2,7 +2,7 @@ def _artifact2trl(*args, **kwargs): - """ + r""" ARTIFACT2TRL converts between two representations of events or trials. FieldTrip uses a number of representations for events that are conceptually very similar @@ -21,9 +21,12 @@ def _artifact2trl(*args, **kwargs): See also ARTIFACT2BOOLVEC, ARTIFACT2EVENT, ARTIFACT2TRL, BOOLVEC2ARTIFACT, BOOLVEC2EVENT, BOOLVEC2TRL, EVENT2ARTIFACT, EVENT2BOOLVEC, EVENT2TRL, TRL2ARTIFACT, TRL2BOOLVEC, TRL2EVENT - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/artifact2trl.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/artifact2trl.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("artifact2trl", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_artifact_level.py b/spm/__external/__fieldtrip/_artifact_level.py index 9ac6a1a2..6f314cec 100644 --- a/spm/__external/__fieldtrip/_artifact_level.py +++ b/spm/__external/__fieldtrip/_artifact_level.py @@ -2,7 +2,7 @@ def _artifact_level(*args, **kwargs): - """ + r""" This function is shared between FT_REJECTVISUAL, FT_BADCHANNEL, FT_BADSEGMENT, and FT_BADDATA @@ -18,9 +18,12 @@ def _artifact_level(*args, **kwargs): level = nchan*1 vector with values - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/artifact_level.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/artifact_level.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("artifact_level", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_atlas_lookup.py b/spm/__external/__fieldtrip/_atlas_lookup.py index 6c6f873f..7d13b8c1 100644 --- a/spm/__external/__fieldtrip/_atlas_lookup.py +++ b/spm/__external/__fieldtrip/_atlas_lookup.py @@ -2,26 +2,29 @@ def _atlas_lookup(*args, **kwargs): - """ + r""" ATLAS_LOOKUP determines the anatomical label of a location in the given atlas. Use as label = atlas_lookup(atlas, pos, ...); - Optinal input arguments should come in key-value pairs and can include + Optional input arguments should come in key-value pairs and can include 'method' = 'sphere' (default) searches surrounding voxels in a sphere 'cube' searches surrounding voxels in a cube 'queryrange' = number, should be 1, 3, 5, 7, 9 or 11 (default = 3) 'coordsys' = 'mni' or 'tal' (default = []) Dependent on the coordinates if the input points and the coordinates of the atlas, - the input positions are transformed betweem MNI and Talairach-Tournoux coordinates. + the input positions are transformed between MNI and Talairach-Tournoux coordinates. See http://www.mrc-cbu.cam.ac.uk/Imaging/Common/mnispace.shtml for more details. - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/atlas_lookup.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/atlas_lookup.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("atlas_lookup", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_avgref.py b/spm/__external/__fieldtrip/_avgref.py index 56299125..da382682 100644 --- a/spm/__external/__fieldtrip/_avgref.py +++ b/spm/__external/__fieldtrip/_avgref.py @@ -2,7 +2,7 @@ def _avgref(*args, **kwargs): - """ + r""" AVGREF computes the average reference in each column [data] = avgref(data) @@ -11,9 +11,12 @@ def _avgref(*args, **kwargs): [data] = avgref(data, sel) - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/avgref.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/avgref.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("avgref", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_bandpassfilter.py b/spm/__external/__fieldtrip/_bandpassfilter.py index c621adfd..6ff24931 100644 --- a/spm/__external/__fieldtrip/_bandpassfilter.py +++ b/spm/__external/__fieldtrip/_bandpassfilter.py @@ -2,7 +2,7 @@ def _bandpassfilter(*args, **kwargs): - """ + r""" BANDPASSFILTER filters EEG/MEG data in a specified band Use as @@ -27,9 +27,12 @@ def _bandpassfilter(*args, **kwargs): See also LOWPASSFILTER, HIGHPASSFILTER - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/bandpassfilter.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/bandpassfilter.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("bandpassfilter", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_bandstopfilter.py b/spm/__external/__fieldtrip/_bandstopfilter.py index 6a73ee5f..1a47411c 100644 --- a/spm/__external/__fieldtrip/_bandstopfilter.py +++ b/spm/__external/__fieldtrip/_bandstopfilter.py @@ -2,7 +2,7 @@ def _bandstopfilter(*args, **kwargs): - """ + r""" BANDSTOPFILTER filters EEG/MEG data in a specified band Use as @@ -27,9 +27,12 @@ def _bandstopfilter(*args, **kwargs): See also LOWPASSFILTER, HIGHPASSFILTER, BANDPASSFILTER - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/bandstopfilter.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/bandstopfilter.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("bandstopfilter", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_bg_rgba2rgb.py b/spm/__external/__fieldtrip/_bg_rgba2rgb.py index 69d7dd0e..7b92608a 100644 --- a/spm/__external/__fieldtrip/_bg_rgba2rgb.py +++ b/spm/__external/__fieldtrip/_bg_rgba2rgb.py @@ -2,7 +2,7 @@ def _bg_rgba2rgb(*args, **kwargs): - """ + r""" BG_RGBA2RGB overlays a transparency masked colored image on a colored background, and represents the result as an RGB matrix. @@ -26,9 +26,12 @@ def _bg_rgba2rgb(*args, **kwargs): alim = 1x2 vector denoting the opacity limits - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/bg_rgba2rgb.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/bg_rgba2rgb.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("bg_rgba2rgb", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_binomialprob.py b/spm/__external/__fieldtrip/_binomialprob.py index 25bae541..b33e4b37 100644 --- a/spm/__external/__fieldtrip/_binomialprob.py +++ b/spm/__external/__fieldtrip/_binomialprob.py @@ -2,7 +2,7 @@ def _binomialprob(*args, **kwargs): - """ + r""" BINOMIALPROB computes the probability of observing a significant effect in multiple tests. It allows you to test questions like "How likely is it that there is a significant effect at this time-frequency point @@ -21,9 +21,12 @@ def _binomialprob(*args, **kwargs): See also BINOPDF, BINOCDF - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/binomialprob.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/binomialprob.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("binomialprob", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_bivariate_common.py b/spm/__external/__fieldtrip/_bivariate_common.py index 08c78975..d40213df 100644 --- a/spm/__external/__fieldtrip/_bivariate_common.py +++ b/spm/__external/__fieldtrip/_bivariate_common.py @@ -2,7 +2,7 @@ def _bivariate_common(*args, **kwargs): - """ + r""" BIVARIATE_COMMON makes a selection for a specific reference channel from a bivariate (i.e. connectivity) dataset and returns that selection as a univariate dataset. This is used in singleplot/multiplot/topoplot for both ER and TFR data. @@ -13,9 +13,12 @@ def _bivariate_common(*args, **kwargs): See also TOPOPLOT_COMMON - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/bivariate_common.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/bivariate_common.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("bivariate_common", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_blc.py b/spm/__external/__fieldtrip/_blc.py index 3f0b6fa8..e866b566 100644 --- a/spm/__external/__fieldtrip/_blc.py +++ b/spm/__external/__fieldtrip/_blc.py @@ -2,7 +2,7 @@ def _blc(*args, **kwargs): - """ + r""" BLC does a baseline correction using the prestimulus interval of the data [data] = baseline(data, interval); @@ -12,9 +12,12 @@ def _blc(*args, **kwargs): used for baseline correction. - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/blc.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/blc.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("blc", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_blockindx2cmbindx.py b/spm/__external/__fieldtrip/_blockindx2cmbindx.py index ff71cb24..7aacf561 100644 --- a/spm/__external/__fieldtrip/_blockindx2cmbindx.py +++ b/spm/__external/__fieldtrip/_blockindx2cmbindx.py @@ -2,7 +2,7 @@ def _blockindx2cmbindx(*args, **kwargs): - """ + r""" This is a helper function that is needed for the bookkeeping of the data, when requesting (conditional)-blockwise granger causality estimates. Its single use is in ft_connectivityanalysis, but in order to keep that code @@ -22,9 +22,12 @@ def _blockindx2cmbindx(*args, **kwargs): needed to compute a conditioned Granger spectrum. - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/blockindx2cmbindx.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/blockindx2cmbindx.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("blockindx2cmbindx", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_boolvec2artifact.py b/spm/__external/__fieldtrip/_boolvec2artifact.py index 4b9bdceb..0af81613 100644 --- a/spm/__external/__fieldtrip/_boolvec2artifact.py +++ b/spm/__external/__fieldtrip/_boolvec2artifact.py @@ -2,7 +2,7 @@ def _boolvec2artifact(*args, **kwargs): - """ + r""" BOOLVEC2ARTIFACT converts between two representations of events or trials. FieldTrip uses a number of representations for events that are conceptually very similar @@ -24,9 +24,12 @@ def _boolvec2artifact(*args, **kwargs): See also ARTIFACT2BOOLVEC, ARTIFACT2EVENT, ARTIFACT2TRL, BOOLVEC2ARTIFACT, BOOLVEC2EVENT, BOOLVEC2TRL, EVENT2ARTIFACT, EVENT2BOOLVEC, EVENT2TRL, TRL2ARTIFACT, TRL2BOOLVEC, TRL2EVENT - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/boolvec2artifact.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/boolvec2artifact.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("boolvec2artifact", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_boolvec2event.py b/spm/__external/__fieldtrip/_boolvec2event.py index de82c9cc..054b5b7c 100644 --- a/spm/__external/__fieldtrip/_boolvec2event.py +++ b/spm/__external/__fieldtrip/_boolvec2event.py @@ -2,7 +2,7 @@ def _boolvec2event(*args, **kwargs): - """ + r""" BOOLVEC2EVENT converts between two representations of events or trials. FieldTrip uses a number of representations for events that are conceptually very similar @@ -21,9 +21,12 @@ def _boolvec2event(*args, **kwargs): See also ARTIFACT2BOOLVEC, ARTIFACT2EVENT, ARTIFACT2TRL, BOOLVEC2ARTIFACT, BOOLVEC2EVENT, BOOLVEC2TRL, EVENT2ARTIFACT, EVENT2BOOLVEC, EVENT2TRL, TRL2ARTIFACT, TRL2BOOLVEC, TRL2EVENT - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/boolvec2event.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/boolvec2event.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("boolvec2event", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_boolvec2trl.py b/spm/__external/__fieldtrip/_boolvec2trl.py index 8e085404..2028de37 100644 --- a/spm/__external/__fieldtrip/_boolvec2trl.py +++ b/spm/__external/__fieldtrip/_boolvec2trl.py @@ -2,7 +2,7 @@ def _boolvec2trl(*args, **kwargs): - """ + r""" BOOLVEC2TRL converts between two representations of events or trials. FieldTrip uses a number of representations for events that are conceptually very similar @@ -24,9 +24,12 @@ def _boolvec2trl(*args, **kwargs): See also ARTIFACT2BOOLVEC, ARTIFACT2EVENT, ARTIFACT2TRL, BOOLVEC2ARTIFACT, BOOLVEC2EVENT, BOOLVEC2TRL, EVENT2ARTIFACT, EVENT2BOOLVEC, EVENT2TRL, TRL2ARTIFACT, TRL2BOOLVEC, TRL2EVENT - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/boolvec2trl.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/boolvec2trl.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("boolvec2trl", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_browse_audiovideo.py b/spm/__external/__fieldtrip/_browse_audiovideo.py index c1a6e106..46b1f162 100644 --- a/spm/__external/__fieldtrip/_browse_audiovideo.py +++ b/spm/__external/__fieldtrip/_browse_audiovideo.py @@ -2,15 +2,18 @@ def _browse_audiovideo(*args, **kwargs): - """ + r""" BROWSE_AUDIOVIDEO reads and vizualizes the audio and/or video data corresponding to the EEG/MEG data segment that is passed into this function. - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/browse_audiovideo.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/browse_audiovideo.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("browse_audiovideo", *args, **kwargs, nargout=0) diff --git a/spm/__external/__fieldtrip/_browse_movieplotER.py b/spm/__external/__fieldtrip/_browse_movieplotER.py index 199eba5e..a275225b 100644 --- a/spm/__external/__fieldtrip/_browse_movieplotER.py +++ b/spm/__external/__fieldtrip/_browse_movieplotER.py @@ -2,7 +2,7 @@ def _browse_movieplotER(*args, **kwargs): - """ + r""" BROWSE_MOVIEPLOTER is a helper function for FT_DATABROWSER and makes a movie of the data that was selected. See ft_movieplotER for further details on the options that can be specified as cfg.selcfg in ft_databrowser. @@ -10,9 +10,12 @@ def _browse_movieplotER(*args, **kwargs): See also BROWSE_MOVIEPLOTER, BROWSE_TOPOPLOTER, BROWSE_MULTIPLOTER, BROWSE_TOPOPLOTVAR, BROWSE_SIMPLEFFT - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/browse_movieplotER.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/browse_movieplotER.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("browse_movieplotER", *args, **kwargs, nargout=0) diff --git a/spm/__external/__fieldtrip/_browse_multiplotER.py b/spm/__external/__fieldtrip/_browse_multiplotER.py index a5331231..1fe86696 100644 --- a/spm/__external/__fieldtrip/_browse_multiplotER.py +++ b/spm/__external/__fieldtrip/_browse_multiplotER.py @@ -2,16 +2,19 @@ def _browse_multiplotER(*args, **kwargs): - """ + r""" BROWSE_MULTIPLOTER is a simple helper function for FT_DATABROWSER and shows an interactive multiplot of the selected data. See also BROWSE_MOVIEPLOTER, BROWSE_TOPOPLOTER, BROWSE_MULTIPLOTER, BROWSE_TOPOPLOTVAR, BROWSE_SIMPLEFFT - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/browse_multiplotER.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/browse_multiplotER.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("browse_multiplotER", *args, **kwargs, nargout=0) diff --git a/spm/__external/__fieldtrip/_browse_simpleFFT.py b/spm/__external/__fieldtrip/_browse_simpleFFT.py index 995cf29b..a3f53922 100644 --- a/spm/__external/__fieldtrip/_browse_simpleFFT.py +++ b/spm/__external/__fieldtrip/_browse_simpleFFT.py @@ -2,7 +2,7 @@ def _browse_simpleFFT(*args, **kwargs): - """ + r""" BROWSE_SIMPLEFFT is a helper function for FT_DATABROWSER that shows a simple FFT of the data. @@ -13,9 +13,12 @@ def _browse_simpleFFT(*args, **kwargs): See also BROWSE_MOVIEPLOTER, BROWSE_TOPOPLOTER, BROWSE_MULTIPLOTER, BROWSE_TOPOPLOTVAR, BROWSE_SIMPLEFFT - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/browse_simpleFFT.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/browse_simpleFFT.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("browse_simpleFFT", *args, **kwargs, nargout=0) diff --git a/spm/__external/__fieldtrip/_browse_topoplotER.py b/spm/__external/__fieldtrip/_browse_topoplotER.py index aa1a8798..21bfb9f3 100644 --- a/spm/__external/__fieldtrip/_browse_topoplotER.py +++ b/spm/__external/__fieldtrip/_browse_topoplotER.py @@ -2,16 +2,19 @@ def _browse_topoplotER(*args, **kwargs): - """ + r""" BROWSE_TOPOPLOTER is a simple helper function for FT_DATABROWSER and shows the average topography of the selected data. See also BROWSE_MOVIEPLOTER, BROWSE_TOPOPLOTER, BROWSE_MULTIPLOTER, BROWSE_TOPOPLOTVAR, BROWSE_SIMPLEFFT - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/browse_topoplotER.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/browse_topoplotER.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("browse_topoplotER", *args, **kwargs, nargout=0) diff --git a/spm/__external/__fieldtrip/_browse_topoplotVAR.py b/spm/__external/__fieldtrip/_browse_topoplotVAR.py index 6e9e8128..3df366d9 100644 --- a/spm/__external/__fieldtrip/_browse_topoplotVAR.py +++ b/spm/__external/__fieldtrip/_browse_topoplotVAR.py @@ -2,7 +2,7 @@ def _browse_topoplotVAR(*args, **kwargs): - """ + r""" BROWSE_TOPOPLOTVAR is a simple helper function for FT_DATABROWSER that computes the variance of band-pass filtered data and makes a topographic plot. It serves to make a quick-and-dirty power topography. @@ -10,9 +10,12 @@ def _browse_topoplotVAR(*args, **kwargs): See also BROWSE_MOVIEPLOTER, BROWSE_TOPOPLOTER, BROWSE_MULTIPLOTER, BROWSE_TOPOPLOTVAR, BROWSE_SIMPLEFFT - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/browse_topoplotVAR.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/browse_topoplotVAR.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("browse_topoplotVAR", *args, **kwargs, nargout=0) diff --git a/spm/__external/__fieldtrip/_bsscca.py b/spm/__external/__fieldtrip/_bsscca.py index 5e904438..7543a196 100644 --- a/spm/__external/__fieldtrip/_bsscca.py +++ b/spm/__external/__fieldtrip/_bsscca.py @@ -2,7 +2,7 @@ def _bsscca(*args, **kwargs): - """ + r""" BSSCCA computes the unmixing matrix based on the canonical correlation between two sets of (possibly multivariate) signals, the sets may contain time shifted copies. In its default, it implements the algorithm described in [1], computing the @@ -15,9 +15,12 @@ def _bsscca(*args, **kwargs): [1] DeClercq et al 2006, IEEE Biomed Eng 2583. - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/bsscca.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/bsscca.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("bsscca", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_cellStruct2StructCell.py b/spm/__external/__fieldtrip/_cellStruct2StructCell.py index 3b0800c6..3e4261b8 100644 --- a/spm/__external/__fieldtrip/_cellStruct2StructCell.py +++ b/spm/__external/__fieldtrip/_cellStruct2StructCell.py @@ -2,13 +2,16 @@ def _cellStruct2StructCell(*args, **kwargs): - """ + r""" Converts a cell-array of structure arrays into a structure array - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/cellStruct2StructCell.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/cellStruct2StructCell.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("cellStruct2StructCell", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_channelconnectivity.py b/spm/__external/__fieldtrip/_channelconnectivity.py index 56a9bc8f..1445b510 100644 --- a/spm/__external/__fieldtrip/_channelconnectivity.py +++ b/spm/__external/__fieldtrip/_channelconnectivity.py @@ -2,16 +2,19 @@ def _channelconnectivity(*args, **kwargs): - """ + r""" CHANNELCONNECTIVIY creates a NxN matrix that describes whether channels are connected as neighbours See also FT_PREPARE_NEIGHBOURS, TRIANGLE2CONNECTIVITY - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/channelconnectivity.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/channelconnectivity.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("channelconnectivity", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_channelposition.py b/spm/__external/__fieldtrip/_channelposition.py index 3ef3ad96..75d8d844 100644 --- a/spm/__external/__fieldtrip/_channelposition.py +++ b/spm/__external/__fieldtrip/_channelposition.py @@ -2,7 +2,7 @@ def _channelposition(*args, **kwargs): - """ + r""" CHANNELPOSITION computes the channel positions and orientations from the MEG coils, EEG electrodes or NIRS optodes @@ -13,9 +13,12 @@ def _channelposition(*args, **kwargs): See also FT_DATATYPE_SENS - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/channelposition.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/channelposition.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("channelposition", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_chanscale_common.py b/spm/__external/__fieldtrip/_chanscale_common.py index c110362f..55a9db4c 100644 --- a/spm/__external/__fieldtrip/_chanscale_common.py +++ b/spm/__external/__fieldtrip/_chanscale_common.py @@ -2,7 +2,7 @@ def _chanscale_common(*args, **kwargs): - """ + r""" CHANSCALE_COMMON applies a scaling to specific channel types Use as @@ -29,9 +29,12 @@ def _chanscale_common(*args, **kwargs): cfg.mychan = Nx1 cell-array with selection of channels - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/chanscale_common.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/chanscale_common.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("chanscale_common", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_checkchan.py b/spm/__external/__fieldtrip/_checkchan.py index a9df047c..158a343b 100644 --- a/spm/__external/__fieldtrip/_checkchan.py +++ b/spm/__external/__fieldtrip/_checkchan.py @@ -2,13 +2,16 @@ def _checkchan(*args, **kwargs): - """ + r""" last input is always the required string - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/checkchan.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/checkchan.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("checkchan", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_checkfreq.py b/spm/__external/__fieldtrip/_checkfreq.py index fe3fd8dd..113647e7 100644 --- a/spm/__external/__fieldtrip/_checkfreq.py +++ b/spm/__external/__fieldtrip/_checkfreq.py @@ -2,13 +2,16 @@ def _checkfreq(*args, **kwargs): - """ + r""" last input is always the required string - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/checkfreq.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/checkfreq.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("checkfreq", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_checkpos.py b/spm/__external/__fieldtrip/_checkpos.py index 30c83719..d0471ff7 100644 --- a/spm/__external/__fieldtrip/_checkpos.py +++ b/spm/__external/__fieldtrip/_checkpos.py @@ -2,13 +2,16 @@ def _checkpos(*args, **kwargs): - """ + r""" last input is always the required string - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/checkpos.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/checkpos.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("checkpos", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_checktime.py b/spm/__external/__fieldtrip/_checktime.py index 9645b95c..1a315251 100644 --- a/spm/__external/__fieldtrip/_checktime.py +++ b/spm/__external/__fieldtrip/_checktime.py @@ -2,13 +2,16 @@ def _checktime(*args, **kwargs): - """ + r""" last input is always the required string - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/checktime.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/checktime.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("checktime", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_closedf.py b/spm/__external/__fieldtrip/_closedf.py index b4bb7ba8..18a2f219 100644 --- a/spm/__external/__fieldtrip/_closedf.py +++ b/spm/__external/__fieldtrip/_closedf.py @@ -2,7 +2,7 @@ def _closedf(*args, **kwargs): - """ + r""" EDF=closedf(EDF) Opens an EDF File (European Data Format for Biosignals) into MATLAB About EDF @@ -10,9 +10,12 @@ def _closedf(*args, **kwargs): EDF struct of EDF-Header of a EDF-File - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/closedf.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/closedf.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("closedf", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_clusterstat.py b/spm/__external/__fieldtrip/_clusterstat.py index c1483cba..28789e9b 100644 --- a/spm/__external/__fieldtrip/_clusterstat.py +++ b/spm/__external/__fieldtrip/_clusterstat.py @@ -2,16 +2,19 @@ def _clusterstat(*args, **kwargs): - """ + r""" CLUSTERSTAT computers cluster statistic for multidimensional channel-freq-time or volumetric source data See also TFCESTAT, FINDCLUSTER - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/clusterstat.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/clusterstat.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("clusterstat", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_colorspec2rgb.py b/spm/__external/__fieldtrip/_colorspec2rgb.py index 0b746716..7be06a8f 100644 --- a/spm/__external/__fieldtrip/_colorspec2rgb.py +++ b/spm/__external/__fieldtrip/_colorspec2rgb.py @@ -1,37 +1,40 @@ -from mpython import Runtime +from spm._runtime import Runtime def _colorspec2rgb(*args, **kwargs): - """ - COLORSPEC2RGB converts the string color specification into the corresponding RGB - triplet(s), unless the string equals 'none', or is a hexadecimal (starting with #). - The optional second input argument determines the number of rows in the output Nx3 matrix, - when applicable. - - If the first input argument equals 'none', or starts with a '#', the output will be - the same as the input argument, and the assumption is that the downstream function - that uses the colorspec knows how to deal with this. Otherwise, a Nx3 matrix or 1x3 - vector will be returned. - - If the input string contains only characters from the following sequence - 'ymcrgbwk', an Mx3 matrix will be returned, where M is the number of characters in - the input string. If a second input argument N is defined (N>M), the output will be - expanded to have N number of rows. - - Otherwise, colorspec2rgb checks whether the input is a valid name for one of the - colors htmlcolors or standardcolors. If this also fails, colorspec2rgb checks - whether the colorspec defines a supported FieldTrip colormap. If this also fails, - an error is thrown. - - See https://nl.mathworks.com/help/matlab/creating_plots/specify-plot-colors.html - and https://nl.mathworks.com/matlabcentral/fileexchange/48155-convert-between-rgb-and-color-names - - See also HTMLCOLORS, STANDARDCOLORS, FT_COLORMAP, COLORMAP, COLORMAPEDITOR, BREWERMAP, MATPLOTLIB, CMOCEAN - - - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/colorspec2rgb.m ) - - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + r""" + COLORSPEC2RGB converts the string color specification into the corresponding RGB + triplet(s), unless the string equals 'none', or is a hexadecimal (starting with #). + The optional second input argument determines the number of rows in the output Nx3 matrix, + when applicable. + + If the first input argument equals 'none', or starts with a '#', the output will be + the same as the input argument, and the assumption is that the downstream function + that uses the colorspec knows how to deal with this. Otherwise, a Nx3 matrix or 1x3 + vector will be returned. + + If the input string contains only characters from the following sequence + 'ymcrgbwk', an Mx3 matrix will be returned, where M is the number of characters in + the input string. If a second input argument N is defined (N>M), the output will be + expanded to have N number of rows. + + Otherwise, colorspec2rgb checks whether the input is a valid name for one of the + colors htmlcolors or standardcolors. If this also fails, colorspec2rgb checks + whether the colorspec defines a supported FieldTrip colormap. If this also fails, + an error is thrown. + + See https://nl.mathworks.com/help/matlab/creating_plots/specify-plot-colors.html + and https://nl.mathworks.com/matlabcentral/fileexchange/48155-convert-between-rgb-and-color-names + + See also HTMLCOLORS, STANDARDCOLORS, FT_COLORMAP, COLORMAP, COLORMAPEDITOR, BREWERMAP, MATPLOTLIB, CMOCEAN + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/colorspec2rgb.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("colorspec2rgb", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_combineClusters.py b/spm/__external/__fieldtrip/_combineClusters.py index d6a0007e..8402f774 100644 --- a/spm/__external/__fieldtrip/_combineClusters.py +++ b/spm/__external/__fieldtrip/_combineClusters.py @@ -2,14 +2,17 @@ def _combineClusters(*args, **kwargs): - """ + r""" COMBINECLUSTERS is a helper function for FINDCLUSTER. It searches for adjacent clusters in neighbouring channels and combines them. - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/combineClusters.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/combineClusters.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("combineClusters", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_combineClusters2.py b/spm/__external/__fieldtrip/_combineClusters2.py new file mode 100644 index 00000000..f1fbf974 --- /dev/null +++ b/spm/__external/__fieldtrip/_combineClusters2.py @@ -0,0 +1,34 @@ +from spm._runtime import Runtime + + +def _combineClusters2(*args, **kwargs): + r""" + COMBINECLUSTERS2 is a helper function for FINDCLUSTER. It searches for + adjacent clusters in neighbouring channels and combines them. This + version is an alternative to the original m-file, and an alternative to + the mex-file. In some cases it may be faster, specifically if the spatial + adjacency matrix is large (size(C,1)>10000), and the number of columns in + the input data labelmat is low. Note also, that this version + supports a sparse adjacency matrix. + + A mex-file is available for this functionality, as it can take quite long. + This mex-file is preferred if the spatial dimension is relatively small + (<1000). + + Note that there is a minute difference in functional behaviour between + COMBINECLUSTERS and COMBINECLUSTERS2, where the former occasionally + labels isolated pixels (i.e. singleton 'clusters' in a spatial slice of + the labelmat) as a separate clusters, whereas COMBINECLUSTERS2 merges these + isolated pixels with the cluster in neighbouring slices (provided the + said isolated pixels is also suprathrehold in the neighbouring slice). + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/combineClusters2.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("combineClusters2", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_combine_transform.py b/spm/__external/__fieldtrip/_combine_transform.py index 610bb46d..e5f6ed09 100644 --- a/spm/__external/__fieldtrip/_combine_transform.py +++ b/spm/__external/__fieldtrip/_combine_transform.py @@ -2,15 +2,18 @@ def _combine_transform(*args, **kwargs): - """ + r""" COMBINE_TRANSFORM combines the 4x4 homogenous transformation matrices of the rotation, the scaling and the translation and combines them in the desired order. - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/combine_transform.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/combine_transform.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("combine_transform", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_comp2timelock.py b/spm/__external/__fieldtrip/_comp2timelock.py index b86ab462..a2af1e5b 100644 --- a/spm/__external/__fieldtrip/_comp2timelock.py +++ b/spm/__external/__fieldtrip/_comp2timelock.py @@ -2,15 +2,18 @@ def _comp2timelock(*args, **kwargs): - """ + r""" COMP2TIMELOCK transform the independent components into something on which the timelocked source reconstruction methods can perform their trick. - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/comp2timelock.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/comp2timelock.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("comp2timelock", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_constructplanargrad.py b/spm/__external/__fieldtrip/_constructplanargrad.py index 56be3865..d6546f01 100644 --- a/spm/__external/__fieldtrip/_constructplanargrad.py +++ b/spm/__external/__fieldtrip/_constructplanargrad.py @@ -2,7 +2,7 @@ def _constructplanargrad(*args, **kwargs): - """ + r""" CONSTRUCTPLANARGRAD constructs a planar gradiometer array from an axial gradiometer definition. This can be used to compute the planar field gradient for a known (estimated) source configuration. @@ -32,9 +32,12 @@ def _constructplanargrad(*args, **kwargs): channels. - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/constructplanargrad.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/constructplanargrad.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("constructplanargrad", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_continuous_ns.py b/spm/__external/__fieldtrip/_continuous_ns.py index 1b01294d..87d7d093 100644 --- a/spm/__external/__fieldtrip/_continuous_ns.py +++ b/spm/__external/__fieldtrip/_continuous_ns.py @@ -2,7 +2,7 @@ def _continuous_ns(*args, **kwargs): - """ + r""" CONTINUOUS_NS created a trial definition from a Neuroscan *.cnt file which subsequently can be used in the EEG/MEG framework @@ -17,9 +17,12 @@ def _continuous_ns(*args, **kwargs): See also SINGLETRIAL_NS - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/continuous_ns.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/continuous_ns.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("continuous_ns", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_coordsys2label.py b/spm/__external/__fieldtrip/_coordsys2label.py index 2c40b889..f742ba8c 100644 --- a/spm/__external/__fieldtrip/_coordsys2label.py +++ b/spm/__external/__fieldtrip/_coordsys2label.py @@ -2,7 +2,7 @@ def _coordsys2label(*args, **kwargs): - """ + r""" COORDSYS2LABEL returns the labels for the three axes, given the symbolic string representation of the coordinate system. @@ -22,9 +22,12 @@ def _coordsys2label(*args, **kwargs): See also FT_DETERMINE_COORDSYS, FT_PLOT_AXES, FT_HEADCOORDINATES, SETVIEWPOINT - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/coordsys2label.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/coordsys2label.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("coordsys2label", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_copy_brainvision_files.py b/spm/__external/__fieldtrip/_copy_brainvision_files.py index d14f5819..ee4464e1 100644 --- a/spm/__external/__fieldtrip/_copy_brainvision_files.py +++ b/spm/__external/__fieldtrip/_copy_brainvision_files.py @@ -2,7 +2,7 @@ def _copy_brainvision_files(*args, **kwargs): - """ + r""" COPY_BRAINVISION_FILES copies a BrainVision EEG dataset, which consists of a vhdr header file, vmrk marker file and a data file with the extension dat, eeg or seg. @@ -23,9 +23,12 @@ def _copy_brainvision_files(*args, **kwargs): See also COPY_CTF_FILES - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/copy_brainvision_files.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/copy_brainvision_files.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("copy_brainvision_files", *args, **kwargs, nargout=0) diff --git a/spm/__external/__fieldtrip/_copy_ctf_files.py b/spm/__external/__fieldtrip/_copy_ctf_files.py index efd7a93e..485cc9a5 100644 --- a/spm/__external/__fieldtrip/_copy_ctf_files.py +++ b/spm/__external/__fieldtrip/_copy_ctf_files.py @@ -2,7 +2,7 @@ def _copy_ctf_files(*args, **kwargs): - """ + r""" COPY_CTF_FILES copies a CTF dataset with all files and directories to a new CTF dataset with another name. @@ -19,9 +19,12 @@ def _copy_ctf_files(*args, **kwargs): See also COPY_BRAINVISION_FILES - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/copy_ctf_files.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/copy_ctf_files.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("copy_ctf_files", *args, **kwargs, nargout=0) diff --git a/spm/__external/__fieldtrip/_cornerpoints.py b/spm/__external/__fieldtrip/_cornerpoints.py index ee550488..a54b0193 100644 --- a/spm/__external/__fieldtrip/_cornerpoints.py +++ b/spm/__external/__fieldtrip/_cornerpoints.py @@ -2,7 +2,7 @@ def _cornerpoints(*args, **kwargs): - """ + r""" CORNERPOINTS returns the eight corner points of an anatomical volume in voxel and in head coordinates @@ -11,9 +11,12 @@ def _cornerpoints(*args, **kwargs): which will return two 8x3 matrices. - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/cornerpoints.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/cornerpoints.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("cornerpoints", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_csp.py b/spm/__external/__fieldtrip/_csp.py index 1cb360c5..6296ffe3 100644 --- a/spm/__external/__fieldtrip/_csp.py +++ b/spm/__external/__fieldtrip/_csp.py @@ -2,7 +2,7 @@ def _csp(*args, **kwargs): - """ + r""" CSP calculates the common spatial pattern (CSP) projection. Use as: @@ -39,9 +39,12 @@ def _csp(*args, **kwargs): spatio-spectral filters in BCI. Neural Networks, 22:1278--1285, 2009. - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/csp.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/csp.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("csp", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_ctf2grad.py b/spm/__external/__fieldtrip/_ctf2grad.py index 5dbb654b..f1db0441 100644 --- a/spm/__external/__fieldtrip/_ctf2grad.py +++ b/spm/__external/__fieldtrip/_ctf2grad.py @@ -2,7 +2,7 @@ def _ctf2grad(*args, **kwargs): - """ + r""" CTF2GRAD converts a CTF header to a gradiometer structure that can be understood by the FieldTrip low-level forward and inverse routines. The fieldtrip/fileio read_header function can use three different implementations of the low-level code @@ -19,9 +19,12 @@ def _ctf2grad(*args, **kwargs): FT_READ_SENS, FT_READ_HEADER - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/ctf2grad.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/ctf2grad.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ctf2grad", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_defaultId.py b/spm/__external/__fieldtrip/_defaultId.py index ddb6f299..a44e31aa 100644 --- a/spm/__external/__fieldtrip/_defaultId.py +++ b/spm/__external/__fieldtrip/_defaultId.py @@ -2,16 +2,19 @@ def _defaultId(*args, **kwargs): - """ + r""" DEFAULTID returns a string that can serve as warning or error identifier, for example 'FieldTip:ft_read_header:line345'. See also WARNING, ERROR, FT_NOTICE, FT_INFO, FT_DEBUG - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/defaultId.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/defaultId.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("defaultId", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_denoise_artifact.py b/spm/__external/__fieldtrip/_denoise_artifact.py index a04ea584..381dbbec 100644 --- a/spm/__external/__fieldtrip/_denoise_artifact.py +++ b/spm/__external/__fieldtrip/_denoise_artifact.py @@ -2,16 +2,19 @@ def _denoise_artifact(*args, **kwargs): - """ + r""" DENOISE_ARTIFACT can be used for denoising source separation (DSS) during component analysis See also COMPONENTANALYSIS - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/denoise_artifact.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/denoise_artifact.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("denoise_artifact", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_det2x2.py b/spm/__external/__fieldtrip/_det2x2.py index 429e5e77..f363b1ff 100644 --- a/spm/__external/__fieldtrip/_det2x2.py +++ b/spm/__external/__fieldtrip/_det2x2.py @@ -2,14 +2,17 @@ def _det2x2(*args, **kwargs): - """ + r""" DET2X2 computes determinant of matrix x, using explicit analytic definition if size(x,1) < 4, otherwise use MATLAB det-function - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/det2x2.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/det2x2.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("det2x2", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_det3x3.py b/spm/__external/__fieldtrip/_det3x3.py index 611749c7..b3d3bcff 100644 --- a/spm/__external/__fieldtrip/_det3x3.py +++ b/spm/__external/__fieldtrip/_det3x3.py @@ -2,14 +2,17 @@ def _det3x3(*args, **kwargs): - """ + r""" DET3X3 computes determinant of matrix x, using explicit analytic definition if size(x) = [3 3 K M] - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/det3x3.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/det3x3.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("det3x3", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_determine_griddim.py b/spm/__external/__fieldtrip/_determine_griddim.py index 4a932057..3777d623 100644 --- a/spm/__external/__fieldtrip/_determine_griddim.py +++ b/spm/__external/__fieldtrip/_determine_griddim.py @@ -2,7 +2,7 @@ def _determine_griddim(*args, **kwargs): - """ + r""" DETERMINE_GRIDDIM uses the labels and positions of electrodes in elec to determine the dimensions of each set of electrodes (i.e., electrodes with the same string, but different numbers) @@ -15,9 +15,12 @@ def _determine_griddim(*args, **kwargs): See also FT_ELECTRODEREALIGN - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/determine_griddim.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/determine_griddim.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("determine_griddim", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_determine_segmentationstyle.py b/spm/__external/__fieldtrip/_determine_segmentationstyle.py index 6c255457..fc531b4a 100644 --- a/spm/__external/__fieldtrip/_determine_segmentationstyle.py +++ b/spm/__external/__fieldtrip/_determine_segmentationstyle.py @@ -2,7 +2,7 @@ def _determine_segmentationstyle(*args, **kwargs): - """ + r""" DETERMINE_SEGMENTATIONSTYLE is a helper function that determines the type of segmentation contained in each of the fields. It is used by FT_DATATYPE_SEGMENTATION and FT_DATATYPE_PARCELLATION. @@ -10,9 +10,12 @@ def _determine_segmentationstyle(*args, **kwargs): See also FIXSEGMENTATION, CONVERT_SEGMENTATIONSTYLE - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/determine_segmentationstyle.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/determine_segmentationstyle.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("determine_segmentationstyle", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_dftfilter.py b/spm/__external/__fieldtrip/_dftfilter.py index 9b5f107f..003f5712 100644 --- a/spm/__external/__fieldtrip/_dftfilter.py +++ b/spm/__external/__fieldtrip/_dftfilter.py @@ -2,7 +2,7 @@ def _dftfilter(*args, **kwargs): - """ + r""" DFTFILTER line noise reduction filter for EEG/MEG data [filt] = dftfilter(dat, Fsample, Fline) @@ -22,9 +22,12 @@ def _dftfilter(*args, **kwargs): See also NOTCHFILTER, - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/dftfilter.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/dftfilter.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("dftfilter", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_dimassign.py b/spm/__external/__fieldtrip/_dimassign.py index 7eed3eed..410dae9d 100644 --- a/spm/__external/__fieldtrip/_dimassign.py +++ b/spm/__external/__fieldtrip/_dimassign.py @@ -2,13 +2,13 @@ def _dimassign(*args, **kwargs): - """ + r""" function M=dimassign(A,dim,idx,B); The purpose of the function is shown by the following example: If A and B are multidimensional matrixes, A=dimassign(A,4,23,B); is the same as A(:,:,:,23,:,:,...)=B; - The difference is that the dimention is selected by a scalar, not by + The difference is that the dimension is selected by a scalar, not by the place between the brackets. A(2,4,3)=B; will then be written as: A=dimassign(A,[1,2,3],[2,4,3],B); In this last case B, of cource, must be a scalar. @@ -19,9 +19,12 @@ def _dimassign(*args, **kwargs): See also the function DIMINDEX - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/dimassign.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/dimassign.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("dimassign", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_dimindex.py b/spm/__external/__fieldtrip/_dimindex.py index 40db59a4..f5cb974a 100644 --- a/spm/__external/__fieldtrip/_dimindex.py +++ b/spm/__external/__fieldtrip/_dimindex.py @@ -2,7 +2,7 @@ def _dimindex(*args, **kwargs): - """ + r""" DIMINDEX makes a selection from a multi-dimensional array where the dimension is selected by a scalar, not by the place between the brackets. @@ -18,9 +18,12 @@ def _dimindex(*args, **kwargs): See also the function DIMASSIGN - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/dimindex.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/dimindex.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("dimindex", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_dimlength.py b/spm/__external/__fieldtrip/_dimlength.py index cb946930..ed0a10d4 100644 --- a/spm/__external/__fieldtrip/_dimlength.py +++ b/spm/__external/__fieldtrip/_dimlength.py @@ -2,7 +2,7 @@ def _dimlength(*args, **kwargs): - """ + r""" DIMLENGTH(DATA, SELDIM, FLD) is a helper function to obtain n, the number of elements along dimension seldim from the appropriate field from the input data containing functional data. @@ -20,9 +20,12 @@ def _dimlength(*args, **kwargs): See also FIXSOURCE, CREATEDIMORD - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/dimlength.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/dimlength.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("dimlength", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_dimnum.py b/spm/__external/__fieldtrip/_dimnum.py index 086de1cf..a759c2ce 100644 --- a/spm/__external/__fieldtrip/_dimnum.py +++ b/spm/__external/__fieldtrip/_dimnum.py @@ -2,8 +2,8 @@ def _dimnum(*args, **kwargs): - """ - This function returns the number of the given dimention 'dim' in the dimord string. + r""" + This function returns the number of the given dimension 'dim' in the dimord string. Syntax: [num,dims]=dimnum(dimord, dim) @@ -12,7 +12,7 @@ def _dimnum(*args, **kwargs): e.g. when dimord='rpt_chancmb_freq_time' and dim='chancmb', dimnum returns num=2 and dims again contains {'rpt','chancmb','freq','tim'}. - For the known dimentiontypes dim can also be 'time' or 'frequency'. + For the known dimension types dim can also be 'time' or 'frequency'. The known types are: tim: 'time' freq: 'frq', 'frequency' @@ -23,9 +23,12 @@ def _dimnum(*args, **kwargs): dims then still contains all dims in dimord. - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/dimnum.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/dimnum.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("dimnum", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_dist.py b/spm/__external/__fieldtrip/_dist.py index 6b34a68d..76f9b889 100644 --- a/spm/__external/__fieldtrip/_dist.py +++ b/spm/__external/__fieldtrip/_dist.py @@ -2,7 +2,7 @@ def _dist(*args, **kwargs): - """ + r""" DIST computes the Euclidian distance between the columns of the input matrix or between the rows and columns of two input matrices. @@ -18,9 +18,12 @@ def _dist(*args, **kwargs): See also DSEARCHN, KNNSEARCH - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/dist.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/dist.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("dist", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_elec1020_follow.py b/spm/__external/__fieldtrip/_elec1020_follow.py index ce716559..acf06545 100644 --- a/spm/__external/__fieldtrip/_elec1020_follow.py +++ b/spm/__external/__fieldtrip/_elec1020_follow.py @@ -2,13 +2,16 @@ def _elec1020_follow(*args, **kwargs): - """ + r""" ELEC1020_FOLLOW - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/elec1020_follow.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/elec1020_follow.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("elec1020_follow", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_elec1020_fraction.py b/spm/__external/__fieldtrip/_elec1020_fraction.py index d23877c6..e191f587 100644 --- a/spm/__external/__fieldtrip/_elec1020_fraction.py +++ b/spm/__external/__fieldtrip/_elec1020_fraction.py @@ -2,13 +2,16 @@ def _elec1020_fraction(*args, **kwargs): - """ + r""" ELEC1020_FRACTION - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/elec1020_fraction.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/elec1020_fraction.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("elec1020_fraction", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_elec1020_intersect.py b/spm/__external/__fieldtrip/_elec1020_intersect.py index 091d8e13..c2bd1c12 100644 --- a/spm/__external/__fieldtrip/_elec1020_intersect.py +++ b/spm/__external/__fieldtrip/_elec1020_intersect.py @@ -2,13 +2,16 @@ def _elec1020_intersect(*args, **kwargs): - """ + r""" ELEC1020_INTERSECT determines the intersection of a mesh with a plane - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/elec1020_intersect.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/elec1020_intersect.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("elec1020_intersect", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_elec1020_locate.py b/spm/__external/__fieldtrip/_elec1020_locate.py index cf11aedb..3a732899 100644 --- a/spm/__external/__fieldtrip/_elec1020_locate.py +++ b/spm/__external/__fieldtrip/_elec1020_locate.py @@ -2,14 +2,24 @@ def _elec1020_locate(*args, **kwargs): - """ + r""" ELEC1020_LOCATE determines 10-20 (20%, 10% and 5%) electrode positions - on a scalp surface that is described by its surface triangulation + on a scalp surface that is described by a triangulation + + If you use this code, please cite: + Robert Oostenveld & Peter Praamstra (2001). The five percent electrode system + for high-resolution EEG and ERP measurements. Clin Neurophysiol. + doi: 10.1016/s1388-2457(00)00527-7. + + See also EQUIDISTANT_LOCATE, FT_ELECTRODEPLACEMENT - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/elec1020_locate.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/elec1020_locate.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("elec1020_locate", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_elproj.py b/spm/__external/__fieldtrip/_elproj.py index 0b3c3f82..ac257148 100644 --- a/spm/__external/__fieldtrip/_elproj.py +++ b/spm/__external/__fieldtrip/_elproj.py @@ -2,12 +2,12 @@ def _elproj(*args, **kwargs): - """ - ELPROJ makes a azimuthal projection of a 3D electrode cloud - on a plane tangent to the sphere fitted through the electrodes - the projection is along the z-axis + r""" + ELPROJ makes a azimuthal projection of a 3D electrode cloud on a plane tangent to + the sphere fitted through the electrodes. The projection is along the z-axis. - [proj] = elproj([x, y, z], 'method'); + Use as + proj = elproj([x, y, z], 'method'); Method should be one of these: 'gnomic' @@ -23,15 +23,18 @@ def _elproj(*args, **kwargs): projection results, if the light is antipodal a Sterographic, and if at infinity, an Orthographic. - The default projection is a polar projection (BESA like). + The default projection is a BESA-like polar projection. An inverse projection is the opposite of the default polar projection. See also PROJECTTRI - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/elproj.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/elproj.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("elproj", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_equidistant_locate.py b/spm/__external/__fieldtrip/_equidistant_locate.py new file mode 100644 index 00000000..53bd36c1 --- /dev/null +++ b/spm/__external/__fieldtrip/_equidistant_locate.py @@ -0,0 +1,20 @@ +from spm._runtime import Runtime + + +def _equidistant_locate(*args, **kwargs): + r""" + EQUIDISTANT_LOCATE determines electrode positions that are distributed + equidistantly on a scalp surface that is described by a triangulation + + See also ELEC1020_LOCATE, FT_ELECTRODEPLACEMENT + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/equidistant_locate.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("equidistant_locate", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_estimate_fwhm1.py b/spm/__external/__fieldtrip/_estimate_fwhm1.py index 241a9e08..c6deb409 100644 --- a/spm/__external/__fieldtrip/_estimate_fwhm1.py +++ b/spm/__external/__fieldtrip/_estimate_fwhm1.py @@ -2,7 +2,7 @@ def _estimate_fwhm1(*args, **kwargs): - """ + r""" ESTIMATE_FWHM1(SOURCE, REMOVECENTER) This function computes the fwhm of the spatial filters, according to @@ -13,9 +13,12 @@ def _estimate_fwhm1(*args, **kwargs): This function can only deal with scalar filters. - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/estimate_fwhm1.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/estimate_fwhm1.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("estimate_fwhm1", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_estimate_fwhm2.py b/spm/__external/__fieldtrip/_estimate_fwhm2.py index 4f6733a9..00c266f2 100644 --- a/spm/__external/__fieldtrip/_estimate_fwhm2.py +++ b/spm/__external/__fieldtrip/_estimate_fwhm2.py @@ -2,7 +2,7 @@ def _estimate_fwhm2(*args, **kwargs): - """ + r""" ESTIMATE_FWHM2(SOURCE, MAXDIST) This function computes the Gaussian fwhm of the spatial filters, according to @@ -12,9 +12,12 @@ def _estimate_fwhm2(*args, **kwargs): This function can only deal with scalar filters. - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/estimate_fwhm2.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/estimate_fwhm2.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("estimate_fwhm2", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_event2artifact.py b/spm/__external/__fieldtrip/_event2artifact.py index 8168391b..656366d4 100644 --- a/spm/__external/__fieldtrip/_event2artifact.py +++ b/spm/__external/__fieldtrip/_event2artifact.py @@ -2,7 +2,7 @@ def _event2artifact(*args, **kwargs): - """ + r""" EVENT2ARTIFACT converts between two representations of events or trials. FieldTrip uses a number of representations for events that are conceptually very similar @@ -21,9 +21,12 @@ def _event2artifact(*args, **kwargs): See also ARTIFACT2BOOLVEC, ARTIFACT2EVENT, ARTIFACT2TRL, BOOLVEC2ARTIFACT, BOOLVEC2EVENT, BOOLVEC2TRL, EVENT2ARTIFACT, EVENT2BOOLVEC, EVENT2TRL, TRL2ARTIFACT, TRL2BOOLVEC, TRL2EVENT - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/event2artifact.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/event2artifact.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("event2artifact", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_event2boolvec.py b/spm/__external/__fieldtrip/_event2boolvec.py index 230d07b6..82b779cd 100644 --- a/spm/__external/__fieldtrip/_event2boolvec.py +++ b/spm/__external/__fieldtrip/_event2boolvec.py @@ -2,7 +2,7 @@ def _event2boolvec(*args, **kwargs): - """ + r""" EVENT2BOOLVEC converts between two representations of events or trials. FieldTrip uses a number of representations for events that are conceptually very similar @@ -21,9 +21,12 @@ def _event2boolvec(*args, **kwargs): See also ARTIFACT2BOOLVEC, ARTIFACT2EVENT, ARTIFACT2TRL, BOOLVEC2ARTIFACT, BOOLVEC2EVENT, BOOLVEC2TRL, EVENT2ARTIFACT, EVENT2BOOLVEC, EVENT2TRL, TRL2ARTIFACT, TRL2BOOLVEC, TRL2EVENT - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/event2boolvec.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/event2boolvec.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("event2boolvec", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_event2trl.py b/spm/__external/__fieldtrip/_event2trl.py index 9b79bf4e..bbbe0a6d 100644 --- a/spm/__external/__fieldtrip/_event2trl.py +++ b/spm/__external/__fieldtrip/_event2trl.py @@ -2,7 +2,7 @@ def _event2trl(*args, **kwargs): - """ + r""" EVENT2TRL converts between two representations of events or trials. FieldTrip uses a number of representations for events that are conceptually very similar @@ -21,9 +21,12 @@ def _event2trl(*args, **kwargs): See also ARTIFACT2BOOLVEC, ARTIFACT2EVENT, ARTIFACT2TRL, BOOLVEC2ARTIFACT, BOOLVEC2EVENT, BOOLVEC2TRL, EVENT2ARTIFACT, EVENT2BOOLVEC, EVENT2TRL, TRL2ARTIFACT, TRL2BOOLVEC, TRL2EVENT - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/event2trl.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/event2trl.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("event2trl", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_expand_orthogonal.py b/spm/__external/__fieldtrip/_expand_orthogonal.py index 3664c262..20e8ee51 100644 --- a/spm/__external/__fieldtrip/_expand_orthogonal.py +++ b/spm/__external/__fieldtrip/_expand_orthogonal.py @@ -2,7 +2,7 @@ def _expand_orthogonal(*args, **kwargs): - """ + r""" EXPAND_ORTHOGONAL determines an orthogonal expansion of the orthogonal basis for the subspace spanned by the columns of the matrix input argument, which must have more rows than columns, using either singular value decomposition @@ -33,9 +33,12 @@ def _expand_orthogonal(*args, **kwargs): See also: SVD - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/expand_orthogonal.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/expand_orthogonal.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("expand_orthogonal", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_fdr.py b/spm/__external/__fieldtrip/_fdr.py index d33a31c3..86306091 100644 --- a/spm/__external/__fieldtrip/_fdr.py +++ b/spm/__external/__fieldtrip/_fdr.py @@ -2,7 +2,7 @@ def _fdr(*args, **kwargs): - """ + r""" FDR false discovery rate Use as @@ -22,9 +22,12 @@ def _fdr(*args, **kwargs): which the second is currently implemented. - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/fdr.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/fdr.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("fdr", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_find_innermost_boundary.py b/spm/__external/__fieldtrip/_find_innermost_boundary.py index 564afca0..a57b7986 100644 --- a/spm/__external/__fieldtrip/_find_innermost_boundary.py +++ b/spm/__external/__fieldtrip/_find_innermost_boundary.py @@ -2,7 +2,7 @@ def _find_innermost_boundary(*args, **kwargs): - """ + r""" FIND_INNERMOST_BOUNDARY locates innermost compartment of a BEM model by looking at the containment of the triangular meshes describing the surface boundaries @@ -14,9 +14,12 @@ def _find_innermost_boundary(*args, **kwargs): bnd(i).tri triangles of boundary i (matrix of size Mx3) - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/find_innermost_boundary.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/find_innermost_boundary.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("find_innermost_boundary", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_find_mesh_edge.py b/spm/__external/__fieldtrip/_find_mesh_edge.py index 8f9e5924..78c503cb 100644 --- a/spm/__external/__fieldtrip/_find_mesh_edge.py +++ b/spm/__external/__fieldtrip/_find_mesh_edge.py @@ -2,7 +2,7 @@ def _find_mesh_edge(*args, **kwargs): - """ + r""" FIND_MESH_EDGE returns the edge of a triangulated mesh [pnt, line] = find_mesh_edge(pnt, tri), where @@ -11,9 +11,12 @@ def _find_mesh_edge(*args, **kwargs): line contains the indices of the linepieces connecting the vertices - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/find_mesh_edge.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/find_mesh_edge.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("find_mesh_edge", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_find_nearest.py b/spm/__external/__fieldtrip/_find_nearest.py index a9c149c6..9646d617 100644 --- a/spm/__external/__fieldtrip/_find_nearest.py +++ b/spm/__external/__fieldtrip/_find_nearest.py @@ -2,7 +2,7 @@ def _find_nearest(*args, **kwargs): - """ + r""" FIND_NEAREST finds the nearest vertex in a cloud of points and does this efficiently for many target vertices at once (by means of partitioning). @@ -13,9 +13,12 @@ def _find_nearest(*args, **kwargs): See also KNNSEARCH, DIST, DSEARCHN - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/find_nearest.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/find_nearest.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("find_nearest", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_find_outermost_boundary.py b/spm/__external/__fieldtrip/_find_outermost_boundary.py index e93ab698..4a9897fe 100644 --- a/spm/__external/__fieldtrip/_find_outermost_boundary.py +++ b/spm/__external/__fieldtrip/_find_outermost_boundary.py @@ -2,7 +2,7 @@ def _find_outermost_boundary(*args, **kwargs): - """ + r""" FIND_OUTERMOST_BOUNDARY locates outermost compartment of a BEM model by looking at the containment of the triangular meshes describing the surface boundaries @@ -14,9 +14,12 @@ def _find_outermost_boundary(*args, **kwargs): bnd(i).tri triangles of boundary i (matrix of size Mx3) - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/find_outermost_boundary.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/find_outermost_boundary.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("find_outermost_boundary", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_find_triangle_neighbours.py b/spm/__external/__fieldtrip/_find_triangle_neighbours.py index 2021c07b..52bccdea 100644 --- a/spm/__external/__fieldtrip/_find_triangle_neighbours.py +++ b/spm/__external/__fieldtrip/_find_triangle_neighbours.py @@ -2,7 +2,7 @@ def _find_triangle_neighbours(*args, **kwargs): - """ + r""" FIND_TRIANGLE_NEIGHBOURS determines the three neighbours for each triangle in a mesh. It returns NaN's if the triangle does not have a neighbour on that particular side. @@ -10,9 +10,12 @@ def _find_triangle_neighbours(*args, **kwargs): [nb] = find_triangle_neighbours(pnt, tri) - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/find_triangle_neighbours.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/find_triangle_neighbours.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("find_triangle_neighbours", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_find_vertex_neighbours.py b/spm/__external/__fieldtrip/_find_vertex_neighbours.py index 9e810eca..85332b8e 100644 --- a/spm/__external/__fieldtrip/_find_vertex_neighbours.py +++ b/spm/__external/__fieldtrip/_find_vertex_neighbours.py @@ -2,16 +2,19 @@ def _find_vertex_neighbours(*args, **kwargs): - """ + r""" FIND_VERTEX_NEIGHBOURS determines the neighbours of a specified vertex in a mesh. [nb] = find_vertex_neighbours(pnt, tri, indx) - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/find_vertex_neighbours.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/find_vertex_neighbours.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("find_vertex_neighbours", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_findcluster.py b/spm/__external/__fieldtrip/_findcluster.py index 14bb07f8..89ee8a96 100644 --- a/spm/__external/__fieldtrip/_findcluster.py +++ b/spm/__external/__fieldtrip/_findcluster.py @@ -2,23 +2,23 @@ def _findcluster(*args, **kwargs): - """ + r""" FINDCLUSTER returns all connected clusters for a three-dimensional six-connected neighborhood Use as - [cluster, num] = findcluster(onoff, spatdimneighbstructmat, minnbchan) - or ar - [cluster, num] = findcluster(onoff, spatdimneighbstructmat, spatdimneighbselmat, minnbchan) + [cluster, num] = findcluster(onoff, connmat, 'minnbchan', minnbchan) + or as + [cluster, num] = findcluster(onoff, connmat, 'minnbchan', minnbchan, 'spatdimneighbselmat', spatdimneighbselmat) where onoff = is a 3D boolean matrix with size N1xN2xN3 - spatdimneighbstructmat = defines the neighbouring channels/combinations, see below + connmat = defines the neighbouring channels/combinations, see below minnbchan = the minimum number of neighbouring channels/combinations spatdimneighbselmat = is a special neighbourhood matrix that is used for selecting channels/combinations on the basis of the minnbchan criterium The neighbourhood structure for the first dimension is specified using - spatdimneighbstructmat, which is a 2D (N1xN1) matrix. Each row and each column + connmat, which is a 2D (N1xN1) matrix. Each row and each column corresponds to a channel (combination) along the first dimension and along that row/column, elements with "1" define the neighbouring channel(s) (combinations). The first dimension of onoff should correspond to the channel(s) (combinations). @@ -26,9 +26,12 @@ def _findcluster(*args, **kwargs): See also SPM_BWLABEL, BWLABEL, BWLABELN - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/findcluster.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/findcluster.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("findcluster", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_fitsphere.py b/spm/__external/__fieldtrip/_fitsphere.py index 1e7a8b2b..9ef7543e 100644 --- a/spm/__external/__fieldtrip/_fitsphere.py +++ b/spm/__external/__fieldtrip/_fitsphere.py @@ -2,22 +2,25 @@ def _fitsphere(*args, **kwargs): - """ + r""" FITSPHERE fits the centre and radius of a sphere to a set of points using Taubin's method. Use as [center,radius] = fitsphere(pnt) where - pnt = Nx3 matrix with the Carthesian coordinates of the surface points + pnt = Nx3 matrix with the Cartesian coordinates of the surface points and center = the center of the fitted sphere radius = the radius of the fitted sphere - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/fitsphere.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/fitsphere.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("fitsphere", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_fixbalance.py b/spm/__external/__fieldtrip/_fixbalance.py new file mode 100644 index 00000000..63222703 --- /dev/null +++ b/spm/__external/__fieldtrip/_fixbalance.py @@ -0,0 +1,23 @@ +from spm._runtime import Runtime + + +def _fixbalance(*args, **kwargs): + r""" + FIXBALANCE ensures that the balancing representation in grad.balance or + elec.balance field is up to date and consistent, specifically with the + list of linear projections (or montages) being applied specified as + cell-array in "current", and not as a string in "current" and cell-array + in "previous". + + See also FT_DATATYPE_SENS + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/fixbalance.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("fixbalance", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_fixcoordsys.py b/spm/__external/__fieldtrip/_fixcoordsys.py index 92380504..21417343 100644 --- a/spm/__external/__fieldtrip/_fixcoordsys.py +++ b/spm/__external/__fieldtrip/_fixcoordsys.py @@ -2,7 +2,7 @@ def _fixcoordsys(*args, **kwargs): - """ + r""" FIXCOORDSYS ensures that the coordinate system is consistently described. E.g. SPM and MNI are technically the same coordinate system, but the strings 'spm' and 'mni' are different. @@ -10,9 +10,12 @@ def _fixcoordsys(*args, **kwargs): See also FT_DETERMINE_COORDSYS - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/fixcoordsys.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/fixcoordsys.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("fixcoordsys", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_fixdimord.py b/spm/__external/__fieldtrip/_fixdimord.py index 10561365..79b7b7ef 100644 --- a/spm/__external/__fieldtrip/_fixdimord.py +++ b/spm/__external/__fieldtrip/_fixdimord.py @@ -2,7 +2,7 @@ def _fixdimord(*args, **kwargs): - """ + r""" FIXDIMORD ensures consistency between the dimord string and the axes that describe the data dimensions. The main purpose of this function is to ensure backward compatibility of all functions with data that has @@ -30,9 +30,12 @@ def _fixdimord(*args, **kwargs): 'voxel' - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/fixdimord.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/fixdimord.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("fixdimord", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_fixdipole.py b/spm/__external/__fieldtrip/_fixdipole.py index c3cbeb7d..a2d2ae47 100644 --- a/spm/__external/__fieldtrip/_fixdipole.py +++ b/spm/__external/__fieldtrip/_fixdipole.py @@ -2,14 +2,17 @@ def _fixdipole(*args, **kwargs): - """ + r""" FIXDIPOLE ensures that the dipole position and moment are consistently represented throughout FieldTrip functions. - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/fixdipole.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/fixdipole.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("fixdipole", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_fixinside.py b/spm/__external/__fieldtrip/_fixinside.py index 3eb3ec3c..62f15e59 100644 --- a/spm/__external/__fieldtrip/_fixinside.py +++ b/spm/__external/__fieldtrip/_fixinside.py @@ -2,7 +2,7 @@ def _fixinside(*args, **kwargs): - """ + r""" FIXINSIDE ensures that the region of interest (which is indicated by the field "inside") is consistently defined for source structures and volume structures. Furthermore, it solves backward compatibility problems. @@ -13,9 +13,12 @@ def _fixinside(*args, **kwargs): [source] = fixinside(source, 'index'); - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/fixinside.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/fixinside.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("fixinside", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_fixname.py b/spm/__external/__fieldtrip/_fixname.py index b1123d05..87cc16c9 100644 --- a/spm/__external/__fieldtrip/_fixname.py +++ b/spm/__external/__fieldtrip/_fixname.py @@ -2,7 +2,7 @@ def _fixname(*args, **kwargs): - """ + r""" FIXNAME changes all inappropriate characters in a string into '_' so that it can be used as a filename or as a field name in a structure. If the string begins with a digit, an 'x' is prepended. @@ -18,9 +18,12 @@ def _fixname(*args, **kwargs): See also DEBLANK, STRIP, PAD - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/fixname.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/fixname.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("fixname", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_fixneighbours.py b/spm/__external/__fieldtrip/_fixneighbours.py index c8e7ad27..936c5b15 100644 --- a/spm/__external/__fieldtrip/_fixneighbours.py +++ b/spm/__external/__fieldtrip/_fixneighbours.py @@ -2,16 +2,19 @@ def _fixneighbours(*args, **kwargs): - """ + r""" This function converts the old format of the neighbourstructure into the new format - although it just works as a wrapper See also FT_NEIGHBOURSELECTION - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/fixneighbours.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/fixneighbours.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("fixneighbours", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_fixpos.py b/spm/__external/__fieldtrip/_fixpos.py index 18d9a88a..5def7c9f 100644 --- a/spm/__external/__fieldtrip/_fixpos.py +++ b/spm/__external/__fieldtrip/_fixpos.py @@ -2,13 +2,16 @@ def _fixpos(*args, **kwargs): - """ + r""" FIXPOS helper function to ensure that meshes are described properly - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/fixpos.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/fixpos.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("fixpos", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_fixsampleinfo.py b/spm/__external/__fieldtrip/_fixsampleinfo.py index 276f0619..8f1764f7 100644 --- a/spm/__external/__fieldtrip/_fixsampleinfo.py +++ b/spm/__external/__fieldtrip/_fixsampleinfo.py @@ -2,7 +2,7 @@ def _fixsampleinfo(*args, **kwargs): - """ + r""" FIXSAMPLEINFO checks for the existence of a sampleinfo and trialinfo field in the provided raw or timelock data structure. If present, nothing is done; if absent, this function attempts to reconstruct them based on either an trl-matrix present in @@ -12,9 +12,12 @@ def _fixsampleinfo(*args, **kwargs): See also FT_DATATYPE_RAW, FT_DATATYPE_TIMELOCK - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/fixsampleinfo.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/fixsampleinfo.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("fixsampleinfo", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_fopen_or_error.py b/spm/__external/__fieldtrip/_fopen_or_error.py index 4ced21b3..756e4d27 100644 --- a/spm/__external/__fieldtrip/_fopen_or_error.py +++ b/spm/__external/__fieldtrip/_fopen_or_error.py @@ -2,7 +2,7 @@ def _fopen_or_error(*args, **kwargs): - """ + r""" FOPEN_OR_ERROR Opens a file, like fopen, but throws an exception if the open failed. This keeps you from having to write "if fid < 0; error(...)" everywhere @@ -11,9 +11,12 @@ def _fopen_or_error(*args, **kwargs): See also FOPEN, ISDIR_OR_MKDIR - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/fopen_or_error.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/fopen_or_error.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("fopen_or_error", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_fourier2crsspctrm.py b/spm/__external/__fieldtrip/_fourier2crsspctrm.py index 293df875..ec4dedba 100644 --- a/spm/__external/__fieldtrip/_fourier2crsspctrm.py +++ b/spm/__external/__fieldtrip/_fourier2crsspctrm.py @@ -2,7 +2,7 @@ def _fourier2crsspctrm(*args, **kwargs): - """ + r""" FOURIER2CRSSPCTRM transforms a fourier-containing freq-structure into a crsspctrm-containing freq-structure, in which the powerspectra are also contained in the cross-spectra, being a @@ -22,9 +22,12 @@ def _fourier2crsspctrm(*args, **kwargs): input is taken. - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/fourier2crsspctrm.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/fourier2crsspctrm.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("fourier2crsspctrm", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_fourierspctrm2lcrsspctrm.py b/spm/__external/__fieldtrip/_fourierspctrm2lcrsspctrm.py index ca88150d..6b522b15 100644 --- a/spm/__external/__fieldtrip/_fourierspctrm2lcrsspctrm.py +++ b/spm/__external/__fieldtrip/_fourierspctrm2lcrsspctrm.py @@ -2,7 +2,7 @@ def _fourierspctrm2lcrsspctrm(*args, **kwargs): - """ + r""" FOURIERSPCTRM2LCRSSPCTRM is a helper function that converts the input fourierspctrm into a lagged crsspctrm, to enable computation of lagged coherence as described in the publication referenced below. It is used in ft_connectivityanalysis in order to @@ -30,9 +30,12 @@ def _fourierspctrm2lcrsspctrm(*args, **kwargs): written the actual implementation. - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/fourierspctrm2lcrsspctrm.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/fourierspctrm2lcrsspctrm.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("fourierspctrm2lcrsspctrm", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_freq2cumtapcnt.py b/spm/__external/__fieldtrip/_freq2cumtapcnt.py index cad9b732..d69c766a 100644 --- a/spm/__external/__fieldtrip/_freq2cumtapcnt.py +++ b/spm/__external/__fieldtrip/_freq2cumtapcnt.py @@ -2,14 +2,17 @@ def _freq2cumtapcnt(*args, **kwargs): - """ + r""" freq2cumtapcnt is a function. freq = freq2cumtapcnt(freq, fsample) - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/freq2cumtapcnt.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/freq2cumtapcnt.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("freq2cumtapcnt", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_freq2timelock.py b/spm/__external/__fieldtrip/_freq2timelock.py index 259fd0fb..d6b12cd8 100644 --- a/spm/__external/__fieldtrip/_freq2timelock.py +++ b/spm/__external/__fieldtrip/_freq2timelock.py @@ -2,7 +2,7 @@ def _freq2timelock(*args, **kwargs): - """ + r""" FREQ2TIMELOCK transform the frequency data into something on which the timelocked source reconstruction methods can perform their trick. @@ -14,9 +14,12 @@ def _freq2timelock(*args, **kwargs): After source reconstruction, you should use TIMELOCK2FREQ. - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/freq2timelock.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/freq2timelock.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("freq2timelock", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_ft_fetch_sens.py b/spm/__external/__fieldtrip/_ft_fetch_sens.py index e97df02f..b4cc719c 100644 --- a/spm/__external/__fieldtrip/_ft_fetch_sens.py +++ b/spm/__external/__fieldtrip/_ft_fetch_sens.py @@ -2,7 +2,7 @@ def _ft_fetch_sens(*args, **kwargs): - """ + r""" FT_FETCH_SENS mimics the behavior of FT_READ_SENS, but for a FieldTrip data structure or a FieldTrip configuration instead of a file on disk. @@ -30,9 +30,12 @@ def _ft_fetch_sens(*args, **kwargs): See also FT_READ_SENS, FT_DATATYPE_SENS, FT_FETCH_DATA, FT_PREPARE_LAYOUT - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/ft_fetch_sens.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/ft_fetch_sens.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_fetch_sens", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_ft_getuserfun.py b/spm/__external/__fieldtrip/_ft_getuserfun.py index 0be77dc6..860c543e 100644 --- a/spm/__external/__fieldtrip/_ft_getuserfun.py +++ b/spm/__external/__fieldtrip/_ft_getuserfun.py @@ -2,7 +2,7 @@ def _ft_getuserfun(*args, **kwargs): - """ + r""" FT_GETUSERFUN will search the MATLAB path for a function with the appropriate name, and return a function handle to the function. Considered are, in this order: @@ -19,9 +19,12 @@ def _ft_getuserfun(*args, **kwargs): If no appropriate function is found, the empty array [] will be returned. - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/ft_getuserfun.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/ft_getuserfun.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_getuserfun", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_ft_inv.py b/spm/__external/__fieldtrip/_ft_inv.py index 09899a6b..a67ce0ac 100644 --- a/spm/__external/__fieldtrip/_ft_inv.py +++ b/spm/__external/__fieldtrip/_ft_inv.py @@ -2,7 +2,7 @@ def _ft_inv(*args, **kwargs): - """ + r""" FT_INV computes a matrix inverse with optional regularization. Use as @@ -58,9 +58,12 @@ def _ft_inv(*args, **kwargs): See also INV, PINV, CONDEST, RANK - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/ft_inv.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/ft_inv.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_inv", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_ft_singletrialanalysis_aseo.py b/spm/__external/__fieldtrip/_ft_singletrialanalysis_aseo.py index 071856bc..13ae22d2 100644 --- a/spm/__external/__fieldtrip/_ft_singletrialanalysis_aseo.py +++ b/spm/__external/__fieldtrip/_ft_singletrialanalysis_aseo.py @@ -2,7 +2,7 @@ def _ft_singletrialanalysis_aseo(*args, **kwargs): - """ + r""" FT_SINGLETRIALANALYSIS_ASEO executes single-trial analysis, using the ASEO algorithm (Xu et al, 2009) @@ -26,9 +26,12 @@ def _ft_singletrialanalysis_aseo(*args, **kwargs): corr_est : Correlation between the original data and the recovered signal - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/ft_singletrialanalysis_aseo.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/ft_singletrialanalysis_aseo.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_singletrialanalysis_aseo", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_fwer.py b/spm/__external/__fieldtrip/_fwer.py index 8790f9fb..8289f665 100644 --- a/spm/__external/__fieldtrip/_fwer.py +++ b/spm/__external/__fieldtrip/_fwer.py @@ -2,16 +2,19 @@ def _fwer(*args, **kwargs): - """ + r""" FWER family-wise error rate control using Bonferoni method Use as h = fwer(p, q) - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/fwer.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/fwer.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("fwer", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_get_degrees_orders.py b/spm/__external/__fieldtrip/_get_degrees_orders.py new file mode 100644 index 00000000..8bd1e80d --- /dev/null +++ b/spm/__external/__fieldtrip/_get_degrees_orders.py @@ -0,0 +1,19 @@ +from spm._runtime import Runtime + + +def _get_degrees_orders(*args, **kwargs): + r""" + this helper function assumes the order of the basis vectors, as computed + in the MNE-Python implementation is the same as the order of the basis + vectors as computed in the SPM implementation + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/get_degrees_orders.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("get_degrees_orders", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_getdatfield.py b/spm/__external/__fieldtrip/_getdatfield.py index 0c5af98b..f1c65191 100644 --- a/spm/__external/__fieldtrip/_getdatfield.py +++ b/spm/__external/__fieldtrip/_getdatfield.py @@ -2,7 +2,7 @@ def _getdatfield(*args, **kwargs): - """ + r""" GETDATFIELD Use as @@ -12,9 +12,12 @@ def _getdatfield(*args, **kwargs): See also GETDIMORD, GETDIMSIZ - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/getdatfield.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/getdatfield.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("getdatfield", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_getdimord.py b/spm/__external/__fieldtrip/_getdimord.py index d775a8c0..eba33f2a 100644 --- a/spm/__external/__fieldtrip/_getdimord.py +++ b/spm/__external/__fieldtrip/_getdimord.py @@ -2,7 +2,7 @@ def _getdimord(*args, **kwargs): - """ + r""" GETDIMORD determine the dimensions and order of a data field in a FieldTrip structure. @@ -12,9 +12,12 @@ def _getdimord(*args, **kwargs): See also GETDIMSIZ, GETDATFIELD, FIXDIMORD - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/getdimord.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/getdimord.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("getdimord", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_getdimsiz.py b/spm/__external/__fieldtrip/_getdimsiz.py index 20abc0e5..382b2405 100644 --- a/spm/__external/__fieldtrip/_getdimsiz.py +++ b/spm/__external/__fieldtrip/_getdimsiz.py @@ -2,7 +2,7 @@ def _getdimsiz(*args, **kwargs): - """ + r""" GETDIMSIZ Use as @@ -23,9 +23,12 @@ def _getdimsiz(*args, **kwargs): See also GETDIMORD, GETDATFIELD - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/getdimsiz.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/getdimsiz.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("getdimsiz", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_getorthoviewpos.py b/spm/__external/__fieldtrip/_getorthoviewpos.py index c0b3ec70..9d760474 100644 --- a/spm/__external/__fieldtrip/_getorthoviewpos.py +++ b/spm/__external/__fieldtrip/_getorthoviewpos.py @@ -2,7 +2,7 @@ def _getorthoviewpos(*args, **kwargs): - """ + r""" GETORTHOVIEWPOS obtains the orthographic projections of 3D positions based on a given coordinate system and viewpoint @@ -15,9 +15,12 @@ def _getorthoviewpos(*args, **kwargs): See alo SETVIEWPOINT, COORDSYS2LABEL - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/getorthoviewpos.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/getorthoviewpos.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("getorthoviewpos", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_getsubfield.py b/spm/__external/__fieldtrip/_getsubfield.py index 7d79a827..ebc50067 100644 --- a/spm/__external/__fieldtrip/_getsubfield.py +++ b/spm/__external/__fieldtrip/_getsubfield.py @@ -2,7 +2,7 @@ def _getsubfield(*args, **kwargs): - """ + r""" GETSUBFIELD returns a field from a structure just like the standard GETFIELD function, except that you can also specify nested fields using a '.' in the fieldname. The nesting can be arbitrary deep. @@ -15,9 +15,12 @@ def _getsubfield(*args, **kwargs): See also GETFIELD, ISSUBFIELD, SETSUBFIELD - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/getsubfield.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/getsubfield.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("getsubfield", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_getusername.py b/spm/__external/__fieldtrip/_getusername.py index d8c55fe5..da85c2b8 100644 --- a/spm/__external/__fieldtrip/_getusername.py +++ b/spm/__external/__fieldtrip/_getusername.py @@ -2,16 +2,19 @@ def _getusername(*args, **kwargs): - """ + r""" GETUSERNAME Use as str = getusername(); - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/getusername.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/getusername.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("getusername", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_globalrescale.py b/spm/__external/__fieldtrip/_globalrescale.py index 0eeb4cfb..e15669bc 100644 --- a/spm/__external/__fieldtrip/_globalrescale.py +++ b/spm/__external/__fieldtrip/_globalrescale.py @@ -2,7 +2,7 @@ def _globalrescale(*args, **kwargs): - """ + r""" GLOBALRESCALE creates the homogenous spatial transformation matrix for a 7 parameter rigid-body transformation with global rescaling @@ -21,9 +21,12 @@ def _globalrescale(*args, **kwargs): global rescaling factor - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/globalrescale.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/globalrescale.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("globalrescale", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_grad2elec.py b/spm/__external/__fieldtrip/_grad2elec.py new file mode 100644 index 00000000..2a0b6d8d --- /dev/null +++ b/spm/__external/__fieldtrip/_grad2elec.py @@ -0,0 +1,19 @@ +from spm._runtime import Runtime + + +def _grad2elec(*args, **kwargs): + r""" + GRAD2ELEC converts a grad structure to an elec structure + + See also OPTO2ELEC + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/grad2elec.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("grad2elec", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_grid2transform.py b/spm/__external/__fieldtrip/_grid2transform.py index d47b30ac..b77942c5 100644 --- a/spm/__external/__fieldtrip/_grid2transform.py +++ b/spm/__external/__fieldtrip/_grid2transform.py @@ -2,7 +2,7 @@ def _grid2transform(*args, **kwargs): - """ + r""" GRID2TRANSFORM ensures that the volume contains a homogenous transformation matrix. If needed, a homogenous matrix is constructed from the xgrid/ygrid/zgrid fields and those fields are changed to 1:Nx, 1:Ny and 1:Nz @@ -10,9 +10,12 @@ def _grid2transform(*args, **kwargs): See also TRANSFORM2GRID - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/grid2transform.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/grid2transform.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("grid2transform", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_guidelines.py b/spm/__external/__fieldtrip/_guidelines.py index 447e2c06..d2ad4236 100644 --- a/spm/__external/__fieldtrip/_guidelines.py +++ b/spm/__external/__fieldtrip/_guidelines.py @@ -2,14 +2,17 @@ def _guidelines(*args, **kwargs): - """ + r""" GUIDELINES searches for a contiguous block of commented text and shows its contents. It is used to display additional help sections. - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/guidelines.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/guidelines.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("guidelines", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_handle_atlas_input.py b/spm/__external/__fieldtrip/_handle_atlas_input.py index 72729fdb..c66ea3a5 100644 --- a/spm/__external/__fieldtrip/_handle_atlas_input.py +++ b/spm/__external/__fieldtrip/_handle_atlas_input.py @@ -2,7 +2,7 @@ def _handle_atlas_input(*args, **kwargs): - """ + r""" HANDLE_ATLAS_INPUT handles user input to specify volumetric atlases in some coordinate. It does two things: (1) call FT_READ_ATLAS to read the atlas from file, if it is specified as a string input, and (2) if the optional second data input argument is provided, and it has a @@ -13,9 +13,12 @@ def _handle_atlas_input(*args, **kwargs): to ft_sourceplot_interactive. - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/handle_atlas_input.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/handle_atlas_input.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("handle_atlas_input", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_handle_edit_input.py b/spm/__external/__fieldtrip/_handle_edit_input.py index fc399a10..955db4e6 100644 --- a/spm/__external/__fieldtrip/_handle_edit_input.py +++ b/spm/__external/__fieldtrip/_handle_edit_input.py @@ -2,7 +2,7 @@ def _handle_edit_input(*args, **kwargs): - """ + r""" HANDLE_EDIT_INPUT deals with user-entered input in the GUI. This is used to select channels and/or trials in FT_REJECTVISUAL and to select channels in FT_DATABROWSER @@ -19,9 +19,12 @@ def _handle_edit_input(*args, **kwargs): {'MEG', '-MR*'} - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/handle_edit_input.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/handle_edit_input.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("handle_edit_input", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_headsurface.py b/spm/__external/__fieldtrip/_headsurface.py index 709a79ef..d481c808 100644 --- a/spm/__external/__fieldtrip/_headsurface.py +++ b/spm/__external/__fieldtrip/_headsurface.py @@ -2,7 +2,7 @@ def _headsurface(*args, **kwargs): - """ + r""" HEADSURFACE constructs a triangulated description of the skin or brain surface from a volume conduction model, from a set of electrodes or gradiometers, or from a combination of the two. It returns a closed @@ -22,9 +22,12 @@ def _headsurface(*args, **kwargs): headshape = string, file containing the head shape - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/headsurface.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/headsurface.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("headsurface", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_highpassfilter.py b/spm/__external/__fieldtrip/_highpassfilter.py index 7bf2982e..9cbd1102 100644 --- a/spm/__external/__fieldtrip/_highpassfilter.py +++ b/spm/__external/__fieldtrip/_highpassfilter.py @@ -2,7 +2,7 @@ def _highpassfilter(*args, **kwargs): - """ + r""" HIGHPASSFILTER removes low frequency components from EEG/MEG data Use as @@ -27,9 +27,12 @@ def _highpassfilter(*args, **kwargs): See also LOWPASSFILTER, BANDPASSFILTER - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/highpassfilter.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/highpassfilter.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("highpassfilter", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_hline.py b/spm/__external/__fieldtrip/_hline.py index e00606f0..616eb747 100644 --- a/spm/__external/__fieldtrip/_hline.py +++ b/spm/__external/__fieldtrip/_hline.py @@ -2,13 +2,16 @@ def _hline(*args, **kwargs): - """ + r""" HLINE plot a horizontal line in the current graph - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/hline.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/hline.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("hline", *args, **kwargs, nargout=0) diff --git a/spm/__external/__fieldtrip/_homer2opto.py b/spm/__external/__fieldtrip/_homer2opto.py index 3a4f827b..01525969 100644 --- a/spm/__external/__fieldtrip/_homer2opto.py +++ b/spm/__external/__fieldtrip/_homer2opto.py @@ -2,7 +2,7 @@ def _homer2opto(*args, **kwargs): - """ + r""" HOMER2OPTO converts the Homer SD structure to a FieldTrip optode structure See https://www.nitrc.org/plugins/mwiki/index.php/homer2:Homer_Input_Files#NIRS_data_file_format @@ -25,9 +25,12 @@ def _homer2opto(*args, **kwargs): See also OPTO2HOMER, BTI2GRAD, CTF2GRAD, FIF2GRAD, ITAB2GRAD, MNE2GRAD, NETMEG2GRAD, YOKOGAWA2GRAD, FT_DATATYPE_SENS - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/homer2opto.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/homer2opto.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("homer2opto", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_homogenous2traditional.py b/spm/__external/__fieldtrip/_homogenous2traditional.py index eaf77d17..479632b0 100644 --- a/spm/__external/__fieldtrip/_homogenous2traditional.py +++ b/spm/__external/__fieldtrip/_homogenous2traditional.py @@ -2,7 +2,7 @@ def _homogenous2traditional(*args, **kwargs): - """ + r""" HOMOGENOUS2TRADITIONAL estimates the traditional translation, rotation and scaling parameters from a homogenous transformation matrix. It will give an error if the homogenous matrix also describes a perspective @@ -37,9 +37,12 @@ def _homogenous2traditional(*args, **kwargs): See also TRANSLATE, ROTATE, SCALE, HOMOGENOUS2QUATERNION, QUATERNION - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/homogenous2traditional.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/homogenous2traditional.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("homogenous2traditional", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_htmlcolors.py b/spm/__external/__fieldtrip/_htmlcolors.py index 15f40293..d71e5f7f 100644 --- a/spm/__external/__fieldtrip/_htmlcolors.py +++ b/spm/__external/__fieldtrip/_htmlcolors.py @@ -2,7 +2,7 @@ def _htmlcolors(*args, **kwargs): - """ + r""" HTMLCOLORS looks up the RGB value for a named color (string), or the name for a given RGB value Use as @@ -15,12 +15,15 @@ def _htmlcolors(*args, **kwargs): See https://www.rapidtables.com/web/color/html-color-codes.html and https://www.color-hex.com/color-palettes/ - See also FT_COLORMAP, COLORMAP, COLORMAPEDITOR, BREWERMAP, MATPLOTLIB, CMOCEAN + See also STANDARDCOLORS, COLORSPEC2RGB, FT_COLORMAP, COLORMAP, COLORMAPEDITOR, BREWERMAP, MATPLOTLIB, CMOCEAN - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/htmlcolors.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/htmlcolors.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("htmlcolors", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_ignorefields.py b/spm/__external/__fieldtrip/_ignorefields.py index 89eb4807..be9938dd 100644 --- a/spm/__external/__fieldtrip/_ignorefields.py +++ b/spm/__external/__fieldtrip/_ignorefields.py @@ -2,15 +2,18 @@ def _ignorefields(*args, **kwargs): - """ + r""" IGNOREFIELDS returns a list of fields that can be present in the cfg structure that should be ignored at various places in the code, e.g. for provenance, history, size-checking, etc. - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/ignorefields.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/ignorefields.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ignorefields", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_inputlabel2outputlabel.py b/spm/__external/__fieldtrip/_inputlabel2outputlabel.py index de8c8a1a..a612129b 100644 --- a/spm/__external/__fieldtrip/_inputlabel2outputlabel.py +++ b/spm/__external/__fieldtrip/_inputlabel2outputlabel.py @@ -2,7 +2,7 @@ def _inputlabel2outputlabel(*args, **kwargs): - """ + r""" INPUTLABEL2OUTPUTLABEL is a subfunction which outputs the cell-arrays outputlabel and the corresponding outputindex, and defines how the channels in the original data have to be combined, to provide the @@ -14,9 +14,12 @@ def _inputlabel2outputlabel(*args, **kwargs): TODO: more flexible way of combining, e.g. by providing a cell-array - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/inputlabel2outputlabel.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/inputlabel2outputlabel.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("inputlabel2outputlabel", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_inside_contour.py b/spm/__external/__fieldtrip/_inside_contour.py index be127eee..63f153ff 100644 --- a/spm/__external/__fieldtrip/_inside_contour.py +++ b/spm/__external/__fieldtrip/_inside_contour.py @@ -2,14 +2,17 @@ def _inside_contour(*args, **kwargs): - """ + r""" inside_contour is a function. bool = inside_contour(pos, contour) - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/inside_contour.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/inside_contour.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("inside_contour", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_interp_gridded.py b/spm/__external/__fieldtrip/_interp_gridded.py index 4bed9a83..8224265e 100644 --- a/spm/__external/__fieldtrip/_interp_gridded.py +++ b/spm/__external/__fieldtrip/_interp_gridded.py @@ -2,7 +2,7 @@ def _interp_gridded(*args, **kwargs): - """ + r""" INTERP_GRIDDED computes a matrix that interpolates values that were observed on positions in a regular 3-D grid onto positions that are unstructured, e.g. the vertices of a cortical sheet. @@ -23,9 +23,12 @@ def _interp_gridded(*args, **kwargs): inside = indices for inside voxels (or logical array) - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/interp_gridded.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/interp_gridded.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("interp_gridded", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_interp_ungridded.py b/spm/__external/__fieldtrip/_interp_ungridded.py index 428aafaf..267f5a84 100644 --- a/spm/__external/__fieldtrip/_interp_ungridded.py +++ b/spm/__external/__fieldtrip/_interp_ungridded.py @@ -2,7 +2,7 @@ def _interp_ungridded(*args, **kwargs): - """ + r""" INTERP_UNGRIDDED computes an interpolation matrix for two clouds of 3-D points To get the interpolated data, use as @@ -22,9 +22,12 @@ def _interp_ungridded(*args, **kwargs): power = scalar, power parameter as in the Inverse Distance Weighting function proposed by Shepard (default = 1). - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/interp_ungridded.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/interp_ungridded.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("interp_ungridded", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_intersect_line.py b/spm/__external/__fieldtrip/_intersect_line.py index 46172ade..1fade6ee 100644 --- a/spm/__external/__fieldtrip/_intersect_line.py +++ b/spm/__external/__fieldtrip/_intersect_line.py @@ -2,7 +2,7 @@ def _intersect_line(*args, **kwargs): - """ + r""" INTERSECT_LINE finds the intersection points between a mesh and a line. Use as: @@ -21,9 +21,12 @@ def _intersect_line(*args, **kwargs): Adapted to FieldTrip by Jan-Mathijs Schoffelen 2012 - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/intersect_line.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/intersect_line.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("intersect_line", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_inv3x3.py b/spm/__external/__fieldtrip/_inv3x3.py index 46334852..2b12ae6c 100644 --- a/spm/__external/__fieldtrip/_inv3x3.py +++ b/spm/__external/__fieldtrip/_inv3x3.py @@ -2,14 +2,17 @@ def _inv3x3(*args, **kwargs): - """ + r""" INV3X3 computes inverse of matrix x, using explicit analytic definition if size(x) = [3 3 K M] - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/inv3x3.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/inv3x3.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("inv3x3", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_isalmostequal.py b/spm/__external/__fieldtrip/_isalmostequal.py index f80ac528..420da368 100644 --- a/spm/__external/__fieldtrip/_isalmostequal.py +++ b/spm/__external/__fieldtrip/_isalmostequal.py @@ -2,7 +2,7 @@ def _isalmostequal(*args, **kwargs): - """ + r""" ISALMOSTEQUAL compares two input variables and returns true/false and a message containing the details on the observed difference. @@ -23,9 +23,12 @@ def _isalmostequal(*args, **kwargs): See also ISEQUAL, ISEQUALNAN - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/isalmostequal.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/isalmostequal.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("isalmostequal", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_iscompatwrapper.py b/spm/__external/__fieldtrip/_iscompatwrapper.py index c63109fc..9e84d6e9 100644 --- a/spm/__external/__fieldtrip/_iscompatwrapper.py +++ b/spm/__external/__fieldtrip/_iscompatwrapper.py @@ -2,7 +2,7 @@ def _iscompatwrapper(*args, **kwargs): - """ + r""" ISCOMPATWRAPPER Checks whether the specified function name will invoke a compatibility wrapper or not. @@ -27,9 +27,12 @@ def _iscompatwrapper(*args, **kwargs): $Id - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/iscompatwrapper.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/iscompatwrapper.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("iscompatwrapper", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_isdir_or_mkdir.py b/spm/__external/__fieldtrip/_isdir_or_mkdir.py index e92813d0..df9bab6e 100644 --- a/spm/__external/__fieldtrip/_isdir_or_mkdir.py +++ b/spm/__external/__fieldtrip/_isdir_or_mkdir.py @@ -2,16 +2,19 @@ def _isdir_or_mkdir(*args, **kwargs): - """ + r""" ISDIR_OR_MKDIR Checks that a directory exists, or if not, creates the directory and all its parent directories. See also FOPEN_OR_ERROR - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/isdir_or_mkdir.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/isdir_or_mkdir.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("isdir_or_mkdir", *args, **kwargs, nargout=0) diff --git a/spm/__external/__fieldtrip/_isfunction.py b/spm/__external/__fieldtrip/_isfunction.py index 4e0fb2bc..bb4eb6d6 100644 --- a/spm/__external/__fieldtrip/_isfunction.py +++ b/spm/__external/__fieldtrip/_isfunction.py @@ -2,7 +2,7 @@ def _isfunction(*args, **kwargs): - """ + r""" ISFUNCTION tests whether the function of the specified name is a callable function on the current MATLAB path. @@ -10,9 +10,12 @@ def _isfunction(*args, **kwargs): since that will return 7 in case funcname exists as a folder. - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/isfunction.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/isfunction.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("isfunction", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_ismatch.py b/spm/__external/__fieldtrip/_ismatch.py index 0e36cd36..af2fb1d7 100644 --- a/spm/__external/__fieldtrip/_ismatch.py +++ b/spm/__external/__fieldtrip/_ismatch.py @@ -2,15 +2,18 @@ def _ismatch(*args, **kwargs): - """ + r""" ISMATCH returns true if x is a member of array y, regardless of the class of x and y, if y is a string, or a cell-array of strings, it can contain the wildcard '*' - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/ismatch.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/ismatch.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ismatch", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_isrealmat.py b/spm/__external/__fieldtrip/_isrealmat.py index 21b30193..e1ceedae 100644 --- a/spm/__external/__fieldtrip/_isrealmat.py +++ b/spm/__external/__fieldtrip/_isrealmat.py @@ -2,7 +2,7 @@ def _isrealmat(*args, **kwargs): - """ + r""" ISREALMAT returns true for a real matrix Use as @@ -11,9 +11,12 @@ def _isrealmat(*args, **kwargs): See also ISNUMERIC, ISREAL, ISVECTOR, ISREALVEC - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/isrealmat.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/isrealmat.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("isrealmat", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_isrealvec.py b/spm/__external/__fieldtrip/_isrealvec.py index 156bd723..fb82aaed 100644 --- a/spm/__external/__fieldtrip/_isrealvec.py +++ b/spm/__external/__fieldtrip/_isrealvec.py @@ -2,7 +2,7 @@ def _isrealvec(*args, **kwargs): - """ + r""" ISREALVEC returns true for a real row or column vector Use as @@ -11,9 +11,12 @@ def _isrealvec(*args, **kwargs): See also ISNUMERIC, ISREAL, ISVECTOR, ISREALMAT - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/isrealvec.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/isrealvec.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("isrealvec", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_issubfield.py b/spm/__external/__fieldtrip/_issubfield.py index 027fbd81..d893ce61 100644 --- a/spm/__external/__fieldtrip/_issubfield.py +++ b/spm/__external/__fieldtrip/_issubfield.py @@ -2,7 +2,7 @@ def _issubfield(*args, **kwargs): - """ + r""" ISSUBFIELD tests for the presence of a field in a structure just like the standard Matlab ISFIELD function, except that you can also specify nested fields using a '.' in the fieldname. The nesting can be arbitrary deep. @@ -18,9 +18,12 @@ def _issubfield(*args, **kwargs): See also ISFIELD, GETSUBFIELD, SETSUBFIELD - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/issubfield.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/issubfield.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("issubfield", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_join_str.py b/spm/__external/__fieldtrip/_join_str.py index 83db68fd..c8f1b323 100644 --- a/spm/__external/__fieldtrip/_join_str.py +++ b/spm/__external/__fieldtrip/_join_str.py @@ -2,14 +2,17 @@ def _join_str(*args, **kwargs): - """ + r""" join_str is a function. t = join_str(separator, cells) - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/join_str.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/join_str.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("join_str", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_labelcmb2indx.py b/spm/__external/__fieldtrip/_labelcmb2indx.py index 860c2091..3327170f 100644 --- a/spm/__external/__fieldtrip/_labelcmb2indx.py +++ b/spm/__external/__fieldtrip/_labelcmb2indx.py @@ -2,7 +2,7 @@ def _labelcmb2indx(*args, **kwargs): - """ + r""" LABELCMB2INDX computes an array with indices, corresponding to the order in a list of labels, for an Nx2 list of label combinations @@ -30,9 +30,12 @@ def _labelcmb2indx(*args, **kwargs): This is a helper function to FT_CONNECTIVITYANALYSIS - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/labelcmb2indx.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/labelcmb2indx.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("labelcmb2indx", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_lapcal.py b/spm/__external/__fieldtrip/_lapcal.py index 74f109a7..c4594c49 100644 --- a/spm/__external/__fieldtrip/_lapcal.py +++ b/spm/__external/__fieldtrip/_lapcal.py @@ -2,7 +2,7 @@ def _lapcal(*args, **kwargs): - """ + r""" LAPCAL computes the finite difference approximation to the surface laplacian matrix using a triangulation of the surface @@ -16,9 +16,12 @@ def _lapcal(*args, **kwargs): See also LAPINT, LAPINTMAT, READ_TRI, SAVE_TRI - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/lapcal.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/lapcal.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("lapcal", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_lbex.py b/spm/__external/__fieldtrip/_lbex.py index 5c0b84ce..ffe63f6d 100644 --- a/spm/__external/__fieldtrip/_lbex.py +++ b/spm/__external/__fieldtrip/_lbex.py @@ -2,16 +2,19 @@ def _lbex(*args, **kwargs): - """ + r""" This function will add the field "subspace" to the sourcemodel definition. The subspace projection is based on the LBEX (local basis expansion) method. - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/lbex.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/lbex.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("lbex", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_lineattributes_common.py b/spm/__external/__fieldtrip/_lineattributes_common.py index 3beb6e79..0ea18d51 100644 --- a/spm/__external/__fieldtrip/_lineattributes_common.py +++ b/spm/__external/__fieldtrip/_lineattributes_common.py @@ -2,7 +2,7 @@ def _lineattributes_common(*args, **kwargs): - """ + r""" LINEATTRIBUTES_COMMON implements consistent line attributes for multiple channels/conditions This function is used by @@ -43,9 +43,12 @@ def _lineattributes_common(*args, **kwargs): the corresponding sensor. - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/lineattributes_common.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/lineattributes_common.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("lineattributes_common", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_lmoutr.py b/spm/__external/__fieldtrip/_lmoutr.py index db364268..fd052ce7 100644 --- a/spm/__external/__fieldtrip/_lmoutr.py +++ b/spm/__external/__fieldtrip/_lmoutr.py @@ -2,18 +2,21 @@ def _lmoutr(*args, **kwargs): - """ + r""" LMOUTR computes the la/mu parameters of a point projected to a triangle Use as [la, mu, dist] = lmoutr(v1, v2, v3, r) - where v1, v2 and v3 are three vertices of the triangle, and r is + where v1, v2 and v3 are three vertices of the triangle, and r is the point that is projected onto the plane spanned by the vertices - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/lmoutr.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/lmoutr.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("lmoutr", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_lmoutrn.py b/spm/__external/__fieldtrip/_lmoutrn.py index 74d177db..124aa720 100644 --- a/spm/__external/__fieldtrip/_lmoutrn.py +++ b/spm/__external/__fieldtrip/_lmoutrn.py @@ -2,7 +2,7 @@ def _lmoutrn(*args, **kwargs): - """ + r""" LMOUTRN computes the la/mu parameters of a point projected to triangles Use as @@ -16,9 +16,12 @@ def _lmoutrn(*args, **kwargs): lies closer to the average across all vertices and the triangle under consideration. - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/lmoutrn.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/lmoutrn.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("lmoutrn", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_loadvar.py b/spm/__external/__fieldtrip/_loadvar.py index 73b6d91d..e2a99936 100644 --- a/spm/__external/__fieldtrip/_loadvar.py +++ b/spm/__external/__fieldtrip/_loadvar.py @@ -2,15 +2,18 @@ def _loadvar(*args, **kwargs): - """ + r""" LOADVAR is a helper function for cfg.inputfile See also SAVEVAR - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/loadvar.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/loadvar.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("loadvar", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_lowpassfilter.py b/spm/__external/__fieldtrip/_lowpassfilter.py index 8ed03a51..49eea3cb 100644 --- a/spm/__external/__fieldtrip/_lowpassfilter.py +++ b/spm/__external/__fieldtrip/_lowpassfilter.py @@ -2,7 +2,7 @@ def _lowpassfilter(*args, **kwargs): - """ + r""" LOWPASSFILTER removes high frequency components from EEG/MEG data Use as @@ -27,9 +27,12 @@ def _lowpassfilter(*args, **kwargs): See also HIGHPASSFILTER, BANDPASSFILTER - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/lowpassfilter.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/lowpassfilter.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("lowpassfilter", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_megplanar_fitplane.py b/spm/__external/__fieldtrip/_megplanar_fitplane.py index 0fb99a0d..3d9551ee 100644 --- a/spm/__external/__fieldtrip/_megplanar_fitplane.py +++ b/spm/__external/__fieldtrip/_megplanar_fitplane.py @@ -2,7 +2,7 @@ def _megplanar_fitplane(*args, **kwargs): - """ + r""" Fit a plane through the B=f(x,y) plane and compute its two gradients The first point in the plane is the gradiometer itself, the neighbours are the subsequent points. This method also returns the @@ -10,9 +10,12 @@ def _megplanar_fitplane(*args, **kwargs): field itself. - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/megplanar_fitplane.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/megplanar_fitplane.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("megplanar_fitplane", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_megplanar_orig.py b/spm/__external/__fieldtrip/_megplanar_orig.py index eaf77eb0..c7b7b295 100644 --- a/spm/__external/__fieldtrip/_megplanar_orig.py +++ b/spm/__external/__fieldtrip/_megplanar_orig.py @@ -2,14 +2,17 @@ def _megplanar_orig(*args, **kwargs): - """ + r""" This is the original method from Ole. It has a different way of making the coordinate transformation that I do not fully understand. - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/megplanar_orig.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/megplanar_orig.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("megplanar_orig", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_megplanar_sincos.py b/spm/__external/__fieldtrip/_megplanar_sincos.py index c9909bf6..4e23ecd4 100644 --- a/spm/__external/__fieldtrip/_megplanar_sincos.py +++ b/spm/__external/__fieldtrip/_megplanar_sincos.py @@ -2,14 +2,17 @@ def _megplanar_sincos(*args, **kwargs): - """ + r""" This attempts to re-implements Ole's method, exept that the definition of the horizontal and vertical direction is different. - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/megplanar_sincos.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/megplanar_sincos.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("megplanar_sincos", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_menu_fieldtrip.py b/spm/__external/__fieldtrip/_menu_fieldtrip.py index 67207c7a..4f6dfb24 100644 --- a/spm/__external/__fieldtrip/_menu_fieldtrip.py +++ b/spm/__external/__fieldtrip/_menu_fieldtrip.py @@ -2,15 +2,18 @@ def _menu_fieldtrip(*args, **kwargs): - """ + r""" MENU_FIELDTRIP adds a FieldTrip-specific menu to a figure. See also MENU_VIEWPOINT - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/menu_fieldtrip.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/menu_fieldtrip.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("menu_fieldtrip", *args, **kwargs, nargout=0) diff --git a/spm/__external/__fieldtrip/_mergestruct.py b/spm/__external/__fieldtrip/_mergestruct.py index d14c7137..00036e8e 100644 --- a/spm/__external/__fieldtrip/_mergestruct.py +++ b/spm/__external/__fieldtrip/_mergestruct.py @@ -2,7 +2,7 @@ def _mergestruct(*args, **kwargs): - """ + r""" MERGESTRUCT merges the fields of a structure with another structure. The fields of the 2nd structure are only copied in case they are absent in the 1st structure. @@ -12,9 +12,12 @@ def _mergestruct(*args, **kwargs): See also PRINTSTRUCT, APPENDSTRUCT, COPYFIELDS, KEEPFIELDS, REMOVEFIELDS, MERGETABLE - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/mergestruct.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/mergestruct.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("mergestruct", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_mergetable.py b/spm/__external/__fieldtrip/_mergetable.py index b65dd06d..3fa32935 100644 --- a/spm/__external/__fieldtrip/_mergetable.py +++ b/spm/__external/__fieldtrip/_mergetable.py @@ -2,7 +2,7 @@ def _mergetable(*args, **kwargs): - """ + r""" MERGETABLE merges two tables where the rows and columns can be partially overlapping or different. Values from the 2nd input have precedence in case the same row and column is also present in the 1st. @@ -15,9 +15,12 @@ def _mergetable(*args, **kwargs): See also MERGESTRUCT, JOIN, INNERJOIN, OUTERJOIN - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/mergetable.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/mergetable.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("mergetable", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_mesh2edge.py b/spm/__external/__fieldtrip/_mesh2edge.py index f9e61ef2..233f2cdd 100644 --- a/spm/__external/__fieldtrip/_mesh2edge.py +++ b/spm/__external/__fieldtrip/_mesh2edge.py @@ -2,7 +2,7 @@ def _mesh2edge(*args, **kwargs): - """ + r""" MESH2EDGE finds the edge lines from a triangulated mesh or the edge surfaces from a tetrahedral or hexahedral mesh. An edge is defined as an element that does not border any other element. This also implies that a @@ -11,12 +11,15 @@ def _mesh2edge(*args, **kwargs): Use as [edge] = mesh2edge(mesh) - See also POLY2TRI + See also POLY2TRI, TRI2BND - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/mesh2edge.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/mesh2edge.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("mesh2edge", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_mesh_icosahedron.py b/spm/__external/__fieldtrip/_mesh_icosahedron.py index c3b4631b..b4dc17f3 100644 --- a/spm/__external/__fieldtrip/_mesh_icosahedron.py +++ b/spm/__external/__fieldtrip/_mesh_icosahedron.py @@ -2,7 +2,7 @@ def _mesh_icosahedron(*args, **kwargs): - """ + r""" MESH_ICOSAHEDRON returns the vertices and triangle of a 12-vertex icosahedral mesh. @@ -12,9 +12,12 @@ def _mesh_icosahedron(*args, **kwargs): See also MESH_TETRAHEDRON, MESH_OCTAHEDRON, MESH_SPHERE - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/mesh_icosahedron.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/mesh_icosahedron.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("mesh_icosahedron", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_mesh_laplacian.py b/spm/__external/__fieldtrip/_mesh_laplacian.py index 3eddd808..37bc5d9a 100644 --- a/spm/__external/__fieldtrip/_mesh_laplacian.py +++ b/spm/__external/__fieldtrip/_mesh_laplacian.py @@ -2,7 +2,7 @@ def _mesh_laplacian(*args, **kwargs): - """ + r""" MESH_LAPLACIAN: Laplacian of irregular triangular mesh Useage: [lap,edge] = mesh_laplacian(vertex,face) @@ -28,12 +28,15 @@ def _mesh_laplacian(*args, **kwargs): Interpolation on a triangulated 3D surface. Journal of Computational Physics, 80: 331-343. - See also, eeg_interp_scalp_mesh + See also EEG_INTERP_SCALP_MESH - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/mesh_laplacian.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/mesh_laplacian.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("mesh_laplacian", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_mesh_octahedron.py b/spm/__external/__fieldtrip/_mesh_octahedron.py index f87363e3..f63a593b 100644 --- a/spm/__external/__fieldtrip/_mesh_octahedron.py +++ b/spm/__external/__fieldtrip/_mesh_octahedron.py @@ -2,7 +2,7 @@ def _mesh_octahedron(*args, **kwargs): - """ + r""" MESH_OCTAHEDRON returns the vertices and triangles of an octahedron Use as @@ -11,9 +11,12 @@ def _mesh_octahedron(*args, **kwargs): See also MESH_TETRAHEDRON, MESH_OCTAHEDRON, MESH_SPHERE - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/mesh_octahedron.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/mesh_octahedron.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("mesh_octahedron", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_mesh_sphere.py b/spm/__external/__fieldtrip/_mesh_sphere.py index d4d9c40f..ec073ac4 100644 --- a/spm/__external/__fieldtrip/_mesh_sphere.py +++ b/spm/__external/__fieldtrip/_mesh_sphere.py @@ -2,7 +2,7 @@ def _mesh_sphere(*args, **kwargs): - """ + r""" MESH_SPHERE creates spherical mesh, with approximately nvertices vertices Use as @@ -23,9 +23,12 @@ def _mesh_sphere(*args, **kwargs): See also MESH_TETRAHEDRON, MESH_OCTAHEDRON, MESH_ICOSAHEDRON - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/mesh_sphere.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/mesh_sphere.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("mesh_sphere", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_mesh_spherify.py b/spm/__external/__fieldtrip/_mesh_spherify.py index 9d783294..31a5fa8f 100644 --- a/spm/__external/__fieldtrip/_mesh_spherify.py +++ b/spm/__external/__fieldtrip/_mesh_spherify.py @@ -2,7 +2,7 @@ def _mesh_spherify(*args, **kwargs): - """ + r""" Takes a cortical mesh and scales it so that it fits into a unit sphere. @@ -20,9 +20,12 @@ def _mesh_spherify(*args, **kwargs): smooth = number (default = 20) - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/mesh_spherify.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/mesh_spherify.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("mesh_spherify", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_mesh_tetrahedron.py b/spm/__external/__fieldtrip/_mesh_tetrahedron.py index 352f9796..a12bc3bf 100644 --- a/spm/__external/__fieldtrip/_mesh_tetrahedron.py +++ b/spm/__external/__fieldtrip/_mesh_tetrahedron.py @@ -2,7 +2,7 @@ def _mesh_tetrahedron(*args, **kwargs): - """ + r""" MESH_TETRAHEDRON returns the vertices and triangles of a tetrahedron. Use as @@ -11,9 +11,12 @@ def _mesh_tetrahedron(*args, **kwargs): See also MESH_ICOSAHEDRON, MESH_OCTAHEDRON, MESH_SPHERE - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/mesh_tetrahedron.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/mesh_tetrahedron.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("mesh_tetrahedron", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_mni2tal.py b/spm/__external/__fieldtrip/_mni2tal.py index 814d7858..b04b4704 100644 --- a/spm/__external/__fieldtrip/_mni2tal.py +++ b/spm/__external/__fieldtrip/_mni2tal.py @@ -2,7 +2,7 @@ def _mni2tal(*args, **kwargs): - """ + r""" Converts coordinates from MNI brain to best guess for equivalent Talairach coordinates FORMAT outpoints = mni2tal(inpoints) @@ -12,9 +12,12 @@ def _mni2tal(*args, **kwargs): Matthew Brett 10/8/99 - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/mni2tal.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/mni2tal.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("mni2tal", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_mollify.py b/spm/__external/__fieldtrip/_mollify.py index 95ff2638..97c3dc4f 100644 --- a/spm/__external/__fieldtrip/_mollify.py +++ b/spm/__external/__fieldtrip/_mollify.py @@ -2,13 +2,16 @@ def _mollify(*args, **kwargs): - """ + r""" This function does something - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/mollify.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/mollify.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("mollify", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_moviefunction.py b/spm/__external/__fieldtrip/_moviefunction.py index 8c254f64..96a625fc 100644 --- a/spm/__external/__fieldtrip/_moviefunction.py +++ b/spm/__external/__fieldtrip/_moviefunction.py @@ -2,15 +2,18 @@ def _moviefunction(*args, **kwargs): - """ + r""" we need cfg.plotfun to plot the data data needs to be 3D, N x time x freq (last can be singleton) N needs to correspond to number of vertices (channels, gridpoints, etc) - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/moviefunction.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/moviefunction.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("moviefunction", *args, **kwargs, nargout=0) diff --git a/spm/__external/__fieldtrip/_mplgndr.py b/spm/__external/__fieldtrip/_mplgndr.py index 63ee6f2c..a7e7abb4 100644 --- a/spm/__external/__fieldtrip/_mplgndr.py +++ b/spm/__external/__fieldtrip/_mplgndr.py @@ -2,7 +2,7 @@ def _mplgndr(*args, **kwargs): - """ + r""" MPLGNDR associated Legendre functions y = mplgndr(n,k,x) computes the values of the associated Legendre @@ -13,9 +13,12 @@ def _mplgndr(*args, **kwargs): degree i-1. - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/mplgndr.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/mplgndr.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("mplgndr", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_mtimes2x2.py b/spm/__external/__fieldtrip/_mtimes2x2.py index 316dee4f..e1a95311 100644 --- a/spm/__external/__fieldtrip/_mtimes2x2.py +++ b/spm/__external/__fieldtrip/_mtimes2x2.py @@ -2,13 +2,16 @@ def _mtimes2x2(*args, **kwargs): - """ + r""" MTIMES2X2 compute x*y where the dimensionatity is 2x2xN or 2x2xNxM - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/mtimes2x2.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/mtimes2x2.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("mtimes2x2", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_mtimes3x3.py b/spm/__external/__fieldtrip/_mtimes3x3.py index 9f9b1950..8aa212ba 100644 --- a/spm/__external/__fieldtrip/_mtimes3x3.py +++ b/spm/__external/__fieldtrip/_mtimes3x3.py @@ -2,13 +2,16 @@ def _mtimes3x3(*args, **kwargs): - """ + r""" MTIMES3X3 compute x*y where the dimensionatity is 3x3xN or 3x3xNxM - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/mtimes3x3.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/mtimes3x3.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("mtimes3x3", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_multivariate_decomp.py b/spm/__external/__fieldtrip/_multivariate_decomp.py index 033924e2..9bd098f1 100644 --- a/spm/__external/__fieldtrip/_multivariate_decomp.py +++ b/spm/__external/__fieldtrip/_multivariate_decomp.py @@ -2,7 +2,7 @@ def _multivariate_decomp(*args, **kwargs): - """ + r""" MULTIVARIATE_DECOMP does a linear decomposition of multivariate time series, based on the covariance matrix. @@ -31,9 +31,12 @@ def _multivariate_decomp(*args, **kwargs): D = diagonal matrix with eigenvalues - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/multivariate_decomp.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/multivariate_decomp.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("multivariate_decomp", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_mutexunlock.py b/spm/__external/__fieldtrip/_mutexunlock.py index 145f8cd9..a15ba9ee 100644 --- a/spm/__external/__fieldtrip/_mutexunlock.py +++ b/spm/__external/__fieldtrip/_mutexunlock.py @@ -2,7 +2,7 @@ def _mutexunlock(*args, **kwargs): - """ + r""" MUTEXUNLOCK removes a lockfile Use as @@ -11,9 +11,12 @@ def _mutexunlock(*args, **kwargs): See also MUTEXLOCK and http://en.wikipedia.org/wiki/Mutual_exclusion - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/mutexunlock.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/mutexunlock.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("mutexunlock", *args, **kwargs, nargout=0) diff --git a/spm/__external/__fieldtrip/_mxDeserialize.py b/spm/__external/__fieldtrip/_mxDeserialize.py index 94db34e5..af604e5e 100644 --- a/spm/__external/__fieldtrip/_mxDeserialize.py +++ b/spm/__external/__fieldtrip/_mxDeserialize.py @@ -2,16 +2,19 @@ def _mxDeserialize(*args, **kwargs): - """ + r""" MXDESERIALIZE reconstructs a MATLAB object from a uint8 array suitable for passing down a comms channel to be reconstructed at the other end. See also MXSERIALIZE - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/mxDeserialize.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/mxDeserialize.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("mxDeserialize", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_mxSerialize.py b/spm/__external/__fieldtrip/_mxSerialize.py index 60abde2c..42b56b44 100644 --- a/spm/__external/__fieldtrip/_mxSerialize.py +++ b/spm/__external/__fieldtrip/_mxSerialize.py @@ -2,16 +2,19 @@ def _mxSerialize(*args, **kwargs): - """ + r""" MXSERIALIZE converts any MATLAB object into a uint8 array suitable for passing down a comms channel to be reconstructed at the other end. See also MXDESERIALIZE - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/mxSerialize.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/mxSerialize.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("mxSerialize", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_ndgrid.py b/spm/__external/__fieldtrip/_ndgrid.py index ae1fe62d..747f3dd2 100644 --- a/spm/__external/__fieldtrip/_ndgrid.py +++ b/spm/__external/__fieldtrip/_ndgrid.py @@ -2,7 +2,7 @@ def _ndgrid(*args, **kwargs): - """ + r""" NDGRID Generation of arrays for N-D functions and interpolation. [X1,X2,X3,...] = NDGRID(x1,x2,x3,...) transforms the domain specified by vectors x1,x2,x3, etc. into arrays X1,X2,X3, etc. that @@ -33,9 +33,12 @@ def _ndgrid(*args, **kwargs): See also MESHGRID, INTERPN. - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/ndgrid.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/ndgrid.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ndgrid", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_nex_cont.py b/spm/__external/__fieldtrip/_nex_cont.py index 061facb4..8cb35c4d 100644 --- a/spm/__external/__fieldtrip/_nex_cont.py +++ b/spm/__external/__fieldtrip/_nex_cont.py @@ -2,7 +2,7 @@ def _nex_cont(*args, **kwargs): - """ + r""" nex_cont(filename, varname): Read continuous variable from a .nex file [adfreq, n, ts, fn, d] = nex_cont(filename, varname) @@ -22,9 +22,12 @@ def _nex_cont(*args, **kwargs): d - array of a/d values (in millivolts) - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/nex_cont.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/nex_cont.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("nex_cont", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_nex_info.py b/spm/__external/__fieldtrip/_nex_info.py index 35f3ac98..b1f757e1 100644 --- a/spm/__external/__fieldtrip/_nex_info.py +++ b/spm/__external/__fieldtrip/_nex_info.py @@ -2,7 +2,7 @@ def _nex_info(*args, **kwargs): - """ + r""" nex_info(filename) -- read and display .nex file info [nvar, names, types] = nex_info(filename) @@ -17,9 +17,12 @@ def _nex_info(*args, **kwargs): 4-population vector, 5-continuous variable, 6 - marker - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/nex_info.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/nex_info.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("nex_info", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_nex_int.py b/spm/__external/__fieldtrip/_nex_int.py index 1a8266a5..9d15472b 100644 --- a/spm/__external/__fieldtrip/_nex_int.py +++ b/spm/__external/__fieldtrip/_nex_int.py @@ -2,7 +2,7 @@ def _nex_int(*args, **kwargs): - """ + r""" nex_int(filename, varname): Read interval variable from a .nex file [n, ts_left, ts_right] = nex_int(filename, varname) @@ -16,9 +16,12 @@ def _nex_int(*args, **kwargs): ts_right - array of right ends of the intervals (in seconds) - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/nex_int.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/nex_int.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("nex_int", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_nex_marker.py b/spm/__external/__fieldtrip/_nex_marker.py index 5eec8021..d0f475dd 100644 --- a/spm/__external/__fieldtrip/_nex_marker.py +++ b/spm/__external/__fieldtrip/_nex_marker.py @@ -2,7 +2,7 @@ def _nex_marker(*args, **kwargs): - """ + r""" nex_marker(filename, varname): Read a marker variable from a .nex file [n, nm, nl, ts, names, m] = nex_marker(filename, varname) @@ -24,9 +24,12 @@ def _nex_marker(*args, **kwargs): m - character array of marker values [n nl nm] - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/nex_marker.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/nex_marker.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("nex_marker", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_nex_ts.py b/spm/__external/__fieldtrip/_nex_ts.py index 23de87b0..298e90c0 100644 --- a/spm/__external/__fieldtrip/_nex_ts.py +++ b/spm/__external/__fieldtrip/_nex_ts.py @@ -2,7 +2,7 @@ def _nex_ts(*args, **kwargs): - """ + r""" nex_ts(filename, varname): Read timestamps from a .nex file [n, ts] = nex_ts(filename, varname) @@ -15,9 +15,12 @@ def _nex_ts(*args, **kwargs): ts - array of timestamps (in seconds) - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/nex_ts.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/nex_ts.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("nex_ts", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_nex_wf.py b/spm/__external/__fieldtrip/_nex_wf.py index 5fad323e..c51ab553 100644 --- a/spm/__external/__fieldtrip/_nex_wf.py +++ b/spm/__external/__fieldtrip/_nex_wf.py @@ -2,7 +2,7 @@ def _nex_wf(*args, **kwargs): - """ + r""" nex_wf(filename, varname): Read waveform variable from a .nex file [adfreq, n, ts, nf, w] = nex_wf(filename, varname) @@ -19,9 +19,12 @@ def _nex_wf(*args, **kwargs): w - matrix of waveform a/d values [n nf] (in millivolts) - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/nex_wf.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/nex_wf.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("nex_wf", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_nimh2grad.py b/spm/__external/__fieldtrip/_nimh2grad.py index b506b83a..bde296fe 100644 --- a/spm/__external/__fieldtrip/_nimh2grad.py +++ b/spm/__external/__fieldtrip/_nimh2grad.py @@ -2,7 +2,7 @@ def _nimh2grad(*args, **kwargs): - """ + r""" NIMH2GRAD constructs a gradiometer definition from the res4 header whish is read using the NIMH implementation of ctf_read_res4. The grad structure is compatible with FieldTrip and Robert Oostenveld's low-level @@ -15,9 +15,12 @@ def _nimh2grad(*args, **kwargs): See also CTF2GRAD, FIF2GRAD - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/nimh2grad.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/nimh2grad.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("nimh2grad", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_normals_elec.py b/spm/__external/__fieldtrip/_normals_elec.py new file mode 100644 index 00000000..df986507 --- /dev/null +++ b/spm/__external/__fieldtrip/_normals_elec.py @@ -0,0 +1,27 @@ +from spm._runtime import Runtime + + +def _normals_elec(*args, **kwargs): + r""" + NORMALS_ELEC computes the orientation of the electrodes from the given + triangulated headshape + + Use as + nrm = normals_elec(elc, pos, tri) + where + elc = Kx3 matrix with the position of all electrodes + pos = Mx3 matrix with vertex locations of the triangulated headshape + tri = Nx3 matrix with the vertex indices for each of the triangles + + See also PROJECT_ELEC, TRANSFER_ELEC, PCNORMALS + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/normals_elec.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("normals_elec", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_notchfilter.py b/spm/__external/__fieldtrip/_notchfilter.py index e9a9456c..6897c901 100644 --- a/spm/__external/__fieldtrip/_notchfilter.py +++ b/spm/__external/__fieldtrip/_notchfilter.py @@ -2,7 +2,7 @@ def _notchfilter(*args, **kwargs): - """ + r""" NOTCHFILTER line noise reduction filter for EEG/MEG data [filt] = notchfilter(dat, Fsample, Fline) @@ -17,9 +17,12 @@ def _notchfilter(*args, **kwargs): if Fline is specified as [low high], that band is filtered out - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/notchfilter.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/notchfilter.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("notchfilter", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_offset2time.py b/spm/__external/__fieldtrip/_offset2time.py index 9f639d45..8acb4072 100644 --- a/spm/__external/__fieldtrip/_offset2time.py +++ b/spm/__external/__fieldtrip/_offset2time.py @@ -2,7 +2,7 @@ def _offset2time(*args, **kwargs): - """ + r""" OFFSET2TIME converts the offset of a trial definition into a time-axis according to the definition from DEFINETRIAL @@ -19,9 +19,12 @@ def _offset2time(*args, **kwargs): negative offset indicates a trial beginning before the trigger. - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/offset2time.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/offset2time.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("offset2time", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_open_figure.py b/spm/__external/__fieldtrip/_open_figure.py index f8253138..6392796e 100644 --- a/spm/__external/__fieldtrip/_open_figure.py +++ b/spm/__external/__fieldtrip/_open_figure.py @@ -2,7 +2,7 @@ def _open_figure(*args, **kwargs): - """ + r""" OPEN_FIGURE is a helper function to open a figure with some specific settings consistent over all FieldTrip functions that do plotting and/or that show a graphical user interface. @@ -10,9 +10,12 @@ def _open_figure(*args, **kwargs): See also GCA, GCF, GROOT, - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/open_figure.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/open_figure.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("open_figure", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_openedf.py b/spm/__external/__fieldtrip/_openedf.py index cd582d23..4d755cbb 100644 --- a/spm/__external/__fieldtrip/_openedf.py +++ b/spm/__external/__fieldtrip/_openedf.py @@ -2,15 +2,18 @@ def _openedf(*args, **kwargs): - """ + r""" EDF=openedf(FILENAME) Opens an EDF File (European Data Format for Biosignals) in MATLAB (R) About EDF - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/openedf.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/openedf.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("openedf", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_opto2elec.py b/spm/__external/__fieldtrip/_opto2elec.py new file mode 100644 index 00000000..8e7970d9 --- /dev/null +++ b/spm/__external/__fieldtrip/_opto2elec.py @@ -0,0 +1,19 @@ +from spm._runtime import Runtime + + +def _opto2elec(*args, **kwargs): + r""" + OPTTO2ELEC converts an opto structure to an elec structure + + See also GRAD2ELEC + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/opto2elec.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("opto2elec", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_opto2homer.py b/spm/__external/__fieldtrip/_opto2homer.py index f44504f8..63ce868b 100644 --- a/spm/__external/__fieldtrip/_opto2homer.py +++ b/spm/__external/__fieldtrip/_opto2homer.py @@ -2,7 +2,7 @@ def _opto2homer(*args, **kwargs): - """ + r""" OPTO2HOMER constructs a Homer-compatible sensor definition (SD) from a FieldTrip opto structure. @@ -26,9 +26,12 @@ def _opto2homer(*args, **kwargs): See also HOMER2OPTO, FT_DATATYPE_SENS - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/opto2homer.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/opto2homer.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("opto2homer", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_outline_shape.py b/spm/__external/__fieldtrip/_outline_shape.py new file mode 100644 index 00000000..767fc8b3 --- /dev/null +++ b/spm/__external/__fieldtrip/_outline_shape.py @@ -0,0 +1,20 @@ +from spm._runtime import Runtime + + +def _outline_shape(*args, **kwargs): + r""" + helper function for ft_prepare_layout and ft_plot_topo to create an + outline (to-be-plotted), or a mask (to use as extrapolation boundary). + The input is either a layout structure, or an Nx2 matrix with point + positions. + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/outline_shape.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("outline_shape", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_parameterselection.py b/spm/__external/__fieldtrip/_parameterselection.py index d7f91505..d3c74cc0 100644 --- a/spm/__external/__fieldtrip/_parameterselection.py +++ b/spm/__external/__fieldtrip/_parameterselection.py @@ -2,7 +2,7 @@ def _parameterselection(*args, **kwargs): - """ + r""" PARAMETERSELECTION selects the parameters that are present as a volume in the data add that have a dimension that is compatible with the specified dimensions of the volume, i.e. either as a vector or as a 3D volume. @@ -15,9 +15,12 @@ def _parameterselection(*args, **kwargs): select returns the selected parameters as a cell-array - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/parameterselection.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/parameterselection.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("parameterselection", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_parsekeyboardevent.py b/spm/__external/__fieldtrip/_parsekeyboardevent.py index eb750aef..ba3ab34e 100644 --- a/spm/__external/__fieldtrip/_parsekeyboardevent.py +++ b/spm/__external/__fieldtrip/_parsekeyboardevent.py @@ -2,15 +2,18 @@ def _parsekeyboardevent(*args, **kwargs): - """ + r""" PARSEKEYBOARDEVENT handles keyboard events for Windows, Mac OSX and Linux systems. shift+numpad number does not work on UNIX, since the shift modifier is always sent for numpad events - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/parsekeyboardevent.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/parsekeyboardevent.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("parsekeyboardevent", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_patchsvd.py b/spm/__external/__fieldtrip/_patchsvd.py index eab97d93..95528a3c 100644 --- a/spm/__external/__fieldtrip/_patchsvd.py +++ b/spm/__external/__fieldtrip/_patchsvd.py @@ -2,7 +2,7 @@ def _patchsvd(*args, **kwargs): - """ + r""" PATCHSVD computes a linear basis to span the leadfield for a defined patch of the source space. It is called by FT_PREPARE_LEADFIELD. This function was originally written to do something like Limpiti et al. @@ -30,9 +30,12 @@ def _patchsvd(*args, **kwargs): See also FT_VIRTUALCHANNEL - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/patchsvd.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/patchsvd.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("patchsvd", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_peakdetect2.py b/spm/__external/__fieldtrip/_peakdetect2.py index 79ab24ca..57654f97 100644 --- a/spm/__external/__fieldtrip/_peakdetect2.py +++ b/spm/__external/__fieldtrip/_peakdetect2.py @@ -2,7 +2,7 @@ def _peakdetect2(*args, **kwargs): - """ + r""" PEAKDETECT2 detects peaks above a certain threshold in single-channel data Use as @@ -13,9 +13,12 @@ def _peakdetect2(*args, **kwargs): See also PEAKDETECT, PEAKDETECT3 - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/peakdetect2.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/peakdetect2.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("peakdetect2", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_peakdetect3.py b/spm/__external/__fieldtrip/_peakdetect3.py index 86206f04..9c5bf4c9 100644 --- a/spm/__external/__fieldtrip/_peakdetect3.py +++ b/spm/__external/__fieldtrip/_peakdetect3.py @@ -2,7 +2,7 @@ def _peakdetect3(*args, **kwargs): - """ + r""" PEAKDETECT3 detects peaks above a certain threshold in single-channel data Use as @@ -11,9 +11,12 @@ def _peakdetect3(*args, **kwargs): See also PEAKDETECT, PEAKDETECT2 - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/peakdetect3.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/peakdetect3.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("peakdetect3", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_pinvNx2.py b/spm/__external/__fieldtrip/_pinvNx2.py index 2087433c..7fcd2089 100644 --- a/spm/__external/__fieldtrip/_pinvNx2.py +++ b/spm/__external/__fieldtrip/_pinvNx2.py @@ -2,15 +2,18 @@ def _pinvNx2(*args, **kwargs): - """ + r""" PINVNX2 computes a pseudo-inverse of the M slices of an MxNx2 real-valued matrix. Output has dimensionality Mx2xN. This implementation is generally faster than calling pinv in a for-loop, once M > 2 - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/pinvNx2.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/pinvNx2.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("pinvNx2", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_plgndr.py b/spm/__external/__fieldtrip/_plgndr.py index 8bcbd36e..0ac47a28 100644 --- a/spm/__external/__fieldtrip/_plgndr.py +++ b/spm/__external/__fieldtrip/_plgndr.py @@ -2,18 +2,20 @@ def _plgndr(*args, **kwargs): - """ - PLGNDR associated Legendre function - - y = plgndr(n,k,x) computes the values of the associated Legendre functions + r""" + PLGNDR computes the values of the associated Legendre functions of degree N and order K - implemented as MEX file + Use as + y = plgndr(n,k,x) - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/plgndr.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/plgndr.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("plgndr", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_plinprojn.py b/spm/__external/__fieldtrip/_plinprojn.py index 20085cd1..2a1573d9 100644 --- a/spm/__external/__fieldtrip/_plinprojn.py +++ b/spm/__external/__fieldtrip/_plinprojn.py @@ -2,7 +2,7 @@ def _plinprojn(*args, **kwargs): - """ + r""" PLINPROJN projects a point onto a line or linepiece [proj, dist] = plinprojn(l1, l2, r, flag) @@ -17,9 +17,12 @@ def _plinprojn(*args, **kwargs): 1 project the point within or on the edge of the linepiece - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/plinprojn.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/plinprojn.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("plinprojn", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_pntdist.py b/spm/__external/__fieldtrip/_pntdist.py index 5c23f1f7..4c2643ce 100644 --- a/spm/__external/__fieldtrip/_pntdist.py +++ b/spm/__external/__fieldtrip/_pntdist.py @@ -2,7 +2,7 @@ def _pntdist(*args, **kwargs): - """ + r""" PNTDIST returns the euclidian distance between two points [dist] = pntdist(pnt1, pnt2) @@ -11,9 +11,12 @@ def _pntdist(*args, **kwargs): or either one can be Npnt x 1 - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/pntdist.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/pntdist.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("pntdist", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_poly2tri.py b/spm/__external/__fieldtrip/_poly2tri.py index 6054c9fa..0ffc07c8 100644 --- a/spm/__external/__fieldtrip/_poly2tri.py +++ b/spm/__external/__fieldtrip/_poly2tri.py @@ -2,7 +2,7 @@ def _poly2tri(*args, **kwargs): - """ + r""" POLY2TRI converts the polygons in a mesh to triangles by splitting them in half. The input polygons should consist of 4 vertices. Curvature is not considered and the resulting split will only be @@ -11,12 +11,15 @@ def _poly2tri(*args, **kwargs): Use as mesh = poly2tri(mesh) - See also MESH2EDGE + See also MESH2EDGE, TRI2BND - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/poly2tri.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/poly2tri.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("poly2tri", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_pos2dim.py b/spm/__external/__fieldtrip/_pos2dim.py index c69c042b..c2404304 100644 --- a/spm/__external/__fieldtrip/_pos2dim.py +++ b/spm/__external/__fieldtrip/_pos2dim.py @@ -2,7 +2,7 @@ def _pos2dim(*args, **kwargs): - """ + r""" POS2DIM reconstructs the volumetric dimensions from an ordered list of positions. @@ -16,9 +16,12 @@ def _pos2dim(*args, **kwargs): See also POS2TRANSFORM - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/pos2dim.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/pos2dim.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("pos2dim", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_pos2dim3d.py b/spm/__external/__fieldtrip/_pos2dim3d.py index bd463c35..104c4af9 100644 --- a/spm/__external/__fieldtrip/_pos2dim3d.py +++ b/spm/__external/__fieldtrip/_pos2dim3d.py @@ -2,7 +2,7 @@ def _pos2dim3d(*args, **kwargs): - """ + r""" POS2DIM3D reconstructs the volumetric dimensions from an ordered list of positions. optionally, the original dim can be provided, and the (2:end) elements are appended to the output. @@ -19,9 +19,12 @@ def _pos2dim3d(*args, **kwargs): See also POS2DIM, POS2TRANSFORM - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/pos2dim3d.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/pos2dim3d.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("pos2dim3d", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_pos2transform.py b/spm/__external/__fieldtrip/_pos2transform.py index a96f29aa..72ff8a05 100644 --- a/spm/__external/__fieldtrip/_pos2transform.py +++ b/spm/__external/__fieldtrip/_pos2transform.py @@ -2,7 +2,7 @@ def _pos2transform(*args, **kwargs): - """ + r""" POS2TRANSFORM reconstructs a transformation matrix from an ordered list of positions. @@ -16,9 +16,12 @@ def _pos2transform(*args, **kwargs): See also POS2DIM - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/pos2transform.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/pos2transform.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("pos2transform", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_prepare_design.py b/spm/__external/__fieldtrip/_prepare_design.py index 08628a1e..c3491b92 100644 --- a/spm/__external/__fieldtrip/_prepare_design.py +++ b/spm/__external/__fieldtrip/_prepare_design.py @@ -2,7 +2,7 @@ def _prepare_design(*args, **kwargs): - """ + r""" PREPARE_DESIGN makes a design matrix on the basis of the information in cfg (i.c., cfg.statistic, cfg.ext, and an initial design in cfg.design) and puts this design matrix in cfg.design. PREPARE_DESIGN also gives default @@ -47,9 +47,12 @@ def _prepare_design(*args, **kwargs): specifying 'ivar' and 'cvar'. - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/prepare_design.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/prepare_design.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("prepare_design", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_prepare_freq_matrices.py b/spm/__external/__fieldtrip/_prepare_freq_matrices.py index 143bb741..661b0395 100644 --- a/spm/__external/__fieldtrip/_prepare_freq_matrices.py +++ b/spm/__external/__fieldtrip/_prepare_freq_matrices.py @@ -2,7 +2,7 @@ def _prepare_freq_matrices(*args, **kwargs): - """ + r""" %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% SUBFUNCTION that converts a freq structure into Cf, Cr and Pr this is used in FT_SOURCEANALYSIS @@ -17,9 +17,12 @@ def _prepare_freq_matrices(*args, **kwargs): %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/prepare_freq_matrices.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/prepare_freq_matrices.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("prepare_freq_matrices", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_prepare_headmodel.py b/spm/__external/__fieldtrip/_prepare_headmodel.py index 9a406fcb..d3f5c6d0 100644 --- a/spm/__external/__fieldtrip/_prepare_headmodel.py +++ b/spm/__external/__fieldtrip/_prepare_headmodel.py @@ -2,7 +2,7 @@ def _prepare_headmodel(*args, **kwargs): - """ + r""" %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% SUBFUNCTION that helps to prepare the electrodes/gradiometers and the volume conduction model. This is used in sourceanalysis and dipolefitting. @@ -22,9 +22,12 @@ def _prepare_headmodel(*args, **kwargs): %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/prepare_headmodel.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/prepare_headmodel.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("prepare_headmodel", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_prepare_mesh_cortexhull.py b/spm/__external/__fieldtrip/_prepare_mesh_cortexhull.py index c48c8587..179fb35f 100644 --- a/spm/__external/__fieldtrip/_prepare_mesh_cortexhull.py +++ b/spm/__external/__fieldtrip/_prepare_mesh_cortexhull.py @@ -2,7 +2,7 @@ def _prepare_mesh_cortexhull(*args, **kwargs): - """ + r""" PREPARE_MESH_CORTEXHULL creates a mesh representing the cortex hull, i.e. the smoothed envelope around the pial surface created by FreeSurfer @@ -27,9 +27,12 @@ def _prepare_mesh_cortexhull(*args, **kwargs): See also FT_PREPARE_MESH - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/prepare_mesh_cortexhull.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/prepare_mesh_cortexhull.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("prepare_mesh_cortexhull", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_prepare_mesh_fittemplate.py b/spm/__external/__fieldtrip/_prepare_mesh_fittemplate.py index 6663326a..b1145bac 100644 --- a/spm/__external/__fieldtrip/_prepare_mesh_fittemplate.py +++ b/spm/__external/__fieldtrip/_prepare_mesh_fittemplate.py @@ -2,7 +2,7 @@ def _prepare_mesh_fittemplate(*args, **kwargs): - """ + r""" PREPARE_MESH_FITTEMPLATE computes an affine transformation matrix between 2 point clouds This function relies on cpd toolbox from Myronenko, see https://sites.google.com/site/myronenko/research/cpd @@ -10,9 +10,12 @@ def _prepare_mesh_fittemplate(*args, **kwargs): See also FT_PREPARE_MESH - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/prepare_mesh_fittemplate.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/prepare_mesh_fittemplate.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("prepare_mesh_fittemplate", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_prepare_mesh_headshape.py b/spm/__external/__fieldtrip/_prepare_mesh_headshape.py index 501538bc..c4f0ab37 100644 --- a/spm/__external/__fieldtrip/_prepare_mesh_headshape.py +++ b/spm/__external/__fieldtrip/_prepare_mesh_headshape.py @@ -2,7 +2,7 @@ def _prepare_mesh_headshape(*args, **kwargs): - """ + r""" PREPARE_MESH_HEADSHAPE Configuration options should include @@ -16,9 +16,12 @@ def _prepare_mesh_headshape(*args, **kwargs): See also PREPARE_MESH_MANUAL, PREPARE_MESH_SEGMENTATION - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/prepare_mesh_headshape.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/prepare_mesh_headshape.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("prepare_mesh_headshape", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_prepare_mesh_hexahedral.py b/spm/__external/__fieldtrip/_prepare_mesh_hexahedral.py index e08ca854..ba13fc19 100644 --- a/spm/__external/__fieldtrip/_prepare_mesh_hexahedral.py +++ b/spm/__external/__fieldtrip/_prepare_mesh_hexahedral.py @@ -2,7 +2,7 @@ def _prepare_mesh_hexahedral(*args, **kwargs): - """ + r""" PREPARE_MESH_HEXAHEDRAL Configuration options for generating a regular 3-D grid @@ -13,9 +13,12 @@ def _prepare_mesh_hexahedral(*args, **kwargs): See also PREPARE_MESH_SEGMENTATION, PREPARE_MESH_MANUAL, PREPARE_MESH_HEADSHAPE - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/prepare_mesh_hexahedral.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/prepare_mesh_hexahedral.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("prepare_mesh_hexahedral", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_prepare_mesh_manual.py b/spm/__external/__fieldtrip/_prepare_mesh_manual.py index 253a5e64..0983a509 100644 --- a/spm/__external/__fieldtrip/_prepare_mesh_manual.py +++ b/spm/__external/__fieldtrip/_prepare_mesh_manual.py @@ -2,7 +2,7 @@ def _prepare_mesh_manual(*args, **kwargs): - """ + r""" PREPARE_MESH_MANUAL is called by PREPARE_MESH and opens a GUI to manually select points/polygons in an mri dataset. @@ -17,9 +17,12 @@ def _prepare_mesh_manual(*args, **kwargs): See also PREPARE_MESH_SEGMENTATION, PREPARE_MESH_HEADSHAPE - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/prepare_mesh_manual.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/prepare_mesh_manual.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("prepare_mesh_manual", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_prepare_mesh_segmentation.py b/spm/__external/__fieldtrip/_prepare_mesh_segmentation.py index 494d6baf..8180ba29 100644 --- a/spm/__external/__fieldtrip/_prepare_mesh_segmentation.py +++ b/spm/__external/__fieldtrip/_prepare_mesh_segmentation.py @@ -2,7 +2,7 @@ def _prepare_mesh_segmentation(*args, **kwargs): - """ + r""" PREPARE_MESH_SEGMENTATION The following configuration options can be specified for the iso2mesh method @@ -15,9 +15,12 @@ def _prepare_mesh_segmentation(*args, **kwargs): PREPARE_MESH_TETRAHEDRAL - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/prepare_mesh_segmentation.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/prepare_mesh_segmentation.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("prepare_mesh_segmentation", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_prepare_mesh_tetrahedral.py b/spm/__external/__fieldtrip/_prepare_mesh_tetrahedral.py index 8474a046..e1371765 100644 --- a/spm/__external/__fieldtrip/_prepare_mesh_tetrahedral.py +++ b/spm/__external/__fieldtrip/_prepare_mesh_tetrahedral.py @@ -2,16 +2,19 @@ def _prepare_mesh_tetrahedral(*args, **kwargs): - """ + r""" PREPARE_MESH_TETRAHEDRAL See also PREPARE_MESH_MANUAL, PREPARE_MESH_HEADSHAPE, PREPARE_MESH_HEXAHEDRAL, PREPARE_MESH_SEGMENTATION - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/prepare_mesh_tetrahedral.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/prepare_mesh_tetrahedral.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("prepare_mesh_tetrahedral", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_prepare_resampled_data.py b/spm/__external/__fieldtrip/_prepare_resampled_data.py index 353c8b25..b9b8ab70 100644 --- a/spm/__external/__fieldtrip/_prepare_resampled_data.py +++ b/spm/__external/__fieldtrip/_prepare_resampled_data.py @@ -2,7 +2,7 @@ def _prepare_resampled_data(*args, **kwargs): - """ + r""" PREPARE_RESAMPLED_DATA performs resampling of the input data for multiple variables in a single or multiple conditions. The resampling will be performed along the first dimension of every input variable. This @@ -40,9 +40,12 @@ def _prepare_resampled_data(*args, **kwargs): [cfg, r11..., r21 ..., r31 ...] = prepare_resampled_data(cfg, o11 ..., o21 ..., o31 ...); - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/prepare_resampled_data.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/prepare_resampled_data.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("prepare_resampled_data", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_preproc.py b/spm/__external/__fieldtrip/_preproc.py index 3eed2c1a..f6198ed4 100644 --- a/spm/__external/__fieldtrip/_preproc.py +++ b/spm/__external/__fieldtrip/_preproc.py @@ -2,7 +2,7 @@ def _preproc(*args, **kwargs): - """ + r""" PREPROC applies various preprocessing steps on a single piece of EEG/MEG data that has been read from a data file. @@ -117,9 +117,12 @@ def _preproc(*args, **kwargs): See also FT_READ_DATA, FT_READ_HEADER - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/preproc.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/preproc.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("preproc", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_print_tim.py b/spm/__external/__fieldtrip/_print_tim.py index fcc41955..664206a6 100644 --- a/spm/__external/__fieldtrip/_print_tim.py +++ b/spm/__external/__fieldtrip/_print_tim.py @@ -2,13 +2,16 @@ def _print_tim(*args, **kwargs): - """ + r""" SUBFUNCTION for pretty-printing time in hours, minutes, ... - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/print_tim.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/print_tim.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("print_tim", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_procrustes_trans.py b/spm/__external/__fieldtrip/_procrustes_trans.py index 218db45b..0f898395 100644 --- a/spm/__external/__fieldtrip/_procrustes_trans.py +++ b/spm/__external/__fieldtrip/_procrustes_trans.py @@ -2,7 +2,7 @@ def _procrustes_trans(*args, **kwargs): - """ + r""" PROCRUSTES_TRANS returns the homogenous coordinate transformation matrix that warps the specified input points to the target points. @@ -19,9 +19,12 @@ def _procrustes_trans(*args, **kwargs): See also WARP_OPTIM, HEADCOORDINATES - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/procrustes_trans.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/procrustes_trans.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("procrustes_trans", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_project_elec.py b/spm/__external/__fieldtrip/_project_elec.py index 4c5cc815..e1f41ccd 100644 --- a/spm/__external/__fieldtrip/_project_elec.py +++ b/spm/__external/__fieldtrip/_project_elec.py @@ -2,22 +2,30 @@ def _project_elec(*args, **kwargs): - """ + r""" PROJECT_ELEC projects electrodes on a triangulated surface and returns triangle index, la/mu parameters and distance Use as [el, prj] = project_elec(elc, pnt, tri) - which returns + with + elc = Kx3 matrix with the position of all electrodes + pos = Mx3 matrix with the vertex locations of the triangulated headshape + tri = Nx3 matrix with the vertex indices for each of the triangles + + This function returns el = Nx4 matrix with [tri, la, mu, dist] for each electrode prj = Nx3 matrix with the projected electrode position See also TRANSFER_ELEC - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/project_elec.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/project_elec.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("project_elec", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_projecttri.py b/spm/__external/__fieldtrip/_projecttri.py index 72163573..3e671cf8 100644 --- a/spm/__external/__fieldtrip/_projecttri.py +++ b/spm/__external/__fieldtrip/_projecttri.py @@ -2,7 +2,7 @@ def _projecttri(*args, **kwargs): - """ + r""" PROJECTTRI makes a closed triangulation of a list of vertices by projecting them onto a unit sphere and subsequently by constructing a convex hull triangulation. @@ -14,9 +14,12 @@ def _projecttri(*args, **kwargs): See also SURFACE_NORMALS, PCNORMALS, ELPROJ - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/projecttri.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/projecttri.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("projecttri", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_ptriproj.py b/spm/__external/__fieldtrip/_ptriproj.py index e46394fd..f198a8f9 100644 --- a/spm/__external/__fieldtrip/_ptriproj.py +++ b/spm/__external/__fieldtrip/_ptriproj.py @@ -2,7 +2,7 @@ def _ptriproj(*args, **kwargs): - """ + r""" PTRIPROJ projects a point onto the plane going through a triangle Use as @@ -15,9 +15,12 @@ def _ptriproj(*args, **kwargs): 1 project the point within or on the edge of the triangle - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/ptriproj.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/ptriproj.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ptriproj", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_ptriprojn.py b/spm/__external/__fieldtrip/_ptriprojn.py index d1d74140..9143395c 100644 --- a/spm/__external/__fieldtrip/_ptriprojn.py +++ b/spm/__external/__fieldtrip/_ptriprojn.py @@ -2,7 +2,7 @@ def _ptriprojn(*args, **kwargs): - """ + r""" PTRIPROJN projects a point onto the plane going through a set of triangles @@ -18,9 +18,12 @@ def _ptriprojn(*args, **kwargs): 1 project the point within or on the edge of the triangle - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/ptriprojn.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/ptriprojn.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ptriprojn", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_ptriside.py b/spm/__external/__fieldtrip/_ptriside.py index 4f58048d..76384ed3 100644 --- a/spm/__external/__fieldtrip/_ptriside.py +++ b/spm/__external/__fieldtrip/_ptriside.py @@ -2,7 +2,7 @@ def _ptriside(*args, **kwargs): - """ + r""" PTRISIDE determines the side of a plane on which a set of points lie. It returns 0 for the points that lie exactly on the plane. @@ -13,9 +13,12 @@ def _ptriside(*args, **kwargs): Nx3 matrix - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/ptriside.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/ptriside.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ptriside", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_quaternion.py b/spm/__external/__fieldtrip/_quaternion.py index 85caacfc..432ca827 100644 --- a/spm/__external/__fieldtrip/_quaternion.py +++ b/spm/__external/__fieldtrip/_quaternion.py @@ -2,7 +2,7 @@ def _quaternion(*args, **kwargs): - """ + r""" QUATERNION returns the homogenous coordinate transformation matrix corresponding to a coordinate transformation described by 7 quaternion parameters. @@ -20,9 +20,12 @@ def _quaternion(*args, **kwargs): See also TRANSLATE, ROTATE, SCALE, HOMOGENOUS2QUATERNION - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/quaternion.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/quaternion.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("quaternion", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_randstatprob.py b/spm/__external/__fieldtrip/_randstatprob.py index d792628f..7037a9eb 100644 --- a/spm/__external/__fieldtrip/_randstatprob.py +++ b/spm/__external/__fieldtrip/_randstatprob.py @@ -2,7 +2,7 @@ def _randstatprob(*args, **kwargs): - """ + r""" RANDSTATPROB computes the non-parametric probability of the observed value under the assumption that the random observations are equally probable under the null hypothesis. @@ -25,9 +25,12 @@ def _randstatprob(*args, **kwargs): of all voxels for each randomization. - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/randstatprob.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/randstatprob.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("randstatprob", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_raw2data.py b/spm/__external/__fieldtrip/_raw2data.py index 4349d5cd..874aff78 100644 --- a/spm/__external/__fieldtrip/_raw2data.py +++ b/spm/__external/__fieldtrip/_raw2data.py @@ -2,7 +2,7 @@ def _raw2data(*args, **kwargs): - """ + r""" RAW2DATA is a helper function that converts raw data to various types of averages. This function is used to apply the analysis steps that were written for use on preprocessed data also on averaged data. @@ -10,9 +10,12 @@ def _raw2data(*args, **kwargs): This function is the counterpart of DATA2RAW and is used in MEGREALIGN, MEGPLANAR, MEGREPAIR - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/raw2data.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/raw2data.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("raw2data", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_read_besa_avr.py b/spm/__external/__fieldtrip/_read_besa_avr.py index 47308eb0..3235f31f 100644 --- a/spm/__external/__fieldtrip/_read_besa_avr.py +++ b/spm/__external/__fieldtrip/_read_besa_avr.py @@ -2,7 +2,7 @@ def _read_besa_avr(*args, **kwargs): - """ + r""" READ_BESA_AVR reads average EEG data in BESA format Use as @@ -20,9 +20,12 @@ def _read_besa_avr(*args, **kwargs): avr.data - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/read_besa_avr.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/read_besa_avr.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("read_besa_avr", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_read_besa_mul.py b/spm/__external/__fieldtrip/_read_besa_mul.py index 0c492cf9..c43428a8 100644 --- a/spm/__external/__fieldtrip/_read_besa_mul.py +++ b/spm/__external/__fieldtrip/_read_besa_mul.py @@ -2,16 +2,19 @@ def _read_besa_mul(*args, **kwargs): - """ + r""" READ_BESA_MUL reads data from a BESA multiplexed (*.mul) file Use as dat = read_besa_mul(filename); - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/read_besa_mul.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/read_besa_mul.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("read_besa_mul", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_read_besa_src.py b/spm/__external/__fieldtrip/_read_besa_src.py index 1c6ac716..f1553f16 100644 --- a/spm/__external/__fieldtrip/_read_besa_src.py +++ b/spm/__external/__fieldtrip/_read_besa_src.py @@ -2,7 +2,7 @@ def _read_besa_src(*args, **kwargs): - """ + r""" READ_BESA_SRC reads a beamformer source reconstruction from a BESA file Use as @@ -12,9 +12,12 @@ def _read_besa_src(*args, **kwargs): of the file. - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/read_besa_src.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/read_besa_src.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("read_besa_src", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_read_besa_swf.py b/spm/__external/__fieldtrip/_read_besa_swf.py index d670272f..14a6b923 100644 --- a/spm/__external/__fieldtrip/_read_besa_swf.py +++ b/spm/__external/__fieldtrip/_read_besa_swf.py @@ -2,7 +2,7 @@ def _read_besa_swf(*args, **kwargs): - """ + r""" READ_BESA_SWF Use as @@ -17,9 +17,12 @@ def _read_besa_swf(*args, **kwargs): swf.sb - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/read_besa_swf.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/read_besa_swf.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("read_besa_swf", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_read_besa_tfc.py b/spm/__external/__fieldtrip/_read_besa_tfc.py index 493acdeb..deac2e87 100644 --- a/spm/__external/__fieldtrip/_read_besa_tfc.py +++ b/spm/__external/__fieldtrip/_read_besa_tfc.py @@ -2,7 +2,7 @@ def _read_besa_tfc(*args, **kwargs): - """ + r""" READ_BESA_TFC imports data from a BESA *.tfc file Use as @@ -23,9 +23,12 @@ def _read_besa_tfc(*args, **kwargs): EvokedSignalSubtraction: Type of evoked signal subtraction - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/read_besa_tfc.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/read_besa_tfc.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("read_besa_tfc", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_read_ctf_hc.py b/spm/__external/__fieldtrip/_read_ctf_hc.py index 2d3ccc0a..a5418cb9 100644 --- a/spm/__external/__fieldtrip/_read_ctf_hc.py +++ b/spm/__external/__fieldtrip/_read_ctf_hc.py @@ -2,7 +2,7 @@ def _read_ctf_hc(*args, **kwargs): - """ + r""" READ_CTF_HC reads the MEG headcoil marker positions from an ascii file and computes the coordinate transformation required to get from from dewar to head-coordinates @@ -36,9 +36,12 @@ def _read_ctf_hc(*args, **kwargs): the warp3d function from the WARPING toolbox - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/read_ctf_hc.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/read_ctf_hc.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("read_ctf_hc", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_read_ctf_hist.py b/spm/__external/__fieldtrip/_read_ctf_hist.py index 18c67afd..b426b28c 100644 --- a/spm/__external/__fieldtrip/_read_ctf_hist.py +++ b/spm/__external/__fieldtrip/_read_ctf_hist.py @@ -2,13 +2,16 @@ def _read_ctf_hist(*args, **kwargs): - """ + r""" READ_CTF_HIST - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/read_ctf_hist.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/read_ctf_hist.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("read_ctf_hist", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_read_imotions_txt.py b/spm/__external/__fieldtrip/_read_imotions_txt.py index fa8879ed..a7516f10 100644 --- a/spm/__external/__fieldtrip/_read_imotions_txt.py +++ b/spm/__external/__fieldtrip/_read_imotions_txt.py @@ -2,7 +2,7 @@ def _read_imotions_txt(*args, **kwargs): - """ + r""" READ_IMOTIONS_TXT reads *.txt files that are exported from the iMotions software. Use as @@ -11,9 +11,12 @@ def _read_imotions_txt(*args, **kwargs): See also TEXTSCAN - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/read_imotions_txt.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/read_imotions_txt.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("read_imotions_txt", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_read_labview_dtlg.py b/spm/__external/__fieldtrip/_read_labview_dtlg.py index 479c50be..6688ab66 100644 --- a/spm/__external/__fieldtrip/_read_labview_dtlg.py +++ b/spm/__external/__fieldtrip/_read_labview_dtlg.py @@ -2,7 +2,7 @@ def _read_labview_dtlg(*args, **kwargs): - """ + r""" READ_LABVIEW_DTLG Use as @@ -12,9 +12,12 @@ def _read_labview_dtlg(*args, **kwargs): The output of this function is a structure. - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/read_labview_dtlg.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/read_labview_dtlg.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("read_labview_dtlg", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_refine.py b/spm/__external/__fieldtrip/_refine.py index 972449e6..307ceae6 100644 --- a/spm/__external/__fieldtrip/_refine.py +++ b/spm/__external/__fieldtrip/_refine.py @@ -2,12 +2,13 @@ def _refine(*args, **kwargs): - """ + r""" REFINE a 3D surface that is described by a triangulation Use as [pos, tri] = refine(pos, tri) [pos, tri] = refine(pos, tri, 'banks') + [pos, tri] = refine(pos, tri, 'midpoint') [pos, tri, texture] = refine(pos, tri, 'banks', texture) [pos, tri] = refine(pos, tri, 'updown', numtri) @@ -31,9 +32,12 @@ def _refine(*args, **kwargs): reference. - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/refine.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/refine.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("refine", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_regularize_in.py b/spm/__external/__fieldtrip/_regularize_in.py new file mode 100644 index 00000000..6970bfdc --- /dev/null +++ b/spm/__external/__fieldtrip/_regularize_in.py @@ -0,0 +1,18 @@ +from spm._runtime import Runtime + + +def _regularize_in(*args, **kwargs): + r""" + regularize_in is a function. + [in_removes, out_removes] = regularize_in(int_order, ext_order, S, ismag, extended_remove) + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/regularize_in.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("regularize_in", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_regularize_out.py b/spm/__external/__fieldtrip/_regularize_out.py new file mode 100644 index 00000000..27b9c305 --- /dev/null +++ b/spm/__external/__fieldtrip/_regularize_out.py @@ -0,0 +1,18 @@ +from spm._runtime import Runtime + + +def _regularize_out(*args, **kwargs): + r""" + regularize_out is a function. + [out_remove] = regularize_out(int_order, ext_order, S, ismag, extended_remove) + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/regularize_out.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("regularize_out", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_rejectvisual_channel.py b/spm/__external/__fieldtrip/_rejectvisual_channel.py index 71b8d60b..08458d00 100644 --- a/spm/__external/__fieldtrip/_rejectvisual_channel.py +++ b/spm/__external/__fieldtrip/_rejectvisual_channel.py @@ -2,13 +2,16 @@ def _rejectvisual_channel(*args, **kwargs): - """ + r""" SUBFUNCTION for ft_rejectvisual - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/rejectvisual_channel.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/rejectvisual_channel.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("rejectvisual_channel", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_rejectvisual_summary.py b/spm/__external/__fieldtrip/_rejectvisual_summary.py index b511a055..0d85bf97 100644 --- a/spm/__external/__fieldtrip/_rejectvisual_summary.py +++ b/spm/__external/__fieldtrip/_rejectvisual_summary.py @@ -2,13 +2,16 @@ def _rejectvisual_summary(*args, **kwargs): - """ + r""" SUBFUNCTION for ft_rejectvisual - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/rejectvisual_summary.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/rejectvisual_summary.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("rejectvisual_summary", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_rejectvisual_trial.py b/spm/__external/__fieldtrip/_rejectvisual_trial.py index ed61d6a3..eb41d955 100644 --- a/spm/__external/__fieldtrip/_rejectvisual_trial.py +++ b/spm/__external/__fieldtrip/_rejectvisual_trial.py @@ -2,13 +2,16 @@ def _rejectvisual_trial(*args, **kwargs): - """ + r""" SUBFUNCTION for ft_rejectvisual - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/rejectvisual_trial.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/rejectvisual_trial.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("rejectvisual_trial", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_remove_double_vertices.py b/spm/__external/__fieldtrip/_remove_double_vertices.py index c52c0036..2117ac5f 100644 --- a/spm/__external/__fieldtrip/_remove_double_vertices.py +++ b/spm/__external/__fieldtrip/_remove_double_vertices.py @@ -2,7 +2,7 @@ def _remove_double_vertices(*args, **kwargs): - """ + r""" REMOVE_DOUBLE_VERTICES removes double vertices from a triangular, tetrahedral or hexahedral mesh, renumbering the vertex-indices for the elements. @@ -11,12 +11,15 @@ def _remove_double_vertices(*args, **kwargs): [pos, tet] = remove_double_vertices(pos, tet) [pos, hex] = remove_double_vertices(pos, hex) - See also REMOVE_VERTICES + See also REMOVE_VERTICES, REMOVE_UNUSED_VERTICES - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/remove_double_vertices.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/remove_double_vertices.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("remove_double_vertices", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_remove_unused_vertices.py b/spm/__external/__fieldtrip/_remove_unused_vertices.py index 789e2f47..0c0ec915 100644 --- a/spm/__external/__fieldtrip/_remove_unused_vertices.py +++ b/spm/__external/__fieldtrip/_remove_unused_vertices.py @@ -2,7 +2,7 @@ def _remove_unused_vertices(*args, **kwargs): - """ + r""" REMOVE_UNUSED_VERTICES removes unused vertices from a triangular, tetrahedral or hexahedral mesh, renumbering the vertex-indices for the elements. @@ -14,9 +14,12 @@ def _remove_unused_vertices(*args, **kwargs): See also REMOVE_VERTICES, REMOVE_DOUBLE_VERTICES - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/remove_unused_vertices.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/remove_unused_vertices.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("remove_unused_vertices", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_remove_vertices.py b/spm/__external/__fieldtrip/_remove_vertices.py index a4870c08..3b1aaf47 100644 --- a/spm/__external/__fieldtrip/_remove_vertices.py +++ b/spm/__external/__fieldtrip/_remove_vertices.py @@ -2,7 +2,7 @@ def _remove_vertices(*args, **kwargs): - """ + r""" REMOVE_VERTICES removes specified indexed vertices from a triangular, tetrahedral or hexahedral mesh renumbering the vertex-indices for the elements and removing all resulting 'open' elements. @@ -15,9 +15,12 @@ def _remove_vertices(*args, **kwargs): See also REMOVE_DOUBLE_VERTICES, REMOVE_UNUSED_VERTICES - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/remove_vertices.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/remove_vertices.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("remove_vertices", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_reorderdim.py b/spm/__external/__fieldtrip/_reorderdim.py index 7f881d3a..df65e8e5 100644 --- a/spm/__external/__fieldtrip/_reorderdim.py +++ b/spm/__external/__fieldtrip/_reorderdim.py @@ -2,7 +2,7 @@ def _reorderdim(*args, **kwargs): - """ + r""" REORDERDIM reorders array A along dimension dim with the specified indices inds. The following should output 1: @@ -17,9 +17,12 @@ def _reorderdim(*args, **kwargs): dimensions). - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/reorderdim.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/reorderdim.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("reorderdim", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_resampledesign.py b/spm/__external/__fieldtrip/_resampledesign.py index 27e2a20b..cbc0478b 100644 --- a/spm/__external/__fieldtrip/_resampledesign.py +++ b/spm/__external/__fieldtrip/_resampledesign.py @@ -2,7 +2,7 @@ def _resampledesign(*args, **kwargs): - """ + r""" RESAMPLEDESIGN returns a resampling matrix, in which each row can be used to resample either the original design matrix or the original data. The random resampling is done given user-specified constraints on the @@ -50,9 +50,12 @@ def _resampledesign(*args, **kwargs): See also FT_STATISTICS_MONTECARLO - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/resampledesign.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/resampledesign.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("resampledesign", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_retriangulate.py b/spm/__external/__fieldtrip/_retriangulate.py index a7349860..aa04a2b4 100644 --- a/spm/__external/__fieldtrip/_retriangulate.py +++ b/spm/__external/__fieldtrip/_retriangulate.py @@ -2,7 +2,7 @@ def _retriangulate(*args, **kwargs): - """ + r""" RETRIANGULATE projects a triangulation onto another triangulation thereby providing a a new triangulation of the old one. @@ -29,9 +29,12 @@ def _retriangulate(*args, **kwargs): See also ICOSAHEDRONxxx, ISOSURFACE, REDUCEPATCH - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/retriangulate.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/retriangulate.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("retriangulate", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_rigidbody.py b/spm/__external/__fieldtrip/_rigidbody.py index 71590722..22b881f9 100644 --- a/spm/__external/__fieldtrip/_rigidbody.py +++ b/spm/__external/__fieldtrip/_rigidbody.py @@ -2,7 +2,7 @@ def _rigidbody(*args, **kwargs): - """ + r""" RIGIDBODY creates the homogenous spatial transformation matrix for a 6 parameter rigid-body transformation @@ -21,9 +21,12 @@ def _rigidbody(*args, **kwargs): See also ROTATE, TRANSLATE, SCALE, QUATERNION, HOMOGENOUS2TRADITIONAL - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/rigidbody.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/rigidbody.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("rigidbody", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_rmsubfield.py b/spm/__external/__fieldtrip/_rmsubfield.py index 35e37786..0177bc92 100644 --- a/spm/__external/__fieldtrip/_rmsubfield.py +++ b/spm/__external/__fieldtrip/_rmsubfield.py @@ -2,7 +2,7 @@ def _rmsubfield(*args, **kwargs): - """ + r""" RMSUBFIELD removes the contents of the specified field from a structure just like the standard Matlab RMFIELD function, except that you can also specify nested fields using a '.' in the fieldname. The nesting can be @@ -16,9 +16,12 @@ def _rmsubfield(*args, **kwargs): See also SETFIELD, GETSUBFIELD, ISSUBFIELD - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/rmsubfield.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/rmsubfield.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("rmsubfield", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_rollback_provenance.py b/spm/__external/__fieldtrip/_rollback_provenance.py index c7bb61d6..859430b3 100644 --- a/spm/__external/__fieldtrip/_rollback_provenance.py +++ b/spm/__external/__fieldtrip/_rollback_provenance.py @@ -2,7 +2,7 @@ def _rollback_provenance(*args, **kwargs): - """ + r""" ROLLBACK_PROVENANCE rolls the provenance one step back and should be used whenever a FT function calls another FT function without the user being (or having to be) aware of this. @@ -23,9 +23,12 @@ def _rollback_provenance(*args, **kwargs): See also FT_PREAMBLE, FT_POSTAMBLE - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/rollback_provenance.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/rollback_provenance.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("rollback_provenance", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_rotate.py b/spm/__external/__fieldtrip/_rotate.py index d67b9a01..28b39f9e 100644 --- a/spm/__external/__fieldtrip/_rotate.py +++ b/spm/__external/__fieldtrip/_rotate.py @@ -2,7 +2,7 @@ def _rotate(*args, **kwargs): - """ + r""" ROTATE returns the homogenous coordinate transformation matrix corresponding to a rotation around the x, y and z-axis. The direction of the rotation is according to the right-hand rule. @@ -20,9 +20,12 @@ def _rotate(*args, **kwargs): See also TRANSLATE, SCALE, RIGIDBODY, QUATERNION, HOMOGENOUS2TRADITIONAL - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/rotate.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/rotate.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("rotate", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_routlm.py b/spm/__external/__fieldtrip/_routlm.py index b975ffc2..4957e8d4 100644 --- a/spm/__external/__fieldtrip/_routlm.py +++ b/spm/__external/__fieldtrip/_routlm.py @@ -2,7 +2,7 @@ def _routlm(*args, **kwargs): - """ + r""" ROUTLM computes the projection of a point from its la/mu parameters these equal the "Barycentric" coordinates @@ -11,9 +11,12 @@ def _routlm(*args, **kwargs): where v1, v2 and v3 are three vertices of the triangle - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/routlm.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/routlm.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("routlm", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_rv.py b/spm/__external/__fieldtrip/_rv.py index 9b5d4a0f..7e88cde7 100644 --- a/spm/__external/__fieldtrip/_rv.py +++ b/spm/__external/__fieldtrip/_rv.py @@ -2,15 +2,18 @@ def _rv(*args, **kwargs): - """ + r""" RV returns the relative residual variance between measured and simulated data rv = rv(measured, simulated) - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/rv.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/rv.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("rv", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_sampleinfo2trl.py b/spm/__external/__fieldtrip/_sampleinfo2trl.py index 8e311aa1..bc90ed28 100644 --- a/spm/__external/__fieldtrip/_sampleinfo2trl.py +++ b/spm/__external/__fieldtrip/_sampleinfo2trl.py @@ -2,7 +2,7 @@ def _sampleinfo2trl(*args, **kwargs): - """ + r""" SAMPLEINFO2TRL constructs the trial definition from the sampleinfo, the time axes and optionally from the trialinfo @@ -12,9 +12,12 @@ def _sampleinfo2trl(*args, **kwargs): See also ARTIFACT2BOOLVEC, ARTIFACT2EVENT, ARTIFACT2TRL, BOOLVEC2ARTIFACT, BOOLVEC2EVENT, BOOLVEC2TRL, EVENT2ARTIFACT, EVENT2BOOLVEC, EVENT2TRL, TRL2ARTIFACT, TRL2BOOLVEC, TRL2EVENT - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/sampleinfo2trl.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/sampleinfo2trl.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("sampleinfo2trl", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_sandwich2x2.py b/spm/__external/__fieldtrip/_sandwich2x2.py index b742d989..57ea7154 100644 --- a/spm/__external/__fieldtrip/_sandwich2x2.py +++ b/spm/__external/__fieldtrip/_sandwich2x2.py @@ -2,13 +2,16 @@ def _sandwich2x2(*args, **kwargs): - """ + r""" SANDWICH2X2 compute x*y*x' provided y is Hermitian and dimensionality is 2x2xN - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/sandwich2x2.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/sandwich2x2.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("sandwich2x2", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_sandwich3x3.py b/spm/__external/__fieldtrip/_sandwich3x3.py index 72510376..413e7714 100644 --- a/spm/__external/__fieldtrip/_sandwich3x3.py +++ b/spm/__external/__fieldtrip/_sandwich3x3.py @@ -2,13 +2,16 @@ def _sandwich3x3(*args, **kwargs): - """ + r""" SANDWICH3X3 compute x*y*x' provided y is Hermitian and dimensionality is 3x3xN - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/sandwich3x3.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/sandwich3x3.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("sandwich3x3", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_savevar.py b/spm/__external/__fieldtrip/_savevar.py index 56542000..c0e3f3f0 100644 --- a/spm/__external/__fieldtrip/_savevar.py +++ b/spm/__external/__fieldtrip/_savevar.py @@ -2,15 +2,18 @@ def _savevar(*args, **kwargs): - """ + r""" SAVEVAR is a helper function for cfg.outputfile See also LOADVAR - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/savevar.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/savevar.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("savevar", *args, **kwargs, nargout=0) diff --git a/spm/__external/__fieldtrip/_scale.py b/spm/__external/__fieldtrip/_scale.py index 588683bb..367b6f91 100644 --- a/spm/__external/__fieldtrip/_scale.py +++ b/spm/__external/__fieldtrip/_scale.py @@ -2,7 +2,7 @@ def _scale(*args, **kwargs): - """ + r""" SCALE returns the homogenous coordinate transformation matrix corresponding to a scaling along the x, y and z-axis @@ -15,9 +15,12 @@ def _scale(*args, **kwargs): See also TRANSLATE, ROTATE, RIGIDBODY, QUATERNION, HOMOGENOUS2TRADITIONAL - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/scale.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/scale.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("scale", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_sel50p.py b/spm/__external/__fieldtrip/_sel50p.py index facf3d84..83cb7047 100644 --- a/spm/__external/__fieldtrip/_sel50p.py +++ b/spm/__external/__fieldtrip/_sel50p.py @@ -2,16 +2,19 @@ def _sel50p(*args, **kwargs): - """ + r""" This function will add the field "subspace" to the grid definition. The subspace projection corresponds to selecting 50% of the channels that are the closest to the dipole. - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/sel50p.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/sel50p.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("sel50p", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_select2d.py b/spm/__external/__fieldtrip/_select2d.py index a70f9ebd..620204de 100644 --- a/spm/__external/__fieldtrip/_select2d.py +++ b/spm/__external/__fieldtrip/_select2d.py @@ -2,7 +2,7 @@ def _select2d(*args, **kwargs): - """ + r""" SELECT2D helper function for selecting a rectangular region in the current figure using the mouse. @@ -13,9 +13,12 @@ def _select2d(*args, **kwargs): with the corners of the selected region. - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/select2d.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/select2d.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("select2d", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_select3d.py b/spm/__external/__fieldtrip/_select3d.py index fc909bd9..89014032 100644 --- a/spm/__external/__fieldtrip/_select3d.py +++ b/spm/__external/__fieldtrip/_select3d.py @@ -2,7 +2,7 @@ def _select3d(*args, **kwargs): - """ + r""" SELECT3D(H) Determines the selected point in 3-D data space. P = SELECT3D determines the point, P, in data space corresponding to the current selection position. P is a point on the first @@ -59,9 +59,12 @@ def _select3d(*args, **kwargs): See also GINPUT, GCO. - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/select3d.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/select3d.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("select3d", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_select_channel_list.py b/spm/__external/__fieldtrip/_select_channel_list.py index 52d9e0ec..153df65a 100644 --- a/spm/__external/__fieldtrip/_select_channel_list.py +++ b/spm/__external/__fieldtrip/_select_channel_list.py @@ -2,7 +2,7 @@ def _select_channel_list(*args, **kwargs): - """ + r""" SELECT_CHANNEL_LIST presents a dialog for selecting multiple elements from a cell-array with strings, such as the labels of EEG channels. The dialog presents two columns with an add and remove mechanism. @@ -19,9 +19,12 @@ def _select_channel_list(*args, **kwargs): If the user presses cancel, the initial selection will be returned. - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/select_channel_list.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/select_channel_list.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("select_channel_list", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_select_elec.py b/spm/__external/__fieldtrip/_select_elec.py new file mode 100644 index 00000000..356504a2 --- /dev/null +++ b/spm/__external/__fieldtrip/_select_elec.py @@ -0,0 +1,17 @@ +from spm._runtime import Runtime + + +def _select_elec(*args, **kwargs): + r""" + SELECT_ELEC make a selection of channels + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/select_elec.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("select_elec", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_select_grad.py b/spm/__external/__fieldtrip/_select_grad.py new file mode 100644 index 00000000..1f076a1c --- /dev/null +++ b/spm/__external/__fieldtrip/_select_grad.py @@ -0,0 +1,17 @@ +from spm._runtime import Runtime + + +def _select_grad(*args, **kwargs): + r""" + SELECT_GRAD make a selection of channels + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/select_grad.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("select_grad", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_select_opto.py b/spm/__external/__fieldtrip/_select_opto.py new file mode 100644 index 00000000..3c125dd4 --- /dev/null +++ b/spm/__external/__fieldtrip/_select_opto.py @@ -0,0 +1,17 @@ +from spm._runtime import Runtime + + +def _select_opto(*args, **kwargs): + r""" + SELECT_OPTO make a selection of channels + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/select_opto.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("select_opto", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_setsubfield.py b/spm/__external/__fieldtrip/_setsubfield.py index 773d456e..be714445 100644 --- a/spm/__external/__fieldtrip/_setsubfield.py +++ b/spm/__external/__fieldtrip/_setsubfield.py @@ -2,7 +2,7 @@ def _setsubfield(*args, **kwargs): - """ + r""" SETSUBFIELD sets the contents of the specified field to a specified value just like the standard Matlab SETFIELD function, except that you can also specify nested fields using a '.' in the fieldname. The nesting can be @@ -19,9 +19,12 @@ def _setsubfield(*args, **kwargs): See also SETFIELD, GETSUBFIELD, ISSUBFIELD - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/setsubfield.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/setsubfield.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("setsubfield", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_setviewpoint.py b/spm/__external/__fieldtrip/_setviewpoint.py index 1b0ab637..0a4e0f12 100644 --- a/spm/__external/__fieldtrip/_setviewpoint.py +++ b/spm/__external/__fieldtrip/_setviewpoint.py @@ -2,7 +2,7 @@ def _setviewpoint(*args, **kwargs): - """ + r""" SETVIEWPOINT changes the viewpoint for a 3D image that contains data in a known coordinate system Use as @@ -11,12 +11,15 @@ def _setviewpoint(*args, **kwargs): For example setviewpoint(gca, 'mni', 'left') - See alo GETORTHOVIEWPOS, COORDSYS2LABEL + See also GETORTHOVIEWPOS, COORDSYS2LABEL - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/setviewpoint.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/setviewpoint.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("setviewpoint", *args, **kwargs, nargout=0) diff --git a/spm/__external/__fieldtrip/_shiftpredict.py b/spm/__external/__fieldtrip/_shiftpredict.py index 3832e720..eae42957 100644 --- a/spm/__external/__fieldtrip/_shiftpredict.py +++ b/spm/__external/__fieldtrip/_shiftpredict.py @@ -2,7 +2,7 @@ def _shiftpredict(*args, **kwargs): - """ + r""" SHIFTPREDICT implements a shift-predictor for testing significance of coherence within a single condition. This function is a subfunction for SOURCESTATISTICS_SHIFTPREDICT and FREQSTATISTICS_SHIFTPREDICT. @@ -19,9 +19,12 @@ def _shiftpredict(*args, **kwargs): cfg.tail - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/shiftpredict.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/shiftpredict.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("shiftpredict", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_sine_taper.py b/spm/__external/__fieldtrip/_sine_taper.py index 2a10c712..aaaed8db 100644 --- a/spm/__external/__fieldtrip/_sine_taper.py +++ b/spm/__external/__fieldtrip/_sine_taper.py @@ -2,15 +2,18 @@ def _sine_taper(*args, **kwargs): - """ + r""" Compute Riedel & Sidorenko sine tapers. sine_taper(n, k) produces the first 2*k tapers of length n, returned as the columns of d. - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/sine_taper.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/sine_taper.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("sine_taper", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_smartinput.py b/spm/__external/__fieldtrip/_smartinput.py index d389304c..03512419 100644 --- a/spm/__external/__fieldtrip/_smartinput.py +++ b/spm/__external/__fieldtrip/_smartinput.py @@ -2,7 +2,7 @@ def _smartinput(*args, **kwargs): - """ + r""" SMARTINPUT helper function for smart interactive input from the command line Use as @@ -11,9 +11,12 @@ def _smartinput(*args, **kwargs): See also INPUT, PAUSE - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/smartinput.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/smartinput.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("smartinput", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_smooth_source.py b/spm/__external/__fieldtrip/_smooth_source.py index ebea1399..9541fe17 100644 --- a/spm/__external/__fieldtrip/_smooth_source.py +++ b/spm/__external/__fieldtrip/_smooth_source.py @@ -2,7 +2,7 @@ def _smooth_source(*args, **kwargs): - """ + r""" [SOURCE] = SMOOTH(SOURCE, VARARGIN) computes location specific 3D gaussian kernels based on a FWHM estimate @@ -15,9 +15,12 @@ def _smooth_source(*args, **kwargs): maxdist = scalar, maximum distance for filter kernel - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/smooth_source.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/smooth_source.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("smooth_source", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_smudge.py b/spm/__external/__fieldtrip/_smudge.py index bcc97bf1..fd728c79 100644 --- a/spm/__external/__fieldtrip/_smudge.py +++ b/spm/__external/__fieldtrip/_smudge.py @@ -2,15 +2,18 @@ def _smudge(*args, **kwargs): - """ + r""" SMUDGE(DATIN, TRI) computes a smudged version of the input data datain, given a triangulation tri. The algorithm is according to what is in MNE-Suite, documented in chapter 8.3 - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/smudge.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/smudge.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("smudge", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_solid_angle.py b/spm/__external/__fieldtrip/_solid_angle.py index 68f52e9d..385e1da5 100644 --- a/spm/__external/__fieldtrip/_solid_angle.py +++ b/spm/__external/__fieldtrip/_solid_angle.py @@ -2,7 +2,7 @@ def _solid_angle(*args, **kwargs): - """ + r""" SOLID_ANGLE of a planar triangle as seen from the origin The solid angle W subtended by a surface S is defined as the surface @@ -10,7 +10,7 @@ def _solid_angle(*args, **kwargs): sphere. Solid angle is measured in steradians, and the solid angle corresponding to all of space being subtended is 4*pi sterradians. - Use: + Use as [w] = solid_angle(v1, v2, v3) or [w] = solid_angle(pnt, tri) @@ -19,9 +19,12 @@ def _solid_angle(*args, **kwargs): compute the solid angle for each triangle) - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/solid_angle.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/solid_angle.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("solid_angle", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_specest_nanfft.py b/spm/__external/__fieldtrip/_specest_nanfft.py index df006be9..56c2df3f 100644 --- a/spm/__external/__fieldtrip/_specest_nanfft.py +++ b/spm/__external/__fieldtrip/_specest_nanfft.py @@ -2,7 +2,7 @@ def _specest_nanfft(*args, **kwargs): - """ + r""" SPECEST_NANFFT computes a fast Fourier transform in the presence of NaNs in the data @@ -23,9 +23,12 @@ def _specest_nanfft(*args, **kwargs): See also SPECEST_MTMFFT, SPECEST_CONVOL, SPECEST_HILBERT, SPECEST_MTMCONVOL, SPECEST_MVAR, SPECEST_WAVELET - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/specest_nanfft.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/specest_nanfft.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("specest_nanfft", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_sphericalSplineInterpolate.py b/spm/__external/__fieldtrip/_sphericalSplineInterpolate.py index 83b32f18..4d6eb92b 100644 --- a/spm/__external/__fieldtrip/_sphericalSplineInterpolate.py +++ b/spm/__external/__fieldtrip/_sphericalSplineInterpolate.py @@ -2,7 +2,7 @@ def _sphericalSplineInterpolate(*args, **kwargs): - """ + r""" interpolate matrix for spherical interpolation W = sphericalSplineInterpolate(src,dest,lambda,order,type,tol) @@ -22,9 +22,12 @@ def _sphericalSplineInterpolate(*args, **kwargs): Based upon the paper: Perrin89 - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/sphericalSplineInterpolate.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/sphericalSplineInterpolate.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("sphericalSplineInterpolate", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_sphsplint.py b/spm/__external/__fieldtrip/_sphsplint.py index 1a66b557..849c4fa2 100644 --- a/spm/__external/__fieldtrip/_sphsplint.py +++ b/spm/__external/__fieldtrip/_sphsplint.py @@ -2,7 +2,7 @@ def _sphsplint(*args, **kwargs): - """ + r""" SPHSPLINT computes the spherical spline interpolation and the surface laplacian of an EEG potential distribution @@ -30,9 +30,12 @@ def _sphsplint(*args, **kwargs): Neurophysiology 76:565. - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/sphsplint.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/sphsplint.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("sphsplint", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_spikesort.py b/spm/__external/__fieldtrip/_spikesort.py index d26cbb69..5ddd0875 100644 --- a/spm/__external/__fieldtrip/_spikesort.py +++ b/spm/__external/__fieldtrip/_spikesort.py @@ -2,7 +2,7 @@ def _spikesort(*args, **kwargs): - """ + r""" SPIKESORT uses a variation on the cocktail sort algorithm in combination with a city block distance to achieve N-D trial pairing between spike counts. The sorting is not guaranteed to result in the optimal pairing. A @@ -32,9 +32,12 @@ def _spikesort(*args, **kwargs): See also COCKTAILSORT - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/spikesort.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/spikesort.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spikesort", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_splint.py b/spm/__external/__fieldtrip/_splint.py index e66fee51..7d5eca55 100644 --- a/spm/__external/__fieldtrip/_splint.py +++ b/spm/__external/__fieldtrip/_splint.py @@ -2,7 +2,7 @@ def _splint(*args, **kwargs): - """ + r""" SPLINT computes the spherical spline interpolation and the surface laplacian of an EEG potential distribution @@ -31,9 +31,12 @@ def _splint(*args, **kwargs): Neurophysiology 76:565. - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/splint.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/splint.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("splint", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_splitstruct.py b/spm/__external/__fieldtrip/_splitstruct.py index e8489ff7..72d7800f 100644 --- a/spm/__external/__fieldtrip/_splitstruct.py +++ b/spm/__external/__fieldtrip/_splitstruct.py @@ -2,15 +2,18 @@ def _splitstruct(*args, **kwargs): - """ + r""" SPLITSTRUCT splits a structure into names and values See also PRINTSTRUCT - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/splitstruct.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/splitstruct.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("splitstruct", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_standardcolors.py b/spm/__external/__fieldtrip/_standardcolors.py index bab3a629..686220c5 100644 --- a/spm/__external/__fieldtrip/_standardcolors.py +++ b/spm/__external/__fieldtrip/_standardcolors.py @@ -1,54 +1,57 @@ -from mpython import Runtime +from spm._runtime import Runtime def _standardcolors(*args, **kwargs): - """ - STANDARDCOLORS looks up the RGB value for a named color that is specified as - a string, or looks up the name given the RGB value. - - Use as - rgb = standardcolors(name) - or - name = standardcolors(rgb) - or - list = standardcolors - - This returns a predefined color as [red green blue] values, according to - the following mapping: - red = [255 0 0]/255; - green = [ 0 192 0]/255; - blue = [ 0 0 255]/255; - magenta = [255 255 0]/255; - cyan = [ 0 255 255]/255; - yellow = [255 255 0]/255; - white = [255 255 255]/255; - black = [ 0 0 0]/255; - brain = [202 100 100]/255; - skull = [140 85 85]/255 - cortex = [255 213 119]/255; - cortex_light = [199 194 169]/255; - cortex_dark = [100 97 85]/255; - skin = [249 223 192]/255; - skin_light = [249 223 192]/255; - skin_medium_light = [225 194 158]/255; - skin_medium = [188 142 106]/255; - skin_medium_dark = [155 102 65]/255; - skin_dark = [ 91 71 61]/255; - - The different skin-based colors follow the Fitzpatrick scale with type I and II - combined, and return RGB values that approximate those used by Apple in the emoji - skin tones. See also https://emojipedia.org/emoji-modifier-sequence/ - - If no specific skin tone is specified, this function returns a light skin color. - This corresponds with that of one of the developers who approximated his own skin - color more than 15 years ago upon the first implementation of this function. - - See also HTMLCOLORS, COLORSPEC2RGB, FT_COLORMAP, COLORMAP, COLORMAPEDITOR, BREWERMAP, MATPLOTLIB, CMOCEAM - - - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/standardcolors.m ) - - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + r""" + STANDARDCOLORS looks up the RGB value for a named color that is specified as + a string, or looks up the name given the RGB value. + + Use as + rgb = standardcolors(name) + or + name = standardcolors(rgb) + or + list = standardcolors + + This returns a predefined color as [red green blue] values, according to + the following mapping: + red = [255 0 0]/255; + green = [ 0 192 0]/255; + blue = [ 0 0 255]/255; + magenta = [255 255 0]/255; + cyan = [ 0 255 255]/255; + yellow = [255 255 0]/255; + white = [255 255 255]/255; + black = [ 0 0 0]/255; + brain = [202 100 100]/255; + skull = [140 85 85]/255 + cortex = [255 213 119]/255; + cortex_light = [199 194 169]/255; + cortex_dark = [100 97 85]/255; + skin = [249 223 192]/255; + skin_light = [249 223 192]/255; + skin_medium_light = [225 194 158]/255; + skin_medium = [188 142 106]/255; + skin_medium_dark = [155 102 65]/255; + skin_dark = [ 91 71 61]/255; + + The different skin-based colors follow the Fitzpatrick scale with type I and II + combined, and return RGB values that approximate those used by Apple in the emoji + skin tones. See also https://emojipedia.org/emoji-modifier-sequence/ + + If no specific skin tone is specified, this function returns a light skin color. + This corresponds with that of one of the developers who approximated his own skin + color more than 15 years ago upon the first implementation of this function. + + See also HTMLCOLORS, COLORSPEC2RGB, FT_COLORMAP, COLORMAP, COLORMAPEDITOR, BREWERMAP, MATPLOTLIB, CMOCEAM + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/standardcolors.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("standardcolors", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_standardise.py b/spm/__external/__fieldtrip/_standardise.py index 9ec2901e..80454fb4 100644 --- a/spm/__external/__fieldtrip/_standardise.py +++ b/spm/__external/__fieldtrip/_standardise.py @@ -2,7 +2,7 @@ def _standardise(*args, **kwargs): - """ + r""" STANDARDISE computes the zscore of a matrix along dimension dim has similar functionality as the stats-toolbox's zscore function @@ -12,9 +12,12 @@ def _standardise(*args, **kwargs): See also ZSCORE - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/standardise.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/standardise.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("standardise", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_strel_bol.py b/spm/__external/__fieldtrip/_strel_bol.py index 9ff0afca..49af0ef7 100644 --- a/spm/__external/__fieldtrip/_strel_bol.py +++ b/spm/__external/__fieldtrip/_strel_bol.py @@ -2,16 +2,19 @@ def _strel_bol(*args, **kwargs): - """ + r""" STREL_BOL constructs a 3D sphere with the specified radius that can be used as structural element in 3D image processing See STREL, IMERODE, IMDILATE (image processing toolbox) - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/strel_bol.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/strel_bol.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("strel_bol", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_surface_area.py b/spm/__external/__fieldtrip/_surface_area.py index b8f3f16a..8f862d3c 100644 --- a/spm/__external/__fieldtrip/_surface_area.py +++ b/spm/__external/__fieldtrip/_surface_area.py @@ -2,7 +2,7 @@ def _surface_area(*args, **kwargs): - """ + r""" SURFACE_AREA computes the surface area of each of the triangles in a mesh Use as @@ -11,9 +11,12 @@ def _surface_area(*args, **kwargs): See also SURFACE_ORIENTATION, SURFACE_INSIDE, SURFACE_NESTING, PROJECTTRI, PCNORMALS - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/surface_area.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/surface_area.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("surface_area", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_surface_inside.py b/spm/__external/__fieldtrip/_surface_inside.py index 9cce1fac..6ad5fcfe 100644 --- a/spm/__external/__fieldtrip/_surface_inside.py +++ b/spm/__external/__fieldtrip/_surface_inside.py @@ -2,7 +2,7 @@ def _surface_inside(*args, **kwargs): - """ + r""" SURFACE_INSIDE determines if a point is inside/outside a triangle mesh whereby the bounding triangle mesh should be closed. @@ -16,9 +16,12 @@ def _surface_inside(*args, **kwargs): See also SURFACE_AREA, SURFACE_ORIENTATION, SURFACE_NORMALS, SURFACE_NESTING, SOLID_ANGLE - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/surface_inside.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/surface_inside.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("surface_inside", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_surface_normals.py b/spm/__external/__fieldtrip/_surface_normals.py index 2a3ab38c..ddd5a8b9 100644 --- a/spm/__external/__fieldtrip/_surface_normals.py +++ b/spm/__external/__fieldtrip/_surface_normals.py @@ -2,7 +2,7 @@ def _surface_normals(*args, **kwargs): - """ + r""" SURFACE_NORMALS compute the surface normals of a triangular mesh for each triangle or for each vertex @@ -13,9 +13,12 @@ def _surface_normals(*args, **kwargs): See also SURFACE_AREA, SURFACE_ORIENTATION, SURFACE_INSIDE, SURFACE_NESTING, PROJECTTRI, PCNORMALS - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/surface_normals.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/surface_normals.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("surface_normals", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_surface_orientation.py b/spm/__external/__fieldtrip/_surface_orientation.py index be592060..529de173 100644 --- a/spm/__external/__fieldtrip/_surface_orientation.py +++ b/spm/__external/__fieldtrip/_surface_orientation.py @@ -2,7 +2,7 @@ def _surface_orientation(*args, **kwargs): - """ + r""" SURFACE_ORIENTATION returns the string 'inward' or 'outward' or 'unknown', depending on the surface orientation. @@ -14,9 +14,12 @@ def _surface_orientation(*args, **kwargs): See also SURFACE_AREA, SURFACE_NESTING, SURFACE_NORMALS, SURFACE_NESTING - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/surface_orientation.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/surface_orientation.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("surface_orientation", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_surface_shift.py b/spm/__external/__fieldtrip/_surface_shift.py index f0a86845..92737c94 100644 --- a/spm/__external/__fieldtrip/_surface_shift.py +++ b/spm/__external/__fieldtrip/_surface_shift.py @@ -2,7 +2,7 @@ def _surface_shift(*args, **kwargs): - """ + r""" SURFACE_SHIFT inflates or deflates a triangulated surface by moving the vertices outward or inward along their normals. @@ -14,9 +14,12 @@ def _surface_shift(*args, **kwargs): SURFACE_NESTING - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/surface_shift.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/surface_shift.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("surface_shift", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_svdfft.py b/spm/__external/__fieldtrip/_svdfft.py index f13cc1ab..6b5997c4 100644 --- a/spm/__external/__fieldtrip/_svdfft.py +++ b/spm/__external/__fieldtrip/_svdfft.py @@ -2,7 +2,7 @@ def _svdfft(*args, **kwargs): - """ + r""" SVDFFT computes a rotated FFT matrix, using the real part of the cross-spectral density matrix. This rotation ensures that the phase relationship of the underlying sources does not change, while rotating the channels such that the first channel @@ -17,9 +17,12 @@ def _svdfft(*args, **kwargs): See also SVD - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/svdfft.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/svdfft.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("svdfft", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_swapmemfile.py b/spm/__external/__fieldtrip/_swapmemfile.py index cad3607d..374114b9 100644 --- a/spm/__external/__fieldtrip/_swapmemfile.py +++ b/spm/__external/__fieldtrip/_swapmemfile.py @@ -2,16 +2,19 @@ def _swapmemfile(*args, **kwargs): - """ + r""" SWAPMEMFILE swaps a variable from file into memory and clears it again from the memory on the subsequent call Use with extreme caution! - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/swapmemfile.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/swapmemfile.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("swapmemfile", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_tal2mni.py b/spm/__external/__fieldtrip/_tal2mni.py index a164b264..17963470 100644 --- a/spm/__external/__fieldtrip/_tal2mni.py +++ b/spm/__external/__fieldtrip/_tal2mni.py @@ -2,7 +2,7 @@ def _tal2mni(*args, **kwargs): - """ + r""" Converts coordinates to MNI brain best guess from Talairach coordinates FORMAT outpoints = tal2mni(inpoints) @@ -12,9 +12,12 @@ def _tal2mni(*args, **kwargs): Matthew Brett 2/2/01 - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/tal2mni.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/tal2mni.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("tal2mni", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_tfcestat.py b/spm/__external/__fieldtrip/_tfcestat.py index aff674a2..ac0d0f77 100644 --- a/spm/__external/__fieldtrip/_tfcestat.py +++ b/spm/__external/__fieldtrip/_tfcestat.py @@ -2,16 +2,53 @@ def _tfcestat(*args, **kwargs): - """ - TFCESTAT computes threshold-free cluster statistic multidimensional channel-freq-time or - volumetric source data + r""" + TFCESTAT computes threshold-free cluster statistic for multidimensional + channel-freq-time or volumetric source data. + + The configuration options that can be specified are: + cfg.tfce_method = 'exact' (default) or 'discrete' + cfg.tfce_H = height exponent H (default 2) + cfg.tfce_E = extent exponent E (default 0.5) + cfg.tfce_h0 = baseline/offset that is subtracted first (default 0) + cfg.tfce_nsteps = number of height steps for the 'discrete' method (default 100) + cfg.tail = -1, 0 or 1 (default 0) + + Two implementations are implemented, to be selected with cfg.tfce_method: + + 'exact' (default) evaluates the TFCE integral EXACTLY (eTFCE). Because + the cluster extent e(h) is piecewise constant in the height h + (it changes only when h crosses a data value), the integral + + TFCE(v) = integral_{h0}^{h_v} e(h)^E * h^H dh + + has a closed form on each interval and is obtained in a single + pass with a disjoint-set (union-find) cluster-retrieval forest, + using the same spatial connectivity as FINDCLUSTER. This removes + the cfg.tfce_nsteps discretisation (and its bias), is typically + much faster than the threshold loop, and needs no SPM toolbox. + + 'discrete' the original implementation, which approximates the integral by + summing over cfg.tfce_nsteps discrete height thresholds and + calls FINDCLUSTER (which requires SPM) at each threshold. Kept for + backward compatibility and for validating the exact method. + + The exact-TFCE (eTFCE) algorithm was developed by Xu Chen, Wouter D. Weeda, + Thomas E. Nichols and Jelle J. Goeman (2026), "eTFCE: Exact Threshold-Free + Cluster Enhancement via Fast Cluster Retrieval", arXiv:2603.03004. The 'exact' + method below is a MATLAB implementation of that published algorithm for + FieldTrip; it was NOT created or developed by the implementer, who only + translated the method into code. See also CLUSTERSTAT, FINDCLUSTER - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/tfcestat.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/tfcestat.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("tfcestat", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_time2offset.py b/spm/__external/__fieldtrip/_time2offset.py index a651b769..7b7df5be 100644 --- a/spm/__external/__fieldtrip/_time2offset.py +++ b/spm/__external/__fieldtrip/_time2offset.py @@ -2,7 +2,7 @@ def _time2offset(*args, **kwargs): - """ + r""" TIME2OFFSET converts a time-axis of a trial into the offset in samples according to the definition from DEFINETRIAL @@ -19,9 +19,12 @@ def _time2offset(*args, **kwargs): negative offset indicates a trial beginning before the trigger. - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/time2offset.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/time2offset.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("time2offset", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_timelock2freq.py b/spm/__external/__fieldtrip/_timelock2freq.py index 0e21d7db..9564c865 100644 --- a/spm/__external/__fieldtrip/_timelock2freq.py +++ b/spm/__external/__fieldtrip/_timelock2freq.py @@ -2,7 +2,7 @@ def _timelock2freq(*args, **kwargs): - """ + r""" TIMELOCK2FREQ transform the reconstructed dipole moment into something that again resembles the physical input parameter in the frequency domain. @@ -10,9 +10,12 @@ def _timelock2freq(*args, **kwargs): This is needed after source reconstruction using FREQ2TIMELOCK. - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/timelock2freq.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/timelock2freq.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("timelock2freq", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_topoplot_common.py b/spm/__external/__fieldtrip/_topoplot_common.py index c4070745..815e768b 100644 --- a/spm/__external/__fieldtrip/_topoplot_common.py +++ b/spm/__external/__fieldtrip/_topoplot_common.py @@ -2,14 +2,17 @@ def _topoplot_common(*args, **kwargs): - """ + r""" TOPOPLOT_COMMON is shared by FT_TOPOPLOTTFR, FT_TOPOPLOTER and FT_TOPOPLOTIC, which serve as placeholder for the documentation and for the pre/postamble. - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/topoplot_common.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/topoplot_common.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("topoplot_common", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_traditional.py b/spm/__external/__fieldtrip/_traditional.py index 27bc81af..02ef329f 100644 --- a/spm/__external/__fieldtrip/_traditional.py +++ b/spm/__external/__fieldtrip/_traditional.py @@ -2,7 +2,7 @@ def _traditional(*args, **kwargs): - """ + r""" TRADITIONAL creates the homogenous spatial transformation matrix for a 9 parameter traditional "Talairach-model" transformation @@ -26,9 +26,12 @@ def _traditional(*args, **kwargs): the list above, i.e. first z-rescale, ... and finally x-shift. - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/traditional.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/traditional.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("traditional", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_transfer2coeffs.py b/spm/__external/__fieldtrip/_transfer2coeffs.py index 63983d3d..2bb5cc87 100644 --- a/spm/__external/__fieldtrip/_transfer2coeffs.py +++ b/spm/__external/__fieldtrip/_transfer2coeffs.py @@ -2,15 +2,18 @@ def _transfer2coeffs(*args, **kwargs): - """ + r""" TRANSFER2COEFFS converts a spectral transfer matrix into the time domain equivalent multivariate autoregressive coefficients up to a specified lag, starting from lag 1. - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/transfer2coeffs.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/transfer2coeffs.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("transfer2coeffs", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_transform2grid.py b/spm/__external/__fieldtrip/_transform2grid.py index 2edf14f8..5ac610a1 100644 --- a/spm/__external/__fieldtrip/_transform2grid.py +++ b/spm/__external/__fieldtrip/_transform2grid.py @@ -2,7 +2,7 @@ def _transform2grid(*args, **kwargs): - """ + r""" TRANSFORM2GRID ensures that the volume contains the definition of the cardian axes, i.e. xgrid/ygrid/zgrid. If the voluyme contains a homogenous coordinate transformation axis that is unequal to eye(4), it @@ -11,9 +11,12 @@ def _transform2grid(*args, **kwargs): See also GRID2TRANSFORM - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/transform2grid.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/transform2grid.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("transform2grid", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_translate.py b/spm/__external/__fieldtrip/_translate.py index 0e639ccf..7b3b01be 100644 --- a/spm/__external/__fieldtrip/_translate.py +++ b/spm/__external/__fieldtrip/_translate.py @@ -2,7 +2,7 @@ def _translate(*args, **kwargs): - """ + r""" TRANSLATE returns the homogenous coordinate transformation matrix corresponding to a translation along the x, y and z-axis @@ -15,9 +15,12 @@ def _translate(*args, **kwargs): See also ROTATE, SCALE, RIGIDBODY, QUATERNION, HOMOGENOUS2TRADITIONAL - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/translate.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/translate.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("translate", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_triangle2connectivity.py b/spm/__external/__fieldtrip/_triangle2connectivity.py index 50b8376c..40bd326c 100644 --- a/spm/__external/__fieldtrip/_triangle2connectivity.py +++ b/spm/__external/__fieldtrip/_triangle2connectivity.py @@ -2,7 +2,7 @@ def _triangle2connectivity(*args, **kwargs): - """ + r""" TRIANGLE2CONNECTIVITY computes a connectivity-matrix from a triangulation. Use as @@ -22,9 +22,12 @@ def _triangle2connectivity(*args, **kwargs): See also CHANNELCONNECTIVIY - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/triangle2connectivity.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/triangle2connectivity.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("triangle2connectivity", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_triangle2distance.py b/spm/__external/__fieldtrip/_triangle2distance.py index ab59eafe..433b57a1 100644 --- a/spm/__external/__fieldtrip/_triangle2distance.py +++ b/spm/__external/__fieldtrip/_triangle2distance.py @@ -2,7 +2,7 @@ def _triangle2distance(*args, **kwargs): - """ + r""" TRIANGLE2DISTANCE computes the geodesic distance (across the edges) on a mesh, using Dijkstra's algorithm. The Dijkstra code is an efficient vectorized version of a function from MIT's graphtool toolbox, operating @@ -22,9 +22,12 @@ def _triangle2distance(*args, **kwargs): d = Nxnumel(s) distance matrix - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/triangle2distance.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/triangle2distance.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("triangle2distance", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_triangle4pt.py b/spm/__external/__fieldtrip/_triangle4pt.py index 77165938..289c24be 100644 --- a/spm/__external/__fieldtrip/_triangle4pt.py +++ b/spm/__external/__fieldtrip/_triangle4pt.py @@ -2,7 +2,7 @@ def _triangle4pt(*args, **kwargs): - """ + r""" TRIANGLE4PNT takes the volume model and estimates the 4th point of each triangle of each mesh. @@ -41,9 +41,12 @@ def _triangle4pt(*args, **kwargs): $Id$ - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/triangle4pt.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/triangle4pt.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("triangle4pt", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_triangulate_seg.py b/spm/__external/__fieldtrip/_triangulate_seg.py index 066f67f3..b7e15eae 100644 --- a/spm/__external/__fieldtrip/_triangulate_seg.py +++ b/spm/__external/__fieldtrip/_triangulate_seg.py @@ -2,7 +2,7 @@ def _triangulate_seg(*args, **kwargs): - """ + r""" TRIANGULATE_SEG constructs a triangulation of the outer surface of a segmented volume. It starts at the center of the volume and projects the vertices of an evenly triangulated sphere onto the outer surface. The resulting surface is by @@ -30,9 +30,12 @@ def _triangulate_seg(*args, **kwargs): See also MESH_SPHERE - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/triangulate_seg.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/triangulate_seg.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("triangulate_seg", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_tritrisect.py b/spm/__external/__fieldtrip/_tritrisect.py index d1dc4951..bcab1a98 100644 --- a/spm/__external/__fieldtrip/_tritrisect.py +++ b/spm/__external/__fieldtrip/_tritrisect.py @@ -2,16 +2,19 @@ def _tritrisect(*args, **kwargs): - """ + r""" TRITRISECT computes the intersection line of a triangle with a plane spanned by three vertices v1, v2 and v3. [l1, l2] = tritrisect(v1, v2, v3, t1, t2, t3) - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/tritrisect.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/tritrisect.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("tritrisect", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_trl2artifact.py b/spm/__external/__fieldtrip/_trl2artifact.py index 4bd736fa..9bf5dd8e 100644 --- a/spm/__external/__fieldtrip/_trl2artifact.py +++ b/spm/__external/__fieldtrip/_trl2artifact.py @@ -2,7 +2,7 @@ def _trl2artifact(*args, **kwargs): - """ + r""" TRL2ARTIFACT converts between two representations of events or trials. FieldTrip uses a number of representations for events that are conceptually very similar @@ -21,9 +21,12 @@ def _trl2artifact(*args, **kwargs): See also ARTIFACT2BOOLVEC, ARTIFACT2EVENT, ARTIFACT2TRL, BOOLVEC2ARTIFACT, BOOLVEC2EVENT, BOOLVEC2TRL, EVENT2ARTIFACT, EVENT2BOOLVEC, EVENT2TRL, TRL2ARTIFACT, TRL2BOOLVEC, TRL2EVENT - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/trl2artifact.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/trl2artifact.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("trl2artifact", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_trl2boolvec.py b/spm/__external/__fieldtrip/_trl2boolvec.py index 80e1314f..284b3a1d 100644 --- a/spm/__external/__fieldtrip/_trl2boolvec.py +++ b/spm/__external/__fieldtrip/_trl2boolvec.py @@ -2,7 +2,7 @@ def _trl2boolvec(*args, **kwargs): - """ + r""" TRL2BOOLVEC converts between two representations of events or trials. FieldTrip uses a number of representations for events that are conceptually very similar @@ -21,9 +21,12 @@ def _trl2boolvec(*args, **kwargs): See also ARTIFACT2BOOLVEC, ARTIFACT2EVENT, ARTIFACT2TRL, BOOLVEC2ARTIFACT, BOOLVEC2EVENT, BOOLVEC2TRL, EVENT2ARTIFACT, EVENT2BOOLVEC, EVENT2TRL, TRL2ARTIFACT, TRL2BOOLVEC, TRL2EVENT - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/trl2boolvec.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/trl2boolvec.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("trl2boolvec", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_trl2event.py b/spm/__external/__fieldtrip/_trl2event.py index 5609a681..fb22ffb7 100644 --- a/spm/__external/__fieldtrip/_trl2event.py +++ b/spm/__external/__fieldtrip/_trl2event.py @@ -2,7 +2,7 @@ def _trl2event(*args, **kwargs): - """ + r""" TRL2EVENT converts between two representations of events or trials. FieldTrip uses a number of representations for events that are conceptually very similar @@ -21,9 +21,12 @@ def _trl2event(*args, **kwargs): See also ARTIFACT2BOOLVEC, ARTIFACT2EVENT, ARTIFACT2TRL, BOOLVEC2ARTIFACT, BOOLVEC2EVENT, BOOLVEC2TRL, EVENT2ARTIFACT, EVENT2BOOLVEC, EVENT2TRL, TRL2ARTIFACT, TRL2BOOLVEC, TRL2EVENT - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/trl2event.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/trl2event.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("trl2event", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_uidisplaytext.py b/spm/__external/__fieldtrip/_uidisplaytext.py index 08c938a4..7ede9efe 100644 --- a/spm/__external/__fieldtrip/_uidisplaytext.py +++ b/spm/__external/__fieldtrip/_uidisplaytext.py @@ -2,7 +2,7 @@ def _uidisplaytext(*args, **kwargs): - """ + r""" UIDISPLAYTEXT opens a figure for displaying multi-line text in an "edit" user interface control element. @@ -10,9 +10,12 @@ def _uidisplaytext(*args, **kwargs): uidisplaytext(str, title) - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/uidisplaytext.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/uidisplaytext.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("uidisplaytext", *args, **kwargs, nargout=0) diff --git a/spm/__external/__fieldtrip/_undobalancing.py b/spm/__external/__fieldtrip/_undobalancing.py index 8d5ca9ed..d9d1648b 100644 --- a/spm/__external/__fieldtrip/_undobalancing.py +++ b/spm/__external/__fieldtrip/_undobalancing.py @@ -2,15 +2,18 @@ def _undobalancing(*args, **kwargs): - """ + r""" UNDOBALANCING removes all balancing coefficients from the gradiometer sensor array This is used in CHANNELPOSITION, FT_PREPARE_LAYOUT, FT_SENSTYPE - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/undobalancing.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/undobalancing.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("undobalancing", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_univariate2bivariate.py b/spm/__external/__fieldtrip/_univariate2bivariate.py index 39aafffe..80c0cf04 100644 --- a/spm/__external/__fieldtrip/_univariate2bivariate.py +++ b/spm/__external/__fieldtrip/_univariate2bivariate.py @@ -2,7 +2,7 @@ def _univariate2bivariate(*args, **kwargs): - """ + r""" UNIVARIATE2BIVARIATE is a helper function for FT_CONNECTIVITYANALYSIS Use as @@ -19,9 +19,12 @@ def _univariate2bivariate(*args, **kwargs): sqrtflag = - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/univariate2bivariate.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/univariate2bivariate.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("univariate2bivariate", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_unparcellate.py b/spm/__external/__fieldtrip/_unparcellate.py index e6094743..cf6cb45d 100644 --- a/spm/__external/__fieldtrip/_unparcellate.py +++ b/spm/__external/__fieldtrip/_unparcellate.py @@ -2,7 +2,7 @@ def _unparcellate(*args, **kwargs): - """ + r""" UNPARCELLATE performs the reverse of a parcellation, by assigigning each parcel's activation to the vertices that contributed to that parcel. @@ -33,9 +33,12 @@ def _unparcellate(*args, **kwargs): output argument gives a list of the reference parcels. - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/unparcellate.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/unparcellate.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("unparcellate", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_val2nearestchan.py b/spm/__external/__fieldtrip/_val2nearestchan.py index 29ba7844..02524ad6 100644 --- a/spm/__external/__fieldtrip/_val2nearestchan.py +++ b/spm/__external/__fieldtrip/_val2nearestchan.py @@ -2,7 +2,7 @@ def _val2nearestchan(*args, **kwargs): - """ + r""" VAL2NEARESTCHAN returns the label of the channel with the value nearest to the specified value. @@ -11,9 +11,12 @@ def _val2nearestchan(*args, **kwargs): works only on raw data - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/val2nearestchan.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/val2nearestchan.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("val2nearestchan", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_validate_seg.py b/spm/__external/__fieldtrip/_validate_seg.py index 1642f79c..5ef301fe 100644 --- a/spm/__external/__fieldtrip/_validate_seg.py +++ b/spm/__external/__fieldtrip/_validate_seg.py @@ -2,7 +2,7 @@ def _validate_seg(*args, **kwargs): - """ + r""" VALIDATE_SEG ensures that the segmentation represents tissue types in a cumulative than exclusive manner. @@ -22,9 +22,12 @@ def _validate_seg(*args, **kwargs): See also TRIANGULATE_SEG, PREPARE_MESH_SEGMENTATION - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/validate_seg.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/validate_seg.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("validate_seg", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_vline.py b/spm/__external/__fieldtrip/_vline.py index 9d7ab9c8..abcfff9f 100644 --- a/spm/__external/__fieldtrip/_vline.py +++ b/spm/__external/__fieldtrip/_vline.py @@ -2,13 +2,16 @@ def _vline(*args, **kwargs): - """ + r""" VLINE plot a vertical line in the current graph - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/vline.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/vline.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("vline", *args, **kwargs, nargout=0) diff --git a/spm/__external/__fieldtrip/_volplot.py b/spm/__external/__fieldtrip/_volplot.py index 3e18fa98..f2331eb4 100644 --- a/spm/__external/__fieldtrip/_volplot.py +++ b/spm/__external/__fieldtrip/_volplot.py @@ -2,7 +2,7 @@ def _volplot(*args, **kwargs): - """ + r""" VOLPLOT make 2D or 3D plot of volumetric data (e.g. MRI) that is defined on a regular orthogonal grid @@ -26,9 +26,12 @@ def _volplot(*args, **kwargs): See also NDGRID - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/volplot.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/volplot.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("volplot", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_volumeedit.py b/spm/__external/__fieldtrip/_volumeedit.py index b09823d6..2604c7d6 100644 --- a/spm/__external/__fieldtrip/_volumeedit.py +++ b/spm/__external/__fieldtrip/_volumeedit.py @@ -2,15 +2,18 @@ def _volumeedit(*args, **kwargs): - """ + r""" VOLUMEEDIT allows for editing of a (booleanized) volume, in order to remove unwanted voxels. Interaction proceeds with the keyboard and the mouse. - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/volumeedit.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/volumeedit.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("volumeedit", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_volumefillholes.py b/spm/__external/__fieldtrip/_volumefillholes.py index 283f96da..71ee5e83 100644 --- a/spm/__external/__fieldtrip/_volumefillholes.py +++ b/spm/__external/__fieldtrip/_volumefillholes.py @@ -2,15 +2,18 @@ def _volumefillholes(*args, **kwargs): - """ + r""" VOLUMEFILLHOLES is a helper function for segmentations See also VOLUMETHRESHOLD, VOLUMESMOOTH, VOLUMEPAD, VOLUMESELECTLARGEST - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/volumefillholes.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/volumefillholes.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("volumefillholes", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_volumeflip.py b/spm/__external/__fieldtrip/_volumeflip.py index a102fea0..c0a179e7 100644 --- a/spm/__external/__fieldtrip/_volumeflip.py +++ b/spm/__external/__fieldtrip/_volumeflip.py @@ -2,15 +2,18 @@ def _volumeflip(*args, **kwargs): - """ + r""" VOLUMEFLIP See also VOLUMEPERMUTE, ALIGN_IJK2XYZ, ALIGN_XYZ2IJK - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/volumeflip.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/volumeflip.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("volumeflip", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_volumepad.py b/spm/__external/__fieldtrip/_volumepad.py index 66ea8ca9..cbfb6a4a 100644 --- a/spm/__external/__fieldtrip/_volumepad.py +++ b/spm/__external/__fieldtrip/_volumepad.py @@ -2,7 +2,7 @@ def _volumepad(*args, **kwargs): - """ + r""" VOLUMEPAR is a helper function for segmentations. It adds a layer on all sides to ensure that the tissue can be meshed all the way up to the edges this also ensures that the mesh at the bottom of the neck will be closed. @@ -10,9 +10,12 @@ def _volumepad(*args, **kwargs): See also VOLUMEFILLHOLES, VOLUMESMOOTH, VOLUMETHRESHOLD - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/volumepad.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/volumepad.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("volumepad", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_volumepermute.py b/spm/__external/__fieldtrip/_volumepermute.py index 51a7cdb4..fdc67f5f 100644 --- a/spm/__external/__fieldtrip/_volumepermute.py +++ b/spm/__external/__fieldtrip/_volumepermute.py @@ -2,15 +2,18 @@ def _volumepermute(*args, **kwargs): - """ + r""" VOLUMEPERMUTE See also VOLUMEFLIP, ALIGN_IJK2XYZ, ALIGN_XYZ2IJK - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/volumepermute.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/volumepermute.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("volumepermute", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_volumeselectlargest.py b/spm/__external/__fieldtrip/_volumeselectlargest.py index 3f8ca4de..e4f117fd 100644 --- a/spm/__external/__fieldtrip/_volumeselectlargest.py +++ b/spm/__external/__fieldtrip/_volumeselectlargest.py @@ -2,15 +2,18 @@ def _volumeselectlargest(*args, **kwargs): - """ + r""" VOLUMESELECTLARGEST is a helper function for segmentations See also VOLUMEFILLHOLES, VOLUMETHRESHOLD, VOLUMESMOOTH, VOLUMEPAD - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/volumeselectlargest.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/volumeselectlargest.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("volumeselectlargest", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_volumesmooth.py b/spm/__external/__fieldtrip/_volumesmooth.py index aca2735c..3f9dd53e 100644 --- a/spm/__external/__fieldtrip/_volumesmooth.py +++ b/spm/__external/__fieldtrip/_volumesmooth.py @@ -2,15 +2,18 @@ def _volumesmooth(*args, **kwargs): - """ + r""" VOLUMESMOOTH is a helper function for segmentations See also VOLUMETHRESHOLD, VOLUMEFILLHOLES - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/volumesmooth.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/volumesmooth.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("volumesmooth", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_volumethreshold.py b/spm/__external/__fieldtrip/_volumethreshold.py index c8c222aa..33a5c98d 100644 --- a/spm/__external/__fieldtrip/_volumethreshold.py +++ b/spm/__external/__fieldtrip/_volumethreshold.py @@ -2,7 +2,7 @@ def _volumethreshold(*args, **kwargs): - """ + r""" VOLUMETHRESHOLD is a helper function for segmentations. It applies a relative threshold and subsequently looks for the largest connected part, thereby removing small blobs such as vitamine E capsules. @@ -10,9 +10,12 @@ def _volumethreshold(*args, **kwargs): See also VOLUMEFILLHOLES, VOLUMESMOOTH, VOLUMEPAD - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/volumethreshold.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/volumethreshold.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("volumethreshold", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_warp_dykstra2012.py b/spm/__external/__fieldtrip/_warp_dykstra2012.py index c37b487d..6edad195 100644 --- a/spm/__external/__fieldtrip/_warp_dykstra2012.py +++ b/spm/__external/__fieldtrip/_warp_dykstra2012.py @@ -2,7 +2,7 @@ def _warp_dykstra2012(*args, **kwargs): - """ + r""" WARP_DYKSTRA2012 projects the ECoG grid / strip onto a cortex hull using the algorithm described in Dykstra et al. (2012, Neuroimage) in which the distance from original positions and the deformation of the @@ -23,9 +23,12 @@ def _warp_dykstra2012(*args, **kwargs): See also FT_ELECTRODEREALIGN, FT_PREPARE_MESH, WARP_HERMES2010 - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/warp_dykstra2012.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/warp_dykstra2012.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("warp_dykstra2012", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_warp_fsaverage.py b/spm/__external/__fieldtrip/_warp_fsaverage.py index bcc53c85..d25aebdc 100644 --- a/spm/__external/__fieldtrip/_warp_fsaverage.py +++ b/spm/__external/__fieldtrip/_warp_fsaverage.py @@ -2,7 +2,7 @@ def _warp_fsaverage(*args, **kwargs): - """ + r""" WARP_FSAVERAGE maps electrodes onto FreeSurfer's fsaverage brain. This surface-based registration technique solely considers the curvature patterns of the cortex and thus can be used for the spatial normalization @@ -18,9 +18,12 @@ def _warp_fsaverage(*args, **kwargs): See also FT_ELECTRODEREALIGN, FT_PREPARE_MESH - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/warp_fsaverage.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/warp_fsaverage.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("warp_fsaverage", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_warp_fsaverage_sym.py b/spm/__external/__fieldtrip/_warp_fsaverage_sym.py index 9f8191fd..8dba787f 100644 --- a/spm/__external/__fieldtrip/_warp_fsaverage_sym.py +++ b/spm/__external/__fieldtrip/_warp_fsaverage_sym.py @@ -2,7 +2,7 @@ def _warp_fsaverage_sym(*args, **kwargs): - """ + r""" WARP_FSAVERAGE_SYM maps left or right hemisphere electrodes onto FreeSurfer's fsaverage_sym's left hemisphere. To perform this mapping, you first need to have processed the subject's MRI with FreeSurfer's @@ -18,9 +18,12 @@ def _warp_fsaverage_sym(*args, **kwargs): See also FT_ELECTRODEREALIGN, WARP_FSAVERAGE - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/warp_fsaverage_sym.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/warp_fsaverage_sym.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("warp_fsaverage_sym", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_warp_fsinflated.py b/spm/__external/__fieldtrip/_warp_fsinflated.py index 68b5bff9..8b69c70a 100644 --- a/spm/__external/__fieldtrip/_warp_fsinflated.py +++ b/spm/__external/__fieldtrip/_warp_fsinflated.py @@ -2,7 +2,7 @@ def _warp_fsinflated(*args, **kwargs): - """ + r""" WARP_FSINFLATED maps electrodes from FreeSurfer's pial surface to FreeSurfer's inflated brain. @@ -14,9 +14,12 @@ def _warp_fsinflated(*args, **kwargs): See also FT_ELECTRODEREALIGN, FT_PREPARE_MESH - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/warp_fsinflated.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/warp_fsinflated.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("warp_fsinflated", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_warp_hermes2010.py b/spm/__external/__fieldtrip/_warp_hermes2010.py index a8e9511f..3babcecd 100644 --- a/spm/__external/__fieldtrip/_warp_hermes2010.py +++ b/spm/__external/__fieldtrip/_warp_hermes2010.py @@ -2,7 +2,7 @@ def _warp_hermes2010(*args, **kwargs): - """ + r""" WARP_HERMES2010 projects the ECoG grid / strip onto a cortex hull using the algorithm described in Hermes et al. (2010, J Neurosci methods) in which electrodes are projected onto the pial @@ -13,9 +13,12 @@ def _warp_hermes2010(*args, **kwargs): See also FT_ELECTRODEREALIGN, FT_PREPARE_MESH, WARP_DYKSTRA2012 - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/warp_hermes2010.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/warp_hermes2010.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("warp_hermes2010", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_wizard_base.py b/spm/__external/__fieldtrip/_wizard_base.py index 5a5366b0..09bdddd3 100644 --- a/spm/__external/__fieldtrip/_wizard_base.py +++ b/spm/__external/__fieldtrip/_wizard_base.py @@ -2,7 +2,7 @@ def _wizard_base(*args, **kwargs): - """ + r""" This is the low level wizard function. It evaluates the MATLAB content in the workspace of the calling function. To prevent overwriting variables in the BASE workspace, this function should be called from a @@ -10,9 +10,12 @@ def _wizard_base(*args, **kwargs): wizard figure is deleted. - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/wizard_base.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/wizard_base.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("wizard_base", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/_write_neuralynx_nse.py b/spm/__external/__fieldtrip/_write_neuralynx_nse.py index 1f031e1b..fb214b3d 100644 --- a/spm/__external/__fieldtrip/_write_neuralynx_nse.py +++ b/spm/__external/__fieldtrip/_write_neuralynx_nse.py @@ -2,7 +2,7 @@ def _write_neuralynx_nse(*args, **kwargs): - """ + r""" WRITE_NEURALYNX_NSE writes spike timestamps and waveforms to a NSE file The input data should be scaled in uV. @@ -12,9 +12,12 @@ def _write_neuralynx_nse(*args, **kwargs): See also READ_NEURALYNX_NSE - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/private/write_neuralynx_nse.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/private/write_neuralynx_nse.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("write_neuralynx_nse", *args, **kwargs, nargout=0) diff --git a/spm/__external/__fieldtrip/besa2fieldtrip.py b/spm/__external/__fieldtrip/besa2fieldtrip.py index d63135bb..9a4f431b 100644 --- a/spm/__external/__fieldtrip/besa2fieldtrip.py +++ b/spm/__external/__fieldtrip/besa2fieldtrip.py @@ -2,7 +2,7 @@ def besa2fieldtrip(*args, **kwargs): - """ + r""" BESA2FIELDTRIP reads and converts various BESA datafiles into a FieldTrip data structure, which subsequently can be used for statistical analysis or other analysis methods implemented in Fieldtrip. @@ -28,9 +28,12 @@ def besa2fieldtrip(*args, **kwargs): See also EEGLAB2FIELDTRIP, SPM2FIELDTRIP - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/besa2fieldtrip.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/besa2fieldtrip.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("besa2fieldtrip", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/bis2fieldtrip.py b/spm/__external/__fieldtrip/bis2fieldtrip.py index 7e2ba23b..a192ad64 100644 --- a/spm/__external/__fieldtrip/bis2fieldtrip.py +++ b/spm/__external/__fieldtrip/bis2fieldtrip.py @@ -2,7 +2,7 @@ def bis2fieldtrip(*args, **kwargs): - """ + r""" BIS2FIELDTRIP reads BioImage Suite .mgrid files and converts them into a FieldTrip-compatible elec datatype structure and converts electrode positions from BioImage Suite mgrid that are in 'xyz' to head coordinates @@ -14,9 +14,12 @@ def bis2fieldtrip(*args, **kwargs): See also FIELDTRIP2BIS, FT_READ_SENS, READ_BIOIMAGE_MGRID - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/bis2fieldtrip.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/bis2fieldtrip.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("bis2fieldtrip", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/data2bids.py b/spm/__external/__fieldtrip/data2bids.py index d36b58e8..e9929cd7 100644 --- a/spm/__external/__fieldtrip/data2bids.py +++ b/spm/__external/__fieldtrip/data2bids.py @@ -2,7 +2,7 @@ def data2bids(*args, **kwargs): - """ + r""" DATA2BIDS is a helper function to convert MRI, MEG, EEG, iEEG or NIRS data to the Brain Imaging Data Structure. The overall idea is that you write a MATLAB script in which you call this function multiple times, once for each individually recorded @@ -61,7 +61,7 @@ def data2bids(*args, **kwargs): cfg.ses = string, optional session name cfg.run = number, optional cfg.task = string, task name is required for functional data - cfg.suffix = string, can be any of 'FLAIR', 'FLASH', 'PD', 'PDT2', 'PDmap', 'T1map', 'T1rho', 'T1w', 'T2map', 'T2star', 'T2w', 'angio', 'audio', 'bold', 'bval', 'bvec', 'channels', 'coordsystem', 'defacemask', 'dwi', 'eeg', 'emg', 'epi', 'events', 'eyetracker', 'fieldmap', 'headshape', 'ieeg', 'inplaneT1', 'inplaneT2', 'magnitude', 'magnitude1', 'magnitude2', 'meg', 'motion', 'nirs', 'phase1', 'phase2', 'phasediff', 'photo', 'physio', 'sbref', 'stim', 'video' + cfg.suffix = string, can be any of 'FLAIR', 'FLASH', 'PD', 'PDT2', 'PDmap', 'T1map', 'T1rho', 'T1w', 'T2map', 'T2star', 'T2w', 'angio', 'audio', 'bold', 'bval', 'bvec', 'channels', 'coordsystem', 'defacemask', 'dwi', 'eeg', 'emg', 'epi', 'events', 'fieldmap', 'headshape', 'ieeg', 'inplaneT1', 'inplaneT2', 'magnitude', 'magnitude1', 'magnitude2', 'meg', 'motion', 'nirs', 'phase1', 'phase2', 'phasediff', 'photo', 'physio', 'sbref', 'stim', 'video' cfg.acq = string cfg.ce = string cfg.rec = string @@ -181,9 +181,12 @@ def data2bids(*args, **kwargs): FT_PREPROCESSING, FT_READ_MRI, FT_READ_EVENT - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/data2bids.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/data2bids.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("data2bids", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/edf2fieldtrip.py b/spm/__external/__fieldtrip/edf2fieldtrip.py index 77c7bff3..9ea67c34 100644 --- a/spm/__external/__fieldtrip/edf2fieldtrip.py +++ b/spm/__external/__fieldtrip/edf2fieldtrip.py @@ -2,7 +2,7 @@ def edf2fieldtrip(*args, **kwargs): - """ + r""" EDF2FIELDTRIP reads data from a EDF file with channels that have a different sampling rates. It upsamples all data to the highest sampling rate and concatenates all channels into a raw data structure that is compatible with the @@ -20,9 +20,12 @@ def edf2fieldtrip(*args, **kwargs): FT_READ_EVENT - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/edf2fieldtrip.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/edf2fieldtrip.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("edf2fieldtrip", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/fieldtrip2besa.py b/spm/__external/__fieldtrip/fieldtrip2besa.py index 982e591b..70cdb307 100644 --- a/spm/__external/__fieldtrip/fieldtrip2besa.py +++ b/spm/__external/__fieldtrip/fieldtrip2besa.py @@ -2,7 +2,7 @@ def fieldtrip2besa(*args, **kwargs): - """ + r""" FIELDTRIP2BESA saves a FieldTrip data structures to a corresponding BESA file. This export function is based on documentation that was provided by Todor Jordanov of BESA. @@ -25,9 +25,12 @@ def fieldtrip2besa(*args, **kwargs): See also FIELDTRIP2SPSS, FIELDTRIP2FIFF - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fieldtrip2besa.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fieldtrip2besa.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("fieldtrip2besa", *args, **kwargs, nargout=0) diff --git a/spm/__external/__fieldtrip/fieldtrip2bis.py b/spm/__external/__fieldtrip/fieldtrip2bis.py index 97868ecf..9c9169b5 100644 --- a/spm/__external/__fieldtrip/fieldtrip2bis.py +++ b/spm/__external/__fieldtrip/fieldtrip2bis.py @@ -2,7 +2,7 @@ def fieldtrip2bis(*args, **kwargs): - """ + r""" FIELDTRIP2BIS writes BioImage Suite .mgrid files with eletrode positions in 'xyz' coordinates using a elec datatype structure and the corresponding MRI volume @@ -13,9 +13,12 @@ def fieldtrip2bis(*args, **kwargs): See also BIS2FIELDTRIP, FT_WRITE_SENS, WRITE_BIOIMAGE_MGRID - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fieldtrip2bis.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fieldtrip2bis.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("fieldtrip2bis", *args, **kwargs, nargout=0) diff --git a/spm/__external/__fieldtrip/fieldtrip2ctf.py b/spm/__external/__fieldtrip/fieldtrip2ctf.py index a6e56de7..63946c07 100644 --- a/spm/__external/__fieldtrip/fieldtrip2ctf.py +++ b/spm/__external/__fieldtrip/fieldtrip2ctf.py @@ -2,7 +2,7 @@ def fieldtrip2ctf(*args, **kwargs): - """ + r""" FIELDTRIP2CTF saves a FieldTrip data structure to a CTF dataset. The file to which the data is exported depends on the input data structure that you @@ -20,9 +20,12 @@ def fieldtrip2ctf(*args, **kwargs): See also FT_DATATYPE, FT_APPLY_MONTAGE, FT_VOLUMEWRITE, FT_SOURCEWRITE, FT_WRITE_DATA - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fieldtrip2ctf.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fieldtrip2ctf.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("fieldtrip2ctf", *args, **kwargs, nargout=0) diff --git a/spm/__external/__fieldtrip/fieldtrip2fiff.py b/spm/__external/__fieldtrip/fieldtrip2fiff.py index a9a0dfb5..11ed96ec 100644 --- a/spm/__external/__fieldtrip/fieldtrip2fiff.py +++ b/spm/__external/__fieldtrip/fieldtrip2fiff.py @@ -2,7 +2,7 @@ def fieldtrip2fiff(*args, **kwargs): - """ + r""" FIELDTRIP2FIFF saves a FieldTrip raw data structure as a fiff-file, allowing it to be further analyzed by the Neuromag/Elekta/Megin software, or in MNE-python. @@ -47,9 +47,12 @@ def fieldtrip2fiff(*args, **kwargs): See also FT_DATATYPE_RAW, FT_DATATYPE_TIMELOCK - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fieldtrip2fiff.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fieldtrip2fiff.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("fieldtrip2fiff", *args, **kwargs, nargout=0) diff --git a/spm/__external/__fieldtrip/fieldtrip2homer.py b/spm/__external/__fieldtrip/fieldtrip2homer.py index 047ca068..8900cc87 100644 --- a/spm/__external/__fieldtrip/fieldtrip2homer.py +++ b/spm/__external/__fieldtrip/fieldtrip2homer.py @@ -2,7 +2,7 @@ def fieldtrip2homer(*args, **kwargs): - """ + r""" FIELDTRIP2HOMER converts a continuous raw data structure from FieldTrip format to Homer format. @@ -20,9 +20,12 @@ def fieldtrip2homer(*args, **kwargs): See also HOMER2FIELDTRIP, FT_PREPROCESSING, FT_DATATYPE_RAW - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fieldtrip2homer.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fieldtrip2homer.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("fieldtrip2homer", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/fieldtrip2spss.py b/spm/__external/__fieldtrip/fieldtrip2spss.py index 90115f22..3b3bc13d 100644 --- a/spm/__external/__fieldtrip/fieldtrip2spss.py +++ b/spm/__external/__fieldtrip/fieldtrip2spss.py @@ -2,7 +2,7 @@ def fieldtrip2spss(*args, **kwargs): - """ + r""" FIELDTRIP2SPSS compiles data and correpsonding labels into a textfile, suitable for importing into SPSS or JASP (jasp-stats.org). @@ -28,9 +28,12 @@ def fieldtrip2spss(*args, **kwargs): window and enter 9999 as the missing value definition. - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/fieldtrip2spss.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/fieldtrip2spss.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("fieldtrip2spss", *args, **kwargs, nargout=0) diff --git a/spm/__external/__fieldtrip/ft_analysispipeline.py b/spm/__external/__fieldtrip/ft_analysispipeline.py index 99adf5fa..c22afe03 100644 --- a/spm/__external/__fieldtrip/ft_analysispipeline.py +++ b/spm/__external/__fieldtrip/ft_analysispipeline.py @@ -2,7 +2,7 @@ def ft_analysispipeline(*args, **kwargs): - """ + r""" FT_ANALYSIPIPELINE reconstructs the complete analysis pipeline that was used to create the input FieldTrip data structure. The pipeline will be visualized as a flowchart. In the future it might be possible to output the complete pipeline as a MATLAB script @@ -34,14 +34,6 @@ def ft_analysispipeline(*args, **kwargs): be 'all', show all pipeline. Please note that if you want to show a lot of information, this will require a lot of screen real estate. - cfg.remove = cell-array with strings, determines which objects will - be removed from the configuration prior to writing it to - file. For readibility of the script, you may want to - remove the large objectssuch as event structure, trial - definition, source positions - cfg.keepremoved = 'yes' or 'no', determines whether removed fields are - completely removed, or only replaced by a short textual - description (default = 'no') This function uses the nested cfg and cfg.previous that are present in the data structure. It will use the configuration and the nested previous @@ -71,9 +63,12 @@ def ft_analysispipeline(*args, **kwargs): FT_CONNECTIVITYANALYSIS, FT_NETWORKANALYSIS - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/ft_analysispipeline.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/ft_analysispipeline.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_analysispipeline", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/ft_annotate.py b/spm/__external/__fieldtrip/ft_annotate.py index 87ce45e3..3a9c143d 100644 --- a/spm/__external/__fieldtrip/ft_annotate.py +++ b/spm/__external/__fieldtrip/ft_annotate.py @@ -2,7 +2,7 @@ def ft_annotate(*args, **kwargs): - """ + r""" FT_ANNOTATE returns the same output data as the user has provided as input, but allows to add comments to that data structure. These comments are stored along with the other provenance information and can be displayed with FT_ANALYSISPIPELINE. Adding comments @@ -26,9 +26,12 @@ def ft_annotate(*args, **kwargs): See also FT_ANALYSISPIPELINE, FT_MATH - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/ft_annotate.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/ft_annotate.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_annotate", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/ft_anonymizedata.py b/spm/__external/__fieldtrip/ft_anonymizedata.py index b3c66f30..b6a2f567 100644 --- a/spm/__external/__fieldtrip/ft_anonymizedata.py +++ b/spm/__external/__fieldtrip/ft_anonymizedata.py @@ -2,7 +2,7 @@ def ft_anonymizedata(*args, **kwargs): - """ + r""" FT_ANONYMIZEDATA clears the value of potentially identifying fields in the data and in the provenance information, i.e., it updates the data and the configuration structure and history that is maintained by FieldTrip @@ -39,9 +39,12 @@ def ft_anonymizedata(*args, **kwargs): See also FT_DEFACEVOLUME, FT_DEFACEMESH, FT_ANALYSISPIPELINE - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/ft_anonymizedata.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/ft_anonymizedata.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_anonymizedata", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/ft_appenddata.py b/spm/__external/__fieldtrip/ft_appenddata.py index 3d0eaaa8..e6ef20af 100644 --- a/spm/__external/__fieldtrip/ft_appenddata.py +++ b/spm/__external/__fieldtrip/ft_appenddata.py @@ -2,7 +2,7 @@ def ft_appenddata(*args, **kwargs): - """ + r""" FT_APPENDDATA concatenates multiple raw data structures that have been preprocessed separately into a single raw data structure. @@ -47,9 +47,12 @@ def ft_appenddata(*args, **kwargs): FT_APPENDSOURCE, FT_APPENDSENS - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/ft_appenddata.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/ft_appenddata.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_appenddata", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/ft_appendfreq.py b/spm/__external/__fieldtrip/ft_appendfreq.py index c14d99d0..12f28d4d 100644 --- a/spm/__external/__fieldtrip/ft_appendfreq.py +++ b/spm/__external/__fieldtrip/ft_appendfreq.py @@ -2,7 +2,7 @@ def ft_appendfreq(*args, **kwargs): - """ + r""" FT_APPENDFREQ concatenates multiple frequency or time-frequency data structures that have been processed separately. If the input data structures contain different channels, it will be concatenated along the channel direction. If the channels are @@ -28,13 +28,19 @@ def ft_appendfreq(*args, **kwargs): These mat files should contain only a single variable, corresponding with the input/output structure. + If you encounter difficulties with memory usage, you can use + cfg.memory = 'low' or 'high', whether to be memory or computationally efficient, respectively (default = 'high') + See also FT_FREQANALYSIS, FT_DATATYPE_FREQ, FT_APPENDDATA, FT_APPENDTIMELOCK, FT_APPENDSENS - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/ft_appendfreq.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/ft_appendfreq.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_appendfreq", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/ft_appendlayout.py b/spm/__external/__fieldtrip/ft_appendlayout.py index 83846746..47c996a6 100644 --- a/spm/__external/__fieldtrip/ft_appendlayout.py +++ b/spm/__external/__fieldtrip/ft_appendlayout.py @@ -2,7 +2,7 @@ def ft_appendlayout(*args, **kwargs): - """ + r""" FT_APPENDLAYOUT concatenates multiple layout descriptions that have been constructed separately. @@ -19,9 +19,12 @@ def ft_appendlayout(*args, **kwargs): See also FT_PREPARE_LAYOUT, FT_LAYOUTPLOT, FT_APPENDSENS - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/ft_appendlayout.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/ft_appendlayout.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_appendlayout", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/ft_appendsens.py b/spm/__external/__fieldtrip/ft_appendsens.py index b9cd5e17..6598ccb5 100644 --- a/spm/__external/__fieldtrip/ft_appendsens.py +++ b/spm/__external/__fieldtrip/ft_appendsens.py @@ -2,7 +2,7 @@ def ft_appendsens(*args, **kwargs): - """ + r""" FT_APPENDSENS concatenates multiple sensor definitions that have been processed separately. @@ -18,9 +18,12 @@ def ft_appendsens(*args, **kwargs): FT_APPENDDATA, FT_APPENDTIMELOCK, FT_APPENDFREQ, FT_APPENDSOURCE - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/ft_appendsens.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/ft_appendsens.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_appendsens", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/ft_appendsource.py b/spm/__external/__fieldtrip/ft_appendsource.py index 26108f98..4fa5aee5 100644 --- a/spm/__external/__fieldtrip/ft_appendsource.py +++ b/spm/__external/__fieldtrip/ft_appendsource.py @@ -2,7 +2,7 @@ def ft_appendsource(*args, **kwargs): - """ + r""" FT_APPENDSOURCE concatenates multiple volumetric source reconstruction data structures that have been processed separately. @@ -24,9 +24,12 @@ def ft_appendsource(*args, **kwargs): FT_APPENDFREQ - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/ft_appendsource.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/ft_appendsource.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_appendsource", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/ft_appendspike.py b/spm/__external/__fieldtrip/ft_appendspike.py index 5afacdf7..ccd3c13e 100644 --- a/spm/__external/__fieldtrip/ft_appendspike.py +++ b/spm/__external/__fieldtrip/ft_appendspike.py @@ -2,7 +2,7 @@ def ft_appendspike(*args, **kwargs): - """ + r""" FT_APPENDSPIKE combines continuous data (i.e. LFP) with point-process data (i.e. spikes) into a single large dataset. For each spike channel an additional continuos channel is inserted in the data that contains @@ -20,9 +20,12 @@ def ft_appendspike(*args, **kwargs): See also FT_APPENDDATA, FT_PREPROCESSING - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/ft_appendspike.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/ft_appendspike.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_appendspike", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/ft_appendtimelock.py b/spm/__external/__fieldtrip/ft_appendtimelock.py index 5e60128f..af82e6c3 100644 --- a/spm/__external/__fieldtrip/ft_appendtimelock.py +++ b/spm/__external/__fieldtrip/ft_appendtimelock.py @@ -2,7 +2,7 @@ def ft_appendtimelock(*args, **kwargs): - """ + r""" FT_APPENDTIMELOCK concatenates multiple timelock (ERP/ERF) data structures that have been processed separately. If the input data structures contain different channels, it will be concatenated along the channel direction. If the channels are @@ -19,13 +19,27 @@ def ft_appendtimelock(*args, **kwargs): are allowed to still be considered compatible (default = 1e-5) cfg.keepsampleinfo = 'yes', 'no', 'ifmakessense' (default = 'ifmakessense') + To facilitate data-handling and distributed computing you can use + cfg.inputfile = ... + cfg.outputfile = ... + If you specify one of these (or both) the input data will be read from a + *.mat file on disk and/or the output data will be written to a *.mat file. + These mat files should contain only a single variable, corresponding with + the input/output structure. + + If you encounter difficulties with memory usage, you can use + cfg.memory = 'low' or 'high', whether to be memory or computationally efficient, respectively (default = 'high') + See also FT_TIMELOCKANALYSIS, FT_DATATYPE_TIMELOCK, FT_APPENDDATA, FT_APPENDFREQ, FT_APPENDSOURCE, FT_APPENDSENS - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/ft_appendtimelock.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/ft_appendtimelock.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_appendtimelock", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/ft_artifact_clip.py b/spm/__external/__fieldtrip/ft_artifact_clip.py index 3b0ad1b3..b226eabe 100644 --- a/spm/__external/__fieldtrip/ft_artifact_clip.py +++ b/spm/__external/__fieldtrip/ft_artifact_clip.py @@ -2,7 +2,7 @@ def ft_artifact_clip(*args, **kwargs): - """ + r""" FT_ARTIFACT_CLIP scans the data segments of interest for channels that clip, i.,e. channels that have a constant value for a prolonged time, often indicating that the signal was outside the range for the amplifier. These clipping artifacts are @@ -47,9 +47,12 @@ def ft_artifact_clip(*args, **kwargs): FT_ARTIFACT_JUMP, FT_ARTIFACT_MUSCLE, FT_ARTIFACT_THRESHOLD, FT_ARTIFACT_ZVALUE - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/ft_artifact_clip.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/ft_artifact_clip.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_artifact_clip", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/ft_artifact_ecg.py b/spm/__external/__fieldtrip/ft_artifact_ecg.py index 39fcb194..55d41b95 100644 --- a/spm/__external/__fieldtrip/ft_artifact_ecg.py +++ b/spm/__external/__fieldtrip/ft_artifact_ecg.py @@ -2,7 +2,7 @@ def ft_artifact_ecg(*args, **kwargs): - """ + r""" FT_ARTIFACT_ECG performs a peak-detection on the ECG-channel and identifies the windows around the QRS peak as artifacts. Using FT_REJECTARTIFACT you can remove these windows from your data, or using FT_REMOVETEMPLATEARTIFACT you can subtract @@ -47,9 +47,12 @@ def ft_artifact_ecg(*args, **kwargs): FT_ARTIFACT_ZVALUE - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/ft_artifact_ecg.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/ft_artifact_ecg.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_artifact_ecg", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/ft_artifact_eog.py b/spm/__external/__fieldtrip/ft_artifact_eog.py index 1d8fce27..898dca7f 100644 --- a/spm/__external/__fieldtrip/ft_artifact_eog.py +++ b/spm/__external/__fieldtrip/ft_artifact_eog.py @@ -2,7 +2,7 @@ def ft_artifact_eog(*args, **kwargs): - """ + r""" FT_ARTIFACT_EOG scans data segments of interest for EOG artifacts. Use as @@ -53,9 +53,12 @@ def ft_artifact_eog(*args, **kwargs): FT_ARTIFACT_JUMP, FT_ARTIFACT_MUSCLE, FT_ARTIFACT_THRESHOLD, FT_ARTIFACT_ZVALUE - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/ft_artifact_eog.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/ft_artifact_eog.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_artifact_eog", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/ft_artifact_jump.py b/spm/__external/__fieldtrip/ft_artifact_jump.py index 2b35a7f1..54291a5d 100644 --- a/spm/__external/__fieldtrip/ft_artifact_jump.py +++ b/spm/__external/__fieldtrip/ft_artifact_jump.py @@ -2,7 +2,7 @@ def ft_artifact_jump(*args, **kwargs): - """ + r""" FT_ARTIFACT_JUMP scans data segments of interest for SQUID jump artifacts. Use as @@ -51,9 +51,12 @@ def ft_artifact_jump(*args, **kwargs): FT_ARTIFACT_JUMP, FT_ARTIFACT_MUSCLE, FT_ARTIFACT_THRESHOLD, FT_ARTIFACT_ZVALUE - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/ft_artifact_jump.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/ft_artifact_jump.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_artifact_jump", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/ft_artifact_muscle.py b/spm/__external/__fieldtrip/ft_artifact_muscle.py index 204e48b5..8421569e 100644 --- a/spm/__external/__fieldtrip/ft_artifact_muscle.py +++ b/spm/__external/__fieldtrip/ft_artifact_muscle.py @@ -2,7 +2,7 @@ def ft_artifact_muscle(*args, **kwargs): - """ + r""" FT_ARTIFACT_MUSCLE scans data segments of interest for muscle artifacts. Use as @@ -54,9 +54,12 @@ def ft_artifact_muscle(*args, **kwargs): FT_ARTIFACT_JUMP, FT_ARTIFACT_MUSCLE, FT_ARTIFACT_THRESHOLD, FT_ARTIFACT_ZVALUE - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/ft_artifact_muscle.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/ft_artifact_muscle.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_artifact_muscle", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/ft_artifact_nan.py b/spm/__external/__fieldtrip/ft_artifact_nan.py index 6cebd4cc..de0e1893 100644 --- a/spm/__external/__fieldtrip/ft_artifact_nan.py +++ b/spm/__external/__fieldtrip/ft_artifact_nan.py @@ -2,7 +2,7 @@ def ft_artifact_nan(*args, **kwargs): - """ + r""" FT_ARTIFACT_NAN identifies artifacts that are indicated in the data as NaN (not a number) values. @@ -28,9 +28,12 @@ def ft_artifact_nan(*args, **kwargs): FT_ARTIFACT_JUMP, FT_ARTIFACT_MUSCLE, FT_ARTIFACT_THRESHOLD, FT_ARTIFACT_ZVALUE - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/ft_artifact_nan.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/ft_artifact_nan.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_artifact_nan", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/ft_artifact_threshold.py b/spm/__external/__fieldtrip/ft_artifact_threshold.py index 00fd4502..e9a57e24 100644 --- a/spm/__external/__fieldtrip/ft_artifact_threshold.py +++ b/spm/__external/__fieldtrip/ft_artifact_threshold.py @@ -2,7 +2,7 @@ def ft_artifact_threshold(*args, **kwargs): - """ + r""" FT_ARTIFACT_THRESHOLD scans data segments of interest for channels in which the signal exceeds a specified minimum or maximum value, or in which the peak-to-peak range within the trial exceeds a specified threshold. @@ -62,9 +62,12 @@ def ft_artifact_threshold(*args, **kwargs): FT_ARTIFACT_JUMP, FT_ARTIFACT_MUSCLE, FT_ARTIFACT_THRESHOLD, FT_ARTIFACT_ZVALUE - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/ft_artifact_threshold.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/ft_artifact_threshold.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_artifact_threshold", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/ft_artifact_tms.py b/spm/__external/__fieldtrip/ft_artifact_tms.py index 692d7060..3c599d12 100644 --- a/spm/__external/__fieldtrip/ft_artifact_tms.py +++ b/spm/__external/__fieldtrip/ft_artifact_tms.py @@ -2,7 +2,7 @@ def ft_artifact_tms(*args, **kwargs): - """ + r""" FT_ARTIFACT_TMS reads the data segments of interest from file and identifies artefacts in EEG recordings that were done during TMS stimulation. @@ -73,9 +73,12 @@ def ft_artifact_tms(*args, **kwargs): FT_ARTIFACT_JUMP, FT_ARTIFACT_MUSCLE, FT_ARTIFACT_THRESHOLD, FT_ARTIFACT_ZVALUE - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/ft_artifact_tms.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/ft_artifact_tms.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_artifact_tms", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/ft_artifact_zvalue.py b/spm/__external/__fieldtrip/ft_artifact_zvalue.py index c83510b4..549d608e 100644 --- a/spm/__external/__fieldtrip/ft_artifact_zvalue.py +++ b/spm/__external/__fieldtrip/ft_artifact_zvalue.py @@ -2,7 +2,7 @@ def ft_artifact_zvalue(*args, **kwargs): - """ + r""" FT_ARTIFACT_ZVALUE scans data segments of interest for artifacts, by means of thresholding the z-scored values of signals that have been preprocessed, using heuristics that increase the sensitivity to detect certain types of artifacts. @@ -48,7 +48,8 @@ def ft_artifact_zvalue(*args, **kwargs): cfg.artfctdef.zvalue.artfctpeak = 'yes' or 'no' cfg.artfctdef.zvalue.artfctpeakrange = [begin end] cfg.artfctdef.zvalue.interactive = 'yes' or 'no' - cfg.artfctdef.zvalue.zscore = 'yes' (default) or 'no' + cfg.artfctdef.zvalue.zscore = 'yes' (default) or 'no' + cfg.artfctdef.zvalue.keepintermediate = 'no' (default) or 'yes' If you specify cfg.artfctdef.zvalue.artfctpeak='yes', a peak detection on the suprathreshold z-scores will be performed, and the artifact will be defined relative to @@ -68,6 +69,11 @@ def ft_artifact_zvalue(*args, **kwargs): if the threshold is to be defined in meaningful physical units, e.g. degrees of visual angle for eye position data. + If you specify cfg.artfctdef.zvalue.keepintermediate = 'yes', the intermediate data + that has been used for the artifacts' definition will be passed to the output. This + allows for the (potentially lengthy) computations to be uncoupled from the interactive + part. + If you specify cfg.artfctdef.zvalue.interactive = 'yes', a graphical user interface will show in which you can manually accept/reject the detected artifacts, and/or change the threshold. To control the graphical interface via keyboard, use the @@ -132,9 +138,12 @@ def ft_artifact_zvalue(*args, **kwargs): FT_ARTIFACT_JUMP, FT_ARTIFACT_MUSCLE, FT_ARTIFACT_THRESHOLD, FT_ARTIFACT_ZVALUE - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/ft_artifact_zvalue.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/ft_artifact_zvalue.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_artifact_zvalue", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/ft_audiovideobrowser.py b/spm/__external/__fieldtrip/ft_audiovideobrowser.py index a9ec9dac..13af42a0 100644 --- a/spm/__external/__fieldtrip/ft_audiovideobrowser.py +++ b/spm/__external/__fieldtrip/ft_audiovideobrowser.py @@ -2,7 +2,7 @@ def ft_audiovideobrowser(*args, **kwargs): - """ + r""" FT_AUDIOVIDEOBROWSER reads and vizualizes the audio and/or video data corresponding to the EEG/MEG data that is passed into this function. @@ -30,9 +30,12 @@ def ft_audiovideobrowser(*args, **kwargs): See also FT_DATABROWSER - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/ft_audiovideobrowser.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/ft_audiovideobrowser.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_audiovideobrowser", *args, **kwargs, nargout=0) diff --git a/spm/__external/__fieldtrip/ft_badchannel.py b/spm/__external/__fieldtrip/ft_badchannel.py index d9b327e6..f748496c 100644 --- a/spm/__external/__fieldtrip/ft_badchannel.py +++ b/spm/__external/__fieldtrip/ft_badchannel.py @@ -2,7 +2,7 @@ def ft_badchannel(*args, **kwargs): - """ + r""" FT_BADCHANNEL tries to identify bad channels in a MEG or EEG dataset. Different methods are implemented to identify bad channels, these are largely shared with those implemented in FT_REJECTVISUAL with the summary method. The methods are @@ -69,9 +69,12 @@ def ft_badchannel(*args, **kwargs): See also FT_BADSEGMENT, FT_BADDATA, FT_REJECTVISUAL, FT_CHANNELREPAIR - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/ft_badchannel.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/ft_badchannel.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_badchannel", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/ft_baddata.py b/spm/__external/__fieldtrip/ft_baddata.py index 6a99bc87..0747de37 100644 --- a/spm/__external/__fieldtrip/ft_baddata.py +++ b/spm/__external/__fieldtrip/ft_baddata.py @@ -2,7 +2,7 @@ def ft_baddata(*args, **kwargs): - """ + r""" FT_BADDATA identifies bad data in a MEG or EEG dataset by looping over all trials and all channels. Each channel in each trial is considered separately, in the remainder of the help we will refer to this as "traces". Different methods are @@ -46,9 +46,12 @@ def ft_baddata(*args, **kwargs): See also FT_BADCHANNEL, FT_BADSEGMENT, FT_REJECTVISUAL, FT_CHANNELREPAIR - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/ft_baddata.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/ft_baddata.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_baddata", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/ft_badsegment.py b/spm/__external/__fieldtrip/ft_badsegment.py index 5a841944..3276f9c2 100644 --- a/spm/__external/__fieldtrip/ft_badsegment.py +++ b/spm/__external/__fieldtrip/ft_badsegment.py @@ -2,7 +2,7 @@ def ft_badsegment(*args, **kwargs): - """ + r""" FT_BADSEGMENT tries to identify bad segments or trials in a MEG or EEG dataset. Different methods are implemented to identify bad channels, these are largely shared with those implemented in FT_REJECTVISUAL with the summary method. @@ -68,9 +68,12 @@ def ft_badsegment(*args, **kwargs): See also FT_BADCHANNEL, FT_BADDATA, FT_REJECTVISUAL, FT_REJECTARTIFACT - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/ft_badsegment.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/ft_badsegment.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_badsegment", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/ft_channelnormalise.py b/spm/__external/__fieldtrip/ft_channelnormalise.py index 63689244..9c6de96f 100644 --- a/spm/__external/__fieldtrip/ft_channelnormalise.py +++ b/spm/__external/__fieldtrip/ft_channelnormalise.py @@ -2,7 +2,7 @@ def ft_channelnormalise(*args, **kwargs): - """ + r""" FT_CHANNELNORMALISE shifts and scales all channels of the the input data. The default behavior is to subtract each channel's mean, and scale to a standard deviation of 1, for each channel individually. @@ -33,9 +33,12 @@ def ft_channelnormalise(*args, **kwargs): Copyright (C) 2010, Jan-Mathijs Schoffelen - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/ft_channelnormalise.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/ft_channelnormalise.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_channelnormalise", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/ft_channelrepair.py b/spm/__external/__fieldtrip/ft_channelrepair.py index 0e3cf866..73e96f6f 100644 --- a/spm/__external/__fieldtrip/ft_channelrepair.py +++ b/spm/__external/__fieldtrip/ft_channelrepair.py @@ -2,7 +2,7 @@ def ft_channelrepair(*args, **kwargs): - """ + r""" FT_CHANNELREPAIR repairs bad or missing channels in the data by replacing them with the plain average of of all neighbours, by a weighted average of all neighbours, by an interpolation based on a surface Laplacian, or @@ -59,9 +59,12 @@ def ft_channelrepair(*args, **kwargs): See also FT_MEGREALIGN, FT_MEGPLANAR, FT_PREPARE_NEIGHBOURS, FT_INTERPOLATENAN - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/ft_channelrepair.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/ft_channelrepair.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_channelrepair", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/ft_clusterplot.py b/spm/__external/__fieldtrip/ft_clusterplot.py index 6a01c035..50276c95 100644 --- a/spm/__external/__fieldtrip/ft_clusterplot.py +++ b/spm/__external/__fieldtrip/ft_clusterplot.py @@ -2,7 +2,7 @@ def ft_clusterplot(*args, **kwargs): - """ + r""" FT_CLUSTERPLOT plots a series of topographies with highlighted clusters. Use as @@ -24,6 +24,10 @@ def ft_clusterplot(*args, **kwargs): cfg.toi = vector, or 'all' (default) indicates which time points (or frequency bins) are to be plotted. If specified as 'all' only the data points with identified clusters are plotted + cfg.figure = 'yes' or 'no', whether to open a new figure. You can also specify a figure handle from FIGURE, GCF or SUBPLOT. (default = 'yes') + cfg.figurename = string, title of the figure window + cfg.position = location and size of the figure, specified as [left bottom width height] (default is automatic) + cfg.renderer = string, 'opengl', 'zbuffer', 'painters', see RENDERERINFO (default is automatic, try 'painters' when it crashes) You can also specify most configuration options that apply to FT_TOPOPLOTER or FT_TOPOPLOTTFR, except for cfg.xlim, any of the highlight options, cfg.comment and cfg.commentpos. @@ -37,9 +41,12 @@ def ft_clusterplot(*args, **kwargs): See also FT_TOPOPLOTTFR, FT_TOPOPLOTER, FT_MOVIEPLOTTFR, FT_MOVIEPLOTER - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/ft_clusterplot.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/ft_clusterplot.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_clusterplot", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/ft_combineplanar.py b/spm/__external/__fieldtrip/ft_combineplanar.py index 3fbcbaf5..5b102261 100644 --- a/spm/__external/__fieldtrip/ft_combineplanar.py +++ b/spm/__external/__fieldtrip/ft_combineplanar.py @@ -2,7 +2,7 @@ def ft_combineplanar(*args, **kwargs): - """ + r""" FT_COMBINEPLANAR computes the planar gradient magnitude over both directions combining the two gradients at each sensor to a single positive-valued number. This can be done for single-trial/averaged planar gradient ERFs or single-trial/averaged @@ -15,7 +15,7 @@ def ft_combineplanar(*args, **kwargs): The configuration can contain cfg.method = 'sum', 'svd', 'abssvd', or 'complex' (default = 'sum') - cfg.updatesens = 'no' or 'yes' (default = 'yes') + cfg.updatesens = 'yes' or 'no', whether to update the sensor array with the spatial projector (default = 'yes') and for timelocked input data (i.e. ERFs), the configuration can also contain cfg.demean = 'yes' or 'no' (default = 'no') cfg.baselinewindow = [begin end] @@ -31,9 +31,12 @@ def ft_combineplanar(*args, **kwargs): See also FT_MEGPLANAR - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/ft_combineplanar.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/ft_combineplanar.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_combineplanar", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/ft_componentanalysis.py b/spm/__external/__fieldtrip/ft_componentanalysis.py index e86cb394..d6ce5c86 100644 --- a/spm/__external/__fieldtrip/ft_componentanalysis.py +++ b/spm/__external/__fieldtrip/ft_componentanalysis.py @@ -2,7 +2,7 @@ def ft_componentanalysis(*args, **kwargs): - """ + r""" FT_COMPONENTANALYSIS performs independent component analysis or other spatio-temporal decompositions of EEG or MEG data. This function computes the topography and timecourses of the components. The output of this @@ -24,8 +24,8 @@ def ft_componentanalysis(*args, **kwargs): is split, it can also be 'all' or 'no' (default = 'no') cfg.trials = 'all' or a selection given as a 1xN vector (default = 'all') cfg.numcomponent = 'all' or number (default = 'all') - cfg.demean = 'no' or 'yes', whether to demean the input data (default = 'yes') - cfg.updatesens = 'no' or 'yes' (default = 'yes') + cfg.demean = 'yes' or 'no', whether to demean the input data (default = 'yes') + cfg.updatesens = 'yes' or 'no', whether to update the sensor array with the spatial projector (default = 'yes') cfg.feedback = 'no', 'text', 'textbar', 'gui' (default = 'text') The runica method supports the following method-specific options. The @@ -140,9 +140,12 @@ def ft_componentanalysis(*args, **kwargs): JADER, VARIMAX, DSS, CCA, SOBI, ICASSO - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/ft_componentanalysis.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/ft_componentanalysis.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_componentanalysis", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/ft_conjunctionanalysis.py b/spm/__external/__fieldtrip/ft_conjunctionanalysis.py index 4798bba3..6d6088f8 100644 --- a/spm/__external/__fieldtrip/ft_conjunctionanalysis.py +++ b/spm/__external/__fieldtrip/ft_conjunctionanalysis.py @@ -2,7 +2,7 @@ def ft_conjunctionanalysis(*args, **kwargs): - """ + r""" FT_CONJUNCTIONANALYSIS finds the minimum statistic common across two or more contrasts, i.e. data following ft_xxxstatistics. Furthermore, it finds the overlap of sensors/voxels that show statistically significant @@ -23,9 +23,12 @@ def ft_conjunctionanalysis(*args, **kwargs): See also FT_TIMELOCKSTATISTICS, FT_FREQSTATISTICS, FT_SOURCESTATISTICS - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/ft_conjunctionanalysis.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/ft_conjunctionanalysis.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_conjunctionanalysis", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/ft_connectivityanalysis.py b/spm/__external/__fieldtrip/ft_connectivityanalysis.py index 098b038f..a1d16c75 100644 --- a/spm/__external/__fieldtrip/ft_connectivityanalysis.py +++ b/spm/__external/__fieldtrip/ft_connectivityanalysis.py @@ -2,7 +2,7 @@ def ft_connectivityanalysis(*args, **kwargs): - """ + r""" FT_CONNECTIVITYANALYSIS computes various measures of connectivity between MEG/EEG channels or between source-level signals. @@ -34,7 +34,7 @@ def ft_connectivityanalysis(*args, **kwargs): 'plv', phase-locking value, support for freq and freqmvar data 'powcorr', power correlation, support for freq and source data 'powcorr_ortho', power correlation with single trial - orthogonalisation, support for source data + orthogonalisation, support for freq and source data 'ppc' pairwise phase consistency 'psi', phaseslope index, support for freq and freqmvar data 'wpli', weighted phase lag index (signed one, still have to @@ -55,9 +55,12 @@ def ft_connectivityanalysis(*args, **kwargs): when the input data is univariate. See FT_CHANNELSELECTION - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/ft_connectivityanalysis.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/ft_connectivityanalysis.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_connectivityanalysis", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/ft_connectivityplot.py b/spm/__external/__fieldtrip/ft_connectivityplot.py index c050392e..5ff88b7d 100644 --- a/spm/__external/__fieldtrip/ft_connectivityplot.py +++ b/spm/__external/__fieldtrip/ft_connectivityplot.py @@ -2,7 +2,7 @@ def ft_connectivityplot(*args, **kwargs): - """ + r""" FT_CONNECTIVITYPLOT plots channel-level frequency resolved connectivity. The data are rendered in a square grid of subplots, each subplot containing the connectivity spectrum between the two respective channels. @@ -24,9 +24,12 @@ def ft_connectivityplot(*args, **kwargs): See also FT_CONNECTIVITYANALYSIS, FT_CONNECTIVITYSIMULATION, FT_MULTIPLOTCC, FT_TOPOPLOTCC - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/ft_connectivityplot.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/ft_connectivityplot.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_connectivityplot", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/ft_connectivitysimulation.py b/spm/__external/__fieldtrip/ft_connectivitysimulation.py index 9c83442f..ca5c17e7 100644 --- a/spm/__external/__fieldtrip/ft_connectivitysimulation.py +++ b/spm/__external/__fieldtrip/ft_connectivitysimulation.py @@ -2,7 +2,7 @@ def ft_connectivitysimulation(*args, **kwargs): - """ + r""" FT_CONNECTIVITYSIMULATION simulates channel-level time-series data with a specified connectivity structure. This function returns an output data structure that resembles the output of FT_PREPROCESSING. @@ -101,9 +101,12 @@ def ft_connectivitysimulation(*args, **kwargs): FT_CONNECTIVITYANALYSIS - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/ft_connectivitysimulation.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/ft_connectivitysimulation.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_connectivitysimulation", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/ft_crossfrequencyanalysis.py b/spm/__external/__fieldtrip/ft_crossfrequencyanalysis.py index 7e4f1639..aa6d6da0 100644 --- a/spm/__external/__fieldtrip/ft_crossfrequencyanalysis.py +++ b/spm/__external/__fieldtrip/ft_crossfrequencyanalysis.py @@ -2,7 +2,7 @@ def ft_crossfrequencyanalysis(*args, **kwargs): - """ + r""" FT_CROSSFREQUENCYANALYSIS performs cross-frequency analysis Use as @@ -61,9 +61,12 @@ def ft_crossfrequencyanalysis(*args, **kwargs): See also FT_FREQANALYSIS, FT_CONNECTIVITYANALYSIS - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/ft_crossfrequencyanalysis.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/ft_crossfrequencyanalysis.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_crossfrequencyanalysis", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/ft_databrowser.py b/spm/__external/__fieldtrip/ft_databrowser.py index deb68dc8..d7e3bf57 100644 --- a/spm/__external/__fieldtrip/ft_databrowser.py +++ b/spm/__external/__fieldtrip/ft_databrowser.py @@ -2,7 +2,7 @@ def ft_databrowser(*args, **kwargs): - """ + r""" FT_DATABROWSER can be used for visual inspection of data. Artifacts that were detected by artifact functions (see FT_ARTIFACT_xxx functions where xxx is the type of artifact) are marked. Additionally data pieces can be marked and unmarked as @@ -18,7 +18,7 @@ def ft_databrowser(*args, **kwargs): If you want to browse data that is on disk, you have to specify cfg.dataset = string with the filename - Instead of specifying the dataset, you can also explicitely specify the name of the + Instead of specifying the dataset, you can also explicitly specify the name of the file containing the header information and the name of the file containing the data, using cfg.datafile = string with the filename @@ -52,6 +52,7 @@ def ft_databrowser(*args, **kwargs): cfg.selcfg = configuration options for function in cfg.selfun cfg.seldat = 'selected' or 'all', specifies whether only the currently selected or all channels will be passed to the selfun (default = 'selected') cfg.figure = 'yes' or 'no', whether to open a new figure. You can also specify a figure handle from FIGURE, GCF or SUBPLOT. (default = 'yes') + cfg.figurename = string, title of the figure window cfg.visible = string, 'on' or 'off' whether figure will be visible (default = 'on') cfg.position = location and size of the figure, specified as [left bottom width height] (default is automatic) cfg.renderer = string, 'opengl', 'zbuffer', 'painters', see RENDERERINFO (default is automatic, try 'painters' when it crashes) @@ -127,9 +128,12 @@ def ft_databrowser(*args, **kwargs): FT_ARTIFACT_ECG, FT_COMPONENTANALYSIS - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/ft_databrowser.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/ft_databrowser.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_databrowser", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/ft_defacemesh.py b/spm/__external/__fieldtrip/ft_defacemesh.py index e5166002..544f1796 100644 --- a/spm/__external/__fieldtrip/ft_defacemesh.py +++ b/spm/__external/__fieldtrip/ft_defacemesh.py @@ -2,7 +2,7 @@ def ft_defacemesh(*args, **kwargs): - """ + r""" FT_DEFACEMESH allows you to de-identify a scalp surface mesh by erasing specific regions, such as the face and ears. The interactive graphical user interface allows you to position a box over the anatomical data inside which all vertices will be @@ -24,9 +24,12 @@ def ft_defacemesh(*args, **kwargs): See also FT_ANONYMIZEDATA, FT_DEFACEVOLUME, FT_ANALYSISPIPELINE, FT_PLOT_MESH - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/ft_defacemesh.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/ft_defacemesh.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_defacemesh", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/ft_defacevolume.py b/spm/__external/__fieldtrip/ft_defacevolume.py index 45f85797..66091ed1 100644 --- a/spm/__external/__fieldtrip/ft_defacevolume.py +++ b/spm/__external/__fieldtrip/ft_defacevolume.py @@ -2,7 +2,7 @@ def ft_defacevolume(*args, **kwargs): - """ + r""" FT_DEFACEVOLUME allows you to de-identify an anatomical MRI by erasing specific regions, such as the face and ears. The interactive graphical user interface allows you to position a box over the anatomical data inside which all anatomical voxel @@ -36,9 +36,12 @@ def ft_defacevolume(*args, **kwargs): See also FT_ANONYMIZEDATA, FT_DEFACEMESH, FT_ANALYSISPIPELINE, FT_SOURCEPLOT - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/ft_defacevolume.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/ft_defacevolume.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_defacevolume", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/ft_defaults.py b/spm/__external/__fieldtrip/ft_defaults.py index c4dafb1e..1add15d3 100644 --- a/spm/__external/__fieldtrip/ft_defaults.py +++ b/spm/__external/__fieldtrip/ft_defaults.py @@ -2,7 +2,7 @@ def ft_defaults(*args, **kwargs): - """ + r""" FT_DEFAULTS (ending with "s") sets some general settings in the global variable ft_default (without the "s") and takes care of the required path settings. You can call this function in your startup.m script. This function is also called at the @@ -49,9 +49,12 @@ def ft_defaults(*args, **kwargs): See also FT_HASTOOLBOX, FT_CHECKCONFIG, FT_TRACKUSAGE, LICENSE - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/ft_defaults.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/ft_defaults.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_defaults", *args, **kwargs, nargout=0) diff --git a/spm/__external/__fieldtrip/ft_definetrial.py b/spm/__external/__fieldtrip/ft_definetrial.py index da95677d..deb3edc4 100644 --- a/spm/__external/__fieldtrip/ft_definetrial.py +++ b/spm/__external/__fieldtrip/ft_definetrial.py @@ -2,7 +2,7 @@ def ft_definetrial(*args, **kwargs): - """ + r""" FT_DEFINETRIAL defines the trials or segments of data that will be used for further processing and analysis, i.e. the pieces of data that will be read in by FT_PREPROCESSING. Trials are defined by their begin and end sample in the data file @@ -88,9 +88,12 @@ def ft_definetrial(*args, **kwargs): FT_TRIALFUN_EXAMPLE2 - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/ft_definetrial.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/ft_definetrial.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_definetrial", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/ft_denoise_amm.py b/spm/__external/__fieldtrip/ft_denoise_amm.py index aa1d6d49..0c33a6d7 100644 --- a/spm/__external/__fieldtrip/ft_denoise_amm.py +++ b/spm/__external/__fieldtrip/ft_denoise_amm.py @@ -2,33 +2,39 @@ def ft_denoise_amm(*args, **kwargs): - """ + r""" FT_DENOISE_AMM implements an adaptive multipole modelling based projection algorithm to suppress interference outside an ellipsoid spanned by an MEG array. It is based on: REFERENCE. Use as dataout = ft_denoise_amm(cfg, datain) - where cfg is a configuration structure that contains + where the input data should come from FT_PREPROCESSING or + FT_TIMELOCKANALYSIS and the configuration should contain cfg.channel = Nx1 cell-array with selection of channels (default = 'MEG'), see FT_CHANNELSELECTION for details cfg.trials = 'all' or a selection given as a 1xN vector (default = 'all') - cfg.pertrial = 'no', or 'yes', compute the temporal projection per trial (default = 'no') - cfg.demean = 'yes', or 'no', demean the data per epoch (default = 'yes') - cfg.updatesens = 'yes', or 'no', update the sensor array with the spatial projector + cfg.pertrial = 'no' or 'yes', compute the temporal projection per trial (default = 'yes') + cfg.demean = 'yes' or 'no', demean the data per epoch (default = 'yes') + cfg.updatesens = 'yes' or 'no', whether to update the sensor array with the spatial projector (default = 'yes') cfg.amm = structure with parameters that determine the behavior of the algorithm - cfg.amm.order_in = scalar. Order of the spheroidal harmonics basis that spans the in space (default = 9) - cfg.amm.order_out = scalar. Order of the spheroidal harmonics basis that spans the out space (default = 2) + cfg.amm.order_in = scalar, order of the spheroidal harmonics basis that spans the in space (default = 9) + cfg.amm.order_out = scalar, order of the spheroidal harmonics basis that spans the out space (default = 2) cfg.amm.reducerank cfg.amm.thr - The implementation is based on Tim Tierney's code written for spm + The implementation is based on Tim Tierney's code written for SPM. - See also FT_DENOISE_PCA, FT_DENOISE_SYNTHETIC, FT_DENOISE_TSR, FT_DENOISE_DSSP, FT_DENOISE_HFC + See also FT_PREPROCESSING, FT_DENOISE_DSSP, FT_DENOISE_HFC, + FT_DENOISE_PCA, FT_DENOISE_PREWHITEN, FT_DENOISE_SSP, FT_DENOISE_SSS, + FT_DENOISE_SYNTHETIC, FT_DENOISE_TSR - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/ft_denoise_amm.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/ft_denoise_amm.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_denoise_amm", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/ft_denoise_dssp.py b/spm/__external/__fieldtrip/ft_denoise_dssp.py index b1f5e644..1d873324 100644 --- a/spm/__external/__fieldtrip/ft_denoise_dssp.py +++ b/spm/__external/__fieldtrip/ft_denoise_dssp.py @@ -2,7 +2,7 @@ def ft_denoise_dssp(*args, **kwargs): - """ + r""" FT_DENOISE_DSSP implements a dual signal subspace projection algorithm to suppress interference outside a predefined source region of interest. It is based on: Sekihara et al. J. Neural Eng. 2016 13(3), and @@ -10,12 +10,13 @@ def ft_denoise_dssp(*args, **kwargs): Use as dataout = ft_denoise_dssp(cfg, datain) - where cfg is a configuration structure that contains + where the input data should come from FT_PREPROCESSING or + FT_TIMELOCKANALYSIS and the configuration should contain cfg.channel = Nx1 cell-array with selection of channels (default = 'all'), see FT_CHANNELSELECTION for details cfg.trials = 'all' or a selection given as a 1xN vector (default = 'all') - cfg.pertrial = 'no', or 'yes', compute the temporal projection per trial (default = 'no') + cfg.pertrial = 'no' or 'yes', compute the temporal projection per trial (default = 'no') cfg.sourcemodel = structure, source model with precomputed leadfields, see FT_PREPARE_LEADFIELD - cfg.demean = 'yes', or 'no', demean the data per epoch (default = 'yes') + cfg.demean = 'yes' or 'no', demean the data per epoch (default = 'yes') cfg.dssp = structure with parameters that determine the behavior of the algorithm cfg.dssp.n_space = 'all', or scalar. Number of dimensions for the initial spatial projection. @@ -28,12 +29,17 @@ def ft_denoise_dssp(*args, **kwargs): included eigenvalues (if value<1), determining the dimensionality of the intersection. - See also FT_DENOISE_PCA, FT_DENOISE_SYNTHETIC, FT_DENOISE_TSR + See also FT_PREPROCESSING, FT_DENOISE_AMM, FT_DENOISE_HFC, + FT_DENOISE_PCA, FT_DENOISE_PREWHITEN, FT_DENOISE_SSP, FT_DENOISE_SSS, + FT_DENOISE_SYNTHETIC, FT_DENOISE_TSR - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/ft_denoise_dssp.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/ft_denoise_dssp.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_denoise_dssp", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/ft_denoise_hfc.py b/spm/__external/__fieldtrip/ft_denoise_hfc.py index 653db31b..14dbf9cb 100644 --- a/spm/__external/__fieldtrip/ft_denoise_hfc.py +++ b/spm/__external/__fieldtrip/ft_denoise_hfc.py @@ -2,7 +2,7 @@ def ft_denoise_hfc(*args, **kwargs): - """ + r""" FT_DENOISE_HFC implements harmonic field correction, which models external interference on the recordings as a harmonic magnetic field. It is particulaly useful for MEG data with low channel numbers, such as OPM data. @@ -14,26 +14,31 @@ def ft_denoise_hfc(*args, **kwargs): https://doi.org/10.1016/j.neuroimage.2022.119338. Use as - data = ft_denoise_hfc(cfg,data) + data = ft_denoise_hfc(cfg, data) - Where cfg is a configuration structure that contains: + The configuration should contain cfg.channel = channels for HFC (default = 'all') cfg.order = number, spherical harmonic order (default = 1) order = 1 is a homogenous field order = 2 includes gradients order = 3 includes quadratic terms, etc. cfg.trials = which trials do you want to denoise? (default = 'all') - cfg.updatesens = do you want to update sensor info with projector? (default = 'yes') + cfg.updatesens = 'yes' or 'no', whether to update the sensor array with the spatial projector (default = 'yes') cfg.feedback = do you want feedback (default = 'yes') cfg.residualcheck = do you want to check channel residuals (default = 'yes') cfg.residualthresh = number in pT, what level of residual signal is fine for quality assurance (default = 50) - See also FT_DENOISE_SYNTHETIC, FT_DENOISE_PCA, FT_DENOISE_DSSP, FT_DENOISE_TSP + See also FT_PREPROCESSING, FT_DENOISE_AMM, FT_DENOISE_DSSP, + FT_DENOISE_PCA, FT_DENOISE_PREWHITEN, FT_DENOISE_SSP, FT_DENOISE_SSS, + FT_DENOISE_SYNTHETIC, FT_DENOISE_TSR - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/ft_denoise_hfc.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/ft_denoise_hfc.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_denoise_hfc", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/ft_denoise_pca.py b/spm/__external/__fieldtrip/ft_denoise_pca.py index ea77e4af..aee31458 100644 --- a/spm/__external/__fieldtrip/ft_denoise_pca.py +++ b/spm/__external/__fieldtrip/ft_denoise_pca.py @@ -2,7 +2,7 @@ def ft_denoise_pca(*args, **kwargs): - """ + r""" FT_DENOISE_PCA performs a principal component analysis (PCA) on specified reference channels and subtracts the projection of the data of interest onto this orthogonal basis from the data of interest. This is the algorithm which is applied by BTi/4D to @@ -23,24 +23,29 @@ def ft_denoise_pca(*args, **kwargs): consistent with the output of FT_PREPROCESSING. The configuration should contain - cfg.refchannel = the channels used as reference signal (default = 'MEGREF') cfg.channel = the channels to be denoised (default = 'MEG') + cfg.refchannel = the channels used as reference signal (default = 'MEGREF') cfg.truncate = optional truncation of the singular value spectrum (default = 'no') - cfg.zscore = standardise reference data prior to PCA (default = 'no') - cfg.pertrial = 'no' (default) or 'yes'. Regress out the references on a per trial basis + cfg.zscore = standardize reference data prior to PCA (default = 'no') cfg.trials = list of trials that are used (default = 'all') - cfg.updatesens = 'no' or 'yes' (default = 'yes') + cfg.pertrial = 'yes' or 'no', whether to regress out the references on a per-trial basis (default = 'no') + cfg.updatesens = 'yes' or 'no', whether to update the sensor array with the spatial projector (default = 'yes') if cfg.truncate is integer n > 1, n will be the number of singular values kept. if 0 < cfg.truncate < 1, the singular value spectrum will be thresholded at the fraction cfg.truncate of the largest singular value. - See also FT_PREPROCESSING, FT_DENOISE_SYNTHETIC, FT_DENOISE_SSP + See also FT_PREPROCESSING, FT_DENOISE_AMM, FT_DENOISE_DSSP, + FT_DENOISE_HFC, FT_DENOISE_PREWHITEN, FT_DENOISE_SSP, FT_DENOISE_SSS, + FT_DENOISE_SYNTHETIC, FT_DENOISE_TSR - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/ft_denoise_pca.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/ft_denoise_pca.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_denoise_pca", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/ft_denoise_prewhiten.py b/spm/__external/__fieldtrip/ft_denoise_prewhiten.py index bc7e0120..0b3820db 100644 --- a/spm/__external/__fieldtrip/ft_denoise_prewhiten.py +++ b/spm/__external/__fieldtrip/ft_denoise_prewhiten.py @@ -2,7 +2,7 @@ def ft_denoise_prewhiten(*args, **kwargs): - """ + r""" FT_DENOISE_PREWHITEN applies a spatial prewhitening operation to the data using the inverse noise covariance matrix. The consequence is that all channels are expressed in singnal-to-noise units, causing different channel types to be comparable. This @@ -19,18 +19,24 @@ def ft_denoise_prewhiten(*args, **kwargs): cfg.split = cell-array of channel types between which covariance is split, it can also be 'all' or 'no' cfg.lambda = scalar, or string, regularization parameter for the inverse cfg.kappa = scalar, truncation parameter for the inverse + cfg.updatesens = 'yes' or 'no', whether to update the sensor array with the spatial projector (default = 'yes') The channel selection relates to the channels that are pre-whitened using the same selection of channels in the noise covariance. All channels present in the input data structure will be present in the output, including trigger and other auxiliary channels. - See also FT_DENOISE_SYNTHETIC, FT_DENOISE_PCA, FT_DENOISE_DSSP, FT_DENOISE_TSP + See also FT_PREPROCESSING, FT_DENOISE_AMM, FT_DENOISE_DSSP, + FT_DENOISE_HFC, FT_DENOISE_PCA, FT_DENOISE_SSP, FT_DENOISE_SSS, + FT_DENOISE_SYNTHETIC, FT_DENOISE_TSR - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/ft_denoise_prewhiten.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/ft_denoise_prewhiten.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_denoise_prewhiten", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/ft_denoise_ssp.py b/spm/__external/__fieldtrip/ft_denoise_ssp.py index dc03cfbe..f26b3297 100644 --- a/spm/__external/__fieldtrip/ft_denoise_ssp.py +++ b/spm/__external/__fieldtrip/ft_denoise_ssp.py @@ -2,18 +2,31 @@ def ft_denoise_ssp(*args, **kwargs): - """ + r""" FT_DENOISE_SSP projects out topographies based on ambient noise on Neuromag/Elekta/MEGIN systems. These topographies are estimated during maintenance - visits from the engineers of MEGIN + visits from the engineers of MEGIN. Alternatively, it computes the projectors from + reference data (e.g., empty room) if it is given as an additional input. For the + best results, make sure to preprocess the reference data the same as the data to denoise. Use as [data] = ft_denoise_ssp(cfg, data) - where data should come from FT_PREPROCESSING and the configuration - should contain - cfg.ssp = 'all' or a cell array of SSP names to apply (default = 'all') + or + [data] = ft_denoise_ssp(cfg, data, refdata) + where the input data should come from FT_PREPROCESSING or + FT_TIMELOCKANALYSIS and the configuration should contain + cfg.channel = the channels to be denoised (default = 'all') cfg.trials = 'all' or a selection given as a 1xN vector (default = 'all') - cfg.updatesens = 'no' or 'yes' (default = 'yes') + cfg.ssp = 'all' or a cell array of SSP names to apply (default = 'all') + cfg.updatesens = 'yes' or 'no', whether to update the sensor array with the spatial projector (default = 'yes') + + If refdata is specified, this data will be used for the computation of the spatial projectors, by performing a PCA + on-the-fly. In this situation, the configuration should also contain + cfg.numcomponent = number of principal components to project out of the data + (default = 3) + cfg.refchannel = the channels used as reference signal (default = 'MEG') + cfg.reftrials = 'all' or a selection given as a 1xN vector, specifies which trials to use + from the reference data (default = 'all') To facilitate data-handling and distributed computing you can use cfg.inputfile = ... @@ -23,12 +36,17 @@ def ft_denoise_ssp(*args, **kwargs): files should contain only a single variable, corresponding with the input/output structure. - See also FT_PREPROCESSING, FT_DENOISE_SYNTHETIC, FT_DENOISE_PCA + See also FT_PREPROCESSING, FT_DENOISE_AMM, FT_DENOISE_DSSP, + FT_DENOISE_HFC, FT_DENOISE_PCA, FT_DENOISE_PREWHITEN, FT_DENOISE_SSS, + FT_DENOISE_SYNTHETIC, FT_DENOISE_TSR - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/ft_denoise_ssp.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/ft_denoise_ssp.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_denoise_ssp", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/ft_denoise_sss.py b/spm/__external/__fieldtrip/ft_denoise_sss.py index 83d8560e..b974578f 100644 --- a/spm/__external/__fieldtrip/ft_denoise_sss.py +++ b/spm/__external/__fieldtrip/ft_denoise_sss.py @@ -2,31 +2,44 @@ def ft_denoise_sss(*args, **kwargs): - """ - FT_DENOISE_SSS implements an spherical harmonics based + r""" + FT_DENOISE_sss implements an spherical harmonics based projection algorithm to suppress interference outside an sphere - spanned by an MEG array. It is based on: REFERENCE. + spanned by an MEG array. It is based on: https://doi.org/10.1063/1.1935742. Use as dataout = ft_denoise_sss(cfg, datain) - where cfg is a configuration structure that contains - cfg.channel = Nx1 cell-array with selection of channels (default = 'all'), see FT_CHANNELSELECTION for details + where the input data should come from FT_PREPROCESSING or FT_TIMELOCKANALYSIS and the + configuration structure should contain + cfg.sss.origin = 1x3 vector, specifying the origin of the spherical harmonic expansion, in coordinates and units consistent with the sensor array + + other options are + cfg.channel = Nx1 cell-array with selection of channels (default = 'MEG'), see FT_CHANNELSELECTION for details cfg.trials = 'all' or a selection given as a 1xN vector (default = 'all') - cfg.pertrial = 'no', or 'yes', compute the temporal projection per trial (default = 'no') cfg.demean = 'yes', or 'no', demean the data per epoch (default = 'yes') cfg.updatesens = 'yes', or 'no', update the sensor array with the spatial projector + cfg.updateheadposition = 'no', or 'yes', do movement compensation by realigning the data to a fixed head position, for CTF data only (default = 'no') cfg.sss = structure with parameters that determine the behavior of the algorithm - cfg.sss.order_in = scalar. Order of the spherical harmonics basis that spans the in space (default = 8) - cfg.sss.order_out = scalar. Order of the spherical harmonics basis that spans the out space (default = 3) + cfg.sss.order_in = scalar, order of the spherical harmonics basis that spans the in space (default = 8) + cfg.sss.order_out = scalar, order of the spherical harmonics basis that spans the out space (default = 3) + cfg.sss.thr = scalar, correlation threshold for the removal of temporal components from the intersection subspace (default = 0.98) + cfg.sss.chunkszie = scalar (or 'none', or 'trial'), length of segments for temporal component estimation (default = 10). If 'none', no temporal + projection will be performed. If 'trial', temporal projection (+optional headposition update) will be computed per trial + (without accounting for chunksize) - The implementation is based on Tim Tierney's code written for spm + The implementation is based on Tim Tierney's code written for SPM, and with inspiration from the MNE-Python version. - See also FT_DENOISE_PCA, FT_DENOISE_SYNTHETIC, FT_DENOISE_TSR, FT_DENOISE_DSSP, FT_DENOISE_HFC + See also FT_PREPROCESSING, FT_DENOISE_AMM, FT_DENOISE_DSSP, + FT_DENOISE_HFC, FT_DENOISE_PCA, FT_DENOISE_PREWHITEN, FT_DENOISE_SSP, + FT_DENOISE_SYNTHETIC, FT_DENOISE_TSR - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/ft_denoise_sss.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/ft_denoise_sss.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_denoise_sss", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/ft_denoise_synthetic.py b/spm/__external/__fieldtrip/ft_denoise_synthetic.py index 828daea7..a090e034 100644 --- a/spm/__external/__fieldtrip/ft_denoise_synthetic.py +++ b/spm/__external/__fieldtrip/ft_denoise_synthetic.py @@ -2,17 +2,18 @@ def ft_denoise_synthetic(*args, **kwargs): - """ + r""" FT_DENOISE_SYNTHETIC computes CTF higher-order synthetic gradients for preprocessed data and for the corresponding gradiometer definition. Use as [data] = ft_denoise_synthetic(cfg, data) - where data should come from FT_PREPROCESSING and the configuration should contain - cfg.gradient = 'none', 'G1BR', 'G2BR' or 'G3BR' specifies the gradiometer - type to which the data should be changed - cfg.trials = 'all' or a selection given as a 1xN vector (default = 'all') - cfg.updatesens = 'no' or 'yes' (default = 'yes') + where the input data should come from FT_PREPROCESSING or + FT_TIMELOCKANALYSIS and the configuration should contain + cfg.gradient = 'none', 'G1BR', 'G2BR' or 'G3BR' specifies the gradiometer + type to which the data should be changed + cfg.trials = 'all' or a selection given as a 1xN vector (default = 'all') + cfg.updatesens = 'yes' or 'no', whether to update the sensor array with the spatial projector (default = 'yes') To facilitate data-handling and distributed computing you can use cfg.inputfile = ... @@ -22,12 +23,17 @@ def ft_denoise_synthetic(*args, **kwargs): files should contain only a single variable, corresponding with the input/output structure. - See also FT_PREPROCESSING, FT_DENOISE_PCA, FT_DENOISE_SSP + See also FT_PREPROCESSING, FT_DENOISE_AMM, FT_DENOISE_DSSP, + FT_DENOISE_HFC, FT_DENOISE_PCA, FT_DENOISE_PREWHITEN, FT_DENOISE_SSP, + FT_DENOISE_SSS, FT_DENOISE_TSR - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/ft_denoise_synthetic.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/ft_denoise_synthetic.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_denoise_synthetic", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/ft_denoise_tsr.py b/spm/__external/__fieldtrip/ft_denoise_tsr.py index 250b194e..d525ccef 100644 --- a/spm/__external/__fieldtrip/ft_denoise_tsr.py +++ b/spm/__external/__fieldtrip/ft_denoise_tsr.py @@ -2,7 +2,7 @@ def ft_denoise_tsr(*args, **kwargs): - """ + r""" FT_DENOISE_TSR performs a regression analysis, using a (time-shifted set of) reference signal(s) as independent variable. It is a generic implementation of the method described by De Cheveigne @@ -14,6 +14,7 @@ def ft_denoise_tsr(*args, **kwargs): Use as [dataout] = ft_denoise_tsr(cfg, data) + or [dataout] = ft_denoise_tsr(cfg, data, refdata) where "data" is a raw data structure that was obtained with FT_PREPROCESSING. If you specify the additional input "refdata", the specified reference channels for @@ -47,9 +48,8 @@ def ft_denoise_tsr(*args, **kwargs): cfg.threshold = integer array, ([1 by 2] or [1 by numel(cfg.channel) + numel(cfg.reflags)]), regularization or shrinkage ('lambda') parameter to be loaded on the diagonal of the penalty term (if cfg.method == 'mlrridge' or 'mlrqridge') - cfg.updatesens = string, 'yes' or 'no' (default = 'yes') - cfg.perchannel = string, 'yes' or 'no', or logical, whether or not to perform estimation of beta weights - separately per channel + cfg.updatesens = 'yes' or 'no', whether to update the sensor array with the spatial projector (default = 'yes') + cfg.perchannel = 'yes' or 'no', whether or not to perform estimation of beta weights separately per channel cfg.output = string, 'model' or 'residual' (defaul = 'model'), specifies what is outputed in .trial field in cfg.performance = string, 'pearson' or 'r-squared' (default = @@ -68,12 +68,17 @@ def ft_denoise_tsr(*args, **kwargs): uniformly in the dimension of predictor variable and cfg.threshold(2) in the space of response variable. - See also FT_PREPROCESSING, FT_DENOISE_SYNTHETIC, FT_DENOISE_PCA + See also FT_PREPROCESSING, FT_DENOISE_AMM, FT_DENOISE_DSSP, + FT_DENOISE_HFC, FT_DENOISE_PCA, FT_DENOISE_PREWHITEN, FT_DENOISE_SSP, + FT_DENOISE_SSS, FT_DENOISE_SYNTHETIC - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/ft_denoise_tsr.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/ft_denoise_tsr.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_denoise_tsr", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/ft_detect_movement.py b/spm/__external/__fieldtrip/ft_detect_movement.py index c1a01bcd..91a5fdf5 100644 --- a/spm/__external/__fieldtrip/ft_detect_movement.py +++ b/spm/__external/__fieldtrip/ft_detect_movement.py @@ -2,7 +2,7 @@ def ft_detect_movement(*args, **kwargs): - """ + r""" FT_SACCADE_DETECTION performs detection of movements such as saccades and microsaccades, but also joystick movements, from time series data over multiple trials. Different methods for detecting movements are implemented, which are @@ -49,9 +49,12 @@ def ft_detect_movement(*args, **kwargs): See also FT_DATABROWSER, FT_DATATYPE_SPIKE - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/ft_detect_movement.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/ft_detect_movement.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_detect_movement", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/ft_dipolefitting.py b/spm/__external/__fieldtrip/ft_dipolefitting.py index edfb680f..55395202 100644 --- a/spm/__external/__fieldtrip/ft_dipolefitting.py +++ b/spm/__external/__fieldtrip/ft_dipolefitting.py @@ -2,7 +2,7 @@ def ft_dipolefitting(*args, **kwargs): - """ + r""" FT_DIPOLEFITTING perform grid search and non-linear fit with one or multiple dipoles and try to find the location where the dipole model is best able to explain the measured EEG or MEG topography. @@ -95,9 +95,12 @@ def ft_dipolefitting(*args, **kwargs): See also FT_SOURCEANALYSIS, FT_PREPARE_LEADFIELD, FT_PREPARE_HEADMODEL - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/ft_dipolefitting.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/ft_dipolefitting.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_dipolefitting", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/ft_dipolesimulation.py b/spm/__external/__fieldtrip/ft_dipolesimulation.py index d5be07b0..c104f1e8 100644 --- a/spm/__external/__fieldtrip/ft_dipolesimulation.py +++ b/spm/__external/__fieldtrip/ft_dipolesimulation.py @@ -2,7 +2,7 @@ def ft_dipolesimulation(*args, **kwargs): - """ + r""" FT_DIPOLESIMULATION simulates channel-level time-series data that consists of the the spatial distribution of the the field or potential of one or multiple dipoles. @@ -61,9 +61,12 @@ def ft_dipolesimulation(*args, **kwargs): FT_FREQSIMULATION, FT_CONNECTIVITYSIMULATION - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/ft_dipolesimulation.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/ft_dipolesimulation.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_dipolesimulation", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/ft_electrodeplacement.py b/spm/__external/__fieldtrip/ft_electrodeplacement.py index 82778431..76a6400c 100644 --- a/spm/__external/__fieldtrip/ft_electrodeplacement.py +++ b/spm/__external/__fieldtrip/ft_electrodeplacement.py @@ -2,7 +2,7 @@ def ft_electrodeplacement(*args, **kwargs): - """ + r""" FT_ELECTRODEPLACEMENT allows manual placement of electrodes on a MRI scan, CT scan or on a triangulated surface of the head. This function supports different methods. @@ -58,9 +58,11 @@ def ft_electrodeplacement(*args, **kwargs): 'volume' interactively locate electrodes on three orthogonal slices of a volumetric MRI or CT scan 'headshape' interactively locate electrodes on a head surface '1020' automatically locate electrodes on a head surface according to the 10-20 system + 'equidistant' automatically locate electrodes on a head surface according to an equidistant dsitribution 'shaft' automatically locate electrodes along a linear sEEG shaft 'grid' automatically locate electrodes on a MxN ECoG grid cfg.figure = 'yes' or 'no', whether to open a new figure. You can also specify a figure handle from FIGURE, GCF or SUBPLOT. (default = 'yes') + cfg.figurename = string, title of the figure window cfg.position = location and size of the figure, specified as [left bottom width height] (default is automatic) cfg.renderer = string, 'opengl', 'zbuffer', 'painters', see RENDERERINFO (default = 'opengl') @@ -77,13 +79,20 @@ def ft_electrodeplacement(*args, **kwargs): 'weighted' place electrodes at center-of-mass cfg.magradius = number representing the radius for the cfg.magtype based search (default = 3) - The following options apply to the '1020' method + The following options apply to the '1020' and 'equidistant' method cfg.fiducial.nas = 1x3 vector with coordinates cfg.fiducial.ini = 1x3 vector with coordinates cfg.fiducial.lpa = 1x3 vector with coordinates cfg.fiducial.rpa = 1x3 vector with coordinates cfg.feedback = string, can be 'yes' or 'no' for detailed feedback (default = 'yes') + The following additional options apply to the 'equidistant' method + cfg.numelec = scalar, how many electrodes to place (default = 64) + cfg.nummidline = scalar, how many electrodes along the midline over the vertex + cfg.numsideline = scalar, how many electrodes along the midline over the sideline above the ear + cfg.maxiter = scalar, maximum number of iterations at which to stop + cfg.minchange = scalar, minimum change at which to stop + The following options apply to the 'shaft' method cfg.shaft.tip = 1x3 position of the electrode at the tip of the shaft cfg.shaft.along = 1x3 or Nx3 positions along the shaft @@ -102,9 +111,12 @@ def ft_electrodeplacement(*args, **kwargs): See also FT_ELECTRODEREALIGN, FT_VOLUMEREALIGN, FT_VOLUMESEGMENT, FT_PREPARE_MESH - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/ft_electrodeplacement.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/ft_electrodeplacement.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_electrodeplacement", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/ft_electroderealign.py b/spm/__external/__fieldtrip/ft_electroderealign.py index 4251ad69..395a19a2 100644 --- a/spm/__external/__fieldtrip/ft_electroderealign.py +++ b/spm/__external/__fieldtrip/ft_electroderealign.py @@ -2,31 +2,28 @@ def ft_electroderealign(*args, **kwargs): - """ - FT_ELECTRODEREALIGN rotates, translates, scales and warps electrode positions. The - default is to only rotate and translate, i.e. to do a rigid body transformation in - which only the coordinate system is changed. With the right settings if can apply - additional deformations to the input sensors (e.g. scale them to better fit the - skin surface). The different methods are described in detail below. - - INTERACTIVE - You can display the skin surface together with the electrode or - gradiometer positions, and manually (using the graphical user interface) adjust the - rotation, translation and scaling parameters, so that the electrodes correspond - with the skin. - - FIDUCIAL - You can apply a rigid body realignment based on three fiducial - locations. After realigning, the fiducials in the input electrode set (typically - nose, left and right ear) are along the same axes as the fiducials in the template - electrode set. - - TEMPLATE - You can apply a spatial transformation/deformation that automatically - minimizes the distance between the electrodes or gradiometers and a template or - sensor array. The warping methods use a non-linear search to minimize the distance - between the input sensor positions and the corresponding template sensors. - - HEADSHAPE - You can apply a spatial transformation/deformation that automatically + r""" + FT_ELECTRODEREALIGN rotates, translates, scales, warps and/or projects EEG + electrode positions. The different methods are described in detail below. + + INTERACTIVE - This displays the skin surface together with the electrode or + gradiometer positions, and allows you to manually adjust (using the graphical user + interface) the rotation, translation and scaling parameters, so that the electrodes + correspond with the skin. + + FIDUCIAL - This applies a rigid body realignment based on three fiducial or + anatomical locations. After realigning, the fiducials that are part of the input + electrode set (typically nose, left and right ear) are along the same axes as + the fiducials in the target electrode set. + + TEMPLATE - This applies a linear or non-linear spatial transformation/deformation + that automatically minimizes the distance between the input electrodes and a target + electrode set. The warping methods use a non-linear search to minimize the distance + between the input electrode positions and the corresponding target electrode. + + HEADSHAPE - This applies a spatial transformation/deformation that automatically minimizes the distance between the electrodes and the head surface. The warping - methods use a non-linear search to minimize the distance between the input sensor + methods use a non-linear search to minimize the distance between the input electrode positions and the projection of the electrodes on the head surface. PROJECT - This projects each of the electrodes to the nearest point on the @@ -40,14 +37,14 @@ def ft_electroderealign(*args, **kwargs): Use as [elec_realigned] = ft_electroderealign(cfg) with the electrode or gradiometer details in the configuration, or as - [elec_realigned] = ft_electroderealign(cfg, elec_orig) + [elec_realigned] = ft_electroderealign(cfg, elec_input) with the electrode or gradiometer definition as 2nd input argument. The configuration can contain the following options cfg.method = string representing the method for aligning or placing the electrodes 'interactive' realign manually using a graphical user interface 'fiducial' realign using three fiducials (e.g. NAS, LPA and RPA) - 'template' realign the electrodes to match a template set + 'template' realign the electrodes to match a target electrode set 'headshape' realign the electrodes to fit the head surface 'project' projects electrodes onto the head surface 'moveinward' moves electrodes inward along their normals @@ -68,27 +65,29 @@ def ft_electroderealign(*args, **kwargs): 'fsinflated' surface-based realignment with FreeSurfer individual subject inflated brain (left->left or right->right) cfg.channel = Nx1 cell-array with selection of channels (default = 'all'), see FT_CHANNELSELECTION for details cfg.keepchannel = string, 'yes' or 'no' (default = 'no') - cfg.fiducial = cell-array with the name of three fiducials used for realigning (default = {'nasion', 'lpa', 'rpa'}) + cfg.fiducial = cell-array with the name of three fiducials used for aligning to the target (default = {'nasion', 'lpa', 'rpa'}) cfg.casesensitive = 'yes' or 'no', determines whether string comparisons between electrode labels are case sensitive (default = 'yes') cfg.feedback = 'yes' or 'no' (default = 'no') The electrode positions can be present in the 2nd input argument or can be specified as cfg.elec = structure with electrode positions or filename, see FT_READ_SENS - If you want to realign the EEG electrodes using anatomical fiducials, you should - specify the target location of the three fiducials, e.g. - cfg.target.pos(1,:) = [110 0 0] % location of the nose - cfg.target.pos(2,:) = [0 90 0] % location of the left ear - cfg.target.pos(3,:) = [0 -90 0] % location of the right ear + If your input EEG electrodes include the positions of anatomical landmarks or + fiducials, you can specify the target location of those, for example here in + millimeter according to the CTF coordinate system with the nose along X and the + ears along +Y and -Y + cfg.target.pos(1,:) = [110 0 0] % target location of the nose + cfg.target.pos(2,:) = [0 90 0] % target location of the left ear + cfg.target.pos(3,:) = [0 -90 0] % target location of the right ear cfg.target.label = {'NAS', 'LPA', 'RPA'} - If you want to align EEG electrodes to a single or multiple template electrode sets - (which will be averaged), you should specify the template electrode sets either as - electrode structures (i.e. when they are already read in memory) or their file - names using - cfg.target = single electrode set that serves as standard + If you want to align the input EEG electrodes to a target electrode sets or to + multiple target electrode sets (which will be averaged), you should specify the + target electrode sets either as electrode structures (i.e. when they are already + read in memory) or as their file names using + cfg.target = single electrode set to serve as the target or - cfg.target{1..N} = list of electrode sets that will be averaged + cfg.target{1..N} = list of electrode sets to serve as the target, these will be averaged If you want to align EEG electrodes to the head surface, you should specify the head surface as cfg.headshape = a filename containing headshape, a structure containing a @@ -143,9 +142,12 @@ def ft_electroderealign(*args, **kwargs): FT_DETERMINE_COORDSYS, FT_PREPARE_MESH - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/ft_electroderealign.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/ft_electroderealign.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_electroderealign", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/ft_electrodermalactivity.py b/spm/__external/__fieldtrip/ft_electrodermalactivity.py index b5111d57..47c3e261 100644 --- a/spm/__external/__fieldtrip/ft_electrodermalactivity.py +++ b/spm/__external/__fieldtrip/ft_electrodermalactivity.py @@ -2,7 +2,7 @@ def ft_electrodermalactivity(*args, **kwargs): - """ + r""" FT_ELECTRODERMALACTIVITY estimates the electrodermal activity from a recording of the electric resistance of the skin. @@ -26,9 +26,12 @@ def ft_electrodermalactivity(*args, **kwargs): See also FT_HEARTRATE, FT_HEADMOVEMENT, FT_REGRESSCONFOUND - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/ft_electrodermalactivity.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/ft_electrodermalactivity.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_electrodermalactivity", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/ft_electrodeselection.py b/spm/__external/__fieldtrip/ft_electrodeselection.py new file mode 100644 index 00000000..64ed0572 --- /dev/null +++ b/spm/__external/__fieldtrip/ft_electrodeselection.py @@ -0,0 +1,41 @@ +from spm._runtime import Runtime + + +def ft_electrodeselection(*args, **kwargs): + r""" + FT_ELECTRODESELECTION makes a selection of a predefined set of electrodes. + + Use as + selected = ft_electrodeselection(cfg, elec) + where the input elec is a set of electrodes, for example from FT_READ_SENS or + FT_ELECTRODEPLACEMENT, and cfg is a configuration structure that can contain the + following options: + + If you want to make a selection on the basis of a specified list + cfg.channel = Nx1 cell-array with selection of channels (default = 'all'), see FT_CHANNELSELECTION for details + + If you want to make a graphical selection + cfg.headshape = a filename containing headshape, a structure containing a + single triangulated boundary, or a Nx3 matrix with surface + points + + To facilitate data-handling and distributed computing you can use + cfg.inputfile = ... + cfg.outputfile = ... + If you specify one of these (or both) the input data will be read from a *.mat + file on disk and/or the output data will be written to a *.mat file. These mat + files should contain only a single variable, corresponding with the + input/output structure. + + See also FT_ELECTRODEPLACEMENT, FT_ELECTRODEREALIGN, FT_READ_SENS + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/ft_electrodeselection.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("ft_electrodeselection", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/ft_eventtiminganalysis.py b/spm/__external/__fieldtrip/ft_eventtiminganalysis.py index e0057e6f..91d621e6 100644 --- a/spm/__external/__fieldtrip/ft_eventtiminganalysis.py +++ b/spm/__external/__fieldtrip/ft_eventtiminganalysis.py @@ -2,7 +2,7 @@ def ft_eventtiminganalysis(*args, **kwargs): - """ + r""" FT_EVENTTIMINGANALYSIS computes a model of single trial event- related activity, by estimating per trial the latency (and amplitude) of event-related signal components. @@ -77,9 +77,12 @@ def ft_eventtiminganalysis(*args, **kwargs): See also FT_SINGLETRIALANALYSIS_ASEO - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/ft_eventtiminganalysis.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/ft_eventtiminganalysis.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_eventtiminganalysis", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/ft_examplefunction.py b/spm/__external/__fieldtrip/ft_examplefunction.py index 9dd7e3ff..fa68874f 100644 --- a/spm/__external/__fieldtrip/ft_examplefunction.py +++ b/spm/__external/__fieldtrip/ft_examplefunction.py @@ -2,7 +2,7 @@ def ft_examplefunction(*args, **kwargs): - """ + r""" FT_EXAMPLEFUNCTION demonstrates to new developers how a FieldTrip function should look like Use as @@ -30,9 +30,12 @@ def ft_examplefunction(*args, **kwargs): See also <> - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/ft_examplefunction.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/ft_examplefunction.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_examplefunction", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/ft_freqanalysis.py b/spm/__external/__fieldtrip/ft_freqanalysis.py index 3b6a5045..2bd9a6d2 100644 --- a/spm/__external/__fieldtrip/ft_freqanalysis.py +++ b/spm/__external/__fieldtrip/ft_freqanalysis.py @@ -2,7 +2,7 @@ def ft_freqanalysis(*args, **kwargs): - """ + r""" FT_FREQANALYSIS performs frequency and time-frequency analysis on time series data over multiple trials @@ -97,9 +97,12 @@ def ft_freqanalysis(*args, **kwargs): cfg.foilim = [begin end], frequency band of interest OR cfg.foi = vector 1 x numfoi, frequencies of interest - cfg.tapsmofrq = number, the amount of spectral smoothing through - multi-tapering. Note that 4 Hz smoothing means - plus-minus 4 Hz, i.e. a 8 Hz smoothing box. + cfg.tapsmofrq = scalar (in Hz), the half bandwidth of the spectral smoothing window. Thus, 4 Hz smoothing + means that the spectra are 'smoothed' with a ~8 Hz smoothing box. + cfg.mtmadapt = string, 'mean', 'eig', 'adapt' determines how the individual dpss-tapered signals are combined to get the spetrum estimate + 'mean': (default): averaging across the 2*NW-1 tapers + 'eig': weight the tapered signals with the taper's specific concentration eigenvalue + 'adapt': adaptive weighted average, with frequency specific weights, as per Thomson's adaptive method MTMCONVOL performs time-frequency analysis on any time series trial data using the 'multitaper method' (MTM) based on Slepian sequences as tapers. @@ -191,6 +194,23 @@ def ft_freqanalysis(*args, **kwargs): deviations of the implicit Gaussian kernel and should be choosen >= 3; (default = 3) + IRASA (Irregular-Resampling Auto-Spectral Analysis) estimates the + 'fractal' component of the power spectrum (https://doi.org/10.1007/s10548-015-0448-0), + by stretching/compressing the sampling rate, and combining the geometric means of + the power spectra resulting from the stretching/compression. The default behavior is + according to the implementation in the referenced paper, where each input segment's + power spectrum is computed according to a Welch-type overlapping windowed estimation. + cfg.taper = 'dpss', 'hanning' or many others, see WINDOW (default = 'hanning'), in case of 'dpss' + only the first Slepian is used + cfg.hset = vector of stretching/compression ratios (default = (1.1:0.05:1.9)) + cfg.nwindow = scalar, number of overlapping windows per segment (default = 10) + cfg.windowlength = scalar, 'auto', or 'all', length of window in seconds (default = 'auto') + cfg.mfunc = string, 'median', or 'trimmean', method to aggregate across geometric means of spectra (default = 'median') + cfg.output = string, 'fractal', or 'original' (default = 'fractal'), computes either fractal component, or the original + spectrum (for comparison), based on the same parameters (minus the stretching/compression) + + MVAR estimates the spectrum based on Autoregressive models, requires output from FT_MVARANALYSIS. + See FT_FREQANALYSIS_MVAR. To facilitate data-handling and distributed computing you can use cfg.inputfile = ... @@ -203,9 +223,12 @@ def ft_freqanalysis(*args, **kwargs): See also FT_FREQSTATISTICS, FT_FREQDESCRIPTIVES, FT_CONNECTIVITYANALYSIS - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/ft_freqanalysis.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/ft_freqanalysis.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_freqanalysis", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/ft_freqanalysis_mvar.py b/spm/__external/__fieldtrip/ft_freqanalysis_mvar.py index e9bd2578..1d0fb42a 100644 --- a/spm/__external/__fieldtrip/ft_freqanalysis_mvar.py +++ b/spm/__external/__fieldtrip/ft_freqanalysis_mvar.py @@ -2,7 +2,7 @@ def ft_freqanalysis_mvar(*args, **kwargs): - """ + r""" FT_FREQANALYSIS_MVAR performs frequency analysis on mvar data, by fourier transformation of the coefficients. The output contains cross-spectral density, spectral transfer matrix, and the @@ -39,9 +39,12 @@ def ft_freqanalysis_mvar(*args, **kwargs): See also FT_MVARANALYSIS, FT_DATATYPE_MVAR, FT_PROGRESS - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/ft_freqanalysis_mvar.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/ft_freqanalysis_mvar.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_freqanalysis_mvar", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/ft_freqbaseline.py b/spm/__external/__fieldtrip/ft_freqbaseline.py index 4d649949..48122d9f 100644 --- a/spm/__external/__fieldtrip/ft_freqbaseline.py +++ b/spm/__external/__fieldtrip/ft_freqbaseline.py @@ -2,7 +2,7 @@ def ft_freqbaseline(*args, **kwargs): - """ + r""" FT_FREQBASELINE performs baseline normalization for time-frequency data Use as @@ -21,9 +21,12 @@ def ft_freqbaseline(*args, **kwargs): FT_FREQGRANDAVERAGE - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/ft_freqbaseline.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/ft_freqbaseline.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_freqbaseline", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/ft_freqdescriptives.py b/spm/__external/__fieldtrip/ft_freqdescriptives.py index 25bb394c..b97ed896 100644 --- a/spm/__external/__fieldtrip/ft_freqdescriptives.py +++ b/spm/__external/__fieldtrip/ft_freqdescriptives.py @@ -2,7 +2,7 @@ def ft_freqdescriptives(*args, **kwargs): - """ + r""" FT_FREQDESCRIPTIVES computes descriptive univariate statistics of the frequency or time-frequency decomposition of the EEG/MEG signal, thus the powerspectrum and its standard error. @@ -43,9 +43,12 @@ def ft_freqdescriptives(*args, **kwargs): See also FT_FREQANALYSIS, FT_FREQSTATISTICS, FT_FREQBASELINE, FT_CONNECTIVITYANALYSIS - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/ft_freqdescriptives.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/ft_freqdescriptives.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_freqdescriptives", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/ft_freqgrandaverage.py b/spm/__external/__fieldtrip/ft_freqgrandaverage.py index 99b714b0..d4ce3007 100644 --- a/spm/__external/__fieldtrip/ft_freqgrandaverage.py +++ b/spm/__external/__fieldtrip/ft_freqgrandaverage.py @@ -2,7 +2,7 @@ def ft_freqgrandaverage(*args, **kwargs): - """ + r""" FT_FREQGRANDAVERAGE computes the average powerspectrum or time-frequency spectrum over multiple subjects @@ -34,9 +34,12 @@ def ft_freqgrandaverage(*args, **kwargs): FT_FREQBASELINE - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/ft_freqgrandaverage.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/ft_freqgrandaverage.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_freqgrandaverage", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/ft_freqinterpolate.py b/spm/__external/__fieldtrip/ft_freqinterpolate.py index 0d0d13e9..aa068e4b 100644 --- a/spm/__external/__fieldtrip/ft_freqinterpolate.py +++ b/spm/__external/__fieldtrip/ft_freqinterpolate.py @@ -2,7 +2,7 @@ def ft_freqinterpolate(*args, **kwargs): - """ + r""" FT_FREQINTERPOLATE interpolates frequencies by looking at neighbouring values or simply replaces a piece in the spectrum by NaN. @@ -25,9 +25,12 @@ def ft_freqinterpolate(*args, **kwargs): See also FT_FREQANALYSIS, FT_FREQDESCRIPTIVES, FT_FREQSIMULATION - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/ft_freqinterpolate.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/ft_freqinterpolate.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_freqinterpolate", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/ft_freqsimulation.py b/spm/__external/__fieldtrip/ft_freqsimulation.py index 1f557f18..f22f423c 100644 --- a/spm/__external/__fieldtrip/ft_freqsimulation.py +++ b/spm/__external/__fieldtrip/ft_freqsimulation.py @@ -2,7 +2,7 @@ def ft_freqsimulation(*args, **kwargs): - """ + r""" FT_FREQSIMULATION simulates channel-level time-series data . The data is built up from different frequencies and can contain a signal in which the different frequencies interact (i.e. cross-frequency coherent). Different methods are @@ -34,7 +34,7 @@ def ft_freqsimulation(*args, **kwargs): For each of the methods default parameters are configured to generate example data, including noise. To get full control over the generated - data you should explicitely set all parameters involved in the method + data you should explicitly set all parameters involved in the method of your choise. The interpretation of the following signal components depends on the specified method: @@ -139,9 +139,12 @@ def ft_freqsimulation(*args, **kwargs): FT_CONNECTIVITYSIMULATION - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/ft_freqsimulation.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/ft_freqsimulation.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_freqsimulation", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/ft_freqstatistics.py b/spm/__external/__fieldtrip/ft_freqstatistics.py index 8c1ee53a..fbfdcf90 100644 --- a/spm/__external/__fieldtrip/ft_freqstatistics.py +++ b/spm/__external/__fieldtrip/ft_freqstatistics.py @@ -2,7 +2,7 @@ def ft_freqstatistics(*args, **kwargs): - """ + r""" FT_FREQSTATISTICS computes significance probabilities and/or critical values of a parametric statistical test or a non-parametric permutation test. @@ -28,9 +28,11 @@ def ft_freqstatistics(*args, **kwargs): Furthermore, the configuration should contain cfg.method = different methods for calculating the significance probability and/or critical value 'montecarlo' get Monte-Carlo estimates of the significance probabilities and/or critical values from the permutation distribution, - 'analytic' get significance probabilities and/or critical values from the analytic reference distribution (typically, the sampling distribution under the null hypothesis), + 'analytic' get significance probabilities and/or critical values from the analytic reference distribution + (typically, the sampling distribution under the null hypothesis), 'stats' use a parametric test from the MATLAB statistics toolbox, 'crossvalidate' use crossvalidation to compute predictive performance + 'mvpa' use functionality from the MVPA-light toolbox for classification or multivariate regression cfg.design = Nxnumobservations: design matrix (for examples/advice, please see the Fieldtrip wiki, especially cluster-permutation tutorial and the 'walkthrough' design-matrix section) @@ -51,9 +53,12 @@ def ft_freqstatistics(*args, **kwargs): See also FT_FREQANALYSIS, FT_FREQDESCRIPTIVES, FT_FREQGRANDAVERAGE - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/ft_freqstatistics.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/ft_freqstatistics.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_freqstatistics", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/ft_geometryplot.py b/spm/__external/__fieldtrip/ft_geometryplot.py index ce73d145..a2d41aab 100644 --- a/spm/__external/__fieldtrip/ft_geometryplot.py +++ b/spm/__external/__fieldtrip/ft_geometryplot.py @@ -2,7 +2,7 @@ def ft_geometryplot(*args, **kwargs): - """ + r""" FT_GEOMETRYPLOT plots objects in 3D, such as sensors, headmodels, sourcemodels, headshapes, meshes, etcetera. It provides an easy-to-use wrapper for the corresponding FT_PLOT_XXX functions. @@ -56,9 +56,12 @@ def ft_geometryplot(*args, **kwargs): See also PLOTTING, FT_SOURCEPLOT, FT_INTERACTIVEREALIGN - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/ft_geometryplot.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/ft_geometryplot.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_geometryplot", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/ft_globalmeanfield.py b/spm/__external/__fieldtrip/ft_globalmeanfield.py index 20af3b59..e0d8f3fb 100644 --- a/spm/__external/__fieldtrip/ft_globalmeanfield.py +++ b/spm/__external/__fieldtrip/ft_globalmeanfield.py @@ -2,7 +2,7 @@ def ft_globalmeanfield(*args, **kwargs): - """ + r""" FT_GLOBALMEANFIELD calculates global mean field amplitude or power of input data Use as @@ -37,9 +37,12 @@ def ft_globalmeanfield(*args, **kwargs): See also FT_TIMELOCKANALYSIS - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/ft_globalmeanfield.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/ft_globalmeanfield.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_globalmeanfield", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/ft_headcircumference.py b/spm/__external/__fieldtrip/ft_headcircumference.py index 396644e8..1bc397c7 100644 --- a/spm/__external/__fieldtrip/ft_headcircumference.py +++ b/spm/__external/__fieldtrip/ft_headcircumference.py @@ -2,7 +2,7 @@ def ft_headcircumference(*args, **kwargs): - """ + r""" FT_HEADCIRCUMFERENCE determines the head circumference from a triangulated mesh of the scalp in the same way as it would be measured using a measuring tape for fitting an EEG cap. @@ -21,9 +21,12 @@ def ft_headcircumference(*args, **kwargs): See also FT_ELECTRODEPLACEMENT, FT_PREPARE_MESH, FT_VOLUMESEGMENT, FT_READ_HEADSHAPE - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/ft_headcircumference.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/ft_headcircumference.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_headcircumference", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/ft_headmovement.py b/spm/__external/__fieldtrip/ft_headmovement.py index 5aa3ff5b..7935c748 100644 --- a/spm/__external/__fieldtrip/ft_headmovement.py +++ b/spm/__external/__fieldtrip/ft_headmovement.py @@ -2,7 +2,7 @@ def ft_headmovement(*args, **kwargs): - """ + r""" FT_HEADMOVEMENT outputs a raw data structure, or cell-array of data structures reflecting the variability in the subject's head poisition relative to the MEG sensors, based on continuous head position information. Current support is @@ -14,21 +14,29 @@ def ft_headmovement(*args, **kwargs): Use as data = ft_headmovement(cfg) + or + data = ft_headmovement(cfg, data) where the configuration should contain - cfg.dataset = string with the filename cfg.method = string, 'updatesens' (default), 'cluster', 'avgoverrpt', 'pertrial_cluster', 'pertrial' (default = 'updatesens') + + and, in case no additional data structure is provided + cfg.dataset = string with the filename optional arguments are cfg.trl = empty (default), or Nx3 matrix with the trial definition (see FT_DEFINETRIAL). When specified as empty, - the whole recording is used. + the whole recording is used. This option does not + have an effect if there's an additional data input cfg.numclusters = number of segments with constant headposition in which to split the data (default = 10). This argument is only used for the methods that use clustering ('updatesens', 'cluster', 'pertrial_cluster'). + If cfg.method = 'none', the grad in the single output structure is the grad + as stored in the header of the recording, in dewar coordinates. + If cfg.method = 'updatesens', the grad in the single output structure has a specification of the coils expanded as per the centroids of the position clusters (obtained by kmeans clustering of the HLC time series). The balancing matrix @@ -45,10 +53,10 @@ def ft_headmovement(*args, **kwargs): is specified according to this cluster's centroid. This method requires cfg.numclusters to be specified. - If cfg.method = 'pertrial', the cell-array of output structures contains - single trials, each trial with a trial-specific grad structure. Note that - this is extremely memory inefficient with large numbers of trials, and - probably an overkill. + If cfg.method = 'pertrial', the first output argument contains the time + series of the HLC-coils, along with a grad in dewar coordinates. The + second output argument contains a 1xNtrial cell-array of grad structures, + expressed in head coordinates. If cfg.method = 'pertrial_clusters', the cell-array of output structures contains sets of trials where the trial-specific head position was @@ -62,9 +70,12 @@ def ft_headmovement(*args, **kwargs): See also FT_REGRESSCONFOUND, FT_REALTIME_HEADLOCALIZER - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/ft_headmovement.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/ft_headmovement.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_headmovement", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/ft_heartrate.py b/spm/__external/__fieldtrip/ft_heartrate.py index becfb804..97d9e2d9 100644 --- a/spm/__external/__fieldtrip/ft_heartrate.py +++ b/spm/__external/__fieldtrip/ft_heartrate.py @@ -2,7 +2,7 @@ def ft_heartrate(*args, **kwargs): - """ + r""" FT_HEARTRATE estimates the heart rate from a continuous PPG or ECG channel. It returns a new data structure with a continuous representation of the heartrate in beats per minute, the heart period (i.e., the RR interval) in seconds per interval, @@ -53,9 +53,12 @@ def ft_heartrate(*args, **kwargs): See also FT_ELECTRODERMALACTIVITY, FT_HEADMOVEMENT, FT_REGRESSCONFOUND - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/ft_heartrate.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/ft_heartrate.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_heartrate", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/ft_interactiverealign.py b/spm/__external/__fieldtrip/ft_interactiverealign.py index b19e5b09..3c1bafef 100644 --- a/spm/__external/__fieldtrip/ft_interactiverealign.py +++ b/spm/__external/__fieldtrip/ft_interactiverealign.py @@ -2,7 +2,7 @@ def ft_interactiverealign(*args, **kwargs): - """ + r""" FT_INTERACTIVEREALIGN allows the user to interactively translate, rotate and scale an individual geometrical object to a template geometrical object. It can for example be used to align EEG electrodes to a model of the scalp surface. @@ -17,8 +17,8 @@ def ft_interactiverealign(*args, **kwargs): cfg.individual.opto = structure, see FT_READ_SENS cfg.individual.headmodel = structure, see FT_PREPARE_HEADMODEL cfg.individual.headshape = structure, see FT_READ_HEADSHAPE - cfg.individual.mri = structure, see FT_READ_MRI cfg.individual.mesh = structure, see FT_PREPARE_MESH + cfg.individual.mri = structure, see FT_READ_MRI You can specify the style with which the objects are displayed using cfg.individual.headmodelstyle = 'vertex', 'edge', 'surface' or 'both' (default = 'edge') cfg.individual.headshapestyle = 'vertex', 'edge', 'surface' or 'both' (default = 'vertex') @@ -31,8 +31,8 @@ def ft_interactiverealign(*args, **kwargs): cfg.template.opto = structure, see FT_READ_SENS cfg.template.headmodel = structure, see FT_PREPARE_HEADMODEL cfg.template.headshape = structure, see FT_READ_HEADSHAPE - cfg.template.mri = structure, see FT_READ_MRI cfg.template.mesh = structure, see FT_PREPARE_MESH + cfg.template.mri = structure, see FT_READ_MRI You can specify the style with which the objects are displayed using cfg.template.headmodelstyle = 'vertex', 'edge', 'surface' or 'both' (default = 'edge') cfg.template.headshapestyle = 'vertex', 'edge', 'surface' or 'both' (default = 'vertex') @@ -44,9 +44,12 @@ def ft_interactiverealign(*args, **kwargs): FT_READ_SENS, FT_READ_HEADMODEL, FT_READ_HEADSHAPE - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/ft_interactiverealign.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/ft_interactiverealign.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_interactiverealign", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/ft_interpolatenan.py b/spm/__external/__fieldtrip/ft_interpolatenan.py index 99ee2713..9b5fe77e 100644 --- a/spm/__external/__fieldtrip/ft_interpolatenan.py +++ b/spm/__external/__fieldtrip/ft_interpolatenan.py @@ -2,7 +2,7 @@ def ft_interpolatenan(*args, **kwargs): - """ + r""" FT_INTERPOLATENAN interpolates time series that contains segments of nans obtained by replacing artifactual data with nans using, for example, FT_REJECTARTIFACT, or by redefining trials with FT_REDEFINETRIAL resulting in trials with gaps. @@ -32,9 +32,12 @@ def ft_interpolatenan(*args, **kwargs): See also FT_REJECTARTIFACT, FT_REDEFINETRIAL, FT_CHANNELREPAIR - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/ft_interpolatenan.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/ft_interpolatenan.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_interpolatenan", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/ft_lateralizedpotential.py b/spm/__external/__fieldtrip/ft_lateralizedpotential.py index 4d8c730e..664afda1 100644 --- a/spm/__external/__fieldtrip/ft_lateralizedpotential.py +++ b/spm/__external/__fieldtrip/ft_lateralizedpotential.py @@ -2,7 +2,7 @@ def ft_lateralizedpotential(*args, **kwargs): - """ + r""" FT_LATERALIZEDPOTENTIAL computes lateralized potentials such as the lateralized readiness potential (LRP) @@ -52,9 +52,12 @@ def ft_lateralizedpotential(*args, **kwargs): See also FT_TIMELOCKANALYSIS, FT_MULTIPLOTER - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/ft_lateralizedpotential.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/ft_lateralizedpotential.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_lateralizedpotential", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/ft_layoutplot.py b/spm/__external/__fieldtrip/ft_layoutplot.py index ba6e7068..bb9bd6d7 100644 --- a/spm/__external/__fieldtrip/ft_layoutplot.py +++ b/spm/__external/__fieldtrip/ft_layoutplot.py @@ -2,7 +2,7 @@ def ft_layoutplot(*args, **kwargs): - """ + r""" FT_LAYOUTPLOT makes a figure with the 2-D layout of the channel positions for topoplotting and the individual channel axes (i.e. width and height of the subfigures) for multiplotting. A correct 2-D layout is a @@ -58,9 +58,12 @@ def ft_layoutplot(*args, **kwargs): See also FT_PREPARE_LAYOUT, FT_TOPOPLOTER, FT_TOPOPLOTTFR, FT_MULTIPLOTER, FT_MULTIPLOTTFR - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/ft_layoutplot.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/ft_layoutplot.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_layoutplot", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/ft_math.py b/spm/__external/__fieldtrip/ft_math.py index 7e0f7998..707fe902 100644 --- a/spm/__external/__fieldtrip/ft_math.py +++ b/spm/__external/__fieldtrip/ft_math.py @@ -2,7 +2,7 @@ def ft_math(*args, **kwargs): - """ + r""" FT_MATH performs mathematical operations on FieldTrip data structures, such as addition, subtraction, division, etc. @@ -62,9 +62,12 @@ def ft_math(*args, **kwargs): See also FT_DATATYPE - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/ft_math.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/ft_math.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_math", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/ft_megplanar.py b/spm/__external/__fieldtrip/ft_megplanar.py index 4384e4ed..4e5e45c4 100644 --- a/spm/__external/__fieldtrip/ft_megplanar.py +++ b/spm/__external/__fieldtrip/ft_megplanar.py @@ -2,7 +2,7 @@ def ft_megplanar(*args, **kwargs): - """ + r""" FT_MEGPLANAR computes planar MEG gradients gradients for raw data or average event-related field data. It can also convert frequency-domain data that was computed using FT_FREQANALYSIS, as long as it contains the complex-valued fourierspcrm and not @@ -64,9 +64,12 @@ def ft_megplanar(*args, **kwargs): See also FT_COMBINEPLANAR, FT_PREPARE_NEIGHBOURS - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/ft_megplanar.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/ft_megplanar.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_megplanar", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/ft_megrealign.py b/spm/__external/__fieldtrip/ft_megrealign.py index 9488cf88..1e694061 100644 --- a/spm/__external/__fieldtrip/ft_megrealign.py +++ b/spm/__external/__fieldtrip/ft_megrealign.py @@ -2,7 +2,7 @@ def ft_megrealign(*args, **kwargs): - """ + r""" FT_MEGREALIGN interpolates MEG data towards standard gradiometer locations by projecting the individual timelocked data towards a coarse source reconstructed representation and computing the magnetic field on the standard gradiometer @@ -81,9 +81,12 @@ def ft_megrealign(*args, **kwargs): See also FT_PREPARE_LOCALSPHERES, FT_PREPARE_SINGLESHELL - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/ft_megrealign.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/ft_megrealign.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_megrealign", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/ft_meshrealign.py b/spm/__external/__fieldtrip/ft_meshrealign.py index 1894d578..276c8832 100644 --- a/spm/__external/__fieldtrip/ft_meshrealign.py +++ b/spm/__external/__fieldtrip/ft_meshrealign.py @@ -2,7 +2,7 @@ def ft_meshrealign(*args, **kwargs): - """ + r""" FT_MESHREALIGN rotates, translates and optionally scales a surface description of the head or of the cortex. The different methods are described in detail below. @@ -13,28 +13,31 @@ def ft_meshrealign(*args, **kwargs): FIDUCIAL - The coordinate system is updated according to the definition of the coordinates of anatomical landmarks or fiducials that are specified in the - configuration. If the fiducials are not specified in the configuration, you will - have to click them in an interactive display of the mesh surface. + configuration. If the fiducials or anatomical landmarks are not specified in the + configuration, you will have to click them in an interactive display of the mesh + surface. Use as mesh = ft_meshrealign(cfg, mesh) - where the mesh input argument comes from FT_READ_HEADSHAPE or FT_PREPARE_MESH and - cfg is a configuration structure that should contain + where the mesh input argument comes from FT_READ_HEADSHAPE or FT_PREPARE_MESH. + + The configuration can contain the following options cfg.method = string, can be 'interactive' or fiducial' (default = 'interactive') cfg.coordsys = string specifying the origin and the axes of the coordinate system. Supported coordinate systems are 'ctf', '4d', 'bti', - 'eeglab', 'neuromag', 'itab', 'yokogawa', 'asa', 'acpc', - and 'paxinos'. See http://tinyurl.com/ojkuhqz + 'eeglab', 'eeglab-hj', 'neuromag', 'itab', 'yokogawa', 'asa', 'acpc', + and 'paxinos'. See https://www.fieldtriptoolbox.org/faq/coordsys When cfg.method = 'fiducial' and cfg.coordsys is based on external anatomical landmarks, as is common for EEG and MEG, the following can be used to specify the - voxel indices of the fiducials: + position of the fiducials or anatomical landmarks: cfg.fiducial.nas = [x y z], position of nasion cfg.fiducial.lpa = [x y z], position of LPA cfg.fiducial.rpa = [x y z], position of RPA - The fiducials should be expressed in the same coordinates and units as the input - mesh. If the fiducials are not specified in the configuration, the mesh is - displayed and you have to click on the fidicuals. + The fiducials or anatomical landmarks should be expressed in the same coordinates + and units as the input mesh. If the fiducials are not specified in the + configuration, the mesh is displayed and you have to click on the fiducials or + anatomical landmarks. When cfg.method = 'fiducial' you can specify cfg.mri = structure, see FT_READ_MRI @@ -55,9 +58,12 @@ def ft_meshrealign(*args, **kwargs): See also FT_READ_HEADSHAPE, FT_PREPARE_MESH, FT_ELECTRODEREALIGN, FT_VOLUMEREALIGN - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/ft_meshrealign.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/ft_meshrealign.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_meshrealign", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/ft_movieplotER.py b/spm/__external/__fieldtrip/ft_movieplotER.py index 09fb86e9..6c4eb70f 100644 --- a/spm/__external/__fieldtrip/ft_movieplotER.py +++ b/spm/__external/__fieldtrip/ft_movieplotER.py @@ -2,7 +2,7 @@ def ft_movieplotER(*args, **kwargs): - """ + r""" FT_MOVIEPLOTER makes a movie of the the event-related potentials, event-related fields or oscillatory activity (power or coherence) versus frequency. @@ -24,6 +24,9 @@ def ft_movieplotER(*args, **kwargs): cfg.baselinetype = 'absolute' or 'relative' (default = 'absolute') cfg.colorbar = 'yes', 'no' (default = 'no') cfg.colorbartext = string indicating the text next to colorbar + cfg.figure = 'yes' or 'no', whether to open a new figure. You can also specify a figure handle from FIGURE, GCF or SUBPLOT. (default = 'yes') + cfg.figurename = string, title of the figure window + cfg.position = location and size of the figure, specified as [left bottom width height] (default is automatic) cfg.renderer = string, 'opengl', 'zbuffer', 'painters', see RENDERERINFO (default is automatic, try 'painters' when it crashes) The layout defines how the channels are arranged. You can specify the @@ -47,9 +50,12 @@ def ft_movieplotER(*args, **kwargs): See also FT_MULTIPLOTER, FT_TOPOPLOTER, FT_SINGLEPLOTER, FT_MOVIEPLOTTFR, FT_SOURCEMOVIE - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/ft_movieplotER.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/ft_movieplotER.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_movieplotER", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/ft_movieplotTFR.py b/spm/__external/__fieldtrip/ft_movieplotTFR.py index cddc9166..567e6485 100644 --- a/spm/__external/__fieldtrip/ft_movieplotTFR.py +++ b/spm/__external/__fieldtrip/ft_movieplotTFR.py @@ -2,7 +2,7 @@ def ft_movieplotTFR(*args, **kwargs): - """ + r""" FT_MOVIEPLOTTFR makes a movie of the time-frequency representation of power or coherence. @@ -32,6 +32,7 @@ def ft_movieplotTFR(*args, **kwargs): cfg.colorbar = 'yes', 'no' (default = 'no') cfg.colorbartext = string indicating the text next to colorbar cfg.figure = 'yes' or 'no', whether to open a new figure. You can also specify a figure handle from FIGURE, GCF or SUBPLOT. (default = 'yes') + cfg.figurename = string, title of the figure window cfg.position = location and size of the figure, specified as [left bottom width height] (default is automatic) cfg.renderer = string, 'opengl', 'zbuffer', 'painters', see RENDERERINFO (default is automatic, try 'painters' when it crashes) @@ -56,9 +57,12 @@ def ft_movieplotTFR(*args, **kwargs): See also FT_MULTIPLOTTFR, FT_TOPOPLOTTFR, FT_SINGLEPLOTTFR, FT_MOVIEPLOTER, FT_SOURCEMOVIE - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/ft_movieplotTFR.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/ft_movieplotTFR.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_movieplotTFR", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/ft_multiplotCC.py b/spm/__external/__fieldtrip/ft_multiplotCC.py index 34f15511..94c36c9c 100644 --- a/spm/__external/__fieldtrip/ft_multiplotCC.py +++ b/spm/__external/__fieldtrip/ft_multiplotCC.py @@ -2,7 +2,7 @@ def ft_multiplotCC(*args, **kwargs): - """ + r""" FT_MULTIPLOTCC visualises the coherence between channels by using multiple topoplots. The topoplot at a given channel location shows the coherence of that channel with all other channels. @@ -13,9 +13,12 @@ def ft_multiplotCC(*args, **kwargs): See also FT_PREPARE_LAYOUT, FT_TOPOPLOTCC, FT_CONNECTIVITYPLOT - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/ft_multiplotCC.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/ft_multiplotCC.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_multiplotCC", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/ft_multiplotER.py b/spm/__external/__fieldtrip/ft_multiplotER.py index 578b4074..7508c221 100644 --- a/spm/__external/__fieldtrip/ft_multiplotER.py +++ b/spm/__external/__fieldtrip/ft_multiplotER.py @@ -2,7 +2,7 @@ def ft_multiplotER(*args, **kwargs): - """ + r""" FT_MULTIPLOTER plots the event-related potentials or event-related fields versus time, or the oscillatory activity (power or coherence) versus frequency. Multiple datasets can be overlayed. The plots are arranged according to @@ -26,10 +26,10 @@ def ft_multiplotER(*args, **kwargs): cfg.maskfacealpha = mask transparency value between 0 and 1 cfg.xlim = 'maxmin', 'maxabs', 'zeromax', 'minzero', or [xmin xmax] (default = 'maxmin') cfg.ylim = 'maxmin', 'maxabs', 'zeromax', 'minzero', or [ymin ymax] (default = 'maxmin') - cfg.gradscale = number, scaling to apply to the MEG gradiometer channels prior to display - cfg.magscale = number, scaling to apply to the MEG magnetometer channels prior to display cfg.channel = Nx1 cell-array with selection of channels (default = 'all'), see FT_CHANNELSELECTION for details cfg.refchannel = name of reference channel for visualising connectivity, can be 'gui' + cfg.magscale = number, scaling to apply to the MEG magnetometer channels prior to display + cfg.gradscale = number, scaling to apply to the MEG gradiometer channels prior to display cfg.baseline = 'yes', 'no' or [time1 time2] (default = 'no'), see FT_TIMELOCKBASELINE or FT_FREQBASELINE cfg.trials = 'all' or a selection given as a 1xN vector (default = 'all') cfg.axes = string, 'yes' or 'no' whether to draw x- and y-axes for each graph (default = 'yes') @@ -47,6 +47,7 @@ def ft_multiplotER(*args, **kwargs): interactive plot when a selected area is clicked. Multiple areas can be selected by holding down the SHIFT key. cfg.figure = 'yes' or 'no', whether to open a new figure. You can also specify a figure handle from FIGURE, GCF or SUBPLOT. (default = 'yes') + cfg.figurename = string, title of the figure window cfg.position = location and size of the figure, specified as [left bottom width height] (default is automatic) cfg.renderer = string, 'opengl', 'zbuffer', 'painters', see RENDERERINFO (default is automatic, try 'painters' when it crashes) cfg.colorgroups = 'sequential', 'allblack', 'labelcharN' (N = Nth character in label), 'chantype' or a vector @@ -119,9 +120,12 @@ def ft_multiplotER(*args, **kwargs): FT_TOPOPLOTTFR, FT_PREPARE_LAYOUT - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/ft_multiplotER.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/ft_multiplotER.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_multiplotER", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/ft_multiplotTFR.py b/spm/__external/__fieldtrip/ft_multiplotTFR.py index 3430628c..08e14b24 100644 --- a/spm/__external/__fieldtrip/ft_multiplotTFR.py +++ b/spm/__external/__fieldtrip/ft_multiplotTFR.py @@ -2,7 +2,7 @@ def ft_multiplotTFR(*args, **kwargs): - """ + r""" FT_MULTIPLOTTFR plots the time-frequency representations of power or coherence in a topographical layout. The plots of the indivual sensors are arranged according to their location specified in the layout. @@ -54,6 +54,7 @@ def ft_multiplotTFR(*args, **kwargs): interactive plot when a selected area is clicked. Multiple areas can be selected by holding down the SHIFT key. cfg.figure = 'yes' or 'no', whether to open a new figure. You can also specify a figure handle from FIGURE, GCF or SUBPLOT. (default = 'yes') + cfg.figurename = string, title of the figure window cfg.position = location and size of the figure, specified as [left bottom width height] (default is automatic) cfg.renderer = string, 'opengl', 'zbuffer', 'painters', see RENDERERINFO (default is automatic, try 'painters' when it crashes) cfg.directionality = '', 'inflow' or 'outflow' specifies for @@ -123,9 +124,12 @@ def ft_multiplotTFR(*args, **kwargs): FT_PREPARE_LAYOUT - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/ft_multiplotTFR.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/ft_multiplotTFR.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_multiplotTFR", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/ft_mvaranalysis.py b/spm/__external/__fieldtrip/ft_mvaranalysis.py index 33ce0246..b5be6f5c 100644 --- a/spm/__external/__fieldtrip/ft_mvaranalysis.py +++ b/spm/__external/__fieldtrip/ft_mvaranalysis.py @@ -2,7 +2,7 @@ def ft_mvaranalysis(*args, **kwargs): - """ + r""" FT_MVARANALYSIS performs multivariate autoregressive modeling on time series data over multiple trials. @@ -69,9 +69,12 @@ def ft_mvaranalysis(*args, **kwargs): FT_TIMELOCKSTATISTICS - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/ft_mvaranalysis.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/ft_mvaranalysis.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_mvaranalysis", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/ft_neighbourplot.py b/spm/__external/__fieldtrip/ft_neighbourplot.py index 6d59153f..5fb7b9d4 100644 --- a/spm/__external/__fieldtrip/ft_neighbourplot.py +++ b/spm/__external/__fieldtrip/ft_neighbourplot.py @@ -2,7 +2,7 @@ def ft_neighbourplot(*args, **kwargs): - """ + r""" FT_NEIGHBOURPLOT visualizes neighbouring channels in a particular channel configuration. The positions of the channel are specified in a gradiometer or electrode configuration or from a layout. @@ -18,6 +18,7 @@ def ft_neighbourplot(*args, **kwargs): cfg.enableedit = string, 'yes' or 'no', allows you to interactively add or remove edges between vertices (default = 'no') cfg.visible = string, 'on' or 'off' whether figure will be visible (default = 'on') cfg.figure = 'yes' or 'no', whether to open a new figure. You can also specify a figure handle from FIGURE, GCF or SUBPLOT. (default = 'yes') + cfg.figurename = string, title of the figure window cfg.position = location and size of the figure, specified as [left bottom width height] (default is automatic) cfg.renderer = string, 'opengl', 'zbuffer', 'painters', see MATLAB Figure Properties. If this function crashes, you should try 'painters'. @@ -41,9 +42,12 @@ def ft_neighbourplot(*args, **kwargs): See also FT_PREPARE_NEIGHBOURS, FT_PREPARE_LAYOUT - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/ft_neighbourplot.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/ft_neighbourplot.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_neighbourplot", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/ft_networkanalysis.py b/spm/__external/__fieldtrip/ft_networkanalysis.py index d34bfa04..6cd73672 100644 --- a/spm/__external/__fieldtrip/ft_networkanalysis.py +++ b/spm/__external/__fieldtrip/ft_networkanalysis.py @@ -2,7 +2,7 @@ def ft_networkanalysis(*args, **kwargs): - """ + r""" FT_NETWORKANALYSIS computes various network graph measures from between-channel or between source-level EEG/MEG signals. This function acts as a wrapper aroun the network metrics implemented in the brain @@ -47,9 +47,12 @@ def ft_networkanalysis(*args, **kwargs): See also FT_CONNECTIVITYANALYSIS, FT_CONNECTIVITYPLOT - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/ft_networkanalysis.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/ft_networkanalysis.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_networkanalysis", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/ft_prepare_headmodel.py b/spm/__external/__fieldtrip/ft_prepare_headmodel.py index 6cb0553a..f94bc701 100644 --- a/spm/__external/__fieldtrip/ft_prepare_headmodel.py +++ b/spm/__external/__fieldtrip/ft_prepare_headmodel.py @@ -2,7 +2,7 @@ def ft_prepare_headmodel(*args, **kwargs): - """ + r""" FT_PREPARE_HEADMODEL constructs a volume conduction model from the geometry of the head. The volume conduction model specifies how currents that are generated by sources in the brain, e.g. dipoles, are propagated through the @@ -44,9 +44,10 @@ def ft_prepare_headmodel(*args, **kwargs): openmeeg boundary element method, based on the OpenMEEG software bemcp boundary element method, based on the implementation from Christophe Phillips dipoli boundary element method, based on the implementation from Thom Oostendorp + hbf boundary element method, based on the implementation from Matti Stenroos asa boundary element method, based on the (commercial) ASA software simbio finite element method, based on the SimBio software - duneuro finite element method, based on duneuro software + duneuro finite element method, based on the DUNEuro software fns finite difference method, based on the FNS software infinite electric dipole in an infinite homogenous medium halfspace infinite homogenous medium on one side, vacuum on the other @@ -55,6 +56,7 @@ def ft_prepare_headmodel(*args, **kwargs): For MEG the following methods are available: openmeeg boundary element method, based on the OpenMEEG software + hbf boundary element method, based on the implementation from Matti Stenroos singlesphere analytical single sphere model localspheres local spheres model for MEG, one sphere per channel singleshell realisically shaped single shell approximation, based on the implementation from Guido Nolte @@ -63,19 +65,19 @@ def ft_prepare_headmodel(*args, **kwargs): Each specific method has its own specific configuration options which are listed below. BEMCP, DIPOLI, OPENMEEG - cfg.tissue see above; in combination with 'seg' input + cfg.tissue (see above; in combination with 'seg' input) cfg.isolatedsource (optional) cfg.tempdir (optional) cfg.tempname (optional) CONCENTRICSPHERES - cfg.tissue see above; in combination with 'seg' input + cfg.tissue (see above; in combination with 'seg' input) cfg.order (optional) cfg.fitind (optional) LOCALSPHERES cfg.grad - cfg.tissue see above; in combination with 'seg' input; default options are 'brain' or 'scalp' + cfg.tissue (see above; in combination with 'seg' input; default options are 'brain' or 'scalp') cfg.feedback (optional) cfg.radius (optional) cfg.maxradius (optional) @@ -85,17 +87,18 @@ def ft_prepare_headmodel(*args, **kwargs): cfg.conductivity DUNEURO - cfg.conductivity An array with the conductivities must be provided. (see above) - cfg.grid_filename Alternatively, a filename for the grid and a filename for the conductivities can be passed. - cfg.tensors_filename " - cfg.duneuro_settings (optional) Additional settings can be provided for duneuro (see http://www.duneuro.org). + cfg.conductivity (required) vector with the conductivities must be provided. (see above) + Alternatively, a filename for the source grid and a filename for the conductivities can be passed, as + cfg.grid_filename + cfg.tensors_filename + cfg.duneuro (optional) Additional settings can be provided for duneuro (see http://www.duneuro.org, and duneuro_defaults.m). SINGLESHELL - cfg.tissue see above; in combination with 'seg' input; default options are 'brain' or 'scalp' + cfg.tissue (see above; in combination with 'seg' input; default options are 'brain' or 'scalp') cfg.order (optional) SINGLESPHERE - cfg.tissue see above; in combination with 'seg' input; default options are 'brain' or 'scalp'; must be only 1 value + cfg.tissue (see above; in combination with 'seg' input; default options are 'brain' or 'scalp'; must be only 1 value) INTERPOLATE cfg.outputfile (required) string, filename prefix for the output files @@ -117,6 +120,12 @@ def ft_prepare_headmodel(*args, **kwargs): cfg.point cfg.submethod (optional) + HBF + cfg.conductivity (required) [2 x n_boundaries] array with conductivity values for inside and outside of a boundary + cfg.isolatedsource (optional) set to 1 to apply isolated source approach on innermost boundary + cfg.checkmesh (optional) ['yes | 'no'] check the integrity and ordering of boundaries + + More details for each of the specific methods can be found in the corresponding low-level function which is called FT_HEADMODEL_XXX where XXX is the method of choise. @@ -126,12 +135,16 @@ def ft_prepare_headmodel(*args, **kwargs): FT_HEADMODEL_SIMBIO, FT_HEADMODEL_FNS, FT_HEADMODEL_HALFSPACE, FT_HEADMODEL_INFINITE, FT_HEADMODEL_OPENMEEG, FT_HEADMODEL_SINGLESPHERE, FT_HEADMODEL_CONCENTRICSPHERES, FT_HEADMODEL_LOCALSPHERES, - FT_HEADMODEL_SINGLESHELL, FT_HEADMODEL_INTERPOLATE, FT_HEADMODEL_DUNEURO + FT_HEADMODEL_SINGLESHELL, FT_HEADMODEL_INTERPOLATE, FT_HEADMODEL_DUNEURO, + FT_HEADMODEL_HBF - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/ft_prepare_headmodel.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/ft_prepare_headmodel.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_prepare_headmodel", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/ft_prepare_layout.py b/spm/__external/__fieldtrip/ft_prepare_layout.py index 5f65cc91..5c9493dc 100644 --- a/spm/__external/__fieldtrip/ft_prepare_layout.py +++ b/spm/__external/__fieldtrip/ft_prepare_layout.py @@ -2,7 +2,7 @@ def ft_prepare_layout(*args, **kwargs): - """ + r""" FT_PREPARE_LAYOUT loads or creates a 2-D layout of the channel locations. This layout is required for plotting the topographical distribution of the potential or field distribution, or for plotting timecourses in a topographical arrangement. @@ -115,9 +115,12 @@ def ft_prepare_layout(*args, **kwargs): See also FT_TOPOPLOTER, FT_TOPOPLOTTFR, FT_MULTIPLOTER, FT_MULTIPLOTTFR, FT_PLOT_LAYOUT - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/ft_prepare_layout.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/ft_prepare_layout.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_prepare_layout", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/ft_prepare_leadfield.py b/spm/__external/__fieldtrip/ft_prepare_leadfield.py index 91fc9474..dfbe9359 100644 --- a/spm/__external/__fieldtrip/ft_prepare_leadfield.py +++ b/spm/__external/__fieldtrip/ft_prepare_leadfield.py @@ -2,7 +2,7 @@ def ft_prepare_leadfield(*args, **kwargs): - """ + r""" FT_PREPARE_LEADFIELD computes the forward model for many dipole locations on a regular 2D or 3D sourcemodel and stores it for efficient inverse modelling @@ -68,6 +68,12 @@ def ft_prepare_leadfield(*args, **kwargs): for which the leadfield is computed in a single call to the low-level code. Trades off memory efficiency for speed. + + For HBF based headmodels: + cfg.hbf.batchsize = scalar or 'all' (default 1), number of dipoles + for which the leadfield is computed in a + single call to the low-level code. Trades off + memory efficiency for speed. To facilitate data-handling and distributed computing you can use cfg.inputfile = ... @@ -78,9 +84,12 @@ def ft_prepare_leadfield(*args, **kwargs): See also FT_SOURCEANALYSIS, FT_DIPOLEFITTING, FT_PREPARE_HEADMODEL, FT_PREPARE_SOURCEMODEL - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/ft_prepare_leadfield.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/ft_prepare_leadfield.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_prepare_leadfield", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/ft_prepare_mesh.py b/spm/__external/__fieldtrip/ft_prepare_mesh.py index 820e5164..6686c8cc 100644 --- a/spm/__external/__fieldtrip/ft_prepare_mesh.py +++ b/spm/__external/__fieldtrip/ft_prepare_mesh.py @@ -2,7 +2,7 @@ def ft_prepare_mesh(*args, **kwargs): - """ + r""" FT_PREPARE_MESH creates a triangulated surface mesh or tetrahedral/hexahedral volume mesh that can be used as geometrical description for a volume conduction model. The mesh can either be created manually from anatomical MRI data or can be @@ -71,9 +71,12 @@ def ft_prepare_mesh(*args, **kwargs): See also FT_VOLUMESEGMENT, FT_PREPARE_HEADMODEL, FT_PLOT_MESH - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/ft_prepare_mesh.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/ft_prepare_mesh.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_prepare_mesh", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/ft_prepare_montage.py b/spm/__external/__fieldtrip/ft_prepare_montage.py index f52d5f0a..c55ea1e5 100644 --- a/spm/__external/__fieldtrip/ft_prepare_montage.py +++ b/spm/__external/__fieldtrip/ft_prepare_montage.py @@ -2,7 +2,7 @@ def ft_prepare_montage(*args, **kwargs): - """ + r""" FT_PREPARE_MONTAGE creates a referencing scheme based on the input configuration options and the channels in the data structure. The resulting montage can be given as input to FT_APPLY_MONTAGE, or as cfg.montage to FT_PREPROCESSING. @@ -40,9 +40,12 @@ def ft_prepare_montage(*args, **kwargs): See also FT_PREPROCESSING, FT_APPLY_MONTAGE - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/ft_prepare_montage.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/ft_prepare_montage.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_prepare_montage", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/ft_prepare_neighbours.py b/spm/__external/__fieldtrip/ft_prepare_neighbours.py index 2708c7af..1235201d 100644 --- a/spm/__external/__fieldtrip/ft_prepare_neighbours.py +++ b/spm/__external/__fieldtrip/ft_prepare_neighbours.py @@ -2,7 +2,7 @@ def ft_prepare_neighbours(*args, **kwargs): - """ + r""" FT_PREPARE_NEIGHBOURS finds the channel neighbours for spatial clustering or interpolation of bad channels. Using the 'distance' method, neighbours are based on a minimum neighbourhood distance (in cfg.neighbourdist). @@ -58,9 +58,12 @@ def ft_prepare_neighbours(*args, **kwargs): FT_READ_SENS, FT_READ_ATLAS - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/ft_prepare_neighbours.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/ft_prepare_neighbours.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_prepare_neighbours", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/ft_prepare_sourcemodel.py b/spm/__external/__fieldtrip/ft_prepare_sourcemodel.py index f58307f4..879fe382 100644 --- a/spm/__external/__fieldtrip/ft_prepare_sourcemodel.py +++ b/spm/__external/__fieldtrip/ft_prepare_sourcemodel.py @@ -2,7 +2,7 @@ def ft_prepare_sourcemodel(*args, **kwargs): - """ + r""" FT_PREPARE_SOURCEMODEL constructs a source model, for example a 3D grid or a cortical sheet. The source model that can be used for source reconstruction, beamformer scanning, linear estimation and MEG interpolation. @@ -28,13 +28,13 @@ def ft_prepare_sourcemodel(*args, **kwargs): BASEDONGRID - uses an explicitly specified grid, according to the following configuration options: - cfg.xgrid = vector (e.g. -20:1:20) or 'auto' (default = 'auto') - cfg.ygrid = vector (e.g. -20:1:20) or 'auto' (default = 'auto') - cfg.zgrid = vector (e.g. 0:1:20) or 'auto' (default = 'auto') + cfg.xgrid = vector (e.g. -120:10:120) or 'auto' (default = 'auto') + cfg.ygrid = vector (e.g. -120:10:120) or 'auto' (default = 'auto') + cfg.zgrid = vector (e.g. -50:10:120) or 'auto' (default = 'auto') BASEDONRESOLUTION - uses an grid with the desired resolution, according to the following configuration options: - cfg.resolution = number (e.g. 1 cm) for automatic grid generation + cfg.resolution = number (e.g. 10 mm) for automatic grid generation BASEDONPOS - places sources on positions that you explicitly specify, according to the following configuration options: @@ -53,7 +53,7 @@ def ft_prepare_sourcemodel(*args, **kwargs): configuration options: cfg.mri = structure with the anatomical MRI, or the filename of the MRI, see FT_READ_MRI cfg.nonlinear = 'no' (or 'yes'), use non-linear normalization - cfg.resolution = number (e.g. 6) of the resolution of the template MNI grid, defined in mm + cfg.resolution = scalar with the resolution of the template MNI grid, defined in mm (for example 6) cfg.template = structure with the template sourcemodel, or the filename of a template sourcemodel (defined in MNI space) cfg.templatemri = string, filename of the MNI template (default = 'T1.mnc' for SPM2 or 'T1.nii' for SPM8 and SPM12) cfg.spmversion = string, 'spm2', 'spm8', 'spm12' (default = 'spm12') @@ -72,10 +72,10 @@ def ft_prepare_sourcemodel(*args, **kwargs): BASEDONCENTROIDS - places sources on the centroids of a volumetric mesh cfg.headmodel = tetrahedral or hexahedral mesh - cfg.headmodel.type = 'simbio'; + cfg.headmodel.type = 'simbio' Other configuration options include - cfg.unit = string, can be 'mm', 'cm', 'm' (default is automatic) + cfg.unit = string, can be 'mm', 'cm', 'm' (default is automatic, based on the input data) cfg.tight = 'yes' or 'no' (default is automatic) cfg.inwardshift = number, amount to shift the innermost surface of the headmodel inward when determining whether sources are inside or outside the source compartment (default = 0) @@ -85,6 +85,8 @@ def ft_prepare_sourcemodel(*args, **kwargs): or tetrahedral mesh (default = 'no') cfg.spherify = 'yes' or 'no', scale the source model so that it fits inside a sperical volume conduction model (default = 'no') + cfg.orientation = 'yes' or 'no', determine the orientation of dipoles at the vertices + of a triangulated cortical sheet, can be empty (default = []) cfg.symmetry = 'x', 'y' or 'z' symmetry for two dipoles, can be empty (default = []) cfg.headshape = a filename for the headshape, a structure containing a single surface, or a Nx3 matrix with headshape surface points (default = []) @@ -115,9 +117,12 @@ def ft_prepare_sourcemodel(*args, **kwargs): FT_DIPOLEFITTING, FT_MEGREALIGN - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/ft_prepare_sourcemodel.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/ft_prepare_sourcemodel.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_prepare_sourcemodel", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/ft_preprocessing.py b/spm/__external/__fieldtrip/ft_preprocessing.py index 25172432..b517d652 100644 --- a/spm/__external/__fieldtrip/ft_preprocessing.py +++ b/spm/__external/__fieldtrip/ft_preprocessing.py @@ -2,7 +2,7 @@ def ft_preprocessing(*args, **kwargs): - """ + r""" FT_PREPROCESSING reads MEG and/or EEG data according to user-specified trials and applies several user-specified preprocessing steps to the signals. @@ -131,9 +131,12 @@ def ft_preprocessing(*args, **kwargs): See also FT_DEFINETRIAL, FT_REDEFINETRIAL, FT_APPENDDATA, FT_APPENDSPIKE - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/ft_preprocessing.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/ft_preprocessing.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_preprocessing", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/ft_recodeevent.py b/spm/__external/__fieldtrip/ft_recodeevent.py index 899673f4..5ea2f5f5 100644 --- a/spm/__external/__fieldtrip/ft_recodeevent.py +++ b/spm/__external/__fieldtrip/ft_recodeevent.py @@ -2,7 +2,7 @@ def ft_recodeevent(*args, **kwargs): - """ + r""" FT_RECODEEVENT will recode the event structure, given the trial definition that was analyzed @@ -53,9 +53,12 @@ def ft_recodeevent(*args, **kwargs): See also FT_DEFINETRIAL, FT_REDEFINETRIAL, FT_PREPROCESSING - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/ft_recodeevent.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/ft_recodeevent.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_recodeevent", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/ft_redefinetrial.py b/spm/__external/__fieldtrip/ft_redefinetrial.py index 86f8bd99..ffb47dc5 100644 --- a/spm/__external/__fieldtrip/ft_redefinetrial.py +++ b/spm/__external/__fieldtrip/ft_redefinetrial.py @@ -2,7 +2,7 @@ def ft_redefinetrial(*args, **kwargs): - """ + r""" FT_REDEFINETRIAL allows you to adjust the time axis of your data, i.e. to change from stimulus-locked to response-locked. Furthermore, it allows you to select a time window of interest, or to resegment your long trials @@ -55,7 +55,13 @@ def ft_redefinetrial(*args, **kwargs): segments, starting from the beginning of each trial. This may lead to loss of data at the end of the trials cfg.length = number (in seconds) that specifies the length of the required snippets - cfg.overlap = number between 0 and 1 (exclusive) specifying the fraction of overlap between snippets (0 = no overlap) + cfg.overlap = number between 0 and 1 (exclusive) specifying the fraction of overlap + between snippets (0 = no overlap) + cfg.updatetrialinfo = 'no' (default), or 'yes', which adds a column + with original trial indices trialinfo + cfg.keeppartial = 'no' (default), or 'yes', which keeps the partial sub + epochs at the end of the input trials + Alternatively you can merge or stitch pseudo-continuous segmented data back into a continuous representation. This requires that the data has a valid sampleinfo field @@ -76,9 +82,12 @@ def ft_redefinetrial(*args, **kwargs): See also FT_DEFINETRIAL, FT_RECODEEVENT, FT_PREPROCESSING - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/ft_redefinetrial.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/ft_redefinetrial.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_redefinetrial", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/ft_regressconfound.py b/spm/__external/__fieldtrip/ft_regressconfound.py index d6cf77ff..aa781dd2 100644 --- a/spm/__external/__fieldtrip/ft_regressconfound.py +++ b/spm/__external/__fieldtrip/ft_regressconfound.py @@ -2,7 +2,7 @@ def ft_regressconfound(*args, **kwargs): - """ + r""" FT_REGRESSCONFOUND estimates the regression weight of a set of confounds using a General Linear Model (GLM) and removes the estimated contribution from the single-trial data. @@ -45,9 +45,12 @@ def ft_regressconfound(*args, **kwargs): See also FT_REJECTCOMPONENT, FT_REJECTARTIFACT - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/ft_regressconfound.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/ft_regressconfound.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_regressconfound", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/ft_rejectartifact.py b/spm/__external/__fieldtrip/ft_rejectartifact.py index 6ae0208d..f6c168bc 100644 --- a/spm/__external/__fieldtrip/ft_rejectartifact.py +++ b/spm/__external/__fieldtrip/ft_rejectartifact.py @@ -2,7 +2,7 @@ def ft_rejectartifact(*args, **kwargs): - """ + r""" FT_REJECTARTIFACT removes data segments containing artifacts. It returns a configuration structure with a modified trial definition which can be used for preprocessing of only the clean data. @@ -56,9 +56,12 @@ def ft_rejectartifact(*args, **kwargs): FT_REJECTVISUAL - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/ft_rejectartifact.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/ft_rejectartifact.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_rejectartifact", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/ft_rejectcomponent.py b/spm/__external/__fieldtrip/ft_rejectcomponent.py index 063f7f95..2cf636ef 100644 --- a/spm/__external/__fieldtrip/ft_rejectcomponent.py +++ b/spm/__external/__fieldtrip/ft_rejectcomponent.py @@ -2,7 +2,7 @@ def ft_rejectcomponent(*args, **kwargs): - """ + r""" FT_REJECTCOMPONENT backprojects an ICA (or similar) decomposition to the channel level after removing the independent components that contain the artifacts. This function does not automatically detect the artifact @@ -26,7 +26,7 @@ def ft_rejectcomponent(*args, **kwargs): The configuration structure can contain cfg.component = list of components to remove, e.g. [1 4 7] or see FT_CHANNELSELECTION cfg.demean = 'no' or 'yes', whether to demean the input data (default = 'yes') - cfg.updatesens = 'no' or 'yes' (default = 'yes') + cfg.updatesens = 'yes' or 'no', whether to update the sensor array with the spatial projector (default = 'yes') To facilitate data-handling and distributed computing you can use cfg.inputfile = ... @@ -39,9 +39,12 @@ def ft_rejectcomponent(*args, **kwargs): See also FT_COMPONENTANALYSIS, FT_PREPROCESSING - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/ft_rejectcomponent.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/ft_rejectcomponent.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_rejectcomponent", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/ft_rejectvisual.py b/spm/__external/__fieldtrip/ft_rejectvisual.py index f266a485..c805e6d9 100644 --- a/spm/__external/__fieldtrip/ft_rejectvisual.py +++ b/spm/__external/__fieldtrip/ft_rejectvisual.py @@ -2,7 +2,7 @@ def ft_rejectvisual(*args, **kwargs): - """ + r""" FT_REJECTVISUAL shows the preprocessed data in all channels and/or trials to allow the user to make a visual selection of the data that should be rejected. The data can be displayed in a "summary" mode, in which case the variance (or another @@ -98,9 +98,12 @@ def ft_rejectvisual(*args, **kwargs): See also FT_REJECTARTIFACT, FT_REJECTCOMPONENT, FT_BADSEGMENT, FT_BADCHANNEL - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/ft_rejectvisual.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/ft_rejectvisual.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_rejectvisual", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/ft_removetemplateartifact.py b/spm/__external/__fieldtrip/ft_removetemplateartifact.py index 51651f90..953667b0 100644 --- a/spm/__external/__fieldtrip/ft_removetemplateartifact.py +++ b/spm/__external/__fieldtrip/ft_removetemplateartifact.py @@ -2,7 +2,7 @@ def ft_removetemplateartifact(*args, **kwargs): - """ + r""" FT_REMOVETEMPLATEARTIFACT removes an artifact from preprocessed data by template subtraction. The template can for example be formed by averaging an ECG-triggered MEG timecourse. @@ -27,9 +27,12 @@ def ft_removetemplateartifact(*args, **kwargs): See also FT_ARTIFACT_ECG, FT_PREPROCESSING, FT_TIMELOCKANALYSIS, FT_REJECTCOMPONENT - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/ft_removetemplateartifact.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/ft_removetemplateartifact.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_removetemplateartifact", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/ft_reproducescript.py b/spm/__external/__fieldtrip/ft_reproducescript.py index 849e388b..ae42e1b2 100644 --- a/spm/__external/__fieldtrip/ft_reproducescript.py +++ b/spm/__external/__fieldtrip/ft_reproducescript.py @@ -2,7 +2,7 @@ def ft_reproducescript(*args, **kwargs): - """ + r""" FT_REPRODUCESCRIPT is a helper function to clean up the script and intermediate datafiles that are the result from using the cfg.reproducescript option. You should call this function all the way at the end of your analysis. This function will look @@ -18,9 +18,12 @@ def ft_reproducescript(*args, **kwargs): See also FT_ANALYSISPIPELINE, FT_DEFAULTS - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/ft_reproducescript.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/ft_reproducescript.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_reproducescript", *args, **kwargs, nargout=0) diff --git a/spm/__external/__fieldtrip/ft_resampledata.py b/spm/__external/__fieldtrip/ft_resampledata.py index c109699a..0aba6361 100644 --- a/spm/__external/__fieldtrip/ft_resampledata.py +++ b/spm/__external/__fieldtrip/ft_resampledata.py @@ -2,7 +2,7 @@ def ft_resampledata(*args, **kwargs): - """ + r""" FT_RESAMPLEDATA performs a resampling or downsampling of the data to a specified new sampling frequency, or an inperpolation of the data measured with one sampling frequency to another. The latter is useful when merging data measured on two @@ -57,9 +57,12 @@ def ft_resampledata(*args, **kwargs): See also FT_PREPROCESSING, FT_APPENDDATA, FT_PREPROC_LOWPASSFILTER, RESAMPLE, DOWNSAMPLE, DECIMATE, INTERP1 - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/ft_resampledata.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/ft_resampledata.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_resampledata", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/ft_respiration.py b/spm/__external/__fieldtrip/ft_respiration.py index 744c32c0..30b54b0e 100644 --- a/spm/__external/__fieldtrip/ft_respiration.py +++ b/spm/__external/__fieldtrip/ft_respiration.py @@ -2,7 +2,7 @@ def ft_respiration(*args, **kwargs): - """ + r""" FT_RESPIRATION estimates the respiration rate from a respiration belt, temperature sensor, movement sensor or from the heart rate. It returns a new data structure with a continuous representation of the rate and phase. @@ -23,9 +23,12 @@ def ft_respiration(*args, **kwargs): See also FT_HEARTRATE, FT_ELECTRODERMALACTIVITY, FT_HEADMOVEMENT, FT_REGRESSCONFOUND - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/ft_respiration.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/ft_respiration.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_respiration", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/ft_scalpcurrentdensity.py b/spm/__external/__fieldtrip/ft_scalpcurrentdensity.py index ad5f4c81..796ec5c3 100644 --- a/spm/__external/__fieldtrip/ft_scalpcurrentdensity.py +++ b/spm/__external/__fieldtrip/ft_scalpcurrentdensity.py @@ -2,7 +2,7 @@ def ft_scalpcurrentdensity(*args, **kwargs): - """ + r""" FT_SCALPCURRENTDENSITY computes an estimate of the SCD using the second-order derivative (the surface Laplacian) of the EEG potential distribution @@ -83,9 +83,12 @@ def ft_scalpcurrentdensity(*args, **kwargs): See also FT_PREPROCESSING, FT_TIMELOCKANALYSIS, FT_FREQNALYSIS, FT_TOPOPLOTER. - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/ft_scalpcurrentdensity.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/ft_scalpcurrentdensity.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_scalpcurrentdensity", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/ft_sensorplacement.py b/spm/__external/__fieldtrip/ft_sensorplacement.py new file mode 100644 index 00000000..212d624e --- /dev/null +++ b/spm/__external/__fieldtrip/ft_sensorplacement.py @@ -0,0 +1,47 @@ +from spm._runtime import Runtime + + +def ft_sensorplacement(*args, **kwargs): + r""" + FT_SENSORPLACEMENT positions sensor sensor holders over the surface of the scalp (when + wearing a flexible cap) or over the surface of a rigid 3D-printed helmet. It uses + a model of the sensor sensor and sensor holder, copies this repeatedly, and positions + and orients it for each desired sensor position. The sensor positions are automatically + determined based on a template distribution, for example the 10-20 electrode placement + scheme or a equidistant placement scheme, but you can also provide your own sensor + positions. + + Use as + [cfg, sensors] = ft_sensorplacement(cfg, headshape) + where the headshape represents the scalp surface from FT_PREPARE_MESH or + FT_MESHREALIGN. This function returns a structure array with a number of + meshes representing the sensor sensors or sensor holders that can be plotted. + + The input configuration structure can contain the following + cfg.template = string, filename with the STL model of the sensor or sensor holder + cfg.write = 'no' or 'yes', write the sensors to STL files + cfg.elec = structure with electrode positions or filename, see FT_READ_SENS + cfg.channel = cell-array, selection of electrode locations at which to place an sensor sensor + cfg.outwardshift = number, amount to shift the sensors outward from the surface + cfg.rotx = Nx1 vector with the rotation around the x-axis (default is automatic) + cfg.roty = Nx1 vector with the rotation around the y-axis (default is automatic) + cfg.rotz = Nx1 vector with the rotation around the z-axis (default is automatic) + cfg.grad = structure with a single OPM sensor, see FT_DATATYPE_SENS + + The output configuration structure contains the rotations that were performed, + which can be adjusted and used in a second iteration. The output sensor structure + array contains the geometrical description of all sensors, following rotation and + translation. + + See also FT_ELECTRODEPLACEMENT, FT_PREPARE_MESH, FT_MESHREALIGN, FT_DEFACEMESH + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/ft_sensorplacement.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("ft_sensorplacement", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/ft_singleplotER.py b/spm/__external/__fieldtrip/ft_singleplotER.py index 060dfca0..d38d8bab 100644 --- a/spm/__external/__fieldtrip/ft_singleplotER.py +++ b/spm/__external/__fieldtrip/ft_singleplotER.py @@ -2,7 +2,7 @@ def ft_singleplotER(*args, **kwargs): - """ + r""" FT_SINGLEPLOTER plots the event-related fields or potentials of a single channel or the average over multiple channels. Multiple datasets can be overlayed. @@ -39,6 +39,7 @@ def ft_singleplotER(*args, **kwargs): interactive plot when a selected area is clicked. multiple areas can be selected by holding down the shift key. cfg.figure = 'yes' or 'no', whether to open a new figure. You can also specify a figure handle from FIGURE, GCF or SUBPLOT. (default = 'yes') + cfg.figurename = string, title of the figure window cfg.position = location and size of the figure, specified as [left bottom width height] (default is automatic) cfg.renderer = string, 'opengl', 'zbuffer', 'painters', see RENDERERINFO (default is automatic, try 'painters' when it crashes) cfg.linestyle = linestyle/marker type, see options of the PLOT function (default = '-') @@ -101,9 +102,12 @@ def ft_singleplotER(*args, **kwargs): See also FT_SINGLEPLOTTFR, FT_MULTIPLOTER, FT_MULTIPLOTTFR, FT_TOPOPLOTER, FT_TOPOPLOTTFR - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/ft_singleplotER.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/ft_singleplotER.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_singleplotER", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/ft_singleplotTFR.py b/spm/__external/__fieldtrip/ft_singleplotTFR.py index f0760491..57e2517c 100644 --- a/spm/__external/__fieldtrip/ft_singleplotTFR.py +++ b/spm/__external/__fieldtrip/ft_singleplotTFR.py @@ -2,7 +2,7 @@ def ft_singleplotTFR(*args, **kwargs): - """ + r""" FT_SINGLEPLOTTFR plots the time-frequency representation of power of a single channel or the average over multiple channels. @@ -42,7 +42,6 @@ def ft_singleplotTFR(*args, **kwargs): In a interactive plot you can select areas and produce a new interactive plot when a selected area is clicked. Multiple areas can be selected by holding down the SHIFT key. - cfg.figure = 'yes' or 'no', whether to open a new figure. You can also specify a figure handle from FIGURE, GCF or SUBPLOT. (default = 'yes') cfg.position = location and size of the figure, specified as [left bottom width height] (default is automatic) cfg.renderer = string, 'opengl', 'zbuffer', 'painters', see RENDERERINFO (default is automatic, try 'painters' when it crashes) cfg.directionality = '', 'inflow' or 'outflow' specifies for @@ -50,6 +49,12 @@ def ft_singleplotTFR(*args, **kwargs): node, or the outflow from a node is plotted. The (default) behavior of this option depends on the dimor of the input data (see below). + cfg.figure = 'yes', 'no', or 'subplot', whether to open a new figure. You can also specify a figure + handle from FIGURE, GCF or SUBPLOT. (default = 'yes'). With multiple data inputs, 'subplot' + will make subplots in a single figure. + cfg.figurename = string, title of the figure window + cfg.position = location and size of the figure, specified as [left bottom width height] (default is automatic) + cfg.renderer = string, 'opengl', 'zbuffer', 'painters', see RENDERERINFO (default is automatic, try 'painters' when it crashes) The following options for the scaling of the EEG, EOG, ECG, EMG, MEG and NIRS channels is optional and can be used to bring the absolute numbers of the different @@ -67,30 +72,26 @@ def ft_singleplotTFR(*args, **kwargs): cfg.mychan = Nx1 cell-array with selection of channels cfg.chanscale = Nx1 vector with scaling factors, one per channel specified in cfg.channel - For the plotting of directional connectivity data the cfg.directionality - option determines what is plotted. The default value and the supported - functionality depend on the dimord of the input data. If the input data - is of dimord 'chan_chan_XXX', the value of directionality determines - whether, given the reference channel(s), the columns (inflow), or rows - (outflow) are selected for plotting. In this situation the default is - 'inflow'. Note that for undirected measures, inflow and outflow should - give the same output. If the input data is of dimord 'chancmb_XXX', the - value of directionality determines whether the rows in data.labelcmb are - selected. With 'inflow' the rows are selected if the refchannel(s) occur in - the right column, with 'outflow' the rows are selected if the - refchannel(s) occur in the left column of the labelcmb-field. Default in - this case is '', which means that all rows are selected in which the - refchannel(s) occur. This is to robustly support linearly indexed - undirected connectivity metrics. In the situation where undirected - connectivity measures are linearly indexed, specifying 'inflow' or - 'outflow' can result in unexpected behavior. + For the plotting of directional connectivity data the cfg.directionality option determines what is plotted. The default + value and the supported functionality depend on the dimord of the input data. If the input data is of dimord 'chan_chan_XXX', + the value of directionality determines whether, given the reference channel(s), the columns (inflow), or rows (outflow) are + selected for plotting. In this situation the default is 'inflow'. Note that for undirected measures, inflow and outflow should + give the same output. If the input data is of dimord 'chancmb_XXX', the value of directionality determines whether the rows in + data.labelcmb are selected. With 'inflow' the rows are selected if the refchannel(s) occur in the right column, with 'outflow' + the rows are selected if the refchannel(s) occur in the left column of the labelcmb-field. Default in this case is '', which + means that all rows are selected in which the refchannel(s) occur. This is to robustly support linearly indexed undirected + connectivity metrics. In the situation where undirected connectivity measures are linearly indexed, specifying 'inflow' or + outflow' can result in unexpected behavior. See also FT_SINGLEPLOTER, FT_MULTIPLOTER, FT_MULTIPLOTTFR, FT_TOPOPLOTER, FT_TOPOPLOTTFR - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/ft_singleplotTFR.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/ft_singleplotTFR.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_singleplotTFR", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/ft_sliceinterp.py b/spm/__external/__fieldtrip/ft_sliceinterp.py index 4535f61e..cb478f0e 100644 --- a/spm/__external/__fieldtrip/ft_sliceinterp.py +++ b/spm/__external/__fieldtrip/ft_sliceinterp.py @@ -2,7 +2,7 @@ def ft_sliceinterp(*args, **kwargs): - """ + r""" FT_SLICEINTERP plots a 2D-montage of source reconstruction and anatomical MRI after these have been interpolated onto the same grid. @@ -82,9 +82,12 @@ def ft_sliceinterp(*args, **kwargs): See also FT_SOURCEANALYSIS, FT_VOLUMERESLICE - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/ft_sliceinterp.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/ft_sliceinterp.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_sliceinterp", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/ft_sourceanalysis.py b/spm/__external/__fieldtrip/ft_sourceanalysis.py index 2c7ff689..6d2401fa 100644 --- a/spm/__external/__fieldtrip/ft_sourceanalysis.py +++ b/spm/__external/__fieldtrip/ft_sourceanalysis.py @@ -2,7 +2,7 @@ def ft_sourceanalysis(*args, **kwargs): - """ + r""" FT_SOURCEANALYSIS performs beamformer dipole analysis on EEG or MEG data after preprocessing and a timelocked or frequency analysis @@ -129,9 +129,12 @@ def ft_sourceanalysis(*args, **kwargs): FT_PREPARE_HEADMODEL, FT_PREPARE_SOURCEMODEL - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/ft_sourceanalysis.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/ft_sourceanalysis.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_sourceanalysis", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/ft_sourcedescriptives.py b/spm/__external/__fieldtrip/ft_sourcedescriptives.py index 616b72a3..06e0872b 100644 --- a/spm/__external/__fieldtrip/ft_sourcedescriptives.py +++ b/spm/__external/__fieldtrip/ft_sourcedescriptives.py @@ -2,7 +2,7 @@ def ft_sourcedescriptives(*args, **kwargs): - """ + r""" FT_SOURCEDESCRIPTIVES computes descriptive parameters of the source analysis results. @@ -48,9 +48,12 @@ def ft_sourcedescriptives(*args, **kwargs): See also FT_SOURCEANALYSIS, FT_SOURCESTATISTICS, FT_MATH - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/ft_sourcedescriptives.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/ft_sourcedescriptives.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_sourcedescriptives", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/ft_sourcegrandaverage.py b/spm/__external/__fieldtrip/ft_sourcegrandaverage.py index 9b7cad17..ba96b840 100644 --- a/spm/__external/__fieldtrip/ft_sourcegrandaverage.py +++ b/spm/__external/__fieldtrip/ft_sourcegrandaverage.py @@ -2,7 +2,7 @@ def ft_sourcegrandaverage(*args, **kwargs): - """ + r""" FT_SOURCEGRANDAVERAGE averages source reconstructions over either multiple subjects or conditions. It computes the average and variance for all known source parameters. The output can be used in FT_SOURCESTATISTICS @@ -37,9 +37,12 @@ def ft_sourcegrandaverage(*args, **kwargs): See also FT_SOURCEANALYSIS, FT_SOURCEDESCRIPTIVES, FT_SOURCESTATISTICS, FT_MATH - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/ft_sourcegrandaverage.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/ft_sourcegrandaverage.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_sourcegrandaverage", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/ft_sourceinterpolate.py b/spm/__external/__fieldtrip/ft_sourceinterpolate.py index 5dd73083..acc7ca23 100644 --- a/spm/__external/__fieldtrip/ft_sourceinterpolate.py +++ b/spm/__external/__fieldtrip/ft_sourceinterpolate.py @@ -2,7 +2,7 @@ def ft_sourceinterpolate(*args, **kwargs): - """ + r""" FT_SOURCEINTERPOLATE interpolates source activity or statistical maps onto the voxels or vertices of an anatomical description of the brain. Both the functional and the anatomical data can either describe a volumetric 3D regular grid, a @@ -71,9 +71,12 @@ def ft_sourceinterpolate(*args, **kwargs): FT_SOURCEWRITE - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/ft_sourceinterpolate.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/ft_sourceinterpolate.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_sourceinterpolate", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/ft_sourcemovie.py b/spm/__external/__fieldtrip/ft_sourcemovie.py index 6d54989d..cf8ad610 100644 --- a/spm/__external/__fieldtrip/ft_sourcemovie.py +++ b/spm/__external/__fieldtrip/ft_sourcemovie.py @@ -2,7 +2,7 @@ def ft_sourcemovie(*args, **kwargs): - """ + r""" FT_SOURCEMOVIE displays the source reconstruction on a cortical mesh and allows the user to scroll through time with a movie. @@ -24,9 +24,12 @@ def ft_sourcemovie(*args, **kwargs): See also FT_SOURCEPLOT, FT_SOURCEINTERPOLATE, FT_SOURCEPARCELLATE - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/ft_sourcemovie.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/ft_sourcemovie.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_sourcemovie", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/ft_sourceparcellate.py b/spm/__external/__fieldtrip/ft_sourceparcellate.py index a589044b..e7352fa5 100644 --- a/spm/__external/__fieldtrip/ft_sourceparcellate.py +++ b/spm/__external/__fieldtrip/ft_sourceparcellate.py @@ -2,7 +2,7 @@ def ft_sourceparcellate(*args, **kwargs): - """ + r""" FT_SOURCEPARCELLATE combines the source-reconstruction parameters over the parcels, for example by averaging all the values in the anatomically or functionally labeled parcel. @@ -32,9 +32,12 @@ def ft_sourceparcellate(*args, **kwargs): See also FT_SOURCEANALYSIS, FT_DATATYPE_PARCELLATION, FT_DATATYPE_SEGMENTATION - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/ft_sourceparcellate.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/ft_sourceparcellate.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_sourceparcellate", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/ft_sourceplot.py b/spm/__external/__fieldtrip/ft_sourceplot.py index 38d36482..f465e579 100644 --- a/spm/__external/__fieldtrip/ft_sourceplot.py +++ b/spm/__external/__fieldtrip/ft_sourceplot.py @@ -2,7 +2,7 @@ def ft_sourceplot(*args, **kwargs): - """ + r""" FT_SOURCEPLOT plots functional source reconstruction data on slices or on a surface, optionally as an overlay on anatomical MRI data, where statistical data can be used to determine the opacity of the mask. Input data comes from FT_SOURCEANALYSIS, @@ -165,11 +165,11 @@ def ft_sourceplot(*args, **kwargs): The following parameters apply to cfg.method='surface' irrespective of whether an interpolation is required cfg.camlight = 'yes' or 'no' (default = 'yes') - cfg.facecolor = [r g b] values or string, for example 'brain', 'cortex', 'skin', 'black', 'red', 'r', + cfg.facecolor = [r g b] values or string, for example 'skin', 'skull', 'brain', 'black', 'red', 'r', or an Nx3 or Nx1 array where N is the number of faces - cfg.vertexcolor = [r g b] values or string, for example 'brain', 'cortex', 'skin', 'black', 'red', 'r', + cfg.vertexcolor = [r g b] values or string, for example 'skin', 'skull', 'brain', 'black', 'red', 'r', or an Nx3 or Nx1 array where N is the number of vertices - cfg.edgecolor = [r g b] values or string, for example 'brain', 'cortex', 'skin', 'black', 'red', 'r' + cfg.edgecolor = [r g b] values or string, for example 'skin', 'skull', 'brain', 'black', 'red', 'r' When cfg.method = 'cloud', the functional data will be rendered as as clouds (groups of points), spheres, or single points at each sensor position. These spheres or point clouds can either be @@ -204,9 +204,12 @@ def ft_sourceplot(*args, **kwargs): FT_VOLUMELOOKUP, FT_READ_ATLAS, FT_READ_MRI - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/ft_sourceplot.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/ft_sourceplot.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_sourceplot", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/ft_sourceplot_interactive.py b/spm/__external/__fieldtrip/ft_sourceplot_interactive.py index 6fb3bfc1..2322aec3 100644 --- a/spm/__external/__fieldtrip/ft_sourceplot_interactive.py +++ b/spm/__external/__fieldtrip/ft_sourceplot_interactive.py @@ -2,7 +2,7 @@ def ft_sourceplot_interactive(*args, **kwargs): - """ + r""" FT_SOURCEPLOT_INTERACTIVE provides a rapid way to plot 3D surface renderings of pos_time or pos_freq functional data, and interactively explore them. One figure is created with surface plots of the individual @@ -49,9 +49,12 @@ def ft_sourceplot_interactive(*args, **kwargs): See also FT_SOURCEPLOT, FT_SOURCEMOVIE - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/ft_sourceplot_interactive.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/ft_sourceplot_interactive.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_sourceplot_interactive", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/ft_sourcestatistics.py b/spm/__external/__fieldtrip/ft_sourcestatistics.py index 4eb03137..cea25265 100644 --- a/spm/__external/__fieldtrip/ft_sourcestatistics.py +++ b/spm/__external/__fieldtrip/ft_sourcestatistics.py @@ -2,7 +2,7 @@ def ft_sourcestatistics(*args, **kwargs): - """ + r""" FT_SOURCESTATISTICS computes the probability for a given null-hypothesis using a parametric statistical test or using a non-parametric randomization test. @@ -30,9 +30,12 @@ def ft_sourcestatistics(*args, **kwargs): FT_STATISTICS_MONTECARLO, FT_STATISTICS_ANALYTIC, FT_STATISTICS_CROSSVALIDATE, FT_STATISTICS_STATS - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/ft_sourcestatistics.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/ft_sourcestatistics.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_sourcestatistics", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/ft_sourcewrite.py b/spm/__external/__fieldtrip/ft_sourcewrite.py index e0b35946..0279a905 100644 --- a/spm/__external/__fieldtrip/ft_sourcewrite.py +++ b/spm/__external/__fieldtrip/ft_sourcewrite.py @@ -2,7 +2,7 @@ def ft_sourcewrite(*args, **kwargs): - """ + r""" FT_SOURCEWRITE exports source-reconstructed results to gifti or nifti format file. The appropriate output file depends on whether the source locations are described by on a cortically constrained sheet (gifti) or by a regular 3D lattice (nifti). @@ -13,7 +13,7 @@ def ft_sourcewrite(*args, **kwargs): cfg is a structure that should contain cfg.filename = string, filename without the extension - cfg.filetype = string, can be 'nifti', 'gifti' or 'cifti' (default is automatic) + cfg.filetype = string, can be 'nifti', 'nifti_gz', 'gifti' or 'cifti' (default is automatic) cfg.parameter = string, functional parameter to be written to file cfg.precision = string, can be 'single', 'double', etc. @@ -26,9 +26,12 @@ def ft_sourcewrite(*args, **kwargs): See also FT_SOURCEANALYSIS, FT_SOURCEDESCRIPTIVES, FT_VOLUMEWRITE - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/ft_sourcewrite.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/ft_sourcewrite.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_sourcewrite", *args, **kwargs, nargout=0) diff --git a/spm/__external/__fieldtrip/ft_statistics_analytic.py b/spm/__external/__fieldtrip/ft_statistics_analytic.py index 61f9bc2d..7c28bac3 100644 --- a/spm/__external/__fieldtrip/ft_statistics_analytic.py +++ b/spm/__external/__fieldtrip/ft_statistics_analytic.py @@ -2,11 +2,14 @@ def ft_statistics_analytic(*args, **kwargs): - """ + r""" FT_STATISTICS_ANALYTIC performs a parametric statistical test on the data, based on - a known (i.e. analytic) distribution of the test statistic. This function should - not be called directly, instead you should call the function that is associated - with the type of data on which you want to perform the test. + a known (i.e. analytic) distribution of the test statistic. It is not recommended + to call this function directly, but instead you should call the function that is + associated with the type of data on which you want to perform the test. This is + because important data bookkeeping operations on the data are performed in the + higher-level functions, which are assumed to have been handled correctly for the + input arguments into this function. Use as stat = ft_timelockstatistics(cfg, data1, data2, data3, ...) @@ -45,9 +48,12 @@ def ft_statistics_analytic(*args, **kwargs): FT_STATISTICS_CROSSVALIDATE - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/ft_statistics_analytic.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/ft_statistics_analytic.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_statistics_analytic", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/ft_statistics_crossvalidate.py b/spm/__external/__fieldtrip/ft_statistics_crossvalidate.py index f4743c97..7fbe32c4 100644 --- a/spm/__external/__fieldtrip/ft_statistics_crossvalidate.py +++ b/spm/__external/__fieldtrip/ft_statistics_crossvalidate.py @@ -2,11 +2,15 @@ def ft_statistics_crossvalidate(*args, **kwargs): - """ + r""" FT_STATISTICS_CROSSVALIDATE performs cross-validation using a prespecified - multivariate analysis. This function should not be called directly, instead you - should call the function that is associated with the type of data on which you want - to perform the test. + multivariate analysis. It is not recommended to call this function directly, + but instead you should call the function that is associated with the type of data on + which you want to perform the test. This is because important data bookkeeping + operations on the data are performed in the higher-level functions, which are + assumed to have been handled correctly for the input arguments into this function. + Also, notably, a prespecified randomseed in the cfg is handled in the higher + level function, not here. Use as stat = ft_timelockstatistics(cfg, data1, data2, data3, ...) @@ -35,9 +39,12 @@ def ft_statistics_crossvalidate(*args, **kwargs): FT_STATISTICS_CROSSVALIDATE - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/ft_statistics_crossvalidate.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/ft_statistics_crossvalidate.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_statistics_crossvalidate", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/ft_statistics_montecarlo.py b/spm/__external/__fieldtrip/ft_statistics_montecarlo.py index 41a60a3c..d95a2582 100644 --- a/spm/__external/__fieldtrip/ft_statistics_montecarlo.py +++ b/spm/__external/__fieldtrip/ft_statistics_montecarlo.py @@ -2,12 +2,16 @@ def ft_statistics_montecarlo(*args, **kwargs): - """ + r""" FT_STATISTICS_MONTECARLO performs a nonparametric statistical test by calculating Monte-Carlo estimates of the significance probabilities and/or critical values from - the permutation distribution. This function should not be called directly, instead - you should call the function that is associated with the type of data on which you - want to perform the test. + the permutation distribution. It is not recommended to call this function directly, + but instead you should call the function that is associated with the type of data on + which you want to perform the test. This is because important data bookkeeping + operations on the data are performed in the higher-level functions, which are + assumed to have been handled correctly for the input arguments into this function. + Also, notably, a prespecified randomseed in the cfg is handled in the higher + level function, not here. Use as stat = ft_timelockstatistics(cfg, data1, data2, data3, ...) @@ -17,7 +21,7 @@ def ft_statistics_montecarlo(*args, **kwargs): where the data is obtained from FT_TIMELOCKANALYSIS, FT_FREQANALYSIS or FT_SOURCEANALYSIS respectively, or from FT_TIMELOCKGRANDAVERAGE, FT_FREQGRANDAVERAGE or FT_SOURCEGRANDAVERAGE respectively - and with cfg.method = 'montecarlo' + and with cfg.method = 'montecarlo'. The configuration options that can be specified are: cfg.numrandomization = number of randomizations, can be 'all' @@ -30,7 +34,11 @@ def ft_statistics_montecarlo(*args, **kwargs): cfg.wvar = number or list with indices, within-cell variable(s) cfg.cvar = number or list with indices, control variable(s) cfg.feedback = string, 'gui', 'text', 'textbar' or 'no' (default = 'text') - cfg.randomseed = string, 'yes', 'no' or a number (default = 'yes') + cfg.randomseed = string, 'yes', 'no' or a number (default = 'yes'), this option is not used in this + function directly, but is handled by ft_statistics. If you want to control + the random number generator while calling ft_statistics_montecarlo directly, it should + be specified on the command line (or in the caller script) just prior to calling this + function. If you use a cluster-based statistic, you can specify the following options that determine how the single-sample or single-voxel statistics will be thresholded and @@ -73,9 +81,12 @@ def ft_statistics_montecarlo(*args, **kwargs): FT_STATISTICS_CROSSVALIDATE - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/ft_statistics_montecarlo.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/ft_statistics_montecarlo.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_statistics_montecarlo", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/ft_statistics_mvpa.py b/spm/__external/__fieldtrip/ft_statistics_mvpa.py index fb5bc8e6..c2c96e95 100644 --- a/spm/__external/__fieldtrip/ft_statistics_mvpa.py +++ b/spm/__external/__fieldtrip/ft_statistics_mvpa.py @@ -2,13 +2,18 @@ def ft_statistics_mvpa(*args, **kwargs): - """ + r""" FT_STATISTICS_MVPA performs multivariate pattern classification or regression using the MVPA-Light toolbox. The function supports cross-validation, searchlight analysis, generalization, nested preprocessing, a variety of classification and - regression metrics, as well as statistical testing of these metrics. This function - should not be called directly, instead you should call the function that is - associated with the type of data on which you want to perform the test. + regression metrics, as well as statistical testing of these metrics. + It is not recommended to call this function directly, + but instead you should call the function that is associated with the type of data on + which you want to perform the test. This is because important data bookkeeping + operations on the data are performed in the higher-level functions, which are + assumed to have been handled correctly for the input arguments into this function. + Also, notably, a prespecified randomseed in the cfg is handled in the higher + level function, not here. Use as stat = ft_timelockstatistics(cfg, data1, data2, data3, ...) @@ -20,6 +25,14 @@ def ft_statistics_mvpa(*args, **kwargs): FT_FREQGRANDAVERAGE or FT_SOURCEGRANDAVERAGE respectively and with cfg.method = 'mvpa' + In relation to the other ft_statistics_<> functions, FT_STATISTICS_MVPA stands out + because it allows for cross-classification analysis; where the model is trained on + the single trial data present in the first data argument, and tested on the single + trial data present in the second data argument. In this case the highe level function + (e.g. FT_TIMELOCKSTATISTICS) needs to be called with 2 data arguments containing single + trial data, and with cfg.design as a 1x2 cell-array, where each cell corresponds with + a design, consistent with the respective data argument. + The configuration options that can be specified are: cfg.features = specifies the name or index of the dimension(s) that serve(s) as features for the classifier or @@ -140,18 +153,23 @@ def ft_statistics_mvpa(*args, **kwargs): together with the immediately preceding and following time points. Increasing timwin typially leads to smoother results along the time axis. + cfg.tstep = integer, size of time step, only works in + combination with cfg.timwin cfg.freqwin = integer, acts like cfg.timwin but across frequencies This returns: - stat.metric = this contains the requested metric + stat. = this contains the requested metric See also FT_TIMELOCKSTATISTICS, FT_FREQSTATISTICS, FT_SOURCESTATISTICS, - FT_STATISTICS_ANALYTIC, FT_STATISTICS_STATS, FT_STATISTICS_MONTECARLO, FT_STATISTICS_CROSSVALIDATE + FT_STATISTICS_ANALYTIC, FT_STATISTICS_STATS, FT_STATISTICS_MONTECARLO - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/ft_statistics_mvpa.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/ft_statistics_mvpa.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_statistics_mvpa", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/ft_statistics_stats.py b/spm/__external/__fieldtrip/ft_statistics_stats.py index 84571cc7..8b968ad2 100644 --- a/spm/__external/__fieldtrip/ft_statistics_stats.py +++ b/spm/__external/__fieldtrip/ft_statistics_stats.py @@ -2,11 +2,13 @@ def ft_statistics_stats(*args, **kwargs): - """ + r""" FT_STATISTICS_STATS performs a massive univariate statistical test using the MATLAB - statistics toolbox. This function should not be called directly, instead you should - call the function that is associated with the type of data on which you want to - perform the test. + statistics toolbox. It is not recommended to call this function directly, + but instead you should call the function that is associated with the type of data on + which you want to perform the test. This is because important data bookkeeping + operations on the data are performed in the higher-level functions, which are + assumed to have been handled correctly for the input arguments into this function. Use as stat = ft_timelockstatistics(cfg, data1, data2, data3, ...) @@ -39,9 +41,12 @@ def ft_statistics_stats(*args, **kwargs): FT_STATISTICS_MONTECARLO, FT_STATISTICS_CROSSVALIDATE - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/ft_statistics_stats.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/ft_statistics_stats.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_statistics_stats", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/ft_steadystatesimulation.py b/spm/__external/__fieldtrip/ft_steadystatesimulation.py index 5681e422..be3c661b 100644 --- a/spm/__external/__fieldtrip/ft_steadystatesimulation.py +++ b/spm/__external/__fieldtrip/ft_steadystatesimulation.py @@ -2,7 +2,7 @@ def ft_steadystatesimulation(*args, **kwargs): - """ + r""" FT_STEADYSTATESIMULATION creates a simulated EEG/MEG dataset. This function allows to simulate the effect of several independent stimulus trains. These can be presented as a periodic sequence, or as single (or few) transient stimuli. @@ -77,9 +77,12 @@ def ft_steadystatesimulation(*args, **kwargs): FT_CONNECTIVITYSIMULATION, FT_APPENDDATA - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/ft_steadystatesimulation.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/ft_steadystatesimulation.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_steadystatesimulation", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/ft_stratify.py b/spm/__external/__fieldtrip/ft_stratify.py index 150d9475..4bc42aea 100644 --- a/spm/__external/__fieldtrip/ft_stratify.py +++ b/spm/__external/__fieldtrip/ft_stratify.py @@ -2,7 +2,7 @@ def ft_stratify(*args, **kwargs): - """ + r""" FT_STRATIFY tries to reduce the variance in a specific feature in the data that is not related to an effect in two or multiple conditions, but where that feature may confound the analysis. Stratification is implemented by @@ -44,9 +44,12 @@ def ft_stratify(*args, **kwargs): See also FT_FREQSTATISTICS, FT_TIMELOCKSTATISTICS, FT_SOURCESTATISTICS - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/ft_stratify.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/ft_stratify.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_stratify", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/ft_timelockanalysis.py b/spm/__external/__fieldtrip/ft_timelockanalysis.py index 0fa56e38..c5b2f25d 100644 --- a/spm/__external/__fieldtrip/ft_timelockanalysis.py +++ b/spm/__external/__fieldtrip/ft_timelockanalysis.py @@ -2,7 +2,7 @@ def ft_timelockanalysis(*args, **kwargs): - """ + r""" FT_TIMELOCKANALYSIS computes the timelocked average ERP/ERF and optionally computes the covariance matrix over the specified time window. @@ -32,9 +32,12 @@ def ft_timelockanalysis(*args, **kwargs): See also FT_TIMELOCKGRANDAVERAGE, FT_TIMELOCKSTATISTICS - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/ft_timelockanalysis.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/ft_timelockanalysis.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_timelockanalysis", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/ft_timelockbaseline.py b/spm/__external/__fieldtrip/ft_timelockbaseline.py index 6b1e4bb0..f2c23c2b 100644 --- a/spm/__external/__fieldtrip/ft_timelockbaseline.py +++ b/spm/__external/__fieldtrip/ft_timelockbaseline.py @@ -2,7 +2,7 @@ def ft_timelockbaseline(*args, **kwargs): - """ + r""" FT_TIMELOCKBASELINE performs baseline correction for ERF and ERP data. To apply baseline correction to data that is not timelocked, use ft_preprocessing instead. @@ -26,9 +26,12 @@ def ft_timelockbaseline(*args, **kwargs): See also FT_TIMELOCKANALYSIS, FT_FREQBASELINE, FT_TIMELOCKGRANDAVERAGE, FT_DATATYPE_TIMELOCK - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/ft_timelockbaseline.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/ft_timelockbaseline.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_timelockbaseline", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/ft_timelockgrandaverage.py b/spm/__external/__fieldtrip/ft_timelockgrandaverage.py index 2c73b80c..05862184 100644 --- a/spm/__external/__fieldtrip/ft_timelockgrandaverage.py +++ b/spm/__external/__fieldtrip/ft_timelockgrandaverage.py @@ -2,7 +2,7 @@ def ft_timelockgrandaverage(*args, **kwargs): - """ + r""" FT_TIMELOCKGRANDAVERAGE computes ERF/ERP average and variance over multiple subjects or over blocks within one subject @@ -46,9 +46,12 @@ def ft_timelockgrandaverage(*args, **kwargs): See also FT_TIMELOCKANALYSIS, FT_TIMELOCKSTATISTICS, FT_TIMELOCKBASELINE - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/ft_timelockgrandaverage.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/ft_timelockgrandaverage.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_timelockgrandaverage", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/ft_timelocksimulation.py b/spm/__external/__fieldtrip/ft_timelocksimulation.py index bf13ef39..004b4708 100644 --- a/spm/__external/__fieldtrip/ft_timelocksimulation.py +++ b/spm/__external/__fieldtrip/ft_timelocksimulation.py @@ -2,7 +2,7 @@ def ft_timelocksimulation(*args, **kwargs): - """ + r""" FT_TIMELOCKSIMULATION computes simulated data that consists of multiple trials in with each trial contains an event-related potential or field. Following construction of the time-locked signal in each trial by this function, the signals @@ -42,9 +42,12 @@ def ft_timelocksimulation(*args, **kwargs): FT_DIPOLESIMULATION, FT_CONNECTIVITYSIMULATION - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/ft_timelocksimulation.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/ft_timelocksimulation.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_timelocksimulation", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/ft_timelockstatistics.py b/spm/__external/__fieldtrip/ft_timelockstatistics.py index 24651e53..b8f6e479 100644 --- a/spm/__external/__fieldtrip/ft_timelockstatistics.py +++ b/spm/__external/__fieldtrip/ft_timelockstatistics.py @@ -2,7 +2,7 @@ def ft_timelockstatistics(*args, **kwargs): - """ + r""" FT_TIMELOCKSTATISTICS computes significance probabilities and/or critical values of a parametric statistical test or a non-parametric permutation test. @@ -22,7 +22,8 @@ def ft_timelockstatistics(*args, **kwargs): Furthermore, the configuration should contain cfg.method = different methods for calculating the significance probability and/or critical value 'montecarlo' get Monte-Carlo estimates of the significance probabilities and/or critical values from the permutation distribution, - 'analytic' get significance probabilities and/or critical values from the analytic reference distribution (typically, the sampling distribution under the null hypothesis), + 'analytic' get significance probabilities and/or critical values from the analytic reference distribution + (typically, the sampling distribution under the null hypothesis), 'stats' use a parametric test from the MATLAB statistics toolbox, 'mvpa' use functionality from the MVPA-light toolbox for classification or multivariate regression @@ -42,9 +43,12 @@ def ft_timelockstatistics(*args, **kwargs): See also FT_TIMELOCKANALYSIS, FT_TIMELOCKGRANDAVERAGE - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/ft_timelockstatistics.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/ft_timelockstatistics.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_timelockstatistics", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/ft_topoplotCC.py b/spm/__external/__fieldtrip/ft_topoplotCC.py index f2e59e05..188175b9 100644 --- a/spm/__external/__fieldtrip/ft_topoplotCC.py +++ b/spm/__external/__fieldtrip/ft_topoplotCC.py @@ -2,7 +2,7 @@ def ft_topoplotCC(*args, **kwargs): - """ + r""" FT_TOPOPLOTCC plots the coherence or connectivity between channel pairs Use as @@ -11,7 +11,7 @@ def ft_topoplotCC(*args, **kwargs): The configuration should contain: cfg.feedback = string (default = 'textbar') cfg.layout = specification of the layout, see FT_PREPARE_LAYOUT - cfg.foi = the frequency of interest which is to be plotted (default is the first frequency bin) + cfg.foi = scalar, the frequency of interest which is to be plotted (default is the first frequency bin) cfg.widthparam = string, parameter to be used to control the line width (see below) cfg.alphaparam = string, parameter to be used to control the opacity (see below) cfg.colorparam = string, parameter to be used to control the line color @@ -45,9 +45,12 @@ def ft_topoplotCC(*args, **kwargs): See also FT_PREPARE_LAYOUT, FT_MULTIPLOTCC, FT_CONNECTIVITYPLOT - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/ft_topoplotCC.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/ft_topoplotCC.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_topoplotCC", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/ft_topoplotER.py b/spm/__external/__fieldtrip/ft_topoplotER.py index 65ed55c4..be82407d 100644 --- a/spm/__external/__fieldtrip/ft_topoplotER.py +++ b/spm/__external/__fieldtrip/ft_topoplotER.py @@ -2,7 +2,7 @@ def ft_topoplotER(*args, **kwargs): - """ + r""" FT_TOPOPLOTER plots the topographic distribution over the head of a 2-dimensional data representations such as the event-related potentials or fields, or a power or connectivity spectrum. @@ -27,6 +27,8 @@ def ft_topoplotER(*args, **kwargs): cfg.baseline = 'yes','no' or [time1 time2] (default = 'no'), see FT_TIMELOCKBASELINE or FT_FREQBASELINE cfg.baselinetype = 'absolute' or 'relative' (default = 'absolute') cfg.trials = 'all' or a selection given as a 1xN vector (default = 'all') + cfg.magscale = number, scaling to apply to the MEG magnetometer channels prior to display + cfg.gradscale = number, scaling to apply to the MEG gradiometer channels prior to display cfg.colormap = string, or Nx3 matrix, see FT_COLORMAP cfg.marker = 'on', 'labels', 'numbers', 'off' cfg.markersymbol = channel marker symbol (default = 'o') @@ -75,33 +77,27 @@ def ft_topoplotER(*args, **kwargs): 'layout' to place comment as specified for COMNT in layout [x y] coordinates cfg.interactive = Interactive plot 'yes' or 'no' (default = 'yes') - In a interactive plot you can select areas and produce a new - interactive plot when a selected area is clicked. Multiple areas - can be selected by holding down the SHIFT key. - cfg.directionality = '', 'inflow' or 'outflow' specifies for - connectivity measures whether the inflow into a - node, or the outflow from a node is plotted. The - (default) behavior of this option depends on the dimord - of the input data (see below). + In an interactive plot you can select areas and produce a new interactive plot when a + selected area is clicked. Multiple areas can be selected by holding down the SHIFT key. + cfg.directionality = '', 'inflow' or 'outflow' specifies for connectivity measures whether the inflow into a + node, or the outflow from a node is plotted. The (default) behavior of this option depends + on the dimord of the input data (see below). cfg.layout = specify the channel layout for plotting using one of the supported ways (see below). cfg.interpolatenan = 'yes' or 'no', whether to interpolate over channels containing NaNs (default = 'yes') - cfg.figure = 'yes' or 'no', whether to open a new figure. You can also specify a figure handle from FIGURE, GCF or SUBPLOT. (default = 'yes') + cfg.figure = 'yes', 'no', or 'subplot', whether to open a new figure. You can also specify a figure + handle from FIGURE, GCF or SUBPLOT. (default = 'yes'). With multiple data inputs, 'subplot' + will make subplots in a single figure. - For the plotting of directional connectivity data the cfg.directionality option - determines what is plotted. The default value and the supported functionality - depend on the dimord of the input data. If the input data is of dimord - 'chan_chan_XXX', the value of directionality determines whether, given the - reference channel(s), the columns (inflow), or rows (outflow) are selected for - plotting. In this situation the default is 'inflow'. Note that for undirected - measures, inflow and outflow should give the same output. If the input data is of - dimord 'chancmb_XXX', the value of directionality determines whether the rows in - data.labelcmb are selected. With 'inflow' the rows are selected if the - refchannel(s) occur in the right column, with 'outflow' the rows are selected if - the refchannel(s) occur in the left column of the labelcmb-field. Default in this - case is '', which means that all rows are selected in which the refchannel(s) - occur. This is to robustly support linearly indexed undirected connectivity - metrics. In the situation where undirected connectivity measures are linearly - indexed, specifying 'inflow' or 'outflow' can result in unexpected behavior. + For the plotting of directional connectivity data the cfg.directionality option determines what is plotted. The default + value and the supported functionality depend on the dimord of the input data. If the input data is of dimord 'chan_chan_XXX', + the value of directionality determines whether, given the reference channel(s), the columns (inflow), or rows (outflow) are + selected for plotting. In this situation the default is 'inflow'. Note that for undirected measures, inflow and outflow should + give the same output. If the input data is of dimord 'chancmb_XXX', the value of directionality determines whether the rows in + data.labelcmb are selected. With 'inflow' the rows are selected if the refchannel(s) occur in the right column, with 'outflow' + the rows are selected if the refchannel(s) occur in the left column of the labelcmb-field. Default in this case is '', which + means that all rows are selected in which the refchannel(s) occur. This is to robustly support linearly indexed undirected + connectivity metrics. In the situation where undirected connectivity measures are linearly indexed, specifying 'inflow' or + outflow' can result in unexpected behavior. The layout defines how the channels are arranged. You can specify the layout in a variety of ways: @@ -119,9 +115,12 @@ def ft_topoplotER(*args, **kwargs): FT_TOPOPLOTTFR, FT_PREPARE_LAYOUT - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/ft_topoplotER.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/ft_topoplotER.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_topoplotER", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/ft_topoplotIC.py b/spm/__external/__fieldtrip/ft_topoplotIC.py index 5903e0ce..f286b249 100644 --- a/spm/__external/__fieldtrip/ft_topoplotIC.py +++ b/spm/__external/__fieldtrip/ft_topoplotIC.py @@ -2,7 +2,7 @@ def ft_topoplotIC(*args, **kwargs): - """ + r""" FT_TOPOPLOTIC plots the topographic distribution of an independent component that was computed using the FT_COMPONENTANALYSIS function, as a 2-D circular view (looking down at the top of the head). @@ -64,7 +64,7 @@ def ft_topoplotIC(*args, **kwargs): 'layout' to place comment as specified for COMNT in layout [x y] coordinates cfg.title = string or 'auto' or 'off', specify a figure title, or use 'component N' (default) as the title - cfg.figure = 'yes' or 'no', whether to open a new figure. You can also specify a figure handle from FIGURE, GCF or SUBPLOT. (default = 'yes') + cfg.figure = 'yes', 'no' or 'subplot', whether to open a new figure. You can also specify a figure handle from FIGURE, GCF or SUBPLOT. (default = 'subplot') cfg.renderer = string, 'opengl', 'zbuffer', 'painters', see RENDERERINFO (default is automatic, try 'painters' when it crashes) The layout defines how the channels are arranged. You can specify the @@ -83,9 +83,12 @@ def ft_topoplotIC(*args, **kwargs): FT_SINGLEPLOTTFR, FT_MULTIPLOTTFR, FT_PREPARE_LAYOUT - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/ft_topoplotIC.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/ft_topoplotIC.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_topoplotIC", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/ft_topoplotTFR.py b/spm/__external/__fieldtrip/ft_topoplotTFR.py index eac12b40..62feda49 100644 --- a/spm/__external/__fieldtrip/ft_topoplotTFR.py +++ b/spm/__external/__fieldtrip/ft_topoplotTFR.py @@ -2,7 +2,7 @@ def ft_topoplotTFR(*args, **kwargs): - """ + r""" FT_TOPOPLOTTFR plots the topographic distribution over the head of a 3-dimensional data representations such as time-frequency representation of the power or coherence spectrum. @@ -24,6 +24,8 @@ def ft_topoplotTFR(*args, **kwargs): cfg.baseline = 'yes','no' or [time1 time2] (default = 'no'), see FT_TIMELOCKBASELINE or FT_FREQBASELINE cfg.baselinetype = 'absolute' or 'relative' (default = 'absolute') cfg.trials = 'all' or a selection given as a 1xN vector (default = 'all') + cfg.magscale = number, scaling to apply to the MEG magnetometer channels prior to display + cfg.gradscale = number, scaling to apply to the MEG gradiometer channels prior to display cfg.colormap = string, or Nx3 matrix, see FT_COLORMAP cfg.marker = 'on', 'labels', 'numbers', 'off' cfg.markersymbol = channel marker symbol (default = 'o') @@ -85,24 +87,20 @@ def ft_topoplotTFR(*args, **kwargs): the supported ways (see below). cfg.interpolatenan = string 'yes', 'no' (default = 'yes') interpolate over channels containing NaNs + cfg.figure = 'yes', 'no', or 'subplot', whether to open a new figure. You can also specify a figure + handle from FIGURE, GCF or SUBPLOT. (default = 'yes'). With multiple data inputs, 'subplot' + will make subplots in a single figure. - For the plotting of directional connectivity data the cfg.directionality - option determines what is plotted. The default value and the supported - functionality depend on the dimord of the input data. If the input data - is of dimord 'chan_chan_XXX', the value of directionality determines - whether, given the reference channel(s), the columns (inflow), or rows - (outflow) are selected for plotting. In this situation the default is - 'inflow'. Note that for undirected measures, inflow and outflow should - give the same output. If the input data is of dimord 'chancmb_XXX', the - value of directionality determines whether the rows in data.labelcmb are - selected. With 'inflow' the rows are selected if the refchannel(s) occur in - the right column, with 'outflow' the rows are selected if the - refchannel(s) occur in the left column of the labelcmb-field. Default in - this case is '', which means that all rows are selected in which the - refchannel(s) occur. This is to robustly support linearly indexed - undirected connectivity metrics. In the situation where undirected - connectivity measures are linearly indexed, specifying 'inflow' or - 'outflow' can result in unexpected behavior. + For the plotting of directional connectivity data the cfg.directionality option determines what is plotted. The default + value and the supported functionality depend on the dimord of the input data. If the input data is of dimord 'chan_chan_XXX', + the value of directionality determines whether, given the reference channel(s), the columns (inflow), or rows (outflow) are + selected for plotting. In this situation the default is 'inflow'. Note that for undirected measures, inflow and outflow should + give the same output. If the input data is of dimord 'chancmb_XXX', the value of directionality determines whether the rows in + data.labelcmb are selected. With 'inflow' the rows are selected if the refchannel(s) occur in the right column, with 'outflow' + the rows are selected if the refchannel(s) occur in the left column of the labelcmb-field. Default in this case is '', which + means that all rows are selected in which the refchannel(s) occur. This is to robustly support linearly indexed undirected + connectivity metrics. In the situation where undirected connectivity measures are linearly indexed, specifying 'inflow' or + outflow' can result in unexpected behavior. The layout defines how the channels are arranged. You can specify the layout in a variety of ways: @@ -127,9 +125,12 @@ def ft_topoplotTFR(*args, **kwargs): See also FT_TOPOPLOTER, FT_TOPOPLOTIC, FT_SINGLEPLOTTFR, FT_MULTIPLOTTFR, FT_PREPARE_LAYOUT - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/ft_topoplotTFR.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/ft_topoplotTFR.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_topoplotTFR", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/ft_virtualchannel.py b/spm/__external/__fieldtrip/ft_virtualchannel.py index f6af43c8..7b43e380 100644 --- a/spm/__external/__fieldtrip/ft_virtualchannel.py +++ b/spm/__external/__fieldtrip/ft_virtualchannel.py @@ -2,7 +2,7 @@ def ft_virtualchannel(*args, **kwargs): - """ + r""" FT_VIRTUALCHANNEL creates virtual channel data, combining numeric data from a data structure defined at the channel level with spatial filter information from a source data structure, and optional parcellation information. @@ -48,9 +48,12 @@ def ft_virtualchannel(*args, **kwargs): FT_SOURCEPARCELLATE, FT_COMPONENTANALYSIS - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/ft_virtualchannel.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/ft_virtualchannel.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_virtualchannel", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/ft_volumebiascorrect.py b/spm/__external/__fieldtrip/ft_volumebiascorrect.py index 80d0b171..15dbfe60 100644 --- a/spm/__external/__fieldtrip/ft_volumebiascorrect.py +++ b/spm/__external/__fieldtrip/ft_volumebiascorrect.py @@ -2,7 +2,7 @@ def ft_volumebiascorrect(*args, **kwargs): - """ + r""" FT_VOLUMEBIASCORRECT corrects the image inhomogeneity bias in an anatomical MRI Use as @@ -19,9 +19,12 @@ def ft_volumebiascorrect(*args, **kwargs): See also FT_VOLUMEREALIGN FT_VOLUMESEGMENT FT_VOLUMENORMALISE - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/ft_volumebiascorrect.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/ft_volumebiascorrect.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_volumebiascorrect", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/ft_volumedownsample.py b/spm/__external/__fieldtrip/ft_volumedownsample.py index a767ef45..8ff37039 100644 --- a/spm/__external/__fieldtrip/ft_volumedownsample.py +++ b/spm/__external/__fieldtrip/ft_volumedownsample.py @@ -2,7 +2,7 @@ def ft_volumedownsample(*args, **kwargs): - """ + r""" FT_VOLUMEDOWNSAMPLE downsamples, or more precisely decimates an anatomical MRI or source reconstruction and optionally normalizes its coordinate axes, keeping the homogenous transformation matrix correct. @@ -31,9 +31,12 @@ def ft_volumedownsample(*args, **kwargs): See also FT_SOURCEINTERPOLATE, FT_VOLUMEWRITE and FT_VOLUMENORMALISE - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/ft_volumedownsample.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/ft_volumedownsample.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_volumedownsample", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/ft_volumelookup.py b/spm/__external/__fieldtrip/ft_volumelookup.py index 974ae2cd..681eedf0 100644 --- a/spm/__external/__fieldtrip/ft_volumelookup.py +++ b/spm/__external/__fieldtrip/ft_volumelookup.py @@ -2,7 +2,7 @@ def ft_volumelookup(*args, **kwargs): - """ + r""" FT_VOLUMELOOKUP can be used in to combine an anatomical or functional atlas with the source reconstruction results. You can use it for forward and reverse lookup. @@ -70,9 +70,12 @@ def ft_volumelookup(*args, **kwargs): See also FT_READ_ATLAS, FT_SOURCEPLOT - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/ft_volumelookup.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/ft_volumelookup.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_volumelookup", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/ft_volumenormalise.py b/spm/__external/__fieldtrip/ft_volumenormalise.py index af3c388c..a57a3099 100644 --- a/spm/__external/__fieldtrip/ft_volumenormalise.py +++ b/spm/__external/__fieldtrip/ft_volumenormalise.py @@ -2,7 +2,7 @@ def ft_volumenormalise(*args, **kwargs): - """ + r""" FT_VOLUMENORMALISE normalises anatomical and functional volume data to a template anatomical MRI. @@ -28,7 +28,7 @@ def ft_volumenormalise(*args, **kwargs): cfg.templatemask = string, filename of a mask for the template anatomical MRI spcified in cfg.template, e.g. a brain mask (optional). - cfg.tpm = string, file name of the SPM tissue probablility map to use in + cfg.tpm = string, file name of the SPM tissue probability map to use in case spmversion is 'spm12' and spmmethod is 'new' or 'mars' cfg.write = 'yes' or 'no' (default = 'no'), writes the segmented volumes to SPM2 compatible analyze-file, with the suffix @@ -61,9 +61,12 @@ def ft_volumenormalise(*args, **kwargs): See also FT_READ_MRI, FT_VOLUMEDOWNSAMPLE, FT_SOURCEINTERPOLATE, FT_SOURCEPLOT - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/ft_volumenormalise.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/ft_volumenormalise.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_volumenormalise", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/ft_volumerealign.py b/spm/__external/__fieldtrip/ft_volumerealign.py index 675af1c0..1d9767c8 100644 --- a/spm/__external/__fieldtrip/ft_volumerealign.py +++ b/spm/__external/__fieldtrip/ft_volumerealign.py @@ -2,15 +2,15 @@ def ft_volumerealign(*args, **kwargs): - """ + r""" FT_VOLUMEREALIGN spatially aligns an anatomical MRI with head coordinates based on external fiducials or anatomical landmarks. This function typically does not change the anatomical MRI volume itself, but only adjusts the homogeneous transformation matrix that describes the mapping from voxels to the coordinate system. It also appends a coordsys-field to the output data, or it updates it. This field specifies how the x/y/z-axes of the coordinate system should be interpreted. Occasionally, - the orientation and handedness of the output volume may be different from the orientation - and handedness of the input volume. This is determined by the cfg.flip + the orientation and handedness of the output volume may be different from the + orientation and handedness of the input volume. This is determined by the cfg.flip argument. See the code for more details. For spatial normalisation and deformation (i.e. warping) an MRI to a template brain @@ -19,10 +19,11 @@ def ft_volumerealign(*args, **kwargs): Different methods for aligning the anatomical MRI to a coordinate system are implemented, which are described in detail below: - INTERACTIVE - Use a graphical user interface to click on the location of anatomical - landmarks or fiducials. The anatomical data can be displayed as three orthogonal - MRI slices or as a rendering of the head surface. The coordinate system is updated - according to the definition of the coordinates of these fiducials. + INTERACTIVE - This shows a graphical user interface in which you can click on the + location of anatomical landmarks or fiducials. The anatomical data can be displayed + as three orthogonal MRI slices or as a rendering of the head surface. The + coordinate system is updated according to the definition of the coordinates of + these fiducials. FIDUCIAL - The coordinate system is updated according to the definition of the coordinates of anatomical landmarks or fiducials that are specified in the @@ -56,8 +57,8 @@ def ft_volumerealign(*args, **kwargs): 'fsl' match to template anatomical MRI cfg.coordsys = string specifying the origin and the axes of the coordinate system. Supported coordinate systems are 'ctf', '4d', 'bti', - 'eeglab', 'neuromag', 'itab', 'yokogawa', 'asa', 'acpc', - and 'paxinos'. See http://tinyurl.com/ojkuhqz + 'eeglab', 'eeglab-hj', 'neuromag', 'itab', 'yokogawa', 'asa', 'acpc', + and 'paxinos'. See https://www.fieldtriptoolbox.org/faq/coordsys cfg.clim = [min max], scaling of the anatomy color (default is automatic) cfg.parameter = 'anatomy' the parameter which is used for the visualization cfg.viewresult = string, 'yes' or 'no', whether or not to visualize aligned volume(s) @@ -192,9 +193,12 @@ def ft_volumerealign(*args, **kwargs): FT_DETERMINE_COORDSYS, SPM_AFFREG, SPM_NORMALISE, SPM_COREG - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/ft_volumerealign.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/ft_volumerealign.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_volumerealign", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/ft_volumereslice.py b/spm/__external/__fieldtrip/ft_volumereslice.py index 3bf50f4b..1d7984bf 100644 --- a/spm/__external/__fieldtrip/ft_volumereslice.py +++ b/spm/__external/__fieldtrip/ft_volumereslice.py @@ -2,7 +2,7 @@ def ft_volumereslice(*args, **kwargs): - """ + r""" FT_VOLUMERESLICE flips, permutes, interpolates and/or reslices a volume along the principal axes of the coordinate system according to a specified resolution. @@ -43,9 +43,12 @@ def ft_volumereslice(*args, **kwargs): See also FT_VOLUMEREALIGN, FT_VOLUMEDOWNSAMPLE, FT_SOURCEINTERPOLATE, FT_SOURCEPLOT - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/ft_volumereslice.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/ft_volumereslice.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_volumereslice", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/ft_volumesegment.py b/spm/__external/__fieldtrip/ft_volumesegment.py index c9014982..2e97974f 100644 --- a/spm/__external/__fieldtrip/ft_volumesegment.py +++ b/spm/__external/__fieldtrip/ft_volumesegment.py @@ -2,7 +2,7 @@ def ft_volumesegment(*args, **kwargs): - """ + r""" FT_VOLUMESEGMENT segments an anatomical MRI. The behavior depends on the output requested. It can return probabilistic tissue maps of gray/white/csf compartments, a skull-stripped anatomy, or binary masks representing the brain surface, skull, or scalp surface. @@ -17,9 +17,9 @@ def ft_volumesegment(*args, **kwargs): The configuration structure can contain cfg.output = string or cell-array of strings, see below (default = 'tpm') cfg.spmversion = string, 'spm2', 'spm8', 'spm12' (default = 'spm12') - cfg.spmmethod = string, 'old', 'new', 'mars', the algorithm used when - cfg.spmversion='spm12' (default = 'old') - cfg.opts = structure with spm-version specific options. See the + cfg.spmmethod = string with he algorithm used when spm12 is used, this + can be 'old', 'new', 'mars' (default = 'old') + cfg.opts = structure with spm-version specific options. See the code and/or the SPM-documentation for more detail. cfg.template = filename of the template anatomical MRI (default = '/spm2/templates/T1.mnc' or '/spm8/templates/T1.nii') @@ -45,7 +45,7 @@ def ft_volumesegment(*args, **kwargs): cfg.scalpsmooth = 'no', or scalar, the FWHM of the gaussian kernel in voxels, (default = 5) cfg.skullsmooth = 'no', or scalar, the FWHM of the gaussian kernel in voxels, (default = 5) this parameter is only used when the segmentation contains 6 tisuse types, - % including 'bone' + including 'bone' cfg.brainthreshold = 'no', or scalar, relative threshold value which is used to threshold the tpm in order to create a volumetric brainmask (see below), (default = 0.5) cfg.scalpthreshold = 'no', or scalar, relative threshold value which is used to threshold the @@ -125,9 +125,12 @@ def ft_volumesegment(*args, **kwargs): See also FT_READ_MRI, FT_DETERMINE_COORDSYS, FT_PREPARE_HEADMODEL - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/ft_volumesegment.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/ft_volumesegment.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_volumesegment", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/ft_volumewrite.py b/spm/__external/__fieldtrip/ft_volumewrite.py index aec898bc..805898bf 100644 --- a/spm/__external/__fieldtrip/ft_volumewrite.py +++ b/spm/__external/__fieldtrip/ft_volumewrite.py @@ -2,7 +2,7 @@ def ft_volumewrite(*args, **kwargs): - """ + r""" FT_VOLUMEWRITE exports anatomical or functional volume data to a Analyze or BrainVoyager file. The data in the resulting file(s) can be further analyzed and/or visualized in MRIcro, SPM, BrainVoyager, @@ -71,9 +71,12 @@ def ft_volumewrite(*args, **kwargs): See also FT_SOURCEANALYSIS, FT_SOURCESTATISTICS, FT_SOURCEINTERPOLATE, FT_WRITE_MRI - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/ft_volumewrite.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/ft_volumewrite.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_volumewrite", *args, **kwargs, nargout=0) diff --git a/spm/__external/__fieldtrip/ft_wizard.py b/spm/__external/__fieldtrip/ft_wizard.py index fdd2098b..9b4c18d0 100644 --- a/spm/__external/__fieldtrip/ft_wizard.py +++ b/spm/__external/__fieldtrip/ft_wizard.py @@ -2,7 +2,7 @@ def ft_wizard(*args, **kwargs): - """ + r""" FT_WIZARD is a graphical user interface to evaluate a FieldTrip analysis script one step at a time, allowing you to go to the next step if you are content with the data so far, or to the previous step if you want to repeat it @@ -31,9 +31,12 @@ def ft_wizard(*args, **kwargs): See also FT_ANALYSISPROTOCOL - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/ft_wizard.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/ft_wizard.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_wizard", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/homer2fieldtrip.py b/spm/__external/__fieldtrip/homer2fieldtrip.py index 4029518b..6828f1db 100644 --- a/spm/__external/__fieldtrip/homer2fieldtrip.py +++ b/spm/__external/__fieldtrip/homer2fieldtrip.py @@ -2,7 +2,7 @@ def homer2fieldtrip(*args, **kwargs): - """ + r""" HOMER2FIELDTRIP converts a continuous raw data structure from Homer to FieldTrip format. @@ -19,9 +19,12 @@ def homer2fieldtrip(*args, **kwargs): See also FIELDTRIP2HOMER, FT_PREPROCESSING, FT_DATATYPE_RAW - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/homer2fieldtrip.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/homer2fieldtrip.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("homer2fieldtrip", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/imotions2fieldtrip.py b/spm/__external/__fieldtrip/imotions2fieldtrip.py index c4958e60..58cb4740 100644 --- a/spm/__external/__fieldtrip/imotions2fieldtrip.py +++ b/spm/__external/__fieldtrip/imotions2fieldtrip.py @@ -2,7 +2,7 @@ def imotions2fieldtrip(*args, **kwargs): - """ + r""" IMOTIONS2FIELDTRIP imports an iMotions *.txt file and represents it as a FieldTrip raw data structure. @@ -30,9 +30,12 @@ def imotions2fieldtrip(*args, **kwargs): See also FT_DATATYPE_RAW, FT_PREPROCESSING, FT_HEARTRATE, FT_ELECTRODERMALACTIVITY - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/imotions2fieldtrip.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/imotions2fieldtrip.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("imotions2fieldtrip", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/loreta2fieldtrip.py b/spm/__external/__fieldtrip/loreta2fieldtrip.py index e47a4fc5..2741aa5d 100644 --- a/spm/__external/__fieldtrip/loreta2fieldtrip.py +++ b/spm/__external/__fieldtrip/loreta2fieldtrip.py @@ -2,7 +2,7 @@ def loreta2fieldtrip(*args, **kwargs): - """ + r""" LORETA2FIELDTRIP reads and converts a LORETA source reconstruction into a FieldTrip data structure, which subsequently can be used for statistical analysis or other analysis methods implemented in Fieldtrip. @@ -20,9 +20,12 @@ def loreta2fieldtrip(*args, **kwargs): See also EEGLAB2FIELDTRIP, SPM2FIELDTRIP, NUTMEG2FIELDTRIP, SPASS2FIELDTRIP - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/loreta2fieldtrip.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/loreta2fieldtrip.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("loreta2fieldtrip", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/nutmeg2fieldtrip.py b/spm/__external/__fieldtrip/nutmeg2fieldtrip.py index f2ebaacb..ad440df6 100644 --- a/spm/__external/__fieldtrip/nutmeg2fieldtrip.py +++ b/spm/__external/__fieldtrip/nutmeg2fieldtrip.py @@ -2,7 +2,7 @@ def nutmeg2fieldtrip(*args, **kwargs): - """ + r""" NUTMEG2FIELDTRIP converts from NUTMEG either a sensor data structure ('nuts') to a valid FieldTrip 'raw' structure (plus 'sourcemodel' and 'mri' if available), OR a source structure ('beam') to a valid FieldTrip @@ -33,9 +33,12 @@ def nutmeg2fieldtrip(*args, **kwargs): FIELDTRIP2SPSS - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/nutmeg2fieldtrip.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/nutmeg2fieldtrip.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("nutmeg2fieldtrip", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/spass2fieldtrip.py b/spm/__external/__fieldtrip/spass2fieldtrip.py index e7070239..78891ae3 100644 --- a/spm/__external/__fieldtrip/spass2fieldtrip.py +++ b/spm/__external/__fieldtrip/spass2fieldtrip.py @@ -2,7 +2,7 @@ def spass2fieldtrip(*args, **kwargs): - """ + r""" SPASS2FIELDTRIP reads data from a set of SPASS data files and converts the contents into data structures that FieldTrip understands. Note that dependent on the SPASS data it might be required to change some @@ -38,9 +38,12 @@ def spass2fieldtrip(*args, **kwargs): See also NUTMEG2FIELDTRIP, LORETA2FIELDTRIP, FIELDTRIP2SPSS - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/spass2fieldtrip.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/spass2fieldtrip.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spass2fieldtrip", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/spm2fieldtrip.py b/spm/__external/__fieldtrip/spm2fieldtrip.py index 00c9860e..0144bca0 100644 --- a/spm/__external/__fieldtrip/spm2fieldtrip.py +++ b/spm/__external/__fieldtrip/spm2fieldtrip.py @@ -2,7 +2,7 @@ def spm2fieldtrip(*args, **kwargs): - """ + r""" SPM2FIELDTRIP converts an SPM8 meeg object into a FieldTrip raw data structure Use as @@ -14,9 +14,12 @@ def spm2fieldtrip(*args, **kwargs): See also FT_PREPROCESSING, SPM_EEG_LOAD - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/spm2fieldtrip.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/spm2fieldtrip.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm2fieldtrip", *args, **kwargs) diff --git a/spm/__external/__fieldtrip/xdf2fieldtrip.py b/spm/__external/__fieldtrip/xdf2fieldtrip.py index cb3de135..50375b4c 100644 --- a/spm/__external/__fieldtrip/xdf2fieldtrip.py +++ b/spm/__external/__fieldtrip/xdf2fieldtrip.py @@ -2,7 +2,7 @@ def xdf2fieldtrip(*args, **kwargs): - """ + r""" XDF2FIELDTRIP reads continuously sampled data from a XDF file with multiple streams. It upsamples the data of all streams to the highest sampling rate and concatenates all channels in all streams into a raw data structure that is @@ -27,9 +27,12 @@ def xdf2fieldtrip(*args, **kwargs): See also FT_PREPROCESSING, FT_DEFINETRIAL, FT_REDEFINETRIAL - [Matlab code]( https://github.com/spm/spm/blob/main/external/fieldtrip/xdf2fieldtrip.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/fieldtrip/xdf2fieldtrip.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("xdf2fieldtrip", *args, **kwargs) diff --git a/spm/__external/__init__.py b/spm/__external/__init__.py index 833ed8eb..c9f71a15 100644 --- a/spm/__external/__init__.py +++ b/spm/__external/__init__.py @@ -1,5 +1,9 @@ from .__bemcp import ( - bemcp_example + mesh_icosahedron, + mesh_octahedron, + mesh_sphere, + mesh_tetrahedron, + refine ) from .__ctf import ( addCTFtrial, @@ -19,8 +23,6 @@ read_eep_avr, read_eep_cnt, read_eep_rej, - read_eep_trg, - read_eep_trial, write_eep_avr, write_eep_cnt ) @@ -42,19 +44,37 @@ ft_connectivity_wpli, data2bids, edf2fieldtrip, + eeg_loadbvrf, + loadbvrf, + CalcMD5, + DataHash, + arrow, + base64decode, + base64encode, + icp, + keep, + pan_tompkin, + stlwrite, + subtightplot, uimage, uimagesc, + vtkwrite, rgb2hsv, boxcar, + dpss, + precompute_dpss, flattopwin, hanning, hilbert, binocdf, binopdf, - common_size, + knnsearch, + kurtosis, mvnrnd, nanvar, + pdist2, range_, + skewness, tcdf, tinv, fieldtrip2besa, @@ -95,7 +115,6 @@ ft_write_sens, ft_write_spike, ft_write_tsv, - ft_apply_montage, ft_compute_leadfield, ft_convert_units, ft_determine_units, @@ -107,6 +126,7 @@ ft_headmodel_duneuro, ft_headmodel_fns, ft_headmodel_halfspace, + ft_headmodel_hbf, ft_headmodel_infinite, ft_headmodel_interpolate, ft_headmodel_localspheres, @@ -174,6 +194,7 @@ ft_electrodeplacement, ft_electroderealign, ft_electrodermalactivity, + ft_electrodeselection, ft_eventtiminganalysis, ft_examplefunction, ft_freqanalysis, @@ -224,6 +245,7 @@ ft_resampledata, ft_respiration, ft_scalpcurrentdensity, + ft_sensorplacement, ft_singleplotER, ft_singleplotTFR, ft_sliceinterp, @@ -279,6 +301,7 @@ loreta2fieldtrip, nutmeg2fieldtrip, ft_colormap, + ft_headlight, ft_plot_axes, ft_plot_box, ft_plot_cloud, @@ -338,8 +361,10 @@ ft_specest_tfr, ft_specest_wavelet, spm2fieldtrip, + combineClusters, det2x2, det3x3, + ft_getopt, getpid, inv2x2, inv3x3, @@ -350,6 +375,7 @@ mtimes3x3, mxDeserialize, mxSerialize, + nanvar, plgndr, plinproj, ptriproj, @@ -401,6 +427,7 @@ copyfields, dccnpath, ft_affinecoordinates, + ft_apply_montage, ft_average_sens, ft_cfg2keyval, ft_channelcombination, @@ -426,6 +453,7 @@ ft_datatype_timelock, ft_datatype_volume, ft_debug, + ft_deleteopt, ft_determine_coordsys, ft_documentationconfiguration, ft_documentationreference, @@ -439,6 +467,7 @@ ft_hastoolbox, ft_headcoordinates, ft_info, + ft_inverse_montage, ft_keyval2cfg, ft_notice, ft_platform_supports, @@ -643,7 +672,11 @@ __all__ = [ - "bemcp_example", + "mesh_icosahedron", + "mesh_octahedron", + "mesh_sphere", + "mesh_tetrahedron", + "refine", "addCTFtrial", "getCTFdata", "readCPersist", @@ -659,8 +692,6 @@ "read_eep_avr", "read_eep_cnt", "read_eep_rej", - "read_eep_trg", - "read_eep_trial", "write_eep_avr", "write_eep_cnt", "besa2fieldtrip", @@ -680,19 +711,37 @@ "ft_connectivity_wpli", "data2bids", "edf2fieldtrip", + "eeg_loadbvrf", + "loadbvrf", + "CalcMD5", + "DataHash", + "arrow", + "base64decode", + "base64encode", + "icp", + "keep", + "pan_tompkin", + "stlwrite", + "subtightplot", "uimage", "uimagesc", + "vtkwrite", "rgb2hsv", "boxcar", + "dpss", + "precompute_dpss", "flattopwin", "hanning", "hilbert", "binocdf", "binopdf", - "common_size", + "knnsearch", + "kurtosis", "mvnrnd", "nanvar", + "pdist2", "range_", + "skewness", "tcdf", "tinv", "fieldtrip2besa", @@ -733,7 +782,6 @@ "ft_write_sens", "ft_write_spike", "ft_write_tsv", - "ft_apply_montage", "ft_compute_leadfield", "ft_convert_units", "ft_determine_units", @@ -745,6 +793,7 @@ "ft_headmodel_duneuro", "ft_headmodel_fns", "ft_headmodel_halfspace", + "ft_headmodel_hbf", "ft_headmodel_infinite", "ft_headmodel_interpolate", "ft_headmodel_localspheres", @@ -812,6 +861,7 @@ "ft_electrodeplacement", "ft_electroderealign", "ft_electrodermalactivity", + "ft_electrodeselection", "ft_eventtiminganalysis", "ft_examplefunction", "ft_freqanalysis", @@ -862,6 +912,7 @@ "ft_resampledata", "ft_respiration", "ft_scalpcurrentdensity", + "ft_sensorplacement", "ft_singleplotER", "ft_singleplotTFR", "ft_sliceinterp", @@ -917,6 +968,7 @@ "loreta2fieldtrip", "nutmeg2fieldtrip", "ft_colormap", + "ft_headlight", "ft_plot_axes", "ft_plot_box", "ft_plot_cloud", @@ -976,8 +1028,10 @@ "ft_specest_tfr", "ft_specest_wavelet", "spm2fieldtrip", + "combineClusters", "det2x2", "det3x3", + "ft_getopt", "getpid", "inv2x2", "inv3x3", @@ -988,6 +1042,7 @@ "mtimes3x3", "mxDeserialize", "mxSerialize", + "nanvar", "plgndr", "plinproj", "ptriproj", @@ -1039,6 +1094,7 @@ "copyfields", "dccnpath", "ft_affinecoordinates", + "ft_apply_montage", "ft_average_sens", "ft_cfg2keyval", "ft_channelcombination", @@ -1064,6 +1120,7 @@ "ft_datatype_timelock", "ft_datatype_volume", "ft_debug", + "ft_deleteopt", "ft_determine_coordsys", "ft_documentationconfiguration", "ft_documentationreference", @@ -1077,6 +1134,7 @@ "ft_hastoolbox", "ft_headcoordinates", "ft_info", + "ft_inverse_montage", "ft_keyval2cfg", "ft_notice", "ft_platform_supports", diff --git a/spm/__external/__mne/fiff_copy_tree.py b/spm/__external/__mne/fiff_copy_tree.py index 3dacfa86..c00f8a02 100644 --- a/spm/__external/__mne/fiff_copy_tree.py +++ b/spm/__external/__mne/fiff_copy_tree.py @@ -2,16 +2,19 @@ def fiff_copy_tree(*args, **kwargs): - """ + r""" fiff_copy_tree(fidin, in_id, nodes, fidout) Copies directory subtrees from fidin to fidout - [Matlab code]( https://github.com/spm/spm/blob/main/external/mne/fiff_copy_tree.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/mne/fiff_copy_tree.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("fiff_copy_tree", *args, **kwargs, nargout=0) diff --git a/spm/__external/__mne/fiff_define_constants.py b/spm/__external/__mne/fiff_define_constants.py index facc20ff..8905be8d 100644 --- a/spm/__external/__mne/fiff_define_constants.py +++ b/spm/__external/__mne/fiff_define_constants.py @@ -2,7 +2,7 @@ def fiff_define_constants(*args, **kwargs): - """ + r""" Authors: Alexandre Gramfort Matti Hämäläinen @@ -10,9 +10,12 @@ def fiff_define_constants(*args, **kwargs): Copyright the MNE-Python contributors. - [Matlab code]( https://github.com/spm/spm/blob/main/external/mne/fiff_define_constants.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/mne/fiff_define_constants.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("fiff_define_constants", *args, **kwargs) diff --git a/spm/__external/__mne/fiff_dir_tree_find.py b/spm/__external/__mne/fiff_dir_tree_find.py index a850521c..9696f10b 100644 --- a/spm/__external/__mne/fiff_dir_tree_find.py +++ b/spm/__external/__mne/fiff_dir_tree_find.py @@ -2,16 +2,19 @@ def fiff_dir_tree_find(*args, **kwargs): - """ + r""" [nodes] = fiff_dir_tree_find(tree,kind) Find nodes of the given kind from a directory tree structure - [Matlab code]( https://github.com/spm/spm/blob/main/external/mne/fiff_dir_tree_find.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/mne/fiff_dir_tree_find.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("fiff_dir_tree_find", *args, **kwargs) diff --git a/spm/__external/__mne/fiff_end_block.py b/spm/__external/__mne/fiff_end_block.py index 6d6ce526..8107ff41 100644 --- a/spm/__external/__mne/fiff_end_block.py +++ b/spm/__external/__mne/fiff_end_block.py @@ -2,7 +2,7 @@ def fiff_end_block(*args, **kwargs): - """ + r""" fiff_end_block(fid, kind) @@ -12,9 +12,12 @@ def fiff_end_block(*args, **kwargs): kind The block kind to end - [Matlab code]( https://github.com/spm/spm/blob/main/external/mne/fiff_end_block.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/mne/fiff_end_block.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("fiff_end_block", *args, **kwargs, nargout=0) diff --git a/spm/__external/__mne/fiff_end_file.py b/spm/__external/__mne/fiff_end_file.py index c26a63ab..f050f886 100644 --- a/spm/__external/__mne/fiff_end_file.py +++ b/spm/__external/__mne/fiff_end_file.py @@ -2,7 +2,7 @@ def fiff_end_file(*args, **kwargs): - """ + r""" fiff_end_file(fid) @@ -11,9 +11,12 @@ def fiff_end_file(*args, **kwargs): fid An open fif file descriptor - [Matlab code]( https://github.com/spm/spm/blob/main/external/mne/fiff_end_file.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/mne/fiff_end_file.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("fiff_end_file", *args, **kwargs, nargout=0) diff --git a/spm/__external/__mne/fiff_find_evoked.py b/spm/__external/__mne/fiff_find_evoked.py index 5bbd6533..29e2d7c1 100644 --- a/spm/__external/__mne/fiff_find_evoked.py +++ b/spm/__external/__mne/fiff_find_evoked.py @@ -2,16 +2,19 @@ def fiff_find_evoked(*args, **kwargs): - """ + r""" [data_sets] = fiff_find_evoked(fname) Find all evoked data sets in a fif file and create a list of descriptors - [Matlab code]( https://github.com/spm/spm/blob/main/external/mne/fiff_find_evoked.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/mne/fiff_find_evoked.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("fiff_find_evoked", *args, **kwargs) diff --git a/spm/__external/__mne/fiff_finish_writing_raw.py b/spm/__external/__mne/fiff_finish_writing_raw.py index 00f46f48..d2b1768b 100644 --- a/spm/__external/__mne/fiff_finish_writing_raw.py +++ b/spm/__external/__mne/fiff_finish_writing_raw.py @@ -2,16 +2,19 @@ def fiff_finish_writing_raw(*args, **kwargs): - """ + r""" function fiff_finish_writing_raw(fid) fid of an open raw data file - [Matlab code]( https://github.com/spm/spm/blob/main/external/mne/fiff_finish_writing_raw.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/mne/fiff_finish_writing_raw.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("fiff_finish_writing_raw", *args, **kwargs, nargout=0) diff --git a/spm/__external/__mne/fiff_invert_transform.py b/spm/__external/__mne/fiff_invert_transform.py index d1269698..8a840c64 100644 --- a/spm/__external/__mne/fiff_invert_transform.py +++ b/spm/__external/__mne/fiff_invert_transform.py @@ -2,16 +2,19 @@ def fiff_invert_transform(*args, **kwargs): - """ + r""" [itrans] = fiff_invert_transform(trans) Invert a coordinate transformation - [Matlab code]( https://github.com/spm/spm/blob/main/external/mne/fiff_invert_transform.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/mne/fiff_invert_transform.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("fiff_invert_transform", *args, **kwargs) diff --git a/spm/__external/__mne/fiff_list_dir_tree.py b/spm/__external/__mne/fiff_list_dir_tree.py index 88996ea7..cc8b38a5 100644 --- a/spm/__external/__mne/fiff_list_dir_tree.py +++ b/spm/__external/__mne/fiff_list_dir_tree.py @@ -2,16 +2,19 @@ def fiff_list_dir_tree(*args, **kwargs): - """ + r""" fiff_list_dir_tree(fid, tree) List the fiff directory tree structure - [Matlab code]( https://github.com/spm/spm/blob/main/external/mne/fiff_list_dir_tree.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/mne/fiff_list_dir_tree.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("fiff_list_dir_tree", *args, **kwargs, nargout=0) diff --git a/spm/__external/__mne/fiff_make_ch_rename.py b/spm/__external/__mne/fiff_make_ch_rename.py index 1e22c51c..ea70dbd2 100644 --- a/spm/__external/__mne/fiff_make_ch_rename.py +++ b/spm/__external/__mne/fiff_make_ch_rename.py @@ -2,14 +2,17 @@ def fiff_make_ch_rename(*args, **kwargs): - """ + r""" fiff_make_ch_rename is a function. ch_rename = fiff_make_ch_rename(chs) - [Matlab code]( https://github.com/spm/spm/blob/main/external/mne/fiff_make_ch_rename.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/mne/fiff_make_ch_rename.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("fiff_make_ch_rename", *args, **kwargs) diff --git a/spm/__external/__mne/fiff_make_dir_tree.py b/spm/__external/__mne/fiff_make_dir_tree.py index 56e66b6f..172a9018 100644 --- a/spm/__external/__mne/fiff_make_dir_tree.py +++ b/spm/__external/__mne/fiff_make_dir_tree.py @@ -2,16 +2,19 @@ def fiff_make_dir_tree(*args, **kwargs): - """ + r""" [tree, last] = fiff_make_dir_tree(fid,dir,start,indent) Create the directory tree structure - [Matlab code]( https://github.com/spm/spm/blob/main/external/mne/fiff_make_dir_tree.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/mne/fiff_make_dir_tree.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("fiff_make_dir_tree", *args, **kwargs) diff --git a/spm/__external/__mne/fiff_open.py b/spm/__external/__mne/fiff_open.py index 752957e7..d9a1e33c 100644 --- a/spm/__external/__mne/fiff_open.py +++ b/spm/__external/__mne/fiff_open.py @@ -2,7 +2,7 @@ def fiff_open(*args, **kwargs): - """ + r""" [fid, tree, dir] = fiff_open(fname) @@ -13,9 +13,12 @@ def fiff_open(*args, **kwargs): dir the sequential tag directory - [Matlab code]( https://github.com/spm/spm/blob/main/external/mne/fiff_open.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/mne/fiff_open.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("fiff_open", *args, **kwargs) diff --git a/spm/__external/__mne/fiff_pick_channels.py b/spm/__external/__mne/fiff_pick_channels.py index 5dd8d7ee..93914b92 100644 --- a/spm/__external/__mne/fiff_pick_channels.py +++ b/spm/__external/__mne/fiff_pick_channels.py @@ -2,7 +2,7 @@ def fiff_pick_channels(*args, **kwargs): - """ + r""" [sel] = fiff_pick_channels(ch_names,include,exclude) @@ -13,9 +13,12 @@ def fiff_pick_channels(*args, **kwargs): exclude - Channels to exclude (if empty, do not exclude any) - [Matlab code]( https://github.com/spm/spm/blob/main/external/mne/fiff_pick_channels.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/mne/fiff_pick_channels.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("fiff_pick_channels", *args, **kwargs) diff --git a/spm/__external/__mne/fiff_pick_channels_evoked.py b/spm/__external/__mne/fiff_pick_channels_evoked.py index 89cc1a57..746343e2 100644 --- a/spm/__external/__mne/fiff_pick_channels_evoked.py +++ b/spm/__external/__mne/fiff_pick_channels_evoked.py @@ -2,7 +2,7 @@ def fiff_pick_channels_evoked(*args, **kwargs): - """ + r""" [res] = fiff_pick_channels_evoked(orig,include,exclude) @@ -13,9 +13,12 @@ def fiff_pick_channels_evoked(*args, **kwargs): exclude - Channels to exclude (if empty, do not exclude any) - [Matlab code]( https://github.com/spm/spm/blob/main/external/mne/fiff_pick_channels_evoked.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/mne/fiff_pick_channels_evoked.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("fiff_pick_channels_evoked", *args, **kwargs) diff --git a/spm/__external/__mne/fiff_pick_info.py b/spm/__external/__mne/fiff_pick_info.py index 071c5115..af172951 100644 --- a/spm/__external/__mne/fiff_pick_info.py +++ b/spm/__external/__mne/fiff_pick_info.py @@ -2,7 +2,7 @@ def fiff_pick_info(*args, **kwargs): - """ + r""" [res] = fiff_pick_info(info,sel) @@ -13,9 +13,12 @@ def fiff_pick_info(*args, **kwargs): sel - List of channels to select - [Matlab code]( https://github.com/spm/spm/blob/main/external/mne/fiff_pick_info.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/mne/fiff_pick_info.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("fiff_pick_info", *args, **kwargs) diff --git a/spm/__external/__mne/fiff_pick_types.py b/spm/__external/__mne/fiff_pick_types.py index 49db3ffd..62e6c18d 100644 --- a/spm/__external/__mne/fiff_pick_types.py +++ b/spm/__external/__mne/fiff_pick_types.py @@ -2,7 +2,7 @@ def fiff_pick_types(*args, **kwargs): - """ + r""" [sel] = fiff_pick_types(info,meg,eeg,stim,exclude) @@ -16,9 +16,12 @@ def fiff_pick_types(*args, **kwargs): exclude - Channels to exclude (if empty, do not exclude any) - [Matlab code]( https://github.com/spm/spm/blob/main/external/mne/fiff_pick_types.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/mne/fiff_pick_types.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("fiff_pick_types", *args, **kwargs) diff --git a/spm/__external/__mne/fiff_pick_types_evoked.py b/spm/__external/__mne/fiff_pick_types_evoked.py index da6d726d..35ab4afb 100644 --- a/spm/__external/__mne/fiff_pick_types_evoked.py +++ b/spm/__external/__mne/fiff_pick_types_evoked.py @@ -2,7 +2,7 @@ def fiff_pick_types_evoked(*args, **kwargs): - """ + r""" [res] = fiff_pick_types_evoked(orig,meg,eeg,stim,include,exclude) @@ -16,9 +16,12 @@ def fiff_pick_types_evoked(*args, **kwargs): exclude - Channels to exclude (if empty, do not exclude any) - [Matlab code]( https://github.com/spm/spm/blob/main/external/mne/fiff_pick_types_evoked.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/mne/fiff_pick_types_evoked.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("fiff_pick_types_evoked", *args, **kwargs) diff --git a/spm/__external/__mne/fiff_read_bad_channels.py b/spm/__external/__mne/fiff_read_bad_channels.py index 2cb7f690..44fb5144 100644 --- a/spm/__external/__mne/fiff_read_bad_channels.py +++ b/spm/__external/__mne/fiff_read_bad_channels.py @@ -2,7 +2,7 @@ def fiff_read_bad_channels(*args, **kwargs): - """ + r""" [bads] = fiff_read_bad_channels(fid,node[,ch_rename]) @@ -13,9 +13,12 @@ def fiff_read_bad_channels(*args, **kwargs): ch_rename - Short-to-long channel name mapping - [Matlab code]( https://github.com/spm/spm/blob/main/external/mne/fiff_read_bad_channels.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/mne/fiff_read_bad_channels.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("fiff_read_bad_channels", *args, **kwargs) diff --git a/spm/__external/__mne/fiff_read_coord_trans.py b/spm/__external/__mne/fiff_read_coord_trans.py index b9fc0eb5..cf68c90d 100644 --- a/spm/__external/__mne/fiff_read_coord_trans.py +++ b/spm/__external/__mne/fiff_read_coord_trans.py @@ -2,7 +2,7 @@ def fiff_read_coord_trans(*args, **kwargs): - """ + r""" usage: [trans_head2mri] = fiff_read_coord_trans(transfile) @@ -21,9 +21,12 @@ def fiff_read_coord_trans(*args, **kwargs): author: Rey Ramirez email: rrramir@uw.edu - [Matlab code]( https://github.com/spm/spm/blob/main/external/mne/fiff_read_coord_trans.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/mne/fiff_read_coord_trans.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("fiff_read_coord_trans", *args, **kwargs) diff --git a/spm/__external/__mne/fiff_read_ctf_comp.py b/spm/__external/__mne/fiff_read_ctf_comp.py index daacbd9c..9b4e396b 100644 --- a/spm/__external/__mne/fiff_read_ctf_comp.py +++ b/spm/__external/__mne/fiff_read_ctf_comp.py @@ -2,16 +2,19 @@ def fiff_read_ctf_comp(*args, **kwargs): - """ + r""" [ compdata ] = fiff_read_ctf_comp(fid,node,chs,ch_rename) Read the CTF software compensation data from the given node - [Matlab code]( https://github.com/spm/spm/blob/main/external/mne/fiff_read_ctf_comp.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/mne/fiff_read_ctf_comp.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("fiff_read_ctf_comp", *args, **kwargs) diff --git a/spm/__external/__mne/fiff_read_epochs.py b/spm/__external/__mne/fiff_read_epochs.py index 2f6fc8d8..d082985f 100644 --- a/spm/__external/__mne/fiff_read_epochs.py +++ b/spm/__external/__mne/fiff_read_epochs.py @@ -2,7 +2,7 @@ def fiff_read_epochs(*args, **kwargs): - """ + r""" [epochs] = fiff_read_epochs(fname,setno) @@ -13,9 +13,12 @@ def fiff_read_epochs(*args, **kwargs): License : BSD 3-clause - [Matlab code]( https://github.com/spm/spm/blob/main/external/mne/fiff_read_epochs.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/mne/fiff_read_epochs.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("fiff_read_epochs", *args, **kwargs) diff --git a/spm/__external/__mne/fiff_read_events.py b/spm/__external/__mne/fiff_read_events.py index bcab2a7a..54d24e92 100644 --- a/spm/__external/__mne/fiff_read_events.py +++ b/spm/__external/__mne/fiff_read_events.py @@ -2,7 +2,7 @@ def fiff_read_events(*args, **kwargs): - """ + r""" [events, mappings] = fiff_read_events(source, tree) @@ -17,9 +17,12 @@ def fiff_read_events(*args, **kwargs): License : BSD 3-clause - [Matlab code]( https://github.com/spm/spm/blob/main/external/mne/fiff_read_events.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/mne/fiff_read_events.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("fiff_read_events", *args, **kwargs) diff --git a/spm/__external/__mne/fiff_read_evoked.py b/spm/__external/__mne/fiff_read_evoked.py index 8d1e3ec8..522cece3 100644 --- a/spm/__external/__mne/fiff_read_evoked.py +++ b/spm/__external/__mne/fiff_read_evoked.py @@ -2,16 +2,19 @@ def fiff_read_evoked(*args, **kwargs): - """ + r""" [data] = fiff_read_evoked(fname,setno) Read one evoked data set - [Matlab code]( https://github.com/spm/spm/blob/main/external/mne/fiff_read_evoked.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/mne/fiff_read_evoked.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("fiff_read_evoked", *args, **kwargs) diff --git a/spm/__external/__mne/fiff_read_evoked_all.py b/spm/__external/__mne/fiff_read_evoked_all.py index cb302389..59558a6e 100644 --- a/spm/__external/__mne/fiff_read_evoked_all.py +++ b/spm/__external/__mne/fiff_read_evoked_all.py @@ -2,16 +2,19 @@ def fiff_read_evoked_all(*args, **kwargs): - """ + r""" [data] = fiff_read_evoked_all(fname) Read all evoked data set (averages only) - [Matlab code]( https://github.com/spm/spm/blob/main/external/mne/fiff_read_evoked_all.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/mne/fiff_read_evoked_all.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("fiff_read_evoked_all", *args, **kwargs) diff --git a/spm/__external/__mne/fiff_read_extended_ch_info.py b/spm/__external/__mne/fiff_read_extended_ch_info.py index c31a220f..1f3d67f3 100644 --- a/spm/__external/__mne/fiff_read_extended_ch_info.py +++ b/spm/__external/__mne/fiff_read_extended_ch_info.py @@ -2,14 +2,17 @@ def fiff_read_extended_ch_info(*args, **kwargs): - """ + r""" fiff_read_extended_ch_info is a function. [chs, ch_rename] = fiff_read_extended_ch_info(chs, meas_info, fid) - [Matlab code]( https://github.com/spm/spm/blob/main/external/mne/fiff_read_extended_ch_info.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/mne/fiff_read_extended_ch_info.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("fiff_read_extended_ch_info", *args, **kwargs) diff --git a/spm/__external/__mne/fiff_read_hpi_result.py b/spm/__external/__mne/fiff_read_hpi_result.py index e84047b8..60ef2b94 100644 --- a/spm/__external/__mne/fiff_read_hpi_result.py +++ b/spm/__external/__mne/fiff_read_hpi_result.py @@ -2,16 +2,19 @@ def fiff_read_hpi_result(*args, **kwargs): - """ + r""" [ res ] = fiff_read_hpi_result(name) Read the HPI result block from a measurement file - [Matlab code]( https://github.com/spm/spm/blob/main/external/mne/fiff_read_hpi_result.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/mne/fiff_read_hpi_result.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("fiff_read_hpi_result", *args, **kwargs) diff --git a/spm/__external/__mne/fiff_read_meas_info.py b/spm/__external/__mne/fiff_read_meas_info.py index 1c490162..06d3d871 100644 --- a/spm/__external/__mne/fiff_read_meas_info.py +++ b/spm/__external/__mne/fiff_read_meas_info.py @@ -2,7 +2,7 @@ def fiff_read_meas_info(*args, **kwargs): - """ + r""" [info,meas] = fiff_read_meas_info(source,tree) @@ -13,9 +13,12 @@ def fiff_read_meas_info(*args, **kwargs): meas output argument should not be specified. - [Matlab code]( https://github.com/spm/spm/blob/main/external/mne/fiff_read_meas_info.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/mne/fiff_read_meas_info.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("fiff_read_meas_info", *args, **kwargs) diff --git a/spm/__external/__mne/fiff_read_mri.py b/spm/__external/__mne/fiff_read_mri.py index 2dfc1f4b..01f31c6a 100644 --- a/spm/__external/__mne/fiff_read_mri.py +++ b/spm/__external/__mne/fiff_read_mri.py @@ -2,7 +2,7 @@ def fiff_read_mri(*args, **kwargs): - """ + r""" [stack] = fiff_read_mri(fname,read_data) @@ -12,9 +12,12 @@ def fiff_read_mri(*args, **kwargs): Read a fif format MRI description file - [Matlab code]( https://github.com/spm/spm/blob/main/external/mne/fiff_read_mri.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/mne/fiff_read_mri.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("fiff_read_mri", *args, **kwargs) diff --git a/spm/__external/__mne/fiff_read_named_matrix.py b/spm/__external/__mne/fiff_read_named_matrix.py index cc0ac6cb..32858a99 100644 --- a/spm/__external/__mne/fiff_read_named_matrix.py +++ b/spm/__external/__mne/fiff_read_named_matrix.py @@ -2,16 +2,19 @@ def fiff_read_named_matrix(*args, **kwargs): - """ + r""" [mat] = fiff_read_named_matrix(fid,node) Read named matrix from the given node - [Matlab code]( https://github.com/spm/spm/blob/main/external/mne/fiff_read_named_matrix.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/mne/fiff_read_named_matrix.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("fiff_read_named_matrix", *args, **kwargs) diff --git a/spm/__external/__mne/fiff_read_proj.py b/spm/__external/__mne/fiff_read_proj.py index 80d3b395..b3f6196b 100644 --- a/spm/__external/__mne/fiff_read_proj.py +++ b/spm/__external/__mne/fiff_read_proj.py @@ -2,16 +2,19 @@ def fiff_read_proj(*args, **kwargs): - """ + r""" [ projdata ] = fiff_read_proj(fid,node,ch_rename) Read the SSP data under a given directory node - [Matlab code]( https://github.com/spm/spm/blob/main/external/mne/fiff_read_proj.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/mne/fiff_read_proj.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("fiff_read_proj", *args, **kwargs) diff --git a/spm/__external/__mne/fiff_read_raw_segment.py b/spm/__external/__mne/fiff_read_raw_segment.py index b5b16041..c791b658 100644 --- a/spm/__external/__mne/fiff_read_raw_segment.py +++ b/spm/__external/__mne/fiff_read_raw_segment.py @@ -2,7 +2,7 @@ def fiff_read_raw_segment(*args, **kwargs): - """ + r""" [data,times] = fiff_read_raw_segment(raw,from,to,sel) @@ -19,9 +19,12 @@ def fiff_read_raw_segment(*args, **kwargs): times - returns the time values corresponding to the samples (optional) - [Matlab code]( https://github.com/spm/spm/blob/main/external/mne/fiff_read_raw_segment.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/mne/fiff_read_raw_segment.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("fiff_read_raw_segment", *args, **kwargs) diff --git a/spm/__external/__mne/fiff_read_raw_segment_times.py b/spm/__external/__mne/fiff_read_raw_segment_times.py index c1c9461f..5cb4aee2 100644 --- a/spm/__external/__mne/fiff_read_raw_segment_times.py +++ b/spm/__external/__mne/fiff_read_raw_segment_times.py @@ -2,7 +2,7 @@ def fiff_read_raw_segment_times(*args, **kwargs): - """ + r""" [data,times] = fiff_read_raw_segment_times(raw,from,to) @@ -17,9 +17,12 @@ def fiff_read_raw_segment_times(*args, **kwargs): times - returns the time values corresponding to the samples (optional) - [Matlab code]( https://github.com/spm/spm/blob/main/external/mne/fiff_read_raw_segment_times.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/mne/fiff_read_raw_segment_times.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("fiff_read_raw_segment_times", *args, **kwargs) diff --git a/spm/__external/__mne/fiff_read_tag.py b/spm/__external/__mne/fiff_read_tag.py index a6f7f7a0..bc70b7cc 100644 --- a/spm/__external/__mne/fiff_read_tag.py +++ b/spm/__external/__mne/fiff_read_tag.py @@ -2,7 +2,7 @@ def fiff_read_tag(*args, **kwargs): - """ + r""" [tag] = fiff_read_tag(fid,pos) @@ -10,9 +10,12 @@ def fiff_read_tag(*args, **kwargs): if pos is not provided, reading starts from the current file position - [Matlab code]( https://github.com/spm/spm/blob/main/external/mne/fiff_read_tag.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/mne/fiff_read_tag.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("fiff_read_tag", *args, **kwargs) diff --git a/spm/__external/__mne/fiff_read_tag_info.py b/spm/__external/__mne/fiff_read_tag_info.py index a51822e7..34e4269a 100644 --- a/spm/__external/__mne/fiff_read_tag_info.py +++ b/spm/__external/__mne/fiff_read_tag_info.py @@ -2,16 +2,19 @@ def fiff_read_tag_info(*args, **kwargs): - """ + r""" [fid,dir] = fiff_open(fname) Open a fif file and provide the directory of tags - [Matlab code]( https://github.com/spm/spm/blob/main/external/mne/fiff_read_tag_info.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/mne/fiff_read_tag_info.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("fiff_read_tag_info", *args, **kwargs) diff --git a/spm/__external/__mne/fiff_rename_comp.py b/spm/__external/__mne/fiff_rename_comp.py index 37be5c8f..126f19f3 100644 --- a/spm/__external/__mne/fiff_rename_comp.py +++ b/spm/__external/__mne/fiff_rename_comp.py @@ -2,14 +2,17 @@ def fiff_rename_comp(*args, **kwargs): - """ + r""" fiff_rename_comp is a function. comp = fiff_rename_comp(comp, ch_rename) - [Matlab code]( https://github.com/spm/spm/blob/main/external/mne/fiff_rename_comp.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/mne/fiff_rename_comp.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("fiff_rename_comp", *args, **kwargs) diff --git a/spm/__external/__mne/fiff_rename_list.py b/spm/__external/__mne/fiff_rename_list.py index d3d5e230..1fae1988 100644 --- a/spm/__external/__mne/fiff_rename_list.py +++ b/spm/__external/__mne/fiff_rename_list.py @@ -2,14 +2,17 @@ def fiff_rename_list(*args, **kwargs): - """ + r""" fiff_rename_list is a function. lst = fiff_rename_list(lst, ch_rename) - [Matlab code]( https://github.com/spm/spm/blob/main/external/mne/fiff_rename_list.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/mne/fiff_rename_list.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("fiff_rename_list", *args, **kwargs) diff --git a/spm/__external/__mne/fiff_reset_ch_pos.py b/spm/__external/__mne/fiff_reset_ch_pos.py index 870704d0..a38b0c51 100644 --- a/spm/__external/__mne/fiff_reset_ch_pos.py +++ b/spm/__external/__mne/fiff_reset_ch_pos.py @@ -2,7 +2,7 @@ def fiff_reset_ch_pos(*args, **kwargs): - """ + r""" [res] = fiff_reset_ch_pos(chs) @@ -13,9 +13,12 @@ def fiff_reset_ch_pos(*args, **kwargs): loc which remains to reflect the original data read from the fif file - [Matlab code]( https://github.com/spm/spm/blob/main/external/mne/fiff_reset_ch_pos.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/mne/fiff_reset_ch_pos.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("fiff_reset_ch_pos", *args, **kwargs) diff --git a/spm/__external/__mne/fiff_setup_read_raw.py b/spm/__external/__mne/fiff_setup_read_raw.py index 663bdfc5..2fcb2297 100644 --- a/spm/__external/__mne/fiff_setup_read_raw.py +++ b/spm/__external/__mne/fiff_setup_read_raw.py @@ -2,7 +2,7 @@ def fiff_setup_read_raw(*args, **kwargs): - """ + r""" [data] = fiff_setup_read_raw(fname,allow_maxshield) @@ -12,9 +12,12 @@ def fiff_setup_read_raw(*args, **kwargs): allow_maxshield Accept unprocessed MaxShield data - [Matlab code]( https://github.com/spm/spm/blob/main/external/mne/fiff_setup_read_raw.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/mne/fiff_setup_read_raw.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("fiff_setup_read_raw", *args, **kwargs) diff --git a/spm/__external/__mne/fiff_split_name_list.py b/spm/__external/__mne/fiff_split_name_list.py index 39ba063e..467b566f 100644 --- a/spm/__external/__mne/fiff_split_name_list.py +++ b/spm/__external/__mne/fiff_split_name_list.py @@ -2,7 +2,7 @@ def fiff_split_name_list(*args, **kwargs): - """ + r""" [names] = fiff_split_name_list(list) @@ -11,9 +11,12 @@ def fiff_split_name_list(*args, **kwargs): containing the strings - [Matlab code]( https://github.com/spm/spm/blob/main/external/mne/fiff_split_name_list.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/mne/fiff_split_name_list.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("fiff_split_name_list", *args, **kwargs) diff --git a/spm/__external/__mne/fiff_start_block.py b/spm/__external/__mne/fiff_start_block.py index 0912b097..e4a1b9e0 100644 --- a/spm/__external/__mne/fiff_start_block.py +++ b/spm/__external/__mne/fiff_start_block.py @@ -2,7 +2,7 @@ def fiff_start_block(*args, **kwargs): - """ + r""" fiff_start_block(fid,kind) @@ -12,9 +12,12 @@ def fiff_start_block(*args, **kwargs): kind The block kind to start - [Matlab code]( https://github.com/spm/spm/blob/main/external/mne/fiff_start_block.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/mne/fiff_start_block.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("fiff_start_block", *args, **kwargs, nargout=0) diff --git a/spm/__external/__mne/fiff_start_file.py b/spm/__external/__mne/fiff_start_file.py index 6e891782..eec2f010 100644 --- a/spm/__external/__mne/fiff_start_file.py +++ b/spm/__external/__mne/fiff_start_file.py @@ -2,7 +2,7 @@ def fiff_start_file(*args, **kwargs): - """ + r""" [fid] = fiff_start_file(name) @@ -12,9 +12,12 @@ def fiff_start_file(*args, **kwargs): that the name ends with .fif - [Matlab code]( https://github.com/spm/spm/blob/main/external/mne/fiff_start_file.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/mne/fiff_start_file.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("fiff_start_file", *args, **kwargs) diff --git a/spm/__external/__mne/fiff_start_writing_raw.py b/spm/__external/__mne/fiff_start_writing_raw.py index 8eb60e45..18251d4e 100644 --- a/spm/__external/__mne/fiff_start_writing_raw.py +++ b/spm/__external/__mne/fiff_start_writing_raw.py @@ -2,7 +2,7 @@ def fiff_start_writing_raw(*args, **kwargs): - """ + r""" function [fid,cals] = fiff_start_writing_raw(name,info,sel) @@ -13,9 +13,12 @@ def fiff_start_writing_raw(*args, **kwargs): (optional). Default 'single', can also be 'double' - [Matlab code]( https://github.com/spm/spm/blob/main/external/mne/fiff_start_writing_raw.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/mne/fiff_start_writing_raw.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("fiff_start_writing_raw", *args, **kwargs) diff --git a/spm/__external/__mne/fiff_transform_eeg_chs.py b/spm/__external/__mne/fiff_transform_eeg_chs.py index 3234bb4d..0beb2b9c 100644 --- a/spm/__external/__mne/fiff_transform_eeg_chs.py +++ b/spm/__external/__mne/fiff_transform_eeg_chs.py @@ -2,7 +2,7 @@ def fiff_transform_eeg_chs(*args, **kwargs): - """ + r""" [res, count] = fiff_transform_eeg_chs(chs,trans) @@ -13,9 +13,12 @@ def fiff_transform_eeg_chs(*args, **kwargs): loc which remains to reflect the original data read from the fif file - [Matlab code]( https://github.com/spm/spm/blob/main/external/mne/fiff_transform_eeg_chs.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/mne/fiff_transform_eeg_chs.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("fiff_transform_eeg_chs", *args, **kwargs) diff --git a/spm/__external/__mne/fiff_transform_meg_chs.py b/spm/__external/__mne/fiff_transform_meg_chs.py index 3adeb158..006fc833 100644 --- a/spm/__external/__mne/fiff_transform_meg_chs.py +++ b/spm/__external/__mne/fiff_transform_meg_chs.py @@ -2,7 +2,7 @@ def fiff_transform_meg_chs(*args, **kwargs): - """ + r""" [res, count] = fiff_transform_meg_chs(chs,trans) @@ -13,9 +13,12 @@ def fiff_transform_meg_chs(*args, **kwargs): loc which remains to reflect the original data read from the fif file - [Matlab code]( https://github.com/spm/spm/blob/main/external/mne/fiff_transform_meg_chs.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/mne/fiff_transform_meg_chs.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("fiff_transform_meg_chs", *args, **kwargs) diff --git a/spm/__external/__mne/fiff_write_ch_info.py b/spm/__external/__mne/fiff_write_ch_info.py index 583e1734..3bb0e02d 100644 --- a/spm/__external/__mne/fiff_write_ch_info.py +++ b/spm/__external/__mne/fiff_write_ch_info.py @@ -2,7 +2,7 @@ def fiff_write_ch_info(*args, **kwargs): - """ + r""" fiff_write_ch_info(fid,ch) @@ -15,9 +15,12 @@ def fiff_write_ch_info(*args, **kwargs): of the MNE manual - [Matlab code]( https://github.com/spm/spm/blob/main/external/mne/fiff_write_ch_info.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/mne/fiff_write_ch_info.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("fiff_write_ch_info", *args, **kwargs, nargout=0) diff --git a/spm/__external/__mne/fiff_write_ch_infos.py b/spm/__external/__mne/fiff_write_ch_infos.py index 52873f63..9d591076 100644 --- a/spm/__external/__mne/fiff_write_ch_infos.py +++ b/spm/__external/__mne/fiff_write_ch_infos.py @@ -2,14 +2,17 @@ def fiff_write_ch_infos(*args, **kwargs): - """ + r""" fiff_write_ch_infos is a function. cals = fiff_write_ch_infos(fid, chs, reset_range, ch_rename) - [Matlab code]( https://github.com/spm/spm/blob/main/external/mne/fiff_write_ch_infos.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/mne/fiff_write_ch_infos.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("fiff_write_ch_infos", *args, **kwargs) diff --git a/spm/__external/__mne/fiff_write_complex.py b/spm/__external/__mne/fiff_write_complex.py index 2ed06574..cdc57bf4 100644 --- a/spm/__external/__mne/fiff_write_complex.py +++ b/spm/__external/__mne/fiff_write_complex.py @@ -2,7 +2,7 @@ def fiff_write_complex(*args, **kwargs): - """ + r""" fiff_write_complex(fid,kind,data) @@ -13,9 +13,12 @@ def fiff_write_complex(*args, **kwargs): data The data - [Matlab code]( https://github.com/spm/spm/blob/main/external/mne/fiff_write_complex.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/mne/fiff_write_complex.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("fiff_write_complex", *args, **kwargs, nargout=0) diff --git a/spm/__external/__mne/fiff_write_complex_matrix.py b/spm/__external/__mne/fiff_write_complex_matrix.py index d6113024..959fae2b 100644 --- a/spm/__external/__mne/fiff_write_complex_matrix.py +++ b/spm/__external/__mne/fiff_write_complex_matrix.py @@ -2,7 +2,7 @@ def fiff_write_complex_matrix(*args, **kwargs): - """ + r""" fiff_write_complex_matrix(fid,kind,mat) @@ -13,9 +13,12 @@ def fiff_write_complex_matrix(*args, **kwargs): mat The data matrix - [Matlab code]( https://github.com/spm/spm/blob/main/external/mne/fiff_write_complex_matrix.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/mne/fiff_write_complex_matrix.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("fiff_write_complex_matrix", *args, **kwargs, nargout=0) diff --git a/spm/__external/__mne/fiff_write_coord_trans.py b/spm/__external/__mne/fiff_write_coord_trans.py index 99a147e3..71b44e8a 100644 --- a/spm/__external/__mne/fiff_write_coord_trans.py +++ b/spm/__external/__mne/fiff_write_coord_trans.py @@ -2,7 +2,7 @@ def fiff_write_coord_trans(*args, **kwargs): - """ + r""" fiff_write_coord_trans(fid,trans) @@ -12,9 +12,12 @@ def fiff_write_coord_trans(*args, **kwargs): trans The coordinate transfomation structure - [Matlab code]( https://github.com/spm/spm/blob/main/external/mne/fiff_write_coord_trans.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/mne/fiff_write_coord_trans.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("fiff_write_coord_trans", *args, **kwargs, nargout=0) diff --git a/spm/__external/__mne/fiff_write_ctf_comp.py b/spm/__external/__mne/fiff_write_ctf_comp.py index 7c05da16..eadd0104 100644 --- a/spm/__external/__mne/fiff_write_ctf_comp.py +++ b/spm/__external/__mne/fiff_write_ctf_comp.py @@ -2,7 +2,7 @@ def fiff_write_ctf_comp(*args, **kwargs): - """ + r""" fiff_write_ctf_comp(fid,comps,ch_rename) @@ -13,9 +13,12 @@ def fiff_write_ctf_comp(*args, **kwargs): ch_rename Short-to-long channel name mapping - [Matlab code]( https://github.com/spm/spm/blob/main/external/mne/fiff_write_ctf_comp.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/mne/fiff_write_ctf_comp.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("fiff_write_ctf_comp", *args, **kwargs, nargout=0) diff --git a/spm/__external/__mne/fiff_write_dau16.py b/spm/__external/__mne/fiff_write_dau16.py index 1e21a236..e0e85439 100644 --- a/spm/__external/__mne/fiff_write_dau16.py +++ b/spm/__external/__mne/fiff_write_dau16.py @@ -2,7 +2,7 @@ def fiff_write_dau16(*args, **kwargs): - """ + r""" fiff_write_dau16(fid, kind, data) @@ -13,9 +13,12 @@ def fiff_write_dau16(*args, **kwargs): data The integers to use as data - [Matlab code]( https://github.com/spm/spm/blob/main/external/mne/fiff_write_dau16.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/mne/fiff_write_dau16.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("fiff_write_dau16", *args, **kwargs, nargout=0) diff --git a/spm/__external/__mne/fiff_write_dig_file.py b/spm/__external/__mne/fiff_write_dig_file.py index f0a693af..4a366978 100644 --- a/spm/__external/__mne/fiff_write_dig_file.py +++ b/spm/__external/__mne/fiff_write_dig_file.py @@ -2,7 +2,7 @@ def fiff_write_dig_file(*args, **kwargs): - """ + r""" function fiff_write_dig_file(filename,lpa,nas,rpa,hpi,eeg,eegref,extra) @@ -22,9 +22,12 @@ def fiff_write_dig_file(*args, **kwargs): extra Additional head surface points (optional) - [Matlab code]( https://github.com/spm/spm/blob/main/external/mne/fiff_write_dig_file.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/mne/fiff_write_dig_file.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("fiff_write_dig_file", *args, **kwargs, nargout=0) diff --git a/spm/__external/__mne/fiff_write_dig_point.py b/spm/__external/__mne/fiff_write_dig_point.py index 8f91da2a..1bb08b05 100644 --- a/spm/__external/__mne/fiff_write_dig_point.py +++ b/spm/__external/__mne/fiff_write_dig_point.py @@ -2,7 +2,7 @@ def fiff_write_dig_point(*args, **kwargs): - """ + r""" fiff_write_dig_point(fid,dig) @@ -12,9 +12,12 @@ def fiff_write_dig_point(*args, **kwargs): dig The point to write - [Matlab code]( https://github.com/spm/spm/blob/main/external/mne/fiff_write_dig_point.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/mne/fiff_write_dig_point.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("fiff_write_dig_point", *args, **kwargs, nargout=0) diff --git a/spm/__external/__mne/fiff_write_double.py b/spm/__external/__mne/fiff_write_double.py index a509ec9d..413a9357 100644 --- a/spm/__external/__mne/fiff_write_double.py +++ b/spm/__external/__mne/fiff_write_double.py @@ -2,7 +2,7 @@ def fiff_write_double(*args, **kwargs): - """ + r""" fiff_write_int(fid,kind,data) @@ -13,9 +13,12 @@ def fiff_write_double(*args, **kwargs): data The data - [Matlab code]( https://github.com/spm/spm/blob/main/external/mne/fiff_write_double.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/mne/fiff_write_double.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("fiff_write_double", *args, **kwargs, nargout=0) diff --git a/spm/__external/__mne/fiff_write_double_complex.py b/spm/__external/__mne/fiff_write_double_complex.py index 8ff68fbe..ced7cd8d 100644 --- a/spm/__external/__mne/fiff_write_double_complex.py +++ b/spm/__external/__mne/fiff_write_double_complex.py @@ -2,7 +2,7 @@ def fiff_write_double_complex(*args, **kwargs): - """ + r""" fiff_write_double_complex(fid,kind,data) @@ -13,9 +13,12 @@ def fiff_write_double_complex(*args, **kwargs): data The data - [Matlab code]( https://github.com/spm/spm/blob/main/external/mne/fiff_write_double_complex.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/mne/fiff_write_double_complex.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("fiff_write_double_complex", *args, **kwargs, nargout=0) diff --git a/spm/__external/__mne/fiff_write_double_complex_matrix.py b/spm/__external/__mne/fiff_write_double_complex_matrix.py index bb31aa39..8b42b3b8 100644 --- a/spm/__external/__mne/fiff_write_double_complex_matrix.py +++ b/spm/__external/__mne/fiff_write_double_complex_matrix.py @@ -2,7 +2,7 @@ def fiff_write_double_complex_matrix(*args, **kwargs): - """ + r""" fiff_write_double_complex_matrix(fid,kind,mat) @@ -13,9 +13,12 @@ def fiff_write_double_complex_matrix(*args, **kwargs): mat The data matrix - [Matlab code]( https://github.com/spm/spm/blob/main/external/mne/fiff_write_double_complex_matrix.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/mne/fiff_write_double_complex_matrix.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("fiff_write_double_complex_matrix", *args, **kwargs, nargout=0) diff --git a/spm/__external/__mne/fiff_write_double_matrix.py b/spm/__external/__mne/fiff_write_double_matrix.py index 418af61d..57b98076 100644 --- a/spm/__external/__mne/fiff_write_double_matrix.py +++ b/spm/__external/__mne/fiff_write_double_matrix.py @@ -2,7 +2,7 @@ def fiff_write_double_matrix(*args, **kwargs): - """ + r""" fiff_write_double_matrix(fid,kind,mat) @@ -13,9 +13,12 @@ def fiff_write_double_matrix(*args, **kwargs): mat The data matrix - [Matlab code]( https://github.com/spm/spm/blob/main/external/mne/fiff_write_double_matrix.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/mne/fiff_write_double_matrix.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("fiff_write_double_matrix", *args, **kwargs, nargout=0) diff --git a/spm/__external/__mne/fiff_write_epochs.py b/spm/__external/__mne/fiff_write_epochs.py index b3187dd7..d5b0b381 100644 --- a/spm/__external/__mne/fiff_write_epochs.py +++ b/spm/__external/__mne/fiff_write_epochs.py @@ -2,7 +2,7 @@ def fiff_write_epochs(*args, **kwargs): - """ + r""" function fiff_write_epochs(name,data) @@ -10,9 +10,12 @@ def fiff_write_epochs(*args, **kwargs): data the data structure returned from fiff_write_evoked - [Matlab code]( https://github.com/spm/spm/blob/main/external/mne/fiff_write_epochs.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/mne/fiff_write_epochs.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("fiff_write_epochs", *args, **kwargs, nargout=0) diff --git a/spm/__external/__mne/fiff_write_events.py b/spm/__external/__mne/fiff_write_events.py index b9c17ca5..8c98934d 100644 --- a/spm/__external/__mne/fiff_write_events.py +++ b/spm/__external/__mne/fiff_write_events.py @@ -2,7 +2,7 @@ def fiff_write_events(*args, **kwargs): - """ + r""" fiff_write_events(filename,eventlist,mappings) @@ -14,9 +14,12 @@ def fiff_write_events(*args, **kwargs): an open (for writing) fif-file. - [Matlab code]( https://github.com/spm/spm/blob/main/external/mne/fiff_write_events.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/mne/fiff_write_events.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("fiff_write_events", *args, **kwargs, nargout=0) diff --git a/spm/__external/__mne/fiff_write_evoked.py b/spm/__external/__mne/fiff_write_evoked.py index 82c97e8c..91caa75a 100644 --- a/spm/__external/__mne/fiff_write_evoked.py +++ b/spm/__external/__mne/fiff_write_evoked.py @@ -2,7 +2,7 @@ def fiff_write_evoked(*args, **kwargs): - """ + r""" function fiff_write_evoked(name,data,datatype) @@ -10,9 +10,12 @@ def fiff_write_evoked(*args, **kwargs): data the data structure returned from fiff_read_evoked - [Matlab code]( https://github.com/spm/spm/blob/main/external/mne/fiff_write_evoked.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/mne/fiff_write_evoked.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("fiff_write_evoked", *args, **kwargs, nargout=0) diff --git a/spm/__external/__mne/fiff_write_float.py b/spm/__external/__mne/fiff_write_float.py index 2b213e50..1842d8b5 100644 --- a/spm/__external/__mne/fiff_write_float.py +++ b/spm/__external/__mne/fiff_write_float.py @@ -2,7 +2,7 @@ def fiff_write_float(*args, **kwargs): - """ + r""" fiff_write_float(fid,kind,data) @@ -13,9 +13,12 @@ def fiff_write_float(*args, **kwargs): data The data - [Matlab code]( https://github.com/spm/spm/blob/main/external/mne/fiff_write_float.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/mne/fiff_write_float.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("fiff_write_float", *args, **kwargs, nargout=0) diff --git a/spm/__external/__mne/fiff_write_float_matrix.py b/spm/__external/__mne/fiff_write_float_matrix.py index 0a30390f..6bc23ee1 100644 --- a/spm/__external/__mne/fiff_write_float_matrix.py +++ b/spm/__external/__mne/fiff_write_float_matrix.py @@ -2,7 +2,7 @@ def fiff_write_float_matrix(*args, **kwargs): - """ + r""" fiff_write_float_matrix(fid,kind,mat) @@ -13,9 +13,12 @@ def fiff_write_float_matrix(*args, **kwargs): mat The data matrix - [Matlab code]( https://github.com/spm/spm/blob/main/external/mne/fiff_write_float_matrix.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/mne/fiff_write_float_matrix.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("fiff_write_float_matrix", *args, **kwargs, nargout=0) diff --git a/spm/__external/__mne/fiff_write_float_sparse_ccs.py b/spm/__external/__mne/fiff_write_float_sparse_ccs.py index 11de2a4d..47f5c5bc 100644 --- a/spm/__external/__mne/fiff_write_float_sparse_ccs.py +++ b/spm/__external/__mne/fiff_write_float_sparse_ccs.py @@ -2,7 +2,7 @@ def fiff_write_float_sparse_ccs(*args, **kwargs): - """ + r""" fiff_write_float_sparsce_ccs(fid,kind,mat) @@ -13,9 +13,12 @@ def fiff_write_float_sparse_ccs(*args, **kwargs): mat The data matrix - [Matlab code]( https://github.com/spm/spm/blob/main/external/mne/fiff_write_float_sparse_ccs.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/mne/fiff_write_float_sparse_ccs.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("fiff_write_float_sparse_ccs", *args, **kwargs, nargout=0) diff --git a/spm/__external/__mne/fiff_write_float_sparse_rcs.py b/spm/__external/__mne/fiff_write_float_sparse_rcs.py index c6c60917..b0dade32 100644 --- a/spm/__external/__mne/fiff_write_float_sparse_rcs.py +++ b/spm/__external/__mne/fiff_write_float_sparse_rcs.py @@ -2,7 +2,7 @@ def fiff_write_float_sparse_rcs(*args, **kwargs): - """ + r""" fiff_write_float_sparsce_rcs(fid,kind,mat) @@ -13,9 +13,12 @@ def fiff_write_float_sparse_rcs(*args, **kwargs): mat The data matrix - [Matlab code]( https://github.com/spm/spm/blob/main/external/mne/fiff_write_float_sparse_rcs.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/mne/fiff_write_float_sparse_rcs.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("fiff_write_float_sparse_rcs", *args, **kwargs, nargout=0) diff --git a/spm/__external/__mne/fiff_write_id.py b/spm/__external/__mne/fiff_write_id.py index e52ef501..70b21893 100644 --- a/spm/__external/__mne/fiff_write_id.py +++ b/spm/__external/__mne/fiff_write_id.py @@ -2,7 +2,7 @@ def fiff_write_id(*args, **kwargs): - """ + r""" fiff_write_id(fid,kind,id) @@ -15,9 +15,12 @@ def fiff_write_id(*args, **kwargs): If the id argument is missing it will be generated here - [Matlab code]( https://github.com/spm/spm/blob/main/external/mne/fiff_write_id.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/mne/fiff_write_id.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("fiff_write_id", *args, **kwargs, nargout=0) diff --git a/spm/__external/__mne/fiff_write_int.py b/spm/__external/__mne/fiff_write_int.py index 01b746a9..a01dd40e 100644 --- a/spm/__external/__mne/fiff_write_int.py +++ b/spm/__external/__mne/fiff_write_int.py @@ -2,7 +2,7 @@ def fiff_write_int(*args, **kwargs): - """ + r""" fiff_write_int(fid,kind,data) @@ -13,9 +13,12 @@ def fiff_write_int(*args, **kwargs): data The integers to use as data - [Matlab code]( https://github.com/spm/spm/blob/main/external/mne/fiff_write_int.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/mne/fiff_write_int.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("fiff_write_int", *args, **kwargs, nargout=0) diff --git a/spm/__external/__mne/fiff_write_int_matrix.py b/spm/__external/__mne/fiff_write_int_matrix.py index e75d1164..31cba35b 100644 --- a/spm/__external/__mne/fiff_write_int_matrix.py +++ b/spm/__external/__mne/fiff_write_int_matrix.py @@ -2,7 +2,7 @@ def fiff_write_int_matrix(*args, **kwargs): - """ + r""" fiff_write_int_matrix(fid,kind,mat) @@ -13,9 +13,12 @@ def fiff_write_int_matrix(*args, **kwargs): mat The data matrix - [Matlab code]( https://github.com/spm/spm/blob/main/external/mne/fiff_write_int_matrix.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/mne/fiff_write_int_matrix.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("fiff_write_int_matrix", *args, **kwargs, nargout=0) diff --git a/spm/__external/__mne/fiff_write_name_list.py b/spm/__external/__mne/fiff_write_name_list.py index 6460fec9..541c6b13 100644 --- a/spm/__external/__mne/fiff_write_name_list.py +++ b/spm/__external/__mne/fiff_write_name_list.py @@ -2,7 +2,7 @@ def fiff_write_name_list(*args, **kwargs): - """ + r""" fiff_write_name_list(fid,kind,mat) @@ -13,9 +13,12 @@ def fiff_write_name_list(*args, **kwargs): data An array of names to create the list from - [Matlab code]( https://github.com/spm/spm/blob/main/external/mne/fiff_write_name_list.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/mne/fiff_write_name_list.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("fiff_write_name_list", *args, **kwargs, nargout=0) diff --git a/spm/__external/__mne/fiff_write_named_matrix.py b/spm/__external/__mne/fiff_write_named_matrix.py index a2806f7e..330987a8 100644 --- a/spm/__external/__mne/fiff_write_named_matrix.py +++ b/spm/__external/__mne/fiff_write_named_matrix.py @@ -2,7 +2,7 @@ def fiff_write_named_matrix(*args, **kwargs): - """ + r""" fiff_write_named_matrix(fid,kind,mat) @@ -13,9 +13,12 @@ def fiff_write_named_matrix(*args, **kwargs): mat The data matrix - [Matlab code]( https://github.com/spm/spm/blob/main/external/mne/fiff_write_named_matrix.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/mne/fiff_write_named_matrix.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("fiff_write_named_matrix", *args, **kwargs, nargout=0) diff --git a/spm/__external/__mne/fiff_write_proj.py b/spm/__external/__mne/fiff_write_proj.py index 60a46778..da28da3a 100644 --- a/spm/__external/__mne/fiff_write_proj.py +++ b/spm/__external/__mne/fiff_write_proj.py @@ -2,7 +2,7 @@ def fiff_write_proj(*args, **kwargs): - """ + r""" fiff_write_proj(fid,projs,ch_rename) @@ -13,9 +13,12 @@ def fiff_write_proj(*args, **kwargs): ch_rename Short-to-long channel name mapping - [Matlab code]( https://github.com/spm/spm/blob/main/external/mne/fiff_write_proj.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/mne/fiff_write_proj.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("fiff_write_proj", *args, **kwargs, nargout=0) diff --git a/spm/__external/__mne/fiff_write_raw_buffer.py b/spm/__external/__mne/fiff_write_raw_buffer.py index 87391746..9f82f649 100644 --- a/spm/__external/__mne/fiff_write_raw_buffer.py +++ b/spm/__external/__mne/fiff_write_raw_buffer.py @@ -2,7 +2,7 @@ def fiff_write_raw_buffer(*args, **kwargs): - """ + r""" function fiff_write_raw_buffer(fid,buf,cals,datatype) @@ -12,9 +12,12 @@ def fiff_write_raw_buffer(*args, **kwargs): datatype (optional) datatype to write, default float - [Matlab code]( https://github.com/spm/spm/blob/main/external/mne/fiff_write_raw_buffer.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/mne/fiff_write_raw_buffer.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("fiff_write_raw_buffer", *args, **kwargs, nargout=0) diff --git a/spm/__external/__mne/fiff_write_raw_segment.py b/spm/__external/__mne/fiff_write_raw_segment.py index c0322db7..5b301e18 100644 --- a/spm/__external/__mne/fiff_write_raw_segment.py +++ b/spm/__external/__mne/fiff_write_raw_segment.py @@ -2,7 +2,7 @@ def fiff_write_raw_segment(*args, **kwargs): - """ + r""" FIFF_WRITE_RAW_SEGMENT Write chunck of raw data to disk [] = FIFF_WRITE_RAW_SEGMENT(FNAME, RAW, FROM, TO, SEL) @@ -22,9 +22,12 @@ def fiff_write_raw_segment(*args, **kwargs): buffer_size - float (size of data buffers) - [Matlab code]( https://github.com/spm/spm/blob/main/external/mne/fiff_write_raw_segment.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/mne/fiff_write_raw_segment.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("fiff_write_raw_segment", *args, **kwargs, nargout=0) diff --git a/spm/__external/__mne/fiff_write_raw_segment_times.py b/spm/__external/__mne/fiff_write_raw_segment_times.py index ccaa2263..794aa332 100644 --- a/spm/__external/__mne/fiff_write_raw_segment_times.py +++ b/spm/__external/__mne/fiff_write_raw_segment_times.py @@ -2,7 +2,7 @@ def fiff_write_raw_segment_times(*args, **kwargs): - """ + r""" FIFF_WRITE_RAW_SEGMENT_TIMES Write chunck of raw data to disk [] = FIFF_WRITE_RAW_SEGMENT_TIMES(FNAME, RAW, FROM, TO, SEL) @@ -20,9 +20,12 @@ def fiff_write_raw_segment_times(*args, **kwargs): buffer_size_sec - float (size of data buffers in seconds) - [Matlab code]( https://github.com/spm/spm/blob/main/external/mne/fiff_write_raw_segment_times.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/mne/fiff_write_raw_segment_times.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("fiff_write_raw_segment_times", *args, **kwargs, nargout=0) diff --git a/spm/__external/__mne/fiff_write_short.py b/spm/__external/__mne/fiff_write_short.py index d4e87e8e..9b9ea9f8 100644 --- a/spm/__external/__mne/fiff_write_short.py +++ b/spm/__external/__mne/fiff_write_short.py @@ -2,7 +2,7 @@ def fiff_write_short(*args, **kwargs): - """ + r""" fiff_write_short(fid, kind, data) @@ -13,9 +13,12 @@ def fiff_write_short(*args, **kwargs): data The integers to use as data - [Matlab code]( https://github.com/spm/spm/blob/main/external/mne/fiff_write_short.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/mne/fiff_write_short.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("fiff_write_short", *args, **kwargs, nargout=0) diff --git a/spm/__external/__mne/fiff_write_string.py b/spm/__external/__mne/fiff_write_string.py index 042627f8..1474ba80 100644 --- a/spm/__external/__mne/fiff_write_string.py +++ b/spm/__external/__mne/fiff_write_string.py @@ -2,7 +2,7 @@ def fiff_write_string(*args, **kwargs): - """ + r""" fiff_write_string(fid,kind,data) @@ -13,9 +13,12 @@ def fiff_write_string(*args, **kwargs): data The string data to write - [Matlab code]( https://github.com/spm/spm/blob/main/external/mne/fiff_write_string.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/mne/fiff_write_string.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("fiff_write_string", *args, **kwargs, nargout=0) diff --git a/spm/__external/__mne/mne_add_coil_defs.py b/spm/__external/__mne/mne_add_coil_defs.py index cf33deeb..66eb43c9 100644 --- a/spm/__external/__mne/mne_add_coil_defs.py +++ b/spm/__external/__mne/mne_add_coil_defs.py @@ -2,7 +2,7 @@ def mne_add_coil_defs(*args, **kwargs): - """ + r""" [res] = mne_add_coil_defs(chs,accuracy,coil_def_templates) @@ -14,9 +14,12 @@ def mne_add_coil_defs(*args, **kwargs): (defaults to $MNE_ROOT/setup/mne/coil_def.dat or $MNE_ROOT/share/mne/coil_def.dat) - [Matlab code]( https://github.com/spm/spm/blob/main/external/mne/mne_add_coil_defs.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/mne/mne_add_coil_defs.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("mne_add_coil_defs", *args, **kwargs) diff --git a/spm/__external/__mne/mne_babyMEG_dig_trig.py b/spm/__external/__mne/mne_babyMEG_dig_trig.py index 24ef7e09..03c6205f 100644 --- a/spm/__external/__mne/mne_babyMEG_dig_trig.py +++ b/spm/__external/__mne/mne_babyMEG_dig_trig.py @@ -2,16 +2,19 @@ def mne_babyMEG_dig_trig(*args, **kwargs): - """ + r""" function mne_baby_meg_dig_trig(infile,outfile,threshold,invert,want_eeg); Read and write raw data in 60-sec blocks - [Matlab code]( https://github.com/spm/spm/blob/main/external/mne/mne_babyMEG_dig_trig.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/mne/mne_babyMEG_dig_trig.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("mne_baby_meg_dig_trig", *args, **kwargs, nargout=0) diff --git a/spm/__external/__mne/mne_block_diag.py b/spm/__external/__mne/mne_block_diag.py index 1556e161..ac59bc0b 100644 --- a/spm/__external/__mne/mne_block_diag.py +++ b/spm/__external/__mne/mne_block_diag.py @@ -2,7 +2,7 @@ def mne_block_diag(*args, **kwargs): - """ + r""" function bd = mne_block_diag(A,n) @@ -21,9 +21,12 @@ def mne_block_diag(*args, **kwargs): Routine uses NO for-loops for speed considerations. - [Matlab code]( https://github.com/spm/spm/blob/main/external/mne/mne_block_diag.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/mne/mne_block_diag.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("mne_block_diag", *args, **kwargs) diff --git a/spm/__external/__mne/mne_combine_xyz.py b/spm/__external/__mne/mne_combine_xyz.py index 0be1ed87..e54d55d3 100644 --- a/spm/__external/__mne/mne_combine_xyz.py +++ b/spm/__external/__mne/mne_combine_xyz.py @@ -2,7 +2,7 @@ def mne_combine_xyz(*args, **kwargs): - """ + r""" function [comb] = mne_combine_xyz(vec) @@ -13,9 +13,12 @@ def mne_combine_xyz(*args, **kwargs): comb - Output vector [x1^2+y1^2+z1^2 ... x_n^2+y_n^2+z_n^2 ] - [Matlab code]( https://github.com/spm/spm/blob/main/external/mne/mne_combine_xyz.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/mne/mne_combine_xyz.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("mne_combine_xyz", *args, **kwargs) diff --git a/spm/__external/__mne/mne_compensate_to.py b/spm/__external/__mne/mne_compensate_to.py index 9f2674c1..3b532e68 100644 --- a/spm/__external/__mne/mne_compensate_to.py +++ b/spm/__external/__mne/mne_compensate_to.py @@ -2,16 +2,19 @@ def mne_compensate_to(*args, **kwargs): - """ + r""" [newdata] = mne_compensate_to(data,to) Apply compensation to the data as desired - [Matlab code]( https://github.com/spm/spm/blob/main/external/mne/mne_compensate_to.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/mne/mne_compensate_to.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("mne_compensate_to", *args, **kwargs) diff --git a/spm/__external/__mne/mne_ex_average_epochs.py b/spm/__external/__mne/mne_ex_average_epochs.py index d166d94b..37ad9341 100644 --- a/spm/__external/__mne/mne_ex_average_epochs.py +++ b/spm/__external/__mne/mne_ex_average_epochs.py @@ -2,7 +2,7 @@ def mne_ex_average_epochs(*args, **kwargs): - """ + r""" An example of averaging over epochs @@ -17,9 +17,12 @@ def mne_ex_average_epochs(*args, **kwargs): returned from fiff_read_evoked - [Matlab code]( https://github.com/spm/spm/blob/main/external/mne/mne_ex_average_epochs.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/mne/mne_ex_average_epochs.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("mne_ex_average_epochs", *args, **kwargs) diff --git a/spm/__external/__mne/mne_ex_cancel_noise.py b/spm/__external/__mne/mne_ex_cancel_noise.py index 8f3c6474..706fe69d 100644 --- a/spm/__external/__mne/mne_ex_cancel_noise.py +++ b/spm/__external/__mne/mne_ex_cancel_noise.py @@ -2,7 +2,7 @@ def mne_ex_cancel_noise(*args, **kwargs): - """ + r""" Do projection and compensation as needed Return the appropriate operators @@ -16,9 +16,12 @@ def mne_ex_cancel_noise(*args, **kwargs): calculations) - [Matlab code]( https://github.com/spm/spm/blob/main/external/mne/mne_ex_cancel_noise.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/mne/mne_ex_cancel_noise.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("mne_ex_cancel_noise", *args, **kwargs) diff --git a/spm/__external/__mne/mne_ex_compute_inverse.py b/spm/__external/__mne/mne_ex_compute_inverse.py index 16d45c02..232cdacf 100644 --- a/spm/__external/__mne/mne_ex_compute_inverse.py +++ b/spm/__external/__mne/mne_ex_compute_inverse.py @@ -2,7 +2,7 @@ def mne_ex_compute_inverse(*args, **kwargs): - """ + r""" [res] = mne_ex_compute_inverse(fname_data,setno,fname_inv,nave,lambda2,dSPM,sLORETA) @@ -22,9 +22,12 @@ def mne_ex_compute_inverse(*args, **kwargs): sLORETA - do sLORETA? - [Matlab code]( https://github.com/spm/spm/blob/main/external/mne/mne_ex_compute_inverse.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/mne/mne_ex_compute_inverse.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("mne_ex_compute_inverse", *args, **kwargs) diff --git a/spm/__external/__mne/mne_ex_data_sets.py b/spm/__external/__mne/mne_ex_data_sets.py index 3a3c84cb..b001b863 100644 --- a/spm/__external/__mne/mne_ex_data_sets.py +++ b/spm/__external/__mne/mne_ex_data_sets.py @@ -2,7 +2,7 @@ def mne_ex_data_sets(*args, **kwargs): - """ + r""" Find all evoked response data from a given file @@ -12,9 +12,12 @@ def mne_ex_data_sets(*args, **kwargs): res - Structure containing the result - [Matlab code]( https://github.com/spm/spm/blob/main/external/mne/mne_ex_data_sets.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/mne/mne_ex_data_sets.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("mne_ex_data_sets", *args, **kwargs) diff --git a/spm/__external/__mne/mne_ex_evoked_grad_amp.py b/spm/__external/__mne/mne_ex_evoked_grad_amp.py index 60d5bafb..d56533f7 100644 --- a/spm/__external/__mne/mne_ex_evoked_grad_amp.py +++ b/spm/__external/__mne/mne_ex_evoked_grad_amp.py @@ -2,7 +2,7 @@ def mne_ex_evoked_grad_amp(*args, **kwargs): - """ + r""" function [res] = mne_ex_evoked_grad_amp(inname,bmin,bmax,outname) @@ -20,9 +20,12 @@ def mne_ex_evoked_grad_amp(*args, **kwargs): to the file - [Matlab code]( https://github.com/spm/spm/blob/main/external/mne/mne_ex_evoked_grad_amp.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/mne/mne_ex_evoked_grad_amp.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("mne_ex_evoked_grad_amp", *args, **kwargs) diff --git a/spm/__external/__mne/mne_ex_read_epochs.py b/spm/__external/__mne/mne_ex_read_epochs.py index 5b536f36..09085525 100644 --- a/spm/__external/__mne/mne_ex_read_epochs.py +++ b/spm/__external/__mne/mne_ex_read_epochs.py @@ -2,7 +2,7 @@ def mne_ex_read_epochs(*args, **kwargs): - """ + r""" Example of reading raw data @@ -39,9 +39,12 @@ def mne_ex_read_epochs(*args, **kwargs): to create the fif-format event file (or open the file in mne_browse_raw). - [Matlab code]( https://github.com/spm/spm/blob/main/external/mne/mne_ex_read_epochs.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/mne/mne_ex_read_epochs.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("mne_ex_read_epochs", *args, **kwargs) diff --git a/spm/__external/__mne/mne_ex_read_evoked.py b/spm/__external/__mne/mne_ex_read_evoked.py index 84c612d9..c4876592 100644 --- a/spm/__external/__mne/mne_ex_read_evoked.py +++ b/spm/__external/__mne/mne_ex_read_evoked.py @@ -2,7 +2,7 @@ def mne_ex_read_evoked(*args, **kwargs): - """ + r""" Load one evoked-response data set and do various kinds of preprocessing @@ -17,9 +17,12 @@ def mne_ex_read_evoked(*args, **kwargs): Neuromag one if available - [Matlab code]( https://github.com/spm/spm/blob/main/external/mne/mne_ex_read_evoked.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/mne/mne_ex_read_evoked.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("mne_ex_read_evoked", *args, **kwargs) diff --git a/spm/__external/__mne/mne_ex_read_raw.py b/spm/__external/__mne/mne_ex_read_raw.py index 80369701..d84c3d04 100644 --- a/spm/__external/__mne/mne_ex_read_raw.py +++ b/spm/__external/__mne/mne_ex_read_raw.py @@ -2,7 +2,7 @@ def mne_ex_read_raw(*args, **kwargs): - """ + r""" Example of reading raw data @@ -26,9 +26,12 @@ def mne_ex_read_raw(*args, **kwargs): between open and close - [Matlab code]( https://github.com/spm/spm/blob/main/external/mne/mne_ex_read_raw.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/mne/mne_ex_read_raw.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("mne_ex_read_raw", *args, **kwargs) diff --git a/spm/__external/__mne/mne_ex_read_write_raw.py b/spm/__external/__mne/mne_ex_read_write_raw.py index ab6853f6..c98e4e77 100644 --- a/spm/__external/__mne/mne_ex_read_write_raw.py +++ b/spm/__external/__mne/mne_ex_read_write_raw.py @@ -2,16 +2,19 @@ def mne_ex_read_write_raw(*args, **kwargs): - """ + r""" function mne_ex_read_write_raw(infile,outfile); Read and write raw data in 60-sec blocks - [Matlab code]( https://github.com/spm/spm/blob/main/external/mne/mne_ex_read_write_raw.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/mne/mne_ex_read_write_raw.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("mne_ex_read_write_raw", *args, **kwargs, nargout=0) diff --git a/spm/__external/__mne/mne_ex_rt.py b/spm/__external/__mne/mne_ex_rt.py index e8b678d4..f67febc0 100644 --- a/spm/__external/__mne/mne_ex_rt.py +++ b/spm/__external/__mne/mne_ex_rt.py @@ -2,7 +2,7 @@ def mne_ex_rt(*args, **kwargs): - """ + r""" An example of a mne_rt_server real-time connection @@ -15,9 +15,12 @@ def mne_ex_rt(*args, **kwargs): Returns the measurement info - [Matlab code]( https://github.com/spm/spm/blob/main/external/mne/mne_ex_rt.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/mne/mne_ex_rt.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("mne_ex_rt", *args, **kwargs) diff --git a/spm/__external/__mne/mne_file_name.py b/spm/__external/__mne/mne_file_name.py index ae36ca47..fce4d5f8 100644 --- a/spm/__external/__mne/mne_file_name.py +++ b/spm/__external/__mne/mne_file_name.py @@ -2,7 +2,7 @@ def mne_file_name(*args, **kwargs): - """ + r""" [name] = mne_file_name(dir,name) @@ -12,9 +12,12 @@ def mne_file_name(*args, **kwargs): name - Name of the file under that directory - [Matlab code]( https://github.com/spm/spm/blob/main/external/mne/mne_file_name.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/mne/mne_file_name.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("mne_file_name", *args, **kwargs) diff --git a/spm/__external/__mne/mne_find_channel.py b/spm/__external/__mne/mne_find_channel.py index 781f6b7b..aea8b1df 100644 --- a/spm/__external/__mne/mne_find_channel.py +++ b/spm/__external/__mne/mne_find_channel.py @@ -2,7 +2,7 @@ def mne_find_channel(*args, **kwargs): - """ + r""" [which] = mne_find_channel(info,name) @@ -16,9 +16,12 @@ def mne_find_channel(*args, **kwargs): If the channel is not found, returns -1 - [Matlab code]( https://github.com/spm/spm/blob/main/external/mne/mne_find_channel.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/mne/mne_find_channel.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("mne_find_channel", *args, **kwargs) diff --git a/spm/__external/__mne/mne_find_events.py b/spm/__external/__mne/mne_find_events.py index 711ece06..35b2fdea 100644 --- a/spm/__external/__mne/mne_find_events.py +++ b/spm/__external/__mne/mne_find_events.py @@ -2,7 +2,7 @@ def mne_find_events(*args, **kwargs): - """ + r""" [eventlist] = mne_find_events(fname, stim_channel, consecutive, output) @@ -34,9 +34,12 @@ def mne_find_events(*args, **kwargs): License: BSD (3-clause) - [Matlab code]( https://github.com/spm/spm/blob/main/external/mne/mne_find_events.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/mne/mne_find_events.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("mne_find_events", *args, **kwargs) diff --git a/spm/__external/__mne/mne_find_source_space_hemi.py b/spm/__external/__mne/mne_find_source_space_hemi.py index 75d1612d..5d4f5a09 100644 --- a/spm/__external/__mne/mne_find_source_space_hemi.py +++ b/spm/__external/__mne/mne_find_source_space_hemi.py @@ -2,7 +2,7 @@ def mne_find_source_space_hemi(*args, **kwargs): - """ + r""" function mne_find_source_space_hemi(src) @@ -12,9 +12,12 @@ def mne_find_source_space_hemi(*args, **kwargs): hemi - Deduced hemisphere id - [Matlab code]( https://github.com/spm/spm/blob/main/external/mne/mne_find_source_space_hemi.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/mne/mne_find_source_space_hemi.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("mne_find_source_space_hemi", *args, **kwargs) diff --git a/spm/__external/__mne/mne_fread3.py b/spm/__external/__mne/mne_fread3.py index 3d60b6a3..7b1bc990 100644 --- a/spm/__external/__mne/mne_fread3.py +++ b/spm/__external/__mne/mne_fread3.py @@ -2,15 +2,18 @@ def mne_fread3(*args, **kwargs): - """ + r""" [retval] = mne_fread3(fid) read a 3 byte integer out of a file - [Matlab code]( https://github.com/spm/spm/blob/main/external/mne/mne_fread3.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/mne/mne_fread3.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("mne_fread3", *args, **kwargs) diff --git a/spm/__external/__mne/mne_fwrite3.py b/spm/__external/__mne/mne_fwrite3.py index 61be7595..1d086430 100644 --- a/spm/__external/__mne/mne_fwrite3.py +++ b/spm/__external/__mne/mne_fwrite3.py @@ -2,15 +2,18 @@ def mne_fwrite3(*args, **kwargs): - """ + r""" mne_fwrite(fid, val) write a 3 byte integer to a file - [Matlab code]( https://github.com/spm/spm/blob/main/external/mne/mne_fwrite3.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/mne/mne_fwrite3.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("mne_fwrite3", *args, **kwargs, nargout=0) diff --git a/spm/__external/__mne/mne_get_current_comp.py b/spm/__external/__mne/mne_get_current_comp.py index 898a9f1c..bb1768ad 100644 --- a/spm/__external/__mne/mne_get_current_comp.py +++ b/spm/__external/__mne/mne_get_current_comp.py @@ -2,16 +2,19 @@ def mne_get_current_comp(*args, **kwargs): - """ + r""" [comp] = mne_get_current_comp(info) Get the current compensation in effect in the data - [Matlab code]( https://github.com/spm/spm/blob/main/external/mne/mne_get_current_comp.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/mne/mne_get_current_comp.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("mne_get_current_comp", *args, **kwargs) diff --git a/spm/__external/__mne/mne_label_time_courses.py b/spm/__external/__mne/mne_label_time_courses.py index 07054da7..c70a17ec 100644 --- a/spm/__external/__mne/mne_label_time_courses.py +++ b/spm/__external/__mne/mne_label_time_courses.py @@ -2,7 +2,7 @@ def mne_label_time_courses(*args, **kwargs): - """ + r""" function [ values, times ] = mne_label_time_courses(labelfile,stcfile) @@ -17,9 +17,12 @@ def mne_label_time_courses(*args, **kwargs): vertices - The vertices corresponding to the time points - [Matlab code]( https://github.com/spm/spm/blob/main/external/mne/mne_label_time_courses.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/mne/mne_label_time_courses.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("mne_label_time_courses", *args, **kwargs) diff --git a/spm/__external/__mne/mne_license.py b/spm/__external/__mne/mne_license.py index e36a623b..1d24c055 100644 --- a/spm/__external/__mne/mne_license.py +++ b/spm/__external/__mne/mne_license.py @@ -2,16 +2,19 @@ def mne_license(*args, **kwargs): - """ + r""" MNE_LICENSE prints the license only once upon the first call to this function. If the user does a "clear all", the license will again be shown. This function should be included in every openmeeg function to ensure that the license is displayed at least once. - [Matlab code]( https://github.com/spm/spm/blob/main/external/mne/mne_license.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/mne/mne_license.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("mne_license", *args, **kwargs, nargout=0) diff --git a/spm/__external/__mne/mne_load_coil_def.py b/spm/__external/__mne/mne_load_coil_def.py index a0dd4e0c..6a77f913 100644 --- a/spm/__external/__mne/mne_load_coil_def.py +++ b/spm/__external/__mne/mne_load_coil_def.py @@ -2,7 +2,7 @@ def mne_load_coil_def(*args, **kwargs): - """ + r""" [CoilDef,Header] = mne_load_coil_def(fname); @@ -18,9 +18,12 @@ def mne_load_coil_def(*args, **kwargs): created by John C. Mosher - [Matlab code]( https://github.com/spm/spm/blob/main/external/mne/mne_load_coil_def.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/mne/mne_load_coil_def.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("mne_load_coil_def", *args, **kwargs) diff --git a/spm/__external/__mne/mne_make_combined_event_file.py b/spm/__external/__mne/mne_make_combined_event_file.py index 2db5777b..8ca5f685 100644 --- a/spm/__external/__mne/mne_make_combined_event_file.py +++ b/spm/__external/__mne/mne_make_combined_event_file.py @@ -2,7 +2,7 @@ def mne_make_combined_event_file(*args, **kwargs): - """ + r""" mne_make_combined_event_file(rawname,eventname,include,all,threshold) @@ -21,9 +21,12 @@ def mne_make_combined_event_file(*args, **kwargs): contain a composite trigger channel - [Matlab code]( https://github.com/spm/spm/blob/main/external/mne/mne_make_combined_event_file.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/mne/mne_make_combined_event_file.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("mne_make_combined_event_file", *args, **kwargs, nargout=0) diff --git a/spm/__external/__mne/mne_make_compensator.py b/spm/__external/__mne/mne_make_compensator.py index 46c1d8a1..49644eb5 100644 --- a/spm/__external/__mne/mne_make_compensator.py +++ b/spm/__external/__mne/mne_make_compensator.py @@ -2,7 +2,7 @@ def mne_make_compensator(*args, **kwargs): - """ + r""" [comp] = mne_make_compensator(info,from,to,exclude_comp_chs) @@ -12,9 +12,12 @@ def mne_make_compensator(*args, **kwargs): exclude_comp_chs - exclude compensation channels from the output (optional) - [Matlab code]( https://github.com/spm/spm/blob/main/external/mne/mne_make_compensator.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/mne/mne_make_compensator.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("mne_make_compensator", *args, **kwargs) diff --git a/spm/__external/__mne/mne_make_projector.py b/spm/__external/__mne/mne_make_projector.py index e88b2e23..77dedbe9 100644 --- a/spm/__external/__mne/mne_make_projector.py +++ b/spm/__external/__mne/mne_make_projector.py @@ -2,7 +2,7 @@ def mne_make_projector(*args, **kwargs): - """ + r""" [proj,nproj,U] = mne_make_projector(projs,ch_names,bads) @@ -17,9 +17,12 @@ def mne_make_projector(*args, **kwargs): bads - Bad channels to exclude - [Matlab code]( https://github.com/spm/spm/blob/main/external/mne/mne_make_projector.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/mne/mne_make_projector.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("mne_make_projector", *args, **kwargs) diff --git a/spm/__external/__mne/mne_make_projector_info.py b/spm/__external/__mne/mne_make_projector_info.py index 3d1343f8..fcdc5f5f 100644 --- a/spm/__external/__mne/mne_make_projector_info.py +++ b/spm/__external/__mne/mne_make_projector_info.py @@ -2,16 +2,19 @@ def mne_make_projector_info(*args, **kwargs): - """ + r""" [proj,nproj] = mne_make_projector_info(info) Make an SSP operator using the meas info - [Matlab code]( https://github.com/spm/spm/blob/main/external/mne/mne_make_projector_info.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/mne/mne_make_projector_info.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("mne_make_projector_info", *args, **kwargs) diff --git a/spm/__external/__mne/mne_mesh_edges.py b/spm/__external/__mne/mne_mesh_edges.py index 3391d0b5..1c714a1c 100644 --- a/spm/__external/__mne/mne_mesh_edges.py +++ b/spm/__external/__mne/mne_mesh_edges.py @@ -2,7 +2,7 @@ def mne_mesh_edges(*args, **kwargs): - """ + r""" MESH_EDGES Returns sparse matrix with edges number SYNTAX @@ -12,9 +12,12 @@ def mne_mesh_edges(*args, **kwargs): edges : sparse matrix of size [n_vertices, n_vertices] - [Matlab code]( https://github.com/spm/spm/blob/main/external/mne/mne_mesh_edges.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/mne/mne_mesh_edges.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("mne_mesh_edges", *args, **kwargs) diff --git a/spm/__external/__mne/mne_morph_data.py b/spm/__external/__mne/mne_morph_data.py index 39cdbab5..4d4fc18d 100644 --- a/spm/__external/__mne/mne_morph_data.py +++ b/spm/__external/__mne/mne_morph_data.py @@ -2,7 +2,7 @@ def mne_morph_data(*args, **kwargs): - """ + r""" MNE_MORPH_DATA Returns data morphed to a new subject. SYNTAX @@ -21,9 +21,12 @@ def mne_morph_data(*args, **kwargs): stcs_morph = mne_morph_data(from,to,stcs,5); - [Matlab code]( https://github.com/spm/spm/blob/main/external/mne/mne_morph_data.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/mne/mne_morph_data.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("mne_morph_data", *args, **kwargs) diff --git a/spm/__external/__mne/mne_omit_first_line.py b/spm/__external/__mne/mne_omit_first_line.py index b03b4ddb..3a54c32b 100644 --- a/spm/__external/__mne/mne_omit_first_line.py +++ b/spm/__external/__mne/mne_omit_first_line.py @@ -2,7 +2,7 @@ def mne_omit_first_line(*args, **kwargs): - """ + r""" [rest] = mne_omit_first_line(str) @@ -10,9 +10,12 @@ def mne_omit_first_line(*args, **kwargs): error messages) - [Matlab code]( https://github.com/spm/spm/blob/main/external/mne/mne_omit_first_line.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/mne/mne_omit_first_line.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("mne_omit_first_line", *args, **kwargs) diff --git a/spm/__external/__mne/mne_patch_info.py b/spm/__external/__mne/mne_patch_info.py index cd191f80..b6092305 100644 --- a/spm/__external/__mne/mne_patch_info.py +++ b/spm/__external/__mne/mne_patch_info.py @@ -2,16 +2,19 @@ def mne_patch_info(*args, **kwargs): - """ + r""" [pinfo] = mne_patch_info(nearest) Generate the patch information from the 'nearest' vector in a source space - [Matlab code]( https://github.com/spm/spm/blob/main/external/mne/mne_patch_info.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/mne/mne_patch_info.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("mne_patch_info", *args, **kwargs) diff --git a/spm/__external/__mne/mne_pick_channels_cov.py b/spm/__external/__mne/mne_pick_channels_cov.py index 1b12d810..027fe9f9 100644 --- a/spm/__external/__mne/mne_pick_channels_cov.py +++ b/spm/__external/__mne/mne_pick_channels_cov.py @@ -2,7 +2,7 @@ def mne_pick_channels_cov(*args, **kwargs): - """ + r""" [cov] = mne_pick_channels_cov(orig,include,exclude) @@ -13,9 +13,12 @@ def mne_pick_channels_cov(*args, **kwargs): exclude - Channels to exclude (if empty, do not exclude any) - [Matlab code]( https://github.com/spm/spm/blob/main/external/mne/mne_pick_channels_cov.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/mne/mne_pick_channels_cov.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("mne_pick_channels_cov", *args, **kwargs) diff --git a/spm/__external/__mne/mne_pick_channels_forward.py b/spm/__external/__mne/mne_pick_channels_forward.py index b37b1a89..8b5c753c 100644 --- a/spm/__external/__mne/mne_pick_channels_forward.py +++ b/spm/__external/__mne/mne_pick_channels_forward.py @@ -2,7 +2,7 @@ def mne_pick_channels_forward(*args, **kwargs): - """ + r""" [fwd] = mne_pick_channels_forward(orig,include,exclude) @@ -13,9 +13,12 @@ def mne_pick_channels_forward(*args, **kwargs): exclude - Channels to exclude (if empty, do not exclude any) - [Matlab code]( https://github.com/spm/spm/blob/main/external/mne/mne_pick_channels_forward.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/mne/mne_pick_channels_forward.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("mne_pick_channels_forward", *args, **kwargs) diff --git a/spm/__external/__mne/mne_prepare_inverse_operator.py b/spm/__external/__mne/mne_prepare_inverse_operator.py index c0c23c26..e25c8421 100644 --- a/spm/__external/__mne/mne_prepare_inverse_operator.py +++ b/spm/__external/__mne/mne_prepare_inverse_operator.py @@ -2,7 +2,7 @@ def mne_prepare_inverse_operator(*args, **kwargs): - """ + r""" [inv] = mne_prepare_inverse_operator(orig,nave,lambda2,dSPM,sLORETA) @@ -15,9 +15,12 @@ def mne_prepare_inverse_operator(*args, **kwargs): sLORETA - Compute the noise-normalization factors for sLORETA? - [Matlab code]( https://github.com/spm/spm/blob/main/external/mne/mne_prepare_inverse_operator.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/mne/mne_prepare_inverse_operator.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("mne_prepare_inverse_operator", *args, **kwargs) diff --git a/spm/__external/__mne/mne_read_bem_surfaces.py b/spm/__external/__mne/mne_read_bem_surfaces.py index 37e26526..07862fb1 100644 --- a/spm/__external/__mne/mne_read_bem_surfaces.py +++ b/spm/__external/__mne/mne_read_bem_surfaces.py @@ -2,7 +2,7 @@ def mne_read_bem_surfaces(*args, **kwargs): - """ + r""" [surf] = mne_read_bem_surfaces(source,add_geom,tree) @@ -14,9 +14,12 @@ def mne_read_bem_surfaces(*args, **kwargs): BEM surfaces here - [Matlab code]( https://github.com/spm/spm/blob/main/external/mne/mne_read_bem_surfaces.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/mne/mne_read_bem_surfaces.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("mne_read_bem_surfaces", *args, **kwargs) diff --git a/spm/__external/__mne/mne_read_cov.py b/spm/__external/__mne/mne_read_cov.py index 7d4d8022..bdc8f508 100644 --- a/spm/__external/__mne/mne_read_cov.py +++ b/spm/__external/__mne/mne_read_cov.py @@ -2,7 +2,7 @@ def mne_read_cov(*args, **kwargs): - """ + r""" [cov] = mne_read_cov(fid,node,kind) @@ -13,9 +13,12 @@ def mne_read_cov(*args, **kwargs): cov_kind - what kind of a covariance matrix do we want? - [Matlab code]( https://github.com/spm/spm/blob/main/external/mne/mne_read_cov.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/mne/mne_read_cov.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("mne_read_cov", *args, **kwargs) diff --git a/spm/__external/__mne/mne_read_curvature.py b/spm/__external/__mne/mne_read_curvature.py index bfddf1b5..6ec9d0dc 100644 --- a/spm/__external/__mne/mne_read_curvature.py +++ b/spm/__external/__mne/mne_read_curvature.py @@ -2,7 +2,7 @@ def mne_read_curvature(*args, **kwargs): - """ + r""" [curf] = mne_read_surface(fname) @@ -12,9 +12,12 @@ def mne_read_curvature(*args, **kwargs): curv - The curvature values - [Matlab code]( https://github.com/spm/spm/blob/main/external/mne/mne_read_curvature.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/mne/mne_read_curvature.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("mne_read_curvature", *args, **kwargs) diff --git a/spm/__external/__mne/mne_read_epoch.py b/spm/__external/__mne/mne_read_epoch.py index f2db7ca6..9e97f69c 100644 --- a/spm/__external/__mne/mne_read_epoch.py +++ b/spm/__external/__mne/mne_read_epoch.py @@ -2,7 +2,7 @@ def mne_read_epoch(*args, **kwargs): - """ + r""" [data,fid] = mne_read_epoch(epoch_info,which,prev_fid) @@ -19,9 +19,12 @@ def mne_read_epoch(*args, **kwargs): The data will contain nchan x ntimes calibrated values - [Matlab code]( https://github.com/spm/spm/blob/main/external/mne/mne_read_epoch.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/mne/mne_read_epoch.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("mne_read_epoch", *args, **kwargs) diff --git a/spm/__external/__mne/mne_read_events.py b/spm/__external/__mne/mne_read_events.py index 51d65003..3146dfcf 100644 --- a/spm/__external/__mne/mne_read_events.py +++ b/spm/__external/__mne/mne_read_events.py @@ -2,16 +2,19 @@ def mne_read_events(*args, **kwargs): - """ + r""" [eventlist] = mne_read_events(filename) Read an event list from a fif file - [Matlab code]( https://github.com/spm/spm/blob/main/external/mne/mne_read_events.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/mne/mne_read_events.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("mne_read_events", *args, **kwargs) diff --git a/spm/__external/__mne/mne_read_forward_solution.py b/spm/__external/__mne/mne_read_forward_solution.py index d97cbbc1..756b2c39 100644 --- a/spm/__external/__mne/mne_read_forward_solution.py +++ b/spm/__external/__mne/mne_read_forward_solution.py @@ -2,7 +2,7 @@ def mne_read_forward_solution(*args, **kwargs): - """ + r""" [fwd] = mne_read_forward_solution(fname,force_fixed,surf_ori,include,exclude) @@ -15,9 +15,12 @@ def mne_read_forward_solution(*args, **kwargs): exclude - Exclude these channels (optional) - [Matlab code]( https://github.com/spm/spm/blob/main/external/mne/mne_read_forward_solution.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/mne/mne_read_forward_solution.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("mne_read_forward_solution", *args, **kwargs) diff --git a/spm/__external/__mne/mne_read_inverse_operator.py b/spm/__external/__mne/mne_read_inverse_operator.py index b9ea4c9a..1539bcc5 100644 --- a/spm/__external/__mne/mne_read_inverse_operator.py +++ b/spm/__external/__mne/mne_read_inverse_operator.py @@ -2,7 +2,7 @@ def mne_read_inverse_operator(*args, **kwargs): - """ + r""" [inv] = mne_read_inverse_operator(fname) @@ -11,9 +11,12 @@ def mne_read_inverse_operator(*args, **kwargs): fname - The name of the file - [Matlab code]( https://github.com/spm/spm/blob/main/external/mne/mne_read_inverse_operator.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/mne/mne_read_inverse_operator.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("mne_read_inverse_operator", *args, **kwargs) diff --git a/spm/__external/__mne/mne_read_label_file.py b/spm/__external/__mne/mne_read_label_file.py index 75ca27c3..1d280eee 100644 --- a/spm/__external/__mne/mne_read_label_file.py +++ b/spm/__external/__mne/mne_read_label_file.py @@ -2,7 +2,7 @@ def mne_read_label_file(*args, **kwargs): - """ + r""" [label] = mne_read_label_file(filename) @@ -14,9 +14,12 @@ def mne_read_label_file(*args, **kwargs): values values at the vertices (column 5) - [Matlab code]( https://github.com/spm/spm/blob/main/external/mne/mne_read_label_file.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/mne/mne_read_label_file.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("mne_read_label_file", *args, **kwargs) diff --git a/spm/__external/__mne/mne_read_morph_map.py b/spm/__external/__mne/mne_read_morph_map.py index 358f3aca..921c3219 100644 --- a/spm/__external/__mne/mne_read_morph_map.py +++ b/spm/__external/__mne/mne_read_morph_map.py @@ -2,7 +2,7 @@ def mne_read_morph_map(*args, **kwargs): - """ + r""" [leftmap,rightmap] = mne_read_morph_map(from,to,subjects_dir) @@ -11,9 +11,12 @@ def mne_read_morph_map(*args, **kwargs): variable is used - [Matlab code]( https://github.com/spm/spm/blob/main/external/mne/mne_read_morph_map.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/mne/mne_read_morph_map.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("mne_read_morph_map", *args, **kwargs) diff --git a/spm/__external/__mne/mne_read_noise_cov.py b/spm/__external/__mne/mne_read_noise_cov.py index d57ee1a4..ccd491ff 100644 --- a/spm/__external/__mne/mne_read_noise_cov.py +++ b/spm/__external/__mne/mne_read_noise_cov.py @@ -2,7 +2,7 @@ def mne_read_noise_cov(*args, **kwargs): - """ + r""" [cov] = mne_read_noise_cov(fname) @@ -11,9 +11,12 @@ def mne_read_noise_cov(*args, **kwargs): fname - The name of the file - [Matlab code]( https://github.com/spm/spm/blob/main/external/mne/mne_read_noise_cov.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/mne/mne_read_noise_cov.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("mne_read_noise_cov", *args, **kwargs) diff --git a/spm/__external/__mne/mne_read_source_spaces.py b/spm/__external/__mne/mne_read_source_spaces.py index 663d20a3..855c2374 100644 --- a/spm/__external/__mne/mne_read_source_spaces.py +++ b/spm/__external/__mne/mne_read_source_spaces.py @@ -2,7 +2,7 @@ def mne_read_source_spaces(*args, **kwargs): - """ + r""" [src] = mne_read_source_spaces(source,add_geom,tree) @@ -14,9 +14,12 @@ def mne_read_source_spaces(*args, **kwargs): source spaces here - [Matlab code]( https://github.com/spm/spm/blob/main/external/mne/mne_read_source_spaces.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/mne/mne_read_source_spaces.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("mne_read_source_spaces", *args, **kwargs) diff --git a/spm/__external/__mne/mne_read_stc_file.py b/spm/__external/__mne/mne_read_stc_file.py index ee96f4ac..144a72c6 100644 --- a/spm/__external/__mne/mne_read_stc_file.py +++ b/spm/__external/__mne/mne_read_stc_file.py @@ -2,7 +2,7 @@ def mne_read_stc_file(*args, **kwargs): - """ + r""" [stc] = mne_read_stc_file(filename) @@ -14,9 +14,12 @@ def mne_read_stc_file(*args, **kwargs): data The data matrix (nvert * ntime) - [Matlab code]( https://github.com/spm/spm/blob/main/external/mne/mne_read_stc_file.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/mne/mne_read_stc_file.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("mne_read_stc_file", *args, **kwargs) diff --git a/spm/__external/__mne/mne_read_stc_file1.py b/spm/__external/__mne/mne_read_stc_file1.py index cdde3f30..112e976d 100644 --- a/spm/__external/__mne/mne_read_stc_file1.py +++ b/spm/__external/__mne/mne_read_stc_file1.py @@ -2,7 +2,7 @@ def mne_read_stc_file1(*args, **kwargs): - """ + r""" [stc] = mne_read_stc_file1(filename) @@ -14,9 +14,12 @@ def mne_read_stc_file1(*args, **kwargs): data The data matrix (nvert * ntime) - [Matlab code]( https://github.com/spm/spm/blob/main/external/mne/mne_read_stc_file1.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/mne/mne_read_stc_file1.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("mne_read_stc_file1", *args, **kwargs) diff --git a/spm/__external/__mne/mne_read_surface.py b/spm/__external/__mne/mne_read_surface.py index 2d0b5558..4bc391fb 100644 --- a/spm/__external/__mne/mne_read_surface.py +++ b/spm/__external/__mne/mne_read_surface.py @@ -2,7 +2,7 @@ def mne_read_surface(*args, **kwargs): - """ + r""" [verts, faces] = mne_read_surface(fname) @@ -15,9 +15,12 @@ def mne_read_surface(*args, **kwargs): create triangular meshes for all files - [Matlab code]( https://github.com/spm/spm/blob/main/external/mne/mne_read_surface.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/mne/mne_read_surface.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("mne_read_surface", *args, **kwargs) diff --git a/spm/__external/__mne/mne_read_surfaces.py b/spm/__external/__mne/mne_read_surfaces.py index e05995c2..75b779e0 100644 --- a/spm/__external/__mne/mne_read_surfaces.py +++ b/spm/__external/__mne/mne_read_surfaces.py @@ -2,7 +2,7 @@ def mne_read_surfaces(*args, **kwargs): - """ + r""" [surfs] = mne_read_surfaces(surfname,read_curv,read_left,read_right,subject,subjects_dir,add_info) @@ -26,9 +26,12 @@ def mne_read_surfaces(*args, **kwargs): surfs - Output structure containing the surfaces - [Matlab code]( https://github.com/spm/spm/blob/main/external/mne/mne_read_surfaces.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/mne/mne_read_surfaces.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("mne_read_surfaces", *args, **kwargs) diff --git a/spm/__external/__mne/mne_read_w_file.py b/spm/__external/__mne/mne_read_w_file.py index e5429c89..937dae56 100644 --- a/spm/__external/__mne/mne_read_w_file.py +++ b/spm/__external/__mne/mne_read_w_file.py @@ -2,7 +2,7 @@ def mne_read_w_file(*args, **kwargs): - """ + r""" [w] = mne_read_w_file(filename) @@ -12,9 +12,12 @@ def mne_read_w_file(*args, **kwargs): data - vector of data values - [Matlab code]( https://github.com/spm/spm/blob/main/external/mne/mne_read_w_file.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/mne/mne_read_w_file.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("mne_read_w_file", *args, **kwargs) diff --git a/spm/__external/__mne/mne_read_w_file1.py b/spm/__external/__mne/mne_read_w_file1.py index 8f573fa0..9a26de37 100644 --- a/spm/__external/__mne/mne_read_w_file1.py +++ b/spm/__external/__mne/mne_read_w_file1.py @@ -2,7 +2,7 @@ def mne_read_w_file1(*args, **kwargs): - """ + r""" [w] = mne_read_w_file(filename) @@ -12,9 +12,12 @@ def mne_read_w_file1(*args, **kwargs): data - vector of data values - [Matlab code]( https://github.com/spm/spm/blob/main/external/mne/mne_read_w_file1.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/mne/mne_read_w_file1.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("mne_read_w_file1", *args, **kwargs) diff --git a/spm/__external/__mne/mne_reduce_surface.py b/spm/__external/__mne/mne_reduce_surface.py index a068cc0d..104c81ed 100644 --- a/spm/__external/__mne/mne_reduce_surface.py +++ b/spm/__external/__mne/mne_reduce_surface.py @@ -2,7 +2,7 @@ def mne_reduce_surface(*args, **kwargs): - """ + r""" [verts, faces] = mne_reduce_surface(surfin,desired_ntri,surfout) @@ -14,9 +14,12 @@ def mne_reduce_surface(*args, **kwargs): surfout - Name of a surface file to hold the reduce surface (optional) - [Matlab code]( https://github.com/spm/spm/blob/main/external/mne/mne_reduce_surface.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/mne/mne_reduce_surface.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("mne_reduce_surface", *args, **kwargs) diff --git a/spm/__external/__mne/mne_rt_define_commands.py b/spm/__external/__mne/mne_rt_define_commands.py index 3a1d0a47..d5b58a86 100644 --- a/spm/__external/__mne/mne_rt_define_commands.py +++ b/spm/__external/__mne/mne_rt_define_commands.py @@ -2,16 +2,19 @@ def mne_rt_define_commands(*args, **kwargs): - """ + r""" [ FIFF ] = mne_rt_define_commands() Defines structure containing the MNE_RT constants - [Matlab code]( https://github.com/spm/spm/blob/main/external/mne/mne_rt_define_commands.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/mne/mne_rt_define_commands.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("mne_rt_define_commands", *args, **kwargs) diff --git a/spm/__external/__mne/mne_set_current_comp.py b/spm/__external/__mne/mne_set_current_comp.py index 0e5dd236..33e0f7e3 100644 --- a/spm/__external/__mne/mne_set_current_comp.py +++ b/spm/__external/__mne/mne_set_current_comp.py @@ -2,16 +2,19 @@ def mne_set_current_comp(*args, **kwargs): - """ + r""" mne_set_current_comp(chs,value) Set the current compensation value in the channel info structures - [Matlab code]( https://github.com/spm/spm/blob/main/external/mne/mne_set_current_comp.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/mne/mne_set_current_comp.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("mne_set_current_comp", *args, **kwargs) diff --git a/spm/__external/__mne/mne_source_spectral_analysis.py b/spm/__external/__mne/mne_source_spectral_analysis.py index 7c0ab2df..9121d80c 100644 --- a/spm/__external/__mne/mne_source_spectral_analysis.py +++ b/spm/__external/__mne/mne_source_spectral_analysis.py @@ -2,7 +2,7 @@ def mne_source_spectral_analysis(*args, **kwargs): - """ + r""" [res] = mne_source_spectral_analysis(fname_rawdata, fname_output, cfg) @@ -31,9 +31,12 @@ def mne_source_spectral_analysis(*args, **kwargs): $Log$ - [Matlab code]( https://github.com/spm/spm/blob/main/external/mne/mne_source_spectral_analysis.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/mne/mne_source_spectral_analysis.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("mne_source_spectral_analysis", *args, **kwargs) diff --git a/spm/__external/__mne/mne_transform_coordinates.py b/spm/__external/__mne/mne_transform_coordinates.py index e253eec6..9e32c833 100644 --- a/spm/__external/__mne/mne_transform_coordinates.py +++ b/spm/__external/__mne/mne_transform_coordinates.py @@ -2,7 +2,7 @@ def mne_transform_coordinates(*args, **kwargs): - """ + r""" [trans_pos] = mne_transform_coordinates(filename,pos,from,to) @@ -24,9 +24,12 @@ def mne_transform_coordinates(*args, **kwargs): trans_pos - The transformed locations - [Matlab code]( https://github.com/spm/spm/blob/main/external/mne/mne_transform_coordinates.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/mne/mne_transform_coordinates.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("mne_transform_coordinates", *args, **kwargs) diff --git a/spm/__external/__mne/mne_transform_source_space_to.py b/spm/__external/__mne/mne_transform_source_space_to.py index 35d1b4cf..c06e79a8 100644 --- a/spm/__external/__mne/mne_transform_source_space_to.py +++ b/spm/__external/__mne/mne_transform_source_space_to.py @@ -2,7 +2,7 @@ def mne_transform_source_space_to(*args, **kwargs): - """ + r""" [res] = mne_transform_source_space_to(src,dest,trans) @@ -13,9 +13,12 @@ def mne_transform_source_space_to(*args, **kwargs): trans - The coordinate transformation structure to use - [Matlab code]( https://github.com/spm/spm/blob/main/external/mne/mne_transform_source_space_to.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/mne/mne_transform_source_space_to.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("mne_transform_source_space_to", *args, **kwargs) diff --git a/spm/__external/__mne/mne_transpose_named_matrix.py b/spm/__external/__mne/mne_transpose_named_matrix.py index d2750b74..f7a7a294 100644 --- a/spm/__external/__mne/mne_transpose_named_matrix.py +++ b/spm/__external/__mne/mne_transpose_named_matrix.py @@ -2,16 +2,19 @@ def mne_transpose_named_matrix(*args, **kwargs): - """ + r""" [res] = mne_transpose_named_matrix(mat) Transpose a named matrix - [Matlab code]( https://github.com/spm/spm/blob/main/external/mne/mne_transpose_named_matrix.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/mne/mne_transpose_named_matrix.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("mne_transpose_named_matrix", *args, **kwargs) diff --git a/spm/__external/__mne/mne_write_cov.py b/spm/__external/__mne/mne_write_cov.py index 116c808e..0084dd15 100644 --- a/spm/__external/__mne/mne_write_cov.py +++ b/spm/__external/__mne/mne_write_cov.py @@ -2,7 +2,7 @@ def mne_write_cov(*args, **kwargs): - """ + r""" mne_write_cov(fid,cov) @@ -13,9 +13,12 @@ def mne_write_cov(*args, **kwargs): cov - the covariance matrix to write - [Matlab code]( https://github.com/spm/spm/blob/main/external/mne/mne_write_cov.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/mne/mne_write_cov.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("mne_write_cov", *args, **kwargs, nargout=0) diff --git a/spm/__external/__mne/mne_write_cov_file.py b/spm/__external/__mne/mne_write_cov_file.py index aa1a0686..ec1399ec 100644 --- a/spm/__external/__mne/mne_write_cov_file.py +++ b/spm/__external/__mne/mne_write_cov_file.py @@ -2,7 +2,7 @@ def mne_write_cov_file(*args, **kwargs): - """ + r""" function mne_write_cov_file(name,cov) @@ -12,9 +12,12 @@ def mne_write_cov_file(*args, **kwargs): cov the covariance matrix to write - [Matlab code]( https://github.com/spm/spm/blob/main/external/mne/mne_write_cov_file.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/mne/mne_write_cov_file.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("mne_write_cov_file", *args, **kwargs, nargout=0) diff --git a/spm/__external/__mne/mne_write_events.py b/spm/__external/__mne/mne_write_events.py index 499f47e2..cdbf3d20 100644 --- a/spm/__external/__mne/mne_write_events.py +++ b/spm/__external/__mne/mne_write_events.py @@ -2,16 +2,19 @@ def mne_write_events(*args, **kwargs): - """ + r""" mne_write_events(filename,eventlist) Write an event list into a fif file - [Matlab code]( https://github.com/spm/spm/blob/main/external/mne/mne_write_events.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/mne/mne_write_events.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("mne_write_events", *args, **kwargs, nargout=0) diff --git a/spm/__external/__mne/mne_write_inverse_sol_stc.py b/spm/__external/__mne/mne_write_inverse_sol_stc.py index 4ccfff5a..227e75a3 100644 --- a/spm/__external/__mne/mne_write_inverse_sol_stc.py +++ b/spm/__external/__mne/mne_write_inverse_sol_stc.py @@ -2,7 +2,7 @@ def mne_write_inverse_sol_stc(*args, **kwargs): - """ + r""" function mne_write_inverse_sol_stc(stem,inv,sol,tmin,tstep) @@ -15,9 +15,12 @@ def mne_write_inverse_sol_stc(*args, **kwargs): tstep - Time between data points in seconds - [Matlab code]( https://github.com/spm/spm/blob/main/external/mne/mne_write_inverse_sol_stc.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/mne/mne_write_inverse_sol_stc.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("mne_write_inverse_sol_stc", *args, **kwargs, nargout=0) diff --git a/spm/__external/__mne/mne_write_inverse_sol_w.py b/spm/__external/__mne/mne_write_inverse_sol_w.py index 7a523913..657aba64 100644 --- a/spm/__external/__mne/mne_write_inverse_sol_w.py +++ b/spm/__external/__mne/mne_write_inverse_sol_w.py @@ -2,7 +2,7 @@ def mne_write_inverse_sol_w(*args, **kwargs): - """ + r""" function mne_write_inverse_sol_w(stem,inv,sol) @@ -13,9 +13,12 @@ def mne_write_inverse_sol_w(*args, **kwargs): sol - The solution matrix (number of locations) - [Matlab code]( https://github.com/spm/spm/blob/main/external/mne/mne_write_inverse_sol_w.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/mne/mne_write_inverse_sol_w.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("mne_write_inverse_sol_w", *args, **kwargs, nargout=0) diff --git a/spm/__external/__mne/mne_write_label_file.py b/spm/__external/__mne/mne_write_label_file.py index 20dc4fd3..a8716d35 100644 --- a/spm/__external/__mne/mne_write_label_file.py +++ b/spm/__external/__mne/mne_write_label_file.py @@ -2,7 +2,7 @@ def mne_write_label_file(*args, **kwargs): - """ + r""" write_read_label_file(filename,label) @@ -17,9 +17,12 @@ def mne_write_label_file(*args, **kwargs): values values at the vertices (column 5) - [Matlab code]( https://github.com/spm/spm/blob/main/external/mne/mne_write_label_file.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/mne/mne_write_label_file.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("mne_write_label_file", *args, **kwargs, nargout=0) diff --git a/spm/__external/__mne/mne_write_stc_file.py b/spm/__external/__mne/mne_write_stc_file.py index 2894e37b..1a2c0c06 100644 --- a/spm/__external/__mne/mne_write_stc_file.py +++ b/spm/__external/__mne/mne_write_stc_file.py @@ -2,7 +2,7 @@ def mne_write_stc_file(*args, **kwargs): - """ + r""" mne_write_stc_file(filename,stc) @@ -17,9 +17,12 @@ def mne_write_stc_file(*args, **kwargs): data The data matrix nvert * ntime - [Matlab code]( https://github.com/spm/spm/blob/main/external/mne/mne_write_stc_file.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/mne/mne_write_stc_file.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("mne_write_stc_file", *args, **kwargs, nargout=0) diff --git a/spm/__external/__mne/mne_write_stc_file1.py b/spm/__external/__mne/mne_write_stc_file1.py index ddd5762c..05f4ee02 100644 --- a/spm/__external/__mne/mne_write_stc_file1.py +++ b/spm/__external/__mne/mne_write_stc_file1.py @@ -2,7 +2,7 @@ def mne_write_stc_file1(*args, **kwargs): - """ + r""" mne_write_stc_file1(filename,stc) @@ -17,9 +17,12 @@ def mne_write_stc_file1(*args, **kwargs): data The data matrix nvert * ntime - [Matlab code]( https://github.com/spm/spm/blob/main/external/mne/mne_write_stc_file1.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/mne/mne_write_stc_file1.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("mne_write_stc_file1", *args, **kwargs, nargout=0) diff --git a/spm/__external/__mne/mne_write_surface.py b/spm/__external/__mne/mne_write_surface.py index f15a1961..29540ca2 100644 --- a/spm/__external/__mne/mne_write_surface.py +++ b/spm/__external/__mne/mne_write_surface.py @@ -2,7 +2,7 @@ def mne_write_surface(*args, **kwargs): - """ + r""" mne_write_surface(fname,verts,faces) @@ -14,9 +14,12 @@ def mne_write_surface(*args, **kwargs): comment - Optional comment to include - [Matlab code]( https://github.com/spm/spm/blob/main/external/mne/mne_write_surface.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/mne/mne_write_surface.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("mne_write_surface", *args, **kwargs, nargout=0) diff --git a/spm/__external/__mne/mne_write_w_file.py b/spm/__external/__mne/mne_write_w_file.py index 0373d3eb..bd311d25 100644 --- a/spm/__external/__mne/mne_write_w_file.py +++ b/spm/__external/__mne/mne_write_w_file.py @@ -2,7 +2,7 @@ def mne_write_w_file(*args, **kwargs): - """ + r""" mne_write_w_file(filename, w) writes a binary 'w' file @@ -14,9 +14,12 @@ def mne_write_w_file(*args, **kwargs): data - vector of data values - [Matlab code]( https://github.com/spm/spm/blob/main/external/mne/mne_write_w_file.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/mne/mne_write_w_file.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("mne_write_w_file", *args, **kwargs) diff --git a/spm/__external/__mne/mne_write_w_file1.py b/spm/__external/__mne/mne_write_w_file1.py index 9c84eb62..d742d536 100644 --- a/spm/__external/__mne/mne_write_w_file1.py +++ b/spm/__external/__mne/mne_write_w_file1.py @@ -2,7 +2,7 @@ def mne_write_w_file1(*args, **kwargs): - """ + r""" mne_write_w_file1(filename, w) writes a binary 'w' file @@ -14,9 +14,12 @@ def mne_write_w_file1(*args, **kwargs): data - vector of data values - [Matlab code]( https://github.com/spm/spm/blob/main/external/mne/mne_write_w_file1.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/external/mne/mne_write_w_file1.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("mne_write_w_file1", *args, **kwargs) diff --git a/spm/__init__.py b/spm/__init__.py index 0d5f36b3..e1ae476f 100644 --- a/spm/__init__.py +++ b/spm/__init__.py @@ -1,14 +1,4 @@ -from mpython import ( - MatlabClass, - MatlabFunction, - Cell, - Struct, - Array, - SparseArray, -) -from spm._runtime import Runtime -from spm._version import __version__ - +from mpython import Runtime, MatlabClass, MatlabFunction, Cell, Struct, Array, SparseArray from .file_array import file_array from .gifti import gifti from .meeg import meeg @@ -169,7 +159,11 @@ spm_run_voi ) from .__external import ( - bemcp_example, + mesh_icosahedron, + mesh_octahedron, + mesh_sphere, + mesh_tetrahedron, + refine, addCTFtrial, getCTFdata, readCPersist, @@ -185,8 +179,6 @@ read_eep_avr, read_eep_cnt, read_eep_rej, - read_eep_trg, - read_eep_trial, write_eep_avr, write_eep_cnt, besa2fieldtrip, @@ -206,19 +198,37 @@ ft_connectivity_wpli, data2bids, edf2fieldtrip, + eeg_loadbvrf, + loadbvrf, + CalcMD5, + DataHash, + arrow, + base64decode, + base64encode, + icp, + keep, + pan_tompkin, + stlwrite, + subtightplot, uimage, uimagesc, + vtkwrite, rgb2hsv, boxcar, + dpss, + precompute_dpss, flattopwin, hanning, hilbert, binocdf, binopdf, - common_size, + knnsearch, + kurtosis, mvnrnd, nanvar, + pdist2, range_, + skewness, tcdf, tinv, fieldtrip2besa, @@ -259,7 +269,6 @@ ft_write_sens, ft_write_spike, ft_write_tsv, - ft_apply_montage, ft_compute_leadfield, ft_convert_units, ft_determine_units, @@ -271,6 +280,7 @@ ft_headmodel_duneuro, ft_headmodel_fns, ft_headmodel_halfspace, + ft_headmodel_hbf, ft_headmodel_infinite, ft_headmodel_interpolate, ft_headmodel_localspheres, @@ -338,6 +348,7 @@ ft_electrodeplacement, ft_electroderealign, ft_electrodermalactivity, + ft_electrodeselection, ft_eventtiminganalysis, ft_examplefunction, ft_freqanalysis, @@ -388,6 +399,7 @@ ft_resampledata, ft_respiration, ft_scalpcurrentdensity, + ft_sensorplacement, ft_singleplotER, ft_singleplotTFR, ft_sliceinterp, @@ -443,6 +455,7 @@ loreta2fieldtrip, nutmeg2fieldtrip, ft_colormap, + ft_headlight, ft_plot_axes, ft_plot_box, ft_plot_cloud, @@ -502,8 +515,10 @@ ft_specest_tfr, ft_specest_wavelet, spm2fieldtrip, + combineClusters, det2x2, det3x3, + ft_getopt, getpid, inv2x2, inv3x3, @@ -514,6 +529,7 @@ mtimes3x3, mxDeserialize, mxSerialize, + nanvar, plgndr, plinproj, ptriproj, @@ -565,6 +581,7 @@ copyfields, dccnpath, ft_affinecoordinates, + ft_apply_montage, ft_average_sens, ft_cfg2keyval, ft_channelcombination, @@ -590,6 +607,7 @@ ft_datatype_timelock, ft_datatype_volume, ft_debug, + ft_deleteopt, ft_determine_coordsys, ft_documentationconfiguration, ft_documentationreference, @@ -603,6 +621,7 @@ ft_hastoolbox, ft_headcoordinates, ft_info, + ft_inverse_montage, ft_keyval2cfg, ft_notice, ft_platform_supports, @@ -867,6 +886,8 @@ cfg_findspec, cfg_get_defaults, cfg_getfile, + cfg_getfile_cpath, + cfg_getfile_pathparts, cfg_load_jobs, cfg_message, cfg_mlbatch_appcfg, @@ -941,6 +962,7 @@ from .spm_DesRep import spm_DesRep from .spm_DisplayTimeSeries import spm_DisplayTimeSeries from .spm_Dpdf import spm_Dpdf +from .spm_EC_density import spm_EC_density from .spm_ECdensity import spm_ECdensity from .spm_FcUtil import spm_FcUtil from .spm_Fcdf import spm_Fcdf @@ -973,6 +995,7 @@ from .spm_NESS_ds import spm_NESS_ds from .spm_NESS_gen import spm_NESS_gen from .spm_NESS_gen_lap import spm_NESS_gen_lap +from .spm_NESS_priors import spm_NESS_priors from .spm_Ncdf import spm_Ncdf from .spm_Ncdf_jdw import spm_Ncdf_jdw from .spm_Npdf import spm_Npdf @@ -992,7 +1015,6 @@ from .spm_SpUtil import spm_SpUtil from .spm_Tcdf import spm_Tcdf from .spm_Tpdf import spm_Tpdf -from .spm_VBX import spm_VBX from .spm_VOI import spm_VOI from .spm_Volt_W import spm_Volt_W from .spm_Volterra import spm_Volterra @@ -1168,6 +1190,7 @@ from .spm_diff_dx import spm_diff_dx from .spm_diffeo import spm_diffeo from .spm_dilate import spm_dilate +from .spm_dir_H import spm_dir_H from .spm_dir_MI import spm_dir_MI from .spm_dir_norm import spm_dir_norm from .spm_dir_sort import spm_dir_sort @@ -1352,6 +1375,7 @@ from .spm_fs_fmri_csd import spm_fs_fmri_csd from .spm_funcheck import spm_funcheck from .spm_funfun import spm_funfun +from .spm_fx_NESS import spm_fx_NESS from .spm_fx_fmri import spm_fx_fmri from .spm_fx_fmri_linear import spm_fx_fmri_linear from .spm_fx_hdm import spm_fx_hdm @@ -1441,8 +1465,10 @@ from .spm_log_evidence import spm_log_evidence from .spm_log_evidence_reduce import spm_log_evidence_reduce from .spm_logdet import spm_logdet +from .spm_logo import spm_logo from .spm_lorenz_k import spm_lorenz_k from .spm_lotka_volterra import spm_lotka_volterra +from .spm_mac_permissions import spm_mac_permissions from .spm_maff8 import spm_maff8 from .spm_make_contrasts import spm_make_contrasts from .spm_marginal import spm_marginal @@ -1539,6 +1565,7 @@ from .spm_ness_Sp2p import spm_ness_Sp2p from .spm_ness_U import spm_ness_U from .spm_ness_cond import spm_ness_cond +from .spm_ness_cond_inv import spm_ness_cond_inv from .spm_ness_flows import spm_ness_flows from .spm_ness_hd import spm_ness_hd from .spm_ness_m2S import spm_ness_m2S @@ -1625,6 +1652,7 @@ from .spm_sections import spm_sections from .spm_select import spm_select from .spm_sepmul3d import spm_sepmul3d +from .spm_setmeshpaths import spm_setmeshpaths from .spm_shp_get_model import spm_shp_get_model from .spm_shp_get_transforms import spm_shp_get_transforms from .spm_shp_install import spm_shp_install @@ -1729,106 +1757,52 @@ from .spm_z2p import spm_z2p from .spm_zeros import spm_zeros from .__tests import ( + dts_meeg_add_eeg_bem_forward, + dts_meeg_check_fit_reference, + dts_meeg_csd_forward_model, + dts_meeg_csd_lfp_template, + dts_meeg_export_a1_lfp, + dts_meeg_fit_csd_model, + dts_meeg_fit_erp_model, + dts_meeg_fixed_data_cases, + dts_meeg_lfp_template, + dts_meeg_neural_fixture, + dts_meeg_prepare_a1_lfp, + dts_meeg_prepare_mmn_eeg, + dts_meeg_prior_lfp_response, + dts_meeg_sample_sensor_fixture, + dts_meeg_sensor_template, + dts_meeg_setup_paths, + dts_meeg_test_defaults, + dts_meeg_write_lfp_fixture, + dts_prep01_make_test_fixtures, + dts_prep02_generate_reference_data, ROBOT_DCM_EEG, ROBOT_DCM_fMRI, ROBOT_DEM, end2end_attention, end2end_restingfMRI, spm_eeg_test_coverage, - test_checkcode, - test_gifti, - test_regress_fmri_glm_dcm, - test_regress_fmri_group, - test_regress_spm_dcm_fmri, - test_regress_spm_distort_mesh, - test_regress_spm_opm, - test_spm, - test_spm_BMS_gibbs, - test_spm_Ce, - test_spm_Ncdf, - test_spm_bireduce, - test_spm_cat_struct, - test_spm_cfg_dcm_est, - test_spm_cfg_dcm_fmri, - test_spm_cfg_dcm_peb, - test_spm_create_vol, - test_spm_dcm_bma, - test_spm_dcm_bmr, - test_spm_dcm_bmr_all, - test_spm_dcm_bpa, - test_spm_dcm_fit, - test_spm_dcm_fmri_check, - test_spm_dcm_fmri_csd, - test_spm_dcm_identify, - test_spm_dcm_loo, - test_spm_dcm_peb, - test_spm_dcm_peb_bmc, - test_spm_dcm_peb_bmc_fam, - test_spm_dcm_peb_review, - test_spm_dcm_peb_to_gcm, - test_spm_dcm_post_hoc, - test_spm_dcm_simulate, - test_spm_dcm_specify, - test_spm_dctmtx, - test_spm_eeg_average, - test_spm_eeg_bc, - test_spm_eeg_crop, - test_spm_eeg_ffilter, - test_spm_eeg_filter, - test_spm_eeg_grandmean, - test_spm_eeg_load, - test_spm_eeg_merge, - test_spm_fileparts, - test_spm_filter, - test_spm_gamrnd, - test_spm_get_data, - test_spm_get_lm, - test_spm_invNcdf, - test_spm_jsonread, - test_spm_jsonwrite, - test_spm_mar, - test_spm_mesh_adjacency, - test_spm_mesh_area, - test_spm_mesh_borders, - test_spm_mesh_contour, - test_spm_mesh_dist, - test_spm_mesh_edges, - test_spm_mesh_euler, - test_spm_mesh_geodesic, - test_spm_mesh_get_lm, - test_spm_mesh_label, - test_spm_mesh_laplacian, - test_spm_mesh_neighbours, - test_spm_mesh_normals, - test_spm_mesh_ray_intersect, - test_spm_mesh_reduce, - test_spm_mesh_refine, - test_spm_mesh_sdf, - test_spm_mesh_smooth, - test_spm_mesh_sphere, - test_spm_mesh_volume, - test_spm_ncFcdf, - test_spm_ncFpdf, - test_spm_ncTcdf, - test_spm_ncTpdf, - test_spm_openmp, - test_spm_opm_create, - test_spm_opm_epoch_trigger, - test_spm_opm_headmodel, - test_spm_opm_hfc, - test_spm_opm_psd, - test_spm_opm_rpsd, - test_spm_opm_sim, - test_spm_opm_vslm, - test_spm_platform, - test_spm_plot_ci, - test_spm_run_dcm_bms, - test_spm_sum, - test_spm_trace, - test_spm_update, - test_spm_z2p + spm_setup_data_attention, + test_regress_spm_distort_mesh ) from .__toolbox import ( + parfor_progress, + spm_bsd, + spm_bsd_batch, + spm_bsd_csd, + spm_bsd_data, + spm_bsd_int, + spm_bsd_int_parfor, + spm_bsd_nlsi_GN, + spm_bsd_param2spec, + spm_bsd_priors, + spm_bsd_reduce, + spm_bsd_results, + spm_bsd_search, + spm_bsd_spec2param, + spm_dcm_compute_vfe, + tbx_cfg_bsd, dartel3, optimN, optimNn, @@ -1924,9 +1898,15 @@ spm_beamforming, tbx_cfg_bf, ADEM_SHC_demo, + ADEM_cost, ADEM_cost_SHC, ADEM_cued_response, ADEM_eyeblink, + ADEM_intercept, + ADEM_intercept_I, + ADEM_intercept_II, + ADEM_intercept_III, + ADEM_intercept_IV, ADEM_learning, ADEM_lorenz, ADEM_lorenz_entropy, @@ -1936,6 +1916,7 @@ ADEM_observe, ADEM_occlusion, ADEM_occulomotor_delays, + ADEM_physics, ADEM_plaid, ADEM_pursuit, ADEM_reaching, @@ -1961,10 +1942,16 @@ DEMO_MDP_Understanding, DEMO_MDP_maze, DEMO_MDP_maze_X, + DEMO_MDP_maze_XXX, DEMO_MDP_questions, DEMO_MDP_voice, DEMO_SLR, DEMO_niche_construction, + DEM_Atari, + DEM_AtariI, + DEM_AtariII, + DEM_AtariIII, + DEM_AtariIV, DEM_CLIMATE_India, DEM_COVID, DEM_COVID_AGE, @@ -1972,6 +1959,7 @@ DEM_COVID_DASH, DEM_COVID_I, DEM_COVID_LTLA, + DEM_COVID_MASKS, DEM_COVID_S, DEM_COVID_T, DEM_COVID_UK, @@ -1979,18 +1967,30 @@ DEM_COVID_UTLA, DEM_COVID_WID, DEM_COVID_X, + DEM_Diabetes, DEM_Dispatches, DEM_FEP_Least_Action, DEM_FEP_Lorenz, + DEM_FIN, DEM_HB_and_LE, DEM_Immune, DEM_MDP_decision, + DEM_MNIST, + DEM_MNIST_RGM, + DEM_MNIST_compression, + DEM_MNIST_conv, + DEM_MNIST_mixture, + DEM_Pong, DEM_SARS, DEM_SARS_I, DEM_Stephen, + DEM_Tower, + DEM_Tower_of_Hanoi, DEM_birdsong, DEM_cells, DEM_cells_cells, + DEM_chaos_compression, + DEM_compression, DEM_coupled_oscillators, DEM_dSprites, DEM_demo, @@ -2011,6 +2011,7 @@ DEM_demo_MDP_DEM, DEM_demo_MDP_X, DEM_demo_MDP_XX, + DEM_demo_MDP_XXX, DEM_demo_MDP_fit, DEM_demo_MDP_fit_fields, DEM_demo_MDP_habits, @@ -2052,33 +2053,58 @@ DEM_demo_song_omission, DEM_demo_song_priors, DEM_demo_texture, + DEM_drone, + DEM_drone_V, + DEM_drone_VI, + DEM_drone_inspection, + DEM_drone_telemetry, + DEM_drone_vision, DEM_evidence_accumulation, + DEM_federation, DEM_get_faces, + DEM_greedy_MNIST, + DEM_image_compression, + DEM_laws, + DEM_masks_Cam, + DEM_metric_BMR, DEM_morphogenesis, + DEM_music_compression, + DEM_ness_Lap, DEM_path_integrals, + DEM_paths, DEM_psychophysics, + DEM_reasoning, + DEM_reverse_paths, DEM_self_entropy, - DEM_sharing, + DEM_sound_compression, DEM_spatial_deconvolution, DEM_surveillance, + DEM_swarm, + DEM_syntax, + DEM_thermostat, DEM_vaccination, + DEM_video_compression, DFP_demo_double_well, DFP_demo_hdm, FEP_MB_demo, FEP_Manifold, + FEP_biology, FEP_fluctuations, FEP_information_length, FEP_lorenz_surprise, FEP_physics, FEP_self_entropy, + FIN_TEST, KLDemo, MDP_DEM_Mixed_Models_Movement, MDP_DEM_Oculomotion_Pharma_demo, MDP_DEM_Oculomotion_demo, MDP_Heart_Beat, Markov_blankets_and_NESS, + breakout, expmall, ndstest, + spm_ADEM_UNITY, spm_ADEM_cue_rt, spm_ADEM_set_rt, spm_CLIMATE_ci, @@ -2105,16 +2131,20 @@ spm_COVID_table, spm_DEM_ButtonDownFcn, spm_DEM_EEG, + spm_DEM_G, spm_DEM_M, spm_DEM_MEG, spm_DEM_T, spm_DEM_basis, + spm_DEM_embed_path, spm_DEM_movie, spm_DEM_play, spm_DEM_play_song, spm_DEM_qC, spm_Lap2Lorenz, + spm_MB_structure_learning, spm_MDP, + spm_MDP_BMR, spm_MDP_DEM, spm_MDP_DP, spm_MDP_F, @@ -2130,21 +2160,48 @@ spm_MDP_VB_sleep, spm_MDP_VB_trial, spm_MDP_VB_update, + spm_MDP_arcade, + spm_MDP_breakout, spm_MDP_check, + spm_MDP_checkX, + spm_MDP_check_labels, + spm_MDP_conv, spm_MDP_factor_graph, spm_MDP_game, spm_MDP_game_KL, spm_MDP_game_optimism, + spm_MDP_generate, spm_MDP_link, spm_MDP_log_evidence, spm_MDP_mountain_car, spm_MDP_offer, + spm_MDP_params, spm_MDP_plot, + spm_MDP_pong, + spm_MDP_rules, spm_MDP_size, spm_MDP_structure_learning, + spm_MDP_structure_teaching, spm_MDP_trust, spm_MDP_urn, spm_NESS_constraints, + spm_NESS_forecast, + spm_NESS_forecasting, + spm_NESS_forecastness, + spm_O2rgb, + spm_O2wav, + spm_Q2mdp, + spm_RDP_MI, + spm_RDP_O, + spm_RDP_basin, + spm_RDP_compress, + spm_RDP_ness, + spm_RDP_params, + spm_RDP_prune, + spm_RDP_radius, + spm_RDP_reduce, + spm_RDP_sort, + spm_RDP_update, spm_SARS_ci, spm_SARS_gen, spm_SARS_plot, @@ -2152,12 +2209,17 @@ spm_SARS_priors_B, spm_SCK, spm_SHC_fx, + spm_VBX, + spm_VB_XXX, + spm_check_edges, + spm_clear, spm_cornsweet, spm_cost_SHC_fx, spm_cost_SHC_fxa, spm_cost_SHC_path, spm_cost_fx, spm_cost_fxa, + spm_daisy_chain, spm_dem_ERP, spm_dem_cue_movie, spm_dem_initialise, @@ -2172,6 +2234,13 @@ spm_dem_search_trajectory, spm_dem_set_movie, spm_diff_all, + spm_dir_disentangle, + spm_dir_orbits, + spm_dir_orbits3, + spm_dir_reduce, + spm_edges, + spm_fast_structure_learning, + spm_faster_structure_learning, spm_find_internal, spm_fx_Gabor, spm_fx_Lagrangian, @@ -2190,6 +2259,9 @@ spm_fx_mountaincar, spm_fx_mountaincar_Q, spm_gamma_log_evidence, + spm_get_episodes, + spm_get_outcomes, + spm_get_sequences, spm_gx_Gabor, spm_gx_SHC, spm_gx_adem_cue, @@ -2205,10 +2277,15 @@ spm_gx_hdm_sck, spm_ho_gm, spm_ho_poly, + spm_i2p, spm_immune, spm_immune_gen, spm_immune_plot, spm_immune_priors, + spm_imshow, + spm_imwt, + spm_index, + spm_information_distance, spm_mc_fx, spm_mc_fx_1, spm_mc_fx_2, @@ -2219,12 +2296,32 @@ spm_mc_fxa_5, spm_mc_loss_C, spm_mc_loss_G, + spm_mdp2rdp, + spm_mdp2rdp_a, + spm_mdp_a2A, + spm_mdp_compress, + spm_merge_structure_learning, spm_meta_model, spm_mountaincar_Q, spm_mountaincar_fun, spm_mountaincar_movie, spm_multinomial_log_evidence, + spm_mwt, + spm_parents, + spm_portfolio, + spm_rdp2mdp, + spm_resolve, + spm_rgb2O, + spm_rgm_group, spm_salience_map, + spm_set_costs, + spm_set_goals, + spm_show_RGB, + spm_show_RGM, + spm_show_WAV, + spm_sub2ind, + spm_tile, + spm_unique, spm_voice, spm_voice_FS, spm_voice_P300, @@ -2252,6 +2349,8 @@ spm_voice_speak, spm_voice_test, spm_voice_warp, + spm_wav2O, + spm_wavshow, FieldMap, FieldMap_Run, FieldMap_applyvdm, @@ -2273,7 +2372,6 @@ pm_pad, pm_restore_ramp, pm_seed, - pm_segment, pm_smooth_phasemap, pm_unwrap, tbx_cfg_fieldmap, @@ -2326,6 +2424,7 @@ spm_eeg_inv_optireg, spm_eeg_megheadloc, spm_eeg_recode_epoched_ctf, + spm_eeg_remove_dbs_artefact, spm_eeg_remove_jumps, spm_eeg_remove_spikes, spm_eeg_reref_eeg, @@ -2334,6 +2433,8 @@ spm_eeg_transform_cap, spm_eeg_var_measures, spm_mesh_pack_points, + spm_opm_apply_calibration, + spm_opm_calibrate_from_coils, spm_opm_create, spm_opm_epoch_trigger, spm_opm_headmodel, @@ -2344,6 +2445,7 @@ spm_opm_read_lvm, spm_opm_rpsd, spm_opm_sim, + spm_opm_ssp, spm_opm_synth_gradiometer, spm_opm_vslm, spm_dcm_nvc, @@ -2452,6 +2554,11 @@ spm_TVdenoise2, spm_TVdenoise_config, spm_dctdst, + spm_depth, + spm_distance3, + spm_est_vdm_from_phase, + spm_julia, + spm_mask_from_segments, spm_run_denoise, spm_scope, spm_scope_config, @@ -2459,8 +2566,9 @@ spm_slice2vol_config, spm_slice2vol_estimate, spm_slice2vol_reslice, - spm_topup, - spm_topup_config, + spm_smooth_extrap, + spm_thin, + spm_topo_lookup, tbx_cfg_spatial, tbx_cfg_tsss, tsss_config, @@ -2943,7 +3051,11 @@ "spm_run_st", "spm_run_tissue_volumes", "spm_run_voi", - "bemcp_example", + "mesh_icosahedron", + "mesh_octahedron", + "mesh_sphere", + "mesh_tetrahedron", + "refine", "addCTFtrial", "getCTFdata", "readCPersist", @@ -2959,8 +3071,6 @@ "read_eep_avr", "read_eep_cnt", "read_eep_rej", - "read_eep_trg", - "read_eep_trial", "write_eep_avr", "write_eep_cnt", "besa2fieldtrip", @@ -2980,19 +3090,37 @@ "ft_connectivity_wpli", "data2bids", "edf2fieldtrip", + "eeg_loadbvrf", + "loadbvrf", + "CalcMD5", + "DataHash", + "arrow", + "base64decode", + "base64encode", + "icp", + "keep", + "pan_tompkin", + "stlwrite", + "subtightplot", "uimage", "uimagesc", + "vtkwrite", "rgb2hsv", "boxcar", + "dpss", + "precompute_dpss", "flattopwin", "hanning", "hilbert", "binocdf", "binopdf", - "common_size", + "knnsearch", + "kurtosis", "mvnrnd", "nanvar", + "pdist2", "range_", + "skewness", "tcdf", "tinv", "fieldtrip2besa", @@ -3033,7 +3161,6 @@ "ft_write_sens", "ft_write_spike", "ft_write_tsv", - "ft_apply_montage", "ft_compute_leadfield", "ft_convert_units", "ft_determine_units", @@ -3045,6 +3172,7 @@ "ft_headmodel_duneuro", "ft_headmodel_fns", "ft_headmodel_halfspace", + "ft_headmodel_hbf", "ft_headmodel_infinite", "ft_headmodel_interpolate", "ft_headmodel_localspheres", @@ -3112,6 +3240,7 @@ "ft_electrodeplacement", "ft_electroderealign", "ft_electrodermalactivity", + "ft_electrodeselection", "ft_eventtiminganalysis", "ft_examplefunction", "ft_freqanalysis", @@ -3162,6 +3291,7 @@ "ft_resampledata", "ft_respiration", "ft_scalpcurrentdensity", + "ft_sensorplacement", "ft_singleplotER", "ft_singleplotTFR", "ft_sliceinterp", @@ -3217,6 +3347,7 @@ "loreta2fieldtrip", "nutmeg2fieldtrip", "ft_colormap", + "ft_headlight", "ft_plot_axes", "ft_plot_box", "ft_plot_cloud", @@ -3276,8 +3407,10 @@ "ft_specest_tfr", "ft_specest_wavelet", "spm2fieldtrip", + "combineClusters", "det2x2", "det3x3", + "ft_getopt", "getpid", "inv2x2", "inv3x3", @@ -3288,6 +3421,7 @@ "mtimes3x3", "mxDeserialize", "mxSerialize", + "nanvar", "plgndr", "plinproj", "ptriproj", @@ -3339,6 +3473,7 @@ "copyfields", "dccnpath", "ft_affinecoordinates", + "ft_apply_montage", "ft_average_sens", "ft_cfg2keyval", "ft_channelcombination", @@ -3364,6 +3499,7 @@ "ft_datatype_timelock", "ft_datatype_volume", "ft_debug", + "ft_deleteopt", "ft_determine_coordsys", "ft_documentationconfiguration", "ft_documentationreference", @@ -3377,6 +3513,7 @@ "ft_hastoolbox", "ft_headcoordinates", "ft_info", + "ft_inverse_montage", "ft_keyval2cfg", "ft_notice", "ft_platform_supports", @@ -3637,6 +3774,8 @@ "cfg_findspec", "cfg_get_defaults", "cfg_getfile", + "cfg_getfile_cpath", + "cfg_getfile_pathparts", "cfg_load_jobs", "cfg_message", "cfg_mlbatch_appcfg", @@ -3710,6 +3849,7 @@ "spm_DesRep", "spm_DisplayTimeSeries", "spm_Dpdf", + "spm_EC_density", "spm_ECdensity", "spm_FcUtil", "spm_Fcdf", @@ -3742,6 +3882,7 @@ "spm_NESS_ds", "spm_NESS_gen", "spm_NESS_gen_lap", + "spm_NESS_priors", "spm_Ncdf", "spm_Ncdf_jdw", "spm_Npdf", @@ -3761,7 +3902,6 @@ "spm_SpUtil", "spm_Tcdf", "spm_Tpdf", - "spm_VBX", "spm_VOI", "spm_Volt_W", "spm_Volterra", @@ -3937,6 +4077,7 @@ "spm_diff_dx", "spm_diffeo", "spm_dilate", + "spm_dir_H", "spm_dir_MI", "spm_dir_norm", "spm_dir_sort", @@ -4121,6 +4262,7 @@ "spm_fs_fmri_csd", "spm_funcheck", "spm_funfun", + "spm_fx_NESS", "spm_fx_fmri", "spm_fx_fmri_linear", "spm_fx_hdm", @@ -4210,8 +4352,10 @@ "spm_log_evidence", "spm_log_evidence_reduce", "spm_logdet", + "spm_logo", "spm_lorenz_k", "spm_lotka_volterra", + "spm_mac_permissions", "spm_maff8", "spm_make_contrasts", "spm_marginal", @@ -4308,6 +4452,7 @@ "spm_ness_Sp2p", "spm_ness_U", "spm_ness_cond", + "spm_ness_cond_inv", "spm_ness_flows", "spm_ness_hd", "spm_ness_m2S", @@ -4392,6 +4537,7 @@ "spm_sections", "spm_select", "spm_sepmul3d", + "spm_setmeshpaths", "spm_shp_get_model", "spm_shp_get_transforms", "spm_shp_install", @@ -4495,104 +4641,50 @@ "spm_write_vol", "spm_z2p", "spm_zeros", + "dts_meeg_add_eeg_bem_forward", + "dts_meeg_check_fit_reference", + "dts_meeg_csd_forward_model", + "dts_meeg_csd_lfp_template", + "dts_meeg_export_a1_lfp", + "dts_meeg_fit_csd_model", + "dts_meeg_fit_erp_model", + "dts_meeg_fixed_data_cases", + "dts_meeg_lfp_template", + "dts_meeg_neural_fixture", + "dts_meeg_prepare_a1_lfp", + "dts_meeg_prepare_mmn_eeg", + "dts_meeg_prior_lfp_response", + "dts_meeg_sample_sensor_fixture", + "dts_meeg_sensor_template", + "dts_meeg_setup_paths", + "dts_meeg_test_defaults", + "dts_meeg_write_lfp_fixture", + "dts_prep01_make_test_fixtures", + "dts_prep02_generate_reference_data", "ROBOT_DCM_EEG", "ROBOT_DCM_fMRI", "ROBOT_DEM", "end2end_attention", "end2end_restingfMRI", "spm_eeg_test_coverage", - "test_checkcode", - "test_gifti", - "test_regress_fmri_glm_dcm", - "test_regress_fmri_group", - "test_regress_spm_dcm_fmri", + "spm_setup_data_attention", "test_regress_spm_distort_mesh", - "test_regress_spm_opm", - "test_spm", - "test_spm_BMS_gibbs", - "test_spm_Ce", - "test_spm_Ncdf", - "test_spm_bireduce", - "test_spm_cat_struct", - "test_spm_cfg_dcm_est", - "test_spm_cfg_dcm_fmri", - "test_spm_cfg_dcm_peb", - "test_spm_create_vol", - "test_spm_dcm_bma", - "test_spm_dcm_bmr", - "test_spm_dcm_bmr_all", - "test_spm_dcm_bpa", - "test_spm_dcm_fit", - "test_spm_dcm_fmri_check", - "test_spm_dcm_fmri_csd", - "test_spm_dcm_identify", - "test_spm_dcm_loo", - "test_spm_dcm_peb", - "test_spm_dcm_peb_bmc", - "test_spm_dcm_peb_bmc_fam", - "test_spm_dcm_peb_review", - "test_spm_dcm_peb_to_gcm", - "test_spm_dcm_post_hoc", - "test_spm_dcm_simulate", - "test_spm_dcm_specify", - "test_spm_dctmtx", - "test_spm_eeg_average", - "test_spm_eeg_bc", - "test_spm_eeg_crop", - "test_spm_eeg_ffilter", - "test_spm_eeg_filter", - "test_spm_eeg_grandmean", - "test_spm_eeg_load", - "test_spm_eeg_merge", - "test_spm_fileparts", - "test_spm_filter", - "test_spm_gamrnd", - "test_spm_get_data", - "test_spm_get_lm", - "test_spm_invNcdf", - "test_spm_jsonread", - "test_spm_jsonwrite", - "test_spm_mar", - "test_spm_mesh_adjacency", - "test_spm_mesh_area", - "test_spm_mesh_borders", - "test_spm_mesh_contour", - "test_spm_mesh_dist", - "test_spm_mesh_edges", - "test_spm_mesh_euler", - "test_spm_mesh_geodesic", - "test_spm_mesh_get_lm", - "test_spm_mesh_label", - "test_spm_mesh_laplacian", - "test_spm_mesh_neighbours", - "test_spm_mesh_normals", - "test_spm_mesh_ray_intersect", - "test_spm_mesh_reduce", - "test_spm_mesh_refine", - "test_spm_mesh_sdf", - "test_spm_mesh_smooth", - "test_spm_mesh_sphere", - "test_spm_mesh_volume", - "test_spm_ncFcdf", - "test_spm_ncFpdf", - "test_spm_ncTcdf", - "test_spm_ncTpdf", - "test_spm_openmp", - "test_spm_opm_create", - "test_spm_opm_epoch_trigger", - "test_spm_opm_headmodel", - "test_spm_opm_hfc", - "test_spm_opm_psd", - "test_spm_opm_rpsd", - "test_spm_opm_sim", - "test_spm_opm_vslm", - "test_spm_platform", - "test_spm_plot_ci", - "test_spm_run_dcm_bms", - "test_spm_sum", - "test_spm_trace", - "test_spm_update", - "test_spm_z2p", + "parfor_progress", + "spm_bsd", + "spm_bsd_batch", + "spm_bsd_csd", + "spm_bsd_data", + "spm_bsd_int", + "spm_bsd_int_parfor", + "spm_bsd_nlsi_GN", + "spm_bsd_param2spec", + "spm_bsd_priors", + "spm_bsd_reduce", + "spm_bsd_results", + "spm_bsd_search", + "spm_bsd_spec2param", + "spm_dcm_compute_vfe", + "tbx_cfg_bsd", "dartel3", "optimN", "optimNn", @@ -4688,9 +4780,15 @@ "spm_beamforming", "tbx_cfg_bf", "ADEM_SHC_demo", + "ADEM_cost", "ADEM_cost_SHC", "ADEM_cued_response", "ADEM_eyeblink", + "ADEM_intercept", + "ADEM_intercept_I", + "ADEM_intercept_II", + "ADEM_intercept_III", + "ADEM_intercept_IV", "ADEM_learning", "ADEM_lorenz", "ADEM_lorenz_entropy", @@ -4700,6 +4798,7 @@ "ADEM_observe", "ADEM_occlusion", "ADEM_occulomotor_delays", + "ADEM_physics", "ADEM_plaid", "ADEM_pursuit", "ADEM_reaching", @@ -4725,10 +4824,16 @@ "DEMO_MDP_Understanding", "DEMO_MDP_maze", "DEMO_MDP_maze_X", + "DEMO_MDP_maze_XXX", "DEMO_MDP_questions", "DEMO_MDP_voice", "DEMO_SLR", "DEMO_niche_construction", + "DEM_Atari", + "DEM_AtariI", + "DEM_AtariII", + "DEM_AtariIII", + "DEM_AtariIV", "DEM_CLIMATE_India", "DEM_COVID", "DEM_COVID_AGE", @@ -4736,6 +4841,7 @@ "DEM_COVID_DASH", "DEM_COVID_I", "DEM_COVID_LTLA", + "DEM_COVID_MASKS", "DEM_COVID_S", "DEM_COVID_T", "DEM_COVID_UK", @@ -4743,18 +4849,30 @@ "DEM_COVID_UTLA", "DEM_COVID_WID", "DEM_COVID_X", + "DEM_Diabetes", "DEM_Dispatches", "DEM_FEP_Least_Action", "DEM_FEP_Lorenz", + "DEM_FIN", "DEM_HB_and_LE", "DEM_Immune", "DEM_MDP_decision", + "DEM_MNIST", + "DEM_MNIST_RGM", + "DEM_MNIST_compression", + "DEM_MNIST_conv", + "DEM_MNIST_mixture", + "DEM_Pong", "DEM_SARS", "DEM_SARS_I", "DEM_Stephen", + "DEM_Tower", + "DEM_Tower_of_Hanoi", "DEM_birdsong", "DEM_cells", "DEM_cells_cells", + "DEM_chaos_compression", + "DEM_compression", "DEM_coupled_oscillators", "DEM_dSprites", "DEM_demo", @@ -4775,6 +4893,7 @@ "DEM_demo_MDP_DEM", "DEM_demo_MDP_X", "DEM_demo_MDP_XX", + "DEM_demo_MDP_XXX", "DEM_demo_MDP_fit", "DEM_demo_MDP_fit_fields", "DEM_demo_MDP_habits", @@ -4816,33 +4935,58 @@ "DEM_demo_song_omission", "DEM_demo_song_priors", "DEM_demo_texture", + "DEM_drone", + "DEM_drone_V", + "DEM_drone_VI", + "DEM_drone_inspection", + "DEM_drone_telemetry", + "DEM_drone_vision", "DEM_evidence_accumulation", + "DEM_federation", "DEM_get_faces", + "DEM_greedy_MNIST", + "DEM_image_compression", + "DEM_laws", + "DEM_masks_Cam", + "DEM_metric_BMR", "DEM_morphogenesis", + "DEM_music_compression", + "DEM_ness_Lap", "DEM_path_integrals", + "DEM_paths", "DEM_psychophysics", + "DEM_reasoning", + "DEM_reverse_paths", "DEM_self_entropy", - "DEM_sharing", + "DEM_sound_compression", "DEM_spatial_deconvolution", "DEM_surveillance", + "DEM_swarm", + "DEM_syntax", + "DEM_thermostat", "DEM_vaccination", + "DEM_video_compression", "DFP_demo_double_well", "DFP_demo_hdm", "FEP_MB_demo", "FEP_Manifold", + "FEP_biology", "FEP_fluctuations", "FEP_information_length", "FEP_lorenz_surprise", "FEP_physics", "FEP_self_entropy", + "FIN_TEST", "KLDemo", "MDP_DEM_Mixed_Models_Movement", "MDP_DEM_Oculomotion_Pharma_demo", "MDP_DEM_Oculomotion_demo", "MDP_Heart_Beat", "Markov_blankets_and_NESS", + "breakout", "expmall", "ndstest", + "spm_ADEM_UNITY", "spm_ADEM_cue_rt", "spm_ADEM_set_rt", "spm_CLIMATE_ci", @@ -4869,16 +5013,20 @@ "spm_COVID_table", "spm_DEM_ButtonDownFcn", "spm_DEM_EEG", + "spm_DEM_G", "spm_DEM_M", "spm_DEM_MEG", "spm_DEM_T", "spm_DEM_basis", + "spm_DEM_embed_path", "spm_DEM_movie", "spm_DEM_play", "spm_DEM_play_song", "spm_DEM_qC", "spm_Lap2Lorenz", + "spm_MB_structure_learning", "spm_MDP", + "spm_MDP_BMR", "spm_MDP_DEM", "spm_MDP_DP", "spm_MDP_F", @@ -4894,21 +5042,48 @@ "spm_MDP_VB_sleep", "spm_MDP_VB_trial", "spm_MDP_VB_update", + "spm_MDP_arcade", + "spm_MDP_breakout", "spm_MDP_check", + "spm_MDP_checkX", + "spm_MDP_check_labels", + "spm_MDP_conv", "spm_MDP_factor_graph", "spm_MDP_game", "spm_MDP_game_KL", "spm_MDP_game_optimism", + "spm_MDP_generate", "spm_MDP_link", "spm_MDP_log_evidence", "spm_MDP_mountain_car", "spm_MDP_offer", + "spm_MDP_params", "spm_MDP_plot", + "spm_MDP_pong", + "spm_MDP_rules", "spm_MDP_size", "spm_MDP_structure_learning", + "spm_MDP_structure_teaching", "spm_MDP_trust", "spm_MDP_urn", "spm_NESS_constraints", + "spm_NESS_forecast", + "spm_NESS_forecasting", + "spm_NESS_forecastness", + "spm_O2rgb", + "spm_O2wav", + "spm_Q2mdp", + "spm_RDP_MI", + "spm_RDP_O", + "spm_RDP_basin", + "spm_RDP_compress", + "spm_RDP_ness", + "spm_RDP_params", + "spm_RDP_prune", + "spm_RDP_radius", + "spm_RDP_reduce", + "spm_RDP_sort", + "spm_RDP_update", "spm_SARS_ci", "spm_SARS_gen", "spm_SARS_plot", @@ -4916,12 +5091,17 @@ "spm_SARS_priors_B", "spm_SCK", "spm_SHC_fx", + "spm_VBX", + "spm_VB_XXX", + "spm_check_edges", + "spm_clear", "spm_cornsweet", "spm_cost_SHC_fx", "spm_cost_SHC_fxa", "spm_cost_SHC_path", "spm_cost_fx", "spm_cost_fxa", + "spm_daisy_chain", "spm_dem_ERP", "spm_dem_cue_movie", "spm_dem_initialise", @@ -4936,6 +5116,13 @@ "spm_dem_search_trajectory", "spm_dem_set_movie", "spm_diff_all", + "spm_dir_disentangle", + "spm_dir_orbits", + "spm_dir_orbits3", + "spm_dir_reduce", + "spm_edges", + "spm_fast_structure_learning", + "spm_faster_structure_learning", "spm_find_internal", "spm_fx_Gabor", "spm_fx_Lagrangian", @@ -4954,6 +5141,9 @@ "spm_fx_mountaincar", "spm_fx_mountaincar_Q", "spm_gamma_log_evidence", + "spm_get_episodes", + "spm_get_outcomes", + "spm_get_sequences", "spm_gx_Gabor", "spm_gx_SHC", "spm_gx_adem_cue", @@ -4969,10 +5159,15 @@ "spm_gx_hdm_sck", "spm_ho_gm", "spm_ho_poly", + "spm_i2p", "spm_immune", "spm_immune_gen", "spm_immune_plot", "spm_immune_priors", + "spm_imshow", + "spm_imwt", + "spm_index", + "spm_information_distance", "spm_mc_fx", "spm_mc_fx_1", "spm_mc_fx_2", @@ -4983,12 +5178,32 @@ "spm_mc_fxa_5", "spm_mc_loss_C", "spm_mc_loss_G", + "spm_mdp2rdp", + "spm_mdp2rdp_a", + "spm_mdp_a2A", + "spm_mdp_compress", + "spm_merge_structure_learning", "spm_meta_model", "spm_mountaincar_Q", "spm_mountaincar_fun", "spm_mountaincar_movie", "spm_multinomial_log_evidence", + "spm_mwt", + "spm_parents", + "spm_portfolio", + "spm_rdp2mdp", + "spm_resolve", + "spm_rgb2O", + "spm_rgm_group", "spm_salience_map", + "spm_set_costs", + "spm_set_goals", + "spm_show_RGB", + "spm_show_RGM", + "spm_show_WAV", + "spm_sub2ind", + "spm_tile", + "spm_unique", "spm_voice", "spm_voice_FS", "spm_voice_P300", @@ -5016,6 +5231,8 @@ "spm_voice_speak", "spm_voice_test", "spm_voice_warp", + "spm_wav2O", + "spm_wavshow", "FieldMap", "FieldMap_Run", "FieldMap_applyvdm", @@ -5037,7 +5254,6 @@ "pm_pad", "pm_restore_ramp", "pm_seed", - "pm_segment", "pm_smooth_phasemap", "pm_unwrap", "tbx_cfg_fieldmap", @@ -5090,6 +5306,7 @@ "spm_eeg_inv_optireg", "spm_eeg_megheadloc", "spm_eeg_recode_epoched_ctf", + "spm_eeg_remove_dbs_artefact", "spm_eeg_remove_jumps", "spm_eeg_remove_spikes", "spm_eeg_reref_eeg", @@ -5098,6 +5315,8 @@ "spm_eeg_transform_cap", "spm_eeg_var_measures", "spm_mesh_pack_points", + "spm_opm_apply_calibration", + "spm_opm_calibrate_from_coils", "spm_opm_create", "spm_opm_epoch_trigger", "spm_opm_headmodel", @@ -5108,6 +5327,7 @@ "spm_opm_read_lvm", "spm_opm_rpsd", "spm_opm_sim", + "spm_opm_ssp", "spm_opm_synth_gradiometer", "spm_opm_vslm", "spm_dcm_nvc", @@ -5216,6 +5436,11 @@ "spm_TVdenoise2", "spm_TVdenoise_config", "spm_dctdst", + "spm_depth", + "spm_distance3", + "spm_est_vdm_from_phase", + "spm_julia", + "spm_mask_from_segments", "spm_run_denoise", "spm_scope", "spm_scope_config", @@ -5223,8 +5448,9 @@ "spm_slice2vol_config", "spm_slice2vol_estimate", "spm_slice2vol_reslice", - "spm_topup", - "spm_topup_config", + "spm_smooth_extrap", + "spm_thin", + "spm_topo_lookup", "tbx_cfg_spatial", "tbx_cfg_tsss", "tsss_config", diff --git a/spm/__man/__example_scripts/dcm_fit_finger.py b/spm/__man/__example_scripts/dcm_fit_finger.py index 641b86cc..ca3cdf98 100644 --- a/spm/__man/__example_scripts/dcm_fit_finger.py +++ b/spm/__man/__example_scripts/dcm_fit_finger.py @@ -2,7 +2,7 @@ def dcm_fit_finger(*args, **kwargs): - """ + r""" Fit DCM model to finger data FORMAT [DCM] = dcm_fit_finger(yy,M,U,m) @@ -15,9 +15,12 @@ def dcm_fit_finger(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/man/example_scripts/dcm_fit_finger.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/man/example_scripts/dcm_fit_finger.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("dcm_fit_finger", *args, **kwargs) diff --git a/spm/__man/__example_scripts/gen_finger.py b/spm/__man/__example_scripts/gen_finger.py index 4809ae34..8f30b7cb 100644 --- a/spm/__man/__example_scripts/gen_finger.py +++ b/spm/__man/__example_scripts/gen_finger.py @@ -2,7 +2,7 @@ def gen_finger(*args, **kwargs): - """ + r""" Generate finger movement data FORMAT [yy,P,M,U] = gen_finger(sim) @@ -24,9 +24,12 @@ def gen_finger(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/man/example_scripts/gen_finger.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/man/example_scripts/gen_finger.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("gen_finger", *args, **kwargs) diff --git a/spm/__man/__example_scripts/glm_phi.py b/spm/__man/__example_scripts/glm_phi.py index 2900e96c..ee5ec9c2 100644 --- a/spm/__man/__example_scripts/glm_phi.py +++ b/spm/__man/__example_scripts/glm_phi.py @@ -2,7 +2,7 @@ def glm_phi(*args, **kwargs): - """ + r""" Estimate connectivity parameters using GLM/EMA method FORMAT [A,fint] = glm_phi(phi,dt,fb) @@ -16,9 +16,12 @@ def glm_phi(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/man/example_scripts/glm_phi.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/man/example_scripts/glm_phi.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("glm_phi", *args, **kwargs) diff --git a/spm/__matlabbatch/__cfg_basicio/__src/create_cfg_cfg_basicio.py b/spm/__matlabbatch/__cfg_basicio/__src/create_cfg_cfg_basicio.py index 30c1678d..f6f3e6bb 100644 --- a/spm/__matlabbatch/__cfg_basicio/__src/create_cfg_cfg_basicio.py +++ b/spm/__matlabbatch/__cfg_basicio/__src/create_cfg_cfg_basicio.py @@ -2,13 +2,16 @@ def create_cfg_cfg_basicio(*args, **kwargs): - """ + r""" create_cfg_cfg_basicio is a function. - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/cfg_basicio/src/create_cfg_cfg_basicio.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/cfg_basicio/src/create_cfg_cfg_basicio.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("fileparts", *args, **kwargs) diff --git a/spm/__matlabbatch/__cfg_basicio/cfg_basicio_rewrite.py b/spm/__matlabbatch/__cfg_basicio/cfg_basicio_rewrite.py index 7911b6ee..1ff4373c 100644 --- a/spm/__matlabbatch/__cfg_basicio/cfg_basicio_rewrite.py +++ b/spm/__matlabbatch/__cfg_basicio/cfg_basicio_rewrite.py @@ -2,7 +2,7 @@ def cfg_basicio_rewrite(*args, **kwargs): - """ + r""" Rewrite job to conform to new submenu structure of BasicIO This code is part of a batch job configuration system for MATLAB. See @@ -12,9 +12,12 @@ def cfg_basicio_rewrite(*args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/cfg_basicio/cfg_basicio_rewrite.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/cfg_basicio/cfg_basicio_rewrite.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("cfg_basicio_rewrite", *args, **kwargs) diff --git a/spm/__matlabbatch/__cfg_basicio/cfg_cfg_basicio.py b/spm/__matlabbatch/__cfg_basicio/cfg_cfg_basicio.py index c8968db7..177b9fc6 100644 --- a/spm/__matlabbatch/__cfg_basicio/cfg_cfg_basicio.py +++ b/spm/__matlabbatch/__cfg_basicio/cfg_cfg_basicio.py @@ -2,7 +2,7 @@ def cfg_cfg_basicio(*args, **kwargs): - """ + r""" 'BasicIO' - MATLABBATCH configuration This MATLABBATCH configuration file has been generated automatically by MATLABBATCH using ConfGUI. It describes menu structure, validity @@ -14,9 +14,12 @@ def cfg_cfg_basicio(*args, **kwargs): --------------------------------------------------------------------- - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/cfg_basicio/cfg_cfg_basicio.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/cfg_basicio/cfg_cfg_basicio.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("cfg_cfg_basicio", *args, **kwargs) diff --git a/spm/__matlabbatch/__cfg_basicio/cfg_cfg_basicio_def.py b/spm/__matlabbatch/__cfg_basicio/cfg_cfg_basicio_def.py index d0b2c968..f882f807 100644 --- a/spm/__matlabbatch/__cfg_basicio/cfg_cfg_basicio_def.py +++ b/spm/__matlabbatch/__cfg_basicio/cfg_cfg_basicio_def.py @@ -2,7 +2,7 @@ def cfg_cfg_basicio_def(*args, **kwargs): - """ + r""" 'BasicIO' - MATLABBATCH defaults This MATLABBATCH defaults file has been generated automatically by MATLABBATCH using ConfGUI. It contains all pre-defined values for @@ -12,9 +12,12 @@ def cfg_cfg_basicio_def(*args, **kwargs): Created at 2015-12-01 13:53:35. - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/cfg_basicio/cfg_cfg_basicio_def.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/cfg_basicio/cfg_cfg_basicio_def.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("cfg_cfg_basicio_def", *args, **kwargs) diff --git a/spm/__matlabbatch/__cfg_basicio/cfg_check_assignin.py b/spm/__matlabbatch/__cfg_basicio/cfg_check_assignin.py index a0914bba..54dd3975 100644 --- a/spm/__matlabbatch/__cfg_basicio/cfg_check_assignin.py +++ b/spm/__matlabbatch/__cfg_basicio/cfg_check_assignin.py @@ -2,7 +2,7 @@ def cfg_check_assignin(*args, **kwargs): - """ + r""" Check whether the name entered for the workspace variable is a proper variable name. @@ -13,9 +13,12 @@ def cfg_check_assignin(*args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/cfg_basicio/cfg_check_assignin.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/cfg_basicio/cfg_check_assignin.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("cfg_check_assignin", *args, **kwargs) diff --git a/spm/__matlabbatch/__cfg_basicio/cfg_load_vars.py b/spm/__matlabbatch/__cfg_basicio/cfg_load_vars.py index 974dff2f..941db0a7 100644 --- a/spm/__matlabbatch/__cfg_basicio/cfg_load_vars.py +++ b/spm/__matlabbatch/__cfg_basicio/cfg_load_vars.py @@ -2,7 +2,7 @@ def cfg_load_vars(*args, **kwargs): - """ + r""" Load a .mat file, and return its contents via output dependencies. varargout = cfg_load_vars(cmd, varargin) where cmd is one of @@ -26,9 +26,12 @@ def cfg_load_vars(*args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/cfg_basicio/cfg_load_vars.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/cfg_basicio/cfg_load_vars.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("cfg_load_vars", *args, **kwargs) diff --git a/spm/__matlabbatch/__cfg_basicio/cfg_run_assignin.py b/spm/__matlabbatch/__cfg_basicio/cfg_run_assignin.py index 637de806..fd1807f1 100644 --- a/spm/__matlabbatch/__cfg_basicio/cfg_run_assignin.py +++ b/spm/__matlabbatch/__cfg_basicio/cfg_run_assignin.py @@ -2,7 +2,7 @@ def cfg_run_assignin(*args, **kwargs): - """ + r""" Assign the value of job.output to a workspace variable job.name. This code is part of a batch job configuration system for MATLAB. See @@ -12,9 +12,12 @@ def cfg_run_assignin(*args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/cfg_basicio/cfg_run_assignin.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/cfg_basicio/cfg_run_assignin.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("cfg_run_assignin", *args, **kwargs, nargout=0) diff --git a/spm/__matlabbatch/__cfg_basicio/cfg_run_call_matlab.py b/spm/__matlabbatch/__cfg_basicio/cfg_run_call_matlab.py index 02b3984a..954d4f3a 100644 --- a/spm/__matlabbatch/__cfg_basicio/cfg_run_call_matlab.py +++ b/spm/__matlabbatch/__cfg_basicio/cfg_run_call_matlab.py @@ -2,7 +2,7 @@ def cfg_run_call_matlab(*args, **kwargs): - """ + r""" A generic interface to call any MATLAB function through the batch system and make its output arguments available as dependencies. varargout = cfg_run_call_matlab(cmd, varargin) @@ -47,9 +47,12 @@ def cfg_run_call_matlab(*args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/cfg_basicio/cfg_run_call_matlab.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/cfg_basicio/cfg_run_call_matlab.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("cfg_run_call_matlab", *args, **kwargs) diff --git a/spm/__matlabbatch/__cfg_basicio/cfg_run_cd.py b/spm/__matlabbatch/__cfg_basicio/cfg_run_cd.py index e8686488..748b3464 100644 --- a/spm/__matlabbatch/__cfg_basicio/cfg_run_cd.py +++ b/spm/__matlabbatch/__cfg_basicio/cfg_run_cd.py @@ -2,7 +2,7 @@ def cfg_run_cd(*args, **kwargs): - """ + r""" Make a directory and return its path in out.dir{1}. This code is part of a batch job configuration system for MATLAB. See @@ -12,9 +12,12 @@ def cfg_run_cd(*args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/cfg_basicio/cfg_run_cd.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/cfg_basicio/cfg_run_cd.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("cfg_run_cd", *args, **kwargs, nargout=0) diff --git a/spm/__matlabbatch/__cfg_basicio/cfg_run_dir_move.py b/spm/__matlabbatch/__cfg_basicio/cfg_run_dir_move.py index 03cb65e0..ae5f866b 100644 --- a/spm/__matlabbatch/__cfg_basicio/cfg_run_dir_move.py +++ b/spm/__matlabbatch/__cfg_basicio/cfg_run_dir_move.py @@ -2,7 +2,7 @@ def cfg_run_dir_move(*args, **kwargs): - """ + r""" Move, copy or delete directory This code is part of a batch job configuration system for MATLAB. See @@ -12,9 +12,12 @@ def cfg_run_dir_move(*args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/cfg_basicio/cfg_run_dir_move.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/cfg_basicio/cfg_run_dir_move.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("cfg_run_dir_move", *args, **kwargs) diff --git a/spm/__matlabbatch/__cfg_basicio/cfg_run_file_filter.py b/spm/__matlabbatch/__cfg_basicio/cfg_run_file_filter.py index c8360bee..2365720e 100644 --- a/spm/__matlabbatch/__cfg_basicio/cfg_run_file_filter.py +++ b/spm/__matlabbatch/__cfg_basicio/cfg_run_file_filter.py @@ -2,7 +2,7 @@ def cfg_run_file_filter(*args, **kwargs): - """ + r""" Return filtered files. This code is part of a batch job configuration system for MATLAB. See @@ -12,9 +12,12 @@ def cfg_run_file_filter(*args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/cfg_basicio/cfg_run_file_filter.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/cfg_basicio/cfg_run_file_filter.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("cfg_run_file_filter", *args, **kwargs) diff --git a/spm/__matlabbatch/__cfg_basicio/cfg_run_file_fplist.py b/spm/__matlabbatch/__cfg_basicio/cfg_run_file_fplist.py index 0ea37207..b1413a6e 100644 --- a/spm/__matlabbatch/__cfg_basicio/cfg_run_file_fplist.py +++ b/spm/__matlabbatch/__cfg_basicio/cfg_run_file_fplist.py @@ -2,7 +2,7 @@ def cfg_run_file_fplist(*args, **kwargs): - """ + r""" function out = cfg_run_file_fplist(job) Select files non-interactively using cfg_getfile('FPList',...) or @@ -15,9 +15,12 @@ def cfg_run_file_fplist(*args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/cfg_basicio/cfg_run_file_fplist.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/cfg_basicio/cfg_run_file_fplist.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("cfg_run_file_fplist", *args, **kwargs) diff --git a/spm/__matlabbatch/__cfg_basicio/cfg_run_file_move.py b/spm/__matlabbatch/__cfg_basicio/cfg_run_file_move.py index e825d3d5..35202327 100644 --- a/spm/__matlabbatch/__cfg_basicio/cfg_run_file_move.py +++ b/spm/__matlabbatch/__cfg_basicio/cfg_run_file_move.py @@ -2,7 +2,7 @@ def cfg_run_file_move(*args, **kwargs): - """ + r""" Move files to another directory or delete them, if no directory is specified. Special treatment to move .img/.hdr/.mat pairs of files together. @@ -14,9 +14,12 @@ def cfg_run_file_move(*args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/cfg_basicio/cfg_run_file_move.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/cfg_basicio/cfg_run_file_move.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("cfg_run_file_move", *args, **kwargs) diff --git a/spm/__matlabbatch/__cfg_basicio/cfg_run_file_split.py b/spm/__matlabbatch/__cfg_basicio/cfg_run_file_split.py index 610b6863..56a00dd2 100644 --- a/spm/__matlabbatch/__cfg_basicio/cfg_run_file_split.py +++ b/spm/__matlabbatch/__cfg_basicio/cfg_run_file_split.py @@ -2,7 +2,7 @@ def cfg_run_file_split(*args, **kwargs): - """ + r""" Split a set of files according to subset indices. This code is part of a batch job configuration system for MATLAB. See @@ -12,9 +12,12 @@ def cfg_run_file_split(*args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/cfg_basicio/cfg_run_file_split.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/cfg_basicio/cfg_run_file_split.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("cfg_run_file_split", *args, **kwargs) diff --git a/spm/__matlabbatch/__cfg_basicio/cfg_run_fileparts.py b/spm/__matlabbatch/__cfg_basicio/cfg_run_fileparts.py index bceed835..db2454bd 100644 --- a/spm/__matlabbatch/__cfg_basicio/cfg_run_fileparts.py +++ b/spm/__matlabbatch/__cfg_basicio/cfg_run_fileparts.py @@ -2,7 +2,7 @@ def cfg_run_fileparts(*args, **kwargs): - """ + r""" Run fileparts on a list of files. This code is part of a batch job configuration system for MATLAB. See @@ -12,9 +12,12 @@ def cfg_run_fileparts(*args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/cfg_basicio/cfg_run_fileparts.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/cfg_basicio/cfg_run_fileparts.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("cfg_run_fileparts", *args, **kwargs) diff --git a/spm/__matlabbatch/__cfg_basicio/cfg_run_gunzip_files.py b/spm/__matlabbatch/__cfg_basicio/cfg_run_gunzip_files.py index 38da855a..c8ebb2e4 100644 --- a/spm/__matlabbatch/__cfg_basicio/cfg_run_gunzip_files.py +++ b/spm/__matlabbatch/__cfg_basicio/cfg_run_gunzip_files.py @@ -2,7 +2,7 @@ def cfg_run_gunzip_files(*args, **kwargs): - """ + r""" Run gunzip on a list of files. This code is part of a batch job configuration system for MATLAB. See @@ -12,9 +12,12 @@ def cfg_run_gunzip_files(*args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/cfg_basicio/cfg_run_gunzip_files.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/cfg_basicio/cfg_run_gunzip_files.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("cfg_run_gunzip_files", *args, **kwargs) diff --git a/spm/__matlabbatch/__cfg_basicio/cfg_run_gzip_files.py b/spm/__matlabbatch/__cfg_basicio/cfg_run_gzip_files.py index 78afb2b4..31b54e7a 100644 --- a/spm/__matlabbatch/__cfg_basicio/cfg_run_gzip_files.py +++ b/spm/__matlabbatch/__cfg_basicio/cfg_run_gzip_files.py @@ -2,7 +2,7 @@ def cfg_run_gzip_files(*args, **kwargs): - """ + r""" Run gzip on a list of files. This code is part of a batch job configuration system for MATLAB. See @@ -12,9 +12,12 @@ def cfg_run_gzip_files(*args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/cfg_basicio/cfg_run_gzip_files.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/cfg_basicio/cfg_run_gzip_files.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("cfg_run_gzip_files", *args, **kwargs) diff --git a/spm/__matlabbatch/__cfg_basicio/cfg_run_mkdir.py b/spm/__matlabbatch/__cfg_basicio/cfg_run_mkdir.py index 8e2a77ac..44b7c4bd 100644 --- a/spm/__matlabbatch/__cfg_basicio/cfg_run_mkdir.py +++ b/spm/__matlabbatch/__cfg_basicio/cfg_run_mkdir.py @@ -2,7 +2,7 @@ def cfg_run_mkdir(*args, **kwargs): - """ + r""" Make a directory and return its path in out.dir{1}. This code is part of a batch job configuration system for MATLAB. See @@ -12,9 +12,12 @@ def cfg_run_mkdir(*args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/cfg_basicio/cfg_run_mkdir.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/cfg_basicio/cfg_run_mkdir.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("cfg_run_mkdir", *args, **kwargs) diff --git a/spm/__matlabbatch/__cfg_basicio/cfg_run_named_dir.py b/spm/__matlabbatch/__cfg_basicio/cfg_run_named_dir.py index 2c86f2da..c7c47ca8 100644 --- a/spm/__matlabbatch/__cfg_basicio/cfg_run_named_dir.py +++ b/spm/__matlabbatch/__cfg_basicio/cfg_run_named_dir.py @@ -2,7 +2,7 @@ def cfg_run_named_dir(*args, **kwargs): - """ + r""" Return selected dirs as separate output arguments. This code is part of a batch job configuration system for MATLAB. See @@ -12,9 +12,12 @@ def cfg_run_named_dir(*args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/cfg_basicio/cfg_run_named_dir.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/cfg_basicio/cfg_run_named_dir.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("cfg_run_named_dir", *args, **kwargs) diff --git a/spm/__matlabbatch/__cfg_basicio/cfg_run_named_file.py b/spm/__matlabbatch/__cfg_basicio/cfg_run_named_file.py index da5334b2..58185b86 100644 --- a/spm/__matlabbatch/__cfg_basicio/cfg_run_named_file.py +++ b/spm/__matlabbatch/__cfg_basicio/cfg_run_named_file.py @@ -2,7 +2,7 @@ def cfg_run_named_file(*args, **kwargs): - """ + r""" Return selected files as separate output arguments. This code is part of a batch job configuration system for MATLAB. See @@ -12,9 +12,12 @@ def cfg_run_named_file(*args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/cfg_basicio/cfg_run_named_file.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/cfg_basicio/cfg_run_named_file.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("cfg_run_named_file", *args, **kwargs) diff --git a/spm/__matlabbatch/__cfg_basicio/cfg_run_named_input.py b/spm/__matlabbatch/__cfg_basicio/cfg_run_named_input.py index f93ca824..7e3cc902 100644 --- a/spm/__matlabbatch/__cfg_basicio/cfg_run_named_input.py +++ b/spm/__matlabbatch/__cfg_basicio/cfg_run_named_input.py @@ -2,7 +2,7 @@ def cfg_run_named_input(*args, **kwargs): - """ + r""" Return evaluated input. This code is part of a batch job configuration system for MATLAB. See @@ -12,9 +12,12 @@ def cfg_run_named_input(*args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/cfg_basicio/cfg_run_named_input.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/cfg_basicio/cfg_run_named_input.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("cfg_run_named_input", *args, **kwargs) diff --git a/spm/__matlabbatch/__cfg_basicio/cfg_run_runjobs.py b/spm/__matlabbatch/__cfg_basicio/cfg_run_runjobs.py index 191aff77..3055e782 100644 --- a/spm/__matlabbatch/__cfg_basicio/cfg_run_runjobs.py +++ b/spm/__matlabbatch/__cfg_basicio/cfg_run_runjobs.py @@ -2,7 +2,7 @@ def cfg_run_runjobs(*args, **kwargs): - """ + r""" Initialise, fill, save and run a job with repeated inputs. To make use of possible parallel execution of independent jobs, all repeated jobs are filled first and (if successfully filled) run as one @@ -15,9 +15,12 @@ def cfg_run_runjobs(*args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/cfg_basicio/cfg_run_runjobs.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/cfg_basicio/cfg_run_runjobs.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("cfg_run_runjobs", *args, **kwargs) diff --git a/spm/__matlabbatch/__cfg_basicio/cfg_run_save_vars.py b/spm/__matlabbatch/__cfg_basicio/cfg_run_save_vars.py index 65657085..f7bf5d77 100644 --- a/spm/__matlabbatch/__cfg_basicio/cfg_run_save_vars.py +++ b/spm/__matlabbatch/__cfg_basicio/cfg_run_save_vars.py @@ -2,7 +2,7 @@ def cfg_run_save_vars(*args, **kwargs): - """ + r""" Save input variables to .mat file - either as a struct array, or as individual variables. @@ -13,9 +13,12 @@ def cfg_run_save_vars(*args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/cfg_basicio/cfg_run_save_vars.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/cfg_basicio/cfg_run_save_vars.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("cfg_run_save_vars", *args, **kwargs) diff --git a/spm/__matlabbatch/__cfg_basicio/cfg_run_subsrefvar.py b/spm/__matlabbatch/__cfg_basicio/cfg_run_subsrefvar.py index fa7b44bb..acb573ab 100644 --- a/spm/__matlabbatch/__cfg_basicio/cfg_run_subsrefvar.py +++ b/spm/__matlabbatch/__cfg_basicio/cfg_run_subsrefvar.py @@ -2,7 +2,7 @@ def cfg_run_subsrefvar(*args, **kwargs): - """ + r""" Template function to implement callbacks for an cfg_exbranch. The calling syntax is varargout = cfg_run_subsrefvar(cmd, varargin) @@ -48,9 +48,12 @@ def cfg_run_subsrefvar(*args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/cfg_basicio/cfg_run_subsrefvar.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/cfg_basicio/cfg_run_subsrefvar.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("cfg_run_subsrefvar", *args, **kwargs) diff --git a/spm/__matlabbatch/__cfg_basicio/cfg_vout_dir_move.py b/spm/__matlabbatch/__cfg_basicio/cfg_vout_dir_move.py index c57002fb..7a532339 100644 --- a/spm/__matlabbatch/__cfg_basicio/cfg_vout_dir_move.py +++ b/spm/__matlabbatch/__cfg_basicio/cfg_vout_dir_move.py @@ -2,7 +2,7 @@ def cfg_vout_dir_move(*args, **kwargs): - """ + r""" Define virtual output for cfg_run_dir_move. Output can be passed on to either a cfg_files or an evaluated cfg_entry. @@ -13,9 +13,12 @@ def cfg_vout_dir_move(*args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/cfg_basicio/cfg_vout_dir_move.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/cfg_basicio/cfg_vout_dir_move.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("cfg_vout_dir_move", *args, **kwargs) diff --git a/spm/__matlabbatch/__cfg_basicio/cfg_vout_file_filter.py b/spm/__matlabbatch/__cfg_basicio/cfg_vout_file_filter.py index 39064c95..360fbfab 100644 --- a/spm/__matlabbatch/__cfg_basicio/cfg_vout_file_filter.py +++ b/spm/__matlabbatch/__cfg_basicio/cfg_vout_file_filter.py @@ -2,7 +2,7 @@ def cfg_vout_file_filter(*args, **kwargs): - """ + r""" Define virtual outputs for cfg_vout_file_filter. The file names can either be assigned to a cfg_files input or to a evaluated cfg_entry. @@ -13,9 +13,12 @@ def cfg_vout_file_filter(*args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/cfg_basicio/cfg_vout_file_filter.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/cfg_basicio/cfg_vout_file_filter.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("cfg_vout_file_filter", *args, **kwargs) diff --git a/spm/__matlabbatch/__cfg_basicio/cfg_vout_file_fplist.py b/spm/__matlabbatch/__cfg_basicio/cfg_vout_file_fplist.py index ce6d3b82..62280090 100644 --- a/spm/__matlabbatch/__cfg_basicio/cfg_vout_file_fplist.py +++ b/spm/__matlabbatch/__cfg_basicio/cfg_vout_file_fplist.py @@ -2,7 +2,7 @@ def cfg_vout_file_fplist(*args, **kwargs): - """ + r""" function dep = cfg_vout_file_fplist(job) Virtual outputs for cfg_run_file_fplist. Struct with fields .files and @@ -15,9 +15,12 @@ def cfg_vout_file_fplist(*args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/cfg_basicio/cfg_vout_file_fplist.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/cfg_basicio/cfg_vout_file_fplist.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("cfg_vout_file_fplist", *args, **kwargs) diff --git a/spm/__matlabbatch/__cfg_basicio/cfg_vout_file_move.py b/spm/__matlabbatch/__cfg_basicio/cfg_vout_file_move.py index 423b75c6..34770b59 100644 --- a/spm/__matlabbatch/__cfg_basicio/cfg_vout_file_move.py +++ b/spm/__matlabbatch/__cfg_basicio/cfg_vout_file_move.py @@ -2,7 +2,7 @@ def cfg_vout_file_move(*args, **kwargs): - """ + r""" Define virtual output for cfg_run_move_file. Output can be passed on to either a cfg_files or an evaluated cfg_entry. @@ -13,9 +13,12 @@ def cfg_vout_file_move(*args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/cfg_basicio/cfg_vout_file_move.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/cfg_basicio/cfg_vout_file_move.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("cfg_vout_file_move", *args, **kwargs) diff --git a/spm/__matlabbatch/__cfg_basicio/cfg_vout_file_split.py b/spm/__matlabbatch/__cfg_basicio/cfg_vout_file_split.py index d5897df7..410c2095 100644 --- a/spm/__matlabbatch/__cfg_basicio/cfg_vout_file_split.py +++ b/spm/__matlabbatch/__cfg_basicio/cfg_vout_file_split.py @@ -2,7 +2,7 @@ def cfg_vout_file_split(*args, **kwargs): - """ + r""" Define virtual outputs for cfg_run_file_split. File names can either be assigned to a cfg_files input or to a evaluated cfg_entry. @@ -13,9 +13,12 @@ def cfg_vout_file_split(*args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/cfg_basicio/cfg_vout_file_split.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/cfg_basicio/cfg_vout_file_split.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("cfg_vout_file_split", *args, **kwargs) diff --git a/spm/__matlabbatch/__cfg_basicio/cfg_vout_fileparts.py b/spm/__matlabbatch/__cfg_basicio/cfg_vout_fileparts.py index 8c6331a8..10c15f5c 100644 --- a/spm/__matlabbatch/__cfg_basicio/cfg_vout_fileparts.py +++ b/spm/__matlabbatch/__cfg_basicio/cfg_vout_fileparts.py @@ -2,7 +2,7 @@ def cfg_vout_fileparts(*args, **kwargs): - """ + r""" Define virtual outputs for cfg_run_fileparts. The path names can either be assigned to a cfg_files input or to an evaluated cfg_entry. File names and extensions can only be assigned to an evaluated cfg_entry. @@ -14,9 +14,12 @@ def cfg_vout_fileparts(*args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/cfg_basicio/cfg_vout_fileparts.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/cfg_basicio/cfg_vout_fileparts.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("cfg_vout_fileparts", *args, **kwargs) diff --git a/spm/__matlabbatch/__cfg_basicio/cfg_vout_gunzip_files.py b/spm/__matlabbatch/__cfg_basicio/cfg_vout_gunzip_files.py index e1d8fa8c..e7d8e787 100644 --- a/spm/__matlabbatch/__cfg_basicio/cfg_vout_gunzip_files.py +++ b/spm/__matlabbatch/__cfg_basicio/cfg_vout_gunzip_files.py @@ -2,7 +2,7 @@ def cfg_vout_gunzip_files(*args, **kwargs): - """ + r""" Define virtual outputs for "Gunzip Files". File names can either be assigned to a cfg_files input or to a evaluated cfg_entry. @@ -13,9 +13,12 @@ def cfg_vout_gunzip_files(*args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/cfg_basicio/cfg_vout_gunzip_files.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/cfg_basicio/cfg_vout_gunzip_files.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("cfg_vout_gunzip_files", *args, **kwargs) diff --git a/spm/__matlabbatch/__cfg_basicio/cfg_vout_gzip_files.py b/spm/__matlabbatch/__cfg_basicio/cfg_vout_gzip_files.py index d248e276..6b41d0d7 100644 --- a/spm/__matlabbatch/__cfg_basicio/cfg_vout_gzip_files.py +++ b/spm/__matlabbatch/__cfg_basicio/cfg_vout_gzip_files.py @@ -2,7 +2,7 @@ def cfg_vout_gzip_files(*args, **kwargs): - """ + r""" Define virtual outputs for "Gzip Files". File names can either be assigned to a cfg_files input or to a evaluated cfg_entry. @@ -13,9 +13,12 @@ def cfg_vout_gzip_files(*args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/cfg_basicio/cfg_vout_gzip_files.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/cfg_basicio/cfg_vout_gzip_files.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("cfg_vout_gzip_files", *args, **kwargs) diff --git a/spm/__matlabbatch/__cfg_basicio/cfg_vout_mkdir.py b/spm/__matlabbatch/__cfg_basicio/cfg_vout_mkdir.py index 1f1fd58e..e2ae99c5 100644 --- a/spm/__matlabbatch/__cfg_basicio/cfg_vout_mkdir.py +++ b/spm/__matlabbatch/__cfg_basicio/cfg_vout_mkdir.py @@ -2,7 +2,7 @@ def cfg_vout_mkdir(*args, **kwargs): - """ + r""" Define virtual outputs for cfg_run_mkdir. The directory name can either be assigned to a cfg_files directory input or to a evaluated cfg_entry. @@ -13,9 +13,12 @@ def cfg_vout_mkdir(*args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/cfg_basicio/cfg_vout_mkdir.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/cfg_basicio/cfg_vout_mkdir.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("cfg_vout_mkdir", *args, **kwargs) diff --git a/spm/__matlabbatch/__cfg_basicio/cfg_vout_named_dir.py b/spm/__matlabbatch/__cfg_basicio/cfg_vout_named_dir.py index 021d89d5..938cf92d 100644 --- a/spm/__matlabbatch/__cfg_basicio/cfg_vout_named_dir.py +++ b/spm/__matlabbatch/__cfg_basicio/cfg_vout_named_dir.py @@ -2,7 +2,7 @@ def cfg_vout_named_dir(*args, **kwargs): - """ + r""" Define virtual outputs for cfg_run_named_dir. Dir names can either be assigned to a cfg_dirs input or to a evaluated cfg_entry. Dir indices can be assigned to any numeric or evaluated cfg_entry item. @@ -14,9 +14,12 @@ def cfg_vout_named_dir(*args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/cfg_basicio/cfg_vout_named_dir.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/cfg_basicio/cfg_vout_named_dir.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("cfg_vout_named_dir", *args, **kwargs) diff --git a/spm/__matlabbatch/__cfg_basicio/cfg_vout_named_file.py b/spm/__matlabbatch/__cfg_basicio/cfg_vout_named_file.py index 883a0601..240c65a3 100644 --- a/spm/__matlabbatch/__cfg_basicio/cfg_vout_named_file.py +++ b/spm/__matlabbatch/__cfg_basicio/cfg_vout_named_file.py @@ -2,7 +2,7 @@ def cfg_vout_named_file(*args, **kwargs): - """ + r""" Define virtual outputs for cfg_run_named_file. File names can either be assigned to a cfg_files input or to a evaluated cfg_entry. File indices can be assigned to any numeric or evaluated cfg_entry item. @@ -14,9 +14,12 @@ def cfg_vout_named_file(*args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/cfg_basicio/cfg_vout_named_file.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/cfg_basicio/cfg_vout_named_file.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("cfg_vout_named_file", *args, **kwargs) diff --git a/spm/__matlabbatch/__cfg_basicio/cfg_vout_named_input.py b/spm/__matlabbatch/__cfg_basicio/cfg_vout_named_input.py index f5f5ea19..ec3d483c 100644 --- a/spm/__matlabbatch/__cfg_basicio/cfg_vout_named_input.py +++ b/spm/__matlabbatch/__cfg_basicio/cfg_vout_named_input.py @@ -2,7 +2,7 @@ def cfg_vout_named_input(*args, **kwargs): - """ + r""" Define virtual output for cfg_run_named_input. This input can be assigned to any cfg_entry input item. @@ -13,9 +13,12 @@ def cfg_vout_named_input(*args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/cfg_basicio/cfg_vout_named_input.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/cfg_basicio/cfg_vout_named_input.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("cfg_vout_named_input", *args, **kwargs) diff --git a/spm/__matlabbatch/__cfg_basicio/cfg_vout_runjobs.py b/spm/__matlabbatch/__cfg_basicio/cfg_vout_runjobs.py index 051e1ba0..8173fde4 100644 --- a/spm/__matlabbatch/__cfg_basicio/cfg_vout_runjobs.py +++ b/spm/__matlabbatch/__cfg_basicio/cfg_vout_runjobs.py @@ -2,7 +2,7 @@ def cfg_vout_runjobs(*args, **kwargs): - """ + r""" Return dependency to jobfiles, if files are to be saved. This code is part of a batch job configuration system for MATLAB. See @@ -12,9 +12,12 @@ def cfg_vout_runjobs(*args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/cfg_basicio/cfg_vout_runjobs.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/cfg_basicio/cfg_vout_runjobs.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("cfg_vout_runjobs", *args, **kwargs) diff --git a/spm/__matlabbatch/__cfg_basicio/cfg_vout_save_vars.py b/spm/__matlabbatch/__cfg_basicio/cfg_vout_save_vars.py index 0392a9ac..10db172f 100644 --- a/spm/__matlabbatch/__cfg_basicio/cfg_vout_save_vars.py +++ b/spm/__matlabbatch/__cfg_basicio/cfg_vout_save_vars.py @@ -2,7 +2,7 @@ def cfg_vout_save_vars(*args, **kwargs): - """ + r""" Define virtual output for cfg_run_save_vars. Output can be passed on to either a cfg_file or an evaluated cfg_entry. @@ -13,9 +13,12 @@ def cfg_vout_save_vars(*args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/cfg_basicio/cfg_vout_save_vars.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/cfg_basicio/cfg_vout_save_vars.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("cfg_vout_save_vars", *args, **kwargs) diff --git a/spm/__matlabbatch/__cfg_confgui/cfg_confgui.py b/spm/__matlabbatch/__cfg_confgui/cfg_confgui.py index 44561130..42a3291d 100644 --- a/spm/__matlabbatch/__cfg_confgui/cfg_confgui.py +++ b/spm/__matlabbatch/__cfg_confgui/cfg_confgui.py @@ -2,7 +2,7 @@ def cfg_confgui(*args, **kwargs): - """ + r""" This function describes the user defined fields for each kind of cfg_item and their layout in terms of cfg_items. Thus, the configuration system can be used to generate code for new configuration @@ -15,9 +15,12 @@ def cfg_confgui(*args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/cfg_confgui/cfg_confgui.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/cfg_confgui/cfg_confgui.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("cfg_confgui", *args, **kwargs) diff --git a/spm/__matlabbatch/__cfg_confgui/cfg_run_template.py b/spm/__matlabbatch/__cfg_confgui/cfg_run_template.py index 4831128d..ff1118c6 100644 --- a/spm/__matlabbatch/__cfg_confgui/cfg_run_template.py +++ b/spm/__matlabbatch/__cfg_confgui/cfg_run_template.py @@ -2,7 +2,7 @@ def cfg_run_template(*args, **kwargs): - """ + r""" Template function to implement callbacks for an cfg_exbranch. The calling syntax is varargout = cfg_run_template(cmd, varargin) @@ -48,9 +48,12 @@ def cfg_run_template(*args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/cfg_confgui/cfg_run_template.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/cfg_confgui/cfg_run_template.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("cfg_run_template", *args, **kwargs) diff --git a/spm/__matlabbatch/__examples/cfg_example_add1.py b/spm/__matlabbatch/__examples/cfg_example_add1.py index 8e37fa2a..10464413 100644 --- a/spm/__matlabbatch/__examples/cfg_example_add1.py +++ b/spm/__matlabbatch/__examples/cfg_example_add1.py @@ -2,7 +2,7 @@ def cfg_example_add1(*args, **kwargs): - """ + r""" Example script that creates an cfg_exbranch to sum two numbers. The inputs are entered as two single numbers, the output is just a single number. @@ -14,9 +14,12 @@ def cfg_example_add1(*args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/examples/cfg_example_add1.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/examples/cfg_example_add1.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("cfg_example_add1", *args, **kwargs) diff --git a/spm/__matlabbatch/__examples/cfg_example_add2.py b/spm/__matlabbatch/__examples/cfg_example_add2.py index d537a221..44c3375f 100644 --- a/spm/__matlabbatch/__examples/cfg_example_add2.py +++ b/spm/__matlabbatch/__examples/cfg_example_add2.py @@ -2,7 +2,7 @@ def cfg_example_add2(*args, **kwargs): - """ + r""" Example script that creates an cfg_exbranch to sum two numbers. The inputs are entered as 2-vector, the output is just a single number. @@ -14,9 +14,12 @@ def cfg_example_add2(*args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/examples/cfg_example_add2.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/examples/cfg_example_add2.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("cfg_example_add2", *args, **kwargs) diff --git a/spm/__matlabbatch/__examples/cfg_example_cumsum1.py b/spm/__matlabbatch/__examples/cfg_example_cumsum1.py index 5be846e7..2d57907e 100644 --- a/spm/__matlabbatch/__examples/cfg_example_cumsum1.py +++ b/spm/__matlabbatch/__examples/cfg_example_cumsum1.py @@ -2,7 +2,7 @@ def cfg_example_cumsum1(*args, **kwargs): - """ + r""" Example script that creates an cfg_exbranch to sum two numbers. The inputs are entered as vector, the output is a vector containing the cumulative sums. This function differs from cfg_example_sum (except from @@ -15,9 +15,12 @@ def cfg_example_cumsum1(*args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/examples/cfg_example_cumsum1.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/examples/cfg_example_cumsum1.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("cfg_example_cumsum1", *args, **kwargs) diff --git a/spm/__matlabbatch/__examples/cfg_example_cumsum2.py b/spm/__matlabbatch/__examples/cfg_example_cumsum2.py index d7719438..a6acd429 100644 --- a/spm/__matlabbatch/__examples/cfg_example_cumsum2.py +++ b/spm/__matlabbatch/__examples/cfg_example_cumsum2.py @@ -2,7 +2,7 @@ def cfg_example_cumsum2(*args, **kwargs): - """ + r""" Example script that creates an cfg_exbranch to sum two numbers. The inputs are entered as vector, the output is a vector containing the cumulative sums. This function differs from cfg_example_sum (except from @@ -15,9 +15,12 @@ def cfg_example_cumsum2(*args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/examples/cfg_example_cumsum2.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/examples/cfg_example_cumsum2.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("cfg_example_cumsum2", *args, **kwargs) diff --git a/spm/__matlabbatch/__examples/cfg_example_div.py b/spm/__matlabbatch/__examples/cfg_example_div.py index 725f76b1..4cf41e62 100644 --- a/spm/__matlabbatch/__examples/cfg_example_div.py +++ b/spm/__matlabbatch/__examples/cfg_example_div.py @@ -2,7 +2,7 @@ def cfg_example_div(*args, **kwargs): - """ + r""" Example script that creates an cfg_exbranch to compute mod and rem of two natural numbers. The inputs are entered as two single numbers, the output is a struct with two fields 'mod' and 'rem'. @@ -14,9 +14,12 @@ def cfg_example_div(*args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/examples/cfg_example_div.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/examples/cfg_example_div.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("cfg_example_div", *args, **kwargs) diff --git a/spm/__matlabbatch/__examples/cfg_example_master.py b/spm/__matlabbatch/__examples/cfg_example_master.py index 2f82790f..3e0a6094 100644 --- a/spm/__matlabbatch/__examples/cfg_example_master.py +++ b/spm/__matlabbatch/__examples/cfg_example_master.py @@ -2,7 +2,7 @@ def cfg_example_master(*args, **kwargs): - """ + r""" Master file that collects the cfg_exbranches in conceptually similar groups. @@ -13,9 +13,12 @@ def cfg_example_master(*args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/examples/cfg_example_master.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/examples/cfg_example_master.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("cfg_example_master", *args, **kwargs) diff --git a/spm/__matlabbatch/__examples/cfg_example_run_add1.py b/spm/__matlabbatch/__examples/cfg_example_run_add1.py index f78fdc30..4b69ec29 100644 --- a/spm/__matlabbatch/__examples/cfg_example_run_add1.py +++ b/spm/__matlabbatch/__examples/cfg_example_run_add1.py @@ -2,7 +2,7 @@ def cfg_example_run_add1(*args, **kwargs): - """ + r""" Example function that returns the sum of two numbers given in job.a and job.b in out. The output is referenced as out(1), this is defined in cfg_example_vout_add1. @@ -14,9 +14,12 @@ def cfg_example_run_add1(*args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/examples/cfg_example_run_add1.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/examples/cfg_example_run_add1.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("cfg_example_run_add1", *args, **kwargs) diff --git a/spm/__matlabbatch/__examples/cfg_example_run_add2.py b/spm/__matlabbatch/__examples/cfg_example_run_add2.py index dc3d8706..1cec1c83 100644 --- a/spm/__matlabbatch/__examples/cfg_example_run_add2.py +++ b/spm/__matlabbatch/__examples/cfg_example_run_add2.py @@ -2,7 +2,7 @@ def cfg_example_run_add2(*args, **kwargs): - """ + r""" Example function that returns the sum of two numbers given in job.a in out. The output is referenced as out(1), this is defined in cfg_example_vout_add2. @@ -14,9 +14,12 @@ def cfg_example_run_add2(*args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/examples/cfg_example_run_add2.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/examples/cfg_example_run_add2.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("cfg_example_run_add2", *args, **kwargs) diff --git a/spm/__matlabbatch/__examples/cfg_example_run_cumsum1.py b/spm/__matlabbatch/__examples/cfg_example_run_cumsum1.py index 91790740..5a3bf9f8 100644 --- a/spm/__matlabbatch/__examples/cfg_example_run_cumsum1.py +++ b/spm/__matlabbatch/__examples/cfg_example_run_cumsum1.py @@ -2,7 +2,7 @@ def cfg_example_run_cumsum1(*args, **kwargs): - """ + r""" Example function that returns the cumulative sum of an vector given in job.a in out. The output is referenced as out(:), this is defined in cfg_example_vout_cumsum1. @@ -14,9 +14,12 @@ def cfg_example_run_cumsum1(*args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/examples/cfg_example_run_cumsum1.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/examples/cfg_example_run_cumsum1.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("cfg_example_run_cumsum1", *args, **kwargs) diff --git a/spm/__matlabbatch/__examples/cfg_example_run_cumsum2.py b/spm/__matlabbatch/__examples/cfg_example_run_cumsum2.py index e44eaa42..78e8dbba 100644 --- a/spm/__matlabbatch/__examples/cfg_example_run_cumsum2.py +++ b/spm/__matlabbatch/__examples/cfg_example_run_cumsum2.py @@ -2,7 +2,7 @@ def cfg_example_run_cumsum2(*args, **kwargs): - """ + r""" Example function that returns the cumulative sum of an vector given in job.a in out. The output is referenced as out(:), this is defined in cfg_example_vout_cumsum1. @@ -14,9 +14,12 @@ def cfg_example_run_cumsum2(*args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/examples/cfg_example_run_cumsum2.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/examples/cfg_example_run_cumsum2.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("cfg_example_run_cumsum2", *args, **kwargs) diff --git a/spm/__matlabbatch/__examples/cfg_example_run_div.py b/spm/__matlabbatch/__examples/cfg_example_run_div.py index 4b9e7a1b..a9dc7b0f 100644 --- a/spm/__matlabbatch/__examples/cfg_example_run_div.py +++ b/spm/__matlabbatch/__examples/cfg_example_run_div.py @@ -2,7 +2,7 @@ def cfg_example_run_div(*args, **kwargs): - """ + r""" Example function that returns the mod and rem of two numbers given in job.a and job.b in out.mod and out.rem. @@ -13,9 +13,12 @@ def cfg_example_run_div(*args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/examples/cfg_example_run_div.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/examples/cfg_example_run_div.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("cfg_example_run_div", *args, **kwargs) diff --git a/spm/__matlabbatch/__examples/cfg_example_run_sum.py b/spm/__matlabbatch/__examples/cfg_example_run_sum.py index af0c7120..7ae156df 100644 --- a/spm/__matlabbatch/__examples/cfg_example_run_sum.py +++ b/spm/__matlabbatch/__examples/cfg_example_run_sum.py @@ -2,7 +2,7 @@ def cfg_example_run_sum(*args, **kwargs): - """ + r""" Example function that returns the sum of an vector given in job.a in out. The output is referenced as out(1), this is defined in cfg_example_vout_sum. @@ -14,9 +14,12 @@ def cfg_example_run_sum(*args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/examples/cfg_example_run_sum.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/examples/cfg_example_run_sum.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("cfg_example_run_sum", *args, **kwargs) diff --git a/spm/__matlabbatch/__examples/cfg_example_sum.py b/spm/__matlabbatch/__examples/cfg_example_sum.py index 246c048a..cf83f901 100644 --- a/spm/__matlabbatch/__examples/cfg_example_sum.py +++ b/spm/__matlabbatch/__examples/cfg_example_sum.py @@ -2,7 +2,7 @@ def cfg_example_sum(*args, **kwargs): - """ + r""" Example script that creates an cfg_exbranch to sum two numbers. The inputs are entered as vector, the output is just a single number. This function differs from cfg_example_add2 (except from names) @@ -15,9 +15,12 @@ def cfg_example_sum(*args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/examples/cfg_example_sum.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/examples/cfg_example_sum.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("cfg_example_sum", *args, **kwargs) diff --git a/spm/__matlabbatch/__examples/toy_example.py b/spm/__matlabbatch/__examples/toy_example.py index 49d4d3ad..8bbba74a 100644 --- a/spm/__matlabbatch/__examples/toy_example.py +++ b/spm/__matlabbatch/__examples/toy_example.py @@ -2,7 +2,7 @@ def toy_example(*args, **kwargs): - """ + r""" Example how to use matlabbatch in a simple application. Two steps are necessary: 1) write configuration files that define the user interface for the @@ -23,9 +23,12 @@ def toy_example(*args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/examples/toy_example.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/examples/toy_example.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("toy_example", *args, **kwargs, nargout=0) diff --git a/spm/__matlabbatch/__init__.py b/spm/__matlabbatch/__init__.py index 8956a285..26a1c04c 100644 --- a/spm/__matlabbatch/__init__.py +++ b/spm/__matlabbatch/__init__.py @@ -61,6 +61,8 @@ from .cfg_findspec import cfg_findspec from .cfg_get_defaults import cfg_get_defaults from .cfg_getfile import cfg_getfile +from .cfg_getfile_cpath import cfg_getfile_cpath +from .cfg_getfile_pathparts import cfg_getfile_pathparts from .cfg_load_jobs import cfg_load_jobs from .cfg_message import cfg_message from .cfg_mlbatch_appcfg import cfg_mlbatch_appcfg @@ -159,6 +161,8 @@ "cfg_findspec", "cfg_get_defaults", "cfg_getfile", + "cfg_getfile_cpath", + "cfg_getfile_pathparts", "cfg_load_jobs", "cfg_message", "cfg_mlbatch_appcfg", diff --git a/spm/__matlabbatch/_cfg_disp_error.py b/spm/__matlabbatch/_cfg_disp_error.py index 4e9ff8c4..581cc68c 100644 --- a/spm/__matlabbatch/_cfg_disp_error.py +++ b/spm/__matlabbatch/_cfg_disp_error.py @@ -2,7 +2,7 @@ def _cfg_disp_error(*args, **kwargs): - """ + r""" function varargout = cfg_disp_error(errstruct) Display a condensed version of a MATLAB error without rethrowing it. @@ -14,9 +14,12 @@ def _cfg_disp_error(*args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/private/cfg_disp_error.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/private/cfg_disp_error.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("cfg_disp_error", *args, **kwargs) diff --git a/spm/__matlabbatch/_cfg_eval_valedit.py b/spm/__matlabbatch/_cfg_eval_valedit.py index c1c0101a..a257aadf 100644 --- a/spm/__matlabbatch/_cfg_eval_valedit.py +++ b/spm/__matlabbatch/_cfg_eval_valedit.py @@ -2,7 +2,7 @@ def _cfg_eval_valedit(*args, **kwargs): - """ + r""" Helper function to evaluate GUI inputs in MATLAB workspace FORMAT [val, sts] = cfg_eval_valedit(str) Evaluates GUI inputs in MATLAB 'base' workspace. Results are returned @@ -17,9 +17,12 @@ def _cfg_eval_valedit(*args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/private/cfg_eval_valedit.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/private/cfg_eval_valedit.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("cfg_eval_valedit", *args, **kwargs) diff --git a/spm/__matlabbatch/_cfg_justify.py b/spm/__matlabbatch/_cfg_justify.py index d99f117d..52d1928e 100644 --- a/spm/__matlabbatch/_cfg_justify.py +++ b/spm/__matlabbatch/_cfg_justify.py @@ -2,7 +2,7 @@ def _cfg_justify(*args, **kwargs): - """ + r""" CFG_JUSTIFY Justifies a text string OUT = CFG_JUSTIFY(N,TXT) justifies text string TXT to the length specified by N. @@ -33,9 +33,12 @@ def _cfg_justify(*args, **kwargs): Copyright (C) 2008 Wellcome Trust Centre for Neuroimaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/private/cfg_justify.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/private/cfg_justify.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("cfg_justify", *args, **kwargs) diff --git a/spm/__matlabbatch/_cfg_maxextent.py b/spm/__matlabbatch/_cfg_maxextent.py index 209b34a6..7a3f2cf6 100644 --- a/spm/__matlabbatch/_cfg_maxextent.py +++ b/spm/__matlabbatch/_cfg_maxextent.py @@ -2,7 +2,7 @@ def _cfg_maxextent(*args, **kwargs): - """ + r""" CFG_MAXEXTENT Returns the maximum extent of cellstr STR Returns the maximum extent of obj OBJ when the cellstr STR will be rendered in it. MATLAB is not able to work this out correctly on its own @@ -17,9 +17,12 @@ def _cfg_maxextent(*args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/private/cfg_maxextent.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/private/cfg_maxextent.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("cfg_maxextent", *args, **kwargs) diff --git a/spm/__matlabbatch/_cfg_mlbatch_appcfg_1.py b/spm/__matlabbatch/_cfg_mlbatch_appcfg_1.py index bbe2b96f..9b2c1350 100644 --- a/spm/__matlabbatch/_cfg_mlbatch_appcfg_1.py +++ b/spm/__matlabbatch/_cfg_mlbatch_appcfg_1.py @@ -2,15 +2,18 @@ def _cfg_mlbatch_appcfg_1(*args, **kwargs): - """ + r""" Add SPM to the application list of MATLABBATCH This file must be on MATLAB search path for cfg_util to detect it. __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/private/cfg_mlbatch_appcfg_1.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/private/cfg_mlbatch_appcfg_1.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("cfg_mlbatch_appcfg", *args, **kwargs) diff --git a/spm/__matlabbatch/_cfg_mlbatch_appcfg_2.py b/spm/__matlabbatch/_cfg_mlbatch_appcfg_2.py index bde1e111..a66c673e 100644 --- a/spm/__matlabbatch/_cfg_mlbatch_appcfg_2.py +++ b/spm/__matlabbatch/_cfg_mlbatch_appcfg_2.py @@ -2,7 +2,7 @@ def _cfg_mlbatch_appcfg_2(*args, **kwargs): - """ + r""" Add BasicIO to applications list of cfg_util. This file is an example how to add your own application configuration to cfg_util. To add an application, create a file called cfg_mlbatch_appcfg.m in the application @@ -17,9 +17,12 @@ def _cfg_mlbatch_appcfg_2(*args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/private/cfg_mlbatch_appcfg_2.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/private/cfg_mlbatch_appcfg_2.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("cfg_mlbatch_appcfg", *args, **kwargs) diff --git a/spm/__matlabbatch/_cfg_mlbatch_appcfg_master.py b/spm/__matlabbatch/_cfg_mlbatch_appcfg_master.py index 2f4910f1..b034923a 100644 --- a/spm/__matlabbatch/_cfg_mlbatch_appcfg_master.py +++ b/spm/__matlabbatch/_cfg_mlbatch_appcfg_master.py @@ -2,13 +2,16 @@ def _cfg_mlbatch_appcfg_master(*args, **kwargs): - """ + r""" cfg_mlbatch_appcfg_master is a function. - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/private/cfg_mlbatch_appcfg_master.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/private/cfg_mlbatch_appcfg_master.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("cfg_mlbatch_appcfg_master", *args, **kwargs, nargout=0) diff --git a/spm/__matlabbatch/_cfg_mlbatch_defaults.py b/spm/__matlabbatch/_cfg_mlbatch_defaults.py index ad6af1b6..b63898ad 100644 --- a/spm/__matlabbatch/_cfg_mlbatch_defaults.py +++ b/spm/__matlabbatch/_cfg_mlbatch_defaults.py @@ -2,7 +2,7 @@ def _cfg_mlbatch_defaults(*args, **kwargs): - """ + r""" function cfg_defaults = cfg_mlbatch_defaults This file contains defaults that control the behaviour and appearance of matlabbatch. @@ -14,9 +14,12 @@ def _cfg_mlbatch_defaults(*args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/private/cfg_mlbatch_defaults.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/private/cfg_mlbatch_defaults.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("cfg_mlbatch_defaults", *args, **kwargs) diff --git a/spm/__matlabbatch/_cfg_mlbatch_root.py b/spm/__matlabbatch/_cfg_mlbatch_root.py index 16c50c15..8f1fbde4 100644 --- a/spm/__matlabbatch/_cfg_mlbatch_root.py +++ b/spm/__matlabbatch/_cfg_mlbatch_root.py @@ -2,7 +2,7 @@ def _cfg_mlbatch_root(*args, **kwargs): - """ + r""" function c = cfg_mlbatch_root The root node of a matlabbatch configuration. This file is called by cfg_util when initialising its internal data structure. @@ -14,9 +14,12 @@ def _cfg_mlbatch_root(*args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/private/cfg_mlbatch_root.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/private/cfg_mlbatch_root.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("cfg_mlbatch_root", *args, **kwargs) diff --git a/spm/__matlabbatch/_cfg_onscreen.py b/spm/__matlabbatch/_cfg_onscreen.py index 3f0a45c9..c93523ac 100644 --- a/spm/__matlabbatch/_cfg_onscreen.py +++ b/spm/__matlabbatch/_cfg_onscreen.py @@ -2,7 +2,7 @@ def _cfg_onscreen(*args, **kwargs): - """ + r""" Move figure on the screen containing the mouse cfg_onscreen(fg) - move figure fg on the screen containing the mouse pos = cfg_onscreen(fg) - compute position of figure, do not move it @@ -14,9 +14,12 @@ def _cfg_onscreen(*args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/private/cfg_onscreen.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/private/cfg_onscreen.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("cfg_onscreen", *args, **kwargs) diff --git a/spm/__matlabbatch/_cfg_run_cm.py b/spm/__matlabbatch/_cfg_run_cm.py index e4794487..1b415116 100644 --- a/spm/__matlabbatch/_cfg_run_cm.py +++ b/spm/__matlabbatch/_cfg_run_cm.py @@ -2,7 +2,7 @@ def _cfg_run_cm(*args, **kwargs): - """ + r""" function cm = cfg_run_cm(cm, job) Run a module and return its output. Should really become a method of cfg_exbranch classes. @@ -14,9 +14,12 @@ def _cfg_run_cm(*args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/private/cfg_run_cm.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/private/cfg_run_cm.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("cfg_run_cm", *args, **kwargs) diff --git a/spm/__matlabbatch/_cfg_textfill.py b/spm/__matlabbatch/_cfg_textfill.py index 847414fd..21dbb831 100644 --- a/spm/__matlabbatch/_cfg_textfill.py +++ b/spm/__matlabbatch/_cfg_textfill.py @@ -2,7 +2,7 @@ def _cfg_textfill(*args, **kwargs): - """ + r""" function str = cfg_textfill(obj, left, right) Fill a text object, so that the left part is left justified and the right part right justified. If tflag is set, try to fit text in widget @@ -15,9 +15,12 @@ def _cfg_textfill(*args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/private/cfg_textfill.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/private/cfg_textfill.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("cfg_textfill", *args, **kwargs) diff --git a/spm/__matlabbatch/_cfg_ui_disable.py b/spm/__matlabbatch/_cfg_ui_disable.py index 51fb6718..db34102c 100644 --- a/spm/__matlabbatch/_cfg_ui_disable.py +++ b/spm/__matlabbatch/_cfg_ui_disable.py @@ -2,7 +2,7 @@ def _cfg_ui_disable(*args, **kwargs): - """ + r""" CFG_UI_DISABLE Disable properties en = CFG_UI_DISABLE(hObject, property) disables property in all children of hObject, returning their handles in en.c and previous state in cell @@ -20,9 +20,12 @@ def _cfg_ui_disable(*args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/private/cfg_ui_disable.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/private/cfg_ui_disable.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("cfg_ui_disable", *args, **kwargs) diff --git a/spm/__matlabbatch/_cfg_ui_getListboxTop.py b/spm/__matlabbatch/_cfg_ui_getListboxTop.py index afdc4755..e1f1d1db 100644 --- a/spm/__matlabbatch/_cfg_ui_getListboxTop.py +++ b/spm/__matlabbatch/_cfg_ui_getListboxTop.py @@ -2,7 +2,7 @@ def _cfg_ui_getListboxTop(*args, **kwargs): - """ + r""" Get a safe value for ListboxTop property while keeping previous settings if possible. obj handle of Listbox object @@ -16,9 +16,12 @@ def _cfg_ui_getListboxTop(*args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/private/cfg_ui_getListboxTop.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/private/cfg_ui_getListboxTop.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("cfg_ui_getListboxTop", *args, **kwargs) diff --git a/spm/__matlabbatch/_cfg_ui_restore.py b/spm/__matlabbatch/_cfg_ui_restore.py index bbddb198..889a4e4f 100644 --- a/spm/__matlabbatch/_cfg_ui_restore.py +++ b/spm/__matlabbatch/_cfg_ui_restore.py @@ -2,7 +2,7 @@ def _cfg_ui_restore(*args, **kwargs): - """ + r""" CFG_UI_RESTORE Restore state of properties CFG_UI_RESTORE(en) restores property values that were disabled by CFG_UI_DISABLE. @@ -16,9 +16,12 @@ def _cfg_ui_restore(*args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/private/cfg_ui_restore.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/private/cfg_ui_restore.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("cfg_ui_restore", *args, **kwargs, nargout=0) diff --git a/spm/__matlabbatch/_cfg_util_persistent.py b/spm/__matlabbatch/_cfg_util_persistent.py index eebd4508..84a96e14 100644 --- a/spm/__matlabbatch/_cfg_util_persistent.py +++ b/spm/__matlabbatch/_cfg_util_persistent.py @@ -2,7 +2,7 @@ def _cfg_util_persistent(*args, **kwargs): - """ + r""" CFG_UTIL_PERSISTENT - store persistent variables for cfg_util This code is part of a batch job configuration system for MATLAB. See @@ -12,9 +12,12 @@ def _cfg_util_persistent(*args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/private/cfg_util_persistent.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/private/cfg_util_persistent.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("cfg_util_persistent", *args, **kwargs) diff --git a/spm/__matlabbatch/_int2str.py b/spm/__matlabbatch/_int2str.py index 74763099..e0e748c5 100644 --- a/spm/__matlabbatch/_int2str.py +++ b/spm/__matlabbatch/_int2str.py @@ -2,7 +2,7 @@ def _int2str(*args, **kwargs): - """ + r""" INT2STR Convert integer to string. S = INT2STR(X) rounds the elements of the matrix X to integers and converts the result into a string matrix. @@ -14,9 +14,12 @@ def _int2str(*args, **kwargs): See also NUM2STR, SPRINTF, FPRINTF, MAT2STR. - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/private/int2str.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/private/int2str.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("int2str", *args, **kwargs) diff --git a/spm/__matlabbatch/_num2str.py b/spm/__matlabbatch/_num2str.py index 27fb0ec1..2ceba221 100644 --- a/spm/__matlabbatch/_num2str.py +++ b/spm/__matlabbatch/_num2str.py @@ -2,7 +2,7 @@ def _num2str(*args, **kwargs): - """ + r""" NUM2STR Convert numbers to a string. T = NUM2STR(X) converts the matrix X into a string representation T with about 4 digits and an exponent if required. This is useful for @@ -29,9 +29,12 @@ def _num2str(*args, **kwargs): See also INT2STR, SPRINTF, FPRINTF, MAT2STR. - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/private/num2str.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/private/num2str.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("num2str", *args, **kwargs) diff --git a/spm/__matlabbatch/cfg_branch.py b/spm/__matlabbatch/cfg_branch.py index c13302e7..8d7814b3 100644 --- a/spm/__matlabbatch/cfg_branch.py +++ b/spm/__matlabbatch/cfg_branch.py @@ -4,7 +4,7 @@ class cfg_branch(RuntimeMixin, MatlabClass): def __init__(self, *args, **kwargs): - """ + r""" This is the branch configuration item class for non-executable branches. It implements branch harvest, all_set, get_strings. @@ -59,15 +59,18 @@ def __init__(self, *args, **kwargs): - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_branch/cfg_branch.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_branch/cfg_branch.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ super().__init__() def all_leafs(self, *args, **kwargs): - """ + r""" function ok = all_leafs(item) Return true, if all child items in item.val{:} consist of subtrees ending in leaf nodes. Leaf nodes do not have to be set at this time and @@ -81,15 +84,18 @@ def all_leafs(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_branch/all_leafs.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_branch/all_leafs.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("all_leafs", self._as_matlab_object(), *args, **kwargs) def all_set(self, *args, **kwargs): - """ + r""" function ok = all_set(item) Return true, if all child items in item.val{:} are set and item specific criteria (i.e. number of element in .val) are met. No checks based on @@ -109,15 +115,18 @@ def all_set(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_branch/all_set.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_branch/all_set.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("all_set", self._as_matlab_object(), *args, **kwargs) def all_set_item(self, *args, **kwargs): - """ + r""" function ok = all_set_item(item) Perform within-item all_set check. For branches, this is always true. @@ -128,15 +137,18 @@ def all_set_item(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_branch/all_set_item.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_branch/all_set_item.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("all_set_item", self._as_matlab_object(), *args, **kwargs) def cfg2jobsubs(self, *args, **kwargs): - """ + r""" function jsubs = cfg2jobsubs(item, subs) Return the subscript into the job tree for a given subscript vector into the val part of the cfg tree. In a cfg_branch, this is a struct reference @@ -149,15 +161,18 @@ def cfg2jobsubs(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_branch/cfg2jobsubs.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_branch/cfg2jobsubs.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("cfg2jobsubs", self._as_matlab_object(), *args, **kwargs) def cfg2struct(self, *args, **kwargs): - """ + r""" function sitem = cfg2struct(item) Return a struct containing all fields of item plus a field type. This is the method suitable for entry classes. @@ -169,15 +184,18 @@ def cfg2struct(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_branch/cfg2struct.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_branch/cfg2struct.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("cfg2struct", self._as_matlab_object(), *args, **kwargs) def checksubs_job(self, *args, **kwargs): - """ + r""" function [sts vind] = checksubs_job(item, subs, dflag) Check whether a subscript reference is a valid reference in a job structure starting at item. subs(1) should have a subscript type of @@ -193,15 +211,18 @@ def checksubs_job(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_branch/checksubs_job.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_branch/checksubs_job.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("checksubs_job", self._as_matlab_object(), *args, **kwargs) def clearval(self, *args, **kwargs): - """ + r""" function item = clearval(item, dflag) Clear val fields in all items found in item.val. dflag is ignored in a cfg_branch. @@ -213,15 +234,18 @@ def clearval(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_branch/clearval.m ) + Generated from SPM26.10.01. - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_branch/clearval.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("clearval", self._as_matlab_object(), *args, **kwargs) def expand(self, *args, **kwargs): - """ + r""" function [item, sts] = expand(item, eflag, tropts) Set/query expanded flag of item depending on eflag: -1 - do not force eflag to any state, only child state will be inherited @@ -256,15 +280,18 @@ def expand(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_branch/expand.m ) + Generated from SPM26.10.01. - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_branch/expand.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("expand", self._as_matlab_object(), *args, **kwargs) def fillvals(self, *args, **kwargs): - """ + r""" function [item, inputs] = fillvals(item, inputs, infcn) If ~all_set_item, try to set item.val to the items listed in inputs{1}. inputs{1} should be a cell array of indices into item.values. For @@ -284,15 +311,18 @@ def fillvals(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_branch/fillvals.m ) + Generated from SPM26.10.01. - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_branch/fillvals.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("fillvals", self._as_matlab_object(), *args, **kwargs) def harvest(self, *args, **kwargs): - """ + r""" function [tag, val, typ, dep, chk, cj] = harvest(item, cj, dflag, rflag) Harvest a cfg_branch object. Input arguments: @@ -319,15 +349,18 @@ def harvest(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_branch/harvest.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_branch/harvest.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("harvest", self._as_matlab_object(), *args, **kwargs) def initialise(self, *args, **kwargs): - """ + r""" function item = initialise(item, val, dflag) Initialise a configuration tree with values. If val is a job struct/cell, only the parts of the configuration that are present in @@ -345,15 +378,18 @@ def initialise(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_branch/initialise.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_branch/initialise.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("initialise", self._as_matlab_object(), *args, **kwargs) def list_(self, *args, **kwargs): - """ + r""" function [id, stop, val] = list(item, spec, tropts, fn) Find items in a cfg tree rooted at item that match a specification spec. By default, the filled configuration tree is searched (i.e. the @@ -406,15 +442,18 @@ def list_(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_branch/list.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_branch/list.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("list", self._as_matlab_object(), *args, **kwargs) def setval(self, *args, **kwargs): - """ + r""" function item = setval(item, val, dflag) prevent changes to item.val via setval for branches @@ -425,15 +464,18 @@ def setval(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_branch/setval.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_branch/setval.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("setval", self._as_matlab_object(), *args, **kwargs) def showdetail(self, *args, **kwargs): - """ + r""" function str = showdetail(item) Display details for a cfg_choice and all of its options. @@ -444,15 +486,18 @@ def showdetail(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_branch/showdetail.m ) + Generated from SPM26.10.01. - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_branch/showdetail.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("showdetail", self._as_matlab_object(), *args, **kwargs) def showdoc(self, *args, **kwargs): - """ + r""" function str = showdoc(item, indent) Display help text for a cfg item and all of its options. @@ -465,15 +510,18 @@ def showdoc(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_branch/showdoc.m ) + Generated from SPM26.10.01. - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_branch/showdoc.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("showdoc", self._as_matlab_object(), *args, **kwargs) def showmydoc(self, *args, **kwargs): - """ + r""" function str = showmydoc(item, indent) Display help text for a cfg_choice and all of its options, without recursive calls to child nodes. @@ -485,15 +533,18 @@ def showmydoc(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_branch/showmydoc.m ) + Generated from SPM26.10.01. - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_branch/showmydoc.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("showmydoc", self._as_matlab_object(), *args, **kwargs) def subs_fields(self, *args, **kwargs): - """ + r""" function fnames = subs_fields(item) This function works as a "class-based switch" to return the value of the private mysubs_fields function for the appropriate class. @@ -508,15 +559,18 @@ def subs_fields(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_branch/subs_fields.m ) + Generated from SPM26.10.01. - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_branch/subs_fields.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("subs_fields", self._as_matlab_object(), *args, **kwargs) def subsasgn(self, *args, **kwargs): - """ + r""" function item = subsasgn(item, subs, varargin) This function implements subsasgn for all classes derived from cfg_item. It relies on the capability of each class constructor to re-classify a @@ -549,15 +603,18 @@ def subsasgn(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_branch/subsasgn.m ) + Generated from SPM26.10.01. - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_branch/subsasgn.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("subsasgn", self._as_matlab_object(), *args, **kwargs) def subsasgn_check(self, *args, **kwargs): - """ + r""" function [sts, val] = subsasgn_check(item,subs,val) Check whether type of val conforms to configuration tree specification. @@ -568,15 +625,18 @@ def subsasgn_check(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_branch/subsasgn_check.m ) + Generated from SPM26.10.01. - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_branch/subsasgn_check.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("subsasgn_check", self._as_matlab_object(), *args, **kwargs) def subsasgn_job(self, *args, **kwargs): - """ + r""" function item = subsasgn_job(item, subs, val) Treat a subscript reference as a reference in a job structure instead of a cfg_item structure. If subs is empty, then the subtree @@ -593,15 +653,18 @@ def subsasgn_job(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_branch/subsasgn_job.m ) + Generated from SPM26.10.01. - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_branch/subsasgn_job.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("subsasgn_job", self._as_matlab_object(), *args, **kwargs) def subsref(self, *args, **kwargs): - """ + r""" function varargout = subsref(item, subs) subscript references we have to deal with are: one level @@ -625,15 +688,18 @@ def subsref(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_branch/subsref.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_branch/subsref.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("subsref", self._as_matlab_object(), *args, **kwargs) def subsref_job(self, *args, **kwargs): - """ + r""" function [ritem varargout] = subsref_job(item, subs, c0) Treat a subscript reference as a reference in a job structure instead of a cfg_item structure. If subs is empty, then the harvested subtree @@ -653,15 +719,18 @@ def subsref_job(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_branch/subsref_job.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_branch/subsref_job.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("subsref_job", self._as_matlab_object(), *args, **kwargs) def tag2cfgsubs(self, *args, **kwargs): - """ + r""" function [id, stop, rtaglist] = tag2cfgsubs(item, taglist, finalspec, tropts) Return the index into the values branch of a configuration tree which corresponds to a list of tags. @@ -685,15 +754,18 @@ def tag2cfgsubs(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_branch/tag2cfgsubs.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_branch/tag2cfgsubs.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("tag2cfgsubs", self._as_matlab_object(), *args, **kwargs) def tagnames(self, *args, **kwargs): - """ + r""" function tn = tagnames(item, dflag) Return the tags of all children in the job tree of an item. dflag indicates whether the filled (false) or defaults (true) part of the @@ -709,15 +781,18 @@ def tagnames(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_branch/tagnames.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_branch/tagnames.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("tagnames", self._as_matlab_object(), *args, **kwargs) def treepart(self, *args, **kwargs): - """ + r""" function tname = treepart(item, dflag) tree part to search - for cfg_branches this is always val. @@ -728,15 +803,18 @@ def treepart(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_branch/treepart.m ) + Generated from SPM26.10.01. - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_branch/treepart.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("treepart", self._as_matlab_object(), *args, **kwargs) def update_deps(self, *args, **kwargs): - """ + r""" function item = update_deps(item, varargin) This function will run cfg_dep/update_deps in all leaf (cfg_entry, cfg_menu, cfg_files) nodes of a configuration tree and update their @@ -751,15 +829,18 @@ def update_deps(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_branch/update_deps.m ) + Generated from SPM26.10.01. - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_branch/update_deps.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("update_deps", self._as_matlab_object(), *args, **kwargs) def val2def(self, *args, **kwargs): - """ + r""" function [item, defaults] = val2def(item, defaults, funname, deftag) If a cfg_leaf item has a value, extract it and generate code for defaults retrieval. This function works in a way similar to harvest, but with a @@ -776,15 +857,18 @@ def val2def(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_branch/val2def.m ) + Generated from SPM26.10.01. - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_branch/val2def.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("val2def", self._as_matlab_object(), *args, **kwargs) def _mysubs_fields(self, *args, **kwargs): - """ + r""" function [fnames, defaults] = mysubs_fields Additional fields for class cfg_branch. See help of @cfg_item/subs_fields for general help about this function. @@ -796,9 +880,12 @@ def _mysubs_fields(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_branch/private/mysubs_fields.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_branch/private/mysubs_fields.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("mysubs_fields", self._as_matlab_object(), *args, **kwargs) diff --git a/spm/__matlabbatch/cfg_callbuiltin.py b/spm/__matlabbatch/cfg_callbuiltin.py index 5f53c66d..a5cdc050 100644 --- a/spm/__matlabbatch/cfg_callbuiltin.py +++ b/spm/__matlabbatch/cfg_callbuiltin.py @@ -2,14 +2,17 @@ def cfg_callbuiltin(*args, **kwargs): - """ + r""" cfg_callbuiltin is a function. varargout = cfg_callbuiltin(varargin) - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/cfg_callbuiltin.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/cfg_callbuiltin.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("cfg_callbuiltin", *args, **kwargs) diff --git a/spm/__matlabbatch/cfg_choice.py b/spm/__matlabbatch/cfg_choice.py index da2fc23c..e70e75fb 100644 --- a/spm/__matlabbatch/cfg_choice.py +++ b/spm/__matlabbatch/cfg_choice.py @@ -4,7 +4,7 @@ class cfg_choice(RuntimeMixin, MatlabClass): def __init__(self, *args, **kwargs): - """ + r""" This is the choice configuration item class Data structure @@ -55,15 +55,18 @@ def __init__(self, *args, **kwargs): - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_choice/cfg_choice.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_choice/cfg_choice.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ super().__init__() def all_leafs(self, *args, **kwargs): - """ + r""" function ok = all_leafs(item) Return true, if all child items in item.val{:} consist of subtrees ending in leaf nodes. Leaf nodes do not have to be set at this time and @@ -77,15 +80,18 @@ def all_leafs(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_choice/all_leafs.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_choice/all_leafs.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("all_leafs", self._as_matlab_object(), *args, **kwargs) def all_set(self, *args, **kwargs): - """ + r""" function ok = all_set(item) Return true, if all child items in item.val{:} are set and item specific criteria (i.e. number of element in .val) are met. No checks based on @@ -105,15 +111,18 @@ def all_set(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_choice/all_set.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_choice/all_set.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("all_set", self._as_matlab_object(), *args, **kwargs) def all_set_item(self, *args, **kwargs): - """ + r""" function ok = all_set_item(item) Perform within-item all_set check. For choices, this is true, if item.val has one element. @@ -125,15 +134,18 @@ def all_set_item(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_choice/all_set_item.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_choice/all_set_item.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("all_set_item", self._as_matlab_object(), *args, **kwargs) def cfg2jobsubs(self, *args, **kwargs): - """ + r""" function jsubs = cfg2jobsubs(item, subs) Return the subscript into the job tree for a given subscript vector into the val part of the cfg tree. In a cfg_choice, this is a struct reference @@ -146,15 +158,18 @@ def cfg2jobsubs(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_choice/cfg2jobsubs.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_choice/cfg2jobsubs.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("cfg2jobsubs", self._as_matlab_object(), *args, **kwargs) def cfg2struct(self, *args, **kwargs): - """ + r""" function sitem = cfg2struct(item) Return a struct containing all fields of item plus a field type. This is the method suitable for cfg_choice and repeat classes. It descends down @@ -167,15 +182,18 @@ def cfg2struct(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_choice/cfg2struct.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_choice/cfg2struct.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("cfg2struct", self._as_matlab_object(), *args, **kwargs) def checksubs_job(self, *args, **kwargs): - """ + r""" function [sts vind] = checksubs_job(item, subs, dflag) Check whether a subscript reference is a valid reference in a job structure starting at item. subs(1) should have a subscript type of @@ -191,15 +209,18 @@ def checksubs_job(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_choice/checksubs_job.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_choice/checksubs_job.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("checksubs_job", self._as_matlab_object(), *args, **kwargs) def clearval(self, *args, **kwargs): - """ + r""" function item = clearval(item, dflag) Clear val field, thereby removing the currently selected configuration subtree. If dflag is set, then also all val fields in the item.values{:} @@ -213,15 +234,18 @@ def clearval(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_choice/clearval.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_choice/clearval.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("clearval", self._as_matlab_object(), *args, **kwargs) def expand(self, *args, **kwargs): - """ + r""" function [item, sts] = expand(item, eflag, tropts) Set/query expanded flag of item depending on eflag: -1 - do not force eflag to any state, only child state will be inherited @@ -256,15 +280,18 @@ def expand(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_choice/expand.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_choice/expand.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("expand", self._as_matlab_object(), *args, **kwargs) def fieldnames(self, *args, **kwargs): - """ + r""" function fn = fieldnames(item) Return a list of all (inherited and non-inherited) field names. @@ -275,15 +302,18 @@ def fieldnames(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_choice/fieldnames.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_choice/fieldnames.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("fieldnames", self._as_matlab_object(), *args, **kwargs) def fillvals(self, *args, **kwargs): - """ + r""" function [item, inputs] = fillvals(item, inputs, infcn) If ~all_set_item, try to set item.val to the items listed in inputs{1}. inputs{1} should be a cell array of indices into item.values. For @@ -303,15 +333,18 @@ def fillvals(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_choice/fillvals.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_choice/fillvals.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("fillvals", self._as_matlab_object(), *args, **kwargs) def gencode_item(self, *args, **kwargs): - """ + r""" function [str, tag, cind, ccnt] = gencode_item(item, tag, tagctx, stoptag, tropts) Generate code to recreate a cfg_(m)choice item. This code does not deal with arrays of cfg_items, such a configuration should not exist with the @@ -337,15 +370,18 @@ def gencode_item(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_choice/gencode_item.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_choice/gencode_item.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("gencode_item", self._as_matlab_object(), *args, **kwargs) def harvest(self, *args, **kwargs): - """ + r""" function [tag, val, typ, dep, chk, cj] = harvest(item, cj, dflag, rflag) Harvest a cfg_branch object. Input arguments: @@ -372,15 +408,18 @@ def harvest(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_choice/harvest.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_choice/harvest.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("harvest", self._as_matlab_object(), *args, **kwargs) def initialise(self, *args, **kwargs): - """ + r""" function item = initialise(item, val, dflag) Initialise a configuration tree with values. If val is a job struct/cell, only the parts of the configuration that are present in @@ -402,15 +441,18 @@ def initialise(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_choice/initialise.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_choice/initialise.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("initialise", self._as_matlab_object(), *args, **kwargs) def list_(self, *args, **kwargs): - """ + r""" function [id, stop, val] = list(item, spec, tropts, fn) Find items in a cfg tree rooted at item that match a specification spec. By default, the filled configuration tree is searched (i.e. the @@ -463,15 +505,18 @@ def list_(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_choice/list.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_choice/list.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("list", self._as_matlab_object(), *args, **kwargs) def setval(self, *args, **kwargs): - """ + r""" function item = setval(item, val, dflag) Set item.val{1} to item.values{val(1)}. If isempty(val), set item.val to {}. dflag is ignored for cfg_choice items. @@ -483,15 +528,18 @@ def setval(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_choice/setval.m ) + Generated from SPM26.10.01. - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_choice/setval.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("setval", self._as_matlab_object(), *args, **kwargs) def showdetail(self, *args, **kwargs): - """ + r""" function str = showdetail(item) Display details for a cfg_choice and all of its options. @@ -502,15 +550,18 @@ def showdetail(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_choice/showdetail.m ) + Generated from SPM26.10.01. - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_choice/showdetail.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("showdetail", self._as_matlab_object(), *args, **kwargs) def showdoc(self, *args, **kwargs): - """ + r""" function str = showdoc(item, indent) Display help text for a cfg item and all of its options. @@ -523,15 +574,18 @@ def showdoc(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_choice/showdoc.m ) + Generated from SPM26.10.01. - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_choice/showdoc.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("showdoc", self._as_matlab_object(), *args, **kwargs) def showmydoc(self, *args, **kwargs): - """ + r""" function str = showmydoc(item, indent) Display help text for a cfg_choice and all of its options, without recursive calls to child nodes. @@ -543,15 +597,18 @@ def showmydoc(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_choice/showmydoc.m ) + Generated from SPM26.10.01. - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_choice/showmydoc.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("showmydoc", self._as_matlab_object(), *args, **kwargs) def subs_fields(self, *args, **kwargs): - """ + r""" function fnames = subs_fields(item) This function works as a "class-based switch" to return the value of the private mysubs_fields function for the appropriate class. @@ -566,15 +623,18 @@ def subs_fields(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_choice/subs_fields.m ) + Generated from SPM26.10.01. - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_choice/subs_fields.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("subs_fields", self._as_matlab_object(), *args, **kwargs) def subsasgn(self, *args, **kwargs): - """ + r""" function item = subsasgn(item, subs, varargin) This function implements subsasgn for all classes derived from cfg_item. It relies on the capability of each class constructor to re-classify a @@ -607,15 +667,18 @@ def subsasgn(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_choice/subsasgn.m ) + Generated from SPM26.10.01. - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_choice/subsasgn.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("subsasgn", self._as_matlab_object(), *args, **kwargs) def subsasgn_check(self, *args, **kwargs): - """ + r""" function [sts, val] = subsasgn_check(item,subs,val) Check assignments to item.values and item.val. @@ -626,15 +689,18 @@ def subsasgn_check(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_choice/subsasgn_check.m ) + Generated from SPM26.10.01. - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_choice/subsasgn_check.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("subsasgn_check", self._as_matlab_object(), *args, **kwargs) def subsasgn_job(self, *args, **kwargs): - """ + r""" function item = subsasgn_job(item, subs, val) Treat a subscript reference as a reference in a job structure instead of a cfg_item structure. If subs is empty, then the subtree @@ -651,15 +717,18 @@ def subsasgn_job(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_choice/subsasgn_job.m ) + Generated from SPM26.10.01. - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_choice/subsasgn_job.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("subsasgn_job", self._as_matlab_object(), *args, **kwargs) def subsref(self, *args, **kwargs): - """ + r""" function varargout = subsref(item, subs) subscript references we have to deal with are: one level @@ -683,15 +752,18 @@ def subsref(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_choice/subsref.m ) + Generated from SPM26.10.01. - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_choice/subsref.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("subsref", self._as_matlab_object(), *args, **kwargs) def subsref_job(self, *args, **kwargs): - """ + r""" function [ritem varargout] = subsref_job(item, subs, c0) Treat a subscript reference as a reference in a job structure instead of a cfg_item structure. If subs is empty, then the harvested subtree @@ -711,15 +783,18 @@ def subsref_job(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_choice/subsref_job.m ) + Generated from SPM26.10.01. - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_choice/subsref_job.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("subsref_job", self._as_matlab_object(), *args, **kwargs) def tag2cfgsubs(self, *args, **kwargs): - """ + r""" function [id, stop, rtaglist] = tag2cfgsubs(item, taglist, finalspec, tropts) Return the index into the values branch of a configuration tree which corresponds to a list of tags. @@ -743,15 +818,18 @@ def tag2cfgsubs(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_choice/tag2cfgsubs.m ) + Generated from SPM26.10.01. - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_choice/tag2cfgsubs.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("tag2cfgsubs", self._as_matlab_object(), *args, **kwargs) def tagnames(self, *args, **kwargs): - """ + r""" function tn = tagnames(item, dflag) Return the tags of all children in the job tree of an item. dflag indicates whether the filled (false) or defaults (true) part of the @@ -767,15 +845,18 @@ def tagnames(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_choice/tagnames.m ) + Generated from SPM26.10.01. - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_choice/tagnames.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("tagnames", self._as_matlab_object(), *args, **kwargs) def treepart(self, *args, **kwargs): - """ + r""" function tname = treepart(item, dflag) tree part to search - for cfg_repeat/cfg_choice this is val for filled cfg_items and values for default cfg_items. @@ -787,15 +868,18 @@ def treepart(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_choice/treepart.m ) + Generated from SPM26.10.01. - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_choice/treepart.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("treepart", self._as_matlab_object(), *args, **kwargs) def update_deps(self, *args, **kwargs): - """ + r""" function item = update_deps(item, varargin) This function will run cfg_dep/update_deps in all leaf (cfg_entry, cfg_menu, cfg_files) nodes of a configuration tree and update their @@ -810,15 +894,18 @@ def update_deps(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_choice/update_deps.m ) + Generated from SPM26.10.01. - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_choice/update_deps.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("update_deps", self._as_matlab_object(), *args, **kwargs) def val2def(self, *args, **kwargs): - """ + r""" function [item, defaults] = val2def(item, defaults, funname, deftag) If a cfg_leaf item has a value, extract it and generate code for defaults retrieval. This function works in a way similar to harvest, but with a @@ -835,15 +922,18 @@ def val2def(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_choice/val2def.m ) + Generated from SPM26.10.01. - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_choice/val2def.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("val2def", self._as_matlab_object(), *args, **kwargs) def _mysubs_fields(self, *args, **kwargs): - """ + r""" function [fnames, defaults] = mysubs_fields Additional fields for class cfg_choice. See help of @cfg_item/subs_fields for general help about this function. @@ -855,9 +945,12 @@ def _mysubs_fields(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_choice/private/mysubs_fields.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_choice/private/mysubs_fields.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("mysubs_fields", self._as_matlab_object(), *args, **kwargs) diff --git a/spm/__matlabbatch/cfg_const.py b/spm/__matlabbatch/cfg_const.py index ed88a9ff..ddda9e65 100644 --- a/spm/__matlabbatch/cfg_const.py +++ b/spm/__matlabbatch/cfg_const.py @@ -4,7 +4,7 @@ class cfg_const(RuntimeMixin, MatlabClass): def __init__(self, *args, **kwargs): - """ + r""" This is the const configuration item class Data structure @@ -55,15 +55,18 @@ def __init__(self, *args, **kwargs): - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_const/cfg_const.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_const/cfg_const.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ super().__init__() def cfg2struct(self, *args, **kwargs): - """ + r""" function sitem = cfg2struct(item) Return a struct containing all fields of item plus a field type. This is the method suitable for entry classes. @@ -75,15 +78,18 @@ def cfg2struct(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_const/cfg2struct.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_const/cfg2struct.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("cfg2struct", self._as_matlab_object(), *args, **kwargs) def showdetail(self, *args, **kwargs): - """ + r""" function str = showdetail(item) Display details for a cfg_const item. @@ -94,15 +100,18 @@ def showdetail(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_const/showdetail.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_const/showdetail.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("showdetail", self._as_matlab_object(), *args, **kwargs) def showdoc(self, *args, **kwargs): - """ + r""" function str = showdoc(item, indent) Display help text for a cfg_const item. @@ -113,15 +122,18 @@ def showdoc(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_const/showdoc.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_const/showdoc.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("showdoc", self._as_matlab_object(), *args, **kwargs) def subs_fields(self, *args, **kwargs): - """ + r""" function fnames = subs_fields(item) This function works as a "class-based switch" to return the value of the private mysubs_fields function for the appropriate class. @@ -136,15 +148,18 @@ def subs_fields(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_const/subs_fields.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_const/subs_fields.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("subs_fields", self._as_matlab_object(), *args, **kwargs) def subsasgn(self, *args, **kwargs): - """ + r""" function item = subsasgn(item, subs, varargin) This function implements subsasgn for all classes derived from cfg_item. It relies on the capability of each class constructor to re-classify a @@ -177,15 +192,18 @@ def subsasgn(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_const/subsasgn.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_const/subsasgn.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("subsasgn", self._as_matlab_object(), *args, **kwargs) def subsref(self, *args, **kwargs): - """ + r""" function varargout = subsref(item, subs) subscript references we have to deal with are: one level @@ -209,15 +227,18 @@ def subsref(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_const/subsref.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_const/subsref.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("subsref", self._as_matlab_object(), *args, **kwargs) def _mysubs_fields(self, *args, **kwargs): - """ + r""" function [fnames, defaults] = mysubs_fields Additional fields for class cfg_const. See help of @cfg_item/subs_fields for general help about this function. @@ -229,9 +250,12 @@ def _mysubs_fields(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_const/private/mysubs_fields.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_const/private/mysubs_fields.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("mysubs_fields", self._as_matlab_object(), *args, **kwargs) diff --git a/spm/__matlabbatch/cfg_dbstop.py b/spm/__matlabbatch/cfg_dbstop.py index 314d0ec8..fba184c7 100644 --- a/spm/__matlabbatch/cfg_dbstop.py +++ b/spm/__matlabbatch/cfg_dbstop.py @@ -2,14 +2,17 @@ def cfg_dbstop(*args, **kwargs): - """ + r""" cfg_dbstop is a function. cfg_dbstop(fh) - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/cfg_dbstop.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/cfg_dbstop.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("cfg_dbstop", *args, **kwargs, nargout=0) diff --git a/spm/__matlabbatch/cfg_dep.py b/spm/__matlabbatch/cfg_dep.py index 28a472a0..21a96242 100644 --- a/spm/__matlabbatch/cfg_dep.py +++ b/spm/__matlabbatch/cfg_dep.py @@ -4,7 +4,7 @@ class cfg_dep(RuntimeMixin, MatlabClass): def __init__(self, *args, **kwargs): - """ + r""" This is the configuration dependency class Data structure @@ -49,15 +49,18 @@ def __init__(self, *args, **kwargs): - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_dep/cfg_dep.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_dep/cfg_dep.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ super().__init__() def add_to_source(self, *args, **kwargs): - """ + r""" Add foreign target dependencies to own source dependencies function [cj tdeps cflag dflag] = add_to_source(tdeps, cj) This function adds target dependencies to the corresponding source @@ -76,15 +79,18 @@ def add_to_source(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_dep/add_to_source.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_dep/add_to_source.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("add_to_source", self._as_matlab_object(), *args, **kwargs) def ctranspose(self, *args, **kwargs): - """ + r""" function b = ctranspose(a) Transpose a configuration dependency @@ -95,15 +101,18 @@ def ctranspose(self, *args, **kwargs): Copyright (C) 2016 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_dep/ctranspose.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_dep/ctranspose.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ctranspose", self._as_matlab_object(), *args, **kwargs) def del_in_source(self, *args, **kwargs): - """ + r""" function cj = del_in_source(tdeps, cj) delete foreign target dependencies from own source dependencies. @@ -114,15 +123,18 @@ def del_in_source(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_dep/del_in_source.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_dep/del_in_source.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("del_in_source", self._as_matlab_object(), *args, **kwargs) def del_in_target(self, *args, **kwargs): - """ + r""" function cj = del_in_target(sdeps, cj) If a dependency source has changed, drop all dependent (target) references. Since dependencies only depend on input structure, this does @@ -136,15 +148,18 @@ def del_in_target(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_dep/del_in_target.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_dep/del_in_target.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("del_in_target", self._as_matlab_object(), *args, **kwargs) def dep_add(self, *args, **kwargs): - """ + r""" augment cdep tsubs references, and add them to dependency list This code is part of a batch job configuration system for MATLAB. See @@ -154,15 +169,18 @@ def dep_add(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_dep/dep_add.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_dep/dep_add.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("dep_add", self._as_matlab_object(), *args, **kwargs) def disp(self, *args, **kwargs): - """ + r""" function disp(obj) Disp a configuration dependency @@ -173,15 +191,18 @@ def disp(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_dep/disp.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_dep/disp.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("disp", self._as_matlab_object(), *args, **kwargs, nargout=0) def display(self, *args, **kwargs): - """ + r""" function display(dep) Display a configuration dependency @@ -192,15 +213,18 @@ def display(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_dep/display.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_dep/display.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("display", self._as_matlab_object(), *args, **kwargs, nargout=0) def gencode(self, *args, **kwargs): - """ + r""" function [str, tag, cind] = gencode(item, tag, tagctx) Generate code to recreate an cfg_dep object. @@ -211,15 +235,18 @@ def gencode(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_dep/gencode.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_dep/gencode.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("gencode", self._as_matlab_object(), *args, **kwargs) def isequalsource(self, *args, **kwargs): - """ + r""" function sts = isequalsource(dep1, dep2) Compare source references of two dependencies and return true if both point to the same object. If multiple dependencies are given, the @@ -231,15 +258,18 @@ def isequalsource(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_dep/isequalsource.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_dep/isequalsource.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("isequalsource", self._as_matlab_object(), *args, **kwargs) def isequaltarget(self, *args, **kwargs): - """ + r""" function sts = isequaltarget(dep1, dep2) Compare source references of two dependencies and return true if both point to the same object. If multiple dependencies are given, the @@ -251,15 +281,18 @@ def isequaltarget(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_dep/isequaltarget.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_dep/isequaltarget.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("isequaltarget", self._as_matlab_object(), *args, **kwargs) def subs_fields(self, *args, **kwargs): - """ + r""" function fnames = subs_fields(item) This function works as a "class-based switch" to return the value of the private mysubs_fields function for the appropriate class. It is @@ -273,15 +306,18 @@ def subs_fields(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_dep/subs_fields.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_dep/subs_fields.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("subs_fields", self._as_matlab_object(), *args, **kwargs) def subsasgn(self, *args, **kwargs): - """ + r""" function dep = subsasgn(dep, subs, varargin) subscript references we have to deal with are: one level @@ -302,15 +338,18 @@ def subsasgn(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_dep/subsasgn.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_dep/subsasgn.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("subsasgn", self._as_matlab_object(), *args, **kwargs) def subsref(self, *args, **kwargs): - """ + r""" function varargout = subsref(dep, subs) subscript references we have to deal with are: one level @@ -331,15 +370,18 @@ def subsref(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_dep/subsref.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_dep/subsref.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("subsref", self._as_matlab_object(), *args, **kwargs) def update_deps(self, *args, **kwargs): - """ + r""" function dep = update_deps(dep, oid, nid) go through an array of dependencies and update tgt_exbranch and src_exbranch entries. @@ -350,15 +392,18 @@ def update_deps(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_dep/update_deps.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_dep/update_deps.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("update_deps", self._as_matlab_object(), *args, **kwargs) def _mysubs_fields(self, *args, **kwargs): - """ + r""" function fnames = mysubs_fields(dep) This function returns a cell string of names containing the fields implemented by the cfg_dep class. It is called from @cfg_dep/subsasgn @@ -371,9 +416,12 @@ def _mysubs_fields(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_dep/private/mysubs_fields.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_dep/private/mysubs_fields.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("mysubs_fields", self._as_matlab_object(), *args, **kwargs) diff --git a/spm/__matlabbatch/cfg_entry.py b/spm/__matlabbatch/cfg_entry.py index a1047c12..a8b1b68b 100644 --- a/spm/__matlabbatch/cfg_entry.py +++ b/spm/__matlabbatch/cfg_entry.py @@ -4,7 +4,7 @@ class cfg_entry(RuntimeMixin, MatlabClass): def __init__(self, *args, **kwargs): - """ + r""" This is the entry configuration item class Data structure @@ -108,15 +108,18 @@ def __init__(self, *args, **kwargs): - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_entry/cfg_entry.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_entry/cfg_entry.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ super().__init__() def cfg2struct(self, *args, **kwargs): - """ + r""" function sitem = cfg2struct(item) Return a struct containing all fields of item plus a field type. This is the method suitable for entry classes. @@ -128,15 +131,18 @@ def cfg2struct(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_entry/cfg2struct.m ) + Generated from SPM26.10.01. - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_entry/cfg2struct.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("cfg2struct", self._as_matlab_object(), *args, **kwargs) def fieldnames(self, *args, **kwargs): - """ + r""" function fn = fieldnames(item) Return a list of all (inherited and non-inherited) field names. @@ -147,15 +153,18 @@ def fieldnames(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_entry/fieldnames.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_entry/fieldnames.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("fieldnames", self._as_matlab_object(), *args, **kwargs) def gencode_item(self, *args, **kwargs): - """ + r""" function [str, tag, cind, ccnt] = gencode_item(item, tag, tagctx, stoptag, tropts) Generate code to recreate a generic item. This code does not deal with arrays of cfg_items, such a configuration should not exist with the @@ -178,15 +187,18 @@ def gencode_item(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_entry/gencode_item.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_entry/gencode_item.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("gencode_item", self._as_matlab_object(), *args, **kwargs) def match(self, *args, **kwargs): - """ + r""" sts = match(item, spec) Spec must be a cell array of struct arrays with one or more fields. Each struct must contain two fields - 'name' and 'value'. @@ -214,15 +226,18 @@ def match(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_entry/match.m ) + Generated from SPM26.10.01. - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_entry/match.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("match", self._as_matlab_object(), *args, **kwargs) def showdetail(self, *args, **kwargs): - """ + r""" function str = showdetail(item) Display details for a cfg_files item. @@ -233,15 +248,18 @@ def showdetail(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_entry/showdetail.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_entry/showdetail.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("showdetail", self._as_matlab_object(), *args, **kwargs) def showdoc(self, *args, **kwargs): - """ + r""" function str = showdoc(item, indent) Display help text for a cfg_entry item. @@ -252,15 +270,18 @@ def showdoc(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_entry/showdoc.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_entry/showdoc.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("showdoc", self._as_matlab_object(), *args, **kwargs) def subs_fields(self, *args, **kwargs): - """ + r""" function fnames = subs_fields(item) This function works as a "class-based switch" to return the value of the private mysubs_fields function for the appropriate class. @@ -275,15 +296,18 @@ def subs_fields(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_entry/subs_fields.m ) + Generated from SPM26.10.01. - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_entry/subs_fields.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("subs_fields", self._as_matlab_object(), *args, **kwargs) def subsasgn(self, *args, **kwargs): - """ + r""" function item = subsasgn(item, subs, varargin) This function implements subsasgn for all classes derived from cfg_item. It relies on the capability of each class constructor to re-classify a @@ -316,15 +340,18 @@ def subsasgn(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_entry/subsasgn.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_entry/subsasgn.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("subsasgn", self._as_matlab_object(), *args, **kwargs) def subsasgn_check(self, *args, **kwargs): - """ + r""" function [sts, val] = subsasgn_check(item,subs,val) Perform validity checks for cfg_entry inputs. Does not yet support evaluation of inputs. @@ -336,15 +363,18 @@ def subsasgn_check(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_entry/subsasgn_check.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_entry/subsasgn_check.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("subsasgn_check", self._as_matlab_object(), *args, **kwargs) def subsref(self, *args, **kwargs): - """ + r""" function varargout = subsref(item, subs) subscript references we have to deal with are: one level @@ -368,15 +398,18 @@ def subsref(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_entry/subsref.m ) + Generated from SPM26.10.01. - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_entry/subsref.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("subsref", self._as_matlab_object(), *args, **kwargs) def _mysubs_fields(self, *args, **kwargs): - """ + r""" function [fnames, defaults] = mysubs_fields Additional fields for class cfg_entry. See help of @cfg_item/subs_fields for general help about this function. @@ -388,9 +421,12 @@ def _mysubs_fields(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_entry/private/mysubs_fields.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_entry/private/mysubs_fields.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("mysubs_fields", self._as_matlab_object(), *args, **kwargs) diff --git a/spm/__matlabbatch/cfg_exbranch.py b/spm/__matlabbatch/cfg_exbranch.py index 6355b693..706063b9 100644 --- a/spm/__matlabbatch/cfg_exbranch.py +++ b/spm/__matlabbatch/cfg_exbranch.py @@ -4,7 +4,7 @@ class cfg_exbranch(RuntimeMixin, MatlabClass): def __init__(self, *args, **kwargs): - """ + r""" This is the exbranch configuration item class Data structure @@ -62,15 +62,18 @@ def __init__(self, *args, **kwargs): - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_exbranch/cfg_exbranch.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_exbranch/cfg_exbranch.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ super().__init__() def cfg2struct(self, *args, **kwargs): - """ + r""" function sitem = cfg2struct(item) Return a struct containing all fields of item plus a field type. This is the method suitable for cfg_exbranch. @@ -82,15 +85,18 @@ def cfg2struct(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_exbranch/cfg2struct.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_exbranch/cfg2struct.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("cfg2struct", self._as_matlab_object(), *args, **kwargs) def disp(self, *args, **kwargs): - """ + r""" function disp(obj) Disp a cfg_exbranch object. @@ -101,15 +107,18 @@ def disp(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_exbranch/disp.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_exbranch/disp.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("disp", self._as_matlab_object(), *args, **kwargs, nargout=0) def display(self, *args, **kwargs): - """ + r""" function display(item) Display a configuration object @@ -120,15 +129,18 @@ def display(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_exbranch/display.m ) + Generated from SPM26.10.01. - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_exbranch/display.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("display", self._as_matlab_object(), *args, **kwargs, nargout=0) def fieldnames(self, *args, **kwargs): - """ + r""" function fn = fieldnames(item) Return a list of all (inherited and non-inherited) field names. @@ -139,15 +151,18 @@ def fieldnames(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_exbranch/fieldnames.m ) + Generated from SPM26.10.01. - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_exbranch/fieldnames.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("fieldnames", self._as_matlab_object(), *args, **kwargs) def gencode_item(self, *args, **kwargs): - """ + r""" function [str, tag, cind, ccnt] = gencode_item(item, tag, tagctx, stoptag, tropts) Generate code to recreate a cfg_exbranch item. This code first generates code for the parent cfg_branch item and adds code for its own fields. @@ -173,15 +188,18 @@ def gencode_item(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_exbranch/gencode_item.m ) + Generated from SPM26.10.01. - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_exbranch/gencode_item.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("gencode_item", self._as_matlab_object(), *args, **kwargs) def harvest(self, *args, **kwargs): - """ + r""" function [tag, val, typ, dep, chk, cj] = harvest(item, cj, dflag, rflag) harvest function for cfg_exbranch item - cfg_exbranch to harvest @@ -226,15 +244,18 @@ def harvest(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_exbranch/harvest.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_exbranch/harvest.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("harvest", self._as_matlab_object(), *args, **kwargs) def showdetail(self, *args, **kwargs): - """ + r""" function str = showdetail(item) Display details for a cfg_exbranch and all of its options. @@ -245,15 +266,18 @@ def showdetail(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_exbranch/showdetail.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_exbranch/showdetail.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("showdetail", self._as_matlab_object(), *args, **kwargs) def subs_fields(self, *args, **kwargs): - """ + r""" function fnames = subs_fields(item) This function works as a "class-based switch" to return the value of the private mysubs_fields function for the appropriate class. @@ -268,15 +292,18 @@ def subs_fields(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_exbranch/subs_fields.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_exbranch/subs_fields.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("subs_fields", self._as_matlab_object(), *args, **kwargs) def subsasgn(self, *args, **kwargs): - """ + r""" function item = subsasgn(item, subs, varargin) This function implements subsasgn for all classes derived from cfg_item. It relies on the capability of each class constructor to re-classify a @@ -309,15 +336,18 @@ def subsasgn(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_exbranch/subsasgn.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_exbranch/subsasgn.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("subsasgn", self._as_matlab_object(), *args, **kwargs) def subsasgn_check(self, *args, **kwargs): - """ + r""" function [sts, val] = subsasgn_check(item,subs,val) Check whether .prog, .vout and .vfiles are functions or function handles and whether dependencies are cfg_dep objects. @@ -329,15 +359,18 @@ def subsasgn_check(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_exbranch/subsasgn_check.m ) + Generated from SPM26.10.01. - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_exbranch/subsasgn_check.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("subsasgn_check", self._as_matlab_object(), *args, **kwargs) def subsref(self, *args, **kwargs): - """ + r""" function varargout = subsref(item, subs) subscript references we have to deal with are: one level @@ -361,15 +394,18 @@ def subsref(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_exbranch/subsref.m ) + Generated from SPM26.10.01. - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_exbranch/subsref.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("subsref", self._as_matlab_object(), *args, **kwargs) def update_deps(self, *args, **kwargs): - """ + r""" function item = update_deps(item, varargin) This function will run cfg_dep/update_deps in all leaf (cfg_entry, cfg_menu, cfg_files) nodes of a configuration tree and update their @@ -383,15 +419,18 @@ def update_deps(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_exbranch/update_deps.m ) + Generated from SPM26.10.01. - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_exbranch/update_deps.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("update_deps", self._as_matlab_object(), *args, **kwargs) def _mysubs_fields(self, *args, **kwargs): - """ + r""" function [fnames, defaults] = mysubs_fields Additional fields for class cfg_exbranch. See help of @cfg_item/subs_fields for general help about this function. @@ -403,9 +442,12 @@ def _mysubs_fields(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_exbranch/private/mysubs_fields.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_exbranch/private/mysubs_fields.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("mysubs_fields", self._as_matlab_object(), *args, **kwargs) diff --git a/spm/__matlabbatch/cfg_files.py b/spm/__matlabbatch/cfg_files.py index dffe8e50..a94b1c2b 100644 --- a/spm/__matlabbatch/cfg_files.py +++ b/spm/__matlabbatch/cfg_files.py @@ -4,7 +4,7 @@ class cfg_files(RuntimeMixin, MatlabClass): def __init__(self, *args, **kwargs): - """ + r""" This is the file configuration item class Data structure @@ -78,15 +78,18 @@ def __init__(self, *args, **kwargs): - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_files/cfg_files.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_files/cfg_files.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ super().__init__() def cfg2struct(self, *args, **kwargs): - """ + r""" function sitem = cfg2struct(item) Return a struct containing all fields of item plus a field type. This is the method suitable for entry classes. @@ -98,15 +101,18 @@ def cfg2struct(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_files/cfg2struct.m ) + Generated from SPM26.10.01. - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_files/cfg2struct.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("cfg2struct", self._as_matlab_object(), *args, **kwargs) def fieldnames(self, *args, **kwargs): - """ + r""" function fn = fieldnames(item) Return a list of all (inherited and non-inherited) field names. @@ -117,15 +123,18 @@ def fieldnames(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_files/fieldnames.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_files/fieldnames.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("fieldnames", self._as_matlab_object(), *args, **kwargs) def gencode_item(self, *args, **kwargs): - """ + r""" function [str, tag, cind, ccnt] = gencode_item(item, tag, tagctx, stoptag, tropts) Generate code to recreate a generic item. This code does not deal with arrays of cfg_items, such a configuration should not exist with the @@ -148,15 +157,18 @@ def gencode_item(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_files/gencode_item.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_files/gencode_item.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("gencode_item", self._as_matlab_object(), *args, **kwargs) def match(self, *args, **kwargs): - """ + r""" function sts = match(item, spec) This function is an implementation of find to search the cfg tree for certain entries. @@ -188,15 +200,18 @@ def match(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_files/match.m ) + Generated from SPM26.10.01. - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_files/match.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("match", self._as_matlab_object(), *args, **kwargs) def showdetail(self, *args, **kwargs): - """ + r""" function str = showdetail(item) Display details for a cfg_files item. @@ -207,15 +222,18 @@ def showdetail(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_files/showdetail.m ) + Generated from SPM26.10.01. - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_files/showdetail.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("showdetail", self._as_matlab_object(), *args, **kwargs) def subs_fields(self, *args, **kwargs): - """ + r""" function fnames = subs_fields(item) This function works as a "class-based switch" to return the value of the private mysubs_fields function for the appropriate class. @@ -230,15 +248,18 @@ def subs_fields(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_files/subs_fields.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_files/subs_fields.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("subs_fields", self._as_matlab_object(), *args, **kwargs) def subsasgn(self, *args, **kwargs): - """ + r""" function item = subsasgn(item, subs, varargin) This function implements subsasgn for all classes derived from cfg_item. It relies on the capability of each class constructor to re-classify a @@ -271,15 +292,18 @@ def subsasgn(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_files/subsasgn.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_files/subsasgn.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("subsasgn", self._as_matlab_object(), *args, **kwargs) def subsasgn_check(self, *args, **kwargs): - """ + r""" function [sts, val] = subsasgn_check(item,subs,val) Perform assignment checks for .num field. Checks for .val field could include filtering and numel checks, if inputs are not passed as @@ -292,15 +316,18 @@ def subsasgn_check(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_files/subsasgn_check.m ) + Generated from SPM26.10.01. - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_files/subsasgn_check.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("subsasgn_check", self._as_matlab_object(), *args, **kwargs) def subsref(self, *args, **kwargs): - """ + r""" function varargout = subsref(item, subs) subscript references we have to deal with are: one level @@ -324,15 +351,18 @@ def subsref(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_files/subsref.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_files/subsref.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("subsref", self._as_matlab_object(), *args, **kwargs) def _mysubs_fields(self, *args, **kwargs): - """ + r""" function [fnames, defaults] = mysubs_fields Additional fields for class cfg_files. See help of @cfg_item/subs_fields for general help about this function. @@ -344,9 +374,12 @@ def _mysubs_fields(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_files/private/mysubs_fields.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_files/private/mysubs_fields.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("mysubs_fields", self._as_matlab_object(), *args, **kwargs) diff --git a/spm/__matlabbatch/cfg_findspec.py b/spm/__matlabbatch/cfg_findspec.py index c7864b81..40097db9 100644 --- a/spm/__matlabbatch/cfg_findspec.py +++ b/spm/__matlabbatch/cfg_findspec.py @@ -2,7 +2,7 @@ def cfg_findspec(*args, **kwargs): - """ + r""" function spec = cfg_findspec(cellspec) Create a find specification. cellspec should contain a cell array of cells, each of them containing name/value pairs that will be combined @@ -32,9 +32,12 @@ def cfg_findspec(*args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/cfg_findspec.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/cfg_findspec.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("cfg_findspec", *args, **kwargs) diff --git a/spm/__matlabbatch/cfg_get_defaults.py b/spm/__matlabbatch/cfg_get_defaults.py index aaa45292..1ee6f37f 100644 --- a/spm/__matlabbatch/cfg_get_defaults.py +++ b/spm/__matlabbatch/cfg_get_defaults.py @@ -2,7 +2,7 @@ def cfg_get_defaults(*args, **kwargs): - """ + r""" function varargout = cfg_get_defaults(defspec, varargin) Get/set defaults for various properties of matlabbatch utilities. The values can be modified permanently by editing the file @@ -17,9 +17,12 @@ def cfg_get_defaults(*args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/cfg_get_defaults.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/cfg_get_defaults.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("cfg_get_defaults", *args, **kwargs) diff --git a/spm/__matlabbatch/cfg_getfile.py b/spm/__matlabbatch/cfg_getfile.py index f7dde588..ed50351c 100644 --- a/spm/__matlabbatch/cfg_getfile.py +++ b/spm/__matlabbatch/cfg_getfile.py @@ -2,7 +2,7 @@ def cfg_getfile(*args, **kwargs): - """ + r""" File selector FORMAT [t,sts] = cfg_getfile(n,typ,mesg,sel,wd,filt,prms) n - Number of files @@ -92,9 +92,12 @@ def cfg_getfile(*args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/cfg_getfile.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/cfg_getfile.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("cfg_getfile", *args, **kwargs) diff --git a/spm/__matlabbatch/cfg_getfile_cpath.py b/spm/__matlabbatch/cfg_getfile_cpath.py new file mode 100644 index 00000000..3850e4c8 --- /dev/null +++ b/spm/__matlabbatch/cfg_getfile_cpath.py @@ -0,0 +1,33 @@ +from spm._runtime import Runtime + + +def cfg_getfile_cpath(*args, **kwargs): + r""" + Canonicalise paths + FORMAT cpaths = cfg_getfile_cpath(inpaths, basedir) + inpaths - cell array of (relative or absolute) paths + basedir - single cell containing the base path of relative input paths + cpaths - cell array of canonical paths, one for each element of + inpaths + This function canonicalises paths by + - removing /./ and /../ constructs + - prepending basedir to relative pathnames + ____________________________________________________________________________ + Copyright (C) 2005 Wellcome Department of Imaging Neuroscience + + This code is part of a batch job configuration system for MATLAB. See + help matlabbatch + for a general overview. + _______________________________________________________________________ + Copyright (C) 2007 Freiburg Brain Imaging + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/cfg_getfile_cpath.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("cfg_getfile_cpath", *args, **kwargs) diff --git a/spm/__matlabbatch/cfg_getfile_pathparts.py b/spm/__matlabbatch/cfg_getfile_pathparts.py new file mode 100644 index 00000000..ea140342 --- /dev/null +++ b/spm/__matlabbatch/cfg_getfile_pathparts.py @@ -0,0 +1,32 @@ +from spm._runtime import Runtime + + +def cfg_getfile_pathparts(*args, **kwargs): + r""" + Split paths in cellstr inpaths into cellstr lists of directories + FORMAT pathparts = cfg_getfile_pathparts(inpaths) + inpaths - cellstr list of pathnames + pathparts - cell array of cellstr list, containing the directory + names of each inpath path + returns cell array of path component cellstr arrays + For PC (WIN) targets, both '\' and '/' are accepted as filesep, similar + to MATLAB fileparts + ____________________________________________________________________________ + Copyright (C) 2005 Wellcome Department of Imaging Neuroscience + + This code is part of a batch job configuration system for MATLAB. See + help matlabbatch + for a general overview. + _______________________________________________________________________ + Copyright (C) 2007 Freiburg Brain Imaging + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/cfg_getfile_pathparts.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("cfg_getfile_pathparts", *args, **kwargs) diff --git a/spm/__matlabbatch/cfg_intree.py b/spm/__matlabbatch/cfg_intree.py index db809abe..8ef3fa55 100644 --- a/spm/__matlabbatch/cfg_intree.py +++ b/spm/__matlabbatch/cfg_intree.py @@ -4,7 +4,7 @@ class cfg_intree(RuntimeMixin, MatlabClass): def __init__(self, *args, **kwargs): - """ + r""" This is currently only a "marker" class that should be inherited by all within-tree classes. It does not add fields and does not have methods. @@ -19,15 +19,18 @@ def __init__(self, *args, **kwargs): - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_intree/cfg_intree.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_intree/cfg_intree.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ super().__init__() def disp(self, *args, **kwargs): - """ + r""" function disp(varargin) This class should not display any information about its structure. @@ -38,15 +41,18 @@ def disp(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_intree/disp.m ) + Generated from SPM26.10.01. - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_intree/disp.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("disp", self._as_matlab_object(), *args, **kwargs, nargout=0) def display(self, *args, **kwargs): - """ + r""" function display(varargin) This class should not display any information about its structure. @@ -57,9 +63,12 @@ def display(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_intree/display.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_intree/display.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("display", self._as_matlab_object(), *args, **kwargs, nargout=0) diff --git a/spm/__matlabbatch/cfg_inv_out.py b/spm/__matlabbatch/cfg_inv_out.py index 5b68f02b..f8525c6c 100644 --- a/spm/__matlabbatch/cfg_inv_out.py +++ b/spm/__matlabbatch/cfg_inv_out.py @@ -4,7 +4,7 @@ class cfg_inv_out(RuntimeMixin, MatlabClass): def __init__(self, *args, **kwargs): - """ + r""" function obj = cfg_inv_out(varargin) Auxiliary class to mark invalid (i.e. not yet available) outputs of cfg_exbranch'es. An object of this type will be assigned automatically @@ -22,9 +22,12 @@ def __init__(self, *args, **kwargs): - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_inv_out/cfg_inv_out.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_inv_out/cfg_inv_out.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ super().__init__() diff --git a/spm/__matlabbatch/cfg_item.py b/spm/__matlabbatch/cfg_item.py index d3673ce1..bd672f75 100644 --- a/spm/__matlabbatch/cfg_item.py +++ b/spm/__matlabbatch/cfg_item.py @@ -4,7 +4,7 @@ class cfg_item(RuntimeMixin, MatlabClass): def __init__(self, *args, **kwargs): - """ + r""" This is the generic configuration item class, from which all other classes are derived. @@ -101,15 +101,18 @@ def __init__(self, *args, **kwargs): - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_item/cfg_item.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_item/cfg_item.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ super().__init__() def all_leafs(self, *args, **kwargs): - """ + r""" function ok = all_leafs(item) Generic all_leafs function that returns true. This is suitable for all leaf items. No content specific checks are performed. @@ -121,15 +124,18 @@ def all_leafs(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_item/all_leafs.m ) + Generated from SPM26.10.01. - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_item/all_leafs.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("all_leafs", self._as_matlab_object(), *args, **kwargs) def all_set(self, *args, **kwargs): - """ + r""" function ok = all_set(item) Generic all_set function - checks whether item.val is not empty. No checks based on the content of item.val are performed here. @@ -148,15 +154,18 @@ def all_set(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_item/all_set.m ) + Generated from SPM26.10.01. - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_item/all_set.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("all_set", self._as_matlab_object(), *args, **kwargs) def all_set_item(self, *args, **kwargs): - """ + r""" function ok = all_set_item(item) Perform within-item all_set check. For generic items, this is the same as all_set. @@ -168,15 +177,18 @@ def all_set_item(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_item/all_set_item.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_item/all_set_item.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("all_set_item", self._as_matlab_object(), *args, **kwargs) def cat(self, *args, **kwargs): - """ + r""" function varargout = cat(varargin) Prevent cat for cfg_item objects. @@ -187,15 +199,18 @@ def cat(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_item/cat.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_item/cat.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("cat", self._as_matlab_object(), *args, **kwargs) def cfg2jobsubs(self, *args, **kwargs): - """ + r""" function jsubs = cfg2jobsubs(item, subs) Return the subscript into the job tree for a given subscript vector into the val part of the cfg tree. This generic function should be called only @@ -209,15 +224,18 @@ def cfg2jobsubs(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_item/cfg2jobsubs.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_item/cfg2jobsubs.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("cfg2jobsubs", self._as_matlab_object(), *args, **kwargs) def cfg2struct(self, *args, **kwargs): - """ + r""" function sitem = cfg2struct(item) Return a struct containing all fields of item plus a field type. This is the generic method. @@ -229,15 +247,18 @@ def cfg2struct(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_item/cfg2struct.m ) + Generated from SPM26.10.01. - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_item/cfg2struct.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("cfg2struct", self._as_matlab_object(), *args, **kwargs) def clearval(self, *args, **kwargs): - """ + r""" function item = clearval(item, dflag) This is a generic function to clear the contents of the val field of a cfg_item. It is usable for all leaf cfg_item classes (cfg_entry, @@ -252,15 +273,18 @@ def clearval(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_item/clearval.m ) + Generated from SPM26.10.01. - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_item/clearval.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("clearval", self._as_matlab_object(), *args, **kwargs) def disp(self, *args, **kwargs): - """ + r""" function disp(obj) Disp a configuration object. This function is generic, but it will be called also for derived objects except cfg_exbranch. It will first @@ -274,15 +298,18 @@ def disp(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_item/disp.m ) + Generated from SPM26.10.01. - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_item/disp.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("disp", self._as_matlab_object(), *args, **kwargs, nargout=0) def display(self, *args, **kwargs): - """ + r""" function display(item) Display a configuration object @@ -293,15 +320,18 @@ def display(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_item/display.m ) + Generated from SPM26.10.01. - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_item/display.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("display", self._as_matlab_object(), *args, **kwargs, nargout=0) def docheck(self, *args, **kwargs): - """ + r""" function chk = docheck(item, val) Run item specific check function, if present. @@ -312,15 +342,18 @@ def docheck(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_item/docheck.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_item/docheck.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("docheck", self._as_matlab_object(), *args, **kwargs) def expand(self, *args, **kwargs): - """ + r""" function [item, sts] = expand(item, eflag, tropts) Set/query expanded flag of item depending on eflag: -1 - do not force eflag to any state, only child state will be inherited @@ -353,15 +386,18 @@ def expand(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_item/expand.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_item/expand.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("expand", self._as_matlab_object(), *args, **kwargs) def fieldnames(self, *args, **kwargs): - """ + r""" function fn = fieldnames(item) Return a list of all (inherited and non-inherited) field names. @@ -372,15 +408,18 @@ def fieldnames(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_item/fieldnames.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_item/fieldnames.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("fieldnames", self._as_matlab_object(), *args, **kwargs) def fillvals(self, *args, **kwargs): - """ + r""" function [item, inputs] = fillvals(item, inputs, infcn) If ~all_set_item, try to set item.val{1} to inputs{1}. Validity checks are performed through subsasgn. If inputs{1} is not suitable for this @@ -399,15 +438,18 @@ def fillvals(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_item/fillvals.m ) + Generated from SPM26.10.01. - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_item/fillvals.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("fillvals", self._as_matlab_object(), *args, **kwargs) def gencode(self, *args, **kwargs): - """ + r""" function [str, tag, cind] = gencode(item, tag, tagctx) Generate code to recreate a cfg_item object. This function calls the cfg_item specific gencode_item method. Instead of creating one large, @@ -436,15 +478,18 @@ def gencode(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_item/gencode.m ) + Generated from SPM26.10.01. - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_item/gencode.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("gencode", self._as_matlab_object(), *args, **kwargs) def gencode_item(self, *args, **kwargs): - """ + r""" function [str, tag, cind, ccnt] = gencode_item(item, tag, tagctx, stoptag, tropts) Generate code to recreate a generic item. This code should be suitable for all derived classes. Derived classes that add their own fields should @@ -474,15 +519,18 @@ def gencode_item(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_item/gencode_item.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_item/gencode_item.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("gencode_item", self._as_matlab_object(), *args, **kwargs) def gettag(self, *args, **kwargs): - """ + r""" function tag = gettag(item) Return the tag of the input item. @@ -493,15 +541,18 @@ def gettag(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_item/gettag.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_item/gettag.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("gettag", self._as_matlab_object(), *args, **kwargs) def harvest(self, *args, **kwargs): - """ + r""" function [tag, val, typ, dep, chk, cj] = harvest(item, cj, dflag, rflag) Generic harvest function, suitable for all const/entry items. The configuration tree cj is passed unmodified. If rflag is true and a @@ -529,15 +580,18 @@ def harvest(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_item/harvest.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_item/harvest.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("harvest", self._as_matlab_object(), *args, **kwargs) def horzcat(self, *args, **kwargs): - """ + r""" function varargout = horzcat(varargin) Prevent horzcat for cfg_item objects. @@ -548,15 +602,18 @@ def horzcat(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_item/horzcat.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_item/horzcat.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("horzcat", self._as_matlab_object(), *args, **kwargs) def initialise(self, *args, **kwargs): - """ + r""" function item = initialise(item, val, dflag) This is a generic initialisation function to insert values into the val field of a cfg_item. It is usable for all leaf cfg_item classes @@ -572,15 +629,18 @@ def initialise(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_item/initialise.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_item/initialise.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("initialise", self._as_matlab_object(), *args, **kwargs) def list_(self, *args, **kwargs): - """ + r""" function [id, stop, val] = list(item, spec, tropts, fn) This function searches the cfg tree for certain entries. @@ -636,15 +696,18 @@ def list_(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_item/list.m ) + Generated from SPM26.10.01. - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_item/list.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("list", self._as_matlab_object(), *args, **kwargs) def match(self, *args, **kwargs): - """ + r""" function sts = match(item, spec) This function is an implementation of find to search the cfg tree for certain entries. @@ -667,15 +730,18 @@ def match(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_item/match.m ) + Generated from SPM26.10.01. - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_item/match.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("match", self._as_matlab_object(), *args, **kwargs) def resolve_deps(self, *args, **kwargs): - """ + r""" function [val, sts] = resolve_deps(item, cj) Resolve dependencies for an cfg item. This is a generic function that returns the contents of item.val{1} if it is an array of cfg_deps. If @@ -694,15 +760,18 @@ def resolve_deps(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_item/resolve_deps.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_item/resolve_deps.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("resolve_deps", self._as_matlab_object(), *args, **kwargs) def setval(self, *args, **kwargs): - """ + r""" function item = setval(item, val, dflag) set item.val{1} to val. Validity checks are performed through subsasgn. If val == {}, set item.val to {}. @@ -718,15 +787,18 @@ def setval(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_item/setval.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_item/setval.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("setval", self._as_matlab_object(), *args, **kwargs) def showdetail(self, *args, **kwargs): - """ + r""" function str = showdetail(item) Generic showdetail function for cfg_item classes. It displays the name, tag, class and default function call for this item.. @@ -738,15 +810,18 @@ def showdetail(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_item/showdetail.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_item/showdetail.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("showdetail", self._as_matlab_object(), *args, **kwargs) def showdoc(self, *args, **kwargs): - """ + r""" function str = showdoc(item, indent) Generic showdoc function for cfg_item classes. It displays the (indented) name of the item and the justified help text for this item. @@ -758,15 +833,18 @@ def showdoc(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_item/showdoc.m ) + Generated from SPM26.10.01. - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_item/showdoc.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("showdoc", self._as_matlab_object(), *args, **kwargs) def subs_fields(self, *args, **kwargs): - """ + r""" function fnames = subs_fields(item) This function works as a "class-based switch" to return the value of the private mysubs_fields function for the appropriate class. @@ -781,15 +859,18 @@ def subs_fields(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_item/subs_fields.m ) + Generated from SPM26.10.01. - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_item/subs_fields.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("subs_fields", self._as_matlab_object(), *args, **kwargs) def subsasgn(self, *args, **kwargs): - """ + r""" function item = subsasgn(item, subs, varargin) This function implements subsasgn for all classes derived from cfg_item. It relies on the capability of each class constructor to re-classify a @@ -822,15 +903,18 @@ def subsasgn(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_item/subsasgn.m ) + Generated from SPM26.10.01. - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_item/subsasgn.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("subsasgn", self._as_matlab_object(), *args, **kwargs) def subsasgn_check(self, *args, **kwargs): - """ + r""" function [sts, val] = subsasgn_check(item,subs,val) Do a check for proper assignments of values to fields. This routine will be called for derived objects from @cfg_.../subsasgn with the @@ -855,15 +939,18 @@ def subsasgn_check(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_item/subsasgn_check.m ) + Generated from SPM26.10.01. - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_item/subsasgn_check.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("subsasgn_check", self._as_matlab_object(), *args, **kwargs) def subsasgn_checkstr(self, *args, **kwargs): - """ + r""" function checkstr = subsasgn_checkstr(item, subs) Preformat a warning message suitable for all subsasgn_check functions @@ -874,15 +961,18 @@ def subsasgn_checkstr(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_item/subsasgn_checkstr.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_item/subsasgn_checkstr.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("subsasgn_checkstr", self._as_matlab_object(), *args, **kwargs) def subsasgn_job(self, *args, **kwargs): - """ + r""" function item = subsasgn_job(item, subs, val) Treat a subscript reference as a reference in a job structure instead of a cfg_item structure. This generic cfg_item method treats subs as a @@ -896,15 +986,18 @@ def subsasgn_job(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_item/subsasgn_job.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_item/subsasgn_job.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("subsasgn_job", self._as_matlab_object(), *args, **kwargs) def subsref(self, *args, **kwargs): - """ + r""" function varargout = subsref(item, subs) subscript references we have to deal with are: one level @@ -928,15 +1021,18 @@ def subsref(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_item/subsref.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_item/subsref.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("subsref", self._as_matlab_object(), *args, **kwargs) def subsref_job(self, *args, **kwargs): - """ + r""" function [ritem varargout] = subsref_job(item, subs, c0) Treat a subscript reference as a reference in a job structure instead of a cfg_item structure. This generic cfg_item method treats subs as a @@ -954,15 +1050,18 @@ def subsref_job(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_item/subsref_job.m ) + Generated from SPM26.10.01. - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_item/subsref_job.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("subsref_job", self._as_matlab_object(), *args, **kwargs) def tag2cfgsubs(self, *args, **kwargs): - """ + r""" function [id, stop, rtaglist] = tag2cfgsubs(item, taglist, finalspec, tropts) Return the index into the values branch of a configuration tree which corresponds to a list of tags. @@ -982,15 +1081,18 @@ def tag2cfgsubs(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_item/tag2cfgsubs.m ) + Generated from SPM26.10.01. - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_item/tag2cfgsubs.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("tag2cfgsubs", self._as_matlab_object(), *args, **kwargs) def update_deps(self, *args, **kwargs): - """ + r""" function item = update_deps(item, varargin) This function will run cfg_dep/update_deps in all leaf (cfg_entry, cfg_menu, cfg_files) nodes of a configuration tree and update their @@ -1003,15 +1105,18 @@ def update_deps(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_item/update_deps.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_item/update_deps.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("update_deps", self._as_matlab_object(), *args, **kwargs) def val2def(self, *args, **kwargs): - """ + r""" function [item, defaults] = val2def(item, defaults, funname, deftag) If a cfg_leaf item has a value, extract it and generate code for defaults retrieval. This function works in a way similar to harvest, but with a @@ -1029,15 +1134,18 @@ def val2def(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_item/val2def.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_item/val2def.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("val2def", self._as_matlab_object(), *args, **kwargs) def vertcat(self, *args, **kwargs): - """ + r""" function varargout = vertcat(varargin) Prevent vertcat for cfg_item objects. @@ -1048,15 +1156,18 @@ def vertcat(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_item/vertcat.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_item/vertcat.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("vertcat", self._as_matlab_object(), *args, **kwargs) def _mysubs_fields(self, *args, **kwargs): - """ + r""" function [fnames, defaults] = mysubs_fields This function returns a cell string of names containing the fields implemented by a derived class and their default values. It is called @@ -1070,9 +1181,12 @@ def _mysubs_fields(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_item/private/mysubs_fields.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_item/private/mysubs_fields.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("mysubs_fields", self._as_matlab_object(), *args, **kwargs) diff --git a/spm/__matlabbatch/cfg_leaf.py b/spm/__matlabbatch/cfg_leaf.py index acae874b..ce9be607 100644 --- a/spm/__matlabbatch/cfg_leaf.py +++ b/spm/__matlabbatch/cfg_leaf.py @@ -4,7 +4,7 @@ class cfg_leaf(RuntimeMixin, MatlabClass): def __init__(self, *args, **kwargs): - """ + r""" This is currently only a "marker" class that should be inherited by all leaf classes. It does not add fields and does not have methods. @@ -19,15 +19,18 @@ def __init__(self, *args, **kwargs): - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_leaf/cfg_leaf.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_leaf/cfg_leaf.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ super().__init__() def disp(self, *args, **kwargs): - """ + r""" function disp(varargin) This class should not display any information about its structure. @@ -38,15 +41,18 @@ def disp(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_leaf/disp.m ) + Generated from SPM26.10.01. - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_leaf/disp.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("disp", self._as_matlab_object(), *args, **kwargs, nargout=0) def display(self, *args, **kwargs): - """ + r""" function display(varargin) This class should not display any information about its structure. @@ -57,9 +63,12 @@ def display(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_leaf/display.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_leaf/display.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("display", self._as_matlab_object(), *args, **kwargs, nargout=0) diff --git a/spm/__matlabbatch/cfg_load_jobs.py b/spm/__matlabbatch/cfg_load_jobs.py index 6b659bbe..cf90f970 100644 --- a/spm/__matlabbatch/cfg_load_jobs.py +++ b/spm/__matlabbatch/cfg_load_jobs.py @@ -2,7 +2,7 @@ def cfg_load_jobs(*args, **kwargs): - """ + r""" function newjobs = cfg_load_jobs(job) Load a list of possible job files, return a cell list of jobs. @@ -14,9 +14,12 @@ def cfg_load_jobs(*args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/cfg_load_jobs.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/cfg_load_jobs.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("cfg_load_jobs", *args, **kwargs) diff --git a/spm/__matlabbatch/cfg_mchoice.py b/spm/__matlabbatch/cfg_mchoice.py index 33399ee7..af72b51d 100644 --- a/spm/__matlabbatch/cfg_mchoice.py +++ b/spm/__matlabbatch/cfg_mchoice.py @@ -4,7 +4,7 @@ class cfg_mchoice(RuntimeMixin, MatlabClass): def __init__(self, *args, **kwargs): - """ + r""" This is the choice configuration item class Data structure @@ -55,15 +55,18 @@ def __init__(self, *args, **kwargs): - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_mchoice/cfg_mchoice.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_mchoice/cfg_mchoice.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ super().__init__() def all_leafs(self, *args, **kwargs): - """ + r""" function ok = all_leafs(item) Return true, if all child items in item.val{:} consist of subtrees ending in leaf nodes. Leaf nodes do not have to be set at this time and @@ -77,15 +80,18 @@ def all_leafs(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_mchoice/all_leafs.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_mchoice/all_leafs.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("all_leafs", self._as_matlab_object(), *args, **kwargs) def all_set(self, *args, **kwargs): - """ + r""" function ok = all_set(item) Return true, if all child items in item.val{:} are set and item specific criteria (i.e. number of element in .val) are met. No checks based on @@ -105,15 +111,18 @@ def all_set(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_mchoice/all_set.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_mchoice/all_set.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("all_set", self._as_matlab_object(), *args, **kwargs) def all_set_item(self, *args, **kwargs): - """ + r""" function ok = all_set_item(item) Perform within-item all_set check. For mchoices, this is always true. @@ -124,15 +133,18 @@ def all_set_item(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_mchoice/all_set_item.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_mchoice/all_set_item.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("all_set_item", self._as_matlab_object(), *args, **kwargs) def cfg2jobsubs(self, *args, **kwargs): - """ + r""" function jsubs = cfg2jobsubs(item, subs) Return the subscript into the job tree for a given subscript vector into the val part of the cfg tree. In a cfg_choice, this is a struct reference @@ -145,15 +157,18 @@ def cfg2jobsubs(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_mchoice/cfg2jobsubs.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_mchoice/cfg2jobsubs.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("cfg2jobsubs", self._as_matlab_object(), *args, **kwargs) def cfg2struct(self, *args, **kwargs): - """ + r""" function sitem = cfg2struct(item) Return a struct containing all fields of item plus a field type. This is the method suitable for cfg_choice and repeat classes. It descends down @@ -166,15 +181,18 @@ def cfg2struct(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_mchoice/cfg2struct.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_mchoice/cfg2struct.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("cfg2struct", self._as_matlab_object(), *args, **kwargs) def checksubs_job(self, *args, **kwargs): - """ + r""" function [sts vind] = checksubs_job(item, subs, dflag) Check whether a subscript reference is a valid reference in a job structure starting at item. subs(1) should have a subscript type of @@ -190,15 +208,18 @@ def checksubs_job(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_mchoice/checksubs_job.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_mchoice/checksubs_job.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("checksubs_job", self._as_matlab_object(), *args, **kwargs) def clearval(self, *args, **kwargs): - """ + r""" function item = clearval(item, dflag) Clear val field, thereby removing the currently selected configuration subtree. If dflag is set, then also all val fields in the item.values{:} @@ -212,15 +233,18 @@ def clearval(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_mchoice/clearval.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_mchoice/clearval.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("clearval", self._as_matlab_object(), *args, **kwargs) def expand(self, *args, **kwargs): - """ + r""" function [item, sts] = expand(item, eflag, tropts) Set/query expanded flag of item depending on eflag: -1 - do not force eflag to any state, only child state will be inherited @@ -255,15 +279,18 @@ def expand(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_mchoice/expand.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_mchoice/expand.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("expand", self._as_matlab_object(), *args, **kwargs) def fieldnames(self, *args, **kwargs): - """ + r""" function fn = fieldnames(item) Return a list of all (inherited and non-inherited) field names. @@ -274,15 +301,18 @@ def fieldnames(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_mchoice/fieldnames.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_mchoice/fieldnames.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("fieldnames", self._as_matlab_object(), *args, **kwargs) def fillvals(self, *args, **kwargs): - """ + r""" function [item, inputs] = fillvals(item, inputs, infcn) If ~all_set_item, try to set item.val to the items listed in inputs{1}. inputs{1} should be a cell array of indices into item.values. For @@ -302,15 +332,18 @@ def fillvals(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_mchoice/fillvals.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_mchoice/fillvals.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("fillvals", self._as_matlab_object(), *args, **kwargs) def gencode_item(self, *args, **kwargs): - """ + r""" function [str, tag, cind, ccnt] = gencode_item(item, tag, tagctx, stoptag, tropts) Generate code to recreate a cfg_(m)choice item. This code does not deal with arrays of cfg_items, such a configuration should not exist with the @@ -336,15 +369,18 @@ def gencode_item(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_mchoice/gencode_item.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_mchoice/gencode_item.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("gencode_item", self._as_matlab_object(), *args, **kwargs) def harvest(self, *args, **kwargs): - """ + r""" function [tag, val, typ, dep, chk, cj] = harvest(item, cj, dflag, rflag) Harvest a cfg_branch object. Input arguments: @@ -371,15 +407,18 @@ def harvest(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_mchoice/harvest.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_mchoice/harvest.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("harvest", self._as_matlab_object(), *args, **kwargs) def initialise(self, *args, **kwargs): - """ + r""" function item = initialise(item, val, dflag) Initialise a configuration tree with values. If val is a job struct/cell, only the parts of the configuration that are present in @@ -401,15 +440,18 @@ def initialise(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_mchoice/initialise.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_mchoice/initialise.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("initialise", self._as_matlab_object(), *args, **kwargs) def list_(self, *args, **kwargs): - """ + r""" function [id, stop, val] = list(item, spec, tropts, fn) Find items in a cfg tree rooted at item that match a specification spec. By default, the filled configuration tree is searched (i.e. the @@ -462,15 +504,18 @@ def list_(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_mchoice/list.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_mchoice/list.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("list", self._as_matlab_object(), *args, **kwargs) def setval(self, *args, **kwargs): - """ + r""" function item = setval(item, val, dflag) If isempty(val), set item.val to {}. Otherwise, if item.values{val(1)} is not already in item.val, set item.val{end+1} to item.values{val(1)}. @@ -485,15 +530,18 @@ def setval(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_mchoice/setval.m ) + Generated from SPM26.10.01. - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_mchoice/setval.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("setval", self._as_matlab_object(), *args, **kwargs) def showdetail(self, *args, **kwargs): - """ + r""" function str = showdetail(item) Display details for a cfg_choice and all of its options. @@ -504,15 +552,18 @@ def showdetail(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_mchoice/showdetail.m ) + Generated from SPM26.10.01. - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_mchoice/showdetail.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("showdetail", self._as_matlab_object(), *args, **kwargs) def showdoc(self, *args, **kwargs): - """ + r""" function str = showdoc(item, indent) Display help text for a cfg item and all of its options. @@ -525,15 +576,18 @@ def showdoc(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_mchoice/showdoc.m ) + Generated from SPM26.10.01. - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_mchoice/showdoc.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("showdoc", self._as_matlab_object(), *args, **kwargs) def showmydoc(self, *args, **kwargs): - """ + r""" function str = showmydoc(item, indent) Display help text for a cfg_choice and all of its options, without recursive calls to child nodes. @@ -545,15 +599,18 @@ def showmydoc(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_mchoice/showmydoc.m ) + Generated from SPM26.10.01. - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_mchoice/showmydoc.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("showmydoc", self._as_matlab_object(), *args, **kwargs) def subs_fields(self, *args, **kwargs): - """ + r""" function fnames = subs_fields(item) This function works as a "class-based switch" to return the value of the private mysubs_fields function for the appropriate class. @@ -568,15 +625,18 @@ def subs_fields(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_mchoice/subs_fields.m ) + Generated from SPM26.10.01. - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_mchoice/subs_fields.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("subs_fields", self._as_matlab_object(), *args, **kwargs) def subsasgn(self, *args, **kwargs): - """ + r""" function item = subsasgn(item, subs, varargin) This function implements subsasgn for all classes derived from cfg_item. It relies on the capability of each class constructor to re-classify a @@ -609,15 +669,18 @@ def subsasgn(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_mchoice/subsasgn.m ) + Generated from SPM26.10.01. - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_mchoice/subsasgn.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("subsasgn", self._as_matlab_object(), *args, **kwargs) def subsasgn_check(self, *args, **kwargs): - """ + r""" function [sts, val] = subsasgn_check(item,subs,val) Check assignments to item.values and item.val. @@ -628,15 +691,18 @@ def subsasgn_check(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_mchoice/subsasgn_check.m ) + Generated from SPM26.10.01. - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_mchoice/subsasgn_check.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("subsasgn_check", self._as_matlab_object(), *args, **kwargs) def subsasgn_job(self, *args, **kwargs): - """ + r""" function item = subsasgn_job(item, subs, val) Treat a subscript reference as a reference in a job structure instead of a cfg_item structure. If subs is empty, then the subtree @@ -653,15 +719,18 @@ def subsasgn_job(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_mchoice/subsasgn_job.m ) + Generated from SPM26.10.01. - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_mchoice/subsasgn_job.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("subsasgn_job", self._as_matlab_object(), *args, **kwargs) def subsref(self, *args, **kwargs): - """ + r""" function varargout = subsref(item, subs) subscript references we have to deal with are: one level @@ -685,15 +754,18 @@ def subsref(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_mchoice/subsref.m ) + Generated from SPM26.10.01. - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_mchoice/subsref.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("subsref", self._as_matlab_object(), *args, **kwargs) def subsref_job(self, *args, **kwargs): - """ + r""" function [ritem varargout] = subsref_job(item, subs, c0) Treat a subscript reference as a reference in a job structure instead of a cfg_item structure. If subs is empty, then the harvested subtree @@ -713,15 +785,18 @@ def subsref_job(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_mchoice/subsref_job.m ) + Generated from SPM26.10.01. - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_mchoice/subsref_job.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("subsref_job", self._as_matlab_object(), *args, **kwargs) def tag2cfgsubs(self, *args, **kwargs): - """ + r""" function [id, stop, rtaglist] = tag2cfgsubs(item, taglist, finalspec, tropts) Return the index into the values branch of a configuration tree which corresponds to a list of tags. @@ -745,15 +820,18 @@ def tag2cfgsubs(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_mchoice/tag2cfgsubs.m ) + Generated from SPM26.10.01. - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_mchoice/tag2cfgsubs.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("tag2cfgsubs", self._as_matlab_object(), *args, **kwargs) def tagnames(self, *args, **kwargs): - """ + r""" function tn = tagnames(item, dflag) Return the tags of all children in the job tree of an item. dflag indicates whether the filled (false) or defaults (true) part of the @@ -769,15 +847,18 @@ def tagnames(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_mchoice/tagnames.m ) + Generated from SPM26.10.01. - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_mchoice/tagnames.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("tagnames", self._as_matlab_object(), *args, **kwargs) def treepart(self, *args, **kwargs): - """ + r""" function tname = treepart(item, dflag) tree part to search - for cfg_repeat/cfg_choice this is val for filled cfg_items and values for default cfg_items. @@ -789,15 +870,18 @@ def treepart(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_mchoice/treepart.m ) + Generated from SPM26.10.01. - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_mchoice/treepart.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("treepart", self._as_matlab_object(), *args, **kwargs) def update_deps(self, *args, **kwargs): - """ + r""" function item = update_deps(item, varargin) This function will run cfg_dep/update_deps in all leaf (cfg_entry, cfg_menu, cfg_files) nodes of a configuration tree and update their @@ -812,15 +896,18 @@ def update_deps(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_mchoice/update_deps.m ) + Generated from SPM26.10.01. - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_mchoice/update_deps.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("update_deps", self._as_matlab_object(), *args, **kwargs) def val2def(self, *args, **kwargs): - """ + r""" function [item, defaults] = val2def(item, defaults, funname, deftag) If a cfg_leaf item has a value, extract it and generate code for defaults retrieval. This function works in a way similar to harvest, but with a @@ -837,15 +924,18 @@ def val2def(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_mchoice/val2def.m ) + Generated from SPM26.10.01. - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_mchoice/val2def.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("val2def", self._as_matlab_object(), *args, **kwargs) def _mysubs_fields(self, *args, **kwargs): - """ + r""" function [fnames, defaults] = mysubs_fields Additional fields for class cfg_choice. See help of @cfg_item/subs_fields for general help about this function. @@ -857,9 +947,12 @@ def _mysubs_fields(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_mchoice/private/mysubs_fields.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_mchoice/private/mysubs_fields.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("mysubs_fields", self._as_matlab_object(), *args, **kwargs) diff --git a/spm/__matlabbatch/cfg_menu.py b/spm/__matlabbatch/cfg_menu.py index 70a03126..e64b0254 100644 --- a/spm/__matlabbatch/cfg_menu.py +++ b/spm/__matlabbatch/cfg_menu.py @@ -4,7 +4,7 @@ class cfg_menu(RuntimeMixin, MatlabClass): def __init__(self, *args, **kwargs): - """ + r""" This is the menu configuration item class Data structure @@ -55,15 +55,18 @@ def __init__(self, *args, **kwargs): - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_menu/cfg_menu.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_menu/cfg_menu.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ super().__init__() def cfg2struct(self, *args, **kwargs): - """ + r""" function sitem = cfg2struct(item) Return a struct containing all fields of item plus a field type. This is the method suitable for entry classes. @@ -75,15 +78,18 @@ def cfg2struct(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_menu/cfg2struct.m ) + Generated from SPM26.10.01. - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_menu/cfg2struct.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("cfg2struct", self._as_matlab_object(), *args, **kwargs) def fieldnames(self, *args, **kwargs): - """ + r""" function fn = fieldnames(item) Return a list of all (inherited and non-inherited) field names. @@ -94,15 +100,18 @@ def fieldnames(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_menu/fieldnames.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_menu/fieldnames.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("fieldnames", self._as_matlab_object(), *args, **kwargs) def gencode_item(self, *args, **kwargs): - """ + r""" function [str, tag, cind, ccnt] = gencode_item(item, tag, tagctx, stoptag, tropts) Generate code to recreate a generic item. This code does not deal with arrays of cfg_items, such a configuration should not exist with the @@ -125,15 +134,18 @@ def gencode_item(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_menu/gencode_item.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_menu/gencode_item.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("gencode_item", self._as_matlab_object(), *args, **kwargs) def setval(self, *args, **kwargs): - """ + r""" function item = setval(item, val, dflag) set item.val{1} to item.values{val}. If val == {}, set item.val to {} If dflag is true, and item.cfg_item.def is not empty, set the default setting for @@ -148,15 +160,18 @@ def setval(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_menu/setval.m ) + Generated from SPM26.10.01. - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_menu/setval.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("setval", self._as_matlab_object(), *args, **kwargs) def showdetail(self, *args, **kwargs): - """ + r""" function str = showdetail(item) Display details for a cfg_menu and all of its options. @@ -167,15 +182,18 @@ def showdetail(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_menu/showdetail.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_menu/showdetail.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("showdetail", self._as_matlab_object(), *args, **kwargs) def showdoc(self, *args, **kwargs): - """ + r""" function str = showdoc(item, indent) Display help text for a cfg_menu and all of its options. @@ -186,15 +204,18 @@ def showdoc(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_menu/showdoc.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_menu/showdoc.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("showdoc", self._as_matlab_object(), *args, **kwargs) def subs_fields(self, *args, **kwargs): - """ + r""" function fnames = subs_fields(item) This function works as a "class-based switch" to return the value of the private mysubs_fields function for the appropriate class. @@ -209,15 +230,18 @@ def subs_fields(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_menu/subs_fields.m ) + Generated from SPM26.10.01. - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_menu/subs_fields.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("subs_fields", self._as_matlab_object(), *args, **kwargs) def subsasgn(self, *args, **kwargs): - """ + r""" function item = subsasgn(item, subs, varargin) This function implements subsasgn for all classes derived from cfg_item. It relies on the capability of each class constructor to re-classify a @@ -250,15 +274,18 @@ def subsasgn(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_menu/subsasgn.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_menu/subsasgn.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("subsasgn", self._as_matlab_object(), *args, **kwargs) def subsasgn_check(self, *args, **kwargs): - """ + r""" function [sts, val] = subsasgn_check(item,subs,val) Perform assignment checks for .val, .labels and .values field. @@ -269,15 +296,18 @@ def subsasgn_check(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_menu/subsasgn_check.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_menu/subsasgn_check.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("subsasgn_check", self._as_matlab_object(), *args, **kwargs) def subsref(self, *args, **kwargs): - """ + r""" function varargout = subsref(item, subs) subscript references we have to deal with are: one level @@ -301,15 +331,18 @@ def subsref(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_menu/subsref.m ) + Generated from SPM26.10.01. - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_menu/subsref.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("subsref", self._as_matlab_object(), *args, **kwargs) def _mysubs_fields(self, *args, **kwargs): - """ + r""" function [fnames, defaults] = mysubs_fields Additional fields for class cfg_menu. See help of @cfg_item/subs_fields for general help about this function. @@ -321,9 +354,12 @@ def _mysubs_fields(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_menu/private/mysubs_fields.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_menu/private/mysubs_fields.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("mysubs_fields", self._as_matlab_object(), *args, **kwargs) diff --git a/spm/__matlabbatch/cfg_message.py b/spm/__matlabbatch/cfg_message.py index ee05b177..d8c794b2 100644 --- a/spm/__matlabbatch/cfg_message.py +++ b/spm/__matlabbatch/cfg_message.py @@ -2,7 +2,7 @@ def cfg_message(*args, **kwargs): - """ + r""" function cfg_message(msgid, msgfmt, varargin) Display a message. The message identifier msgid will be looked up in a message database to decide how to treat this message. This database is @@ -45,9 +45,12 @@ def cfg_message(*args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/cfg_message.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/cfg_message.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("cfg_message", *args, **kwargs) diff --git a/spm/__matlabbatch/cfg_mlbatch_appcfg.py b/spm/__matlabbatch/cfg_mlbatch_appcfg.py index 87f27be3..9d5ef2da 100644 --- a/spm/__matlabbatch/cfg_mlbatch_appcfg.py +++ b/spm/__matlabbatch/cfg_mlbatch_appcfg.py @@ -2,7 +2,7 @@ def cfg_mlbatch_appcfg(*args, **kwargs): - """ + r""" Add BasicIO to applications list of cfg_util. This file is an example how to add your own application configuration to cfg_util. To add an application, create a file called cfg_mlbatch_appcfg.m in the application @@ -17,9 +17,12 @@ def cfg_mlbatch_appcfg(*args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/cfg_mlbatch_appcfg.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/cfg_mlbatch_appcfg.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("cfg_mlbatch_appcfg", *args, **kwargs) diff --git a/spm/__matlabbatch/cfg_repeat.py b/spm/__matlabbatch/cfg_repeat.py index 0008a159..6f3ee504 100644 --- a/spm/__matlabbatch/cfg_repeat.py +++ b/spm/__matlabbatch/cfg_repeat.py @@ -4,7 +4,7 @@ class cfg_repeat(RuntimeMixin, MatlabClass): def __init__(self, *args, **kwargs): - """ + r""" This is the repeat configuration item class Data structure @@ -68,15 +68,18 @@ def __init__(self, *args, **kwargs): - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_repeat/cfg_repeat.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_repeat/cfg_repeat.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ super().__init__() def all_leafs(self, *args, **kwargs): - """ + r""" function ok = all_leafs(item) Return true, if all child items in item.val{:} consist of subtrees ending in leaf nodes. Leaf nodes do not have to be set at this time and @@ -90,15 +93,18 @@ def all_leafs(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_repeat/all_leafs.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_repeat/all_leafs.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("all_leafs", self._as_matlab_object(), *args, **kwargs) def all_set(self, *args, **kwargs): - """ + r""" function ok = all_set(item) Return true, if all child items in item.val{:} are set and item specific criteria (i.e. number of element in .val) are met. No checks based on @@ -118,15 +124,18 @@ def all_set(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_repeat/all_set.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_repeat/all_set.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("all_set", self._as_matlab_object(), *args, **kwargs) def all_set_item(self, *args, **kwargs): - """ + r""" function ok = all_set_item(item) Perform within-item all_set check. For repeats, this is true, if item.val has between item.num(1) and item.num(2) elements. @@ -138,15 +147,18 @@ def all_set_item(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_repeat/all_set_item.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_repeat/all_set_item.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("all_set_item", self._as_matlab_object(), *args, **kwargs) def cfg2jobsubs(self, *args, **kwargs): - """ + r""" function jsubs = cfg2jobsubs(item, subs) Return the subscript into the job tree for a given subscript vector into the val part of the cfg tree. @@ -158,15 +170,18 @@ def cfg2jobsubs(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_repeat/cfg2jobsubs.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_repeat/cfg2jobsubs.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("cfg2jobsubs", self._as_matlab_object(), *args, **kwargs) def cfg2struct(self, *args, **kwargs): - """ + r""" function sitem = cfg2struct(item) Return a struct containing all fields of item plus a field type. This is the method suitable for cfg_choice and repeat classes. It descends down @@ -179,15 +194,18 @@ def cfg2struct(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_repeat/cfg2struct.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_repeat/cfg2struct.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("cfg2struct", self._as_matlab_object(), *args, **kwargs) def checksubs_job(self, *args, **kwargs): - """ + r""" function [sts vind] = checksubs_job(item, subs, dflag) Check whether a subscript reference is a valid reference in a job structure starting at item. subs(1) should have a subscript type of @@ -203,15 +221,18 @@ def checksubs_job(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_repeat/checksubs_job.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_repeat/checksubs_job.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("checksubs_job", self._as_matlab_object(), *args, **kwargs) def clearval(self, *args, **kwargs): - """ + r""" function item = clearval(item, dflag) Clear val field, thereby removing the currently selected configuration subtree. If dflag is set, then also all val fields in the item.values{:} @@ -225,15 +246,18 @@ def clearval(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_repeat/clearval.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_repeat/clearval.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("clearval", self._as_matlab_object(), *args, **kwargs) def expand(self, *args, **kwargs): - """ + r""" function [item, sts] = expand(item, eflag, tropts) Set/query expanded flag of item depending on eflag: -1 - do not force eflag to any state, only child state will be inherited @@ -268,15 +292,18 @@ def expand(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_repeat/expand.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_repeat/expand.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("expand", self._as_matlab_object(), *args, **kwargs) def fieldnames(self, *args, **kwargs): - """ + r""" function fn = fieldnames(item) Return a list of all (inherited and non-inherited) field names. @@ -287,15 +314,18 @@ def fieldnames(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_repeat/fieldnames.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_repeat/fieldnames.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("fieldnames", self._as_matlab_object(), *args, **kwargs) def fillvals(self, *args, **kwargs): - """ + r""" function [item, inputs] = fillvals(item, inputs, infcn) If ~all_set_item, try to set item.val to the items listed in inputs{1}. inputs{1} should be a cell array of indices into item.values. For @@ -315,15 +345,18 @@ def fillvals(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_repeat/fillvals.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_repeat/fillvals.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("fillvals", self._as_matlab_object(), *args, **kwargs) def gencode_item(self, *args, **kwargs): - """ + r""" function [str, tag, cind, ccnt] = gencode_item(item, tag, tagctx, stoptag, tropts) Generate code to recreate a cfg_repeat item. This code does not deal with arrays of cfg_items, such a configuration should not exist with the @@ -347,15 +380,18 @@ def gencode_item(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_repeat/gencode_item.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_repeat/gencode_item.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("gencode_item", self._as_matlab_object(), *args, **kwargs) def gettag(self, *args, **kwargs): - """ + r""" function tag = gettag(item) Return tag of item or its item.values{1} child node, depending on configuration. @@ -367,15 +403,18 @@ def gettag(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_repeat/gettag.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_repeat/gettag.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("gettag", self._as_matlab_object(), *args, **kwargs) def harvest(self, *args, **kwargs): - """ + r""" function [tag, val, typ, dep, chk, cj] = harvest(item, cj, dflag, rflag) Harvest a cfg_repeat object. Input arguments: @@ -400,15 +439,18 @@ def harvest(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_repeat/harvest.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_repeat/harvest.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("harvest", self._as_matlab_object(), *args, **kwargs) def initialise(self, *args, **kwargs): - """ + r""" function item = initialise(item, val, dflag) Initialise a configuration tree with values. If val is a job struct/cell, only the parts of the configuration that are present in @@ -430,15 +472,18 @@ def initialise(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_repeat/initialise.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_repeat/initialise.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("initialise", self._as_matlab_object(), *args, **kwargs) def list_(self, *args, **kwargs): - """ + r""" function [id, stop, val] = list(item, spec, tropts, fn) Find items in a cfg tree rooted at item that match a specification spec. By default, the filled configuration tree is searched (i.e. the @@ -491,15 +536,18 @@ def list_(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_repeat/list.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_repeat/list.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("list", self._as_matlab_object(), *args, **kwargs) def setval(self, *args, **kwargs): - """ + r""" function item = setval(item, val, dflag) Add, replicate or delete an entry in item.val. The semantics is based on the contents of the 2nd argument: @@ -521,15 +569,18 @@ def setval(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_repeat/setval.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_repeat/setval.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("setval", self._as_matlab_object(), *args, **kwargs) def showdetail(self, *args, **kwargs): - """ + r""" function str = showdetail(item) Display details for a cfg_repeat and all of its options. @@ -540,15 +591,18 @@ def showdetail(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_repeat/showdetail.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_repeat/showdetail.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("showdetail", self._as_matlab_object(), *args, **kwargs) def showdoc(self, *args, **kwargs): - """ + r""" function str = showdoc(item, indent) Display help text for a cfg item and all of its options. @@ -561,15 +615,18 @@ def showdoc(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_repeat/showdoc.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_repeat/showdoc.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("showdoc", self._as_matlab_object(), *args, **kwargs) def showmydoc(self, *args, **kwargs): - """ + r""" function str = showmydoc(item, indent) Display help text for a cfg_repeat and all of its options, without recursive calls to child nodes. @@ -581,15 +638,18 @@ def showmydoc(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_repeat/showmydoc.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_repeat/showmydoc.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("showmydoc", self._as_matlab_object(), *args, **kwargs) def subs_fields(self, *args, **kwargs): - """ + r""" function fnames = subs_fields(item) This function works as a "class-based switch" to return the value of the private mysubs_fields function for the appropriate class. @@ -604,15 +664,18 @@ def subs_fields(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_repeat/subs_fields.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_repeat/subs_fields.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("subs_fields", self._as_matlab_object(), *args, **kwargs) def subsasgn(self, *args, **kwargs): - """ + r""" function item = subsasgn(item, subs, varargin) This function implements subsasgn for all classes derived from cfg_item. It relies on the capability of each class constructor to re-classify a @@ -645,15 +708,18 @@ def subsasgn(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_repeat/subsasgn.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_repeat/subsasgn.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("subsasgn", self._as_matlab_object(), *args, **kwargs) def subsasgn_check(self, *args, **kwargs): - """ + r""" function [sts, val] = subsasgn_check(item,subs,val) This code is part of a batch job configuration system for MATLAB. See @@ -663,15 +729,18 @@ def subsasgn_check(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_repeat/subsasgn_check.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_repeat/subsasgn_check.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("subsasgn_check", self._as_matlab_object(), *args, **kwargs) def subsasgn_job(self, *args, **kwargs): - """ + r""" function varargout = subsasgn_job(item, subs) Treat a subscript reference as a reference in a job structure instead of a cfg_item structure. If subs is empty, then the subtree @@ -688,15 +757,18 @@ def subsasgn_job(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_repeat/subsasgn_job.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_repeat/subsasgn_job.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("subsasgn_job", self._as_matlab_object(), *args, **kwargs) def subsref(self, *args, **kwargs): - """ + r""" function varargout = subsref(item, subs) subscript references we have to deal with are: one level @@ -720,15 +792,18 @@ def subsref(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_repeat/subsref.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_repeat/subsref.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("subsref", self._as_matlab_object(), *args, **kwargs) def subsref_job(self, *args, **kwargs): - """ + r""" function [ritem varargout] = subsref_job(item, subs, c0) Treat a subscript reference as a reference in a job structure instead of a cfg_item structure. If subs is empty, then the harvested subtree @@ -749,15 +824,18 @@ def subsref_job(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_repeat/subsref_job.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_repeat/subsref_job.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("subsref_job", self._as_matlab_object(), *args, **kwargs) def tag2cfgsubs(self, *args, **kwargs): - """ + r""" function [id, stop, rtaglist] = tag2cfgsubs(item, taglist, finalspec, tropts) Return the index into the values branch of a configuration tree which corresponds to a list of tags. @@ -781,15 +859,18 @@ def tag2cfgsubs(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_repeat/tag2cfgsubs.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_repeat/tag2cfgsubs.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("tag2cfgsubs", self._as_matlab_object(), *args, **kwargs) def tagnames(self, *args, **kwargs): - """ + r""" function tn = tagnames(item, dflag) Return the tags of all children in the job tree of an item. dflag indicates whether the filled (false) or defaults (true) part of the @@ -805,15 +886,18 @@ def tagnames(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_repeat/tagnames.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_repeat/tagnames.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("tagnames", self._as_matlab_object(), *args, **kwargs) def treepart(self, *args, **kwargs): - """ + r""" function tname = treepart(item, dflag) tree part to search - for cfg_repeat/cfg_choice this is val for filled cfg_items and values for default cfg_items. @@ -825,15 +909,18 @@ def treepart(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_repeat/treepart.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_repeat/treepart.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("treepart", self._as_matlab_object(), *args, **kwargs) def update_deps(self, *args, **kwargs): - """ + r""" function item = update_deps(item, varargin) This function will run cfg_dep/update_deps in all leaf (cfg_entry, cfg_menu, cfg_files) nodes of a configuration tree and update their @@ -848,15 +935,18 @@ def update_deps(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_repeat/update_deps.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_repeat/update_deps.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("update_deps", self._as_matlab_object(), *args, **kwargs) def val2def(self, *args, **kwargs): - """ + r""" function [item, defaults] = val2def(item, defaults, funname, deftag) If a cfg_leaf item has a value, extract it and generate code for defaults retrieval. This function works in a way similar to harvest, but with a @@ -872,15 +962,18 @@ def val2def(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_repeat/val2def.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_repeat/val2def.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("val2def", self._as_matlab_object(), *args, **kwargs) def _mysubs_fields(self, *args, **kwargs): - """ + r""" function [fnames, defaults] = mysubs_fields Additional fields for class cfg_repeat. See help of @cfg_item/subs_fields for general help about this function. @@ -892,9 +985,12 @@ def _mysubs_fields(self, *args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/@cfg_repeat/private/mysubs_fields.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/@cfg_repeat/private/mysubs_fields.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("mysubs_fields", self._as_matlab_object(), *args, **kwargs) diff --git a/spm/__matlabbatch/cfg_serial.py b/spm/__matlabbatch/cfg_serial.py index e268a963..217dd374 100644 --- a/spm/__matlabbatch/cfg_serial.py +++ b/spm/__matlabbatch/cfg_serial.py @@ -2,7 +2,7 @@ def cfg_serial(*args, **kwargs): - """ + r""" This function is deprecated. The functionality should replaced by the following sequence of calls: @@ -53,9 +53,12 @@ def cfg_serial(*args, **kwargs): regardless of value validity). - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/cfg_serial.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/cfg_serial.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("cfg_serial", *args, **kwargs, nargout=0) diff --git a/spm/__matlabbatch/cfg_struct2cfg.py b/spm/__matlabbatch/cfg_struct2cfg.py index e8fe2d1c..987d12c8 100644 --- a/spm/__matlabbatch/cfg_struct2cfg.py +++ b/spm/__matlabbatch/cfg_struct2cfg.py @@ -2,7 +2,7 @@ def cfg_struct2cfg(*args, **kwargs): - """ + r""" Import a config structure into a matlabbatch class tree. Input structures are those generated from the configuration editor, cfg2struct methods or spm_jobman config structures. @@ -21,9 +21,12 @@ def cfg_struct2cfg(*args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/cfg_struct2cfg.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/cfg_struct2cfg.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("cfg_struct2cfg", *args, **kwargs) diff --git a/spm/__matlabbatch/cfg_tropts.py b/spm/__matlabbatch/cfg_tropts.py index 6fe9626a..bd0eb5fb 100644 --- a/spm/__matlabbatch/cfg_tropts.py +++ b/spm/__matlabbatch/cfg_tropts.py @@ -2,7 +2,7 @@ def cfg_tropts(*args, **kwargs): - """ + r""" function tropts = cfg_tropts(stopspec, clvl, mlvl, cnt, mcnt, dflag) This function is a shorthand that generates a traversal options structure from the following items: @@ -19,9 +19,12 @@ def cfg_tropts(*args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/cfg_tropts.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/cfg_tropts.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("cfg_tropts", *args, **kwargs) diff --git a/spm/__matlabbatch/cfg_txtdesc2cfg.py b/spm/__matlabbatch/cfg_txtdesc2cfg.py index 6378fd9b..3ba4bdd1 100644 --- a/spm/__matlabbatch/cfg_txtdesc2cfg.py +++ b/spm/__matlabbatch/cfg_txtdesc2cfg.py @@ -2,7 +2,7 @@ def cfg_txtdesc2cfg(*args, **kwargs): - """ + r""" Create a cfg_item tree from a short-hand text description cfg = cfg_txtdesc2cfg(fname) This utility reads a text file from fname and creates a configuration @@ -72,9 +72,12 @@ def cfg_txtdesc2cfg(*args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/cfg_txtdesc2cfg.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/cfg_txtdesc2cfg.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("cfg_txtdesc2cfg", *args, **kwargs) diff --git a/spm/__matlabbatch/cfg_ui.py b/spm/__matlabbatch/cfg_ui.py index 0b694ead..eae44a36 100644 --- a/spm/__matlabbatch/cfg_ui.py +++ b/spm/__matlabbatch/cfg_ui.py @@ -2,7 +2,7 @@ def cfg_ui(*args, **kwargs): - """ + r""" CFG_UI M-File for cfg_ui.fig CFG_UI, by itself, creates a new CFG_UI or raises the existing singleton*. @@ -31,9 +31,12 @@ def cfg_ui(*args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/cfg_ui.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/cfg_ui.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("cfg_ui", *args, **kwargs) diff --git a/spm/__matlabbatch/cfg_ui_multibatch.py b/spm/__matlabbatch/cfg_ui_multibatch.py index f4eeed99..a2b05a19 100644 --- a/spm/__matlabbatch/cfg_ui_multibatch.py +++ b/spm/__matlabbatch/cfg_ui_multibatch.py @@ -2,7 +2,7 @@ def cfg_ui_multibatch(*args, **kwargs): - """ + r""" CFG_UI_MULTIBATCH MATLAB code for cfg_ui_multibatch.fig CFG_UI_MULTIBATCH, by itself, creates a new CFG_UI_MULTIBATCH or raises the existing singleton*. @@ -25,9 +25,12 @@ def cfg_ui_multibatch(*args, **kwargs): See also: GUIDE, GUIDATA, GUIHANDLES - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/cfg_ui_multibatch.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/cfg_ui_multibatch.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("cfg_ui_multibatch", *args, **kwargs) diff --git a/spm/__matlabbatch/cfg_ui_util.py b/spm/__matlabbatch/cfg_ui_util.py index 718a2056..d3f02cdf 100644 --- a/spm/__matlabbatch/cfg_ui_util.py +++ b/spm/__matlabbatch/cfg_ui_util.py @@ -2,7 +2,7 @@ def cfg_ui_util(*args, **kwargs): - """ + r""" CFG_UI_UTIL utility functions for displaying job, module and item values This function is a collection of utility functions to display a job, module or data summary. It also handles all value display and editing for @@ -15,9 +15,12 @@ def cfg_ui_util(*args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/cfg_ui_util.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/cfg_ui_util.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("cfg_ui_util", *args, **kwargs) diff --git a/spm/__matlabbatch/cfg_util.py b/spm/__matlabbatch/cfg_util.py index 9001da5a..825182d9 100644 --- a/spm/__matlabbatch/cfg_util.py +++ b/spm/__matlabbatch/cfg_util.py @@ -2,7 +2,7 @@ def cfg_util(*args, **kwargs): - """ + r""" This is the command line interface to the batch system. It manages the following structures: * Generic configuration structure c0. This structure will be initialised @@ -426,9 +426,12 @@ def cfg_util(*args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/cfg_util.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/cfg_util.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("cfg_util", *args, **kwargs) diff --git a/spm/__matlabbatch/gencode.py b/spm/__matlabbatch/gencode.py index 82204150..e8c42ce8 100644 --- a/spm/__matlabbatch/gencode.py +++ b/spm/__matlabbatch/gencode.py @@ -2,7 +2,7 @@ def gencode(*args, **kwargs): - """ + r""" GENCODE Generate code to recreate any MATLAB struct/cell variable. For any MATLAB variable, this function generates a .m file that can be run to recreate it. Classes can implement their class specific @@ -35,9 +35,12 @@ def gencode(*args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/gencode.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/gencode.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("gencode", *args, **kwargs) diff --git a/spm/__matlabbatch/gencode_rvalue.py b/spm/__matlabbatch/gencode_rvalue.py index ba6f285f..cdc2fd9c 100644 --- a/spm/__matlabbatch/gencode_rvalue.py +++ b/spm/__matlabbatch/gencode_rvalue.py @@ -2,7 +2,7 @@ def gencode_rvalue(*args, **kwargs): - """ + r""" GENCODE_RVALUE Code for right hand side of MATLAB assignment Generate the right hand side for a valid MATLAB variable assignment. This function is a helper to GENCODE, but can be used on @@ -31,9 +31,12 @@ def gencode_rvalue(*args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/gencode_rvalue.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/gencode_rvalue.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("gencode_rvalue", *args, **kwargs) diff --git a/spm/__matlabbatch/gencode_substruct.py b/spm/__matlabbatch/gencode_substruct.py index 48c80bff..c33f6e1e 100644 --- a/spm/__matlabbatch/gencode_substruct.py +++ b/spm/__matlabbatch/gencode_substruct.py @@ -2,7 +2,7 @@ def gencode_substruct(*args, **kwargs): - """ + r""" GENCODE_SUBSTRUCT String representation of subscript structure. Generate MATLAB code equivalent to subscript structure subs. See help on SUBSTRUCT, SUBSASGN and SUBSREF for details how subscript structures @@ -31,9 +31,12 @@ def gencode_substruct(*args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/gencode_substruct.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/gencode_substruct.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("gencode_substruct", *args, **kwargs) diff --git a/spm/__matlabbatch/gencode_substructcode.py b/spm/__matlabbatch/gencode_substructcode.py index 847be276..b82568bb 100644 --- a/spm/__matlabbatch/gencode_substructcode.py +++ b/spm/__matlabbatch/gencode_substructcode.py @@ -2,7 +2,7 @@ def gencode_substructcode(*args, **kwargs): - """ + r""" GENCODE_SUBSTRUCTCODE Create code for a subscript structure Generate MATLAB code (using SUBSTRUCT) to create subscript structure subs. See help on SUBSTRUCT, SUBSASGN and SUBSREF for details how @@ -33,9 +33,12 @@ def gencode_substructcode(*args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/gencode_substructcode.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/gencode_substructcode.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("gencode_substructcode", *args, **kwargs) diff --git a/spm/__matlabbatch/help2cell.py b/spm/__matlabbatch/help2cell.py index c8ed9790..0beb5aef 100644 --- a/spm/__matlabbatch/help2cell.py +++ b/spm/__matlabbatch/help2cell.py @@ -2,7 +2,7 @@ def help2cell(*args, **kwargs): - """ + r""" HELP2CELL - translate help texts into cell arrays cellhelp = help2cell(topic) Create a cell array of help strings from the MATLAB help on 'topic'. @@ -16,9 +16,12 @@ def help2cell(*args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/help2cell.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/help2cell.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("help2cell", *args, **kwargs) diff --git a/spm/__matlabbatch/hgsave_pre2008a.py b/spm/__matlabbatch/hgsave_pre2008a.py index ffbc868b..ee29001e 100644 --- a/spm/__matlabbatch/hgsave_pre2008a.py +++ b/spm/__matlabbatch/hgsave_pre2008a.py @@ -2,7 +2,7 @@ def hgsave_pre2008a(*args, **kwargs): - """ + r""" HGSAVE_PRE2008A Starting with MATLAB 2008a, GUIDE saves figures with '%automatic' functions (e.g. Callbacks, ResizeFcn ...) as anonymous function handles, @@ -61,9 +61,12 @@ def hgsave_pre2008a(*args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/hgsave_pre2008a.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/hgsave_pre2008a.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("hgsave_pre2008a", *args, **kwargs) diff --git a/spm/__matlabbatch/subsasgn_check_funhandle.py b/spm/__matlabbatch/subsasgn_check_funhandle.py index c54a7da7..08e43724 100644 --- a/spm/__matlabbatch/subsasgn_check_funhandle.py +++ b/spm/__matlabbatch/subsasgn_check_funhandle.py @@ -2,7 +2,7 @@ def subsasgn_check_funhandle(*args, **kwargs): - """ + r""" function sts = subsasgn_check_funhandle(val) Return true if val is either empty, or a function or function handle. One could also check for nargin == 1 and nargout == 1. @@ -14,9 +14,12 @@ def subsasgn_check_funhandle(*args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/subsasgn_check_funhandle.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/subsasgn_check_funhandle.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("subsasgn_check_funhandle", *args, **kwargs) diff --git a/spm/__matlabbatch/subsasgn_check_num.py b/spm/__matlabbatch/subsasgn_check_num.py index d02fdd45..eb1d8c80 100644 --- a/spm/__matlabbatch/subsasgn_check_num.py +++ b/spm/__matlabbatch/subsasgn_check_num.py @@ -2,7 +2,7 @@ def subsasgn_check_num(*args, **kwargs): - """ + r""" function sts = subsasgn_check_num(val) Check, whether a num value is a numeric 2-vector, denoting a minimum/maximum number of elements. val(1) must be >= 0 and @@ -17,9 +17,12 @@ def subsasgn_check_num(*args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/subsasgn_check_num.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/subsasgn_check_num.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("subsasgn_check_num", *args, **kwargs) diff --git a/spm/__matlabbatch/subsasgn_check_valcfg.py b/spm/__matlabbatch/subsasgn_check_valcfg.py index 265275b0..d761dd45 100644 --- a/spm/__matlabbatch/subsasgn_check_valcfg.py +++ b/spm/__matlabbatch/subsasgn_check_valcfg.py @@ -2,7 +2,7 @@ def subsasgn_check_valcfg(*args, **kwargs): - """ + r""" function sts = subsasgn_check_valcfg(subs,val,num) This code is part of a batch job configuration system for MATLAB. See @@ -12,9 +12,12 @@ def subsasgn_check_valcfg(*args, **kwargs): Copyright (C) 2007 Freiburg Brain Imaging - [Matlab code]( https://github.com/spm/spm/blob/main/matlabbatch/subsasgn_check_valcfg.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/matlabbatch/subsasgn_check_valcfg.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("subsasgn_check_valcfg", *args, **kwargs) diff --git a/spm/__spm_orthviews/spm_ov_browser.py b/spm/__spm_orthviews/spm_ov_browser.py index 4ce8c3c6..4362fa9f 100644 --- a/spm/__spm_orthviews/spm_ov_browser.py +++ b/spm/__spm_orthviews/spm_ov_browser.py @@ -2,7 +2,7 @@ def spm_ov_browser(*args, **kwargs): - """ + r""" Browser tool - plugin for spm_orthviews This routine is a plugin to spm_orthviews. For general help about @@ -12,9 +12,12 @@ def spm_ov_browser(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_orthviews/spm_ov_browser.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_orthviews/spm_ov_browser.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_ov_browser", *args, **kwargs) diff --git a/spm/__spm_orthviews/spm_ov_contour.py b/spm/__spm_orthviews/spm_ov_contour.py index e60d3576..2e7f14ea 100644 --- a/spm/__spm_orthviews/spm_ov_contour.py +++ b/spm/__spm_orthviews/spm_ov_contour.py @@ -2,7 +2,7 @@ def spm_ov_contour(*args, **kwargs): - """ + r""" Contour tool - plugin for spm_orthviews This routine is a plugin to spm_orthviews. For general help about @@ -12,9 +12,12 @@ def spm_ov_contour(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_orthviews/spm_ov_contour.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_orthviews/spm_ov_contour.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_ov_contour", *args, **kwargs) diff --git a/spm/__spm_orthviews/spm_ov_display.py b/spm/__spm_orthviews/spm_ov_display.py index b3122bf0..e06baf11 100644 --- a/spm/__spm_orthviews/spm_ov_display.py +++ b/spm/__spm_orthviews/spm_ov_display.py @@ -2,7 +2,7 @@ def spm_ov_display(*args, **kwargs): - """ + r""" Display tool - plugin for spm_orthviews This routine is a plugin to spm_orthviews. For general help about @@ -12,9 +12,12 @@ def spm_ov_display(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_orthviews/spm_ov_display.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_orthviews/spm_ov_display.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_ov_display", *args, **kwargs) diff --git a/spm/__spm_orthviews/spm_ov_goto_max.py b/spm/__spm_orthviews/spm_ov_goto_max.py index 167dc3e0..f048728a 100644 --- a/spm/__spm_orthviews/spm_ov_goto_max.py +++ b/spm/__spm_orthviews/spm_ov_goto_max.py @@ -2,7 +2,7 @@ def spm_ov_goto_max(*args, **kwargs): - """ + r""" Goto maximum intensity tool - plugin for spm_orthviews This tool provides capabilities similar to the "Goto ... maximum" @@ -17,9 +17,12 @@ def spm_ov_goto_max(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_orthviews/spm_ov_goto_max.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_orthviews/spm_ov_goto_max.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_ov_goto_max", *args, **kwargs) diff --git a/spm/__spm_orthviews/spm_ov_mesh.py b/spm/__spm_orthviews/spm_ov_mesh.py index 4c8aedeb..7dca3591 100644 --- a/spm/__spm_orthviews/spm_ov_mesh.py +++ b/spm/__spm_orthviews/spm_ov_mesh.py @@ -2,7 +2,7 @@ def spm_ov_mesh(*args, **kwargs): - """ + r""" Mesh tool - plugin for spm_orthviews This routine is a plugin to spm_orthviews. For general help about @@ -12,9 +12,12 @@ def spm_ov_mesh(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_orthviews/spm_ov_mesh.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_orthviews/spm_ov_mesh.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_ov_mesh", *args, **kwargs) diff --git a/spm/__spm_orthviews/spm_ov_movie.py b/spm/__spm_orthviews/spm_ov_movie.py index 62c5047a..4044f706 100644 --- a/spm/__spm_orthviews/spm_ov_movie.py +++ b/spm/__spm_orthviews/spm_ov_movie.py @@ -2,7 +2,7 @@ def spm_ov_movie(*args, **kwargs): - """ + r""" Movie tool - plugin for spm_orthviews This plugin allows an automatic "fly-through" through all displayed @@ -21,9 +21,12 @@ def spm_ov_movie(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_orthviews/spm_ov_movie.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_orthviews/spm_ov_movie.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_ov_movie", *args, **kwargs) diff --git a/spm/__spm_orthviews/spm_ov_reorient.py b/spm/__spm_orthviews/spm_ov_reorient.py index ecfe6b0a..58743ab2 100644 --- a/spm/__spm_orthviews/spm_ov_reorient.py +++ b/spm/__spm_orthviews/spm_ov_reorient.py @@ -2,7 +2,7 @@ def spm_ov_reorient(*args, **kwargs): - """ + r""" Reorient tool - plugin for spm_orthviews This tool provides the capabilities of the reorientation widget in SPM's @@ -20,9 +20,12 @@ def spm_ov_reorient(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_orthviews/spm_ov_reorient.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_orthviews/spm_ov_reorient.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_ov_reorient", *args, **kwargs) diff --git a/spm/__spm_orthviews/spm_ov_rgb.py b/spm/__spm_orthviews/spm_ov_rgb.py index d2812385..b91f020f 100644 --- a/spm/__spm_orthviews/spm_ov_rgb.py +++ b/spm/__spm_orthviews/spm_ov_rgb.py @@ -2,7 +2,7 @@ def spm_ov_rgb(*args, **kwargs): - """ + r""" RGB overlays - plugin for spm_orthviews A shorthand to overlaying the absolute value of three different images onto a displayed image in colours red, green and blue. The overlay images @@ -16,9 +16,12 @@ def spm_ov_rgb(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_orthviews/spm_ov_rgb.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_orthviews/spm_ov_rgb.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_ov_rgb", *args, **kwargs) diff --git a/spm/__spm_orthviews/spm_ov_roi.py b/spm/__spm_orthviews/spm_ov_roi.py index a54be602..5f9f6291 100644 --- a/spm/__spm_orthviews/spm_ov_roi.py +++ b/spm/__spm_orthviews/spm_ov_roi.py @@ -2,7 +2,7 @@ def spm_ov_roi(*args, **kwargs): - """ + r""" ROI tool - plugin for spm_orthviews With ROI tool it is possible to create new or modify existing mask images @@ -93,9 +93,12 @@ def spm_ov_roi(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_orthviews/spm_ov_roi.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_orthviews/spm_ov_roi.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_ov_roi", *args, **kwargs) diff --git a/spm/__spm_orthviews/spm_ov_save.py b/spm/__spm_orthviews/spm_ov_save.py index d3dc29d7..7b299c70 100644 --- a/spm/__spm_orthviews/spm_ov_save.py +++ b/spm/__spm_orthviews/spm_ov_save.py @@ -2,7 +2,7 @@ def spm_ov_save(*args, **kwargs): - """ + r""" Save as image tool - plugin for spm_orthviews This routine is a plugin to spm_orthviews. For general help about @@ -12,9 +12,12 @@ def spm_ov_save(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_orthviews/spm_ov_save.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_orthviews/spm_ov_save.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_ov_save", *args, **kwargs) diff --git a/spm/__spm_orthviews/spm_ovhelper_3Dreg.py b/spm/__spm_orthviews/spm_ovhelper_3Dreg.py index 0015deb2..0686256f 100644 --- a/spm/__spm_orthviews/spm_ovhelper_3Dreg.py +++ b/spm/__spm_orthviews/spm_ovhelper_3Dreg.py @@ -2,7 +2,7 @@ def spm_ovhelper_3Dreg(*args, **kwargs): - """ + r""" Helper function to register spm_orthviews plugins via spm_XYZreg FORMAT spm_ovhelper_3Dreg('register', h, V) Register a (3D) graphics with the main spm_orthviews display. This will @@ -27,9 +27,12 @@ def spm_ovhelper_3Dreg(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_orthviews/spm_ovhelper_3Dreg.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_orthviews/spm_ovhelper_3Dreg.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_ovhelper_3Dreg", *args, **kwargs, nargout=0) diff --git a/spm/__tests/ROBOT_DCM_EEG.py b/spm/__tests/ROBOT_DCM_EEG.py index 023099d0..f9fdce84 100644 --- a/spm/__tests/ROBOT_DCM_EEG.py +++ b/spm/__tests/ROBOT_DCM_EEG.py @@ -2,7 +2,7 @@ def ROBOT_DCM_EEG(*args, **kwargs): - """ + r""" test routine to check current implementations of DCM (electrophysiology) ========================================================================== options.analysis - 'ERP','CSD', 'IND' or 'TFM @@ -10,9 +10,12 @@ def ROBOT_DCM_EEG(*args, **kwargs): options.spatial - 'ECD','LFP' or 'IMG' - [Matlab code]( https://github.com/spm/spm/blob/main/tests/ROBOT_DCM_EEG.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/tests/ROBOT_DCM_EEG.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ROBOT_DCM_EEG", *args, **kwargs) diff --git a/spm/__tests/ROBOT_DCM_fMRI.py b/spm/__tests/ROBOT_DCM_fMRI.py index 0dc62b00..1b487382 100644 --- a/spm/__tests/ROBOT_DCM_fMRI.py +++ b/spm/__tests/ROBOT_DCM_fMRI.py @@ -2,7 +2,7 @@ def ROBOT_DCM_fMRI(*args, **kwargs): - """ + r""" test routine to check current implementations of DCM for fMRI ========================================================================== @@ -17,9 +17,12 @@ def ROBOT_DCM_fMRI(*args, **kwargs): DCM.options.hidden % indices of hidden regions - [Matlab code]( https://github.com/spm/spm/blob/main/tests/ROBOT_DCM_fMRI.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/tests/ROBOT_DCM_fMRI.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ROBOT_DCM_fMRI", *args, **kwargs) diff --git a/spm/__tests/ROBOT_DEM.py b/spm/__tests/ROBOT_DEM.py index cc934b31..7b054e66 100644 --- a/spm/__tests/ROBOT_DEM.py +++ b/spm/__tests/ROBOT_DEM.py @@ -2,14 +2,17 @@ def ROBOT_DEM(*args, **kwargs): - """ + r""" Tests routines in DEM GUI __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/tests/ROBOT_DEM.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/tests/ROBOT_DEM.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ROBOT_DEM", *args, **kwargs) diff --git a/spm/__tests/__DCM_Test_Suite/__init__.py b/spm/__tests/__DCM_Test_Suite/__init__.py new file mode 100644 index 00000000..79bded5a --- /dev/null +++ b/spm/__tests/__DCM_Test_Suite/__init__.py @@ -0,0 +1,44 @@ +from .dts_meeg_add_eeg_bem_forward import dts_meeg_add_eeg_bem_forward +from .dts_meeg_check_fit_reference import dts_meeg_check_fit_reference +from .dts_meeg_csd_forward_model import dts_meeg_csd_forward_model +from .dts_meeg_csd_lfp_template import dts_meeg_csd_lfp_template +from .dts_meeg_export_a1_lfp import dts_meeg_export_a1_lfp +from .dts_meeg_fit_csd_model import dts_meeg_fit_csd_model +from .dts_meeg_fit_erp_model import dts_meeg_fit_erp_model +from .dts_meeg_fixed_data_cases import dts_meeg_fixed_data_cases +from .dts_meeg_lfp_template import dts_meeg_lfp_template +from .dts_meeg_neural_fixture import dts_meeg_neural_fixture +from .dts_meeg_prepare_a1_lfp import dts_meeg_prepare_a1_lfp +from .dts_meeg_prepare_mmn_eeg import dts_meeg_prepare_mmn_eeg +from .dts_meeg_prior_lfp_response import dts_meeg_prior_lfp_response +from .dts_meeg_sample_sensor_fixture import dts_meeg_sample_sensor_fixture +from .dts_meeg_sensor_template import dts_meeg_sensor_template +from .dts_meeg_setup_paths import dts_meeg_setup_paths +from .dts_meeg_test_defaults import dts_meeg_test_defaults +from .dts_meeg_write_lfp_fixture import dts_meeg_write_lfp_fixture +from .dts_prep01_make_test_fixtures import dts_prep01_make_test_fixtures +from .dts_prep02_generate_reference_data import dts_prep02_generate_reference_data + + +__all__ = [ + "dts_meeg_add_eeg_bem_forward", + "dts_meeg_check_fit_reference", + "dts_meeg_csd_forward_model", + "dts_meeg_csd_lfp_template", + "dts_meeg_export_a1_lfp", + "dts_meeg_fit_csd_model", + "dts_meeg_fit_erp_model", + "dts_meeg_fixed_data_cases", + "dts_meeg_lfp_template", + "dts_meeg_neural_fixture", + "dts_meeg_prepare_a1_lfp", + "dts_meeg_prepare_mmn_eeg", + "dts_meeg_prior_lfp_response", + "dts_meeg_sample_sensor_fixture", + "dts_meeg_sensor_template", + "dts_meeg_setup_paths", + "dts_meeg_test_defaults", + "dts_meeg_write_lfp_fixture", + "dts_prep01_make_test_fixtures", + "dts_prep02_generate_reference_data" +] diff --git a/spm/__tests/__DCM_Test_Suite/dts_meeg_add_eeg_bem_forward.py b/spm/__tests/__DCM_Test_Suite/dts_meeg_add_eeg_bem_forward.py new file mode 100644 index 00000000..e370faf3 --- /dev/null +++ b/spm/__tests/__DCM_Test_Suite/dts_meeg_add_eeg_bem_forward.py @@ -0,0 +1,18 @@ +from spm._runtime import Runtime + + +def dts_meeg_add_eeg_bem_forward(*args, **kwargs): + r""" + Build a template EEG BEM forward model and full gain matrix for one M/EEG file. + Authored by Pranay Yadav in 2026 + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/tests/DCM_Test_Suite/dts_meeg_add_eeg_bem_forward.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("dts_meeg_add_eeg_bem_forward", *args, **kwargs) diff --git a/spm/__tests/__DCM_Test_Suite/dts_meeg_check_fit_reference.py b/spm/__tests/__DCM_Test_Suite/dts_meeg_check_fit_reference.py new file mode 100644 index 00000000..3cc96bf0 --- /dev/null +++ b/spm/__tests/__DCM_Test_Suite/dts_meeg_check_fit_reference.py @@ -0,0 +1,18 @@ +from spm._runtime import Runtime + + +def dts_meeg_check_fit_reference(*args, **kwargs): + r""" + Check fitted DCM results against shipped deterministic references. + Authored by Pranay Yadav in 2026 + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/tests/DCM_Test_Suite/dts_meeg_check_fit_reference.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("dts_meeg_check_fit_reference", *args, **kwargs) diff --git a/spm/__tests/__DCM_Test_Suite/dts_meeg_csd_forward_model.py b/spm/__tests/__DCM_Test_Suite/dts_meeg_csd_forward_model.py new file mode 100644 index 00000000..a0ae7ce1 --- /dev/null +++ b/spm/__tests/__DCM_Test_Suite/dts_meeg_csd_forward_model.py @@ -0,0 +1,18 @@ +from spm._runtime import Runtime + + +def dts_meeg_csd_forward_model(*args, **kwargs): + r""" + Run prior CSD forward passes for one- and four-node LFP networks. + Authored by Pranay Yadav in 2026 + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/tests/DCM_Test_Suite/dts_meeg_csd_forward_model.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("dts_meeg_csd_forward_model", *args, **kwargs) diff --git a/spm/__tests/__DCM_Test_Suite/dts_meeg_csd_lfp_template.py b/spm/__tests/__DCM_Test_Suite/dts_meeg_csd_lfp_template.py new file mode 100644 index 00000000..cf2440ff --- /dev/null +++ b/spm/__tests/__DCM_Test_Suite/dts_meeg_csd_lfp_template.py @@ -0,0 +1,18 @@ +from spm._runtime import Runtime + + +def dts_meeg_csd_lfp_template(*args, **kwargs): + r""" + Build a four-source CSD LFP DCM for SPM's LFP_BG dataset. + Authored by Pranay Yadav in 2026 + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/tests/DCM_Test_Suite/dts_meeg_csd_lfp_template.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("dts_meeg_csd_lfp_template", *args, **kwargs) diff --git a/spm/__tests/__DCM_Test_Suite/dts_meeg_export_a1_lfp.py b/spm/__tests/__DCM_Test_Suite/dts_meeg_export_a1_lfp.py new file mode 100644 index 00000000..a12dc0db --- /dev/null +++ b/spm/__tests/__DCM_Test_Suite/dts_meeg_export_a1_lfp.py @@ -0,0 +1,41 @@ +from spm._runtime import Runtime + + +def dts_meeg_export_a1_lfp(*args, **kwargs): + r""" + Make a single bilateral A1 LFP-like M/EEG dataset from a fitted ERP DCM. + Authored by Pranay Yadav in 2026 + + Inputs: + dcm_file - path to a fitted ERP DCM .mat + output_file - path to write the LFP M/EEG .mat + opts (struct, optional fields and defaults): + a1_source_indices : [1 2] indices of lA1/rA1 in DCM.Sname + Nm : 1 local source modes per ROI + alpha : 0.005 ridge regularization + anchor_first_sample : true subtract sample-1 from each LFP + overwrite_outputs : true remove existing output before writing + + Output struct: + lfp_file - path to written LFP M/EEG .mat + diagnostics_file - path to diagnostics .mat + + Pipeline: + 1. Load fitted ERP DCM, + 2. Rebuild IMG regional lead field for lA1 and rA1 only, + 3. Estimate lA1/rA1 source waveforms from DCM-prepared sensor data using + a ridge-regularized minimum-norm inverse, + 4. Sign-align the two A1 waveforms, + 5. Average them into one waveform per condition, + 6. Write the waveform as an SPM M/EEG object with channel type LFP. + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/tests/DCM_Test_Suite/dts_meeg_export_a1_lfp.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("dts_meeg_export_a1_lfp", *args, **kwargs) diff --git a/spm/__tests/__DCM_Test_Suite/dts_meeg_fit_csd_model.py b/spm/__tests/__DCM_Test_Suite/dts_meeg_fit_csd_model.py new file mode 100644 index 00000000..2b0d94a6 --- /dev/null +++ b/spm/__tests/__DCM_Test_Suite/dts_meeg_fit_csd_model.py @@ -0,0 +1,18 @@ +from spm._runtime import Runtime + + +def dts_meeg_fit_csd_model(*args, **kwargs): + r""" + Fit one CSD DCM model to SPM's shipped LFP_BG dataset. + Authored by Pranay Yadav in 2026 + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/tests/DCM_Test_Suite/dts_meeg_fit_csd_model.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("dts_meeg_fit_csd_model", *args, **kwargs) diff --git a/spm/__tests/__DCM_Test_Suite/dts_meeg_fit_erp_model.py b/spm/__tests/__DCM_Test_Suite/dts_meeg_fit_erp_model.py new file mode 100644 index 00000000..5a1af1bf --- /dev/null +++ b/spm/__tests/__DCM_Test_Suite/dts_meeg_fit_erp_model.py @@ -0,0 +1,18 @@ +from spm._runtime import Runtime + + +def dts_meeg_fit_erp_model(*args, **kwargs): + r""" + Fit one ERP-family DCM model to one staged M/EEG dataset. + Authored by Pranay Yadav in 2026 + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/tests/DCM_Test_Suite/dts_meeg_fit_erp_model.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("dts_meeg_fit_erp_model", *args, **kwargs) diff --git a/spm/__tests/__DCM_Test_Suite/dts_meeg_fixed_data_cases.py b/spm/__tests/__DCM_Test_Suite/dts_meeg_fixed_data_cases.py new file mode 100644 index 00000000..f8572ae5 --- /dev/null +++ b/spm/__tests/__DCM_Test_Suite/dts_meeg_fixed_data_cases.py @@ -0,0 +1,18 @@ +from spm._runtime import Runtime + + +def dts_meeg_fixed_data_cases(*args, **kwargs): + r""" + Fixed prepared datasets used by DCM M/EEG fit regression tests. + Authored by Pranay Yadav in 2026 + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/tests/DCM_Test_Suite/dts_meeg_fixed_data_cases.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("dts_meeg_fixed_data_cases", *args, **kwargs) diff --git a/spm/__tests/__DCM_Test_Suite/dts_meeg_lfp_template.py b/spm/__tests/__DCM_Test_Suite/dts_meeg_lfp_template.py new file mode 100644 index 00000000..df6fe564 --- /dev/null +++ b/spm/__tests/__DCM_Test_Suite/dts_meeg_lfp_template.py @@ -0,0 +1,18 @@ +from spm._runtime import Runtime + + +def dts_meeg_lfp_template(*args, **kwargs): + r""" + Base one-node LFP DCM for ERP-family model tests. + Authored by Pranay Yadav in 2026 + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/tests/DCM_Test_Suite/dts_meeg_lfp_template.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("dts_meeg_lfp_template", *args, **kwargs) diff --git a/spm/__tests/__DCM_Test_Suite/dts_meeg_neural_fixture.py b/spm/__tests/__DCM_Test_Suite/dts_meeg_neural_fixture.py new file mode 100644 index 00000000..19d51616 --- /dev/null +++ b/spm/__tests/__DCM_Test_Suite/dts_meeg_neural_fixture.py @@ -0,0 +1,18 @@ +from spm._runtime import Runtime + + +def dts_meeg_neural_fixture(*args, **kwargs): + r""" + Build a default-prior neural model for forward diagnostics. + Authored by Pranay Yadav in 2026 + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/tests/DCM_Test_Suite/dts_meeg_neural_fixture.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("dts_meeg_neural_fixture", *args, **kwargs) diff --git a/spm/__tests/__DCM_Test_Suite/dts_meeg_prepare_a1_lfp.py b/spm/__tests/__DCM_Test_Suite/dts_meeg_prepare_a1_lfp.py new file mode 100644 index 00000000..e43a215c --- /dev/null +++ b/spm/__tests/__DCM_Test_Suite/dts_meeg_prepare_a1_lfp.py @@ -0,0 +1,28 @@ +from spm._runtime import Runtime + + +def dts_meeg_prepare_a1_lfp(*args, **kwargs): + r""" + Derive A1_LFP.mat from a preprocessed EEG_MMN dataset. + Authored by Pranay Yadav in 2026 + + Specifies a baseline ERP+IMG DCM on EEG_MMN, prepares its data and + one-mode IMG lead fields, and then derives the bilateral A1 LFP via + dts_meeg_export_a1_lfp. No DCM inversion is required for this export. + + Inputs: + eeg_mmn_file - preprocessed EEG_MMN .mat with forward model + gainmat + lfp_out_file - target path for A1_LFP.mat + work_dir - scratch directory for the specified DCM + cfg - cfg-like struct (uses the selected fit Nmax and integrator if present) + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/tests/DCM_Test_Suite/dts_meeg_prepare_a1_lfp.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("dts_meeg_prepare_a1_lfp", *args, **kwargs) diff --git a/spm/__tests/__DCM_Test_Suite/dts_meeg_prepare_mmn_eeg.py b/spm/__tests/__DCM_Test_Suite/dts_meeg_prepare_mmn_eeg.py new file mode 100644 index 00000000..b730d616 --- /dev/null +++ b/spm/__tests/__DCM_Test_Suite/dts_meeg_prepare_mmn_eeg.py @@ -0,0 +1,21 @@ +from spm._runtime import Runtime + + +def dts_meeg_prepare_mmn_eeg(*args, **kwargs): + r""" + Preprocess SPM EEG MMN raw BDF data into an ERP dataset. + Authored by Pranay Yadav in 2026 + + Inputs are explicit paths. Outputs is a struct with final_mat, final_dat, + and, when requested, gainmat_file. + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/tests/DCM_Test_Suite/dts_meeg_prepare_mmn_eeg.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("dts_meeg_prepare_mmn_eeg", *args, **kwargs) diff --git a/spm/__tests/__DCM_Test_Suite/dts_meeg_prior_lfp_response.py b/spm/__tests/__DCM_Test_Suite/dts_meeg_prior_lfp_response.py new file mode 100644 index 00000000..7b95cf15 --- /dev/null +++ b/spm/__tests/__DCM_Test_Suite/dts_meeg_prior_lfp_response.py @@ -0,0 +1,18 @@ +from spm._runtime import Runtime + + +def dts_meeg_prior_lfp_response(*args, **kwargs): + r""" + Generate the default-prior one-node LFP response used by simulated tests. + Authored by Pranay Yadav in 2026 + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/tests/DCM_Test_Suite/dts_meeg_prior_lfp_response.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("dts_meeg_prior_lfp_response", *args, **kwargs) diff --git a/spm/__tests/__DCM_Test_Suite/dts_meeg_sample_sensor_fixture.py b/spm/__tests/__DCM_Test_Suite/dts_meeg_sample_sensor_fixture.py new file mode 100644 index 00000000..e07dd229 --- /dev/null +++ b/spm/__tests/__DCM_Test_Suite/dts_meeg_sample_sensor_fixture.py @@ -0,0 +1,18 @@ +from spm._runtime import Runtime + + +def dts_meeg_sample_sensor_fixture(*args, **kwargs): + r""" + Build local IMG/ECD sensor fixtures from the shipped processed EEG data. + Authored by Pranay Yadav in 2026 + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/tests/DCM_Test_Suite/dts_meeg_sample_sensor_fixture.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("dts_meeg_sample_sensor_fixture", *args, **kwargs) diff --git a/spm/__tests/__DCM_Test_Suite/dts_meeg_sensor_template.py b/spm/__tests/__DCM_Test_Suite/dts_meeg_sensor_template.py new file mode 100644 index 00000000..bb813a93 --- /dev/null +++ b/spm/__tests/__DCM_Test_Suite/dts_meeg_sensor_template.py @@ -0,0 +1,18 @@ +from spm._runtime import Runtime + + +def dts_meeg_sensor_template(*args, **kwargs): + r""" + Base five-source EEG DCM for sensor-level ERP tests. + Authored by Pranay Yadav in 2026 + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/tests/DCM_Test_Suite/dts_meeg_sensor_template.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("dts_meeg_sensor_template", *args, **kwargs) diff --git a/spm/__tests/__DCM_Test_Suite/dts_meeg_setup_paths.py b/spm/__tests/__DCM_Test_Suite/dts_meeg_setup_paths.py new file mode 100644 index 00000000..2d5c6a42 --- /dev/null +++ b/spm/__tests/__DCM_Test_Suite/dts_meeg_setup_paths.py @@ -0,0 +1,18 @@ +from spm._runtime import Runtime + + +def dts_meeg_setup_paths(*args, **kwargs): + r""" + Add SPM regression suite helper/test paths needed by scripts and tests. + Authored by Pranay Yadav in 2026 + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/tests/DCM_Test_Suite/dts_meeg_setup_paths.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("dts_meeg_setup_paths", *args, **kwargs) diff --git a/spm/__tests/__DCM_Test_Suite/dts_meeg_test_defaults.py b/spm/__tests/__DCM_Test_Suite/dts_meeg_test_defaults.py new file mode 100644 index 00000000..abbdc5e7 --- /dev/null +++ b/spm/__tests/__DCM_Test_Suite/dts_meeg_test_defaults.py @@ -0,0 +1,18 @@ +from spm._runtime import Runtime + + +def dts_meeg_test_defaults(*args, **kwargs): + r""" + Defaults and path conventions for the SPM DCM M/EEG regression suite. + Authored by Pranay Yadav in 2026 + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/tests/DCM_Test_Suite/dts_meeg_test_defaults.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("dts_meeg_test_defaults", *args, **kwargs) diff --git a/spm/__tests/__DCM_Test_Suite/dts_meeg_write_lfp_fixture.py b/spm/__tests/__DCM_Test_Suite/dts_meeg_write_lfp_fixture.py new file mode 100644 index 00000000..8eb75ff0 --- /dev/null +++ b/spm/__tests/__DCM_Test_Suite/dts_meeg_write_lfp_fixture.py @@ -0,0 +1,18 @@ +from spm._runtime import Runtime + + +def dts_meeg_write_lfp_fixture(*args, **kwargs): + r""" + Write a one-channel LFP waveform as an SPM M/EEG object. + Authored by Pranay Yadav in 2026 + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/tests/DCM_Test_Suite/dts_meeg_write_lfp_fixture.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("dts_meeg_write_lfp_fixture", *args, **kwargs) diff --git a/spm/__tests/__DCM_Test_Suite/dts_prep01_make_test_fixtures.py b/spm/__tests/__DCM_Test_Suite/dts_prep01_make_test_fixtures.py new file mode 100644 index 00000000..8434cc8b --- /dev/null +++ b/spm/__tests/__DCM_Test_Suite/dts_prep01_make_test_fixtures.py @@ -0,0 +1,20 @@ +from spm._runtime import Runtime + + +def dts_prep01_make_test_fixtures(*args, **kwargs): + r""" + Generate immutable DCM M/EEG prep fixtures under SPM tests/data. + Authored by Pranay Yadav in 2026 + + This is an explicit maintenance script. Runtime tests do not call it. + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/tests/DCM_Test_Suite/dts_prep01_make_test_fixtures.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("dts_prep01_make_test_fixtures", *args, **kwargs) diff --git a/spm/__tests/__DCM_Test_Suite/dts_prep02_generate_reference_data.py b/spm/__tests/__DCM_Test_Suite/dts_prep02_generate_reference_data.py new file mode 100644 index 00000000..d2681a10 --- /dev/null +++ b/spm/__tests/__DCM_Test_Suite/dts_prep02_generate_reference_data.py @@ -0,0 +1,27 @@ +from spm._runtime import Runtime + + +def dts_prep02_generate_reference_data(*args, **kwargs): + r""" + Generate deterministic DCM fit references under SPM tests/data. + Authored by Pranay Yadav in 2026 + + This is an explicit maintenance script. Runtime tests do not call it. + + Input: + parallel - optional logical scalar. Default false. When true, + model fits use the suite default 8-worker pool. + cleanup_generated - optional logical scalar. Default false. When true, + removes generated fit outputs and prep/local after + writing dts_meeg_reference.mat/.csv. + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/tests/DCM_Test_Suite/dts_prep02_generate_reference_data.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("dts_prep02_generate_reference_data", *args, **kwargs) diff --git a/spm/__tests/__init__.py b/spm/__tests/__init__.py index b49d438f..207d02cd 100644 --- a/spm/__tests/__init__.py +++ b/spm/__tests/__init__.py @@ -1,200 +1,62 @@ +from .__DCM_Test_Suite import ( + dts_meeg_add_eeg_bem_forward, + dts_meeg_check_fit_reference, + dts_meeg_csd_forward_model, + dts_meeg_csd_lfp_template, + dts_meeg_export_a1_lfp, + dts_meeg_fit_csd_model, + dts_meeg_fit_erp_model, + dts_meeg_fixed_data_cases, + dts_meeg_lfp_template, + dts_meeg_neural_fixture, + dts_meeg_prepare_a1_lfp, + dts_meeg_prepare_mmn_eeg, + dts_meeg_prior_lfp_response, + dts_meeg_sample_sensor_fixture, + dts_meeg_sensor_template, + dts_meeg_setup_paths, + dts_meeg_test_defaults, + dts_meeg_write_lfp_fixture, + dts_prep01_make_test_fixtures, + dts_prep02_generate_reference_data +) from .ROBOT_DCM_EEG import ROBOT_DCM_EEG from .ROBOT_DCM_fMRI import ROBOT_DCM_fMRI from .ROBOT_DEM import ROBOT_DEM from .end2end_attention import end2end_attention from .end2end_restingfMRI import end2end_restingfMRI from .spm_eeg_test_coverage import spm_eeg_test_coverage -from .test_checkcode import test_checkcode -from .test_gifti import test_gifti -from .test_regress_fmri_glm_dcm import test_regress_fmri_glm_dcm -from .test_regress_fmri_group import test_regress_fmri_group -from .test_regress_spm_dcm_fmri import test_regress_spm_dcm_fmri +from .spm_setup_data_attention import spm_setup_data_attention from .test_regress_spm_distort_mesh import test_regress_spm_distort_mesh -from .test_regress_spm_opm import test_regress_spm_opm -from .test_spm import test_spm -from .test_spm_BMS_gibbs import test_spm_BMS_gibbs -from .test_spm_Ce import test_spm_Ce -from .test_spm_Ncdf import test_spm_Ncdf -from .test_spm_bireduce import test_spm_bireduce -from .test_spm_cat_struct import test_spm_cat_struct -from .test_spm_cfg_dcm_est import test_spm_cfg_dcm_est -from .test_spm_cfg_dcm_fmri import test_spm_cfg_dcm_fmri -from .test_spm_cfg_dcm_peb import test_spm_cfg_dcm_peb -from .test_spm_create_vol import test_spm_create_vol -from .test_spm_dcm_bma import test_spm_dcm_bma -from .test_spm_dcm_bmr import test_spm_dcm_bmr -from .test_spm_dcm_bmr_all import test_spm_dcm_bmr_all -from .test_spm_dcm_bpa import test_spm_dcm_bpa -from .test_spm_dcm_fit import test_spm_dcm_fit -from .test_spm_dcm_fmri_check import test_spm_dcm_fmri_check -from .test_spm_dcm_fmri_csd import test_spm_dcm_fmri_csd -from .test_spm_dcm_identify import test_spm_dcm_identify -from .test_spm_dcm_loo import test_spm_dcm_loo -from .test_spm_dcm_peb import test_spm_dcm_peb -from .test_spm_dcm_peb_bmc import test_spm_dcm_peb_bmc -from .test_spm_dcm_peb_bmc_fam import test_spm_dcm_peb_bmc_fam -from .test_spm_dcm_peb_review import test_spm_dcm_peb_review -from .test_spm_dcm_peb_to_gcm import test_spm_dcm_peb_to_gcm -from .test_spm_dcm_post_hoc import test_spm_dcm_post_hoc -from .test_spm_dcm_simulate import test_spm_dcm_simulate -from .test_spm_dcm_specify import test_spm_dcm_specify -from .test_spm_dctmtx import test_spm_dctmtx -from .test_spm_eeg_average import test_spm_eeg_average -from .test_spm_eeg_bc import test_spm_eeg_bc -from .test_spm_eeg_crop import test_spm_eeg_crop -from .test_spm_eeg_ffilter import test_spm_eeg_ffilter -from .test_spm_eeg_filter import test_spm_eeg_filter -from .test_spm_eeg_grandmean import test_spm_eeg_grandmean -from .test_spm_eeg_load import test_spm_eeg_load -from .test_spm_eeg_merge import test_spm_eeg_merge -from .test_spm_fileparts import test_spm_fileparts -from .test_spm_filter import test_spm_filter -from .test_spm_gamrnd import test_spm_gamrnd -from .test_spm_get_data import test_spm_get_data -from .test_spm_get_lm import test_spm_get_lm -from .test_spm_invNcdf import test_spm_invNcdf -from .test_spm_jsonread import test_spm_jsonread -from .test_spm_jsonwrite import test_spm_jsonwrite -from .test_spm_mar import test_spm_mar -from .test_spm_mesh_adjacency import test_spm_mesh_adjacency -from .test_spm_mesh_area import test_spm_mesh_area -from .test_spm_mesh_borders import test_spm_mesh_borders -from .test_spm_mesh_contour import test_spm_mesh_contour -from .test_spm_mesh_dist import test_spm_mesh_dist -from .test_spm_mesh_edges import test_spm_mesh_edges -from .test_spm_mesh_euler import test_spm_mesh_euler -from .test_spm_mesh_geodesic import test_spm_mesh_geodesic -from .test_spm_mesh_get_lm import test_spm_mesh_get_lm -from .test_spm_mesh_label import test_spm_mesh_label -from .test_spm_mesh_laplacian import test_spm_mesh_laplacian -from .test_spm_mesh_neighbours import test_spm_mesh_neighbours -from .test_spm_mesh_normals import test_spm_mesh_normals -from .test_spm_mesh_ray_intersect import test_spm_mesh_ray_intersect -from .test_spm_mesh_reduce import test_spm_mesh_reduce -from .test_spm_mesh_refine import test_spm_mesh_refine -from .test_spm_mesh_sdf import test_spm_mesh_sdf -from .test_spm_mesh_smooth import test_spm_mesh_smooth -from .test_spm_mesh_sphere import test_spm_mesh_sphere -from .test_spm_mesh_volume import test_spm_mesh_volume -from .test_spm_ncFcdf import test_spm_ncFcdf -from .test_spm_ncFpdf import test_spm_ncFpdf -from .test_spm_ncTcdf import test_spm_ncTcdf -from .test_spm_ncTpdf import test_spm_ncTpdf -from .test_spm_openmp import test_spm_openmp -from .test_spm_opm_create import test_spm_opm_create -from .test_spm_opm_epoch_trigger import test_spm_opm_epoch_trigger -from .test_spm_opm_headmodel import test_spm_opm_headmodel -from .test_spm_opm_hfc import test_spm_opm_hfc -from .test_spm_opm_psd import test_spm_opm_psd -from .test_spm_opm_rpsd import test_spm_opm_rpsd -from .test_spm_opm_sim import test_spm_opm_sim -from .test_spm_opm_vslm import test_spm_opm_vslm -from .test_spm_platform import test_spm_platform -from .test_spm_plot_ci import test_spm_plot_ci -from .test_spm_run_dcm_bms import test_spm_run_dcm_bms -from .test_spm_sum import test_spm_sum -from .test_spm_trace import test_spm_trace -from .test_spm_update import test_spm_update -from .test_spm_z2p import test_spm_z2p __all__ = [ + "dts_meeg_add_eeg_bem_forward", + "dts_meeg_check_fit_reference", + "dts_meeg_csd_forward_model", + "dts_meeg_csd_lfp_template", + "dts_meeg_export_a1_lfp", + "dts_meeg_fit_csd_model", + "dts_meeg_fit_erp_model", + "dts_meeg_fixed_data_cases", + "dts_meeg_lfp_template", + "dts_meeg_neural_fixture", + "dts_meeg_prepare_a1_lfp", + "dts_meeg_prepare_mmn_eeg", + "dts_meeg_prior_lfp_response", + "dts_meeg_sample_sensor_fixture", + "dts_meeg_sensor_template", + "dts_meeg_setup_paths", + "dts_meeg_test_defaults", + "dts_meeg_write_lfp_fixture", + "dts_prep01_make_test_fixtures", + "dts_prep02_generate_reference_data", "ROBOT_DCM_EEG", "ROBOT_DCM_fMRI", "ROBOT_DEM", "end2end_attention", "end2end_restingfMRI", "spm_eeg_test_coverage", - "test_checkcode", - "test_gifti", - "test_regress_fmri_glm_dcm", - "test_regress_fmri_group", - "test_regress_spm_dcm_fmri", - "test_regress_spm_distort_mesh", - "test_regress_spm_opm", - "test_spm", - "test_spm_BMS_gibbs", - "test_spm_Ce", - "test_spm_Ncdf", - "test_spm_bireduce", - "test_spm_cat_struct", - "test_spm_cfg_dcm_est", - "test_spm_cfg_dcm_fmri", - "test_spm_cfg_dcm_peb", - "test_spm_create_vol", - "test_spm_dcm_bma", - "test_spm_dcm_bmr", - "test_spm_dcm_bmr_all", - "test_spm_dcm_bpa", - "test_spm_dcm_fit", - "test_spm_dcm_fmri_check", - "test_spm_dcm_fmri_csd", - "test_spm_dcm_identify", - "test_spm_dcm_loo", - "test_spm_dcm_peb", - "test_spm_dcm_peb_bmc", - "test_spm_dcm_peb_bmc_fam", - "test_spm_dcm_peb_review", - "test_spm_dcm_peb_to_gcm", - "test_spm_dcm_post_hoc", - "test_spm_dcm_simulate", - "test_spm_dcm_specify", - "test_spm_dctmtx", - "test_spm_eeg_average", - "test_spm_eeg_bc", - "test_spm_eeg_crop", - "test_spm_eeg_ffilter", - "test_spm_eeg_filter", - "test_spm_eeg_grandmean", - "test_spm_eeg_load", - "test_spm_eeg_merge", - "test_spm_fileparts", - "test_spm_filter", - "test_spm_gamrnd", - "test_spm_get_data", - "test_spm_get_lm", - "test_spm_invNcdf", - "test_spm_jsonread", - "test_spm_jsonwrite", - "test_spm_mar", - "test_spm_mesh_adjacency", - "test_spm_mesh_area", - "test_spm_mesh_borders", - "test_spm_mesh_contour", - "test_spm_mesh_dist", - "test_spm_mesh_edges", - "test_spm_mesh_euler", - "test_spm_mesh_geodesic", - "test_spm_mesh_get_lm", - "test_spm_mesh_label", - "test_spm_mesh_laplacian", - "test_spm_mesh_neighbours", - "test_spm_mesh_normals", - "test_spm_mesh_ray_intersect", - "test_spm_mesh_reduce", - "test_spm_mesh_refine", - "test_spm_mesh_sdf", - "test_spm_mesh_smooth", - "test_spm_mesh_sphere", - "test_spm_mesh_volume", - "test_spm_ncFcdf", - "test_spm_ncFpdf", - "test_spm_ncTcdf", - "test_spm_ncTpdf", - "test_spm_openmp", - "test_spm_opm_create", - "test_spm_opm_epoch_trigger", - "test_spm_opm_headmodel", - "test_spm_opm_hfc", - "test_spm_opm_psd", - "test_spm_opm_rpsd", - "test_spm_opm_sim", - "test_spm_opm_vslm", - "test_spm_platform", - "test_spm_plot_ci", - "test_spm_run_dcm_bms", - "test_spm_sum", - "test_spm_trace", - "test_spm_update", - "test_spm_z2p" + "spm_setup_data_attention", + "test_regress_spm_distort_mesh" ] diff --git a/spm/__tests/end2end_attention.py b/spm/__tests/end2end_attention.py index 2375ac79..a4367181 100644 --- a/spm/__tests/end2end_attention.py +++ b/spm/__tests/end2end_attention.py @@ -2,14 +2,17 @@ def end2end_attention(*args, **kwargs): - """ + r""" End-to-end test for attention dataset __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/tests/end2end_attention.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/tests/end2end_attention.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("end2end_attention", *args, **kwargs) diff --git a/spm/__tests/end2end_restingfMRI.py b/spm/__tests/end2end_restingfMRI.py index 2d7186b9..d1c57c92 100644 --- a/spm/__tests/end2end_restingfMRI.py +++ b/spm/__tests/end2end_restingfMRI.py @@ -2,14 +2,17 @@ def end2end_restingfMRI(*args, **kwargs): - """ + r""" End-to-end test for resting dataset __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/tests/end2end_restingfMRI.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/tests/end2end_restingfMRI.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("end2end_restingfMRI", *args, **kwargs) diff --git a/spm/__tests/spm_eeg_test_coverage.py b/spm/__tests/spm_eeg_test_coverage.py index 05300c73..6d9739a1 100644 --- a/spm/__tests/spm_eeg_test_coverage.py +++ b/spm/__tests/spm_eeg_test_coverage.py @@ -2,7 +2,7 @@ def spm_eeg_test_coverage(*args, **kwargs): - """ + r""" Return number of M/EEG functions and number of associated tests FORMAT [coverage, tocover] = spm_eeg_test_coverage @@ -12,9 +12,12 @@ def spm_eeg_test_coverage(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/tests/spm_eeg_test_coverage.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/tests/spm_eeg_test_coverage.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_eeg_test_coverage", *args, **kwargs) diff --git a/spm/__tests/spm_setup_data_attention.py b/spm/__tests/spm_setup_data_attention.py new file mode 100644 index 00000000..fb5afb7c --- /dev/null +++ b/spm/__tests/spm_setup_data_attention.py @@ -0,0 +1,19 @@ +from spm._runtime import Runtime + + +def spm_setup_data_attention(*args, **kwargs): + r""" + Sets up the Attention to Visual Motion dataset and runs analyses for use + in regression tests (either Matlab or Octave versions) + __________________________________________________________________________ + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/tests/spm_setup_data_attention.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("spm_setup_data_attention", *args, **kwargs, nargout=0) diff --git a/spm/__tests/test_regress_spm_distort_mesh.py b/spm/__tests/test_regress_spm_distort_mesh.py index 2a1dc5c6..fd39be2f 100644 --- a/spm/__tests/test_regress_spm_distort_mesh.py +++ b/spm/__tests/test_regress_spm_distort_mesh.py @@ -2,14 +2,17 @@ def test_regress_spm_distort_mesh(*args, **kwargs): - """ + r""" test_regress_spm_distort_mesh is a function. tests = test_regress_spm_distort_mesh(TestCase) - [Matlab code]( https://github.com/spm/spm/blob/main/tests/test_regress_spm_distort_mesh.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/tests/test_regress_spm_distort_mesh.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("test_regress_spm_distort_mesh", *args, **kwargs) diff --git a/spm/__toolbox/__BSD/__init__.py b/spm/__toolbox/__BSD/__init__.py new file mode 100644 index 00000000..4c9a3e66 --- /dev/null +++ b/spm/__toolbox/__BSD/__init__.py @@ -0,0 +1,36 @@ +from .parfor_progress import parfor_progress +from .spm_bsd import spm_bsd +from .spm_bsd_batch import spm_bsd_batch +from .spm_bsd_csd import spm_bsd_csd +from .spm_bsd_data import spm_bsd_data +from .spm_bsd_int import spm_bsd_int +from .spm_bsd_int_parfor import spm_bsd_int_parfor +from .spm_bsd_nlsi_GN import spm_bsd_nlsi_GN +from .spm_bsd_param2spec import spm_bsd_param2spec +from .spm_bsd_priors import spm_bsd_priors +from .spm_bsd_reduce import spm_bsd_reduce +from .spm_bsd_results import spm_bsd_results +from .spm_bsd_search import spm_bsd_search +from .spm_bsd_spec2param import spm_bsd_spec2param +from .spm_dcm_compute_vfe import spm_dcm_compute_vfe +from .tbx_cfg_bsd import tbx_cfg_bsd + + +__all__ = [ + "parfor_progress", + "spm_bsd", + "spm_bsd_batch", + "spm_bsd_csd", + "spm_bsd_data", + "spm_bsd_int", + "spm_bsd_int_parfor", + "spm_bsd_nlsi_GN", + "spm_bsd_param2spec", + "spm_bsd_priors", + "spm_bsd_reduce", + "spm_bsd_results", + "spm_bsd_search", + "spm_bsd_spec2param", + "spm_dcm_compute_vfe", + "tbx_cfg_bsd" +] diff --git a/spm/__toolbox/__BSD/parfor_progress.py b/spm/__toolbox/__BSD/parfor_progress.py new file mode 100644 index 00000000..92ccb203 --- /dev/null +++ b/spm/__toolbox/__BSD/parfor_progress.py @@ -0,0 +1,48 @@ +from spm._runtime import Runtime + + +def parfor_progress(*args, **kwargs): + r""" + from https://github.com/dumbmatter/parfor_progress/blob/master/parfor_progress.m + PARFOR_PROGRESS Progress monitor (progress bar) that works with parfor. + PARFOR_PROGRESS works by creating a file called parfor_progress.txt in + your working directory, and then keeping track of the parfor loop's + progress within that file. This workaround is necessary because parfor + workers cannot communicate with one another so there is no simple way + to know which iterations have finished and which haven't. + + PARFOR_PROGRESS(N) initializes the progress monitor for a set of N + upcoming calculations. + + PARFOR_PROGRESS updates the progress inside your parfor loop and + displays an updated progress bar. + + PARFOR_PROGRESS(0) deletes parfor_progress.txt and finalizes progress + bar. + + To suppress output from any of these functions, just ask for a return + variable from the function calls, like PERCENT = PARFOR_PROGRESS which + returns the percentage of completion. + + Example: + + N = 100; + parfor_progress(N); + parfor i=1:N + pause(rand); % Replace with real code + parfor_progress; + end + parfor_progress(0); + + See also PARFOR. + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/BSD/parfor_progress.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("parfor_progress", *args, **kwargs) diff --git a/spm/__toolbox/__BSD/spm_bsd.py b/spm/__toolbox/__BSD/spm_bsd.py new file mode 100644 index 00000000..e2f1ed5c --- /dev/null +++ b/spm/__toolbox/__BSD/spm_bsd.py @@ -0,0 +1,54 @@ +from spm._runtime import Runtime + + +def spm_bsd(*args, **kwargs): + r""" + Estimate parameters of a Bayesian Spectral Decomposition model of + (complex) cross-spectral density + FORMAT BSD = spm_bsd(BSD) + + BSD + name: name string + xY: data [1x1 struct] + xU: design [1x1 struct] + + Sname: cell of source name strings + + options.Nmodes - number of spatial modes + options.Tdcm - [start end] time window in ms + options.Fdcm - [start end] Frequency window in Hz + options.D - time bin decimation (usually 1 or 2) + options.separatenull - bool, whether to fit null model separately + options.fitlog - bool, fit log power spectra + options.powerline - [start end] filter with low precision + + Esimates: + -------------------------------------------------------------------------- + BSD.dtf - directed transfer functions (source space) + BSD.ccf - cross covariance functions (source space) + BSD.coh - cross coherence functions (source space) + BSD.fsd - specific delay functions (source space) + BSD.pst - peristimulus time + BSD.Hz - frequency + + BSD.Ep - conditional expectation + BSD.Cp - conditional covariance + BSD.Pp - conditional probability + BSD.Hc - conditional responses (y), channel space + BSD.Rc - conditional residuals (y), channel space + BSD.Hs - conditional responses (y), source space + BSD.Ce - eML error covariance + BSD.F - Laplace log evidence + BSD.ID - data ID + __________________________________________________________________________ + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/BSD/spm_bsd.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("spm_bsd", *args, **kwargs) diff --git a/spm/__toolbox/__BSD/spm_bsd_batch.py b/spm/__toolbox/__BSD/spm_bsd_batch.py new file mode 100644 index 00000000..5adc94b6 --- /dev/null +++ b/spm/__toolbox/__BSD/spm_bsd_batch.py @@ -0,0 +1,18 @@ +from spm._runtime import Runtime + + +def spm_bsd_batch(*args, **kwargs): + r""" + SPM Configuration file for Bayesian Spectral Decomposition (BSD) + __________________________________________________________________________ + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/BSD/spm_bsd_batch.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("spm_bsd_batch", *args, **kwargs) diff --git a/spm/__toolbox/__BSD/spm_bsd_csd.py b/spm/__toolbox/__BSD/spm_bsd_csd.py new file mode 100644 index 00000000..01971517 --- /dev/null +++ b/spm/__toolbox/__BSD/spm_bsd_csd.py @@ -0,0 +1,28 @@ +from spm._runtime import Runtime + + +def spm_bsd_csd(*args, **kwargs): + r""" + Compute cross-spectral density (CSD) matrix G and optional modes/noise structure H + for a Bayesian spectral density model. + + Inputs: + P - Parameter structure (contains spectral parameters) + M - Model structure (contains frequency info, dipfit info, etc.) + + Outputs: + G - Cross-spectral density matrix (nf x ns x ns) + H - (optional) Structure with spectral modes and noise components + _______________________________________________________________________ + Copyright (C) 2024-2025 Wellcome Trust Centre for Neuroimaging + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/BSD/spm_bsd_csd.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("spm_bsd_csd", *args, **kwargs) diff --git a/spm/__toolbox/__BSD/spm_bsd_data.py b/spm/__toolbox/__BSD/spm_bsd_data.py new file mode 100644 index 00000000..0bfac09c --- /dev/null +++ b/spm/__toolbox/__BSD/spm_bsd_data.py @@ -0,0 +1,44 @@ +from spm._runtime import Runtime + + +def spm_bsd_data(*args, **kwargs): + r""" + Cross-spectral density data-features using a VAR model + FORMAT BSD = spm_BSD_csd_data(BSD) + BSD - BSD structure + requires + + BSD.xY.Dfile - name of data file + BSD.M.U - channel subspace + BSD.options.trials - trial to evaluate + BSD.options.Tdcm - time limits + BSD.options.Fdcm - frequency limits + BSD.options.D - Down-sampling + + sets + + BSD.xY.pst - Peristimulus Time [ms] sampled + BSD.xY.dt - sampling in seconds [s] (down-sampled) + BSD.xY.U - channel subspace + BSD.xY.y - cross spectral density over sources + BSD.xY.csd - cross spectral density over sources + BSD.xY.It - Indices of time bins + BSD.xY.Ic - Indices of good channels + BSD.xY.Hz - Frequency bins + BSD.xY.code - trial codes evaluated + __________________________________________________________________________ + + Original code: spm_dcm_csd.m - Karl Friston + Adapted by: Johan Medrano + Copyright (C) 2024-2025 Wellcome Centre for Human Neuroimaging + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/BSD/spm_bsd_data.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("spm_bsd_data", *args, **kwargs) diff --git a/spm/__toolbox/__BSD/spm_bsd_int.py b/spm/__toolbox/__BSD/spm_bsd_int.py new file mode 100644 index 00000000..70f6095a --- /dev/null +++ b/spm/__toolbox/__BSD/spm_bsd_int.py @@ -0,0 +1,48 @@ +from spm._runtime import Runtime + + +def spm_bsd_int(*args, **kwargs): + r""" + Spectral response of a NMM (transfer function x noise spectrum) + FORMAT [y,w,s,g] = spm_csd_mtf(P,M,U) + FORMAT [y,w,s,g] = spm_csd_mtf(P,M) + + P - parameters + M - neural mass model structure + U - trial-specific effects (induces expansion around steady state) + + y - {y(N,nc,nc}} - cross-spectral densityDCM for nc channels {trials} + - for N frequencies in M.Hz [default 1:64Hz] + w - frequencies + s - modulation transfer functions (complex) + g - normalised modulation transfer function (true Granger causality) + + When called with U this function will return a cross-spectral response + for each of the condition-specific parameters specified in U.X; otherwise + it returns the complex CSD for the parameters in P (using the expansion + point supplied in M.x) + + When the observer function M.g is specified the CSD response is + supplemented with channel noise in sensor space; otherwise the CSD + pertains to hidden states. + + NB: requires M.u to specify the number of endogenous inputs + This routine and will solve for the (hidden) steady state and use it as + the expansion point for subsequent linear systems analysis (if trial + specific effects are specified). + + See also: + spm_ccf2csd.m, spm_ccf2mar, spm_csd2ccf.m, spm_csd2mar.m, spm_mar2csd.m, + spm_csd2coh.m, spm_dcm_mtf.m, spm_Q.m, spm_mar.m and spm_mar_spectral.m + __________________________________________________________________________ + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/BSD/spm_bsd_int.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("spm_bsd_int", *args, **kwargs) diff --git a/spm/__toolbox/__BSD/spm_bsd_int_parfor.py b/spm/__toolbox/__BSD/spm_bsd_int_parfor.py new file mode 100644 index 00000000..3f408c39 --- /dev/null +++ b/spm/__toolbox/__BSD/spm_bsd_int_parfor.py @@ -0,0 +1,48 @@ +from spm._runtime import Runtime + + +def spm_bsd_int_parfor(*args, **kwargs): + r""" + Spectral response of a NMM (transfer function x noise spectrum) + FORMAT [y,w,s,g] = spm_csd_mtf(P,M,U) + FORMAT [y,w,s,g] = spm_csd_mtf(P,M) + + P - parameters + M - neural mass model structure + U - trial-specific effects (induces expansion around steady state) + + y - {y(N,nc,nc}} - cross-spectral densityDCM for nc channels {trials} + - for N frequencies in M.Hz [default 1:64Hz] + w - frequencies + s - modulation transfer functions (complex) + g - normalised modulation transfer function (true Granger causality) + + When called with U this function will return a cross-spectral response + for each of the condition-specific parameters specified in U.X; otherwise + it returns the complex CSD for the parameters in P (using the expansion + point supplied in M.x) + + When the observer function M.g is specified the CSD response is + supplemented with channel noise in sensor space; otherwise the CSD + pertains to hidden states. + + NB: requires M.u to specify the number of endogenous inputs + This routine and will solve for the (hidden) steady state and use it as + the expansion point for subsequent linear systems analysis (if trial + specific effects are specified). + + See also: + spm_ccf2csd.m, spm_ccf2mar, spm_csd2ccf.m, spm_csd2mar.m, spm_mar2csd.m, + spm_csd2coh.m, spm_dcm_mtf.m, spm_Q.m, spm_mar.m and spm_mar_spectral.m + __________________________________________________________________________ + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/BSD/spm_bsd_int_parfor.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("spm_bsd_int_parfor", *args, **kwargs) diff --git a/spm/__toolbox/__BSD/spm_bsd_nlsi_GN.py b/spm/__toolbox/__BSD/spm_bsd_nlsi_GN.py new file mode 100644 index 00000000..5e0d17a0 --- /dev/null +++ b/spm/__toolbox/__BSD/spm_bsd_nlsi_GN.py @@ -0,0 +1,110 @@ +from spm._runtime import Runtime + + +def spm_bsd_nlsi_GN(*args, **kwargs): + r""" + Bayesian inversion of nonlinear models - Gauss-Newton/Variational Laplace + FORMAT [Ep,Cp,Eh,F,L,dFdp,dFdpp] = spm_bsd_nlsi_GN(M,U,Y) + + [Dynamic] MIMO models + __________________________________________________________________________ + M.G - or + M.IS - function name f(P,M,U) - generative model + This function specifies the nonlinear model: + y = Y.y = IS(P,M,U) + X0*P0 + e + where e ~ N(0,C). For dynamic systems this would be an integration + scheme (e.g. spm_int). spm_int expects the following: + + M.f - f(x,u,P,M) + M.g - g(x,u,P,M) + M.h - h(x,u,P,M) + x - state variables + u - inputs or causes + P - free parameters + M - fixed functional forms and parameters in M + + M.FS - function name f(y,M) - feature selection + This [optional] function performs feature selection assuming the + generalized model y = FS(y,M) = FS(IS(P,M,U),M) + X0*P0 + e + + M.P - starting estimates for model parameters [optional] + + M.pE - prior expectation - E{P} of model parameters + M.pC - prior covariance - Cov{P} of model parameters + + M.hE - prior expectation - E{h} of log-precision parameters + M.hC - prior covariance - Cov{h} of log-precision parameters + + U.u - inputs (or just U) + U.dt - sampling interval + + Y.y - outputs (samples (time) x observations (first sort) x ...) + Y.dt - sampling interval for outputs + Y.X0 - confounds or null space (over size(y,1) samples or all vec(y)) + Y.Q - q error precision components (over size(y,1) samples or all vec(y)) + + + Parameter estimates + -------------------------------------------------------------------------- + Ep - (p x 1) conditional expectation E{P|y} + Cp - (p x p) conditional covariance Cov{P|y} + Eh - (q x 1) conditional log-precisions E{h|y} + + log evidence + -------------------------------------------------------------------------- + F - [-ve] free energy F = log evidence = p(y|f,g,pE,pC) = p(y|m) + + __________________________________________________________________________ + Returns the moments of the posterior p.d.f. of the parameters of a + nonlinear model specified by IS(P,M,U) under Gaussian assumptions. + Usually, IS is an integrator of a dynamic MIMO input-state-output model + + dx/dt = f(x,u,P) + y = g(x,u,P) + X0*P0 + e + + A static nonlinear observation model with fixed input or causes u + obtains when x = []. i.e. + + y = g([],u,P) + X0*P0e + e + + but static nonlinear models are specified more simply using + + y = IS(P,M,U) + X0*P0 + e + + Priors on the free parameters P are specified in terms of expectation pE + and covariance pC. The E-Step uses a Fisher-Scoring scheme and a Laplace + approximation to estimate the conditional expectation and covariance of P + If the free-energy starts to increase, an abbreviated descent is + invoked. The M-Step estimates the precision components of e, in terms + of log-precisions. Although these two steps can be thought of in + terms of E and M steps they are in fact variational steps of a full + variational Laplace scheme that accommodates conditional uncertainty + over both parameters and log precisions (c.f. hyperparameters with hyper + priors). + + An optional feature selection can be specified with parameters M.FS. + + For generic aspects of the scheme see: + + Friston K, Mattout J, Trujillo-Barreto N, Ashburner J, Penny W. + Variational free energy and the Laplace approximation. + NeuroImage. 2007 Jan 1;34(1):220-34. + + This scheme handles complex data along the lines originally described in: + + Sehpard RJ, Lordan BP, and Grant EH. + Least squares analysis of complex data with applications to permittivity + measurements. + J. Phys. D. Appl. Phys 1970 3:1759-1764. + __________________________________________________________________________ + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/BSD/spm_bsd_nlsi_GN.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("spm_bsd_nlsi_GN", *args, **kwargs) diff --git a/spm/__toolbox/__BSD/spm_bsd_param2spec.py b/spm/__toolbox/__BSD/spm_bsd_param2spec.py new file mode 100644 index 00000000..acd9bbba --- /dev/null +++ b/spm/__toolbox/__BSD/spm_bsd_param2spec.py @@ -0,0 +1,42 @@ +from spm._runtime import Runtime + + +def spm_bsd_param2spec(*args, **kwargs): + r""" + Convert BSD model parameters to spectral parameters structure + FORMAT spec = spm_bsd_param2spec(P, M) + + P - structure containing model parameters: + .a : log-amplitude parameters + .f : frequency parameters + .S : log-FWHM (full width at half maximum) parameters + .b : log-noise parameters + + M - structure containing prior values: + .pV.f : [Nx2] matrix, prior frequency bounds (Hz) + .pV.S : prior FWHM scaling + .pV.b : prior noise scaling + + spec - output structure containing spectral parameters: + .ampl : amplitude (exp-transformed from P.a) + .freq : frequency (transformed from P.f and prior bounds) + .fwhm : FWHM (derived from P.S and prior scaling) + .noise: noise (exp-transformed from P.b and prior scaling) + + This function maps the parameter estimates from a Bayesian Spectral + Decomposition (BSD) model to a structure of spectral parameters for + further analysis or model evaluation. + + _______________________________________________________________________ + Copyright (C) 2024-2025 Wellcome Trust Centre for Neuroimaging + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/BSD/spm_bsd_param2spec.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("spm_bsd_param2spec", *args, **kwargs) diff --git a/spm/__toolbox/__BSD/spm_bsd_priors.py b/spm/__toolbox/__BSD/spm_bsd_priors.py new file mode 100644 index 00000000..bac6f35c --- /dev/null +++ b/spm/__toolbox/__BSD/spm_bsd_priors.py @@ -0,0 +1,37 @@ +from spm._runtime import Runtime + + +def spm_bsd_priors(*args, **kwargs): + r""" + spm_bsd_priors.m + Generate prior means, default values, and covariances for BSD model parameters. + + Usage: + [pE, pC, pV] = spm_bsd_priors(fqs, ns, X, M, pE, pC) + + Inputs: + fqs - Frequency bands (cell array or numeric) + ns - Number of sources + X - External input matrix + M - Model structure (must contain fields 'Hz' and 'sharefreqs') + pE - (Optional) Prior means structure + pC - (Optional) Prior covariances structure + + Outputs: + pE - Prior means structure + pC - Prior covariances structure + pV - Default values structure + + _______________________________________________________________________ + Copyright (C) 2024-2025 Wellcome Trust Centre for Neuroimaging + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/BSD/spm_bsd_priors.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("spm_bsd_priors", *args, **kwargs) diff --git a/spm/__toolbox/__BSD/spm_bsd_reduce.py b/spm/__toolbox/__BSD/spm_bsd_reduce.py new file mode 100644 index 00000000..54e50830 --- /dev/null +++ b/spm/__toolbox/__BSD/spm_bsd_reduce.py @@ -0,0 +1,29 @@ +from spm._runtime import Runtime + + +def spm_bsd_reduce(*args, **kwargs): + r""" + SPM_BSD_REDUCE Prunes frequency components from BSD model and evaluates model evidence. + [BSDs, F, Rfq, dF] = spm_bsd_reduce(BSD) iteratively removes the least + significant frequency component from the BSD structure, fits the reduced + model, and computes the change in model evidence (log Bayes factor). + + Inputs: + BSD - Structure containing BSD model parameters and frequency components. + + Outputs: + BSDs - Cell array of BSD structures after each pruning step. + F - Array of model evidence values for each model. + Rfq - Cell array of removed frequency labels. + dF - Array of log Bayes factors for each pruning step. + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/BSD/spm_bsd_reduce.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("spm_bsd_reduce", *args, **kwargs) diff --git a/spm/__toolbox/__BSD/spm_bsd_results.py b/spm/__toolbox/__BSD/spm_bsd_results.py new file mode 100644 index 00000000..5e65b51b --- /dev/null +++ b/spm/__toolbox/__BSD/spm_bsd_results.py @@ -0,0 +1,31 @@ +from spm._runtime import Runtime + + +def spm_bsd_results(*args, **kwargs): + r""" + spm_bsd_results - Processes BSD results and optionally displays figures. + + Syntax: + spm_bsd_results(BSD, fignum) + + Inputs: + BSD - Structure containing BSD analysis results. + fignum - (Optional) Figure number for result visualization. + + Description: + This function processes the results contained in the BSD structure, + performing necessary computations and optionally displaying results + in the specified figure window. + _______________________________________________________________________ + Copyright (C) 2024-2025 Wellcome Trust Centre for Neuroimaging + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/BSD/spm_bsd_results.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("spm_bsd_results", *args, **kwargs, nargout=0) diff --git a/spm/__toolbox/__BSD/spm_bsd_search.py b/spm/__toolbox/__BSD/spm_bsd_search.py new file mode 100644 index 00000000..adcebda7 --- /dev/null +++ b/spm/__toolbox/__BSD/spm_bsd_search.py @@ -0,0 +1,18 @@ +from spm._runtime import Runtime + + +def spm_bsd_search(*args, **kwargs): + r""" + SPM_BSD_SUBMODELS Summary of this function goes here + Detailed explanation goes here + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/BSD/spm_bsd_search.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("spm_bsd_search", *args, **kwargs) diff --git a/spm/__toolbox/__BSD/spm_bsd_spec2param.py b/spm/__toolbox/__BSD/spm_bsd_spec2param.py new file mode 100644 index 00000000..e0b2c044 --- /dev/null +++ b/spm/__toolbox/__BSD/spm_bsd_spec2param.py @@ -0,0 +1,42 @@ +from spm._runtime import Runtime + + +def spm_bsd_spec2param(*args, **kwargs): + r""" + Convert spectral parameters structure to model parameters + FORMAT P = spm_bsd_spec2param(spec, M, P) + + P - structure containing model parameters: + .a : log-amplitude parameters + .f : frequency parameters + .S : log-FWHM (full width at half maximum) parameters + .b : log-noise parameters + + M - structure containing prior values: + .pV.f : [Nx2] matrix, prior frequency bounds (Hz) + .pV.S : prior FWHM scaling + .pV.b : prior noise scaling + + spec - output structure containing spectral parameters: + .ampl : amplitude (exp-transformed from P.a) + .freq : frequency (transformed from P.f and prior bounds) + .fwhm : FWHM (derived from P.S and prior scaling) + .noise: noise (exp-transformed from P.b and prior scaling) + + This function maps the parameter estimates from a Bayesian Spectral + Decomposition (BSD) model to a structure of spectral parameters for + further analysis or model evaluation. + + _______________________________________________________________________ + Copyright (C) 2024-2025 Wellcome Trust Centre for Neuroimaging + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/BSD/spm_bsd_spec2param.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("spm_bsd_spec2param", *args, **kwargs) diff --git a/spm/__toolbox/__BSD/spm_dcm_compute_vfe.py b/spm/__toolbox/__BSD/spm_dcm_compute_vfe.py new file mode 100644 index 00000000..1f4e30dd --- /dev/null +++ b/spm/__toolbox/__BSD/spm_dcm_compute_vfe.py @@ -0,0 +1,19 @@ +from spm._runtime import Runtime + + +def spm_dcm_compute_vfe(*args, **kwargs): + r""" + Usage: spm_dcm_compute_vfe(DCM) + Usage: spm_dcm_compute_vfe(DCM, P) + Usage: spm_dcm_compute_vfe(DCM, P, true) + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/BSD/spm_dcm_compute_vfe.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("spm_dcm_compute_vfe", *args, **kwargs) diff --git a/spm/__toolbox/__BSD/tbx_cfg_bsd.py b/spm/__toolbox/__BSD/tbx_cfg_bsd.py new file mode 100644 index 00000000..447477d8 --- /dev/null +++ b/spm/__toolbox/__BSD/tbx_cfg_bsd.py @@ -0,0 +1,19 @@ +from spm._runtime import Runtime + + +def tbx_cfg_bsd(*args, **kwargs): + r""" + Configuration file for toolbox 'Bayesian Spectral Decomposition' + _______________________________________________________________________ + Copyright (C) 2024-2025 Wellcome Trust Centre for Neuroimaging + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/BSD/tbx_cfg_bsd.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("tbx_cfg_bsd", *args, **kwargs) diff --git a/spm/__toolbox/__DARTEL/dartel3.py b/spm/__toolbox/__DARTEL/dartel3.py index 0bac9421..91a27371 100644 --- a/spm/__toolbox/__DARTEL/dartel3.py +++ b/spm/__toolbox/__DARTEL/dartel3.py @@ -2,7 +2,7 @@ def dartel3(*args, **kwargs): - """ + r""" DARTEL 3D image registration stuff __________________________________________________________________________ @@ -203,9 +203,12 @@ def dartel3(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DARTEL/dartel3.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DARTEL/dartel3.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("dartel3", *args, **kwargs) diff --git a/spm/__toolbox/__DARTEL/optimN.py b/spm/__toolbox/__DARTEL/optimN.py index ffaf4cec..31d2bc0a 100644 --- a/spm/__toolbox/__DARTEL/optimN.py +++ b/spm/__toolbox/__DARTEL/optimN.py @@ -2,7 +2,7 @@ def optimN(*args, **kwargs): - """ + r""" Full multigrid matrix solver stuff (circulant boundaries) __________________________________________________________________________ @@ -64,9 +64,12 @@ def optimN(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DARTEL/optimN.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DARTEL/optimN.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("optimN", *args, **kwargs) diff --git a/spm/__toolbox/__DARTEL/optimNn.py b/spm/__toolbox/__DARTEL/optimNn.py index d0ac1f72..25bc35a2 100644 --- a/spm/__toolbox/__DARTEL/optimNn.py +++ b/spm/__toolbox/__DARTEL/optimNn.py @@ -2,7 +2,7 @@ def optimNn(*args, **kwargs): - """ + r""" Full multigrid matrix solver stuff (zero gradient at boundaries) __________________________________________________________________________ @@ -64,9 +64,12 @@ def optimNn(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DARTEL/optimNn.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DARTEL/optimNn.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("optimNn", *args, **kwargs) diff --git a/spm/__toolbox/__DARTEL/optim_compat.py b/spm/__toolbox/__DARTEL/optim_compat.py index 69dce9aa..3ed7b24f 100644 --- a/spm/__toolbox/__DARTEL/optim_compat.py +++ b/spm/__toolbox/__DARTEL/optim_compat.py @@ -2,7 +2,7 @@ def optim_compat(*args, **kwargs): - """ + r""" Compatibility function for optimN and optimNn FORMAT varargout = optim_compat(bc,varargin) bc - boundary condition (0=circulant, 1-Neumann) @@ -12,9 +12,12 @@ def optim_compat(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DARTEL/optim_compat.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DARTEL/optim_compat.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("optim_compat", *args, **kwargs) diff --git a/spm/__toolbox/__DARTEL/spm_dartel_dotprods.py b/spm/__toolbox/__DARTEL/spm_dartel_dotprods.py index 557fb550..5aafb3d0 100644 --- a/spm/__toolbox/__DARTEL/spm_dartel_dotprods.py +++ b/spm/__toolbox/__DARTEL/spm_dartel_dotprods.py @@ -2,7 +2,7 @@ def spm_dartel_dotprods(*args, **kwargs): - """ + r""" Generate a kernel from dot-products of images FORMAT spm_dartel_dotprods(job) job.images - Images to use @@ -10,9 +10,12 @@ def spm_dartel_dotprods(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DARTEL/spm_dartel_dotprods.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DARTEL/spm_dartel_dotprods.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_dartel_dotprods", *args, **kwargs, nargout=0) diff --git a/spm/__toolbox/__DARTEL/spm_dartel_import.py b/spm/__toolbox/__DARTEL/spm_dartel_import.py index d15a83f8..e31f8260 100644 --- a/spm/__toolbox/__DARTEL/spm_dartel_import.py +++ b/spm/__toolbox/__DARTEL/spm_dartel_import.py @@ -2,7 +2,7 @@ def spm_dartel_import(*args, **kwargs): - """ + r""" Import subjects' data for use with Dartel FORMAT spm_dartel_import(job) job.matnames - Names of *_seg_sn.mat files to use @@ -18,9 +18,12 @@ def spm_dartel_import(*args, **kwargs): ___________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DARTEL/spm_dartel_import.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DARTEL/spm_dartel_import.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_dartel_import", *args, **kwargs) diff --git a/spm/__toolbox/__DARTEL/spm_dartel_invnorm.py b/spm/__toolbox/__DARTEL/spm_dartel_invnorm.py index a5dcdcd5..3ef1d7e0 100644 --- a/spm/__toolbox/__DARTEL/spm_dartel_invnorm.py +++ b/spm/__toolbox/__DARTEL/spm_dartel_invnorm.py @@ -2,7 +2,7 @@ def spm_dartel_invnorm(*args, **kwargs): - """ + r""" Warp template to match individuals FORMAT spm_dartel_invnorm(job) job.flowfields - Filenames of flowfields @@ -14,9 +14,12 @@ def spm_dartel_invnorm(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DARTEL/spm_dartel_invnorm.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DARTEL/spm_dartel_invnorm.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_dartel_invnorm", *args, **kwargs) diff --git a/spm/__toolbox/__DARTEL/spm_dartel_jacobian.py b/spm/__toolbox/__DARTEL/spm_dartel_jacobian.py index 1e243caf..05ca0aa0 100644 --- a/spm/__toolbox/__DARTEL/spm_dartel_jacobian.py +++ b/spm/__toolbox/__DARTEL/spm_dartel_jacobian.py @@ -2,7 +2,7 @@ def spm_dartel_jacobian(*args, **kwargs): - """ + r""" Generate Jacobian determinant fields FORMAT spm_dartel_jacobian(job) job.flowfields - Filenames of flowfields @@ -13,9 +13,12 @@ def spm_dartel_jacobian(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DARTEL/spm_dartel_jacobian.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DARTEL/spm_dartel_jacobian.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_dartel_jacobian", *args, **kwargs) diff --git a/spm/__toolbox/__DARTEL/spm_dartel_kernel.py b/spm/__toolbox/__DARTEL/spm_dartel_kernel.py index c748319c..d4be7b28 100644 --- a/spm/__toolbox/__DARTEL/spm_dartel_kernel.py +++ b/spm/__toolbox/__DARTEL/spm_dartel_kernel.py @@ -2,7 +2,7 @@ def spm_dartel_kernel(*args, **kwargs): - """ + r""" Generate Fisher kernel from flow fields FORMAT spm_dartel_kernel(job) job.flowfields - Flow-fields @@ -23,9 +23,12 @@ def spm_dartel_kernel(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DARTEL/spm_dartel_kernel.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DARTEL/spm_dartel_kernel.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_dartel_kernel", *args, **kwargs, nargout=0) diff --git a/spm/__toolbox/__DARTEL/spm_dartel_norm.py b/spm/__toolbox/__DARTEL/spm_dartel_norm.py index 6923fbaa..33233949 100644 --- a/spm/__toolbox/__DARTEL/spm_dartel_norm.py +++ b/spm/__toolbox/__DARTEL/spm_dartel_norm.py @@ -2,7 +2,7 @@ def spm_dartel_norm(*args, **kwargs): - """ + r""" Warp individuals to match template FORMAT spm_dartel_norm(job) job.flowfields - Flow-fields @@ -12,9 +12,12 @@ def spm_dartel_norm(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DARTEL/spm_dartel_norm.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DARTEL/spm_dartel_norm.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_dartel_norm", *args, **kwargs) diff --git a/spm/__toolbox/__DARTEL/spm_dartel_norm_fun.py b/spm/__toolbox/__DARTEL/spm_dartel_norm_fun.py index a0e2fff5..c597db3f 100644 --- a/spm/__toolbox/__DARTEL/spm_dartel_norm_fun.py +++ b/spm/__toolbox/__DARTEL/spm_dartel_norm_fun.py @@ -2,7 +2,7 @@ def spm_dartel_norm_fun(*args, **kwargs): - """ + r""" Spatially normalise and smooth fMRI/PET data to MNI space, using Dartel flow fields FORMAT out = spm_dartel_norm_fun(job) job - a structure generated by the configuration file @@ -31,16 +31,19 @@ def spm_dartel_norm_fun(*args, **kwargs): normalised for a 2nd level analysis. Two "preserve" options are provided. One of them should do the - equavalent of generating smoothed "modulated" spatially normalised + equivalent of generating smoothed "modulated" spatially normalised images. The other does the equivalent of smoothing the modulated normalised fMRI/PET, and dividing by the smoothed Jacobian determinants. __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DARTEL/spm_dartel_norm_fun.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DARTEL/spm_dartel_norm_fun.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_dartel_norm_fun", *args, **kwargs) diff --git a/spm/__toolbox/__DARTEL/spm_dartel_resids.py b/spm/__toolbox/__DARTEL/spm_dartel_resids.py index 15894b9b..a826239b 100644 --- a/spm/__toolbox/__DARTEL/spm_dartel_resids.py +++ b/spm/__toolbox/__DARTEL/spm_dartel_resids.py @@ -2,7 +2,7 @@ def spm_dartel_resids(*args, **kwargs): - """ + r""" Generate residuals in a form suitable for generating a Fisher kernel FORMAT spm_dartel_residuals(job) job.flowfields @@ -16,9 +16,12 @@ def spm_dartel_resids(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DARTEL/spm_dartel_resids.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DARTEL/spm_dartel_resids.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_dartel_resids", *args, **kwargs) diff --git a/spm/__toolbox/__DARTEL/spm_dartel_smooth.py b/spm/__toolbox/__DARTEL/spm_dartel_smooth.py index 8aed2a7f..2e21ff31 100644 --- a/spm/__toolbox/__DARTEL/spm_dartel_smooth.py +++ b/spm/__toolbox/__DARTEL/spm_dartel_smooth.py @@ -2,15 +2,18 @@ def spm_dartel_smooth(*args, **kwargs): - """ + r""" Smooth tissue probability maps FORMAT [sig,a_new] = spm_dartel_smooth(t,lam,its,vx,a_old) __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DARTEL/spm_dartel_smooth.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DARTEL/spm_dartel_smooth.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_dartel_smooth", *args, **kwargs) diff --git a/spm/__toolbox/__DARTEL/spm_dartel_template.py b/spm/__toolbox/__DARTEL/spm_dartel_template.py index 313c60ee..810e8545 100644 --- a/spm/__toolbox/__DARTEL/spm_dartel_template.py +++ b/spm/__toolbox/__DARTEL/spm_dartel_template.py @@ -2,7 +2,7 @@ def spm_dartel_template(*args, **kwargs): - """ + r""" Iteratively compute a template with mean shape and intensities FORMAT spm_dartel_template(job) @@ -10,9 +10,12 @@ def spm_dartel_template(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DARTEL/spm_dartel_template.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DARTEL/spm_dartel_template.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_dartel_template", *args, **kwargs) diff --git a/spm/__toolbox/__DARTEL/spm_dartel_warp.py b/spm/__toolbox/__DARTEL/spm_dartel_warp.py index 1801a11d..961c42e4 100644 --- a/spm/__toolbox/__DARTEL/spm_dartel_warp.py +++ b/spm/__toolbox/__DARTEL/spm_dartel_warp.py @@ -2,7 +2,7 @@ def spm_dartel_warp(*args, **kwargs): - """ + r""" Register images to template data format spm_dartel_warp(job) @@ -10,9 +10,12 @@ def spm_dartel_warp(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DARTEL/spm_dartel_warp.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DARTEL/spm_dartel_warp.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_dartel_warp", *args, **kwargs) diff --git a/spm/__toolbox/__DARTEL/spm_klaff.py b/spm/__toolbox/__DARTEL/spm_klaff.py index 741adfc3..e9d7ce1d 100644 --- a/spm/__toolbox/__DARTEL/spm_klaff.py +++ b/spm/__toolbox/__DARTEL/spm_klaff.py @@ -2,7 +2,7 @@ def spm_klaff(*args, **kwargs): - """ + r""" Affine registration by minimising Kullback-Leibler Divergence FORMAT M = spm_klaff(Nf,Ng,flag) Nf - NIfTI handle for one image @@ -22,9 +22,12 @@ def spm_klaff(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DARTEL/spm_klaff.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DARTEL/spm_klaff.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_klaff", *args, **kwargs) diff --git a/spm/__toolbox/__DARTEL/spm_norm_population.py b/spm/__toolbox/__DARTEL/spm_norm_population.py index 8f8d0482..ecfb05ea 100644 --- a/spm/__toolbox/__DARTEL/spm_norm_population.py +++ b/spm/__toolbox/__DARTEL/spm_norm_population.py @@ -2,16 +2,19 @@ def spm_norm_population(*args, **kwargs): - """ + r""" Obtain mapping from population average to ICBM space FORMAT spm_norm_population(job) job.template - name of population average template __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DARTEL/spm_norm_population.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DARTEL/spm_norm_population.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_norm_population", *args, **kwargs) diff --git a/spm/__toolbox/__DARTEL/tbx_cfg_dartel.py b/spm/__toolbox/__DARTEL/tbx_cfg_dartel.py index 7b5de22c..4fd02b14 100644 --- a/spm/__toolbox/__DARTEL/tbx_cfg_dartel.py +++ b/spm/__toolbox/__DARTEL/tbx_cfg_dartel.py @@ -2,14 +2,17 @@ def tbx_cfg_dartel(*args, **kwargs): - """ + r""" Configuration file for toolbox 'Dartel Tools' __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DARTEL/tbx_cfg_dartel.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DARTEL/tbx_cfg_dartel.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("tbx_cfg_dartel", *args, **kwargs) diff --git a/spm/__toolbox/__DAiSS/_DeFleCT.py b/spm/__toolbox/__DAiSS/_DeFleCT.py index 2317b73e..4f16d132 100644 --- a/spm/__toolbox/__DAiSS/_DeFleCT.py +++ b/spm/__toolbox/__DAiSS/_DeFleCT.py @@ -2,7 +2,7 @@ def _DeFleCT(*args, **kwargs): - """ + r""" function w=DeFleCT(passband,SVDpassband,force_passband_flag,stopband,SVDstopband,... LFM,C,SNR2,Csvdtrunc) function w=DeFleCT(passband,SVDpassband,force_passband_flag,stopband,SVDstopband,... @@ -35,9 +35,12 @@ def _DeFleCT(*args, **kwargs): 17 Oct 2013 - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DAiSS/private/DeFleCT.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DAiSS/private/DeFleCT.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("DeFleCT", *args, **kwargs) diff --git a/spm/__toolbox/__DAiSS/_GALA_calculate_distance.py b/spm/__toolbox/__DAiSS/_GALA_calculate_distance.py index e61c4eb3..bcf2b22b 100644 --- a/spm/__toolbox/__DAiSS/_GALA_calculate_distance.py +++ b/spm/__toolbox/__DAiSS/_GALA_calculate_distance.py @@ -2,14 +2,17 @@ def _GALA_calculate_distance(*args, **kwargs): - """ + r""" GALA_calculate_distance is a function. distance = GALA_calculate_distance(mesh) - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DAiSS/private/GALA_calculate_distance.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DAiSS/private/GALA_calculate_distance.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("GALA_calculate_distance", *args, **kwargs) diff --git a/spm/__toolbox/__DAiSS/_GALA_clustering.py b/spm/__toolbox/__DAiSS/_GALA_clustering.py index ef538039..4dcafe1d 100644 --- a/spm/__toolbox/__DAiSS/_GALA_clustering.py +++ b/spm/__toolbox/__DAiSS/_GALA_clustering.py @@ -2,14 +2,17 @@ def _GALA_clustering(*args, **kwargs): - """ + r""" GALA_clustering is a function. res = GALA_clustering(lJcov, J1, S, distance, A) - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DAiSS/private/GALA_clustering.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DAiSS/private/GALA_clustering.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("GALA_clustering", *args, **kwargs) diff --git a/spm/__toolbox/__DAiSS/_GALA_find_localmin.py b/spm/__toolbox/__DAiSS/_GALA_find_localmin.py index 153a688b..5f1a3c88 100644 --- a/spm/__toolbox/__DAiSS/_GALA_find_localmin.py +++ b/spm/__toolbox/__DAiSS/_GALA_find_localmin.py @@ -2,14 +2,17 @@ def _GALA_find_localmin(*args, **kwargs): - """ + r""" GALA_find_localmin is a function. regions = GALA_find_localmin(lJcov, Nl, Nd, A, thresh) - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DAiSS/private/GALA_find_localmin.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DAiSS/private/GALA_find_localmin.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("GALA_find_localmin", *args, **kwargs) diff --git a/spm/__toolbox/__DAiSS/_GALA_invert.py b/spm/__toolbox/__DAiSS/_GALA_invert.py index ca42c58b..7e10f4a7 100644 --- a/spm/__toolbox/__DAiSS/_GALA_invert.py +++ b/spm/__toolbox/__DAiSS/_GALA_invert.py @@ -2,14 +2,17 @@ def _GALA_invert(*args, **kwargs): - """ + r""" GALA_invert is a function. [J, S] = GALA_invert(BF, tS) - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DAiSS/private/GALA_invert.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DAiSS/private/GALA_invert.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("GALA_invert", *args, **kwargs) diff --git a/spm/__toolbox/__DAiSS/_MNestimator.py b/spm/__toolbox/__DAiSS/_MNestimator.py index e8d7faad..319097b8 100644 --- a/spm/__toolbox/__DAiSS/_MNestimator.py +++ b/spm/__toolbox/__DAiSS/_MNestimator.py @@ -2,7 +2,7 @@ def _MNestimator(*args, **kwargs): - """ + r""" function [Linv,W]=MNestimator(L,C,SNR2,trunc) This function makes a basic minimum-morm pseudoinverse operator = MN estimator. - L: the forward solution, lead-field matrix @@ -31,9 +31,12 @@ def _MNestimator(*args, **kwargs): 17 Oct 2013 - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DAiSS/private/MNestimator.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DAiSS/private/MNestimator.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("MNestimator", *args, **kwargs) diff --git a/spm/__toolbox/__DAiSS/_Tikhonov_rank_def.py b/spm/__toolbox/__DAiSS/_Tikhonov_rank_def.py index 5acd5293..b1f91562 100644 --- a/spm/__toolbox/__DAiSS/_Tikhonov_rank_def.py +++ b/spm/__toolbox/__DAiSS/_Tikhonov_rank_def.py @@ -2,13 +2,16 @@ def _Tikhonov_rank_def(*args, **kwargs): - """ + r""" Apply Tikhonov regularisation to rank-deficient matrix - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DAiSS/private/Tikhonov_rank_def.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DAiSS/private/Tikhonov_rank_def.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("Tikhonov_rank_def", *args, **kwargs) diff --git a/spm/__toolbox/__DAiSS/_bf_fuse_lf.py b/spm/__toolbox/__DAiSS/_bf_fuse_lf.py index 2a45f38e..2cf4bc2f 100644 --- a/spm/__toolbox/__DAiSS/_bf_fuse_lf.py +++ b/spm/__toolbox/__DAiSS/_bf_fuse_lf.py @@ -2,14 +2,17 @@ def _bf_fuse_lf(*args, **kwargs): - """ + r""" Prepares lead-fields to match channels in covariance Copyright (C) 2014 Wellcome Trust Centre for Neuroimaging - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DAiSS/private/bf_fuse_lf.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DAiSS/private/bf_fuse_lf.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("bf_fuse_lf", *args, **kwargs) diff --git a/spm/__toolbox/__DAiSS/_bf_reml_sc.py b/spm/__toolbox/__DAiSS/_bf_reml_sc.py index b0c78d1e..08b88489 100644 --- a/spm/__toolbox/__DAiSS/_bf_reml_sc.py +++ b/spm/__toolbox/__DAiSS/_bf_reml_sc.py @@ -2,7 +2,7 @@ def _bf_reml_sc(*args, **kwargs): - """ + r""" ReML estimation of covariance components from y*y' - proper components STANDLALONE VERSION FOR DAiSS in case fundamental changes are made in SPM FORMAT [C,h,Ph,F,Fa,Fc,Eh,Ch,hE,hC,Q] = spm_reml_sc(YY,X,Q,N,[hE,hC,V]) @@ -49,9 +49,12 @@ def _bf_reml_sc(*args, **kwargs): Copyright (C) 2007-2020 Wellcome Centre for Human Neuroimaging - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DAiSS/private/bf_reml_sc.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DAiSS/private/bf_reml_sc.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("bf_reml_sc", *args, **kwargs) diff --git a/spm/__toolbox/__DAiSS/_bf_spm_reml_sc.py b/spm/__toolbox/__DAiSS/_bf_spm_reml_sc.py index 311e6dfb..11eaefdd 100644 --- a/spm/__toolbox/__DAiSS/_bf_spm_reml_sc.py +++ b/spm/__toolbox/__DAiSS/_bf_spm_reml_sc.py @@ -2,7 +2,7 @@ def _bf_spm_reml_sc(*args, **kwargs): - """ + r""" ReML estimation of covariance components from y*y' - proper components STANDLALONE VERSION FOR DAiSS in case fundamental changes are made in SPM FORMAT [C,h,Ph,F,Fa,Fc,Eh,Ch,hE,hC,Q] = spm_reml_sc(YY,X,Q,N,[hE,hC,V]) @@ -49,9 +49,12 @@ def _bf_spm_reml_sc(*args, **kwargs): Copyright (C) 2007-2020 Wellcome Centre for Human Neuroimaging - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DAiSS/private/bf_spm_reml_sc.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DAiSS/private/bf_spm_reml_sc.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_reml_sc", *args, **kwargs) diff --git a/spm/__toolbox/__DAiSS/_ft_inverse_beamformer_dics.py b/spm/__toolbox/__DAiSS/_ft_inverse_beamformer_dics.py index fa524257..cf966335 100644 --- a/spm/__toolbox/__DAiSS/_ft_inverse_beamformer_dics.py +++ b/spm/__toolbox/__DAiSS/_ft_inverse_beamformer_dics.py @@ -2,7 +2,7 @@ def _ft_inverse_beamformer_dics(*args, **kwargs): - """ + r""" FT_INVERSE_BEAMFORMER_DICS estimates the source power or source coherence according to the Dynamic Imaging of Coherent Sources method. @@ -35,9 +35,12 @@ def _ft_inverse_beamformer_dics(*args, **kwargs): This implements Joachim Gross et al. 2001 - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DAiSS/private/ft_inverse_beamformer_dics.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DAiSS/private/ft_inverse_beamformer_dics.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_inverse_beamformer_dics", *args, **kwargs) diff --git a/spm/__toolbox/__DAiSS/_get_components.py b/spm/__toolbox/__DAiSS/_get_components.py index 355f6253..a51db475 100644 --- a/spm/__toolbox/__DAiSS/_get_components.py +++ b/spm/__toolbox/__DAiSS/_get_components.py @@ -2,7 +2,7 @@ def _get_components(*args, **kwargs): - """ + r""" GET_COMPONENTS connected components [comps,comp_sizes] = get_components(adj); @@ -23,9 +23,12 @@ def _get_components(*args, **kwargs): J Goni, University of Navarra and Indiana University, 2009/2011 - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DAiSS/private/get_components.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DAiSS/private/get_components.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("get_components", *args, **kwargs) diff --git a/spm/__toolbox/__DAiSS/_mkfilt_eloreta_v2.py b/spm/__toolbox/__DAiSS/_mkfilt_eloreta_v2.py index cf840a2b..5292a50d 100644 --- a/spm/__toolbox/__DAiSS/_mkfilt_eloreta_v2.py +++ b/spm/__toolbox/__DAiSS/_mkfilt_eloreta_v2.py @@ -2,7 +2,7 @@ def _mkfilt_eloreta_v2(*args, **kwargs): - """ + r""" makes spatial filter according to eLoreta usage A=mkfilt_eloreta_v2(L); or A=mkfilt_eloreta_v2(L,regu); @@ -24,9 +24,12 @@ def _mkfilt_eloreta_v2(*args, **kwargs): error localization. arXiv:0710.3341 [math-ph], 2007-October-17, http://arxiv.org/pdf/0710.3341 - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DAiSS/private/mkfilt_eloreta_v2.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DAiSS/private/mkfilt_eloreta_v2.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("mkfilt_eloreta_v2", *args, **kwargs) diff --git a/spm/__toolbox/__DAiSS/_nearest_vec.py b/spm/__toolbox/__DAiSS/_nearest_vec.py index 660d8ec7..ef16fc26 100644 --- a/spm/__toolbox/__DAiSS/_nearest_vec.py +++ b/spm/__toolbox/__DAiSS/_nearest_vec.py @@ -2,14 +2,17 @@ def _nearest_vec(*args, **kwargs): - """ + r""" locate bilateral coordinate Copyright (C) 2022 Wellcome Centre for Human Neuroimaging - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DAiSS/private/nearest_vec.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DAiSS/private/nearest_vec.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("nearest_vec", *args, **kwargs) diff --git a/spm/__toolbox/__DAiSS/_nut_dSPM.py b/spm/__toolbox/__DAiSS/_nut_dSPM.py index f91f8ee0..d81edc9d 100644 --- a/spm/__toolbox/__DAiSS/_nut_dSPM.py +++ b/spm/__toolbox/__DAiSS/_nut_dSPM.py @@ -2,7 +2,7 @@ def _nut_dSPM(*args, **kwargs): - """ + r""" [weight,eta]=nut_dSPM(Lp,data,flags) Lp : lead field inputs for regularization contant: @@ -11,9 +11,12 @@ def _nut_dSPM(*args, **kwargs): leadfield-based regularization - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DAiSS/private/nut_dSPM.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DAiSS/private/nut_dSPM.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("nut_dSPM", *args, **kwargs) diff --git a/spm/__toolbox/__DAiSS/_nut_sLORETA.py b/spm/__toolbox/__DAiSS/_nut_sLORETA.py index 4b949db1..6c315760 100644 --- a/spm/__toolbox/__DAiSS/_nut_sLORETA.py +++ b/spm/__toolbox/__DAiSS/_nut_sLORETA.py @@ -2,7 +2,7 @@ def _nut_sLORETA(*args, **kwargs): - """ + r""" weight=nut_sLORETA(Lp,data,flags) inputs for regularization contant: [1] data.Ryy = sample covariance, for data-dependent regularization @@ -10,9 +10,12 @@ def _nut_sLORETA(*args, **kwargs): leadfield-based regularization - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DAiSS/private/nut_sLORETA.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DAiSS/private/nut_sLORETA.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("nut_sLORETA", *args, **kwargs) diff --git a/spm/__toolbox/__DAiSS/_nut_swLORETA.py b/spm/__toolbox/__DAiSS/_nut_swLORETA.py index 7c9be155..fe07cc85 100644 --- a/spm/__toolbox/__DAiSS/_nut_swLORETA.py +++ b/spm/__toolbox/__DAiSS/_nut_swLORETA.py @@ -2,7 +2,7 @@ def _nut_swLORETA(*args, **kwargs): - """ + r""" [weight,eta]=nut_swLORETA(Lp,data,flags) Lp : lead field ( channels X 3 ) specify either: @@ -12,9 +12,12 @@ def _nut_swLORETA(*args, **kwargs): [2] flags.gamma = regularization constant [optional] - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DAiSS/private/nut_swLORETA.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DAiSS/private/nut_swLORETA.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("nut_swLORETA", *args, **kwargs) diff --git a/spm/__toolbox/__DAiSS/_output_image_mv_cva.py b/spm/__toolbox/__DAiSS/_output_image_mv_cva.py index 6b28901f..8f9e8062 100644 --- a/spm/__toolbox/__DAiSS/_output_image_mv_cva.py +++ b/spm/__toolbox/__DAiSS/_output_image_mv_cva.py @@ -2,15 +2,18 @@ def _output_image_mv_cva(*args, **kwargs): - """ + r""" cva code to plug into bf_output_image_mv function function [chi,cva,t_stat] = bf_output_image_mv_cva(X,Y,c,U) CVA. See Chatfield and Collins - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DAiSS/private/output_image_mv_cva.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DAiSS/private/output_image_mv_cva.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("output_image_mv_cva", *args, **kwargs) diff --git a/spm/__toolbox/__DAiSS/_spm_pca_order.py b/spm/__toolbox/__DAiSS/_spm_pca_order.py index d1888192..716ebdb5 100644 --- a/spm/__toolbox/__DAiSS/_spm_pca_order.py +++ b/spm/__toolbox/__DAiSS/_spm_pca_order.py @@ -2,7 +2,7 @@ def _spm_pca_order(*args, **kwargs): - """ + r""" Model order selection for PCA FORMAT [M_opt,log_ev,lambda,var] = spm_pca_order (X, N) @@ -33,9 +33,12 @@ def _spm_pca_order(*args, **kwargs): Copyright (C) 2008 Wellcome Department of Imaging Neuroscience - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DAiSS/private/spm_pca_order.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DAiSS/private/spm_pca_order.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_pca_order", *args, **kwargs) diff --git a/spm/__toolbox/__DAiSS/_vbfa_aug2015.py b/spm/__toolbox/__DAiSS/_vbfa_aug2015.py index e997843b..37ae01e2 100644 --- a/spm/__toolbox/__DAiSS/_vbfa_aug2015.py +++ b/spm/__toolbox/__DAiSS/_vbfa_aug2015.py @@ -2,14 +2,17 @@ def _vbfa_aug2015(*args, **kwargs): - """ + r""" Output Regularized noise covariance from pre-stimulus data - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DAiSS/private/vbfa_aug2015.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DAiSS/private/vbfa_aug2015.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("vbfa", *args, **kwargs) diff --git a/spm/__toolbox/__DAiSS/bf_copy.py b/spm/__toolbox/__DAiSS/bf_copy.py index bd4713c3..ef3390de 100644 --- a/spm/__toolbox/__DAiSS/bf_copy.py +++ b/spm/__toolbox/__DAiSS/bf_copy.py @@ -2,14 +2,17 @@ def bf_copy(*args, **kwargs): - """ + r""" Set up a new analysis by copying an existing one __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DAiSS/bf_copy.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DAiSS/bf_copy.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("bf_copy", *args, **kwargs) diff --git a/spm/__toolbox/__DAiSS/bf_data.py b/spm/__toolbox/__DAiSS/bf_data.py index 88464972..f6e9f0c8 100644 --- a/spm/__toolbox/__DAiSS/bf_data.py +++ b/spm/__toolbox/__DAiSS/bf_data.py @@ -2,14 +2,17 @@ def bf_data(*args, **kwargs): - """ + r""" Prepare the data and initialise the beamforming pipeline __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DAiSS/bf_data.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DAiSS/bf_data.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("bf_data", *args, **kwargs) diff --git a/spm/__toolbox/__DAiSS/bf_features.py b/spm/__toolbox/__DAiSS/bf_features.py index cdffd478..209b1928 100644 --- a/spm/__toolbox/__DAiSS/bf_features.py +++ b/spm/__toolbox/__DAiSS/bf_features.py @@ -2,14 +2,17 @@ def bf_features(*args, **kwargs): - """ + r""" Prepare data features for filter computation __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DAiSS/bf_features.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DAiSS/bf_features.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("bf_features", *args, **kwargs) diff --git a/spm/__toolbox/__DAiSS/bf_features_contcov.py b/spm/__toolbox/__DAiSS/bf_features_contcov.py index 7610a698..498ab504 100644 --- a/spm/__toolbox/__DAiSS/bf_features_contcov.py +++ b/spm/__toolbox/__DAiSS/bf_features_contcov.py @@ -2,14 +2,17 @@ def bf_features_contcov(*args, **kwargs): - """ + r""" Robust covariance for continuous data __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DAiSS/bf_features_contcov.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DAiSS/bf_features_contcov.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("bf_features_contcov", *args, **kwargs) diff --git a/spm/__toolbox/__DAiSS/bf_features_cov.py b/spm/__toolbox/__DAiSS/bf_features_cov.py index c6cfb939..26003e8e 100644 --- a/spm/__toolbox/__DAiSS/bf_features_cov.py +++ b/spm/__toolbox/__DAiSS/bf_features_cov.py @@ -2,14 +2,17 @@ def bf_features_cov(*args, **kwargs): - """ + r""" Simple band limited covariance computation __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DAiSS/bf_features_cov.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DAiSS/bf_features_cov.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("bf_features_cov", *args, **kwargs) diff --git a/spm/__toolbox/__DAiSS/bf_features_cov_bysamples.py b/spm/__toolbox/__DAiSS/bf_features_cov_bysamples.py index 15536de5..1c1c477b 100644 --- a/spm/__toolbox/__DAiSS/bf_features_cov_bysamples.py +++ b/spm/__toolbox/__DAiSS/bf_features_cov_bysamples.py @@ -2,16 +2,19 @@ def bf_features_cov_bysamples(*args, **kwargs): - """ + r""" Simple covariance computation to handle variable width WOIs, Requires S.samples as a [1 x samples x ntrials] matrix of logical indices indicating which data points should be used in the cov estimation __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DAiSS/bf_features_cov_bysamples.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DAiSS/bf_features_cov_bysamples.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("bf_features_cov_bysamples", *args, **kwargs) diff --git a/spm/__toolbox/__DAiSS/bf_features_csd.py b/spm/__toolbox/__DAiSS/bf_features_csd.py index 97be0f6b..4a50eab7 100644 --- a/spm/__toolbox/__DAiSS/bf_features_csd.py +++ b/spm/__toolbox/__DAiSS/bf_features_csd.py @@ -2,14 +2,17 @@ def bf_features_csd(*args, **kwargs): - """ + r""" Compute cross-spectral density matrix for DICS __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DAiSS/bf_features_csd.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DAiSS/bf_features_csd.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("bf_features_csd", *args, **kwargs) diff --git a/spm/__toolbox/__DAiSS/bf_features_identity.py b/spm/__toolbox/__DAiSS/bf_features_identity.py index b52551f4..40bb4d6f 100644 --- a/spm/__toolbox/__DAiSS/bf_features_identity.py +++ b/spm/__toolbox/__DAiSS/bf_features_identity.py @@ -2,14 +2,17 @@ def bf_features_identity(*args, **kwargs): - """ + r""" Identity matrix for cases when covariance is not necessary __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DAiSS/bf_features_identity.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DAiSS/bf_features_identity.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("bf_features_identity", *args, **kwargs) diff --git a/spm/__toolbox/__DAiSS/bf_features_regmulticov.py b/spm/__toolbox/__DAiSS/bf_features_regmulticov.py index f4f1ca6c..2d8fe80e 100644 --- a/spm/__toolbox/__DAiSS/bf_features_regmulticov.py +++ b/spm/__toolbox/__DAiSS/bf_features_regmulticov.py @@ -2,14 +2,17 @@ def bf_features_regmulticov(*args, **kwargs): - """ + r""" Simple covariance computation with regularization __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DAiSS/bf_features_regmulticov.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DAiSS/bf_features_regmulticov.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("bf_features_regmulticov", *args, **kwargs) diff --git a/spm/__toolbox/__DAiSS/bf_features_tdcov.py b/spm/__toolbox/__DAiSS/bf_features_tdcov.py index 6afeb7fc..aabf30fe 100644 --- a/spm/__toolbox/__DAiSS/bf_features_tdcov.py +++ b/spm/__toolbox/__DAiSS/bf_features_tdcov.py @@ -2,14 +2,17 @@ def bf_features_tdcov(*args, **kwargs): - """ + r""" Simple band limited covariance computation with temporal decomposition __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DAiSS/bf_features_tdcov.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DAiSS/bf_features_tdcov.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("bf_features_tdcov", *args, **kwargs) diff --git a/spm/__toolbox/__DAiSS/bf_features_vbfa.py b/spm/__toolbox/__DAiSS/bf_features_vbfa.py index 6b789e4b..d4cce059 100644 --- a/spm/__toolbox/__DAiSS/bf_features_vbfa.py +++ b/spm/__toolbox/__DAiSS/bf_features_vbfa.py @@ -2,14 +2,17 @@ def bf_features_vbfa(*args, **kwargs): - """ + r""" Variational Bayes Factor Analysis for computing noise covariance __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DAiSS/bf_features_vbfa.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DAiSS/bf_features_vbfa.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("bf_features_vbfa", *args, **kwargs) diff --git a/spm/__toolbox/__DAiSS/bf_group.py b/spm/__toolbox/__DAiSS/bf_group.py index 0dcabfff..1bc5bc87 100644 --- a/spm/__toolbox/__DAiSS/bf_group.py +++ b/spm/__toolbox/__DAiSS/bf_group.py @@ -2,14 +2,17 @@ def bf_group(*args, **kwargs): - """ + r""" A module for applying a processing step to a group of subjects __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DAiSS/bf_group.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DAiSS/bf_group.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("bf_group", *args, **kwargs) diff --git a/spm/__toolbox/__DAiSS/bf_group_GALA.py b/spm/__toolbox/__DAiSS/bf_group_GALA.py index e3071a73..09566026 100644 --- a/spm/__toolbox/__DAiSS/bf_group_GALA.py +++ b/spm/__toolbox/__DAiSS/bf_group_GALA.py @@ -2,7 +2,7 @@ def bf_group_GALA(*args, **kwargs): - """ + r""" Computes Minimum Norm projectors Please cite: @@ -14,9 +14,12 @@ def bf_group_GALA(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DAiSS/bf_group_GALA.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DAiSS/bf_group_GALA.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("bf_group_GALA", *args, **kwargs) diff --git a/spm/__toolbox/__DAiSS/bf_group_batch.py b/spm/__toolbox/__DAiSS/bf_group_batch.py index c09ca28d..0790c7eb 100644 --- a/spm/__toolbox/__DAiSS/bf_group_batch.py +++ b/spm/__toolbox/__DAiSS/bf_group_batch.py @@ -2,14 +2,17 @@ def bf_group_batch(*args, **kwargs): - """ + r""" Run a DAiSS batch on a group of subjects __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DAiSS/bf_group_batch.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DAiSS/bf_group_batch.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("bf_group_batch", *args, **kwargs) diff --git a/spm/__toolbox/__DAiSS/bf_group_functionalROI.py b/spm/__toolbox/__DAiSS/bf_group_functionalROI.py index 681d54ed..33181974 100644 --- a/spm/__toolbox/__DAiSS/bf_group_functionalROI.py +++ b/spm/__toolbox/__DAiSS/bf_group_functionalROI.py @@ -2,7 +2,7 @@ def bf_group_functionalROI(*args, **kwargs): - """ + r""" Computes Minimum Norm projectors Please cite: @@ -14,9 +14,12 @@ def bf_group_functionalROI(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DAiSS/bf_group_functionalROI.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DAiSS/bf_group_functionalROI.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("bf_group_functionalROI", *args, **kwargs) diff --git a/spm/__toolbox/__DAiSS/bf_inverse.py b/spm/__toolbox/__DAiSS/bf_inverse.py index f5c89383..2eabc3c5 100644 --- a/spm/__toolbox/__DAiSS/bf_inverse.py +++ b/spm/__toolbox/__DAiSS/bf_inverse.py @@ -2,14 +2,17 @@ def bf_inverse(*args, **kwargs): - """ + r""" Compute inverse projectors __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DAiSS/bf_inverse.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DAiSS/bf_inverse.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("bf_inverse", *args, **kwargs) diff --git a/spm/__toolbox/__DAiSS/bf_inverse_champagne.py b/spm/__toolbox/__DAiSS/bf_inverse_champagne.py index 5564c36b..db9ab43b 100644 --- a/spm/__toolbox/__DAiSS/bf_inverse_champagne.py +++ b/spm/__toolbox/__DAiSS/bf_inverse_champagne.py @@ -2,7 +2,7 @@ def bf_inverse_champagne(*args, **kwargs): - """ + r""" Computes Champagne filters See Owen et al. Performance evaluation of the Champagne source @@ -11,9 +11,12 @@ def bf_inverse_champagne(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DAiSS/bf_inverse_champagne.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DAiSS/bf_inverse_champagne.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("bf_inverse_champagne", *args, **kwargs) diff --git a/spm/__toolbox/__DAiSS/bf_inverse_deflect.py b/spm/__toolbox/__DAiSS/bf_inverse_deflect.py index 4a1722c2..b43168e9 100644 --- a/spm/__toolbox/__DAiSS/bf_inverse_deflect.py +++ b/spm/__toolbox/__DAiSS/bf_inverse_deflect.py @@ -2,7 +2,7 @@ def bf_inverse_deflect(*args, **kwargs): - """ + r""" Used DeFleCT framework to compute spatial filters Please cite: @@ -14,9 +14,12 @@ def bf_inverse_deflect(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DAiSS/bf_inverse_deflect.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DAiSS/bf_inverse_deflect.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("bf_inverse_deflect", *args, **kwargs) diff --git a/spm/__toolbox/__DAiSS/bf_inverse_dics.py b/spm/__toolbox/__DAiSS/bf_inverse_dics.py index 28f671be..0d05e9f7 100644 --- a/spm/__toolbox/__DAiSS/bf_inverse_dics.py +++ b/spm/__toolbox/__DAiSS/bf_inverse_dics.py @@ -2,14 +2,17 @@ def bf_inverse_dics(*args, **kwargs): - """ + r""" Computes DICS filters __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DAiSS/bf_inverse_dics.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DAiSS/bf_inverse_dics.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("bf_inverse_dics", *args, **kwargs) diff --git a/spm/__toolbox/__DAiSS/bf_inverse_ebb.py b/spm/__toolbox/__DAiSS/bf_inverse_ebb.py index 113f9bd8..73aa08d3 100644 --- a/spm/__toolbox/__DAiSS/bf_inverse_ebb.py +++ b/spm/__toolbox/__DAiSS/bf_inverse_ebb.py @@ -2,14 +2,17 @@ def bf_inverse_ebb(*args, **kwargs): - """ + r""" Computes Empirical Bayes Beamformer filters __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DAiSS/bf_inverse_ebb.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DAiSS/bf_inverse_ebb.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("bf_inverse_ebb", *args, **kwargs) diff --git a/spm/__toolbox/__DAiSS/bf_inverse_eloreta.py b/spm/__toolbox/__DAiSS/bf_inverse_eloreta.py index ce87ce7b..82525865 100644 --- a/spm/__toolbox/__DAiSS/bf_inverse_eloreta.py +++ b/spm/__toolbox/__DAiSS/bf_inverse_eloreta.py @@ -2,7 +2,7 @@ def bf_inverse_eloreta(*args, **kwargs): - """ + r""" Computes eLORETA projectors please cite @@ -11,9 +11,12 @@ def bf_inverse_eloreta(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DAiSS/bf_inverse_eloreta.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DAiSS/bf_inverse_eloreta.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("bf_inverse_eloreta", *args, **kwargs) diff --git a/spm/__toolbox/__DAiSS/bf_inverse_lcmv.py b/spm/__toolbox/__DAiSS/bf_inverse_lcmv.py index c98a9d79..84ae3992 100644 --- a/spm/__toolbox/__DAiSS/bf_inverse_lcmv.py +++ b/spm/__toolbox/__DAiSS/bf_inverse_lcmv.py @@ -2,14 +2,17 @@ def bf_inverse_lcmv(*args, **kwargs): - """ + r""" Computes LCMV filters __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DAiSS/bf_inverse_lcmv.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DAiSS/bf_inverse_lcmv.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("bf_inverse_lcmv", *args, **kwargs) diff --git a/spm/__toolbox/__DAiSS/bf_inverse_lcmv_multicov.py b/spm/__toolbox/__DAiSS/bf_inverse_lcmv_multicov.py index e233f63b..4ced6793 100644 --- a/spm/__toolbox/__DAiSS/bf_inverse_lcmv_multicov.py +++ b/spm/__toolbox/__DAiSS/bf_inverse_lcmv_multicov.py @@ -2,7 +2,7 @@ def bf_inverse_lcmv_multicov(*args, **kwargs): - """ + r""" Computes LCMV filters using spm_pca_order to constrain inverse of data cov matrix. @@ -17,9 +17,12 @@ def bf_inverse_lcmv_multicov(*args, **kwargs): Neuroimage. Woolrich et al. 2013. - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DAiSS/bf_inverse_lcmv_multicov.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DAiSS/bf_inverse_lcmv_multicov.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("bf_inverse_lcmv_multicov", *args, **kwargs) diff --git a/spm/__toolbox/__DAiSS/bf_inverse_minimumnorm.py b/spm/__toolbox/__DAiSS/bf_inverse_minimumnorm.py index c6a9fc88..4fb9de8d 100644 --- a/spm/__toolbox/__DAiSS/bf_inverse_minimumnorm.py +++ b/spm/__toolbox/__DAiSS/bf_inverse_minimumnorm.py @@ -2,7 +2,7 @@ def bf_inverse_minimumnorm(*args, **kwargs): - """ + r""" Computes Minimum Norm projectors Please cite: @@ -14,9 +14,12 @@ def bf_inverse_minimumnorm(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DAiSS/bf_inverse_minimumnorm.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DAiSS/bf_inverse_minimumnorm.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("bf_inverse_minimumnorm", *args, **kwargs) diff --git a/spm/__toolbox/__DAiSS/bf_inverse_nutmeg.py b/spm/__toolbox/__DAiSS/bf_inverse_nutmeg.py index 3b84ecdb..c8bebd0d 100644 --- a/spm/__toolbox/__DAiSS/bf_inverse_nutmeg.py +++ b/spm/__toolbox/__DAiSS/bf_inverse_nutmeg.py @@ -2,15 +2,18 @@ def bf_inverse_nutmeg(*args, **kwargs): - """ + r""" Interface to NUTMEG inverse methods http://www.nitrc.org/plugins/mwiki/index.php/nutmeg:MainPage __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DAiSS/bf_inverse_nutmeg.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DAiSS/bf_inverse_nutmeg.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("bf_inverse_nutmeg", *args, **kwargs) diff --git a/spm/__toolbox/__DAiSS/bf_isfield.py b/spm/__toolbox/__DAiSS/bf_isfield.py index 82274c54..51984754 100644 --- a/spm/__toolbox/__DAiSS/bf_isfield.py +++ b/spm/__toolbox/__DAiSS/bf_isfield.py @@ -2,15 +2,18 @@ def bf_isfield(*args, **kwargs): - """ + r""" Efficiently identify if a field is contained within a BF file FORMAT bool = bf_isfield(BF,field) __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DAiSS/bf_isfield.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DAiSS/bf_isfield.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("bf_isfield", *args, **kwargs) diff --git a/spm/__toolbox/__DAiSS/bf_load.py b/spm/__toolbox/__DAiSS/bf_load.py index 8aea4491..ee577162 100644 --- a/spm/__toolbox/__DAiSS/bf_load.py +++ b/spm/__toolbox/__DAiSS/bf_load.py @@ -2,14 +2,17 @@ def bf_load(*args, **kwargs): - """ + r""" Load BF data into memory with just the requested fields __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DAiSS/bf_load.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DAiSS/bf_load.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("bf_load", *args, **kwargs) diff --git a/spm/__toolbox/__DAiSS/bf_output.py b/spm/__toolbox/__DAiSS/bf_output.py index c5c77154..0c3c800c 100644 --- a/spm/__toolbox/__DAiSS/bf_output.py +++ b/spm/__toolbox/__DAiSS/bf_output.py @@ -2,14 +2,17 @@ def bf_output(*args, **kwargs): - """ + r""" Perform postprocessing based on beamforming projectors __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DAiSS/bf_output.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DAiSS/bf_output.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("bf_output", *args, **kwargs) diff --git a/spm/__toolbox/__DAiSS/bf_output_PLI.py b/spm/__toolbox/__DAiSS/bf_output_PLI.py index 43ea6a04..442a8368 100644 --- a/spm/__toolbox/__DAiSS/bf_output_PLI.py +++ b/spm/__toolbox/__DAiSS/bf_output_PLI.py @@ -2,7 +2,7 @@ def bf_output_PLI(*args, **kwargs): - """ + r""" Generate a montage for source extraction, projects the sources one by one and computes phase lag index on the fly, which is written out with no need to call bf_write. Only one VOI allowed, which can be a sphere or a @@ -15,9 +15,12 @@ def bf_output_PLI(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DAiSS/bf_output_PLI.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DAiSS/bf_output_PLI.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("bf_output_PLI", *args, **kwargs) diff --git a/spm/__toolbox/__DAiSS/bf_output_image_cfGLM.py b/spm/__toolbox/__DAiSS/bf_output_image_cfGLM.py index ac02e8ef..a87ba5f3 100644 --- a/spm/__toolbox/__DAiSS/bf_output_image_cfGLM.py +++ b/spm/__toolbox/__DAiSS/bf_output_image_cfGLM.py @@ -2,7 +2,7 @@ def bf_output_image_cfGLM(*args, **kwargs): - """ + r""" Compute phase-amplitude coupling using a general linear model currently takes both low frequency phase and amplitude as regressors needs epoched data - uses epochs for statistics @@ -11,9 +11,12 @@ def bf_output_image_cfGLM(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DAiSS/bf_output_image_cfGLM.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DAiSS/bf_output_image_cfGLM.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("bf_output_image_cfGLM", *args, **kwargs) diff --git a/spm/__toolbox/__DAiSS/bf_output_image_dics.py b/spm/__toolbox/__DAiSS/bf_output_image_dics.py index 08bc894f..4158bf33 100644 --- a/spm/__toolbox/__DAiSS/bf_output_image_dics.py +++ b/spm/__toolbox/__DAiSS/bf_output_image_dics.py @@ -2,14 +2,17 @@ def bf_output_image_dics(*args, **kwargs): - """ + r""" Computes DICS image __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DAiSS/bf_output_image_dics.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DAiSS/bf_output_image_dics.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("bf_output_image_dics", *args, **kwargs) diff --git a/spm/__toolbox/__DAiSS/bf_output_image_filtcorr.py b/spm/__toolbox/__DAiSS/bf_output_image_filtcorr.py index f6bfc953..f0e7eb6f 100644 --- a/spm/__toolbox/__DAiSS/bf_output_image_filtcorr.py +++ b/spm/__toolbox/__DAiSS/bf_output_image_filtcorr.py @@ -2,14 +2,17 @@ def bf_output_image_filtcorr(*args, **kwargs): - """ + r""" Computes filter correlation images __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DAiSS/bf_output_image_filtcorr.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DAiSS/bf_output_image_filtcorr.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("bf_output_image_filtcorr", *args, **kwargs) diff --git a/spm/__toolbox/__DAiSS/bf_output_image_gain.py b/spm/__toolbox/__DAiSS/bf_output_image_gain.py index 231c415f..0a765127 100644 --- a/spm/__toolbox/__DAiSS/bf_output_image_gain.py +++ b/spm/__toolbox/__DAiSS/bf_output_image_gain.py @@ -2,14 +2,17 @@ def bf_output_image_gain(*args, **kwargs): - """ + r""" Compute gain image __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DAiSS/bf_output_image_gain.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DAiSS/bf_output_image_gain.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("bf_output_image_gain", *args, **kwargs) diff --git a/spm/__toolbox/__DAiSS/bf_output_image_kurtosis.py b/spm/__toolbox/__DAiSS/bf_output_image_kurtosis.py index faf95e6b..0ed590a8 100644 --- a/spm/__toolbox/__DAiSS/bf_output_image_kurtosis.py +++ b/spm/__toolbox/__DAiSS/bf_output_image_kurtosis.py @@ -2,14 +2,17 @@ def bf_output_image_kurtosis(*args, **kwargs): - """ + r""" Compute kurtosis image __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DAiSS/bf_output_image_kurtosis.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DAiSS/bf_output_image_kurtosis.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("bf_output_image_kurtosis", *args, **kwargs) diff --git a/spm/__toolbox/__DAiSS/bf_output_image_mv.py b/spm/__toolbox/__DAiSS/bf_output_image_mv.py index 9df29fa1..729ebb43 100644 --- a/spm/__toolbox/__DAiSS/bf_output_image_mv.py +++ b/spm/__toolbox/__DAiSS/bf_output_image_mv.py @@ -2,14 +2,17 @@ def bf_output_image_mv(*args, **kwargs): - """ + r""" Compute multivariate test on a number of frequency bands __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DAiSS/bf_output_image_mv.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DAiSS/bf_output_image_mv.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("bf_output_image_mv", *args, **kwargs) diff --git a/spm/__toolbox/__DAiSS/bf_output_image_pac.py b/spm/__toolbox/__DAiSS/bf_output_image_pac.py index a23a9349..23e2456a 100644 --- a/spm/__toolbox/__DAiSS/bf_output_image_pac.py +++ b/spm/__toolbox/__DAiSS/bf_output_image_pac.py @@ -2,14 +2,17 @@ def bf_output_image_pac(*args, **kwargs): - """ + r""" Computes phase-amplitude coupling __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DAiSS/bf_output_image_pac.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DAiSS/bf_output_image_pac.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("bf_output_image_pac", *args, **kwargs) diff --git a/spm/__toolbox/__DAiSS/bf_output_image_powcorr.py b/spm/__toolbox/__DAiSS/bf_output_image_powcorr.py index 6d8aa11d..4ca294c1 100644 --- a/spm/__toolbox/__DAiSS/bf_output_image_powcorr.py +++ b/spm/__toolbox/__DAiSS/bf_output_image_powcorr.py @@ -2,14 +2,17 @@ def bf_output_image_powcorr(*args, **kwargs): - """ + r""" Compute phase-amplitude coupling __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DAiSS/bf_output_image_powcorr.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DAiSS/bf_output_image_powcorr.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("bf_output_image_powcorr", *args, **kwargs) diff --git a/spm/__toolbox/__DAiSS/bf_output_image_power.py b/spm/__toolbox/__DAiSS/bf_output_image_power.py index 28b307a7..2715f69b 100644 --- a/spm/__toolbox/__DAiSS/bf_output_image_power.py +++ b/spm/__toolbox/__DAiSS/bf_output_image_power.py @@ -2,14 +2,17 @@ def bf_output_image_power(*args, **kwargs): - """ + r""" Computes power image __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DAiSS/bf_output_image_power.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DAiSS/bf_output_image_power.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("bf_output_image_power", *args, **kwargs) diff --git a/spm/__toolbox/__DAiSS/bf_output_image_sensitivity.py b/spm/__toolbox/__DAiSS/bf_output_image_sensitivity.py index 466538f8..ddbb8d0d 100644 --- a/spm/__toolbox/__DAiSS/bf_output_image_sensitivity.py +++ b/spm/__toolbox/__DAiSS/bf_output_image_sensitivity.py @@ -2,14 +2,17 @@ def bf_output_image_sensitivity(*args, **kwargs): - """ + r""" Sensitivity profile for a group of sensors __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DAiSS/bf_output_image_sensitivity.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DAiSS/bf_output_image_sensitivity.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("bf_output_image_sensitivity", *args, **kwargs) diff --git a/spm/__toolbox/__DAiSS/bf_output_montage.py b/spm/__toolbox/__DAiSS/bf_output_montage.py index a7419165..7ccf1c29 100644 --- a/spm/__toolbox/__DAiSS/bf_output_montage.py +++ b/spm/__toolbox/__DAiSS/bf_output_montage.py @@ -2,14 +2,17 @@ def bf_output_montage(*args, **kwargs): - """ + r""" Generate a montage for source extraction __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DAiSS/bf_output_montage.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DAiSS/bf_output_montage.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("bf_output_montage", *args, **kwargs) diff --git a/spm/__toolbox/__DAiSS/bf_output_sourcedata_robust.py b/spm/__toolbox/__DAiSS/bf_output_sourcedata_robust.py index 3d8927d1..376f3d8a 100644 --- a/spm/__toolbox/__DAiSS/bf_output_sourcedata_robust.py +++ b/spm/__toolbox/__DAiSS/bf_output_sourcedata_robust.py @@ -2,14 +2,17 @@ def bf_output_sourcedata_robust(*args, **kwargs): - """ + r""" Extract source data, handling bad data segments __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DAiSS/bf_output_sourcedata_robust.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DAiSS/bf_output_sourcedata_robust.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("bf_output_sourcedata_robust", *args, **kwargs) diff --git a/spm/__toolbox/__DAiSS/bf_regularise_clifftrunc.py b/spm/__toolbox/__DAiSS/bf_regularise_clifftrunc.py index af3a89f2..410e1ca2 100644 --- a/spm/__toolbox/__DAiSS/bf_regularise_clifftrunc.py +++ b/spm/__toolbox/__DAiSS/bf_regularise_clifftrunc.py @@ -2,14 +2,17 @@ def bf_regularise_clifftrunc(*args, **kwargs): - """ + r""" Regularisation based on the sudden drop-off in the covariance Eigenspectrum __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DAiSS/bf_regularise_clifftrunc.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DAiSS/bf_regularise_clifftrunc.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("bf_regularise_clifftrunc", *args, **kwargs) diff --git a/spm/__toolbox/__DAiSS/bf_regularise_mantrunc.py b/spm/__toolbox/__DAiSS/bf_regularise_mantrunc.py index 8aa9468a..545e81ff 100644 --- a/spm/__toolbox/__DAiSS/bf_regularise_mantrunc.py +++ b/spm/__toolbox/__DAiSS/bf_regularise_mantrunc.py @@ -2,14 +2,17 @@ def bf_regularise_mantrunc(*args, **kwargs): - """ + r""" User-specified dimensional reduction __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DAiSS/bf_regularise_mantrunc.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DAiSS/bf_regularise_mantrunc.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("bf_regularise_mantrunc", *args, **kwargs) diff --git a/spm/__toolbox/__DAiSS/bf_regularise_manual.py b/spm/__toolbox/__DAiSS/bf_regularise_manual.py index 879a27b7..15d5929a 100644 --- a/spm/__toolbox/__DAiSS/bf_regularise_manual.py +++ b/spm/__toolbox/__DAiSS/bf_regularise_manual.py @@ -2,14 +2,17 @@ def bf_regularise_manual(*args, **kwargs): - """ + r""" Manual specification of the regularisation parameter __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DAiSS/bf_regularise_manual.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DAiSS/bf_regularise_manual.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("bf_regularise_manual", *args, **kwargs) diff --git a/spm/__toolbox/__DAiSS/bf_regularise_minkatrunc.py b/spm/__toolbox/__DAiSS/bf_regularise_minkatrunc.py index 8db88ebc..61777663 100644 --- a/spm/__toolbox/__DAiSS/bf_regularise_minkatrunc.py +++ b/spm/__toolbox/__DAiSS/bf_regularise_minkatrunc.py @@ -2,14 +2,17 @@ def bf_regularise_minkatrunc(*args, **kwargs): - """ + r""" Bayesian regularisation based on Minka's method __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DAiSS/bf_regularise_minkatrunc.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DAiSS/bf_regularise_minkatrunc.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("bf_regularise_minkatrunc", *args, **kwargs) diff --git a/spm/__toolbox/__DAiSS/bf_regularise_roi.py b/spm/__toolbox/__DAiSS/bf_regularise_roi.py index 0cee8d27..e9b0382b 100644 --- a/spm/__toolbox/__DAiSS/bf_regularise_roi.py +++ b/spm/__toolbox/__DAiSS/bf_regularise_roi.py @@ -2,13 +2,16 @@ def bf_regularise_roi(*args, **kwargs): - """ + r""" ROI regularisation - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DAiSS/bf_regularise_roi.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DAiSS/bf_regularise_roi.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("bf_regularise_roi", *args, **kwargs) diff --git a/spm/__toolbox/__DAiSS/bf_regularise_tichonov_rankdef.py b/spm/__toolbox/__DAiSS/bf_regularise_tichonov_rankdef.py index 35c7e68b..a5d16ac1 100644 --- a/spm/__toolbox/__DAiSS/bf_regularise_tichonov_rankdef.py +++ b/spm/__toolbox/__DAiSS/bf_regularise_tichonov_rankdef.py @@ -2,14 +2,17 @@ def bf_regularise_tichonov_rankdef(*args, **kwargs): - """ - Tichonov regularisation for rank deficient matrices based on the function + r""" + Tikhonov regularisation for rank deficient matrices based on the function __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DAiSS/bf_regularise_tichonov_rankdef.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DAiSS/bf_regularise_tichonov_rankdef.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("bf_regularise_tichonov_rankdef", *args, **kwargs) diff --git a/spm/__toolbox/__DAiSS/bf_save.py b/spm/__toolbox/__DAiSS/bf_save.py index 044386b5..3b6b9263 100644 --- a/spm/__toolbox/__DAiSS/bf_save.py +++ b/spm/__toolbox/__DAiSS/bf_save.py @@ -2,14 +2,17 @@ def bf_save(*args, **kwargs): - """ + r""" Save BF data in a MAT file __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DAiSS/bf_save.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DAiSS/bf_save.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("bf_save", *args, **kwargs, nargout=0) diff --git a/spm/__toolbox/__DAiSS/bf_save_path.py b/spm/__toolbox/__DAiSS/bf_save_path.py index 38cbf925..72a6b912 100644 --- a/spm/__toolbox/__DAiSS/bf_save_path.py +++ b/spm/__toolbox/__DAiSS/bf_save_path.py @@ -2,14 +2,17 @@ def bf_save_path(*args, **kwargs): - """ + r""" Saves BF data in a MAT file __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DAiSS/bf_save_path.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DAiSS/bf_save_path.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("bf_save_path", *args, **kwargs, nargout=0) diff --git a/spm/__toolbox/__DAiSS/bf_sources.py b/spm/__toolbox/__DAiSS/bf_sources.py index 844736f0..b8b10ac2 100644 --- a/spm/__toolbox/__DAiSS/bf_sources.py +++ b/spm/__toolbox/__DAiSS/bf_sources.py @@ -2,14 +2,17 @@ def bf_sources(*args, **kwargs): - """ + r""" Prepare source locations and lead fields for beamforming __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DAiSS/bf_sources.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DAiSS/bf_sources.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("bf_sources", *args, **kwargs) diff --git a/spm/__toolbox/__DAiSS/bf_sources_grid.py b/spm/__toolbox/__DAiSS/bf_sources_grid.py index 490650d9..a2498072 100644 --- a/spm/__toolbox/__DAiSS/bf_sources_grid.py +++ b/spm/__toolbox/__DAiSS/bf_sources_grid.py @@ -2,14 +2,17 @@ def bf_sources_grid(*args, **kwargs): - """ + r""" Generate beamforming grid __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DAiSS/bf_sources_grid.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DAiSS/bf_sources_grid.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("bf_sources_grid", *args, **kwargs) diff --git a/spm/__toolbox/__DAiSS/bf_sources_grid_phantom.py b/spm/__toolbox/__DAiSS/bf_sources_grid_phantom.py index 25b08efb..bbac8bbd 100644 --- a/spm/__toolbox/__DAiSS/bf_sources_grid_phantom.py +++ b/spm/__toolbox/__DAiSS/bf_sources_grid_phantom.py @@ -2,14 +2,17 @@ def bf_sources_grid_phantom(*args, **kwargs): - """ + r""" Generate beamforming grid __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DAiSS/bf_sources_grid_phantom.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DAiSS/bf_sources_grid_phantom.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("bf_sources_grid_phantom", *args, **kwargs) diff --git a/spm/__toolbox/__DAiSS/bf_sources_mesh.py b/spm/__toolbox/__DAiSS/bf_sources_mesh.py index ce084787..d5c6a08e 100644 --- a/spm/__toolbox/__DAiSS/bf_sources_mesh.py +++ b/spm/__toolbox/__DAiSS/bf_sources_mesh.py @@ -2,14 +2,17 @@ def bf_sources_mesh(*args, **kwargs): - """ + r""" Generate cortical mesh __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DAiSS/bf_sources_mesh.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DAiSS/bf_sources_mesh.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("bf_sources_mesh", *args, **kwargs) diff --git a/spm/__toolbox/__DAiSS/bf_sources_mni_coords.py b/spm/__toolbox/__DAiSS/bf_sources_mni_coords.py index 8d7b4f47..25a444f7 100644 --- a/spm/__toolbox/__DAiSS/bf_sources_mni_coords.py +++ b/spm/__toolbox/__DAiSS/bf_sources_mni_coords.py @@ -2,14 +2,17 @@ def bf_sources_mni_coords(*args, **kwargs): - """ + r""" Generate beamforming grid __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DAiSS/bf_sources_mni_coords.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DAiSS/bf_sources_mni_coords.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("bf_sources_mni_coords", *args, **kwargs) diff --git a/spm/__toolbox/__DAiSS/bf_sources_scalp.py b/spm/__toolbox/__DAiSS/bf_sources_scalp.py index acc58716..bee8d88c 100644 --- a/spm/__toolbox/__DAiSS/bf_sources_scalp.py +++ b/spm/__toolbox/__DAiSS/bf_sources_scalp.py @@ -2,7 +2,7 @@ def bf_sources_scalp(*args, **kwargs): - """ + r""" Generate source space on the scalp surface, as a part of measuring a magnetomyogram (MMG) of the face. @@ -10,9 +10,12 @@ def bf_sources_scalp(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DAiSS/bf_sources_scalp.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DAiSS/bf_sources_scalp.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("bf_sources_scalp", *args, **kwargs) diff --git a/spm/__toolbox/__DAiSS/bf_sources_voi.py b/spm/__toolbox/__DAiSS/bf_sources_voi.py index 3bbbf2d9..61305923 100644 --- a/spm/__toolbox/__DAiSS/bf_sources_voi.py +++ b/spm/__toolbox/__DAiSS/bf_sources_voi.py @@ -2,14 +2,17 @@ def bf_sources_voi(*args, **kwargs): - """ + r""" Generate a set of VOIs specified in MNI coordinates __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DAiSS/bf_sources_voi.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DAiSS/bf_sources_voi.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("bf_sources_voi", *args, **kwargs) diff --git a/spm/__toolbox/__DAiSS/bf_stat_evoked_t.py b/spm/__toolbox/__DAiSS/bf_stat_evoked_t.py index e4d42e70..9fa9127e 100644 --- a/spm/__toolbox/__DAiSS/bf_stat_evoked_t.py +++ b/spm/__toolbox/__DAiSS/bf_stat_evoked_t.py @@ -2,8 +2,8 @@ def bf_stat_evoked_t(*args, **kwargs): - """ - Compute t-stat accross trials for evoked response + r""" + Compute t-stat across trials for evoked response FORMAT BF = bf_stat_evoked_t(S) S - input structure fields of S: @@ -19,9 +19,12 @@ def bf_stat_evoked_t(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DAiSS/bf_stat_evoked_t.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DAiSS/bf_stat_evoked_t.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("bf_stat_evoked_t", *args, **kwargs) diff --git a/spm/__toolbox/__DAiSS/bf_std_fields.py b/spm/__toolbox/__DAiSS/bf_std_fields.py index a99adf85..1a4e1863 100644 --- a/spm/__toolbox/__DAiSS/bf_std_fields.py +++ b/spm/__toolbox/__DAiSS/bf_std_fields.py @@ -2,14 +2,17 @@ def bf_std_fields(*args, **kwargs): - """ + r""" __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DAiSS/bf_std_fields.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DAiSS/bf_std_fields.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("bf_std_fields", *args, **kwargs) diff --git a/spm/__toolbox/__DAiSS/bf_view.py b/spm/__toolbox/__DAiSS/bf_view.py index ba3e018e..10823a3a 100644 --- a/spm/__toolbox/__DAiSS/bf_view.py +++ b/spm/__toolbox/__DAiSS/bf_view.py @@ -2,14 +2,17 @@ def bf_view(*args, **kwargs): - """ + r""" Display the results of beamforming analysis __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DAiSS/bf_view.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DAiSS/bf_view.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("bf_view", *args, **kwargs) diff --git a/spm/__toolbox/__DAiSS/bf_view_glass.py b/spm/__toolbox/__DAiSS/bf_view_glass.py index 038b31ae..f8b3fa39 100644 --- a/spm/__toolbox/__DAiSS/bf_view_glass.py +++ b/spm/__toolbox/__DAiSS/bf_view_glass.py @@ -2,14 +2,17 @@ def bf_view_glass(*args, **kwargs): - """ + r""" Diplays glass brain plot of DAISS output results __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DAiSS/bf_view_glass.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DAiSS/bf_view_glass.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("bf_view_glass", *args, **kwargs) diff --git a/spm/__toolbox/__DAiSS/bf_view_surface.py b/spm/__toolbox/__DAiSS/bf_view_surface.py index 1b539fa7..fb4cf63d 100644 --- a/spm/__toolbox/__DAiSS/bf_view_surface.py +++ b/spm/__toolbox/__DAiSS/bf_view_surface.py @@ -2,14 +2,17 @@ def bf_view_surface(*args, **kwargs): - """ + r""" Diplay surface plot of DAISS output results __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DAiSS/bf_view_surface.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DAiSS/bf_view_surface.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("bf_view_surface", *args, **kwargs) diff --git a/spm/__toolbox/__DAiSS/bf_wizard_data.py b/spm/__toolbox/__DAiSS/bf_wizard_data.py index 65b94d67..449a8860 100644 --- a/spm/__toolbox/__DAiSS/bf_wizard_data.py +++ b/spm/__toolbox/__DAiSS/bf_wizard_data.py @@ -2,7 +2,7 @@ def bf_wizard_data(*args, **kwargs): - """ + r""" A handy command-line based batch filler with some defaults for DAiSS data module, pick a few options and default for unpopulated fields. It will by default run the batch for the user. @@ -34,9 +34,12 @@ def bf_wizard_data(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DAiSS/bf_wizard_data.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DAiSS/bf_wizard_data.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("bf_wizard_data", *args, **kwargs) diff --git a/spm/__toolbox/__DAiSS/bf_wizard_features.py b/spm/__toolbox/__DAiSS/bf_wizard_features.py index 957403bc..a7cbf4df 100644 --- a/spm/__toolbox/__DAiSS/bf_wizard_features.py +++ b/spm/__toolbox/__DAiSS/bf_wizard_features.py @@ -2,7 +2,7 @@ def bf_wizard_features(*args, **kwargs): - """ + r""" A handy command-line based batch filler with some defaults for DAiSS features module, pick a few options, and it will default for unpopulated fields @@ -17,9 +17,12 @@ def bf_wizard_features(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DAiSS/bf_wizard_features.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DAiSS/bf_wizard_features.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("bf_wizard_features", *args, **kwargs) diff --git a/spm/__toolbox/__DAiSS/bf_wizard_headmodel.py b/spm/__toolbox/__DAiSS/bf_wizard_headmodel.py index 9435dd6d..729c8a66 100644 --- a/spm/__toolbox/__DAiSS/bf_wizard_headmodel.py +++ b/spm/__toolbox/__DAiSS/bf_wizard_headmodel.py @@ -2,16 +2,19 @@ def bf_wizard_headmodel(*args, **kwargs): - """ + r""" A handy command-line based batch filler with some defaults for SPM head model specification for MEEG data. Will generate the job which performs coregistration between the data and the MRI __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DAiSS/bf_wizard_headmodel.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DAiSS/bf_wizard_headmodel.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("bf_wizard_headmodel", *args, **kwargs) diff --git a/spm/__toolbox/__DAiSS/bf_wizard_inverse.py b/spm/__toolbox/__DAiSS/bf_wizard_inverse.py index c77769cc..bb608bdc 100644 --- a/spm/__toolbox/__DAiSS/bf_wizard_inverse.py +++ b/spm/__toolbox/__DAiSS/bf_wizard_inverse.py @@ -2,16 +2,19 @@ def bf_wizard_inverse(*args, **kwargs): - """ + r""" A handy command-line based batch filler with some defaults for DAiSS invert module, pick a few options, and it will default for unpopulated fields __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DAiSS/bf_wizard_inverse.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DAiSS/bf_wizard_inverse.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("bf_wizard_inverse", *args, **kwargs) diff --git a/spm/__toolbox/__DAiSS/bf_wizard_output.py b/spm/__toolbox/__DAiSS/bf_wizard_output.py index 93ff513f..0d7b6417 100644 --- a/spm/__toolbox/__DAiSS/bf_wizard_output.py +++ b/spm/__toolbox/__DAiSS/bf_wizard_output.py @@ -2,7 +2,7 @@ def bf_wizard_output(*args, **kwargs): - """ + r""" A handy command-line based batch filler with some defaults for DAiSS output module, pick a few options, and it will default for unpopulated fields @@ -14,9 +14,12 @@ def bf_wizard_output(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DAiSS/bf_wizard_output.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DAiSS/bf_wizard_output.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("bf_wizard_output", *args, **kwargs) diff --git a/spm/__toolbox/__DAiSS/bf_wizard_sources.py b/spm/__toolbox/__DAiSS/bf_wizard_sources.py index 549c649e..49fd8dd3 100644 --- a/spm/__toolbox/__DAiSS/bf_wizard_sources.py +++ b/spm/__toolbox/__DAiSS/bf_wizard_sources.py @@ -2,7 +2,7 @@ def bf_wizard_sources(*args, **kwargs): - """ + r""" A handy command-line based batch filler with some defaults for DAiSS source module, pick a few options, and it will default for unpopulated fields @@ -78,9 +78,12 @@ def bf_wizard_sources(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DAiSS/bf_wizard_sources.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DAiSS/bf_wizard_sources.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("bf_wizard_sources", *args, **kwargs) diff --git a/spm/__toolbox/__DAiSS/bf_wizard_view.py b/spm/__toolbox/__DAiSS/bf_wizard_view.py index b2331368..d13b6369 100644 --- a/spm/__toolbox/__DAiSS/bf_wizard_view.py +++ b/spm/__toolbox/__DAiSS/bf_wizard_view.py @@ -2,7 +2,7 @@ def bf_wizard_view(*args, **kwargs): - """ + r""" A handy command-line based batch filler with some defaults for DAiSS view module, pick a few options, and it will default for unpopulated fields @@ -13,9 +13,12 @@ def bf_wizard_view(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DAiSS/bf_wizard_view.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DAiSS/bf_wizard_view.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("bf_wizard_view", *args, **kwargs) diff --git a/spm/__toolbox/__DAiSS/bf_wizard_write.py b/spm/__toolbox/__DAiSS/bf_wizard_write.py index 2405abfb..41d4e2ba 100644 --- a/spm/__toolbox/__DAiSS/bf_wizard_write.py +++ b/spm/__toolbox/__DAiSS/bf_wizard_write.py @@ -2,7 +2,7 @@ def bf_wizard_write(*args, **kwargs): - """ + r""" A handy command-line based batch filler with some defaults for DAiSS write module, pick a few options, and it will default for unpopulated fields @@ -14,9 +14,12 @@ def bf_wizard_write(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DAiSS/bf_wizard_write.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DAiSS/bf_wizard_write.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("bf_wizard_write", *args, **kwargs) diff --git a/spm/__toolbox/__DAiSS/bf_write.py b/spm/__toolbox/__DAiSS/bf_write.py index 9bab8c89..5b6c88d2 100644 --- a/spm/__toolbox/__DAiSS/bf_write.py +++ b/spm/__toolbox/__DAiSS/bf_write.py @@ -2,14 +2,17 @@ def bf_write(*args, **kwargs): - """ + r""" Write out the results of beamforming analysis __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DAiSS/bf_write.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DAiSS/bf_write.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("bf_write", *args, **kwargs) diff --git a/spm/__toolbox/__DAiSS/bf_write_gifti.py b/spm/__toolbox/__DAiSS/bf_write_gifti.py index 63d10cd2..312096dc 100644 --- a/spm/__toolbox/__DAiSS/bf_write_gifti.py +++ b/spm/__toolbox/__DAiSS/bf_write_gifti.py @@ -2,14 +2,17 @@ def bf_write_gifti(*args, **kwargs): - """ + r""" Write out beamformer results as GIfTI meshes __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DAiSS/bf_write_gifti.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DAiSS/bf_write_gifti.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("bf_write_gifti", *args, **kwargs) diff --git a/spm/__toolbox/__DAiSS/bf_write_nifti.py b/spm/__toolbox/__DAiSS/bf_write_nifti.py index e1fab4da..5e6cdd20 100644 --- a/spm/__toolbox/__DAiSS/bf_write_nifti.py +++ b/spm/__toolbox/__DAiSS/bf_write_nifti.py @@ -2,14 +2,17 @@ def bf_write_nifti(*args, **kwargs): - """ + r""" Writes out nifti images of beamformer results __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DAiSS/bf_write_nifti.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DAiSS/bf_write_nifti.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("bf_write_nifti", *args, **kwargs) diff --git a/spm/__toolbox/__DAiSS/bf_write_spmeeg.py b/spm/__toolbox/__DAiSS/bf_write_spmeeg.py index 58ea4185..6f7837f9 100644 --- a/spm/__toolbox/__DAiSS/bf_write_spmeeg.py +++ b/spm/__toolbox/__DAiSS/bf_write_spmeeg.py @@ -2,14 +2,17 @@ def bf_write_spmeeg(*args, **kwargs): - """ + r""" Writes out beamformer results as M/EEG dataset __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DAiSS/bf_write_spmeeg.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DAiSS/bf_write_spmeeg.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("bf_write_spmeeg", *args, **kwargs) diff --git a/spm/__toolbox/__DAiSS/spm_DAiSS.py b/spm/__toolbox/__DAiSS/spm_DAiSS.py index d2d223d9..0c75891a 100644 --- a/spm/__toolbox/__DAiSS/spm_DAiSS.py +++ b/spm/__toolbox/__DAiSS/spm_DAiSS.py @@ -2,13 +2,16 @@ def spm_DAiSS(*args, **kwargs): - """ + r""" __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DAiSS/spm_DAiSS.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DAiSS/spm_DAiSS.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_DAiSS", *args, **kwargs, nargout=0) diff --git a/spm/__toolbox/__DAiSS/spm_beamforming.py b/spm/__toolbox/__DAiSS/spm_beamforming.py index 2a4e2425..1527775e 100644 --- a/spm/__toolbox/__DAiSS/spm_beamforming.py +++ b/spm/__toolbox/__DAiSS/spm_beamforming.py @@ -2,14 +2,17 @@ def spm_beamforming(*args, **kwargs): - """ + r""" GUI gateway to Beamforming toolbox __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DAiSS/spm_beamforming.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DAiSS/spm_beamforming.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_beamforming", *args, **kwargs, nargout=0) diff --git a/spm/__toolbox/__DAiSS/tbx_cfg_bf.py b/spm/__toolbox/__DAiSS/tbx_cfg_bf.py index da92e685..2cc61202 100644 --- a/spm/__toolbox/__DAiSS/tbx_cfg_bf.py +++ b/spm/__toolbox/__DAiSS/tbx_cfg_bf.py @@ -2,14 +2,17 @@ def tbx_cfg_bf(*args, **kwargs): - """ + r""" Configuration file for toolbox 'Beamforming' __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DAiSS/tbx_cfg_bf.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DAiSS/tbx_cfg_bf.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("tbx_cfg_bf", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/ADEM_SHC_demo.py b/spm/__toolbox/__DEM/ADEM_SHC_demo.py index 22853520..9fe180eb 100644 --- a/spm/__toolbox/__DEM/ADEM_SHC_demo.py +++ b/spm/__toolbox/__DEM/ADEM_SHC_demo.py @@ -2,7 +2,7 @@ def ADEM_SHC_demo(*args, **kwargs): - """ + r""" This demo illustrates the use of Lotka-Volterra form SHCs (Stable heteroclinic channel) to prescribe active sampling (inference). In this example each (unstable) fixed point in the SHC attracts the agent to @@ -10,9 +10,12 @@ def ADEM_SHC_demo(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/ADEM_SHC_demo.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/ADEM_SHC_demo.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ADEM_SHC_demo", *args, **kwargs, nargout=0) diff --git a/spm/__toolbox/__DEM/ADEM_cost.py b/spm/__toolbox/__DEM/ADEM_cost.py new file mode 100644 index 00000000..e7fd0472 --- /dev/null +++ b/spm/__toolbox/__DEM/ADEM_cost.py @@ -0,0 +1,25 @@ +from spm._runtime import Runtime + + +def ADEM_cost(*args, **kwargs): + r""" + This demo re-visits the mountain car problem to show that adaptive + (desired) behaviour can be prescribed in terms of loss-functions (i.e. + reward functions of state-space). + It exploits the fact that under the free-energy formulation, loss is + divergence. This means that priors can be used to make certain parts of + state-space costly (i.e. with high divergence) and others rewarding (low + divergence). Active inference under these priors will lead to sampling of + low cost states and (apparent) attractiveness of those states. + __________________________________________________________________________ + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/ADEM_cost.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("ADEM_cost", *args, **kwargs, nargout=0) diff --git a/spm/__toolbox/__DEM/ADEM_cost_SHC.py b/spm/__toolbox/__DEM/ADEM_cost_SHC.py index 2c2aadf4..e03870bc 100644 --- a/spm/__toolbox/__DEM/ADEM_cost_SHC.py +++ b/spm/__toolbox/__DEM/ADEM_cost_SHC.py @@ -2,7 +2,7 @@ def ADEM_cost_SHC(*args, **kwargs): - """ + r""" This demo illustrates the use of priors on the motion of hidden states as polices. It simulates exploration and exploitation using radial basis function attractors and auto-vitiative (self-destroying) attractors @@ -22,9 +22,12 @@ def ADEM_cost_SHC(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/ADEM_cost_SHC.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/ADEM_cost_SHC.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ADEM_cost_SHC", *args, **kwargs, nargout=0) diff --git a/spm/__toolbox/__DEM/ADEM_cued_response.py b/spm/__toolbox/__DEM/ADEM_cued_response.py index f6c1ef40..9adbc3ed 100644 --- a/spm/__toolbox/__DEM/ADEM_cued_response.py +++ b/spm/__toolbox/__DEM/ADEM_cued_response.py @@ -2,7 +2,7 @@ def ADEM_cued_response(*args, **kwargs): - """ + r""" Cued responses under active inference: __________________________________________________________________________ This demo illustrates cued sequential movements. It uses active inference @@ -33,9 +33,12 @@ def ADEM_cued_response(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/ADEM_cued_response.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/ADEM_cued_response.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ADEM_cued_response", *args, **kwargs, nargout=0) diff --git a/spm/__toolbox/__DEM/ADEM_eyeblink.py b/spm/__toolbox/__DEM/ADEM_eyeblink.py index e377c57f..b6b2f5fb 100644 --- a/spm/__toolbox/__DEM/ADEM_eyeblink.py +++ b/spm/__toolbox/__DEM/ADEM_eyeblink.py @@ -2,7 +2,7 @@ def ADEM_eyeblink(*args, **kwargs): - """ + r""" Simulation of eyeblink conditioning FORMAT DEM = ADEM_eyeblink(OPTION) @@ -50,9 +50,12 @@ def ADEM_eyeblink(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/ADEM_eyeblink.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/ADEM_eyeblink.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ADEM_eyeblink", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/ADEM_intercept.py b/spm/__toolbox/__DEM/ADEM_intercept.py new file mode 100644 index 00000000..616d245b --- /dev/null +++ b/spm/__toolbox/__DEM/ADEM_intercept.py @@ -0,0 +1,71 @@ +from spm._runtime import Runtime + + +def ADEM_intercept(*args, **kwargs): + r""" + Radar tracking and interception in generalised coordinates of motion + __________________________________________________________________________ + This script illustrates the use of generalised filtering to solve the + dual problem of radar tracking and interception. This is an elemental + instance of (mere) active inference in which the priors over dynamics are + realised through action. In this instance, the priors over latent states + induce a dynamics with a particular fixed point; namely, a drone lies on + the trajectory of a missile. It has an infrared sensor that points + towards the oncoming missile and, crucially, the angular velocity of its + gimbal mounted sensor is zero. The only situation in which these + conditions are met is when the drone is on the path of an approaching + missile. Writing down the equations of motion of the drone—with the above + solution— effectively creates a generative model of a drone that, a + priority, expects to intercept a missile. Conceptually, this can be read + as an instance of the equilibrium point hypothesis for motor control in + neurobiology. In economics, this would be regarded as a particular kind + of prior; i.e., a heuristic. In control theory, this is a special + instance of path integral control. + + In detail, the generative process (and model) involves three objects and + a hidden cause. The first object is a missile travelling at a constant + velocity (135 km/h towards a target or rendezvous point in some line of + defence. This rendezvous point is the hidden cause. The second object is + a drone that is attracted to the rendezvous point with a maximum speed + (of 85 km/h). The third object is a (fixed location) radar that returns + precise estimates of the missile’s range and bearing (in terms of log + distance and radians, respectively). The drone is equipped with a + gimbal-mounted IR camera that reports the bearing of the missile when + sufficiently close. The drone’s IMU provides estimates of the drone’s + velocity and current position, along with the angle and angular velocity + of the gimbal. The active states of the drone effectively resolve IMU + (c.f., proprioceptive) prediction errors based upon the predictions of + the drone's dynamics and its gimbal. + + Intuitively, one can regard the hidden cause as setting the direction of + travel for the missile and drone: to a common (rendezvous) point in a + fixed line of defence. Initially, the radar tracking supplies a posterior + estimate of the hidden cause and thereby attracts the drone to the + intercept position. As the missile comes into the range of the drone’s + infrared camera, posterior uncertainty about the hidden cause is + resolved. In addition, the drone manoeuvres along the defence line to + ensure its gimbal is pointing in the fixed direction of the oncoming + missile. + + The inversion of the implicit continuous state-space model is in + generalised coordinates of motion. To attain the requisite accuracy + (i.e., centimetres) it is necessary to use relatively high orders of + generalised motion (here, 8). This setup is very sensitive to the + precisions of random fluctuations (and the relative estimates of these + precisions used during generalised filtering or state estimation). In the + example below, we have simplified the problem to 2 dimensions and have + used very precise radar and IMU signals to demonstrate what could be + achieved under realistic speeds and distances. + + __________________________________________________________________________ + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/ADEM_intercept.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("ADEM_intercept", *args, **kwargs, nargout=0) diff --git a/spm/__toolbox/__DEM/ADEM_intercept_I.py b/spm/__toolbox/__DEM/ADEM_intercept_I.py new file mode 100644 index 00000000..6d29fe1b --- /dev/null +++ b/spm/__toolbox/__DEM/ADEM_intercept_I.py @@ -0,0 +1,42 @@ +from spm._runtime import Runtime + + +def ADEM_intercept_I(*args, **kwargs): + r""" + Radar tracking and interception in generalised coordinates of motion + __________________________________________________________________________ + This is a simplified version of the interceptor demo, in which the gimbal + has a fixed orientation; thereby, reducing the latent states to the + position of the missile and drone. This enables action to be specified + directly as controlling velocity (rate of change of position) that is + projected into generalised coordinates of motion (here to 4th order). + + In addition, this demo equips the drone with weaving behaviour modelled + in terms of a discrete sine set; i.e., parameterised by coefficients that + control variations in direction of travel as (sine) functions of distance + to target (i.e., the rendezvous point). It is assumed that these + coefficients are known or have been previously estimated based upon the + missiles early behaviour. The remaining latent cause — namely the target + — is inferred in the usual way; allowing, in principle, en route changes + to the target location. + + The sensor signals are assumed to be sufficiently preprocessed to remove + random fluctuations that would otherwise confound generalised + observations. Uncertainty about these signals is therefore modelled in + terms of the precisions supplied to the generative model. These + precisions have to be specified carefully to ensure the sensory + attenuation of observations that can be changed via control. In other + words, the precision of IMU signals has to be smaller than the precision + used by the actuator for resolving prediction errors through action. + __________________________________________________________________________ + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/ADEM_intercept_I.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("ADEM_intercept_I", *args, **kwargs, nargout=0) diff --git a/spm/__toolbox/__DEM/ADEM_intercept_II.py b/spm/__toolbox/__DEM/ADEM_intercept_II.py new file mode 100644 index 00000000..f461f1b9 --- /dev/null +++ b/spm/__toolbox/__DEM/ADEM_intercept_II.py @@ -0,0 +1,42 @@ +from spm._runtime import Runtime + + +def ADEM_intercept_II(*args, **kwargs): + r""" + Radar tracking and interception in generalised coordinates of motion + __________________________________________________________________________ + This iteration of the demo considers learning about the missile as a + prelude to online inference and tracking. The key move here is to observe + the missile (for 100 seconds) and estimate the (time-invariant) + parameters that govern its trajectory. These include things like the + speed, source, target and any parameters encoding evasive manoeuvres. + Crucially, these parameters are time-invariant and can be recovered using + dynamic expectation maximisation (DEM) from an observed timeseries. After + a sufficient period of observation, the parameters can then be used as + hidden causes for active inference and tracking as implemented in ADEM. + Note that these hidden causes can change from moment to moment because + causes are time-dependent variables. In this example, an initial missile + approach simulated until the missile is within 1 km of the line of + defence. It then reverts to a linear trajectory towards the target and + the gimbal infrared is engaged. + + In addition, this demo allows for multiple radars and a re-factoring of + the subroutines that subtend the priors and likelihood mappings for the + generative process and model (where the behaviour of the missile is + shared by an observation model for off-line parameter estimation and the + generative model used for online tracking). + + This demo accommodates conditional termination of the simulations + specified in DEM.break. + __________________________________________________________________________ + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/ADEM_intercept_II.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("ADEM_intercept_II", *args, **kwargs, nargout=0) diff --git a/spm/__toolbox/__DEM/ADEM_intercept_III.py b/spm/__toolbox/__DEM/ADEM_intercept_III.py new file mode 100644 index 00000000..7e810879 --- /dev/null +++ b/spm/__toolbox/__DEM/ADEM_intercept_III.py @@ -0,0 +1,26 @@ +from spm._runtime import Runtime + + +def ADEM_intercept_III(*args, **kwargs): + r""" + Fixed wing interception in generalised coordinates of motion + __________________________________________________________________________ + This version is for a fixed-wing interceptor. In brief, it uses a + combination of first order kinetics to approach the bomb in a moving + frame of reference. This moving frame of reference is modelled using the + second order dynamics based upon a hidden cause that pulls both the + interceptor and bomb to a common point, which is moving from towards the + target. This hidden causes equipped with smooth random fluctuations to + model countermeasures. + __________________________________________________________________________ + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/ADEM_intercept_III.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("ADEM_intercept_III", *args, **kwargs, nargout=0) diff --git a/spm/__toolbox/__DEM/ADEM_intercept_IV.py b/spm/__toolbox/__DEM/ADEM_intercept_IV.py new file mode 100644 index 00000000..49d2c3e0 --- /dev/null +++ b/spm/__toolbox/__DEM/ADEM_intercept_IV.py @@ -0,0 +1,30 @@ +from spm._runtime import Runtime + + +def ADEM_intercept_IV(*args, **kwargs): + r""" + Fixed wing interception in generalised coordinates of motion + __________________________________________________________________________ + This version incorporates yaw, pitch and speed as states of the drone + such that action changes banking and speed (using a first order + approximation) to produce changes in velocity and Cartesian coordinates. + The model predicts velocity (i.e., changes in position) in Cartesian + coordinates using two components. The first is the velocity due to + attraction to the fixed point that is shared with the missile. The second + is a simple movement towards the missile. Inverting the implicit state + space model thereby precludes working in polar coordinates and the + nonlinearities (and discontinuities in angles) that would otherwise + confound variational inference. As in previous versions, action minimises + the prediction errors in position (as opposed to velocity). + __________________________________________________________________________ + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/ADEM_intercept_IV.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("ADEM_intercept_IV", *args, **kwargs, nargout=0) diff --git a/spm/__toolbox/__DEM/ADEM_learning.py b/spm/__toolbox/__DEM/ADEM_learning.py index e951e0eb..79b44de9 100644 --- a/spm/__toolbox/__DEM/ADEM_learning.py +++ b/spm/__toolbox/__DEM/ADEM_learning.py @@ -2,7 +2,7 @@ def ADEM_learning(*args, **kwargs): - """ + r""" Value learning demo using the mountain car problem. This demo questions the need for reinforcement learning and related paradigms from machine-learning, when trying to optimise the behaviour of an agent. We @@ -20,9 +20,12 @@ def ADEM_learning(*args, **kwargs): or utility. - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/ADEM_learning.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/ADEM_learning.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ADEM_learning", *args, **kwargs, nargout=0) diff --git a/spm/__toolbox/__DEM/ADEM_lorenz.py b/spm/__toolbox/__DEM/ADEM_lorenz.py index 7c4281c9..f64077f4 100644 --- a/spm/__toolbox/__DEM/ADEM_lorenz.py +++ b/spm/__toolbox/__DEM/ADEM_lorenz.py @@ -2,7 +2,7 @@ def ADEM_lorenz(*args, **kwargs): - """ + r""" Action-DEM demo specifying an attractor (in terms of the parameters of desired equations of motion) This demo first exposes an agent to a Lorenz attractor world such that it can learn the three parameters of the Lorenz @@ -12,9 +12,12 @@ def ADEM_lorenz(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/ADEM_lorenz.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/ADEM_lorenz.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ADEM_lorenz", *args, **kwargs, nargout=0) diff --git a/spm/__toolbox/__DEM/ADEM_lorenz_entropy.py b/spm/__toolbox/__DEM/ADEM_lorenz_entropy.py index 8c5500e7..d9abf040 100644 --- a/spm/__toolbox/__DEM/ADEM_lorenz_entropy.py +++ b/spm/__toolbox/__DEM/ADEM_lorenz_entropy.py @@ -2,7 +2,7 @@ def ADEM_lorenz_entropy(*args, **kwargs): - """ + r""" This demo shows how structure can be instilled from an environment. It uses an agent that optimises its recognition density over successive epochs of exposure to an environment. This environment causes the agent @@ -14,9 +14,12 @@ def ADEM_lorenz_entropy(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/ADEM_lorenz_entropy.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/ADEM_lorenz_entropy.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ADEM_lorenz_entropy", *args, **kwargs, nargout=0) diff --git a/spm/__toolbox/__DEM/ADEM_lorenz_surprise.py b/spm/__toolbox/__DEM/ADEM_lorenz_surprise.py index 334ea1ca..095c1689 100644 --- a/spm/__toolbox/__DEM/ADEM_lorenz_surprise.py +++ b/spm/__toolbox/__DEM/ADEM_lorenz_surprise.py @@ -2,7 +2,7 @@ def ADEM_lorenz_surprise(*args, **kwargs): - """ + r""" This demo computes the cost-function (negative reward) for a Lorenz system; to show cost can be computed easily from value (negative surprise or sojourn time). However, value is not a Lyapunov function @@ -10,9 +10,12 @@ def ADEM_lorenz_surprise(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/ADEM_lorenz_surprise.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/ADEM_lorenz_surprise.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ADEM_lorenz_surprise", *args, **kwargs, nargout=0) diff --git a/spm/__toolbox/__DEM/ADEM_motor.py b/spm/__toolbox/__DEM/ADEM_motor.py index 1c92cd37..50e458d0 100644 --- a/spm/__toolbox/__DEM/ADEM_motor.py +++ b/spm/__toolbox/__DEM/ADEM_motor.py @@ -2,7 +2,7 @@ def ADEM_motor(*args, **kwargs): - """ + r""" This demo illustrates how action can fulfil prior expectations by explaining away sensory prediction errors prescribed by desired movement trajectory. It is based on the same linear convolution model of the @@ -14,9 +14,12 @@ def ADEM_motor(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/ADEM_motor.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/ADEM_motor.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ADEM_motor", *args, **kwargs, nargout=0) diff --git a/spm/__toolbox/__DEM/ADEM_mountaincar_loss.py b/spm/__toolbox/__DEM/ADEM_mountaincar_loss.py index 6c950adb..2f298b06 100644 --- a/spm/__toolbox/__DEM/ADEM_mountaincar_loss.py +++ b/spm/__toolbox/__DEM/ADEM_mountaincar_loss.py @@ -2,7 +2,7 @@ def ADEM_mountaincar_loss(*args, **kwargs): - """ + r""" This demo re-visits the mountain car problem to show that adaptive (desired) behaviour can be prescribed in terms of loss-functions (i.e. reward functions of state-space). @@ -14,9 +14,12 @@ def ADEM_mountaincar_loss(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/ADEM_mountaincar_loss.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/ADEM_mountaincar_loss.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ADEM_mountaincar_loss", *args, **kwargs, nargout=0) diff --git a/spm/__toolbox/__DEM/ADEM_observe.py b/spm/__toolbox/__DEM/ADEM_observe.py index 82a33069..bc0e330a 100644 --- a/spm/__toolbox/__DEM/ADEM_observe.py +++ b/spm/__toolbox/__DEM/ADEM_observe.py @@ -2,7 +2,7 @@ def ADEM_observe(*args, **kwargs): - """ + r""" This demo illustrates action-observation using synthetic writing under active inference. It shows how expectations about hidden states can be both cause and consequence of observed action (of self and others @@ -16,9 +16,12 @@ def ADEM_observe(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/ADEM_observe.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/ADEM_observe.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ADEM_observe", *args, **kwargs, nargout=0) diff --git a/spm/__toolbox/__DEM/ADEM_occlusion.py b/spm/__toolbox/__DEM/ADEM_occlusion.py index e284898a..59c2e0d6 100644 --- a/spm/__toolbox/__DEM/ADEM_occlusion.py +++ b/spm/__toolbox/__DEM/ADEM_occlusion.py @@ -2,7 +2,7 @@ def ADEM_occlusion(*args, **kwargs): - """ + r""" Slow pursuit and occlusion under active inference: __________________________________________________________________________ This demo illustrates slow pursuit in the context of visual occlusion. We @@ -33,9 +33,12 @@ def ADEM_occlusion(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/ADEM_occlusion.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/ADEM_occlusion.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ADEM_occlusion", *args, **kwargs, nargout=0) diff --git a/spm/__toolbox/__DEM/ADEM_occulomotor_delays.py b/spm/__toolbox/__DEM/ADEM_occulomotor_delays.py index f7147cb2..33baea79 100644 --- a/spm/__toolbox/__DEM/ADEM_occulomotor_delays.py +++ b/spm/__toolbox/__DEM/ADEM_occulomotor_delays.py @@ -2,7 +2,7 @@ def ADEM_occulomotor_delays(*args, **kwargs): - """ + r""" Oculomotor following and delays under active inference: __________________________________________________________________________ This demo illustrates oculomotor following and slow pursuit. The focus @@ -22,9 +22,12 @@ def ADEM_occulomotor_delays(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/ADEM_occulomotor_delays.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/ADEM_occulomotor_delays.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ADEM_occulomotor_delays", *args, **kwargs, nargout=0) diff --git a/spm/__toolbox/__DEM/ADEM_physics.py b/spm/__toolbox/__DEM/ADEM_physics.py new file mode 100644 index 00000000..b0a45836 --- /dev/null +++ b/spm/__toolbox/__DEM/ADEM_physics.py @@ -0,0 +1,65 @@ +from spm._runtime import Runtime + + +def ADEM_physics(*args, **kwargs): + r""" + % This routine illustrates the application of Variational Laplace to the + triple-estimation (DEM) problem; namely inferring the latent states and + causes of a dynamical system while learning the parameters and + precisions. The example is chosen to highlight complementary ways of + dealing with random (unknown) variables that change slowly. Here, these + variables include the attribute of various objects (which are inferred as + latent causes) and the parameters underwriting their dynamics (which are + learned). The example in question is a simple Atari-like game but + expressed in continuous (generalised) coordinates of motion. + + To illustrate how one can equip DEM with action (i.e., implement an + elementary form of active inference) it considers the problem of using a + (red) bat to repel a (blue) ball, in the presence of other (green) + objects. The dynamics underlying this behaviour are based upon + straightforward classical mechanics, in which interactions amongst + objects are parameterised with coupling parameters that have to be + learned. + + In what follows, we first set up the generative process and accompanying + model. By exposing the scheme to the initial conditions (that evolve very + slowly) the location and attributes of objects are then inferred to + provide precise posteriors over latent causes of (visual) input. These + posteriors and then used to learn the (coupling) parameters of the + generative model that capture the interactions between the bat and ball. + These dynamics are learned in the absence of action. Finally, we enable + action such that the inference and learning scheme controls the ball by + fulfilling its predictions under what it has previously learned. This + results in the emergence of a nonequilibrium steady-state, here, + quasi-periodic orbits that inherit from the physics of the generative + model + + The likelihood mapping from latent states generates visual input using a + simple convolution model, in which each (Gaussian) object of an inferred + size is convolved with (Gaussian) receptive fields. For biomimetic + reasons, these receptive fields are larger at the periphery of vision. + And can be regarded as an implementation of spatial basis functions + mapping from object location to the (TrueColour) amplitude of place-coded + responses: c.f., retinotopic map or a downsampled image after + (anisotropic) convolution with receptive field kernels. The contributions + of different wavelengths are generated following a softmax operator that + stands in for a normalisation implicit in Weber's law. Despite these + nonlinearities, model inversion can still proceed using local + linearisation as in extended Kalman-Bucy filters. It should be noted, + however, that changing any of the model parameters will preclude + convergence, illustrating the failure Variational Laplace under brittle, + nonlinear models. On the other hand, with the right parameterisation, the + ensuing scheme illustrates the simplicity of specifying and inverting + such models with just one inversion scheme (here, spm_ADEM). + __________________________________________________________________________ + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/ADEM_physics.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("ADEM_physics", *args, **kwargs, nargout=0) diff --git a/spm/__toolbox/__DEM/ADEM_plaid.py b/spm/__toolbox/__DEM/ADEM_plaid.py index 1d5aeb48..18b2590a 100644 --- a/spm/__toolbox/__DEM/ADEM_plaid.py +++ b/spm/__toolbox/__DEM/ADEM_plaid.py @@ -2,7 +2,7 @@ def ADEM_plaid(*args, **kwargs): - """ + r""" creates a Gaussian modulated n x n visual plaid stimulus FORMAT [y,n] = ADEM_plaid(x,[n]) x(1) - horizontal displacement @@ -10,9 +10,12 @@ def ADEM_plaid(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/ADEM_plaid.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/ADEM_plaid.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ADEM_plaid", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/ADEM_pursuit.py b/spm/__toolbox/__DEM/ADEM_pursuit.py index 467704df..a57010eb 100644 --- a/spm/__toolbox/__DEM/ADEM_pursuit.py +++ b/spm/__toolbox/__DEM/ADEM_pursuit.py @@ -2,7 +2,7 @@ def ADEM_pursuit(*args, **kwargs): - """ + r""" Slow pursuit under active inference: __________________________________________________________________________ This demo illustrates slow pursuit eye movements under active inference. @@ -23,9 +23,12 @@ def ADEM_pursuit(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/ADEM_pursuit.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/ADEM_pursuit.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ADEM_pursuit", *args, **kwargs, nargout=0) diff --git a/spm/__toolbox/__DEM/ADEM_reaching.py b/spm/__toolbox/__DEM/ADEM_reaching.py index 292fceda..c1f9578e 100644 --- a/spm/__toolbox/__DEM/ADEM_reaching.py +++ b/spm/__toolbox/__DEM/ADEM_reaching.py @@ -2,7 +2,7 @@ def ADEM_reaching(*args, **kwargs): - """ + r""" This demo illustrates how action can fulfil prior expectations by explaining away sensory prediction errors prescribed by desired movement trajectories. In this example a two-joint arm is trained to touch a target @@ -10,9 +10,12 @@ def ADEM_reaching(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/ADEM_reaching.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/ADEM_reaching.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ADEM_reaching", *args, **kwargs, nargout=0) diff --git a/spm/__toolbox/__DEM/ADEM_salience.py b/spm/__toolbox/__DEM/ADEM_salience.py index d502dc05..850458d4 100644 --- a/spm/__toolbox/__DEM/ADEM_salience.py +++ b/spm/__toolbox/__DEM/ADEM_salience.py @@ -2,7 +2,7 @@ def ADEM_salience(*args, **kwargs): - """ + r""" Saccadic eye movements under active inference __________________________________________________________________________ This demo illustrates exploration or visual search in terms of optimality @@ -23,9 +23,12 @@ def ADEM_salience(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/ADEM_salience.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/ADEM_salience.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ADEM_salience", *args, **kwargs, nargout=0) diff --git a/spm/__toolbox/__DEM/ADEM_sample_image.py b/spm/__toolbox/__DEM/ADEM_sample_image.py index 045c0d15..b77aaba9 100644 --- a/spm/__toolbox/__DEM/ADEM_sample_image.py +++ b/spm/__toolbox/__DEM/ADEM_sample_image.py @@ -2,7 +2,7 @@ def ADEM_sample_image(*args, **kwargs): - """ + r""" samples a (memory mapped) image at displacement o FORMAT [s] = ADEM_sample_image(V,o,R) FORMAT [s] = ADEM_sample_image(o,h) @@ -28,9 +28,12 @@ def ADEM_sample_image(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/ADEM_sample_image.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/ADEM_sample_image.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ADEM_sample_image", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/ADEM_visual.py b/spm/__toolbox/__DEM/ADEM_visual.py index a421ebba..550cbc6a 100644 --- a/spm/__toolbox/__DEM/ADEM_visual.py +++ b/spm/__toolbox/__DEM/ADEM_visual.py @@ -2,7 +2,7 @@ def ADEM_visual(*args, **kwargs): - """ + r""" DEM demo for active inference (i.e. action-perception optimisation of free energy). This simulation calls on spm_ADEM to simulate visual sampling of the world and demonstrate retinal stabilisation or visual tracking. We @@ -16,9 +16,12 @@ def ADEM_visual(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/ADEM_visual.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/ADEM_visual.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ADEM_visual", *args, **kwargs, nargout=0) diff --git a/spm/__toolbox/__DEM/ADEM_writing.py b/spm/__toolbox/__DEM/ADEM_writing.py index f72fe062..715b65fd 100644 --- a/spm/__toolbox/__DEM/ADEM_writing.py +++ b/spm/__toolbox/__DEM/ADEM_writing.py @@ -2,7 +2,7 @@ def ADEM_writing(*args, **kwargs): - """ + r""" This demo illustrates how action can fulfill prior expectations by explaining away sensory prediction errors prescribed by desired movement trajectories. In this example a two-joint arm follows a stable @@ -13,9 +13,12 @@ def ADEM_writing(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/ADEM_writing.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/ADEM_writing.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ADEM_writing", *args, **kwargs, nargout=0) diff --git a/spm/__toolbox/__DEM/ALAP_demo_attenuation.py b/spm/__toolbox/__DEM/ALAP_demo_attenuation.py index cd3339f3..9a6cbe2d 100644 --- a/spm/__toolbox/__DEM/ALAP_demo_attenuation.py +++ b/spm/__toolbox/__DEM/ALAP_demo_attenuation.py @@ -2,7 +2,7 @@ def ALAP_demo_attenuation(*args, **kwargs): - """ + r""" This demonstration illustrates context or state-dependent precision (i.e. attention), which is necessary to disambiguate between sensations caused exogenously and self-generated sensations. In brief, it is @@ -18,9 +18,12 @@ def ALAP_demo_attenuation(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/ALAP_demo_attenuation.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/ALAP_demo_attenuation.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ALAP_demo_attenuation", *args, **kwargs, nargout=0) diff --git a/spm/__toolbox/__DEM/DATA_COVID_JHU.py b/spm/__toolbox/__DEM/DATA_COVID_JHU.py index c924b1c0..2f3a1ae6 100644 --- a/spm/__toolbox/__DEM/DATA_COVID_JHU.py +++ b/spm/__toolbox/__DEM/DATA_COVID_JHU.py @@ -2,7 +2,7 @@ def DATA_COVID_JHU(*args, **kwargs): - """ + r""" Data retrieval function for COVID modelling FORMAT data = DATA_COVID_JHU(n) @@ -40,9 +40,12 @@ def DATA_COVID_JHU(*args, **kwargs): Copyright (C) 2020 Wellcome Centre for Human Neuroimaging - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/DATA_COVID_JHU.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/DATA_COVID_JHU.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("DATA_COVID_JHU", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/DATA_COVID_UK.py b/spm/__toolbox/__DEM/DATA_COVID_UK.py index a6df7d7f..87e05e15 100644 --- a/spm/__toolbox/__DEM/DATA_COVID_UK.py +++ b/spm/__toolbox/__DEM/DATA_COVID_UK.py @@ -2,7 +2,7 @@ def DATA_COVID_UK(*args, **kwargs): - """ + r""" Data retrieval function for COVID modelling (UK) FORMAT [Y,R] = DATA_COVID_UK(country) @@ -45,9 +45,12 @@ def DATA_COVID_UK(*args, **kwargs): Copyright (C) 2020 Wellcome Centre for Human Neuroimaging - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/DATA_COVID_UK.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/DATA_COVID_UK.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("DATA_COVID_UK", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/DATA_COVID_US.py b/spm/__toolbox/__DEM/DATA_COVID_US.py index e3251b3e..0cfad54d 100644 --- a/spm/__toolbox/__DEM/DATA_COVID_US.py +++ b/spm/__toolbox/__DEM/DATA_COVID_US.py @@ -2,7 +2,7 @@ def DATA_COVID_US(*args, **kwargs): - """ + r""" Data retrieval function for COVID modelling FORMAT [Y,Data] = DATA_COVID_US @@ -28,9 +28,12 @@ def DATA_COVID_US(*args, **kwargs): Copyright (C) 2020 Wellcome Centre for Human Neuroimaging - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/DATA_COVID_US.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/DATA_COVID_US.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("DATA_COVID_US", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/DATA_WID_data.py b/spm/__toolbox/__DEM/DATA_WID_data.py index d2b175ce..c49ba97b 100644 --- a/spm/__toolbox/__DEM/DATA_WID_data.py +++ b/spm/__toolbox/__DEM/DATA_WID_data.py @@ -2,7 +2,7 @@ def DATA_WID_data(*args, **kwargs): - """ + r""" Data retrieval function for COVID modelling FORMAT D = DATA_WID_data @@ -13,9 +13,12 @@ def DATA_WID_data(*args, **kwargs): Copyright (C) 2020 Wellcome Centre for Human Neuroimaging - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/DATA_WID_data.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/DATA_WID_data.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("DATA_WID_data", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/DEMO_AI_NLSI.py b/spm/__toolbox/__DEM/DEMO_AI_NLSI.py index 8d1ef4dc..81e846d2 100644 --- a/spm/__toolbox/__DEM/DEMO_AI_NLSI.py +++ b/spm/__toolbox/__DEM/DEMO_AI_NLSI.py @@ -2,7 +2,7 @@ def DEMO_AI_NLSI(*args, **kwargs): - """ + r""" Demo of active inference for trust games __________________________________________________________________________ @@ -12,9 +12,12 @@ def DEMO_AI_NLSI(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/DEMO_AI_NLSI.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/DEMO_AI_NLSI.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("DEMO_AI_NLSI", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/DEMO_BAYES_FACTORS.py b/spm/__toolbox/__DEM/DEMO_BAYES_FACTORS.py index be94c6ff..be43c66a 100644 --- a/spm/__toolbox/__DEM/DEMO_BAYES_FACTORS.py +++ b/spm/__toolbox/__DEM/DEMO_BAYES_FACTORS.py @@ -2,7 +2,7 @@ def DEMO_BAYES_FACTORS(*args, **kwargs): - """ + r""" FORMAT DEMO_BAYES_FACTORS(pC,hE,hC,N) Demonstration Bayes factors and classical p-values -------------------------------------------------------------------------- @@ -26,9 +26,12 @@ def DEMO_BAYES_FACTORS(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/DEMO_BAYES_FACTORS.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/DEMO_BAYES_FACTORS.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("DEMO_BAYES_FACTORS", *args, **kwargs, nargout=0) diff --git a/spm/__toolbox/__DEM/DEMO_BMR_PEB.py b/spm/__toolbox/__DEM/DEMO_BMR_PEB.py index 355cee72..3f2c7f8a 100644 --- a/spm/__toolbox/__DEM/DEMO_BMR_PEB.py +++ b/spm/__toolbox/__DEM/DEMO_BMR_PEB.py @@ -2,7 +2,7 @@ def DEMO_BMR_PEB(*args, **kwargs): - """ + r""" Demonstration routine for empirical Bayes and Bayesian model reduction -------------------------------------------------------------------------- This routine illustrates the use of Bayesian model reduction when @@ -37,9 +37,12 @@ def DEMO_BMR_PEB(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/DEMO_BMR_PEB.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/DEMO_BMR_PEB.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("DEMO_BMR_PEB", *args, **kwargs, nargout=0) diff --git a/spm/__toolbox/__DEM/DEMO_CVA_RSA.py b/spm/__toolbox/__DEM/DEMO_CVA_RSA.py index 1ae6677f..083a9025 100644 --- a/spm/__toolbox/__DEM/DEMO_CVA_RSA.py +++ b/spm/__toolbox/__DEM/DEMO_CVA_RSA.py @@ -2,7 +2,7 @@ def DEMO_CVA_RSA(*args, **kwargs): - """ + r""" Canonical Variate Analysis and representational similarity analysis FORMAT RSA = DEMO_CVA_RSA @@ -74,9 +74,12 @@ def DEMO_CVA_RSA(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/DEMO_CVA_RSA.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/DEMO_CVA_RSA.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("DEMO_CVA_RSA", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/DEMO_DCM_MB.py b/spm/__toolbox/__DEM/DEMO_DCM_MB.py index 4e42b88d..ac91745a 100644 --- a/spm/__toolbox/__DEM/DEMO_DCM_MB.py +++ b/spm/__toolbox/__DEM/DEMO_DCM_MB.py @@ -2,7 +2,7 @@ def DEMO_DCM_MB(*args, **kwargs): - """ + r""" This demo uses the notion of Markov blankets and the renormalisation group to evaluate the coupling among neuronal systems at increasing spatial scales. The underlying generative model is based upon the @@ -52,9 +52,12 @@ def DEMO_DCM_MB(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/DEMO_DCM_MB.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/DEMO_DCM_MB.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("DEMO_DCM_MB", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/DEMO_DCM_PEB.py b/spm/__toolbox/__DEM/DEMO_DCM_PEB.py index b9ffff36..25e5e423 100644 --- a/spm/__toolbox/__DEM/DEMO_DCM_PEB.py +++ b/spm/__toolbox/__DEM/DEMO_DCM_PEB.py @@ -2,7 +2,7 @@ def DEMO_DCM_PEB(*args, **kwargs): - """ + r""" Test routine to check group DCM for electrophysiology -------------------------------------------------------------------------- This routine illustrates the use of Bayesian model reduction when @@ -27,9 +27,12 @@ def DEMO_DCM_PEB(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/DEMO_DCM_PEB.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/DEMO_DCM_PEB.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("DEMO_DCM_PEB", *args, **kwargs, nargout=0) diff --git a/spm/__toolbox/__DEM/DEMO_DCM_PEB_FIT.py b/spm/__toolbox/__DEM/DEMO_DCM_PEB_FIT.py index 8af229a4..166b3c8f 100644 --- a/spm/__toolbox/__DEM/DEMO_DCM_PEB_FIT.py +++ b/spm/__toolbox/__DEM/DEMO_DCM_PEB_FIT.py @@ -2,7 +2,7 @@ def DEMO_DCM_PEB_FIT(*args, **kwargs): - """ + r""" Test routine to check group DCM for electrophysiology -------------------------------------------------------------------------- This routine illustrates the use of Bayesian model reduction when @@ -21,9 +21,12 @@ def DEMO_DCM_PEB_FIT(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/DEMO_DCM_PEB_FIT.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/DEMO_DCM_PEB_FIT.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("DEMO_DCM_PEB_FIT", *args, **kwargs, nargout=0) diff --git a/spm/__toolbox/__DEM/DEMO_GROUP_PEB.py b/spm/__toolbox/__DEM/DEMO_GROUP_PEB.py index 27d8ecfa..6ef2a19d 100644 --- a/spm/__toolbox/__DEM/DEMO_GROUP_PEB.py +++ b/spm/__toolbox/__DEM/DEMO_GROUP_PEB.py @@ -2,7 +2,7 @@ def DEMO_GROUP_PEB(*args, **kwargs): - """ + r""" Demonstration routine for empirical Bayes and Bayesian model reduction -------------------------------------------------------------------------- This routine illustrates the use of Bayesian model reduction when @@ -41,9 +41,12 @@ def DEMO_GROUP_PEB(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/DEMO_GROUP_PEB.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/DEMO_GROUP_PEB.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("DEMO_GROUP_PEB", *args, **kwargs, nargout=0) diff --git a/spm/__toolbox/__DEM/DEMO_Lindley_paradox.py b/spm/__toolbox/__DEM/DEMO_Lindley_paradox.py index 52d94122..889e6125 100644 --- a/spm/__toolbox/__DEM/DEMO_Lindley_paradox.py +++ b/spm/__toolbox/__DEM/DEMO_Lindley_paradox.py @@ -2,7 +2,7 @@ def DEMO_Lindley_paradox(*args, **kwargs): - """ + r""" FORMAT DEMO_BAYES_FACTORS(pC,hE,hC) Demonstration Bayes factors and classical p-values -------------------------------------------------------------------------- @@ -16,9 +16,12 @@ def DEMO_Lindley_paradox(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/DEMO_Lindley_paradox.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/DEMO_Lindley_paradox.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("DEMO_Lindley_paradox", *args, **kwargs, nargout=0) diff --git a/spm/__toolbox/__DEM/DEMO_MDP_Stroop.py b/spm/__toolbox/__DEM/DEMO_MDP_Stroop.py index a083c6ab..19af34b7 100644 --- a/spm/__toolbox/__DEM/DEMO_MDP_Stroop.py +++ b/spm/__toolbox/__DEM/DEMO_MDP_Stroop.py @@ -2,7 +2,7 @@ def DEMO_MDP_Stroop(*args, **kwargs): - """ + r""" This demo uses a deep temporal partially observed Markov decision process to simulate performance of a Stroop task. This task is used to illustrate a formulation of cognitive or mental effort. The synthetic @@ -16,9 +16,12 @@ def DEMO_MDP_Stroop(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/DEMO_MDP_Stroop.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/DEMO_MDP_Stroop.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("DEMO_MDP_Stroop", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/DEMO_MDP_Understanding.py b/spm/__toolbox/__DEM/DEMO_MDP_Understanding.py index b775ce21..98afa88b 100644 --- a/spm/__toolbox/__DEM/DEMO_MDP_Understanding.py +++ b/spm/__toolbox/__DEM/DEMO_MDP_Understanding.py @@ -2,7 +2,7 @@ def DEMO_MDP_Understanding(*args, **kwargs): - """ + r""" This demo uses a hierarchical version of the ubiquitous T-maze demo, in which the agent is equipped with a space of hypotheses about why it chose to act in a certain way. This means that, when queried, it is able to @@ -12,9 +12,12 @@ def DEMO_MDP_Understanding(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/DEMO_MDP_Understanding.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/DEMO_MDP_Understanding.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("DEMO_MDP_Understanding", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/DEMO_MDP_maze.py b/spm/__toolbox/__DEM/DEMO_MDP_maze.py index 3c3b27c0..866e9bb1 100644 --- a/spm/__toolbox/__DEM/DEMO_MDP_maze.py +++ b/spm/__toolbox/__DEM/DEMO_MDP_maze.py @@ -2,7 +2,7 @@ def DEMO_MDP_maze(*args, **kwargs): - """ + r""" Demo of mixed continuous and discrete state space modelling __________________________________________________________________________ @@ -44,9 +44,12 @@ def DEMO_MDP_maze(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/DEMO_MDP_maze.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/DEMO_MDP_maze.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("DEMO_MDP_maze", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/DEMO_MDP_maze_X.py b/spm/__toolbox/__DEM/DEMO_MDP_maze_X.py index b2b57d3c..d64bd839 100644 --- a/spm/__toolbox/__DEM/DEMO_MDP_maze_X.py +++ b/spm/__toolbox/__DEM/DEMO_MDP_maze_X.py @@ -2,7 +2,7 @@ def DEMO_MDP_maze_X(*args, **kwargs): - """ + r""" Demo of sophisticated inference and novelty (i.e.,planning to learn) __________________________________________________________________________ @@ -28,9 +28,12 @@ def DEMO_MDP_maze_X(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/DEMO_MDP_maze_X.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/DEMO_MDP_maze_X.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("DEMO_MDP_maze_X", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/DEMO_MDP_maze_XXX.py b/spm/__toolbox/__DEM/DEMO_MDP_maze_XXX.py new file mode 100644 index 00000000..631918db --- /dev/null +++ b/spm/__toolbox/__DEM/DEMO_MDP_maze_XXX.py @@ -0,0 +1,42 @@ +from spm._runtime import Runtime + + +def DEMO_MDP_maze_XXX(*args, **kwargs): + r""" + Demo of inductive inference based on a learned likelihood mapping + __________________________________________________________________________ + + This demonstration of active inference focuses on navigation and + planning. The idea is to demonstrate how epistemic foraging and goal + (target) directed behaviour are integrated in the minimisation of + expected free energy. In this illustration, and 10 x 10 maze is learned + through novelty-driven evidence accumulation - to learn the likelihood + mapping between hidden states (locations in the maze) and outcomes + (whether the current location is aversive or not). This accumulated + experience is then used to plan a path from a start to an end (target + location) under a task set specified by prior preferences over locations. + + This version uses a belief propagation scheme (with deep policy searches) + to illustrate intentional behaviour. This search is constrained using + inductive inference; namely, placing priors over the subsequent states + that preclude regimes of state space that cannot access the final state. + These priors rest upon a time reversed protocol under allowable (learned) + state transitions. In effect, priors over the final state contextualise + priors over outcomes by precluding states that lie ahead, on a path of + least action that minimises expected free energy.The code below can be + edited to demonstrate different kinds of behaviour, under different + preferences, policy depth and precisions. + + see also: spm_MPD_VB_XXX.m + __________________________________________________________________________ + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/DEMO_MDP_maze_XXX.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("DEMO_MDP_maze_XXX", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/DEMO_MDP_questions.py b/spm/__toolbox/__DEM/DEMO_MDP_questions.py index 54a70a07..da039030 100644 --- a/spm/__toolbox/__DEM/DEMO_MDP_questions.py +++ b/spm/__toolbox/__DEM/DEMO_MDP_questions.py @@ -2,7 +2,7 @@ def DEMO_MDP_questions(*args, **kwargs): - """ + r""" Demo of active inference for visual salience __________________________________________________________________________ @@ -40,9 +40,12 @@ def DEMO_MDP_questions(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/DEMO_MDP_questions.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/DEMO_MDP_questions.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("DEMO_MDP_questions", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/DEMO_MDP_voice.py b/spm/__toolbox/__DEM/DEMO_MDP_voice.py index 2da0a01f..e6c732bb 100644 --- a/spm/__toolbox/__DEM/DEMO_MDP_voice.py +++ b/spm/__toolbox/__DEM/DEMO_MDP_voice.py @@ -2,47 +2,54 @@ def DEMO_MDP_voice(*args, **kwargs): - """ + r""" Active inference in conversation __________________________________________________________________________ - This routine provide simulations of reading to demonstrate deep temporal - generative models. It builds upon the scene construction simulations to - equip the generative model with a second hierarchical level. In effect, - this creates an agent that can accumulate evidence at the second level - based upon epistemic foraging at the first. In brief, the agent has to - categorise a sentence or narrative into one of two categories (happy or - sad), where it entertains six possible sentences. Each sentence comprises - four words, which are themselves constituted by two pictures or graphemes - These are the same visual outcomes used in previous illustrations of - scene construction and saccadic searches. - - Here, the agent has policies at two levels. The second level policy (with - just one step into the future) allows it to either look at the next word - or stay on the current page and make a decision. Concurrently, a first - level policy entails one of four saccadic eye movements to each quadrant - of the current page, where it will sample a particular grapheme. - - This provides a rough simulation of reading - that can be made more - realistic by terminating first level active inference, when there can be - no further increase in expected free energy (i.e., all uncertainty about - the current word has been resolved). The subsequent inferred hidden - states then become the outcome for the level above. - - To illustrate the schemes biological plausibility, one can change the - agent's prior beliefs and repeat the reading sequence under violations of - either local (whether the graphemes are flipped vertically) or globally - (whether the sentence is surprising) expectations. This produces a - mismatch negativity (MMN) under local violations) and a MMN with a - P300 with global violations. + This demonstration routine replicates the 20 questions demonstration, in + which to agents ask each other questions to resolve uncertainty about a + scene that is seen by only one of the agents. This replication replaces + one of the agents with the user by equipping the generative model with a + fast (first) hierarchical level. This effectively maps from spoken + dialogue (i.e., acoustic streams) to the lexical outcomes generated by + the semantic (second) level of the model. The semantic level is, in turn, + generating outcomes (and receiving empirical priors) from a conceptual + (third) level. + + In effect, this provides a deep (three level) generative model that + covers fast timescales of evidence accumulation, implicit in voice + recognition (and generation), to the slow belief updating at the + conceptual level – resolving uncertainty about the configuration of the + scene. + + As in the original 20 questions demo, this scene comprises two objects, + where the upper and lower objects can be squares or triangles – and can + be red or green. In this demo, the agent first asks questions that the + user can respond to (when presented with a recording prompt). The ensuing + belief updating is shown in terms of posterior beliefs about the + configuration of the scheme (i.e., large objects in the lower left of the + appropriate graphics window). The true scene is depicted by the smaller + graphics. By changing various options, one can also plot the segmentation + of the audio file input during active listening. We then switch roles so + that the user has to ask questions to discern the hidden configuration of + the objects. + + The subfield of the MDP structure called VOX determines who generates + (and recognises) spoken words at each of the three trials; i.e., + preparatory, question and answer trials. There is also an option to train + the prosody of the exchanges by repeating questions and answers if the + options variable TRAIN is switched on. see also: DEM_demo_MDP_habits.m and spm_MPD_VB_X.m __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/DEMO_MDP_voice.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/DEMO_MDP_voice.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("DEMO_MDP_voice", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/DEMO_SLR.py b/spm/__toolbox/__DEM/DEMO_SLR.py index f7135edc..4a7f59e3 100644 --- a/spm/__toolbox/__DEM/DEMO_SLR.py +++ b/spm/__toolbox/__DEM/DEMO_SLR.py @@ -2,7 +2,7 @@ def DEMO_SLR(*args, **kwargs): - """ + r""" Demo of sparse logistic regression. This demonstration routines illustrates the use of sparse acoustic regression (as implemented in spm_sparse_regression.m) to recover a small number of causes that best @@ -38,9 +38,12 @@ def DEMO_SLR(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/DEMO_SLR.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/DEMO_SLR.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("DEMO_SLR", *args, **kwargs, nargout=0) diff --git a/spm/__toolbox/__DEM/DEMO_niche_construction.py b/spm/__toolbox/__DEM/DEMO_niche_construction.py index 861d1d13..a02a181f 100644 --- a/spm/__toolbox/__DEM/DEMO_niche_construction.py +++ b/spm/__toolbox/__DEM/DEMO_niche_construction.py @@ -2,7 +2,7 @@ def DEMO_niche_construction(*args, **kwargs): - """ + r""" Demo of niche construction using active inference __________________________________________________________________________ @@ -35,9 +35,12 @@ def DEMO_niche_construction(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/DEMO_niche_construction.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/DEMO_niche_construction.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("DEMO_niche_construction", *args, **kwargs, nargout=0) diff --git a/spm/__toolbox/__DEM/DEM_Atari.py b/spm/__toolbox/__DEM/DEM_Atari.py new file mode 100644 index 00000000..0aee6e46 --- /dev/null +++ b/spm/__toolbox/__DEM/DEM_Atari.py @@ -0,0 +1,61 @@ +from spm._runtime import Runtime + + +def DEM_Atari(*args, **kwargs): + r""" + Structure learning from pixels + __________________________________________________________________________ + + This routine addresses the problem of learning a generative model from + pixels, under the constraints supplied by sparse rewards. The problem is + solved in a fast and frugal way using a structure learning approach based + upon a generalised Markov decision process (that treats states and their + paths as pairs of random variables, whose dynamics are encoded in + transition tensors). + + A key architectural aspect of these deep structures is an appeal to the + renormalisation group; in the sense that there is a recursive application + of grouping and reduction operators, as we move from one hierarchical + level to the next. These operate over both space and time: in the sense + that groups of pixels are jointly inferred over a short period of time; + such that the state any given level of the model generates the + instantaneous state and path (i.e., velocity) of a group of latent states + at the lower level. In these examples, the group operator effectively + tiles a lattice of latent states (and instantaneous paths) into little + contiguous squares. This necessary induces a separation of temporal + scales such as the states at the highest level see all the pixels at the + lowest level and, effectively,, encode a trajectory over to the 2^n + timesteps, where n is the depth of the model. + + Note that in this illustration, there is no learning of model parameters. + The structure is identified using a simple form of supervised structure + learning. This simple form conforms to the approach in machine learning, + in which random play is sporadically rewarded. By selecting episodes of + play (i.e., exemplar training data) that end with a reward, one can + emulate reinforcement learning with active model selection. This can be + read as replacing a scheme in which 'everything is presented but rewarded + sequences are learned' with the equivalent protocol in which 'rewarded + sequences are presented and everything is learned'. The resulting + structure is then sufficient to reproduce expert play; because this is + the kind of play that the model knows. + + One can finesse expert play by the use of inductive inference; provided + initial conditions or novel trajectories to be recognised as such, and + actively reconfigured to recognisable (expert trajectories) through + explicit action. Explicit action refers to (merely) reflexive active + inference; namely, selecting those actions that minimise free energy that + produce outcomes that match predicted outcomes. Here, the outcomes are + pixel-based outcomes. + __________________________________________________________________________ + Copyright (C) 2019 Wellcome Trust Centre for Neuroimaging + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/DEM_Atari.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("DEM_Atari", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/DEM_AtariI.py b/spm/__toolbox/__DEM/DEM_AtariI.py new file mode 100644 index 00000000..b3f13013 --- /dev/null +++ b/spm/__toolbox/__DEM/DEM_AtariI.py @@ -0,0 +1,38 @@ +from spm._runtime import Runtime + + +def DEM_AtariI(*args, **kwargs): + r""" + Structure learning from pixels + __________________________________________________________________________ + + This routine addresses the problem of learning a generative model from + pixels, under the constraints supplied by sparse rewards. The problem is + solved in a fast and frugal way using a structure learning approach based + upon a generalised Markov decision process (that treats states and their + paths as pairs of random variables, whose dynamics are encoded in + transition tensors). + + This version introduces the merging of new training data with a + previously learned RGM structure. This functionality is leveraged by + selectively merging new paths if they intersect with attracting set; + effectively, creating a daisy chain of paths that lead to rewarded states + (and elude costly states or constraints). This can be used to assimilate + new insets to an attracting set of paths generated by gameplay under + inductive inference. In principle, this affords a more robust RGM that + can accommodate multiple initial conditions and recognise paths that are + not in the original attracting set (e.g., induced by stochastic + transitions). + __________________________________________________________________________ + Copyright (C) 2019 Wellcome Trust Centre for Neuroimaging + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/DEM_AtariI.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("DEM_AtariI", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/DEM_AtariII.py b/spm/__toolbox/__DEM/DEM_AtariII.py new file mode 100644 index 00000000..3ce4b7f7 --- /dev/null +++ b/spm/__toolbox/__DEM/DEM_AtariII.py @@ -0,0 +1,37 @@ +from spm._runtime import Runtime + + +def DEM_AtariII(*args, **kwargs): + r""" + Structure learning from pixels + __________________________________________________________________________ + + This version of the Atari demos illustrates the use of multimodal streams + in a renormalising generative model. The first stream derives from pixels + reporting the state of the game that generates consequences in training + streams; here, proprioception (e.g., paddle location) rewards and + punishments. Fast structure learning is based on a long run of + pseudorandom play, picking out episodes that end in a reward, which are + appended or merged into the renormalising model (RGM). The second stage + of structure learning engages purposeful behaviour to learn the + transitions among rewarded episodes. Here, purposeful behaviour is + induced using expected cost at each level of the RGM and inductive + inference in the space of generalised states (i.e., episodes at the + highest level. Finally, the mapping from the leading stream (pixels) to + training streams is used to merge states at the highest level to compress + or reduce the model in a way that preserves the mutual information (i.e., + expected free energy) between cause (i.e., first stream episodes) and + consequences (i.e., policies, rewards and cost). + __________________________________________________________________________ + Copyright (C) 2019 Wellcome Trust Centre for Neuroimaging + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/DEM_AtariII.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("DEM_AtariIII", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/DEM_AtariIII.py b/spm/__toolbox/__DEM/DEM_AtariIII.py new file mode 100644 index 00000000..1789e719 --- /dev/null +++ b/spm/__toolbox/__DEM/DEM_AtariIII.py @@ -0,0 +1,61 @@ +from spm._runtime import Runtime + + +def DEM_AtariIII(*args, **kwargs): + r""" + de novo Structure learning — of pullback attractors — afrom pixels + __________________________________________________________________________ + + This routine illustrates the de novo learning of a state action policy — + and goal-directed behaviour using inductive inference under the ensuing + model. The approach is based upon the fast structure learning of dynamics + (i.e., transitions among generalised or deep states) that possess a + nonequilibrium steady-state distribution (NESS). This is guaranteed when + all states are transient states and there are no absorbing states. In + this example, random play is generated for 10,000 frames of a simplified + Atari game (Pong). The first thousand frames are then used to learn the + structure of a renormalising generative model; namely, the recursive + composition of states and paths specified by edges or dependencies (i.e., + indices of parents). The resulting structure is then used to accumulate + sequences of play that, by chance, include rewarded outcomes (precluding + costly or constrained outcomes). Following this active selection of + training data, the training data are used to accumulate transitions to, + and only to, the basins of attraction of goal states. When all goal + states lie in a basin of attraction — of other goal states — the + accumulation terminates. At this point, the dynamics possess a + nonequilibrium steady-state, which is used to reduce the model by + successively removing states with a low NESS density, until the emergence + of an absorbing state. + + The ensuing model is then demonstrated in generative mode by generating + (perfect) fantasy play. The model is then used for real gameplay by + installing the generative process in the model and using explicit action + to learn from any mistakes: inductive inference is used to find the path + of least action from one goal state to the next and new paths are + retained, provided they do not incur any costs. Finally, the model is + demonstrated after a final reduction or compression by retaining deep + (generalised) states that predict current and future actions. + + This form of de novo structure learning uses a generative model that + generates predictions in multiple streams. The principal (leading) stream + generates pixel data, while subsequent streams generate rewards, costs + and the consequences of action (e.g., proprioception or telemetry). By + having separate streams, one can find an efficient or reduced model that + preserves the mutual information between generalised states at the + highest level and future action. These deep states are effectively + multimodal and serve to couple pixel level states to action; thereby + affording an efficient state action policy — that is realised through + inductive inference. + __________________________________________________________________________ + Copyright (C) 2019 Wellcome Trust Centre for Neuroimaging + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/DEM_AtariIII.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("DEM_AtariIII", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/DEM_AtariIV.py b/spm/__toolbox/__DEM/DEM_AtariIV.py new file mode 100644 index 00000000..2c497ab5 --- /dev/null +++ b/spm/__toolbox/__DEM/DEM_AtariIV.py @@ -0,0 +1,65 @@ +from spm._runtime import Runtime + + +def DEM_AtariIV(*args, **kwargs): + r""" + de novo Structure learning — of pullback attractors — afrom pixels + __________________________________________________________________________ + + This routine illustrates the de novo learning of a state action policy — + and goal-directed behaviour using inductive inference under the ensuing + model. The approach is based upon the fast structure learning of dynamics + (i.e., transitions among generalised or deep states) that possess a + nonequilibrium steady-state distribution (NESS). This is guaranteed when + all states are transient states on a (pullback) attractor. In this + example, random play is generated for 10,000 frames of a simplified + arcade game. These are used to learn the structure of a renormalising + generative model; namely, the recursive composition of states and paths + specified by edges or dependencies (i.e., indices of parents). The + resulting structure is then used to accumulate sequences of random play + that, by chance, include rewarded outcomes. Following this active + selection the training data are used to accumulate + transitions to, and only to, the basins of attraction of goal states. + When all goal states lie in a basin of attraction — of other goal states + — the accumulation terminates. At this point, the dynamics possess a + nonequilibrium steady-state, which is used to reduce the model by + pruning away redundant states. + + This demonstration features an efficient self-[Eigen]reduction, using + the nonequilibrium steady-state distribution to evaluate the expected + reward. Generalised states are removed if the (analytic) gradient of + expected cost — with respect to the probability of transitions to the + state in question — is positive. + + The ensuing model is then demonstrated in generative mode by generating + (perfect) fantasy play. The model is then used for real gameplay by + installing the generative process in the model and using explicit action + to learn from any mistakes: inductive inference is used to find the path + of least action from one goal state to the next and new paths are + retained, provided they do not incur any costs. Finally, the model is + demonstrated after a final reduction or compression by retaining deep + (generalised) states that predict current and future actions. + + This form of de novo structure learning uses a generative model that + generates predictions in multiple streams. The principal (leading) stream + generates pixel data, while subsequent streams generate rewards, costs + and the consequences of action (e.g., proprioception or telemetry). By + having separate streams, one can find an efficient or reduced model that + preserves the mutual information between generalised states at the + highest level and future action. These deep states are effectively + multimodal and serve to couple pixel level states to action; thereby + affording an efficient state action policy — that is realised through + inductive inference. + __________________________________________________________________________ + Copyright (C) 2019 Wellcome Trust Centre for Neuroimaging + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/DEM_AtariIV.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("DEM_AtariIV", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/DEM_CLIMATE_India.py b/spm/__toolbox/__DEM/DEM_CLIMATE_India.py index 009c22fe..4955a203 100644 --- a/spm/__toolbox/__DEM/DEM_CLIMATE_India.py +++ b/spm/__toolbox/__DEM/DEM_CLIMATE_India.py @@ -2,7 +2,7 @@ def DEM_CLIMATE_India(*args, **kwargs): - """ + r""" FORMAT DCM = DEM_CLIMATE_India Demonstration of climate and sustainability modelling @@ -88,9 +88,12 @@ def DEM_CLIMATE_India(*args, **kwargs): Copyright (C) 2020 Wellcome Centre for Human Neuroimaging - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/DEM_CLIMATE_India.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/DEM_CLIMATE_India.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("DEM_CLIMATE_India", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/DEM_COVID.py b/spm/__toolbox/__DEM/DEM_COVID.py index 2037ca1d..b2cccf0d 100644 --- a/spm/__toolbox/__DEM/DEM_COVID.py +++ b/spm/__toolbox/__DEM/DEM_COVID.py @@ -2,7 +2,7 @@ def DEM_COVID(*args, **kwargs): - """ + r""" FORMAT [DCM,GCM] = DEM_COVID(country,data) data - data to model [default: data = DATA_COVID_JHU] country - country to model [default: 'United Kingdom') @@ -26,9 +26,12 @@ def DEM_COVID(*args, **kwargs): Copyright (C) 2020 Wellcome Centre for Human Neuroimaging - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/DEM_COVID.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/DEM_COVID.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("DEM_COVID", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/DEM_COVID_AGE.py b/spm/__toolbox/__DEM/DEM_COVID_AGE.py index 90802f05..dba057bd 100644 --- a/spm/__toolbox/__DEM/DEM_COVID_AGE.py +++ b/spm/__toolbox/__DEM/DEM_COVID_AGE.py @@ -2,7 +2,7 @@ def DEM_COVID_AGE(*args, **kwargs): - """ + r""" FORMAT [DCM] = DEM_COVID_AGE LA - local authority @@ -19,9 +19,12 @@ def DEM_COVID_AGE(*args, **kwargs): Copyright (C) 2020 Wellcome Centre for Human Neuroimaging - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/DEM_COVID_AGE.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/DEM_COVID_AGE.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("DEM_COVID_AGE", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/DEM_COVID_COUNTRY.py b/spm/__toolbox/__DEM/DEM_COVID_COUNTRY.py index f04e287c..8ffd5c55 100644 --- a/spm/__toolbox/__DEM/DEM_COVID_COUNTRY.py +++ b/spm/__toolbox/__DEM/DEM_COVID_COUNTRY.py @@ -2,7 +2,7 @@ def DEM_COVID_COUNTRY(*args, **kwargs): - """ + r""" FORMAT DCM = DEM_COVID_COUNTRY(country) country - country to model [default: 'United Kingdom') T - prediction period (days) @@ -20,9 +20,12 @@ def DEM_COVID_COUNTRY(*args, **kwargs): Copyright (C) 2020 Wellcome Centre for Human Neuroimaging - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/DEM_COVID_COUNTRY.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/DEM_COVID_COUNTRY.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("DEM_COVID_COUNTRY", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/DEM_COVID_DASH.py b/spm/__toolbox/__DEM/DEM_COVID_DASH.py index abef4d8f..796422a6 100644 --- a/spm/__toolbox/__DEM/DEM_COVID_DASH.py +++ b/spm/__toolbox/__DEM/DEM_COVID_DASH.py @@ -2,7 +2,7 @@ def DEM_COVID_DASH(*args, **kwargs): - """ + r""" FORMAT [DCM] = DEM_COVID_DASH Demonstration of COVID-19 modelling using variational Laplace @@ -48,9 +48,12 @@ def DEM_COVID_DASH(*args, **kwargs): DEM_COVID_DASH.m - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/DEM_COVID_DASH.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/DEM_COVID_DASH.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("DEM_COVID_DASH", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/DEM_COVID_I.py b/spm/__toolbox/__DEM/DEM_COVID_I.py index 76ab030f..d87a0f66 100644 --- a/spm/__toolbox/__DEM/DEM_COVID_I.py +++ b/spm/__toolbox/__DEM/DEM_COVID_I.py @@ -2,7 +2,7 @@ def DEM_COVID_I(*args, **kwargs): - """ + r""" FORMAT DEM_COVID_I data - data to model [default: data = DATA_COVID_JHU] country - country to model [default: 'United Kingdom') @@ -20,9 +20,12 @@ def DEM_COVID_I(*args, **kwargs): Copyright (C) 2020 Wellcome Centre for Human Neuroimaging - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/DEM_COVID_I.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/DEM_COVID_I.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("DEM_COVID_I", *args, **kwargs, nargout=0) diff --git a/spm/__toolbox/__DEM/DEM_COVID_LTLA.py b/spm/__toolbox/__DEM/DEM_COVID_LTLA.py index f2688455..3989cfc9 100644 --- a/spm/__toolbox/__DEM/DEM_COVID_LTLA.py +++ b/spm/__toolbox/__DEM/DEM_COVID_LTLA.py @@ -2,7 +2,7 @@ def DEM_COVID_LTLA(*args, **kwargs): - """ + r""" FORMAT [DCM] = DEM_COVID_LTLA(LA) LA - local authority @@ -19,9 +19,12 @@ def DEM_COVID_LTLA(*args, **kwargs): Copyright (C) 2020 Wellcome Centre for Human Neuroimaging - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/DEM_COVID_LTLA.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/DEM_COVID_LTLA.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("DEM_COVID_LTLA", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/DEM_COVID_MASKS.py b/spm/__toolbox/__DEM/DEM_COVID_MASKS.py new file mode 100644 index 00000000..7d0d943d --- /dev/null +++ b/spm/__toolbox/__DEM/DEM_COVID_MASKS.py @@ -0,0 +1,20 @@ +from spm._runtime import Runtime + + +def DEM_COVID_MASKS(*args, **kwargs): + r""" + Returns the probability of mask wearing at a particular day + FORMAT [X] = DEM_COVID_MASKS(i) + = datenum('dd-mmm-yyyy') + __________________________________________________________________________ + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/DEM_COVID_MASKS.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("DEM_COVID_MASKS", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/DEM_COVID_S.py b/spm/__toolbox/__DEM/DEM_COVID_S.py index a12f9cca..10ad4df9 100644 --- a/spm/__toolbox/__DEM/DEM_COVID_S.py +++ b/spm/__toolbox/__DEM/DEM_COVID_S.py @@ -2,7 +2,7 @@ def DEM_COVID_S(*args, **kwargs): - """ + r""" FORMAT [DCM] = DEM_COVID_S Demonstration of COVID-19 modelling with stratified populations @@ -26,9 +26,12 @@ def DEM_COVID_S(*args, **kwargs): Copyright (C) 2020 Wellcome Centre for Human Neuroimaging - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/DEM_COVID_S.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/DEM_COVID_S.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("DEM_COVID_S", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/DEM_COVID_T.py b/spm/__toolbox/__DEM/DEM_COVID_T.py index fd055b9e..0c69396c 100644 --- a/spm/__toolbox/__DEM/DEM_COVID_T.py +++ b/spm/__toolbox/__DEM/DEM_COVID_T.py @@ -2,7 +2,7 @@ def DEM_COVID_T(*args, **kwargs): - """ + r""" FORMAT [DCM] = DEM_COVID_T Demonstration of COVID-19 modelling using variational Laplace @@ -34,9 +34,12 @@ def DEM_COVID_T(*args, **kwargs): Copyright (C) 2020 Wellcome Centre for Human Neuroimaging - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/DEM_COVID_T.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/DEM_COVID_T.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("DEM_COVID_T", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/DEM_COVID_UK.py b/spm/__toolbox/__DEM/DEM_COVID_UK.py index 676c81f2..27808ae3 100644 --- a/spm/__toolbox/__DEM/DEM_COVID_UK.py +++ b/spm/__toolbox/__DEM/DEM_COVID_UK.py @@ -2,7 +2,7 @@ def DEM_COVID_UK(*args, **kwargs): - """ + r""" FORMAT DCM = DEM_COVID_UK Demonstration of COVID-19 modelling using variational Laplace @@ -18,9 +18,12 @@ def DEM_COVID_UK(*args, **kwargs): Copyright (C) 2020 Wellcome Centre for Human Neuroimaging - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/DEM_COVID_UK.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/DEM_COVID_UK.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("DEM_COVID_UK", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/DEM_COVID_UK4.py b/spm/__toolbox/__DEM/DEM_COVID_UK4.py index 39f5b209..9e58bfa0 100644 --- a/spm/__toolbox/__DEM/DEM_COVID_UK4.py +++ b/spm/__toolbox/__DEM/DEM_COVID_UK4.py @@ -2,7 +2,7 @@ def DEM_COVID_UK4(*args, **kwargs): - """ + r""" FORMAT DCM = DEM_COVID_UK4 Demonstration of COVID-19 modelling using variational Laplace (4 groups) @@ -15,9 +15,12 @@ def DEM_COVID_UK4(*args, **kwargs): Copyright (C) 2020 Wellcome Centre for Human Neuroimaging - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/DEM_COVID_UK4.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/DEM_COVID_UK4.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("DEM_COVID_UK4", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/DEM_COVID_UTLA.py b/spm/__toolbox/__DEM/DEM_COVID_UTLA.py index dbb46a5c..a0ff5f85 100644 --- a/spm/__toolbox/__DEM/DEM_COVID_UTLA.py +++ b/spm/__toolbox/__DEM/DEM_COVID_UTLA.py @@ -2,7 +2,7 @@ def DEM_COVID_UTLA(*args, **kwargs): - """ + r""" FORMAT [DCM] = DEM_COVID_UTLA Demonstration of COVID-19 modelling with stratified populations @@ -21,9 +21,12 @@ def DEM_COVID_UTLA(*args, **kwargs): Copyright (C) 2020 Wellcome Centre for Human Neuroimaging - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/DEM_COVID_UTLA.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/DEM_COVID_UTLA.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("DEM_COVID_UTLA", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/DEM_COVID_WID.py b/spm/__toolbox/__DEM/DEM_COVID_WID.py index d21070aa..3d77c2dc 100644 --- a/spm/__toolbox/__DEM/DEM_COVID_WID.py +++ b/spm/__toolbox/__DEM/DEM_COVID_WID.py @@ -2,7 +2,7 @@ def DEM_COVID_WID(*args, **kwargs): - """ + r""" FORMAT DCM = DEM_COVID_WID Demonstration of COVID-19 modelling using variational Laplace @@ -39,9 +39,12 @@ def DEM_COVID_WID(*args, **kwargs): Copyright (C) 2020 Wellcome Centre for Human Neuroimaging - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/DEM_COVID_WID.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/DEM_COVID_WID.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("DEM_COVID_WID", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/DEM_COVID_X.py b/spm/__toolbox/__DEM/DEM_COVID_X.py index 4315a9a0..f51c8c29 100644 --- a/spm/__toolbox/__DEM/DEM_COVID_X.py +++ b/spm/__toolbox/__DEM/DEM_COVID_X.py @@ -2,7 +2,7 @@ def DEM_COVID_X(*args, **kwargs): - """ + r""" FORMAT [DCM] = DEM_COVID_X(Y,data) data - data to model [default: data = DATA_COVID_US] @@ -45,9 +45,12 @@ def DEM_COVID_X(*args, **kwargs): Copyright (C) 2020 Wellcome Centre for Human Neuroimaging - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/DEM_COVID_X.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/DEM_COVID_X.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("DEM_COVID_X", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/DEM_Diabetes.py b/spm/__toolbox/__DEM/DEM_Diabetes.py new file mode 100644 index 00000000..283f2f28 --- /dev/null +++ b/spm/__toolbox/__DEM/DEM_Diabetes.py @@ -0,0 +1,89 @@ +from spm._runtime import Runtime + + +def DEM_Diabetes(*args, **kwargs): + r""" + dynamic causal model of Indian-type diabetes + __________________________________________________________________________ + + This demonstration routine illustrates a dynamic causal model of + Indian-type diabetes, with a focus on genetic and epigenetic mechanisms. + Technically, it illustrates the use of population density dynamics + modelled with a Master Equation; namely, a probability transition matrix + that determines the probability of moving from one state to another. + Crucially, these states are discrete, assuming that a person sampled at + random is in one of a finite number of states. These states can be + factored into a number of relevant dimensions (e.g., age, genotype, et + cetera), creating a state space of cells in a high dimensional array. The + population dynamics are determined by the (sparse) probabilities of + moving from one cell to another cell, generally expressed as rate + constants (i.e., the inverse of the time a particular cell is occupied). + Equipped with the transition matrix one can then solve the master + equation over time where, some parameters can change in response to + exogenous causes. This provides the basis for a generative model that is + completed by a likelihood mapping from the probability distribution over + states to observations over time. Generally, these observations are + nonnegative prevalences that can be modelled with a Gaussian likelihood, + based upon a binomial approximation. In this example, the ensuing + generative model is inverted using variational Laplace: a generic + variational scheme that uses a gradient descent on variational free + energy under Gaussian assumptions about free parameters and + hyperparameters; namely, transition rates and the precision of random + sampling effects. Priors over the model parameters are specified in terms + of their means and variances. + + This demo sets up the priors over parameters that are used to generate + timeseries to which appropriate noise is added. These synthetic data are + inverted to illustrate the recovery of the parameters from sparse data + that are sampled asynchronously; here, every few years over a century. + + The generative model includes all the states that are necessary to + generate population demographics, clinical data and metrics of economic + or agricultural activity. In turn, fluctuations in the state of the + population are caused by discrete events (i.e., famines) that change the + transition from a food secure to an insecure state. The effects of food + insecurity are modelled through an epigenetic mechanism, in which + interactions between the environment (food security) and genetics (high + versus low genotypic risk) are mediated at the point of birth. This + mediation is modelled by a simple form of replicator dynamics, in which + the rate of moving from a gene pool to a particular phenotype (high, + typical or low BMI) depends on both the environment (food security) and + genotype. This replication rate can be regarded as reproductive fitness, + where having a low risk (i.e., normal) genotype reduces reproductive + fitness when, and only when food insecure. The replicator dynamics are + situated in transitions among age groups, from child to adults and then + old. Mortality entails moving to the gene pool that slowly equilibriates + over time. This means that replicator dynamics are mediated by + replication rates that themselves depend upon genetic-environment + interactions. The clinical phenotype inherits from the BMI phenotype, in + the sense that the probability of moving from healthy to diabetic is + increased for a low BMI phenotype (when at high genetic risk). This model + also features direct environment-phenotype interactions; for example, + food security determines the transitions between BMI phenotypes, with the + potential risk of obesity in food secure states. In addition, under food + insecurity, there is a probability of dying and moving to the pool state. + The transition rates among the age groups determine the number of people + in each group and the composition of phenotypes and genotypes that enter + the genetic pool. + + Although a gross simplification, this model features the minimum number + of states necessary to model interactions between genotype, phenotype and + environment in a way that incorporates age-dependent effects at the + population level. With the probability of being in any particular + combination of such states, one can then generate population data that + are, in principle, measurable; thereby affording the opportunity to + estimate the underlying genetic and epigenetic contributions to disease + burden, where the genetic and epigenetic legacies are expressed within + and between generations, respectively. + __________________________________________________________________________ + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/DEM_Diabetes.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("DEM_Diabetes", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/DEM_Dispatches.py b/spm/__toolbox/__DEM/DEM_Dispatches.py index e7d80751..95467fd2 100644 --- a/spm/__toolbox/__DEM/DEM_Dispatches.py +++ b/spm/__toolbox/__DEM/DEM_Dispatches.py @@ -2,7 +2,7 @@ def DEM_Dispatches(*args, **kwargs): - """ + r""" FORMAT DCM = DEM_COVID_UK Demonstration of COVID-19 modelling using variational Laplace @@ -18,9 +18,12 @@ def DEM_Dispatches(*args, **kwargs): Copyright (C) 2020 Wellcome Centre for Human Neuroimaging - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/DEM_Dispatches.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/DEM_Dispatches.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("DEM_Dispatches", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/DEM_FEP_Least_Action.py b/spm/__toolbox/__DEM/DEM_FEP_Least_Action.py index 6ad516a4..5dcaf0b5 100644 --- a/spm/__toolbox/__DEM/DEM_FEP_Least_Action.py +++ b/spm/__toolbox/__DEM/DEM_FEP_Least_Action.py @@ -2,7 +2,7 @@ def DEM_FEP_Least_Action(*args, **kwargs): - """ + r""" -------------------------------------------------------------------------- This routine uses a Lorenz system to show that the most likely autonomous path (or deterministic path) is uniquely identified by its initial and @@ -30,9 +30,12 @@ def DEM_FEP_Least_Action(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/DEM_FEP_Least_Action.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/DEM_FEP_Least_Action.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("DEM_FEP_Least_Action", *args, **kwargs, nargout=0) diff --git a/spm/__toolbox/__DEM/DEM_FEP_Lorenz.py b/spm/__toolbox/__DEM/DEM_FEP_Lorenz.py index e16cb5a3..9b2d5290 100644 --- a/spm/__toolbox/__DEM/DEM_FEP_Lorenz.py +++ b/spm/__toolbox/__DEM/DEM_FEP_Lorenz.py @@ -2,7 +2,7 @@ def DEM_FEP_Lorenz(*args, **kwargs): - """ + r""" -------------------------------------------------------------------------- This is a simple demonstration of deterministic convergence to nonequilibrium steady-state, using the Lorenz system. Deterministic @@ -29,9 +29,12 @@ def DEM_FEP_Lorenz(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/DEM_FEP_Lorenz.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/DEM_FEP_Lorenz.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("DEM_FEP_Lorenz", *args, **kwargs, nargout=0) diff --git a/spm/__toolbox/__DEM/DEM_FIN.py b/spm/__toolbox/__DEM/DEM_FIN.py new file mode 100644 index 00000000..856a6c55 --- /dev/null +++ b/spm/__toolbox/__DEM/DEM_FIN.py @@ -0,0 +1,28 @@ +from spm._runtime import Runtime + + +def DEM_FIN(*args, **kwargs): + r""" + FORMAT [Tab,F,DEM] = DEM_FIN(SIM) + + Demonstration of financial modelling using variational Laplace + __________________________________________________________________________ + This demonstration routine illustrates the complex system modelling of + financial markets using a generic (Helmholtz Hodge) generative model of + stochastic chaos under the prior are there exists a pullback attractor. + This endows the dynamics with a compact functional form; especially when + using second-order approximations (cf., A generalisation of the Laplace + approximation). + __________________________________________________________________________ + Copyright (C) 2020 Wellcome Centre for Human Neuroimaging + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/DEM_FIN.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("DEM_FIN", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/DEM_HB_and_LE.py b/spm/__toolbox/__DEM/DEM_HB_and_LE.py index f336b691..4ac6e5a6 100644 --- a/spm/__toolbox/__DEM/DEM_HB_and_LE.py +++ b/spm/__toolbox/__DEM/DEM_HB_and_LE.py @@ -2,7 +2,7 @@ def DEM_HB_and_LE(*args, **kwargs): - """ + r""" -------------------------------------------------------------------------- This routine is a numerical examination of the relationship between entropy, mutual information and the exponential divergence of @@ -22,9 +22,12 @@ def DEM_HB_and_LE(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/DEM_HB_and_LE.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/DEM_HB_and_LE.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("DEM_HB_and_LE", *args, **kwargs, nargout=0) diff --git a/spm/__toolbox/__DEM/DEM_Immune.py b/spm/__toolbox/__DEM/DEM_Immune.py index 04b9ad84..cb00ed04 100644 --- a/spm/__toolbox/__DEM/DEM_Immune.py +++ b/spm/__toolbox/__DEM/DEM_Immune.py @@ -2,7 +2,7 @@ def DEM_Immune(*args, **kwargs): - """ + r""" This demo builds upon the results of the COVID modelling demos, which found that the epidemic data could best be explained by appealing to the idea that much of the population may not be susceptible and that of those @@ -16,9 +16,12 @@ def DEM_Immune(*args, **kwargs): Copyright (C) 2020 Wellcome Centre for Human Neuroimaging - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/DEM_Immune.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/DEM_Immune.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("DEM_Immune", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/DEM_MDP_decision.py b/spm/__toolbox/__DEM/DEM_MDP_decision.py index 306500ce..5bac7b48 100644 --- a/spm/__toolbox/__DEM/DEM_MDP_decision.py +++ b/spm/__toolbox/__DEM/DEM_MDP_decision.py @@ -2,7 +2,7 @@ def DEM_MDP_decision(*args, **kwargs): - """ + r""" Demo of active inference for visual salience __________________________________________________________________________ @@ -28,9 +28,12 @@ def DEM_MDP_decision(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/DEM_MDP_decision.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/DEM_MDP_decision.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("DEM_MDP_decision", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/DEM_MNIST.py b/spm/__toolbox/__DEM/DEM_MNIST.py new file mode 100644 index 00000000..47a6b191 --- /dev/null +++ b/spm/__toolbox/__DEM/DEM_MNIST.py @@ -0,0 +1,50 @@ +from spm._runtime import Runtime + + +def DEM_MNIST(*args, **kwargs): + r""" + Demo of structure learning (i.e.,disentanglement) of MNIST digits + __________________________________________________________________________ + + This routine provides a simple illustration of disentanglement or + structure learning using a static (image) recognition problem; namely the + MNIST digits. It casts the structure learning problem as a data + assimilation problem by accumulating latent states as discrete levels of + a factor in a hidden Markov model with two factors — the second factor + being the digit class. The key procedure demonstrated here is the + addition of a new latent (style) state using Bayesian model comparison + under the prior that additional states will increase expected free + energy. In the absence of any prior costs or constraints; this reduces to + accepting a new training exemplar if adding Dirichlet counts to a new + state (i.e., Column of the likelihood tensor) decreases variational and + expected free energy. In other words, increases the marginal likelihood + of the new observation under the prior constraint that the resulting + likelihood mapping has a greater mutual information. + + In this example, an upper bound of 128 styles is implemented as an + additional hyperprior and the model is learned during exposure to 1024 + training exemplars for each digit class. The ensuing classification + accuracy is established using a test dataset of 10,000. Performance is + between 95 and 100%; depending upon whether one accepts all the test data + or just those with a sufficiently high marginal likelihood (as scored by + the variational free energy). + + The code below contains a number of subroutines and alternative + formulations of structure learning. It also examines the information + geometry inherent in the discovered structures. This routine can take + some time to ingest the training data (and will require downloading of a + MATLAB file as described in the preparation subroutine). + + __________________________________________________________________________ + Copyright (C) 2019 Wellcome Trust Centre for Neuroimaging + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/DEM_MNIST.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("DEM_MNIST", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/DEM_MNIST_RGM.py b/spm/__toolbox/__DEM/DEM_MNIST_RGM.py new file mode 100644 index 00000000..e0887c8b --- /dev/null +++ b/spm/__toolbox/__DEM/DEM_MNIST_RGM.py @@ -0,0 +1,39 @@ +from spm._runtime import Runtime + + +def DEM_MNIST_RGM(*args, **kwargs): + r""" + Structure learning from pixels + __________________________________________________________________________ + + This routine demonstrates the mapping from pixels to (discrete) + representations of episodes. It illustrates the use of a certain kind of + deep generative model based upon reduction and grouping operators (RG) + found in the renormalisation group. In brief, this allows an efficient + encoding (and generation) of high dimensional content by maintaining + conditionally independent partitions of hidden states in a recursive + fashion. + + This example uses image classification to showcase the ability of + recursive generative models to compress images in a way that leverages + the composition of small image components into larger arrangements. Uses + the MNIST digit classification problem. In brief, images are discretised + using singular value decomposition of local image patches. These are then + recursively assembled using a fast structure learning routine. Subsequent + training images and then assimilated using parametric learning. The + ensuing generative model is then illustrated in terms of digit + classification and the underlying architecture. + + __________________________________________________________________________ + Copyright (C) 2019 Wellcome Trust Centre for Neuroimaging + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/DEM_MNIST_RGM.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("DEM_MNIST_RGM", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/DEM_MNIST_compression.py b/spm/__toolbox/__DEM/DEM_MNIST_compression.py new file mode 100644 index 00000000..b506b6be --- /dev/null +++ b/spm/__toolbox/__DEM/DEM_MNIST_compression.py @@ -0,0 +1,39 @@ +from spm._runtime import Runtime + + +def DEM_MNIST_compression(*args, **kwargs): + r""" + Structure learning from pixels + __________________________________________________________________________ + + This routine demonstrates the mapping from pixels to (discrete) + representations of episodes. It illustrates the use of a certain kind of + deep generative model based upon reduction and grouping operators (RG) + found in the renormalisation group. In brief, this allows an efficient + encoding (and generation) of high dimensional content by maintaining + conditionally independent partitions of hidden states in a recursive + fashion. + + This example uses image classification to showcase the ability of + recursive generative models to compress images in a way that leverages + the composition of small image components into larger arrangements. Uses + the MNIST digit classification problem. In brief, images are discretised + using singular value decomposition of local image patches. These are then + recursively assembled using a fast structure learning routine. Subsequent + training images and then assimilated using parametric learning. The + ensuing generative model is then illustrated in terms of digit + classification and the underlying architecture. + + __________________________________________________________________________ + Copyright (C) 2019 Wellcome Trust Centre for Neuroimaging + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/DEM_MNIST_compression.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("DEM_MNIST_compression", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/DEM_MNIST_conv.py b/spm/__toolbox/__DEM/DEM_MNIST_conv.py new file mode 100644 index 00000000..317e9d87 --- /dev/null +++ b/spm/__toolbox/__DEM/DEM_MNIST_conv.py @@ -0,0 +1,44 @@ +from spm._runtime import Runtime + + +def DEM_MNIST_conv(*args, **kwargs): + r""" + Active sampling of MNIST digits + __________________________________________________________________________ + + This routine demonstrates smart or sparse sampling of outcomes to + accumulate evidence for posterior beliefs in an optimal way. Effectively, + it scores the expected free energy (i.e., expected information gain) of + different policies. Crucially, these policies reflect covert or internal + action; namely, subscribing to or querying different subsets of output + modalities. This can be regarded as one aspect of proactive message + passing; in the sense, it rests upon expected free energy to send + requests to nodes that evaluate outcome probabilities. The saving here is + in terms of compute time and message passing. Interestingly, this can + lead to characteristic overconfidence in classification. In other words, + by just sampling a limited subset of outcome modalities, the routine can + find a plausible explanation very quickly; however, not necessarily the + right explanation. + + In addition, it illustrates active sampling under a simple form of weight + sharing implemented by introducing a state dependent mapping between + modalities and outcomes. This allows for inference over various + transformations between the modalities that are generated and the final + outcomes. In this demonstration, the transformations are restricted to X + and Y translations of an image. The range of (a fine) transformations can + be specified by editing the code below. + + See also: spm_DCM_conv.m + __________________________________________________________________________ + Copyright (C) 2019 Wellcome Trust Centre for Neuroimaging + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/DEM_MNIST_conv.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("DEM_MNIST_conv", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/DEM_MNIST_mixture.py b/spm/__toolbox/__DEM/DEM_MNIST_mixture.py new file mode 100644 index 00000000..0b1d108d --- /dev/null +++ b/spm/__toolbox/__DEM/DEM_MNIST_mixture.py @@ -0,0 +1,34 @@ +from spm._runtime import Runtime + + +def DEM_MNIST_mixture(*args, **kwargs): + r""" + Structure learning from pixels + __________________________________________________________________________ + + This example uses image classification to showcase the ability of + recursive generative models to compress images in a way that leverages + the composition of small image components into larger arrangements. Uses + the MNIST digit classification problem. In brief, images are discretised + using singular value decomposition of local image patches. These are then + recursively assembled using a fast structure learning routine. Subsequent + training images and then assimilated using parametric learning. The + ensuing generative model is then illustrated in terms of digit + classification and the underlying architecture. + + This routine is used to demonstrate the difficulties in using variational + free energy for classification under mixtures of experts (i.e., + renormalizable generative models) with different parameterisations. + __________________________________________________________________________ + Copyright (C) 2019 Wellcome Trust Centre for Neuroimaging + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/DEM_MNIST_mixture.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("DEM_MNIST_mixture", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/DEM_Pong.py b/spm/__toolbox/__DEM/DEM_Pong.py new file mode 100644 index 00000000..8f1292c6 --- /dev/null +++ b/spm/__toolbox/__DEM/DEM_Pong.py @@ -0,0 +1,47 @@ +from spm._runtime import Runtime + + +def DEM_Pong(*args, **kwargs): + r""" + Demo of planning as sophisticated inference (Tower of Hanoi) + __________________________________________________________________________ + + This routine demonstrates the acquisition of self organised behaviour + using a simulated game of ping-pong. It starts by illustrating the + emergence of game play during the acquisition of a likelihood model under + precise beliefs about transitions through latent states. These + transitions are generic and describe a (long) orbit with circular + boundary conditions. This allows the agent to map successive states to + observable outcomes. In this simulation the outcomes can be regarded as + pixels (that can be on or off). In the particular set up here, a ball + bounces around inside a box, while a paddle can be moved at the bottom + right or left. Whenever there is a failure to hit the ball, unpredictable + stimuli are delivered to all outcomes. This reflects an ambiguity that is + specific to latent states under which the ball does not fall on the + paddle. This ambiguity is, effectively, aversive; leading the agent to + return the ball for short rallies, after it has acquired the requisite + likelihood mapping (i.e., learned about the ambiguous outcomes). + + We then repeat the simulation but making the box wider and therefore + making the ball more difficult to track. This slows down learning and + subsequent skilled gameplay. In the final simulation, this is rescued + using inductive inference. With inductive constraints on active + inference, skilled performance becomes fluent after about 512 timesteps + (i.e., about two minutes of simulated time). + + The depth of planning in the simulations is set to N = 1; i.e., looking + ahead to time steps. The agents have mild preferences for not being + overly stimulated; i.e., C{g} = spm_softmax([0;1]). + __________________________________________________________________________ + Copyright (C) 2019 Wellcome Trust Centre for Neuroimaging + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/DEM_Pong.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("DEM_Pong", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/DEM_SARS.py b/spm/__toolbox/__DEM/DEM_SARS.py index b0706499..3c3d7d94 100644 --- a/spm/__toolbox/__DEM/DEM_SARS.py +++ b/spm/__toolbox/__DEM/DEM_SARS.py @@ -2,7 +2,7 @@ def DEM_SARS(*args, **kwargs): - """ + r""" FORMAT DEM_SARS Demonstration of COVID-19 modelling using variational Laplace @@ -18,9 +18,12 @@ def DEM_SARS(*args, **kwargs): Copyright (C) 2020 Wellcome Centre for Human Neuroimaging - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/DEM_SARS.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/DEM_SARS.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("DEM_SARS", *args, **kwargs, nargout=0) diff --git a/spm/__toolbox/__DEM/DEM_SARS_I.py b/spm/__toolbox/__DEM/DEM_SARS_I.py index 96df8e7f..2ceb0716 100644 --- a/spm/__toolbox/__DEM/DEM_SARS_I.py +++ b/spm/__toolbox/__DEM/DEM_SARS_I.py @@ -2,7 +2,7 @@ def DEM_SARS_I(*args, **kwargs): - """ + r""" FORMAT DEM_COVID_I data - data to model [default: data = DATA_COVID_JHU] country - country to model [default: 'United Kingdom') @@ -20,9 +20,12 @@ def DEM_SARS_I(*args, **kwargs): Copyright (C) 2020 Wellcome Centre for Human Neuroimaging - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/DEM_SARS_I.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/DEM_SARS_I.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("DEM_COVID_I", *args, **kwargs, nargout=0) diff --git a/spm/__toolbox/__DEM/DEM_Stephen.py b/spm/__toolbox/__DEM/DEM_Stephen.py index 6330c1a8..ff8fa279 100644 --- a/spm/__toolbox/__DEM/DEM_Stephen.py +++ b/spm/__toolbox/__DEM/DEM_Stephen.py @@ -2,7 +2,7 @@ def DEM_Stephen(*args, **kwargs): - """ + r""" FORMAT Tab = DEM_Stephen Demonstration of COVID-19 modelling using variational Laplace @@ -17,9 +17,12 @@ def DEM_Stephen(*args, **kwargs): Copyright (C) 2020 Wellcome Centre for Human Neuroimaging - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/DEM_Stephen.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/DEM_Stephen.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("DEM_Stephen", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/DEM_Tower.py b/spm/__toolbox/__DEM/DEM_Tower.py new file mode 100644 index 00000000..a654c0ad --- /dev/null +++ b/spm/__toolbox/__DEM/DEM_Tower.py @@ -0,0 +1,35 @@ +from spm._runtime import Runtime + + +def DEM_Tower(*args, **kwargs): + r""" + Demo of planning as sophisticated inference (Tower of Hanoi) + __________________________________________________________________________ + + This demonstration routine illustrates planning as inductive + inference in the context of the Tower of Hanoi paradigm. + This is effectively a game in which coloured blocks have to be moved + between (usually three) pillars or towers to achieve a target + arrangement. The generative model in this instance is based upon the + notion of latent states as arrangements of multiple objects; where the + physics — underwriting the generative model — prescribes allowable + transitions among arrangements. In this example, a generative process is + set up by associating every possible arrangement of blocks in three + towers with latent states. These latent states generate outcomes for each + location (i.e., a coloured block or nothing for each visual modality). + Transitions among arrangements are modelled as controllable paths, + corresponding to choosing a particular pillar and moving the top block to + another pillar (or doing nothing). + _________________________________________________________________________ + Copyright (C) 2019 Wellcome Trust Centre for Neuroimaging + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/DEM_Tower.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("DEM_Tower", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/DEM_Tower_of_Hanoi.py b/spm/__toolbox/__DEM/DEM_Tower_of_Hanoi.py new file mode 100644 index 00000000..1a246cae --- /dev/null +++ b/spm/__toolbox/__DEM/DEM_Tower_of_Hanoi.py @@ -0,0 +1,41 @@ +from spm._runtime import Runtime + + +def DEM_Tower_of_Hanoi(*args, **kwargs): + r""" + Demo of planning as sophisticated inference (Tower of Hanoi) + __________________________________________________________________________ + + This demonstration routine illustrates planning as sophisticated + inference in the context of the Tower of Hanoi (or block-world) paradigm. + This is effectively a game in which coloured blocks have to be moved + between (usually three) pillars or towers to achieve a target + arrangement. The generative model in this instance is based upon the + notion of latent states as arrangements of multiple objects; where the + physics — underwriting the generative model — prescribes allowable + transitions among arrangements. In this example, a generative process is + set up by associating every possible arrangement of blocks in three + towers with latent states. These latent states generate outcomes for each + location (i.e., a coloured block or nothing for each visual modality). + Transitions among arrangements are modelled as seven controllable paths, + corresponding to choosing a particular pillar and moving the top block to + another pillar (or doing nothing). + + The first demonstration simply illustrates the planning as inference. We + then demonstrate how this generative model is learned by presenting + exemplar arrangements (and allowable transitions) to a naïve agent – that + can then plan, given some prior preferences about a target + distribution — and how performance depends upon the depth of planning. + _________________________________________________________________________ + Copyright (C) 2019 Wellcome Trust Centre for Neuroimaging + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/DEM_Tower_of_Hanoi.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("DEM_Tower_of_Hanoi", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/DEM_birdsong.py b/spm/__toolbox/__DEM/DEM_birdsong.py index 49bd6e93..2a8f01a3 100644 --- a/spm/__toolbox/__DEM/DEM_birdsong.py +++ b/spm/__toolbox/__DEM/DEM_birdsong.py @@ -2,7 +2,7 @@ def DEM_birdsong(*args, **kwargs): - """ + r""" Create basis set for sounds FORMAT [S] = DEM_birdsong(file) @@ -19,9 +19,12 @@ def DEM_birdsong(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/DEM_birdsong.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/DEM_birdsong.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("DEM_birdsong", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/DEM_cells.py b/spm/__toolbox/__DEM/DEM_cells.py index 2a6023f9..f0fd41d3 100644 --- a/spm/__toolbox/__DEM/DEM_cells.py +++ b/spm/__toolbox/__DEM/DEM_cells.py @@ -2,7 +2,7 @@ def DEM_cells(*args, **kwargs): - """ + r""" This demo illustrates self-organisation in an ensemble of (sixteen) cells using the same principles described in DEM_morphogenesis, but using a simpler generative model. Overall, the dynamics of these simulations show @@ -28,9 +28,12 @@ def DEM_cells(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/DEM_cells.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/DEM_cells.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("DEM_cells", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/DEM_cells_cells.py b/spm/__toolbox/__DEM/DEM_cells_cells.py index 0643bb37..30bad244 100644 --- a/spm/__toolbox/__DEM/DEM_cells_cells.py +++ b/spm/__toolbox/__DEM/DEM_cells_cells.py @@ -2,7 +2,7 @@ def DEM_cells_cells(*args, **kwargs): - """ + r""" This demo is a hierarchical extension of DEM_cells.m, where we have 16 ensembles comprising 16 cells. Each cell has a generative model (i.e., prior beliefs) about its possible local and global cell types (i.e., @@ -29,9 +29,12 @@ def DEM_cells_cells(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/DEM_cells_cells.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/DEM_cells_cells.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("DEM_cells_cells", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/DEM_chaos_compression.py b/spm/__toolbox/__DEM/DEM_chaos_compression.py new file mode 100644 index 00000000..4a1fdae6 --- /dev/null +++ b/spm/__toolbox/__DEM/DEM_chaos_compression.py @@ -0,0 +1,35 @@ +from spm._runtime import Runtime + + +def DEM_chaos_compression(*args, **kwargs): + r""" + Structure learning from pixels: the Lorenz attractor + __________________________________________________________________________ + + This demonstration routine uses a renormalisable generative model to + learn, recognise and generate stochastic chaos. It uses the same + procedures used to learn paths and orbits from image sequences, apt for + video compression. Effectively, it learns stochastic chaos based upon + exponential divergence of trajectories in terms of a switching dynamical + system, where successive paths are selected based upon a probability + transition matrix. Here, an image of a white ball moving on the + attracting manifold of a Lorenz system is generated. This is then + quantised and learned in the usual way by fast structure learning. + Subsequent (active) learning then fills in probability transitions, which + are subsequently refined using (simple) Bayesian model reduction. The + ensuing generative model can then be used to filter images (i.e., + recognise the phase of the underlying dynamics), and generate stochastic + chaos when the stimulus is removed. + __________________________________________________________________________ + Copyright (C) 2019 Wellcome Trust Centre for Neuroimaging + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/DEM_chaos_compression.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("DEM_chaos_compression", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/DEM_compression.py b/spm/__toolbox/__DEM/DEM_compression.py new file mode 100644 index 00000000..9ca01c78 --- /dev/null +++ b/spm/__toolbox/__DEM/DEM_compression.py @@ -0,0 +1,46 @@ +from spm._runtime import Runtime + + +def DEM_compression(*args, **kwargs): + r""" + Structure learning from pixels + __________________________________________________________________________ + + This routine demonstrates the mapping from pixels to (discrete) + representations of episodes. It illustrates the use of a certain kind of + deep generative model based upon reduction and grouping operators (RG) + found in the renormalisation group. In brief, this allows an efficient + encoding (and generation) of high dimensional content by maintaining + conditionally independent partitions of hidden states in a recursive + fashion. This example takes the view of efficient inference as, + effectively, compression and efficient coding of videos. However, the + focus of this compressed encoding is on the trajectory or path as visual + objects move. + + A key architectural aspect of these deep structures is an appeal to the + renormalisation group; in the sense that there is a recursive application + of grouping and reduction operators, as we move from one hierarchical + level to the next. These operate over both space and time: in the sense + that groups of pixels are jointly inferred over a short period of time; + such that the state any given level of the model generates the + instantaneous state and path (i.e., velocity) of a group of latent states + at the lower level. In these examples, the group operator effectively + tiles a lattice of latent states (and instantaneous paths) into little + contiguous squares. This necessary induces a separation of temporal + scales such as the states at the highest level see all the pixels at the + lowest level and, effectively, encode a trajectory over to the 2^n + timesteps, where n is the depth of the model. + + __________________________________________________________________________ + Copyright (C) 2019 Wellcome Trust Centre for Neuroimaging + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/DEM_compression.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("DEM_compression", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/DEM_coupled_oscillators.py b/spm/__toolbox/__DEM/DEM_coupled_oscillators.py index b42bd92f..44a335a3 100644 --- a/spm/__toolbox/__DEM/DEM_coupled_oscillators.py +++ b/spm/__toolbox/__DEM/DEM_coupled_oscillators.py @@ -2,7 +2,7 @@ def DEM_coupled_oscillators(*args, **kwargs): - """ + r""" Dual estimation of the Lorenz system: Cross-validation of Laplace schemes __________________________________________________________________________ This routine illustrates the inversion of a loosely coupled oscillator @@ -25,9 +25,12 @@ def DEM_coupled_oscillators(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/DEM_coupled_oscillators.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/DEM_coupled_oscillators.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("DEM_coupled_oscillators", *args, **kwargs, nargout=0) diff --git a/spm/__toolbox/__DEM/DEM_dSprites.py b/spm/__toolbox/__DEM/DEM_dSprites.py index 6879b022..992a864f 100644 --- a/spm/__toolbox/__DEM/DEM_dSprites.py +++ b/spm/__toolbox/__DEM/DEM_dSprites.py @@ -2,7 +2,7 @@ def DEM_dSprites(*args, **kwargs): - """ + r""" Demo of active inference and structure learning (i.e.,disentanglement) __________________________________________________________________________ @@ -41,9 +41,12 @@ def DEM_dSprites(*args, **kwargs): Copyright (C) 2019 Wellcome Trust Centre for Neuroimaging - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/DEM_dSprites.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/DEM_dSprites.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("DEM_dSprites", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/DEM_demo.py b/spm/__toolbox/__DEM/DEM_demo.py index 17ff0874..dac82f37 100644 --- a/spm/__toolbox/__DEM/DEM_demo.py +++ b/spm/__toolbox/__DEM/DEM_demo.py @@ -2,7 +2,7 @@ def DEM_demo(*args, **kwargs): - """ + r""" DEM_DEMO M-file for DEM_demo.fig DEM_DEMO, by itself, creates a new DEM_DEMO or raises the existing singleton*. @@ -25,9 +25,12 @@ def DEM_demo(*args, **kwargs): See also: GUIDE, GUIDATA, GUIHANDLES - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/DEM_demo.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/DEM_demo.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("DEM_demo", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/DEM_demo_ALAP.py b/spm/__toolbox/__DEM/DEM_demo_ALAP.py index f47ba641..747fc365 100644 --- a/spm/__toolbox/__DEM/DEM_demo_ALAP.py +++ b/spm/__toolbox/__DEM/DEM_demo_ALAP.py @@ -2,7 +2,7 @@ def DEM_demo_ALAP(*args, **kwargs): - """ + r""" This demonstration is essentially the same as DEM_demo_LAP - however here, we compare two generalised filtering schemes that are implemented very differently: the first integrates the generative process in @@ -14,9 +14,12 @@ def DEM_demo_ALAP(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/DEM_demo_ALAP.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/DEM_demo_ALAP.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("DEM_demo_ALAP", *args, **kwargs, nargout=0) diff --git a/spm/__toolbox/__DEM/DEM_demo_Bayesian_Model_Reduction.py b/spm/__toolbox/__DEM/DEM_demo_Bayesian_Model_Reduction.py index 1825a6ec..d470bfca 100644 --- a/spm/__toolbox/__DEM/DEM_demo_Bayesian_Model_Reduction.py +++ b/spm/__toolbox/__DEM/DEM_demo_Bayesian_Model_Reduction.py @@ -2,7 +2,7 @@ def DEM_demo_Bayesian_Model_Reduction(*args, **kwargs): - """ + r""" This demonstration code illustrates the application of post hoc model optimisation or Bayesian model reduction (BMR) in identifying gene and gene-gene interaction effects in behavioural or physiological variables. @@ -42,9 +42,12 @@ def DEM_demo_Bayesian_Model_Reduction(*args, **kwargs): partition of model space (or families of models). - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/DEM_demo_Bayesian_Model_Reduction.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/DEM_demo_Bayesian_Model_Reduction.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("DEM_demo_Bayesian_Model_Reduction", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/DEM_demo_Cornsweet.py b/spm/__toolbox/__DEM/DEM_demo_Cornsweet.py index 04ee3871..0f11e792 100644 --- a/spm/__toolbox/__DEM/DEM_demo_Cornsweet.py +++ b/spm/__toolbox/__DEM/DEM_demo_Cornsweet.py @@ -2,7 +2,7 @@ def DEM_demo_Cornsweet(*args, **kwargs): - """ + r""" The Cornsweet effect: This demo illustrates the inference underlying the Cornsweet effect or illusion. It exploits formal priors on the spatial contiguity of the illuminant and reflectance; where the illuminant does not @@ -15,9 +15,12 @@ def DEM_demo_Cornsweet(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/DEM_demo_Cornsweet.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/DEM_demo_Cornsweet.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("DEM_demo_Cornsweet", *args, **kwargs, nargout=0) diff --git a/spm/__toolbox/__DEM/DEM_demo_DCM_LAP.py b/spm/__toolbox/__DEM/DEM_demo_DCM_LAP.py index 76ef4486..5ba5ba9e 100644 --- a/spm/__toolbox/__DEM/DEM_demo_DCM_LAP.py +++ b/spm/__toolbox/__DEM/DEM_demo_DCM_LAP.py @@ -2,7 +2,7 @@ def DEM_demo_DCM_LAP(*args, **kwargs): - """ + r""" Demo applying the Laplace scheme to DCM with hidden states __________________________________________________________________________ This routine demonstrates Generalized filtering for a DCM (Dynamic Causal @@ -15,9 +15,12 @@ def DEM_demo_DCM_LAP(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/DEM_demo_DCM_LAP.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/DEM_demo_DCM_LAP.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("DEM_demo_DCM_LAP", *args, **kwargs, nargout=0) diff --git a/spm/__toolbox/__DEM/DEM_demo_DEM.py b/spm/__toolbox/__DEM/DEM_demo_DEM.py index 0dcec9bd..0b0b7ce3 100644 --- a/spm/__toolbox/__DEM/DEM_demo_DEM.py +++ b/spm/__toolbox/__DEM/DEM_demo_DEM.py @@ -2,16 +2,19 @@ def DEM_demo_DEM(*args, **kwargs): - """ - Triple estimation of states, parameters and hyperparameters: - This demo focuses estimating both the states and parameters to furnish a + r""" + Triple estimation of states, parameters and hyperparameters: This demo + focuses on estimating both the states and parameters to furnish a complete system identification, given only the form of the system and its responses to unknown input (c.f., DEM_demo_EM, which uses known inputs) - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/DEM_demo_DEM.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/DEM_demo_DEM.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("DEM_demo_DEM", *args, **kwargs, nargout=0) diff --git a/spm/__toolbox/__DEM/DEM_demo_DFP.py b/spm/__toolbox/__DEM/DEM_demo_DFP.py index cabdfb4e..2b9041f3 100644 --- a/spm/__toolbox/__DEM/DEM_demo_DFP.py +++ b/spm/__toolbox/__DEM/DEM_demo_DFP.py @@ -2,7 +2,7 @@ def DEM_demo_DFP(*args, **kwargs): - """ + r""" DEM demo for linear deconvolution: This demo considers the deconvolution of the responses of a single-input-multiple output input-state-output model (DCM) to disclose the input or causes. It starts by demonstrating @@ -14,9 +14,12 @@ def DEM_demo_DFP(*args, **kwargs): path of just one particle (i.e., the mode). - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/DEM_demo_DFP.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/DEM_demo_DFP.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("DEM_demo_DFP", *args, **kwargs, nargout=0) diff --git a/spm/__toolbox/__DEM/DEM_demo_EM.py b/spm/__toolbox/__DEM/DEM_demo_EM.py index a400fdb8..b207ece5 100644 --- a/spm/__toolbox/__DEM/DEM_demo_EM.py +++ b/spm/__toolbox/__DEM/DEM_demo_EM.py @@ -2,16 +2,19 @@ def DEM_demo_EM(*args, **kwargs): - """ + r""" Dual estimation of parameters and hyperparameters; under known causes: This demo focuses on conditional parameter estimation with DEM and provides a comparative evaluation using EM. This proceeds by removing uncertainly about the input so that the D-step can be discounted. - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/DEM_demo_EM.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/DEM_demo_EM.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("DEM_demo_EM", *args, **kwargs, nargout=0) diff --git a/spm/__toolbox/__DEM/DEM_demo_GF_and_KF.py b/spm/__toolbox/__DEM/DEM_demo_GF_and_KF.py index 8a68fcfb..0c72a8dc 100644 --- a/spm/__toolbox/__DEM/DEM_demo_GF_and_KF.py +++ b/spm/__toolbox/__DEM/DEM_demo_GF_and_KF.py @@ -2,7 +2,7 @@ def DEM_demo_GF_and_KF(*args, **kwargs): - """ + r""" A demonstration of generalised and Kalman filtering where the number of hidden states exceeds the number of variables observed. The metrics of performance are the mean sum of squared error and the SSE normalized by @@ -15,9 +15,12 @@ def DEM_demo_GF_and_KF(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/DEM_demo_GF_and_KF.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/DEM_demo_GF_and_KF.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("DEM_demo_GF_and_KF", *args, **kwargs, nargout=0) diff --git a/spm/__toolbox/__DEM/DEM_demo_GLM.py b/spm/__toolbox/__DEM/DEM_demo_GLM.py index 265779a6..e62fcfb6 100644 --- a/spm/__toolbox/__DEM/DEM_demo_GLM.py +++ b/spm/__toolbox/__DEM/DEM_demo_GLM.py @@ -2,7 +2,7 @@ def DEM_demo_GLM(*args, **kwargs): - """ + r""" Demo comparing DEM and ReML (restricted maximum likelihood) under a simple general linear model (GLM). Slight differences in the hyperpriors of both schemes make this an interesting exercise. Note that ReML uses a @@ -12,9 +12,12 @@ def DEM_demo_GLM(*args, **kwargs): DEM inversion. - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/DEM_demo_GLM.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/DEM_demo_GLM.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("DEM_demo_GLM", *args, **kwargs, nargout=0) diff --git a/spm/__toolbox/__DEM/DEM_demo_Gabor.py b/spm/__toolbox/__DEM/DEM_demo_Gabor.py index 3fca3137..729693d0 100644 --- a/spm/__toolbox/__DEM/DEM_demo_Gabor.py +++ b/spm/__toolbox/__DEM/DEM_demo_Gabor.py @@ -2,7 +2,7 @@ def DEM_demo_Gabor(*args, **kwargs): - """ + r""" State-space demo routine simulating position invariant representations in the visual system. The generative model predicts a one-dimensional Gabor patch that moves in a (one-dimensional) visual field. The @@ -13,9 +13,12 @@ def DEM_demo_Gabor(*args, **kwargs): ___________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/DEM_demo_Gabor.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/DEM_demo_Gabor.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("DEM_demo_Gabor", *args, **kwargs, nargout=0) diff --git a/spm/__toolbox/__DEM/DEM_demo_LAP.py b/spm/__toolbox/__DEM/DEM_demo_LAP.py index 04c2e8c0..53d95b93 100644 --- a/spm/__toolbox/__DEM/DEM_demo_LAP.py +++ b/spm/__toolbox/__DEM/DEM_demo_LAP.py @@ -2,7 +2,7 @@ def DEM_demo_LAP(*args, **kwargs): - """ + r""" This demonstration compares Generalised filtering under the Laplace assumption (spm_LAP) with variational filtering under the same fixed form approximation (i.e. DEM). We use a simple linear convolution model to @@ -15,9 +15,12 @@ def DEM_demo_LAP(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/DEM_demo_LAP.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/DEM_demo_LAP.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("DEM_demo_LAP", *args, **kwargs, nargout=0) diff --git a/spm/__toolbox/__DEM/DEM_demo_Lagrangian.py b/spm/__toolbox/__DEM/DEM_demo_Lagrangian.py index 5a35ec70..a2292a1d 100644 --- a/spm/__toolbox/__DEM/DEM_demo_Lagrangian.py +++ b/spm/__toolbox/__DEM/DEM_demo_Lagrangian.py @@ -2,15 +2,18 @@ def DEM_demo_Lagrangian(*args, **kwargs): - """ + r""" Demo to illustrate divergence and curl free flow specified by a Lagrangian and antisymmetric matrices. This example uses a double well potential and Newtonian dynamics. - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/DEM_demo_Lagrangian.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/DEM_demo_Lagrangian.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("DEM_demo_Lagrangian", *args, **kwargs, nargout=0) diff --git a/spm/__toolbox/__DEM/DEM_demo_Lagrangian_flow.py b/spm/__toolbox/__DEM/DEM_demo_Lagrangian_flow.py index 38d4d169..6a02e1bc 100644 --- a/spm/__toolbox/__DEM/DEM_demo_Lagrangian_flow.py +++ b/spm/__toolbox/__DEM/DEM_demo_Lagrangian_flow.py @@ -2,15 +2,18 @@ def DEM_demo_Lagrangian_flow(*args, **kwargs): - """ + r""" Demo to illustrate divergence and curl free flow specified by a Lagrangian and antisymmetric matrices. This example uses a double well potential and Newtonian dynamics. - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/DEM_demo_Lagrangian_flow.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/DEM_demo_Lagrangian_flow.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("DEM_demo_Lagrangian_flow", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/DEM_demo_Lorenz.py b/spm/__toolbox/__DEM/DEM_demo_Lorenz.py index cff9cb34..60a8b98c 100644 --- a/spm/__toolbox/__DEM/DEM_demo_Lorenz.py +++ b/spm/__toolbox/__DEM/DEM_demo_Lorenz.py @@ -2,7 +2,7 @@ def DEM_demo_Lorenz(*args, **kwargs): - """ + r""" Demo for a Lorentz attractor: In this example we show that DEM and Bayesian filtering can estimate the hidden states of an autonomous system showing deterministic chaos. Although all schemes perform well given the @@ -11,9 +11,12 @@ def DEM_demo_Lorenz(*args, **kwargs): represents generalised coordinates, in which the dynamics unfold. - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/DEM_demo_Lorenz.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/DEM_demo_Lorenz.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("DEM_demo_Lorenz", *args, **kwargs, nargout=0) diff --git a/spm/__toolbox/__DEM/DEM_demo_MDP_DEM.py b/spm/__toolbox/__DEM/DEM_demo_MDP_DEM.py index f03105f3..37f59ca2 100644 --- a/spm/__toolbox/__DEM/DEM_demo_MDP_DEM.py +++ b/spm/__toolbox/__DEM/DEM_demo_MDP_DEM.py @@ -2,7 +2,7 @@ def DEM_demo_MDP_DEM(*args, **kwargs): - """ + r""" Demo of mixed continuous and discrete state space modelling __________________________________________________________________________ @@ -46,9 +46,12 @@ def DEM_demo_MDP_DEM(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/DEM_demo_MDP_DEM.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/DEM_demo_MDP_DEM.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("DEM_demo_MDP_DEM", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/DEM_demo_MDP_X.py b/spm/__toolbox/__DEM/DEM_demo_MDP_X.py index f8ceb554..59610c42 100644 --- a/spm/__toolbox/__DEM/DEM_demo_MDP_X.py +++ b/spm/__toolbox/__DEM/DEM_demo_MDP_X.py @@ -2,7 +2,7 @@ def DEM_demo_MDP_X(*args, **kwargs): - """ + r""" Demo of active inference for trust games __________________________________________________________________________ @@ -41,9 +41,12 @@ def DEM_demo_MDP_X(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/DEM_demo_MDP_X.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/DEM_demo_MDP_X.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("DEM_demo_MDP_X", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/DEM_demo_MDP_XX.py b/spm/__toolbox/__DEM/DEM_demo_MDP_XX.py index 0dd4f9b3..54d2a6bf 100644 --- a/spm/__toolbox/__DEM/DEM_demo_MDP_XX.py +++ b/spm/__toolbox/__DEM/DEM_demo_MDP_XX.py @@ -2,7 +2,7 @@ def DEM_demo_MDP_XX(*args, **kwargs): - """ + r""" Demo of active inference (T-maze): belief propagation scheme __________________________________________________________________________ @@ -47,9 +47,12 @@ def DEM_demo_MDP_XX(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/DEM_demo_MDP_XX.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/DEM_demo_MDP_XX.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("DEM_demo_MDP_XX", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/DEM_demo_MDP_XXX.py b/spm/__toolbox/__DEM/DEM_demo_MDP_XXX.py new file mode 100644 index 00000000..69a41860 --- /dev/null +++ b/spm/__toolbox/__DEM/DEM_demo_MDP_XXX.py @@ -0,0 +1,58 @@ +from spm._runtime import Runtime + + +def DEM_demo_MDP_XXX(*args, **kwargs): + r""" + Demo of active inference (T-maze): belief propagation scheme + __________________________________________________________________________ + + This routine uses a Markov decision process formulation of active + inference (with belief propagation) to model foraging for information in + a three arm maze. This demo illustrates active inference in the context + of Markov decision processes, where the agent is equipped with prior + beliefs that it will minimise expected free energy in the future. This + free energy is the free energy of future sensory states expected under + the posterior predictive distribution. It can be regarded as a + generalisation of KL control that incorporates information gain or + epistemic value. + + In this example, the agent starts at the centre of a three way maze which + is baited with a reward in one of the two upper arms. However, the + rewarded arm changes from trial to trial. Crucially, the agent can + identify where the reward (US) is located by accessing a cue (CS) in the + lower arm. This tells the agent whether the reward is on the left or the + right upper arm. This means the optimal policy would first involve + maximising information gain or epistemic value by moving to the lower arm + and then claiming the reward this signified. Here, there are eight hidden + states (four locations times right or left reward), four control states + (that take the agent to the four locations) and four exteroceptive + outcomes (that depend on the agents locations) plus three interoceptive + outcomes indicating reward (or not). + + This version focuses on a sophisticated AI implementation that replaces + policies (i.e., ordered sequences of actions) with a deep tree search + over all combinations of actions. This deep search evaluates the expected + free energy under outcomes following an action and the ensuing hidden + state. The average over hidden states and future actions is then + accumulated to provide the free energy expected under a particular course + of action in the immediate future. Notice that the free energy expected + under the next action is not the expected free energy following that + action. In other words, there is a subtle distinction between taking an + expectation under the posterior predictive distribution over outcomes and + the expectation of free energy over outcomes. This scheme is + sophisticated in the sense that the consequences of action for posterior + beliefs enter into the evaluation of expected free energy. + + see also: DEM_demo_MDP_habits.m and spm_MPD_VB_X.m + __________________________________________________________________________ + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/DEM_demo_MDP_XXX.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("DEM_demo_MDP_XXX", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/DEM_demo_MDP_fit.py b/spm/__toolbox/__DEM/DEM_demo_MDP_fit.py index b382e9d1..8e26e5ed 100644 --- a/spm/__toolbox/__DEM/DEM_demo_MDP_fit.py +++ b/spm/__toolbox/__DEM/DEM_demo_MDP_fit.py @@ -2,7 +2,7 @@ def DEM_demo_MDP_fit(*args, **kwargs): - """ + r""" Demo of active inference for trust games __________________________________________________________________________ @@ -36,9 +36,12 @@ def DEM_demo_MDP_fit(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/DEM_demo_MDP_fit.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/DEM_demo_MDP_fit.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("DEM_demo_MDP_fit", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/DEM_demo_MDP_fit_fields.py b/spm/__toolbox/__DEM/DEM_demo_MDP_fit_fields.py index 8856e6ed..ab4f7b2a 100644 --- a/spm/__toolbox/__DEM/DEM_demo_MDP_fit_fields.py +++ b/spm/__toolbox/__DEM/DEM_demo_MDP_fit_fields.py @@ -2,7 +2,7 @@ def DEM_demo_MDP_fit_fields(*args, **kwargs): - """ + r""" Demo of active inference for visual salience __________________________________________________________________________ @@ -26,9 +26,12 @@ def DEM_demo_MDP_fit_fields(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/DEM_demo_MDP_fit_fields.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/DEM_demo_MDP_fit_fields.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("DEM_demo_MDP_fit_fields", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/DEM_demo_MDP_habits.py b/spm/__toolbox/__DEM/DEM_demo_MDP_habits.py index 1bb42f18..c79cf55a 100644 --- a/spm/__toolbox/__DEM/DEM_demo_MDP_habits.py +++ b/spm/__toolbox/__DEM/DEM_demo_MDP_habits.py @@ -2,7 +2,7 @@ def DEM_demo_MDP_habits(*args, **kwargs): - """ + r""" Demo of active inference for trust games __________________________________________________________________________ @@ -40,9 +40,12 @@ def DEM_demo_MDP_habits(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/DEM_demo_MDP_habits.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/DEM_demo_MDP_habits.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("DEM_demo_MDP_habits", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/DEM_demo_MDP_maze.py b/spm/__toolbox/__DEM/DEM_demo_MDP_maze.py index 41fdffa1..16190e16 100644 --- a/spm/__toolbox/__DEM/DEM_demo_MDP_maze.py +++ b/spm/__toolbox/__DEM/DEM_demo_MDP_maze.py @@ -2,7 +2,7 @@ def DEM_demo_MDP_maze(*args, **kwargs): - """ + r""" Demo of active inference for epistemic foraging __________________________________________________________________________ @@ -40,9 +40,12 @@ def DEM_demo_MDP_maze(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/DEM_demo_MDP_maze.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/DEM_demo_MDP_maze.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("DEM_demo_MDP_maze", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/DEM_demo_MDP_reading.py b/spm/__toolbox/__DEM/DEM_demo_MDP_reading.py index f5695df5..b88536a8 100644 --- a/spm/__toolbox/__DEM/DEM_demo_MDP_reading.py +++ b/spm/__toolbox/__DEM/DEM_demo_MDP_reading.py @@ -2,7 +2,7 @@ def DEM_demo_MDP_reading(*args, **kwargs): - """ + r""" Demo of active inference for visual salience __________________________________________________________________________ @@ -40,9 +40,12 @@ def DEM_demo_MDP_reading(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/DEM_demo_MDP_reading.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/DEM_demo_MDP_reading.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("DEM_demo_MDP_reading", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/DEM_demo_MDP_rule.py b/spm/__toolbox/__DEM/DEM_demo_MDP_rule.py index 82c0deca..627b0ac7 100644 --- a/spm/__toolbox/__DEM/DEM_demo_MDP_rule.py +++ b/spm/__toolbox/__DEM/DEM_demo_MDP_rule.py @@ -2,7 +2,7 @@ def DEM_demo_MDP_rule(*args, **kwargs): - """ + r""" Demo of active inference for visual salience __________________________________________________________________________ @@ -35,9 +35,12 @@ def DEM_demo_MDP_rule(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/DEM_demo_MDP_rule.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/DEM_demo_MDP_rule.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("DEM_demo_MDP_rule", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/DEM_demo_MDP_search.py b/spm/__toolbox/__DEM/DEM_demo_MDP_search.py index e4684155..97f8cce5 100644 --- a/spm/__toolbox/__DEM/DEM_demo_MDP_search.py +++ b/spm/__toolbox/__DEM/DEM_demo_MDP_search.py @@ -2,7 +2,7 @@ def DEM_demo_MDP_search(*args, **kwargs): - """ + r""" Demo of active inference for visual salience __________________________________________________________________________ @@ -33,9 +33,12 @@ def DEM_demo_MDP_search(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/DEM_demo_MDP_search.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/DEM_demo_MDP_search.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("DEM_demo_MDP_search", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/DEM_demo_MMN.py b/spm/__toolbox/__DEM/DEM_demo_MMN.py index f0077552..9dae29f2 100644 --- a/spm/__toolbox/__DEM/DEM_demo_MMN.py +++ b/spm/__toolbox/__DEM/DEM_demo_MMN.py @@ -2,7 +2,7 @@ def DEM_demo_MMN(*args, **kwargs): - """ + r""" This Demo uses the linear convolution model of previous examples to simulate chirps (c.f., the bird song demos). By presenting a train of chirps and changing the stimulus after a couple of presentations, we can @@ -17,9 +17,12 @@ def DEM_demo_MMN(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/DEM_demo_MMN.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/DEM_demo_MMN.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("DEM_demo_MMN", *args, **kwargs, nargout=0) diff --git a/spm/__toolbox/__DEM/DEM_demo_MMN_deviance.py b/spm/__toolbox/__DEM/DEM_demo_MMN_deviance.py index 32c41075..85e77a63 100644 --- a/spm/__toolbox/__DEM/DEM_demo_MMN_deviance.py +++ b/spm/__toolbox/__DEM/DEM_demo_MMN_deviance.py @@ -2,7 +2,7 @@ def DEM_demo_MMN_deviance(*args, **kwargs): - """ + r""" This Demo is a more refined illustration of the mismatch negativity that uses a plausible (nonlinear) mapping from hidden states to sensory samples; namely, a discrete spectral density (with a fixed frequency or @@ -30,9 +30,12 @@ def DEM_demo_MMN_deviance(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/DEM_demo_MMN_deviance.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/DEM_demo_MMN_deviance.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("DEM_demo_MMN_deviance", *args, **kwargs, nargout=0) diff --git a/spm/__toolbox/__DEM/DEM_demo_MMN_gen.py b/spm/__toolbox/__DEM/DEM_demo_MMN_gen.py index 078057f3..334017a3 100644 --- a/spm/__toolbox/__DEM/DEM_demo_MMN_gen.py +++ b/spm/__toolbox/__DEM/DEM_demo_MMN_gen.py @@ -2,7 +2,7 @@ def DEM_demo_MMN_gen(*args, **kwargs): - """ + r""" generates hidden states for a MMN roving paradigm using spm_DEM FORMAT [x,DEM] = DEM_demo_MMN_gen(P,G,U); @@ -17,9 +17,12 @@ def DEM_demo_MMN_gen(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/DEM_demo_MMN_gen.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/DEM_demo_MMN_gen.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("DEM_demo_MMN_gen", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/DEM_demo_OU.py b/spm/__toolbox/__DEM/DEM_demo_OU.py index a985de66..9bf58d3b 100644 --- a/spm/__toolbox/__DEM/DEM_demo_OU.py +++ b/spm/__toolbox/__DEM/DEM_demo_OU.py @@ -2,7 +2,7 @@ def DEM_demo_OU(*args, **kwargs): - """ + r""" DEM demo for linear deconvolution: This demo considers the deconvolution of one of the simplest dynamical process; a random walk or Ornstein- Uhlenbeck process. It shows how DEM can infer on the causes as stochastic @@ -12,9 +12,12 @@ def DEM_demo_OU(*args, **kwargs): Wiener process - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/DEM_demo_OU.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/DEM_demo_OU.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("DEM_demo_OU", *args, **kwargs, nargout=0) diff --git a/spm/__toolbox/__DEM/DEM_demo_PEB.py b/spm/__toolbox/__DEM/DEM_demo_PEB.py index 1da342f6..aa6a2514 100644 --- a/spm/__toolbox/__DEM/DEM_demo_PEB.py +++ b/spm/__toolbox/__DEM/DEM_demo_PEB.py @@ -2,7 +2,7 @@ def DEM_demo_PEB(*args, **kwargs): - """ + r""" DEM demo for a hierarchical linear model (MFX). This inversion is cross-validated with restricted maximum likelihood using and parametric empirical Bayes (spm_PEB). It uses a simple two level model that embodies @@ -10,9 +10,12 @@ def DEM_demo_PEB(*args, **kwargs): DEM_demo_GLM, with no empirical priors) - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/DEM_demo_PEB.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/DEM_demo_PEB.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("DEM_demo_PEB", *args, **kwargs, nargout=0) diff --git a/spm/__toolbox/__DEM/DEM_demo_Posner.py b/spm/__toolbox/__DEM/DEM_demo_Posner.py index 5084df32..a0a83fe5 100644 --- a/spm/__toolbox/__DEM/DEM_demo_Posner.py +++ b/spm/__toolbox/__DEM/DEM_demo_Posner.py @@ -2,7 +2,7 @@ def DEM_demo_Posner(*args, **kwargs): - """ + r""" This demonstration routine simulates the Posner paradigm to show that some of the characteristic speed-accuracy trade-offs associated with valid and invalid cueing can be explained easily in terms of optimizing @@ -22,9 +22,12 @@ def DEM_demo_Posner(*args, **kwargs): simultaneously. - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/DEM_demo_Posner.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/DEM_demo_Posner.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("DEM_demo_Posner", *args, **kwargs, nargout=0) diff --git a/spm/__toolbox/__DEM/DEM_demo_SOC.py b/spm/__toolbox/__DEM/DEM_demo_SOC.py index 6f1a27ec..112c9349 100644 --- a/spm/__toolbox/__DEM/DEM_demo_SOC.py +++ b/spm/__toolbox/__DEM/DEM_demo_SOC.py @@ -2,23 +2,26 @@ def DEM_demo_SOC(*args, **kwargs): - """ - Demo for a bird songs: this routine illustrates self organised + r""" + Demo for a bird songs: this routine illustrates self-organised criticality in terms of stimulus induced bifurcations and weak synchronisation of recognition (neuronal) dynamics. It uses the birdsong example, where stimuli are generated using a Lorentz attractor and modelled with the same attractor, with state dependent parameters. These control parameters are categorised in terms of a softmax function of point attractors in a (two-dimensional) perceptual space. We examine - the self organised criticality in terms of Lyapunov exponents and the + the self-organised criticality in terms of Lyapunov exponents and the free energy - as a function of precision of the motion of hidden states (see code after return). __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/DEM_demo_SOC.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/DEM_demo_SOC.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("DEM_demo_SOC", *args, **kwargs, nargout=0) diff --git a/spm/__toolbox/__DEM/DEM_demo_connectivity_fMRI.py b/spm/__toolbox/__DEM/DEM_demo_connectivity_fMRI.py index 67be5233..9fd24d6a 100644 --- a/spm/__toolbox/__DEM/DEM_demo_connectivity_fMRI.py +++ b/spm/__toolbox/__DEM/DEM_demo_connectivity_fMRI.py @@ -2,7 +2,7 @@ def DEM_demo_connectivity_fMRI(*args, **kwargs): - """ + r""" Demonstration of DCM for fMRI-CSD with hierarchical constraints __________________________________________________________________________ This demonstration routine illustrates the inversion of resting state @@ -34,9 +34,12 @@ def DEM_demo_connectivity_fMRI(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/DEM_demo_connectivity_fMRI.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/DEM_demo_connectivity_fMRI.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("DEM_demo_connectivity_fMRI", *args, **kwargs, nargout=0) diff --git a/spm/__toolbox/__DEM/DEM_demo_contact_lens.py b/spm/__toolbox/__DEM/DEM_demo_contact_lens.py index cd54b9e5..41b51752 100644 --- a/spm/__toolbox/__DEM/DEM_demo_contact_lens.py +++ b/spm/__toolbox/__DEM/DEM_demo_contact_lens.py @@ -2,7 +2,7 @@ def DEM_demo_contact_lens(*args, **kwargs): - """ + r""" This demo illustrates tracking under the contact lens problem: The contact lens refers to the non-Gaussian uncertainty induced by nonlinear measurements. Here it is illustrated in terms of tracking the @@ -18,9 +18,12 @@ def DEM_demo_contact_lens(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/DEM_demo_contact_lens.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/DEM_demo_contact_lens.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("DEM_demo_contact_lens", *args, **kwargs, nargout=0) diff --git a/spm/__toolbox/__DEM/DEM_demo_convolution.py b/spm/__toolbox/__DEM/DEM_demo_convolution.py index b8497c2a..c9e2affc 100644 --- a/spm/__toolbox/__DEM/DEM_demo_convolution.py +++ b/spm/__toolbox/__DEM/DEM_demo_convolution.py @@ -2,7 +2,7 @@ def DEM_demo_convolution(*args, **kwargs): - """ + r""" DEM demo for linear deconvolution: This demo considers the deconvolution of the responses of a single-input-multiple output input-state-output model (DCM) to disclose the input or causes. It focuses on estimating the @@ -10,9 +10,12 @@ def DEM_demo_convolution(*args, **kwargs): extended Kalman filtering (see script after return). - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/DEM_demo_convolution.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/DEM_demo_convolution.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("DEM_demo_convolution", *args, **kwargs, nargout=0) diff --git a/spm/__toolbox/__DEM/DEM_demo_convolution_LAP.py b/spm/__toolbox/__DEM/DEM_demo_convolution_LAP.py index 2875ba83..414b25af 100644 --- a/spm/__toolbox/__DEM/DEM_demo_convolution_LAP.py +++ b/spm/__toolbox/__DEM/DEM_demo_convolution_LAP.py @@ -2,7 +2,7 @@ def DEM_demo_convolution_LAP(*args, **kwargs): - """ + r""" Linear convolution revisited: A dual estimation problem __________________________________________________________________________ This demonstration compares generalised filtering and a state-of-the-art @@ -14,9 +14,12 @@ def DEM_demo_convolution_LAP(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/DEM_demo_convolution_LAP.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/DEM_demo_convolution_LAP.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("DEM_demo_convolution_LAP", *args, **kwargs, nargout=0) diff --git a/spm/__toolbox/__DEM/DEM_demo_dendrite.py b/spm/__toolbox/__DEM/DEM_demo_dendrite.py index b55a6979..a3d6fb3e 100644 --- a/spm/__toolbox/__DEM/DEM_demo_dendrite.py +++ b/spm/__toolbox/__DEM/DEM_demo_dendrite.py @@ -2,7 +2,7 @@ def DEM_demo_dendrite(*args, **kwargs): - """ + r""" Free-energy and the single neuron: __________________________________________________________________________ This demo illustrates the use of Lotka-Volterra form SHCs (Stable @@ -27,9 +27,12 @@ def DEM_demo_dendrite(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/DEM_demo_dendrite.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/DEM_demo_dendrite.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("DEM_demo_dendrite", *args, **kwargs, nargout=0) diff --git a/spm/__toolbox/__DEM/DEM_demo_double_well.py b/spm/__toolbox/__DEM/DEM_demo_double_well.py index 091ad5ac..e9c1979b 100644 --- a/spm/__toolbox/__DEM/DEM_demo_double_well.py +++ b/spm/__toolbox/__DEM/DEM_demo_double_well.py @@ -2,15 +2,18 @@ def DEM_demo_double_well(*args, **kwargs): - """ + r""" DEMO comparing DEM with particle filtering in the context of a bimodal conditional density. This demonstrates a shortcoming of DEM in that it fails to represent the true density. - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/DEM_demo_double_well.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/DEM_demo_double_well.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("DEM_demo_double_well", *args, **kwargs, nargout=0) diff --git a/spm/__toolbox/__DEM/DEM_demo_doublewell_LAP.py b/spm/__toolbox/__DEM/DEM_demo_doublewell_LAP.py index 4b1769f9..d84d40de 100644 --- a/spm/__toolbox/__DEM/DEM_demo_doublewell_LAP.py +++ b/spm/__toolbox/__DEM/DEM_demo_doublewell_LAP.py @@ -2,7 +2,7 @@ def DEM_demo_doublewell_LAP(*args, **kwargs): - """ + r""" The double-well revisited: __________________________________________________________________________ This demonstration compares generalised filtering and a state-of-the-art @@ -15,9 +15,12 @@ def DEM_demo_doublewell_LAP(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/DEM_demo_doublewell_LAP.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/DEM_demo_doublewell_LAP.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("DEM_demo_doublewell_LAP", *args, **kwargs, nargout=0) diff --git a/spm/__toolbox/__DEM/DEM_demo_duet.py b/spm/__toolbox/__DEM/DEM_demo_duet.py index a0eb9894..94f6eac7 100644 --- a/spm/__toolbox/__DEM/DEM_demo_duet.py +++ b/spm/__toolbox/__DEM/DEM_demo_duet.py @@ -2,7 +2,7 @@ def DEM_demo_duet(*args, **kwargs): - """ + r""" This demonstration uses active inference (as implemented in spm_ALAP) to illustrate birdsong and communication using predictive coding. In this example, priors on high-level sensorimotor constructs (e.g., in the @@ -26,9 +26,12 @@ def DEM_demo_duet(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/DEM_demo_duet.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/DEM_demo_duet.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("DEM_demo_duet", *args, **kwargs, nargout=0) diff --git a/spm/__toolbox/__DEM/DEM_demo_fMRI_HMM.py b/spm/__toolbox/__DEM/DEM_demo_fMRI_HMM.py index db4c5e86..979bc25c 100644 --- a/spm/__toolbox/__DEM/DEM_demo_fMRI_HMM.py +++ b/spm/__toolbox/__DEM/DEM_demo_fMRI_HMM.py @@ -2,7 +2,7 @@ def DEM_demo_fMRI_HMM(*args, **kwargs): - """ + r""" Demonstration of Hidden Markov models for fMRI __________________________________________________________________________ This demonstration routine illustrates the modelling of state @@ -43,9 +43,12 @@ def DEM_demo_fMRI_HMM(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/DEM_demo_fMRI_HMM.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/DEM_demo_fMRI_HMM.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("DEM_demo_fMRI_HMM", *args, **kwargs, nargout=0) diff --git a/spm/__toolbox/__DEM/DEM_demo_fMRI_PEB.py b/spm/__toolbox/__DEM/DEM_demo_fMRI_PEB.py index 6526f4a6..3b398da4 100644 --- a/spm/__toolbox/__DEM/DEM_demo_fMRI_PEB.py +++ b/spm/__toolbox/__DEM/DEM_demo_fMRI_PEB.py @@ -2,7 +2,7 @@ def DEM_demo_fMRI_PEB(*args, **kwargs): - """ + r""" Demonstration of PEB for multisession spectral DCM studies __________________________________________________________________________ This demonstration routine illustrates the analysis of a multisession @@ -27,9 +27,12 @@ def DEM_demo_fMRI_PEB(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/DEM_demo_fMRI_PEB.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/DEM_demo_fMRI_PEB.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("DEM_demo_fMRI_PEB", *args, **kwargs, nargout=0) diff --git a/spm/__toolbox/__DEM/DEM_demo_face_inference.py b/spm/__toolbox/__DEM/DEM_demo_face_inference.py index e074e746..a1801b1a 100644 --- a/spm/__toolbox/__DEM/DEM_demo_face_inference.py +++ b/spm/__toolbox/__DEM/DEM_demo_face_inference.py @@ -2,7 +2,7 @@ def DEM_demo_face_inference(*args, **kwargs): - """ + r""" Recognising facial expressions: This demo uses the linear convolution model with two hidden states and one cause to generate coefficients of visual basis functions that produce a moving face. The basis functions are @@ -21,9 +21,12 @@ def DEM_demo_face_inference(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/DEM_demo_face_inference.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/DEM_demo_face_inference.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("DEM_demo_face_inference", *args, **kwargs, nargout=0) diff --git a/spm/__toolbox/__DEM/DEM_demo_factor_analysis.py b/spm/__toolbox/__DEM/DEM_demo_factor_analysis.py index 43739d7a..8c2a4f94 100644 --- a/spm/__toolbox/__DEM/DEM_demo_factor_analysis.py +++ b/spm/__toolbox/__DEM/DEM_demo_factor_analysis.py @@ -2,15 +2,18 @@ def DEM_demo_factor_analysis(*args, **kwargs): - """ + r""" Demo for Probabilistic Factor Analysis; This uses a hierarchical model under the constraint that the causes have a deterministic and stochastic components. The aim is to recover the true subspace of the real causes. - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/DEM_demo_factor_analysis.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/DEM_demo_factor_analysis.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("DEM_demo_factor_analysis", *args, **kwargs, nargout=0) diff --git a/spm/__toolbox/__DEM/DEM_demo_filtering.py b/spm/__toolbox/__DEM/DEM_demo_filtering.py index 1c9317db..3826e682 100644 --- a/spm/__toolbox/__DEM/DEM_demo_filtering.py +++ b/spm/__toolbox/__DEM/DEM_demo_filtering.py @@ -2,7 +2,7 @@ def DEM_demo_filtering(*args, **kwargs): - """ + r""" State-space demo routine comparing Bayesian filtering and DEM: The system here is chosen to highlight changes in conditional moments (including precision) induced by nonlinearities in the model. A @@ -11,9 +11,12 @@ def DEM_demo_filtering(*args, **kwargs): with nonlinearities, in relation to Kalman filtering. - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/DEM_demo_filtering.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/DEM_demo_filtering.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("DEM_demo_filtering", *args, **kwargs, nargout=0) diff --git a/spm/__toolbox/__DEM/DEM_demo_hdm.py b/spm/__toolbox/__DEM/DEM_demo_hdm.py index ecdc4e0c..65df0dec 100644 --- a/spm/__toolbox/__DEM/DEM_demo_hdm.py +++ b/spm/__toolbox/__DEM/DEM_demo_hdm.py @@ -2,14 +2,17 @@ def DEM_demo_hdm(*args, **kwargs): - """ + r""" demo for Hemodynamic deconvolution __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/DEM_demo_hdm.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/DEM_demo_hdm.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("DEM_demo_hdm", *args, **kwargs, nargout=0) diff --git a/spm/__toolbox/__DEM/DEM_demo_hdm_LAP.py b/spm/__toolbox/__DEM/DEM_demo_hdm_LAP.py index d6bf597d..42328071 100644 --- a/spm/__toolbox/__DEM/DEM_demo_hdm_LAP.py +++ b/spm/__toolbox/__DEM/DEM_demo_hdm_LAP.py @@ -2,7 +2,7 @@ def DEM_demo_hdm_LAP(*args, **kwargs): - """ + r""" Demo for Hemodynamic deconvolution: Cross-validation of Laplace scheme __________________________________________________________________________ This demonstration compares generalised filtering and DEM in the context @@ -15,9 +15,12 @@ def DEM_demo_hdm_LAP(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/DEM_demo_hdm_LAP.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/DEM_demo_hdm_LAP.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("DEM_demo_hdm_LAP", *args, **kwargs, nargout=0) diff --git a/spm/__toolbox/__DEM/DEM_demo_hdm_SCK.py b/spm/__toolbox/__DEM/DEM_demo_hdm_SCK.py index 31ed1689..0a853627 100644 --- a/spm/__toolbox/__DEM/DEM_demo_hdm_SCK.py +++ b/spm/__toolbox/__DEM/DEM_demo_hdm_SCK.py @@ -2,7 +2,7 @@ def DEM_demo_hdm_SCK(*args, **kwargs): - """ + r""" Demo for Hemodynamic deconvolution: Cross-validation of Laplace scheme __________________________________________________________________________ This demonstration compares generalised filtering and SCKS in the context @@ -16,9 +16,12 @@ def DEM_demo_hdm_SCK(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/DEM_demo_hdm_SCK.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/DEM_demo_hdm_SCK.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("DEM_demo_hdm_SCK", *args, **kwargs, nargout=0) diff --git a/spm/__toolbox/__DEM/DEM_demo_hierarchical_optmisation.py b/spm/__toolbox/__DEM/DEM_demo_hierarchical_optmisation.py index a5da811f..ddf21430 100644 --- a/spm/__toolbox/__DEM/DEM_demo_hierarchical_optmisation.py +++ b/spm/__toolbox/__DEM/DEM_demo_hierarchical_optmisation.py @@ -2,7 +2,7 @@ def DEM_demo_hierarchical_optmisation(*args, **kwargs): - """ + r""" This is the same as spm_nlsi_GH but tries to model the free energy as a function of conditional expectations using a sparse mixture of scaled Gaussians. The objective is to account for local maxima when optimising @@ -11,9 +11,12 @@ def DEM_demo_hierarchical_optmisation(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/DEM_demo_hierarchical_optmisation.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/DEM_demo_hierarchical_optmisation.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("DEM_demo_hierarchical_optmisation", *args, **kwargs, nargout=0) diff --git a/spm/__toolbox/__DEM/DEM_demo_induced_fMRI.py b/spm/__toolbox/__DEM/DEM_demo_induced_fMRI.py index ae9f7023..34e64a71 100644 --- a/spm/__toolbox/__DEM/DEM_demo_induced_fMRI.py +++ b/spm/__toolbox/__DEM/DEM_demo_induced_fMRI.py @@ -2,7 +2,7 @@ def DEM_demo_induced_fMRI(*args, **kwargs): - """ + r""" Demonstration of DCM for CSD (fMRI) with simulated responses __________________________________________________________________________ This demonstration compares generalised filtering and deterministic DCM @@ -22,9 +22,12 @@ def DEM_demo_induced_fMRI(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/DEM_demo_induced_fMRI.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/DEM_demo_induced_fMRI.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("DEM_demo_induced_fMRI", *args, **kwargs, nargout=0) diff --git a/spm/__toolbox/__DEM/DEM_demo_large_fMRI.py b/spm/__toolbox/__DEM/DEM_demo_large_fMRI.py index 413fea38..42de532e 100644 --- a/spm/__toolbox/__DEM/DEM_demo_large_fMRI.py +++ b/spm/__toolbox/__DEM/DEM_demo_large_fMRI.py @@ -2,7 +2,7 @@ def DEM_demo_large_fMRI(*args, **kwargs): - """ + r""" Demonstration of DCM for CSD (fMRI) with simulated responses __________________________________________________________________________ This routine demonstrates Bayesian parameter averaging using the @@ -16,9 +16,12 @@ def DEM_demo_large_fMRI(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/DEM_demo_large_fMRI.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/DEM_demo_large_fMRI.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("DEM_demo_large_fMRI", *args, **kwargs, nargout=0) diff --git a/spm/__toolbox/__DEM/DEM_demo_lorenz_LAP.py b/spm/__toolbox/__DEM/DEM_demo_lorenz_LAP.py index e3f86d1b..842bcc8c 100644 --- a/spm/__toolbox/__DEM/DEM_demo_lorenz_LAP.py +++ b/spm/__toolbox/__DEM/DEM_demo_lorenz_LAP.py @@ -2,7 +2,7 @@ def DEM_demo_lorenz_LAP(*args, **kwargs): - """ + r""" Dual estimation of the Lorenz system: Cross-validation of Laplace schemes __________________________________________________________________________ Inversion of the Lorenz attractor with DEM, LAP and SCKS schemes: This @@ -17,9 +17,12 @@ def DEM_demo_lorenz_LAP(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/DEM_demo_lorenz_LAP.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/DEM_demo_lorenz_LAP.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("DEM_demo_lorenz_LAP", *args, **kwargs, nargout=0) diff --git a/spm/__toolbox/__DEM/DEM_demo_modes_fMRI.py b/spm/__toolbox/__DEM/DEM_demo_modes_fMRI.py index 27db1c7b..8a8e5af7 100644 --- a/spm/__toolbox/__DEM/DEM_demo_modes_fMRI.py +++ b/spm/__toolbox/__DEM/DEM_demo_modes_fMRI.py @@ -2,7 +2,7 @@ def DEM_demo_modes_fMRI(*args, **kwargs): - """ + r""" Demonstration of spectral DCM for fMRI with eigenvector constraints __________________________________________________________________________ This demonstration routine illustrates the inversion of resting state @@ -28,9 +28,12 @@ def DEM_demo_modes_fMRI(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/DEM_demo_modes_fMRI.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/DEM_demo_modes_fMRI.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("DEM_demo_modes_fMRI", *args, **kwargs, nargout=0) diff --git a/spm/__toolbox/__DEM/DEM_demo_ontology.py b/spm/__toolbox/__DEM/DEM_demo_ontology.py index 4f97230a..b50f10fc 100644 --- a/spm/__toolbox/__DEM/DEM_demo_ontology.py +++ b/spm/__toolbox/__DEM/DEM_demo_ontology.py @@ -2,7 +2,7 @@ def DEM_demo_ontology(*args, **kwargs): - """ + r""" This demonstration routine illustrates how a generative model can be used to furnish a computational nosology. In brief, it generates symptoms and diagnostic profiles from hidden or latent exogenous causes (e.g., @@ -28,9 +28,12 @@ def DEM_demo_ontology(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/DEM_demo_ontology.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/DEM_demo_ontology.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("DEM_demo_ontology", *args, **kwargs, nargout=0) diff --git a/spm/__toolbox/__DEM/DEM_demo_psychosis.py b/spm/__toolbox/__DEM/DEM_demo_psychosis.py index 982f6f38..39064071 100644 --- a/spm/__toolbox/__DEM/DEM_demo_psychosis.py +++ b/spm/__toolbox/__DEM/DEM_demo_psychosis.py @@ -2,7 +2,7 @@ def DEM_demo_psychosis(*args, **kwargs): - """ + r""" This demonstration routine illustrates the use of attractors in dynamical systems theory to explain fluctuations in longitudinal data, such as symptom scores. The generative model is based upon a Lorenz system that @@ -22,9 +22,12 @@ def DEM_demo_psychosis(*args, **kwargs): states. - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/DEM_demo_psychosis.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/DEM_demo_psychosis.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("DEM_demo_psychosis", *args, **kwargs, nargout=0) diff --git a/spm/__toolbox/__DEM/DEM_demo_song_inference.py b/spm/__toolbox/__DEM/DEM_demo_song_inference.py index 99ba21f1..802fc308 100644 --- a/spm/__toolbox/__DEM/DEM_demo_song_inference.py +++ b/spm/__toolbox/__DEM/DEM_demo_song_inference.py @@ -2,7 +2,7 @@ def DEM_demo_song_inference(*args, **kwargs): - """ + r""" Perceptual categorisation of bird songs: The generative model of birdsong used in this simulation comprises a Lorenz attractor with two control parameters (or hidden causes), which, in turn, delivers two @@ -26,9 +26,12 @@ def DEM_demo_song_inference(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/DEM_demo_song_inference.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/DEM_demo_song_inference.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("DEM_demo_song_inference", *args, **kwargs, nargout=0) diff --git a/spm/__toolbox/__DEM/DEM_demo_song_omission.py b/spm/__toolbox/__DEM/DEM_demo_song_omission.py index 5e44682a..5ad8a604 100644 --- a/spm/__toolbox/__DEM/DEM_demo_song_omission.py +++ b/spm/__toolbox/__DEM/DEM_demo_song_omission.py @@ -2,7 +2,7 @@ def DEM_demo_song_omission(*args, **kwargs): - """ + r""" Demo for bird songs: In this example, we show that DEM can not only estimate the hidden states of an autonomous system but can also deconvolve dynamic changes in its control parameters. We illustrate @@ -27,9 +27,12 @@ def DEM_demo_song_omission(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/DEM_demo_song_omission.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/DEM_demo_song_omission.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("DEM_demo_song_omission", *args, **kwargs, nargout=0) diff --git a/spm/__toolbox/__DEM/DEM_demo_song_priors.py b/spm/__toolbox/__DEM/DEM_demo_song_priors.py index 3483f72c..216b1693 100644 --- a/spm/__toolbox/__DEM/DEM_demo_song_priors.py +++ b/spm/__toolbox/__DEM/DEM_demo_song_priors.py @@ -2,7 +2,7 @@ def DEM_demo_song_priors(*args, **kwargs): - """ + r""" Demo for a bird songs: In this example, we simulate local field potential using the prediction error from the song-bird example below. We look at these responses under natural stimuli and after removing the second @@ -12,9 +12,12 @@ def DEM_demo_song_priors(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/DEM_demo_song_priors.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/DEM_demo_song_priors.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("DEM_demo_song_priors", *args, **kwargs, nargout=0) diff --git a/spm/__toolbox/__DEM/DEM_demo_texture.py b/spm/__toolbox/__DEM/DEM_demo_texture.py index 6a258c07..25f87ebe 100644 --- a/spm/__toolbox/__DEM/DEM_demo_texture.py +++ b/spm/__toolbox/__DEM/DEM_demo_texture.py @@ -2,7 +2,7 @@ def DEM_demo_texture(*args, **kwargs): - """ + r""" This demonstration considers the figure-ground segregation problem where, crucially, a figure is defined texturally - in terms of its second order statistics; in other words, a visual object is manifest in terms of its @@ -38,9 +38,12 @@ def DEM_demo_texture(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/DEM_demo_texture.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/DEM_demo_texture.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("DEM_demo_texture", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/DEM_drone.py b/spm/__toolbox/__DEM/DEM_drone.py new file mode 100644 index 00000000..3e10e988 --- /dev/null +++ b/spm/__toolbox/__DEM/DEM_drone.py @@ -0,0 +1,57 @@ +from spm._runtime import Runtime + + +def DEM_drone(*args, **kwargs): + r""" + Demo of structure learning (i.e.,disentanglement) of MNIST digits + __________________________________________________________________________ + + This routine illustrates weight sharing in the context of partially + observed Markov decision processes. Specifically, it considers the + problem of building posterior beliefs (c.f., a cognitive map) based upon + spas sampling of an (unchanging) environment using the same likelihood + mappings for each modality that conditioning the subset of hidden factors + (i.e., the states of some location) that constitute the domain of the + likelihood mapping. In other words, contextualising the allocentric + representation of the environment to generate egocentric observations. + Effectively, this means that one can encode the requisite projective + geometry, not in the likelihood mappings, but in the hidden states to + which they refer. + + The particular problem illustrated here treats the environment as some + surface; encoded by the height of a service at a number of grid points or + locations. Each location corresponds to a hidden factor and the height is + encoded by the state of the factor. A drone can fly around the + environment with several lines of sight (corresponding to the number of + modalities). Depending upon the location and orientation of the drone, a + small number of locations are specified to generate what would be seen + from that perspective. This means there are hidden factors pertaining to + the location and orientation of the drone and a set of hidden factors + corresponding to the state of the environment each location. The former + are controllable, the latter are not. In this setup, the configuration of + the environment is encoded by beliefs and exploration or navigation rests + upon the expected information gain about states (as opposed to + parameters). One can also include an expected cost of flying near high + domains in the environment. + + Note that this requires two sets of variational updates — to update + posteriors over the state of the drone (based upon the likelihood of + observations from different perspectives), and to update posteriors over + the state of the environment (based upon the likelihood of observations, + given that perspective). In principle, this allows the drone to infer + both the environment and its relationship to that environment; although, + in practice, we will illustrate the behaviour of a drone given precise + beliefs about its initial state. + __________________________________________________________________________ + Copyright (C) 2019 Wellcome Trust Centre for Neuroimaging + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/DEM_drone.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("DEM_drone", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/DEM_drone_V.py b/spm/__toolbox/__DEM/DEM_drone_V.py new file mode 100644 index 00000000..ef261a4e --- /dev/null +++ b/spm/__toolbox/__DEM/DEM_drone_V.py @@ -0,0 +1,51 @@ +from spm._runtime import Runtime + + +def DEM_drone_V(*args, **kwargs): + r""" + Demo of domain factors in the setting of active vision + __________________________________________________________________________ + + This demonstration routine builds upon DEM_drone_telemetry.m to + illustrate the role of domain factors in selecting the parents of + likelihood mappings. In particular, it leverages the specification of + parents (and children) using functional forms as opposed to tensors of + precomputed cell arrays of parents (i.e., id.fg). This takes the pressure + off memory when dealing with large cell tensors. The demonstration in + this routine is limited to (initial) exploration to build posterior + beliefs about a static environment. + + In addition to showcasing the finessing of memory load incurred by using + precomputed cell tensors, it also replaces likelihood tensors with + function handles. This means that the likelihood mapping can be specified + in a functional form. These functions are multipurpose functions that + replace the sum product operators involving the likelihood tensors. These + operators include computing the log likelihood by taking the dot product + between some outcomes to generate a joint likelihood over latent states. + Conversely, they involve taking the dot product given some latent states + to generate outcomes in each modality. The functions are written such + that the requisite output arguments depend upon whether they are called + with a numeric array (i.e., distribution over outcomes) or a series of + cell arrays (i.e., marginal distributions over the latent states). + + This demonstration uses a more realistic environment and dispenses with + proximity modalities to provide a more efficient scanning of the + environment. This efficiency inherits from the specification of log + likelihoods as marginals, as opposed to joint distributions over latent + states, when updating posteriors (see spm_VBX). In special cases, the + joint distribution can be marginalised; for example, by considering a + single output at, and only at, the depth of the first occluder. + + __________________________________________________________________________ + Copyright (C) 2019 Wellcome Trust Centre for Neuroimaging + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/DEM_drone_V.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("DEM_drone_V", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/DEM_drone_VI.py b/spm/__toolbox/__DEM/DEM_drone_VI.py new file mode 100644 index 00000000..90fdf929 --- /dev/null +++ b/spm/__toolbox/__DEM/DEM_drone_VI.py @@ -0,0 +1,58 @@ +from spm._runtime import Runtime + + +def DEM_drone_VI(*args, **kwargs): + r""" + Demo of domain factors in renormalising models + __________________________________________________________________________ + + This demonstration routine builds upon DEM_drone_VI by finessing the + generative model and, crucially, using fast structure learning to a + symbol a scale free (renormalising) generative model: i.e., an RGM. In + brief, this furnishes a generative model of a known scene that includes + events. For example, people moving around the scene. In more detail, an + RGM has learned automatically from latent states generated from a process + model with no drone movement. The ensuing RGM then generates sequences of + state transitions at the lowest level. To complete the RGM, the + generative model encoding the lowest level likelihood mapping between + latent states and (drone position and pose-dependent) outcomes replaces + the first level of the RGM, with suitable adjustments to match the + outputs of the second level RGM to the children in the first level (in a + way that the paths of latent states of the first level are generated). + + Effectively, this equips the generative model with empirical priors that + inherit from loan dynamics in the environment; enabling the agent to + track moving things to resolve uncertainty about where things (e.g., + people) will appear next. Note that this demonstration effectively places + knowledge about the scene at hand in the parameters of the likelihood + mapping from the second to the first level. In other words, this + demonstration is concerned with navigating in a known environment, where + knowledge is installed both about things that do not move and dynamics. + From the perspective of the latent states encoding the state of each + location, this means that some locations never change, while an empty + location can change to be occupied by the class of things that can move, + and vice versa. The temporal or serial dependencies on these transitions + encode movement and object permanence as one ascends the hierarchical + generative model that features Scale transformations in both space and + time. + + In this example, the empirical priors afforded by the deeper levels of + the RGM applied to and only two the latent states associated to each + location. This leaves the state of the drone (that would be informed by + telemetry) as controllable states to illustrate planning as inference at + the lowest level (using explicit action in the usual way). This means + that the planning is only constrained or informed by posterior + predictions about the next state of the world. + __________________________________________________________________________ + Copyright (C) 2019 Wellcome Trust Centre for Neuroimaging + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/DEM_drone_VI.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("DEM_drone_VI", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/DEM_drone_inspection.py b/spm/__toolbox/__DEM/DEM_drone_inspection.py new file mode 100644 index 00000000..474614a0 --- /dev/null +++ b/spm/__toolbox/__DEM/DEM_drone_inspection.py @@ -0,0 +1,49 @@ +from spm._runtime import Runtime + + +def DEM_drone_inspection(*args, **kwargs): + r""" + Demo of domain factors in the setting of active vision + __________________________________________________________________________ + + This demonstration routine illustrates active inference in the service of + inspecting objects in the scene; specifically, furniture or plant in a + room. The routine demonstrates three aspects of the ensuing behaviour. + First, the agent (e.g., cleaning robot) explores the room to form a + cognitive map of where things are. Objects (e.g., tables) that are + cleanable are recognised in terms of belonging to a cleanable class that + may be clean (dark green) or unclean (light green). Having established + precise posterior beliefs about the scene, the agent is equipped with + prior beliefs that each cleanable location (i.e., surface) can either be + clean or unclean and is given prior preferences for seeing (and + implicitly cleaning or spraying) unclean surfaces. The agent then + resolves uncertainty about whether surfaces are clean or unclean and + observes them to be clean when and only when, they have been observed + (and implicitly cleaned). This is because the state of the world (i.e., + generative process) is always clean; however, the agent is not convinced + about this until it has seen clean surfaces for itself. Finally, the + agent goes home after completing its cleaning task using inductive + inference to specify its sleeping place (avoiding obstacles in the usual + way). + + This example assumes local telemetry is available; in other words, the + position relative to some arbitrary (allocentric) frame of reference is + known — and the agent is equipped with both depth and RGB sensors, where + the RGB data are (semantically) segmented into eight classes using some + amortisation (computer vision) scheme. The agent has four degrees of + freedom. It can move on the floor in two dimensions. It%s sensors are + mounted on a vertical pole and can be moved up and down and rotated. + + __________________________________________________________________________ + Copyright (C) 2019 Wellcome Trust Centre for Neuroimaging + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/DEM_drone_inspection.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("DEM_drone_inspection", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/DEM_drone_telemetry.py b/spm/__toolbox/__DEM/DEM_drone_telemetry.py new file mode 100644 index 00000000..bc04c872 --- /dev/null +++ b/spm/__toolbox/__DEM/DEM_drone_telemetry.py @@ -0,0 +1,55 @@ +from spm._runtime import Runtime + + +def DEM_drone_telemetry(*args, **kwargs): + r""" + Demo of domain factors in the setting of active vision + __________________________________________________________________________ + + This routine illustrates a kind of SLAM (simultaneous localistion and + mapping) powered by active inference. The generative model is lightweight + in terms of memory; thereby eluding the von Neumann bottleneck. It + introduces a number of innovations. First, large tensors are replaced by + function handles that return requisite indices and probability + distributions on the fly (as a function of domain factors and states, + respectively). This precludes sum-product operators in the generative + process and takes the pressure off precomputed indices conditioned upon + domain factors. Note that outcomes are specified probabilistically; + enabling suitable uncertainty about sensor inputs (e.g., semantic + classification of locations that are out of range). + + Second, action is now handled more realistically by selecting the action + that maximises the accuracy under posterior predictions. In other + words, action is explicitly determined based on the consequences in a + subspace of (telemetry) outcomes. + + Third, this necessitates the provision of telemetry in terms of position, + pose and (lidar) depth along rays. Finally, the depth of each ray (i.e., + line of sight) is treated as a latent state that is directly informed by + (lidar) measurements — and used as a domain factor to select the + appropriate likelihood mapping. This means that, in the generative model, + there is no need to model occlusion; this modelling is offloaded to the + generative process using the functional form of the requisite likelihood + mapping. + + The above scheme allows for more rays of greater depth than previously + afforded by tensor parameterisation. However, the price paid is compute + time, which scales with the number of rays. Biomimetically, this can be + regarded as an exhaustive saccadic search over all rays. This follows + because the belief updating accumulates evidence from the likelihood of + each ray sequentially. For simplicity, the likelihood mappings are + assumed to be very precise; given the course graining afforded by + discrete state space models. + __________________________________________________________________________ + Copyright (C) 2019 Wellcome Trust Centre for Neuroimaging + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/DEM_drone_telemetry.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("DEM_drone_telemetry", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/DEM_drone_vision.py b/spm/__toolbox/__DEM/DEM_drone_vision.py new file mode 100644 index 00000000..3d2e3317 --- /dev/null +++ b/spm/__toolbox/__DEM/DEM_drone_vision.py @@ -0,0 +1,61 @@ +from spm._runtime import Runtime + + +def DEM_drone_vision(*args, **kwargs): + r""" + Demo of domain factors in the setting of active vision + __________________________________________________________________________ + + This routine illustrates weight sharing in the context of partially + observed Markov decision processes. Specifically, it considers the + problem of building posterior beliefs (c.f., a cognitive map) based upon + spas sampling of an (unchanging) environment using the same likelihood + mappings for each modality that conditioning the subset of hidden factors + (i.e., the states of some location) that constitute the domain (i.e., + parents) of the likelihood mapping. In other words, contextualising the + allocentric representation of the environment to generate egocentric + observations. Effectively, this means that one can encode the requisite + projective geometry, not in the likelihood mappings, but in the hidden + states to which they refer. + + The particular problem here models the environment as a collection of + conditionally independent factors, where each factor corresponds to a + location (a point on a 3D grid representation of the world). The levels + of each factor encode the state or (semantic) class of each location. The + conditional independence of the latent factors means that a subset of + factors are the parents of the likelihood mapping at any one time. And + these parents depend upon where a drone is currently looking. + + A drone can fly around the environment with several lines of sight + (corresponding to the number of modalities). Depending upon the location + and orientation of the drone, a small number of locations are specified + to generate what would be seen from that perspective. This means there + are hidden factors pertaining to the location and orientation of the + drone and a set of hidden factors corresponding to the state of the + environment each location. The former are controllable, the latter are + not. In this setup, the configuration of the environment is encoded by + beliefs and exploration or navigation rests upon the expected information + gain about states (as opposed to parameters). One can also include an + expected cost of flying too close to locations with certain attributes. + + Note that this requires two sets of variational updates — to update + posteriors over the state of the drone (based upon the likelihood of + observations from different perspectives), and to update posteriors over + the state of the environment (based upon the likelihood of observations, + given that perspective). In principle, this allows the drone to infer + both the environment and its relationship to that environment; although, + in practice, we will illustrate the behaviour of a drone given precise + beliefs about its initial state, or precise beliefs about the world + __________________________________________________________________________ + Copyright (C) 2019 Wellcome Trust Centre for Neuroimaging + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/DEM_drone_vision.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("DEM_drone_vision", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/DEM_evidence_accumulation.py b/spm/__toolbox/__DEM/DEM_evidence_accumulation.py index bbf58c09..dbe2f6d1 100644 --- a/spm/__toolbox/__DEM/DEM_evidence_accumulation.py +++ b/spm/__toolbox/__DEM/DEM_evidence_accumulation.py @@ -2,7 +2,7 @@ def DEM_evidence_accumulation(*args, **kwargs): - """ + r""" Saccadic eye movements under active inference: __________________________________________________________________________ This demo illustrates evidence accumulation (and responses) using a very @@ -23,9 +23,12 @@ def DEM_evidence_accumulation(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/DEM_evidence_accumulation.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/DEM_evidence_accumulation.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("DEM_evidence_accumulation", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/DEM_federation.py b/spm/__toolbox/__DEM/DEM_federation.py new file mode 100644 index 00000000..72181275 --- /dev/null +++ b/spm/__toolbox/__DEM/DEM_federation.py @@ -0,0 +1,75 @@ +from spm._runtime import Runtime + + +def DEM_federation(*args, **kwargs): + r""" + Demo of active (visual) scene-construction + __________________________________________________________________________ + + This demonstration illustrates the emergence of belief sharing and + distributed (i.e., federated) inference when posterior beliefs are + broadcast among multiple agents. It can be read from a number of + perspectives: from a systemic perspective, this emergence can be read as + the minimisation of joint free energy that ensues when inference, + learning and selection are simulated as a free energy minimising + processes. A more anthropomorphic interpretation is in terms of language + and communication; namely, the acquisition of language, and its + transmission over generations, in the spirit of cultural niche + construction. + + The particular example here uses three agents that can be thought of as + three sentinels maintaining surveillance for potential predators. + Crucially, each of the three agents has a restricted field of view, such + that each can only see about 1/3 of the horizon. In addition to visual + and proprioceptive (gaze-related) observation modalities, each agent can + also hear the others (but not itself). The agents have a simple + (identity) likelihood mapping between posterior beliefs — about latent + states that are shared (or conserved) over agents — and output modalities + or communication channels. + + Here, the birds report the location of a potential predator in terms of + its radial location in an allocentric frame of reference and its + proximity (near or far). In addition, the agents can report whether the + predator (i.e., subject of surveillance) is friendly or not. This active + inference is deliberately made difficult (in addition to the limited + field of view afforded each agent): first, the agents cannot see motion. + This means movement of the subject has to be inferred from successive + observations of location. This inference is crucial because it + underwrites predictions of location at the next time step, which are + broadcast to other agents. In the absence of this prediction, there would + be less predictive value for the other agents. Second, the disambiguation + between friend and foe is only possible when the predator is sufficiently + close to each bird. + + This scheme uses a generalised MDP, in which the paths are assumed to be + unchanging during each epoch (unless they are controllable). This means + for each episode of the simulation the predator is moving continuously in + one direction or another (or remains stationary). + + In what follows, we first demonstrate the utility of belief sharing, in + resolving uncertainty about latent states, when their consequences can + only be seen by one agent at a time. We then illustrate the acquisition + of language (i.e., likelihood mappings) using active learning or + accumulation of Dirichlet counts, where a child of one parent learns from + its parents and conspecifics. Finally, we illustrate the emergence of + language (i.e., precise and shared likelihood mappings) in an ensemble of + agents with initially imprecise, random likelihood tensors, when they are + exposed to the same environment. This emergence rests upon structure + learning in which priors over the Dirichlet counts of likelihood tensors + are updated using Bayesian model reduction – and the updates are in the + direction of maximising expected free energy or the mutual information of + the likelihood mapping. In short, distributed inference emerges from + minimising (variational and expected) free energy at three levels of + joint inference, learning and selection. + _________________________________________________________________________ + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/DEM_federation.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("DEM_federation", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/DEM_get_faces.py b/spm/__toolbox/__DEM/DEM_get_faces.py index c2bfbb8f..06aaa5ed 100644 --- a/spm/__toolbox/__DEM/DEM_get_faces.py +++ b/spm/__toolbox/__DEM/DEM_get_faces.py @@ -2,7 +2,7 @@ def DEM_get_faces(*args, **kwargs): - """ + r""" Utility routine to load images and create basis functions using a discrete cosine basis set (over a feature dimension). This is written specifically for the images used in this demonstration and should be @@ -10,9 +10,12 @@ def DEM_get_faces(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/DEM_get_faces.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/DEM_get_faces.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("DEM_get_faces", *args, **kwargs, nargout=0) diff --git a/spm/__toolbox/__DEM/DEM_greedy_MNIST.py b/spm/__toolbox/__DEM/DEM_greedy_MNIST.py new file mode 100644 index 00000000..8b23527c --- /dev/null +++ b/spm/__toolbox/__DEM/DEM_greedy_MNIST.py @@ -0,0 +1,39 @@ +from spm._runtime import Runtime + + +def DEM_greedy_MNIST(*args, **kwargs): + r""" + Structure learning from pixels + __________________________________________________________________________ + + This routine demonstrates the mapping from pixels to (discrete) + representations of episodes. It illustrates the use of a certain kind of + deep generative model based upon reduction and grouping operators (RG) + found in the renormalisation group. In brief, this allows an efficient + encoding (and generation) of high dimensional content by maintaining + conditionally independent partitions of hidden states in a recursive + fashion. + + This example uses image classification to showcase the ability of + recursive generative models to compress images in a way that leverages + the composition of small image components into larger arrangements. Uses + the MNIST digit classification problem. In brief, images are discretised + using singular value decomposition of local image patches. These are then + recursively assembled using a fast structure learning routine. Subsequent + training images and then assimilated using parametric learning. The + ensuing generative model is then illustrated in terms of digit + classification and the underlying architecture. + + __________________________________________________________________________ + Copyright (C) 2019 Wellcome Trust Centre for Neuroimaging + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/DEM_greedy_MNIST.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("DEM_greedy_MNIST", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/DEM_image_compression.py b/spm/__toolbox/__DEM/DEM_image_compression.py new file mode 100644 index 00000000..86534eb6 --- /dev/null +++ b/spm/__toolbox/__DEM/DEM_image_compression.py @@ -0,0 +1,39 @@ +from spm._runtime import Runtime + + +def DEM_image_compression(*args, **kwargs): + r""" + Structure learning from pixels + __________________________________________________________________________ + + This routine demonstrates the mapping from pixels to (discrete) + representations of episodes. It illustrates the use of a certain kind of + deep generative model based upon reduction and grouping operators (RG) + found in the renormalisation group. In brief, this allows an efficient + encoding (and generation) of high dimensional content by maintaining + conditionally independent partitions of hidden states in a recursive + fashion. + + This example uses image classification to showcase the ability of + recursive generative models to compress images in a way that leverages + the composition of small image components into larger arrangements. Uses + the MNIST digit classification problem. In brief, images are discretised + using singular value decomposition of local image patches. These are then + recursively assembled using a fast structure learning routine. Subsequent + training images and then assimilated using parametric learning. The + ensuing generative model is then illustrated in terms of digit + classification and the underlying architecture. + + __________________________________________________________________________ + Copyright (C) 2019 Wellcome Trust Centre for Neuroimaging + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/DEM_image_compression.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("DEM_image_compression", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/DEM_laws.py b/spm/__toolbox/__DEM/DEM_laws.py new file mode 100644 index 00000000..b6530f52 --- /dev/null +++ b/spm/__toolbox/__DEM/DEM_laws.py @@ -0,0 +1,49 @@ +from spm._runtime import Runtime + + +def DEM_laws(*args, **kwargs): + r""" + Demo of context sensitive preferences + __________________________________________________________________________ + + This demonstration script illustrates context-sensitive preferences and + the resolution of conflicting preferences under active inference. It + illustrates how one set of preferences (e.g., preferring not to violate + social or institutional norms) can be overwritten by potentially + conflicting preferences (e.g., preferred outcomes in an emergency), in + terms of choice behaviour. The particular setup considered here involves + moving from a starting location (e.g., the sidewalk) to a street crossing + and crossing the road, when a (green) walk sign allows. Crucially, a + siren can sound at any time, indicating an imperative to reach the other + side of the road. In nominal circumstances the agent will wait patiently + until the walk sign (i.e., deontic cue) switches from don't walk (red) to + walk (green). However, if the siren sounds, the agent could — with the + right preferences – cross the road, risking aversive outcomes; such as + being arrested or run over by a car. + + In the example below, the agent has mild preferences for being at her + destination, which are not sufficient to overcome her aversion to + violations, unless she hears a siren. The don't walk sign (that can only + be seen from the crossing) is on for six timesteps. After four timesteps + the siren sounds and the agent infers there is an emergency. This compels + her to cross the road, thereby eliciting a violation but enabling her to + reach the safe destination. Interestingly, when the agent is sufficiently + confident there is an emergency — given an ambiguous (auditory) + likelihood mapping — she resolves her uncertainty about what to do, + eliciting a simulated phasic release of dopamine. This be regarded as + reporting the affective aspect of belief updating. Technically, dopamine + scores the increases or decreases in the average expected free energy + over policies; intuitively, this corresponds to the confidence in what + the agent — believes she — is doing. + __________________________________________________________________________ + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/DEM_laws.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("DEM_laws", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/DEM_masks_Cam.py b/spm/__toolbox/__DEM/DEM_masks_Cam.py new file mode 100644 index 00000000..372c2b08 --- /dev/null +++ b/spm/__toolbox/__DEM/DEM_masks_Cam.py @@ -0,0 +1,24 @@ +from spm._runtime import Runtime + + +def DEM_masks_Cam(*args, **kwargs): + r""" + Bayesian model reduction for COVID models + FORMAT DEM_masks_Cam + + This subroutine applies Bayesian model reduction to a DCM for COVID, + asking whether mask wearing can be treated as fixed parameters by + reducing its prior variance to 0. + __________________________________________________________________________ + Copyright (C) 2020 Wellcome Centre for Human Neuroimaging + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/DEM_masks_Cam.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("DEM_masks_Cam", *args, **kwargs, nargout=0) diff --git a/spm/__toolbox/__DEM/DEM_metric_BMR.py b/spm/__toolbox/__DEM/DEM_metric_BMR.py new file mode 100644 index 00000000..a9a3648f --- /dev/null +++ b/spm/__toolbox/__DEM/DEM_metric_BMR.py @@ -0,0 +1,54 @@ +from spm._runtime import Runtime + + +def DEM_metric_BMR(*args, **kwargs): + r""" + __________________________________________________________________________ + This routine illustrates the use of Bayesian model reduction to apply + empirical priors specified in the form of some discrete models or + hypotheses (i.e., a reduced set of priors). The particular problem + illustrated here involves converting discrete likelihood measures — of + where something is — at a set of discrete locations into a posterior + distribution that conforms to constraints specified in continuous space. + In this example, the reduced model space assumes the probability over + (continuous) locations has a Gaussian form; i.e., the location is in some + well-defined neighbourhood. This entails specifying a set of prior + hypotheses — of a discrete sort — that might best account for the + accumulated likelihoods over different sources of information (here, + discrete locations). In this example, the hypotheses centred a Gaussian + posterior over each location, over a small range of dispersions or + standard deviations. Using Bayesian model reduction to assess the + evidence for the ensuing hypotheses enables one to form a Bayesian model + average of the location (and its dispersion). + + Interestingly, this example also illustrates how to convert some + nonmetric representation (i.e., likelihoods at discrete points with no + metric or spatial dependencies) into a posterior over a continuous + variable. This discrete to continuous mapping rests upon generating the + hypothesis space from a continuous parameterisation of location — and + then mapping it to a discrete parameterisation. Here, we used a Dirichlet + parameterisation of discrete likelihoods at each grid point, generated + from a Gaussian function of continuous space. + + This demo routine plots a 20 x 20 array of discrete likelihood + measurements (generated by adding a random variates to the log likelihood + of finding something at each grid point, given a true location and + dispersion). A subset of these discrete likelihood measures are + illustrated with red dots. This subset is then used to estimate the + Bayesian model average of a posterior over location, as shown on the + right. The true expected location is shown with a green dot and the + maximum a posteriori estimate is shown with a red dot. Note that this + estimate is in a continuous space; implying that one could create a + fine-grained version of this posterior any arbitrary resolution. + __________________________________________________________________________ + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/DEM_metric_BMR.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("DEM_metric_BMR", *args, **kwargs, nargout=0) diff --git a/spm/__toolbox/__DEM/DEM_morphogenesis.py b/spm/__toolbox/__DEM/DEM_morphogenesis.py index 7fb09fda..001e7bb6 100644 --- a/spm/__toolbox/__DEM/DEM_morphogenesis.py +++ b/spm/__toolbox/__DEM/DEM_morphogenesis.py @@ -2,8 +2,8 @@ def DEM_morphogenesis(*args, **kwargs): - """ - This routine illustrates self-assembly or more for genesis under active + r""" + This routine illustrates self-assembly or morphogenesis under active inference (free energy minimisation). It exploits the fact that one can express a systems (marginal) Lyapunov function in terms of a variational free energy. This means that one can prescribe an attracting set in @@ -26,9 +26,12 @@ def DEM_morphogenesis(*args, **kwargs): _________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/DEM_morphogenesis.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/DEM_morphogenesis.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("DEM_morphogenesis", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/DEM_music_compression.py b/spm/__toolbox/__DEM/DEM_music_compression.py new file mode 100644 index 00000000..7a7a3978 --- /dev/null +++ b/spm/__toolbox/__DEM/DEM_music_compression.py @@ -0,0 +1,35 @@ +from spm._runtime import Runtime + + +def DEM_music_compression(*args, **kwargs): + r""" + Structure learning from sound files with active learning + __________________________________________________________________________ + + This routine illustrates the use of renormalizable generative models to + recognise, compress and generate sound files or auditory streams. This + application uses a blocking or grouping operator, which operates on the + neighbouring frequencies of a sonogram (i.e., time frequency + representation of a sound file). This means that local frequencies are + grouped together over time and assimilated using fast structure learning. + + This particular demonstration ingests a sound file of music discretising + it into a few hundred time-frequency voxels, which are subsequently + re-normalised to a succession of (high-level) episodes corresponding + roughly to a bar of music. This demonstration includes active learning, + after structure learning to illustrate how transitions from the final + episode to a subsequent episode can be learnt in an experience -dependent + fashion. + __________________________________________________________________________ + Copyright (C) 2019 Wellcome Trust Centre for Neuroimaging + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/DEM_music_compression.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("DEM_music_compression", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/DEM_ness_Lap.py b/spm/__toolbox/__DEM/DEM_ness_Lap.py new file mode 100644 index 00000000..f4c7e3a0 --- /dev/null +++ b/spm/__toolbox/__DEM/DEM_ness_Lap.py @@ -0,0 +1,36 @@ +from spm._runtime import Runtime + + +def DEM_ness_Lap(*args, **kwargs): + r""" + Nonequilibrium steady-state under a Helmholtz decomposition + FORMAT DEM_ness_Lap + -------------------------------------------------------------------------- + This demonstration routine illustrates the use of generalised + (variational) filtering to invert a generic model of any complex + dynamical system. This model makes the minimal assumption that there + exists a nonequilibrium steady-state (i.e., a pullback attractor). The + ensuing solution to the density dynamics—under the Helmholtz-Hodge + decomposition—furnishes a normal form for the flow or dynamics. This + normal form can be parameterised to 2nd order in terms of (solenoidal and + dissipative) flow operators that operate on the gradients of the system’s + potential, surprisal or self-information (i.e., the implausibility of + being found in any given state and the NESS density). The second order + parameterisation (of the underlying flow) is used as a generative model + to learn the parameters of the system. + + This enables forecasting; in the sense that the system can be solved for + future time points (with random fluctuations on the flow) to produce an + ensemble or sample estimate of future states. + __________________________________________________________________________ + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/DEM_ness_Lap.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("DEM_ness_Lap", *args, **kwargs, nargout=0) diff --git a/spm/__toolbox/__DEM/DEM_path_integrals.py b/spm/__toolbox/__DEM/DEM_path_integrals.py index e0ef3891..80880229 100644 --- a/spm/__toolbox/__DEM/DEM_path_integrals.py +++ b/spm/__toolbox/__DEM/DEM_path_integrals.py @@ -2,7 +2,7 @@ def DEM_path_integrals(*args, **kwargs): - """ + r""" -------------------------------------------------------------------------- Illustration of approximations to path integrals. This routine generates a path from dynamics whose Fokker Planck solution corresponds to a @@ -16,9 +16,12 @@ def DEM_path_integrals(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/DEM_path_integrals.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/DEM_path_integrals.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("DEM_path_integrals", *args, **kwargs, nargout=0) diff --git a/spm/__toolbox/__DEM/DEM_paths.py b/spm/__toolbox/__DEM/DEM_paths.py new file mode 100644 index 00000000..e0f6c928 --- /dev/null +++ b/spm/__toolbox/__DEM/DEM_paths.py @@ -0,0 +1,60 @@ +from spm._runtime import Runtime + + +def DEM_paths(*args, **kwargs): + r""" + -------------------------------------------------------------------------- + From densities to dynamics. This routine provides a numerical + illustration of how to construct a random dynamical system from a + probability density over some metric state-space. This involves sampling + a set of points from an inhomogeneous density and creating an ordered + list as follows: Add, without replacement, the point closest to the last + point added. Start with the point furthest from the origin and repeat, + until all points have been appended to the list. The ordered list can now + be treated as a time-series, describing a unique path through + state-space; namely, a time-homogenous Markov process. The implicit + movement through state space can now be decomposed into a part that can + be predicted given its position in state space, and a residual component, + using a least squares estimator of the movement (i.e., flow) at each + position. By construction, the residuals will have a zero mean Gaussian + distribution by central limit theorem. This follows because the predicted + flow is a linear mixture of some basis functions used for the least + squares estimation. + + The ensuing decomposition can now be read as a random dynamical system, + apt for analysis in terms of pullback attractors (Arnold, 2003; Crauel + and Flandoli, 1994; Zaou et al., 2024) or, in a physics setting, a + Langevin formulation (Girolami and Calderhead, 2011; Kerr and Graham, + 2000; Pavliotis, 2014; Seifert, 2012; Sekimoto, 1998). In the current + example, 2^12 points are sampled from a distribution over a + two-dimensional state-space—with a flat Euclidean geometry—supplied. The + functional form of the probability density, over the first state, + comprises two Gaussian distributions. The conditional density of the + second state was a quadratic function of the first. + + The figure produced by this routine shows the sample points in the upper + right panel, and the accompanying timeseries are shown on the upper + right. These timeseries are rendered as a path--in the left middle + panel--as a succession of vectors that we can associate with motion. + Following least squares estimation of this motion--using fourth-order + polynomial basis functions of the two states--the predicted motion (i.e., + flow) can be evaluated at each point (middle panel) and subtracted from + the motion to identify the residuals (right middle panel), that can be + treated as random fluctuations. Centring the fluctuations on their + expectation of zero discloses their Gaussian form (lower panels). This + construction associates time with some unique ordering of points sampled + from a metric state-space. The ensuing dynamics can have complicated + structure, as illustrated in the middle panel depicting flow as a vector + field. + __________________________________________________________________________ + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/DEM_paths.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("DEM_paths", *args, **kwargs, nargout=0) diff --git a/spm/__toolbox/__DEM/DEM_psychophysics.py b/spm/__toolbox/__DEM/DEM_psychophysics.py index f749ee84..c480b0c4 100644 --- a/spm/__toolbox/__DEM/DEM_psychophysics.py +++ b/spm/__toolbox/__DEM/DEM_psychophysics.py @@ -2,7 +2,7 @@ def DEM_psychophysics(*args, **kwargs): - """ + r""" FORMAT DCM = DEM_psychophysics Demonstration of psychometric curve fitting and model comparison @@ -38,9 +38,12 @@ def DEM_psychophysics(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/DEM_psychophysics.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/DEM_psychophysics.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("DEM_psychophysics", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/DEM_reasoning.py b/spm/__toolbox/__DEM/DEM_reasoning.py new file mode 100644 index 00000000..f5d1fbf5 --- /dev/null +++ b/spm/__toolbox/__DEM/DEM_reasoning.py @@ -0,0 +1,69 @@ +from spm._runtime import Runtime + + +def DEM_reasoning(*args, **kwargs): + r""" + Demo of active inference for visual salience + __________________________________________________________________________ + This routine illustrates active reasoning; namely, choosing policies that + disambiguate among prior beliefs about hypotheses or model structure. In + this example, the hypotheses concern the likelihood mapping between + latent causes and a particular outcome modality (correct or not). The + example used to demonstrate this form of active model selection revisits + the three-ball paradigm, in which the correct colour is the colour of a + ball in a location signified by the colour of another ball. In other + words, this is a minimal setup or puzzle that features an unknown rule, + invariance, equivariance or symmetry. In this case, a rule is taken to + mean the equivalence between a control and stayed that depends upon a + context state. Here, the context is specified by the colour of a ball in + one of three locations. This colour specifies the location of the + criterion colour that has to be matched by the agent's choice. + + In this example, we assume that the agent has learned the generative + model of the game but does not know the likelihood mapping between latent + states and feedback or reward that tells us whether it's choice was + correct or incorrect. However, the agent is equipped with priors over the + likelihood mapping in question, encoding all possible (second-order) + rules of the kind described above. This enables it to evaluate the + likelihood of each prior model using Bayesian model reduction (starting + with prior based upon the Bayesian model average of prior models). These + marginal likelihoods can then be used to evaluate the expected + information gain over models, conditioned on each policy. The policies in + question here depend upon where the agent is looking and the choice it + commits to. + + The expected information gain supplements the salience (information gain + about states) and novelty (information gain about parameters) terms in + expected free energy; thereby causing the agent to sample information + that best resolves uncertainty about which model is in the play. When + sufficiently confident (as scored by its beliefs about models) it can + then replace its posterior likelihood mapping with the model selected + from its model priors and, if correct, proceed as usual to secure as many + wins as possible. + + In what follows, we first demonstrate the optimal behaviour of an agent + that knows the correct rule, and plans two steps into the future under + sophisticated inference. We then repeat the simulation removing prior + preferences (and deep planning) to let the expected information gain over + models predominate in action selection. When the log odds ratio of the + most likely model being the only viable model exceeds 16, preferences are + reinstated and the agent proceeds in an exploitative fashion. The ensuing + behaviour is characterised in terms of the agents confidence; i.e., the + expected precision or negentropy of beliefs over policies, performance + and rule discovery (as scored by the KL divergence between the true + likelihood mapping and the posterior encoded in Dirichlet counts + accumulated over successive trials. + + see also: spm_MDP_BMR.m and spm_MPD_VB_XXX.m + __________________________________________________________________________ + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/DEM_reasoning.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("DEM_reasoning", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/DEM_reverse_paths.py b/spm/__toolbox/__DEM/DEM_reverse_paths.py new file mode 100644 index 00000000..4f528669 --- /dev/null +++ b/spm/__toolbox/__DEM/DEM_reverse_paths.py @@ -0,0 +1,60 @@ +from spm._runtime import Runtime + + +def DEM_reverse_paths(*args, **kwargs): + r""" + -------------------------------------------------------------------------- + From densities to dynamics. This routine provides a numerical + illustration of how to construct a random dynamical system from a + probability density over some metric state-space. This involves sampling + a set of points from an inhomogeneous density and creating an ordered + list as follows: Add, without replacement, the point closest to the last + point added. Start with the point furthest from the origin and repeat, + until all points have been appended to the list. The ordered list can now + be treated as a time-series, describing a unique path through + state-space; namely, a time-homogenous Markov process. The implicit + movement through state space can now be decomposed into a part that can + be predicted given its position in state space, and a residual component, + using a least squares estimator of the movement (i.e., flow) at each + position. By construction, the residuals will have a zero mean Gaussian + distribution by central limit theorem. This follows because the predicted + flow is a linear mixture of some basis functions used for the least + squares estimation. + + The ensuing decomposition can now be read as a random dynamical system, + apt for analysis in terms of pullback attractors (Arnold, 2003; Crauel + and Flandoli, 1994; Zaou et al., 2024) or, in a physics setting, a + Langevin formulation (Girolami and Calderhead, 2011; Kerr and Graham, + 2000; Pavliotis, 2014; Seifert, 2012; Sekimoto, 1998). In the current + example, 2^12 points are sampled from a distribution over a + two-dimensional state-space—with a flat Euclidean geometry—supplied. The + functional form of the probability density, over the first state, + comprises two Gaussian distributions. The conditional density of the + second state was a quadratic function of the first. + + The figure produced by this routine shows the sample points in the upper + right panel, and the accompanying timeseries are shown on the upper + right. These timeseries are rendered as a path--in the left middle + panel--as a succession of vectors that we can associate with motion. + Following least squares estimation of this motion--using fourth-order + polynomial basis functions of the two states--the predicted motion (i.e., + flow) can be evaluated at each point (middle panel) and subtracted from + the motion to identify the residuals (right middle panel), that can be + treated as random fluctuations. Centring the fluctuations on their + expectation of zero discloses their Gaussian form (lower panels). This + construction associates time with some unique ordering of points sampled + from a metric state-space. The ensuing dynamics can have complicated + structure, as illustrated in the middle panel depicting flow as a vector + field. + __________________________________________________________________________ + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/DEM_reverse_paths.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("DEM_reverse_paths", *args, **kwargs, nargout=0) diff --git a/spm/__toolbox/__DEM/DEM_self_entropy.py b/spm/__toolbox/__DEM/DEM_self_entropy.py index f0dec986..9e16a6f2 100644 --- a/spm/__toolbox/__DEM/DEM_self_entropy.py +++ b/spm/__toolbox/__DEM/DEM_self_entropy.py @@ -2,7 +2,7 @@ def DEM_self_entropy(*args, **kwargs): - """ + r""" -------------------------------------------------------------------------- Routine to produce graphics illustrating self organisation in terms of the entropy of blanket states and associated trajectories. A low blanket @@ -18,9 +18,12 @@ def DEM_self_entropy(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/DEM_self_entropy.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/DEM_self_entropy.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("DEM_self_entropy", *args, **kwargs, nargout=0) diff --git a/spm/__toolbox/__DEM/DEM_sound_compression.py b/spm/__toolbox/__DEM/DEM_sound_compression.py new file mode 100644 index 00000000..fc6732ff --- /dev/null +++ b/spm/__toolbox/__DEM/DEM_sound_compression.py @@ -0,0 +1,35 @@ +from spm._runtime import Runtime + + +def DEM_sound_compression(*args, **kwargs): + r""" + Structure learning from sound files + __________________________________________________________________________ + + This routine illustrates the use of renormalizable generative models to + recognise, compress and generate sound files or auditory streams. This + application uses a blocking or grouping operator, which operates on the + neighbouring frequencies of a sonogram (i.e., time frequency + representation of a sound file). This means that local frequencies are + grouped together over time and assimilated using fast structure learning. + + From the perspective of the generative model, the model generates + sequences of sequences that can be regarded as successively higher + abstractions or compositions of frequency glides. The ensuing generative + models can then generate sequences of sequences in a way that emulates + previous simulations of birdsong with hierarchically composed non-linear + dynamical (chaotic) systems but are generated in discrete state spaces + via the explicit representation of paths or trajectories. + __________________________________________________________________________ + Copyright (C) 2019 Wellcome Trust Centre for Neuroimaging + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/DEM_sound_compression.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("DEM_sound_compression", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/DEM_spatial_deconvolution.py b/spm/__toolbox/__DEM/DEM_spatial_deconvolution.py index 665a99a6..6c171d87 100644 --- a/spm/__toolbox/__DEM/DEM_spatial_deconvolution.py +++ b/spm/__toolbox/__DEM/DEM_spatial_deconvolution.py @@ -2,26 +2,29 @@ def DEM_spatial_deconvolution(*args, **kwargs): - """ + r""" FORMAT DEM_spatial_deconvolution -------------------------------------------------------------------------- - This (toy) demonstration routine illustrates spatiotemporal - deconvolution of regional responses from imaging time-series. The - generative model assumes the data are generated by a small number of - anatomical parcels that are smoothly displaced. The resulting data are - then convolved spatially with a smoothly varying spatial kernel. The smooth - displacement and dispersion are modelled in the usual way using discrete - cosine basis set. The model operates on reduced data features, using - the eigenvariates of the original time-series - this supplements the - implicit deconvolution with eigen-de-noising. The ensuing estimates are - anatomically informed because the generative model stars with a parcellation - scheme. + This (toy) demonstration routine illustrates spatiotemporal deconvolution + of regional responses from imaging time-series. The generative model + assumes the data are generated by a small number of anatomical parcels + that are smoothly displaced. The resulting data are then convolved + spatially with a smoothly varying spatial kernel. The smooth displacement + and dispersion are modelled in the usual way using discrete cosine basis + set. The model operates on reduced data features, using the + eigenvariates of the original time-series - this supplements the implicit + deconvolution with eigen-de-noising. The ensuing estimates are + anatomically informed because the generative model stars with a + parcellation scheme. __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/DEM_spatial_deconvolution.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/DEM_spatial_deconvolution.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("DEM_spatial_deconvolution", *args, **kwargs, nargout=0) diff --git a/spm/__toolbox/__DEM/DEM_surveillance.py b/spm/__toolbox/__DEM/DEM_surveillance.py index 1f3fe054..cf90c480 100644 --- a/spm/__toolbox/__DEM/DEM_surveillance.py +++ b/spm/__toolbox/__DEM/DEM_surveillance.py @@ -2,7 +2,7 @@ def DEM_surveillance(*args, **kwargs): - """ + r""" Demo of active (visual) scene-construction __________________________________________________________________________ @@ -78,9 +78,12 @@ def DEM_surveillance(*args, **kwargs): _________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/DEM_surveillance.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/DEM_surveillance.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("DEM_surveillance", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/DEM_swarm.py b/spm/__toolbox/__DEM/DEM_swarm.py new file mode 100644 index 00000000..ac293b3d --- /dev/null +++ b/spm/__toolbox/__DEM/DEM_swarm.py @@ -0,0 +1,38 @@ +from spm._runtime import Runtime + + +def DEM_swarm(*args, **kwargs): + r""" + This routine illustrates self-organisation and swarming under active + inference (free energy minimisation). It exploits the fact that one can + express a joint-systems (marginal) Lyapunov function in terms of a + variational free energy. This means that one can prescribe an attracting + set in terms of the generative model that defines variational free + energy. In this example, the attracting set is an orbit in the phase + space of an ensemble (e.g., swarm of drones): where the states correspond + to the location and (radio) signal expression of 8 agents. In essence, + the systems dynamics rest upon each agent inferring its unique identity + (in relation to all others) and behaving in accord with those inferences; + in other words, inferring its place in the assembly and realising those + inferences by moving. In this example, the behaviour is rendered + autonomous by including hidden states that evolve in time. This allows + the frame of reference (within which agents communicate) to change + systematically. In this example, this frame of reference uses affine + transformations to simulate sequences of swarm dynamics. + + This scheme can be compared with the morphogenesis simulations. The key + difference is that we are now dealing with an autonomous system in which + behaviour is prescribed by the internal (autonomous) dynamics of the + generative model. + _________________________________________________________________________ + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/DEM_swarm.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("DEM_swarm", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/DEM_syntax.py b/spm/__toolbox/__DEM/DEM_syntax.py new file mode 100644 index 00000000..9ec9102e --- /dev/null +++ b/spm/__toolbox/__DEM/DEM_syntax.py @@ -0,0 +1,52 @@ +from spm._runtime import Runtime + + +def DEM_syntax(*args, **kwargs): + r""" + Demo of active inference and structure learning (language) + __________________________________________________________________________ + + This routine uses a Markov decision process formulation of active + inference to illustrate structure learning. Structure learning here is + read as optimising the structure of a generative model that, crucially, + includes dynamics. This foregrounds the sequential order and temporal + scheduling of various updates. In this example, we start with a simple + problem in which one or more objects can be removed around in a + two-dimensional space. The kind of structure learning considered here can + be likened to nonparametric Bayes; namely, the addition of a model + component if licensed in terms of model evidence or marginal likelihood. + Procedurally, this means that with each new stimulus (sequence of + observations) various models are compared that entail the addition of a + new latent state, path or factor. If the ELBO (i.e., negative variational + free energy) increases the addition is accepted but not otherwise. The + training sequences are carefully constructed to reflect the ordinal + structure of observations. In other words, structure learning is + predicated on both the content and dynamics of the generative process. + + This demonstration calls a belief propagation scheme with factorisation + of latent states into factors. Furthermore, the likelihood mapping is + factorised into conditionally independent outcome modalities. This means + that the size of any requisite tensor for belief updating is upper + bounded by the factorisation or mean field approximation). This mitigates + the van Neumann bottleneck; leading to increased efficiency at all three + levels of optimisation (inference, learning and model selection). + + A key aspect of this demonstration routine is that it deals with discrete + state space generative models (and observations). This means that belief + propagation and updating can be implemented using linear (tensor) + operators; without worrying about nonlinearities of the sort found in + continuous state space models. + + _________________________________________________________________________ + Copyright (C) 2019 Wellcome Trust Centre for Neuroimaging + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/DEM_syntax.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("DEM_syntax", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/DEM_thermostat.py b/spm/__toolbox/__DEM/DEM_thermostat.py new file mode 100644 index 00000000..e7eb74f7 --- /dev/null +++ b/spm/__toolbox/__DEM/DEM_thermostat.py @@ -0,0 +1,53 @@ +from spm._runtime import Runtime + + +def DEM_thermostat(*args, **kwargs): + r""" + Demo of multiple constraint satisfaction (smart thermostat) + __________________________________________________________________________ + + This demonstration routine illustrates the application of active + inference to a multiple constraint satisfaction problem. In this example, + there are two controllers (i.e., agents) the first can boost the charge + of a domestic battery. The second is a heating, ventilation and air + conditioning system (HVAC). These two controllers have to operate in + tandem to satisfy multiple constraints; namely, keep electricity costs + down by boosting during periods of low time of use (ToU) rates, while + maintaining room temperature at a comfortable level, when and only when + the rule is in use (i.e., occupied). The problem is solved using + constraints (i.e., prior preferences) on outcomes. These include + consumption (i.e., time of use rates multiplied by the state of the + booster), room temperature and battery charge (state of charge; which + cannot be at the highest or lowest level of charge). + + This example illustrates the discretisation or course graining of latent + states and outcomes at several timescales. First, it illustrates home to + use the solutions of underlying state space model (e.g., differential + equations) to specify outcomes. Second, it uses a model to illustrate how + slow fluctuations (day-to-day) contextualise fast fluctuations (hour two + hour) in hidden states generating outcomes. For example, the time of use + rate depends upon a daily average, with two hourly peaks. Similarly, the + outside (air) temperature fluctuates relatively smoothly, with an initial + (early morning) temperature that changes itinerantly from day to day.% + + The results of active inference are shown using a bespoke displays scheme + that picks out the outcomes that are equipped with constraints and + evaluates constraint satisfaction in terms of the cost; namely, the + negative log probability of the realised outcome under prior preferences + encoded in (context sensitive) constraints (C). Context sensitivity in + this instance is endowed by conditioning prior constraints on one or more + hidden factors (here, constraints over room temperature depend upon + whether the room is in use or not). + + __________________________________________________________________________ + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/DEM_thermostat.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("DEM_thermostat", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/DEM_vaccination.py b/spm/__toolbox/__DEM/DEM_vaccination.py index 829fe71e..3f05958d 100644 --- a/spm/__toolbox/__DEM/DEM_vaccination.py +++ b/spm/__toolbox/__DEM/DEM_vaccination.py @@ -2,7 +2,7 @@ def DEM_vaccination(*args, **kwargs): - """ + r""" FORMAT Tab = DEM_vaccination Demonstration of COVID-19 modelling using variational Laplace @@ -17,9 +17,12 @@ def DEM_vaccination(*args, **kwargs): Copyright (C) 2020 Wellcome Centre for Human Neuroimaging - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/DEM_vaccination.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/DEM_vaccination.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("DEM_vaccination", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/DEM_video_compression.py b/spm/__toolbox/__DEM/DEM_video_compression.py new file mode 100644 index 00000000..435d0bc6 --- /dev/null +++ b/spm/__toolbox/__DEM/DEM_video_compression.py @@ -0,0 +1,46 @@ +from spm._runtime import Runtime + + +def DEM_video_compression(*args, **kwargs): + r""" + Structure learning from pixels + __________________________________________________________________________ + + This routine demonstrates the mapping from pixels to (discrete) + representations of episodes. It illustrates the use of a certain kind of + deep generative model based upon reduction and grouping operators (RG) + found in the renormalisation group. In brief, this allows an efficient + encoding (and generation) of high dimensional content by maintaining + conditionally independent partitions of hidden states in a recursive + fashion. This example takes the view of efficient inference as, + effectively, compression and efficient coding of videos. However, the + focus of this compressed encoding is on the trajectory or path as visual + objects move. + + A key architectural aspect of these deep structures is an appeal to the + renormalisation group; in the sense that there is a recursive application + of grouping and reduction operators, as we move from one hierarchical + level to the next. These operate over both space and time: in the sense + that groups of pixels are jointly inferred over a short period of time; + such that the state any given level of the model generates the + instantaneous state and path (i.e., velocity) of a group of latent states + at the lower level. In these examples, the group operator effectively + tiles a lattice of latent states (and instantaneous paths) into little + contiguous squares. This necessary induces a separation of temporal + scales such as the states at the highest level see all the pixels at the + lowest level and, effectively, encode a trajectory over to the 2^n + timesteps, where n is the depth of the model. + + __________________________________________________________________________ + Copyright (C) 2019 Wellcome Trust Centre for Neuroimaging + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/DEM_video_compression.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("DEM_video_compression", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/DFP_demo_double_well.py b/spm/__toolbox/__DEM/DFP_demo_double_well.py index d3fb80cf..6793184c 100644 --- a/spm/__toolbox/__DEM/DFP_demo_double_well.py +++ b/spm/__toolbox/__DEM/DFP_demo_double_well.py @@ -2,16 +2,19 @@ def DFP_demo_double_well(*args, **kwargs): - """ + r""" DEMO comparing Variational filtering with particle filtering in the context of a bimodal conditional density. This demonstrates that the variational filter can not only represent free-form densities on the states but also the causes of responses. - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/DFP_demo_double_well.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/DFP_demo_double_well.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("DFP_demo_double_well", *args, **kwargs, nargout=0) diff --git a/spm/__toolbox/__DEM/DFP_demo_hdm.py b/spm/__toolbox/__DEM/DFP_demo_hdm.py index 38d6c12f..bc0e0f2e 100644 --- a/spm/__toolbox/__DEM/DFP_demo_hdm.py +++ b/spm/__toolbox/__DEM/DFP_demo_hdm.py @@ -2,14 +2,17 @@ def DFP_demo_hdm(*args, **kwargs): - """ + r""" demo for Hemodynamic deconvolution usinf variational filtering __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/DFP_demo_hdm.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/DFP_demo_hdm.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("DFP_demo_hdm", *args, **kwargs, nargout=0) diff --git a/spm/__toolbox/__DEM/FEP_MB_demo.py b/spm/__toolbox/__DEM/FEP_MB_demo.py index a0cfc507..86a7cb1a 100644 --- a/spm/__toolbox/__DEM/FEP_MB_demo.py +++ b/spm/__toolbox/__DEM/FEP_MB_demo.py @@ -2,7 +2,7 @@ def FEP_MB_demo(*args, **kwargs): - """ + r""" This routine illustrates a hierarchical decomposition of Markov blankets (of Markov blankets). It rests upon the dual operators of finding a partition (a Markov partition) and then using an adiabatic dimensional @@ -19,9 +19,12 @@ def FEP_MB_demo(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/FEP_MB_demo.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/FEP_MB_demo.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("FEP_MB_demo", *args, **kwargs, nargout=0) diff --git a/spm/__toolbox/__DEM/FEP_Manifold.py b/spm/__toolbox/__DEM/FEP_Manifold.py index 29b72524..67637508 100644 --- a/spm/__toolbox/__DEM/FEP_Manifold.py +++ b/spm/__toolbox/__DEM/FEP_Manifold.py @@ -2,7 +2,7 @@ def FEP_Manifold(*args, **kwargs): - """ + r""" This demonstration routine simulates the emergence of life - as defined in terms of active inference - using a synthetic primordial soup. The key aspect of this dynamics is that there is a separation between dynamical @@ -33,9 +33,12 @@ def FEP_Manifold(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/FEP_Manifold.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/FEP_Manifold.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("FEP_Manifold", *args, **kwargs, nargout=0) diff --git a/spm/__toolbox/__DEM/FEP_biology.py b/spm/__toolbox/__DEM/FEP_biology.py new file mode 100644 index 00000000..ff2191a8 --- /dev/null +++ b/spm/__toolbox/__DEM/FEP_biology.py @@ -0,0 +1,27 @@ +from spm._runtime import Runtime + + +def FEP_biology(*args, **kwargs): + r""" + This demonstration uses an ensemble of particles with intrinsic (Lorenz + attractor) dynamics and (Newtonian) short-range coupling. The setup is + used to solve for dynamics among an ensemble of particles; from which a + Markov blanket emerges, which forms a particle at the next hierarchical + scale. These ensemble dynamics are then used to illustrate different + perspectives; namely, those afforded by quantum, statistical, classical + and Bayesian mechanics. A detailed description of each of these three + treatments precedes each of the sections in the script. these + descriptions are in the form of a figure legend, where each section is + summarised with a figure. + __________________________________________________________________________ + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/FEP_biology.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("FEP_biology", *args, **kwargs, nargout=0) diff --git a/spm/__toolbox/__DEM/FEP_fluctuations.py b/spm/__toolbox/__DEM/FEP_fluctuations.py index 624248b8..7729c303 100644 --- a/spm/__toolbox/__DEM/FEP_fluctuations.py +++ b/spm/__toolbox/__DEM/FEP_fluctuations.py @@ -2,7 +2,7 @@ def FEP_fluctuations(*args, **kwargs): - """ + r""" This demonstration uses an ensemble of particles with intrinsic (Lorentz attractor) dynamics and (Newtonian) short-range coupling. The focus of this routine is to unpack the Bayesian perspective. We first simulate @@ -33,9 +33,12 @@ def FEP_fluctuations(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/FEP_fluctuations.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/FEP_fluctuations.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("FEP_fluctuations", *args, **kwargs, nargout=0) diff --git a/spm/__toolbox/__DEM/FEP_information_length.py b/spm/__toolbox/__DEM/FEP_information_length.py index a8e3f78b..b2bc3140 100644 --- a/spm/__toolbox/__DEM/FEP_information_length.py +++ b/spm/__toolbox/__DEM/FEP_information_length.py @@ -2,7 +2,7 @@ def FEP_information_length(*args, **kwargs): - """ + r""" Demonstration of density dynamics and information length FORMAT FEP_information_length(gi,qi,ci,fi) -------------------------------------------------------------------------- @@ -69,9 +69,12 @@ def FEP_information_length(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/FEP_information_length.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/FEP_information_length.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("FEP_information_length", *args, **kwargs, nargout=0) diff --git a/spm/__toolbox/__DEM/FEP_lorenz_surprise.py b/spm/__toolbox/__DEM/FEP_lorenz_surprise.py index da294b40..db353204 100644 --- a/spm/__toolbox/__DEM/FEP_lorenz_surprise.py +++ b/spm/__toolbox/__DEM/FEP_lorenz_surprise.py @@ -2,7 +2,7 @@ def FEP_lorenz_surprise(*args, **kwargs): - """ + r""" __________________________________________________________________________ This demo provides an elementary characterisation of stochastic chaos using the Lorenz system. Effectively, it uses iterated least-squares to @@ -25,9 +25,12 @@ def FEP_lorenz_surprise(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/FEP_lorenz_surprise.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/FEP_lorenz_surprise.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("FEP_lorenz_surprise", *args, **kwargs, nargout=0) diff --git a/spm/__toolbox/__DEM/FEP_physics.py b/spm/__toolbox/__DEM/FEP_physics.py index 0a3a5c91..00c716e9 100644 --- a/spm/__toolbox/__DEM/FEP_physics.py +++ b/spm/__toolbox/__DEM/FEP_physics.py @@ -2,7 +2,7 @@ def FEP_physics(*args, **kwargs): - """ + r""" This demonstration uses an ensemble of particles with intrinsic (Lorenz attractor) dynamics and (Newtonian) short-range coupling. the setup is used to solve for dynamics among an ensemble of particles; from which a @@ -16,9 +16,12 @@ def FEP_physics(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/FEP_physics.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/FEP_physics.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("FEP_physics", *args, **kwargs, nargout=0) diff --git a/spm/__toolbox/__DEM/FEP_self_entropy.py b/spm/__toolbox/__DEM/FEP_self_entropy.py index 4fc5627c..c86c8ce0 100644 --- a/spm/__toolbox/__DEM/FEP_self_entropy.py +++ b/spm/__toolbox/__DEM/FEP_self_entropy.py @@ -2,7 +2,7 @@ def FEP_self_entropy(*args, **kwargs): - """ + r""" This demonstration uses an ensemble of particles with intrinsic (Lorentz attractor) dynamics and (Newtonian) short-range coupling. This routine illustrates self organisation in terms of the entropy of blanket states @@ -18,9 +18,12 @@ def FEP_self_entropy(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/FEP_self_entropy.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/FEP_self_entropy.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("FEP_self_entropy", *args, **kwargs, nargout=0) diff --git a/spm/__toolbox/__DEM/FIN_TEST.py b/spm/__toolbox/__DEM/FIN_TEST.py new file mode 100644 index 00000000..3d85ff0c --- /dev/null +++ b/spm/__toolbox/__DEM/FIN_TEST.py @@ -0,0 +1,19 @@ +from spm._runtime import Runtime + + +def FIN_TEST(*args, **kwargs): + r""" + Iterated simulations + FORMAT FIN_TEST + -------------------------------------------------------------------------- + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/FIN_TEST.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("FIN_TEST", *args, **kwargs, nargout=0) diff --git a/spm/__toolbox/__DEM/KLDemo.py b/spm/__toolbox/__DEM/KLDemo.py index d8227f38..ccfd59c8 100644 --- a/spm/__toolbox/__DEM/KLDemo.py +++ b/spm/__toolbox/__DEM/KLDemo.py @@ -2,7 +2,7 @@ def KLDemo(*args, **kwargs): - """ + r""" Illustration of information gains with Bayesian fusion FORMAT KLDemo) @@ -22,9 +22,12 @@ def KLDemo(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/KLDemo.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/KLDemo.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("KLDemo", *args, **kwargs, nargout=0) diff --git a/spm/__toolbox/__DEM/MDP_DEM_Mixed_Models_Movement.py b/spm/__toolbox/__DEM/MDP_DEM_Mixed_Models_Movement.py index 2686ada9..14aeb9f1 100644 --- a/spm/__toolbox/__DEM/MDP_DEM_Mixed_Models_Movement.py +++ b/spm/__toolbox/__DEM/MDP_DEM_Mixed_Models_Movement.py @@ -2,7 +2,7 @@ def MDP_DEM_Mixed_Models_Movement(*args, **kwargs): - """ + r""" This demo illustrates a series of computational pathologies as elicited during a synthetic neurological examination. This focuses upon an examination of the biceps reflex, and a simple coordination task. Each of @@ -19,9 +19,12 @@ def MDP_DEM_Mixed_Models_Movement(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/MDP_DEM_Mixed_Models_Movement.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/MDP_DEM_Mixed_Models_Movement.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("MDP_DEM_Mixed_Models_Movement", *args, **kwargs, nargout=0) diff --git a/spm/__toolbox/__DEM/MDP_DEM_Oculomotion_Pharma_demo.py b/spm/__toolbox/__DEM/MDP_DEM_Oculomotion_Pharma_demo.py index 19dff5c3..3b66d275 100644 --- a/spm/__toolbox/__DEM/MDP_DEM_Oculomotion_Pharma_demo.py +++ b/spm/__toolbox/__DEM/MDP_DEM_Oculomotion_Pharma_demo.py @@ -2,7 +2,7 @@ def MDP_DEM_Oculomotion_Pharma_demo(*args, **kwargs): - """ + r""" Demo of mixed models for oculmotor behaviour, with pharmacological manipulations @@ -15,9 +15,12 @@ def MDP_DEM_Oculomotion_Pharma_demo(*args, **kwargs): MDP_DEM_Oculomotion_demo.m - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/MDP_DEM_Oculomotion_Pharma_demo.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/MDP_DEM_Oculomotion_Pharma_demo.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("MDP_DEM_Oculomotion_Pharma_demo", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/MDP_DEM_Oculomotion_demo.py b/spm/__toolbox/__DEM/MDP_DEM_Oculomotion_demo.py index 3f0e6155..d3e7dd43 100644 --- a/spm/__toolbox/__DEM/MDP_DEM_Oculomotion_demo.py +++ b/spm/__toolbox/__DEM/MDP_DEM_Oculomotion_demo.py @@ -2,7 +2,7 @@ def MDP_DEM_Oculomotion_demo(*args, **kwargs): - """ + r""" Demo of mixed models for oculmotor behaviour __________________________________________________________________________ @@ -16,9 +16,12 @@ def MDP_DEM_Oculomotion_demo(*args, **kwargs): MDP_DEM_Oculomotion_Pharma_demo.m - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/MDP_DEM_Oculomotion_demo.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/MDP_DEM_Oculomotion_demo.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("MDP_DEM_Oculomotion_demo", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/MDP_Heart_Beat.py b/spm/__toolbox/__DEM/MDP_Heart_Beat.py index 2c985036..5dbac64e 100644 --- a/spm/__toolbox/__DEM/MDP_Heart_Beat.py +++ b/spm/__toolbox/__DEM/MDP_Heart_Beat.py @@ -2,7 +2,7 @@ def MDP_Heart_Beat(*args, **kwargs): - """ + r""" This simulation uses a Markov Decision process formulation of active inference to demonstrate the interaction between interoceptive and exteroceptive perception. This relies upon the fact that the function of @@ -11,9 +11,12 @@ def MDP_Heart_Beat(*args, **kwargs): blood flow, and its influence on vision, during a cardiac cycle. - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/MDP_Heart_Beat.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/MDP_Heart_Beat.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("MDP_Heart_Beat", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/Markov_blankets_and_NESS.py b/spm/__toolbox/__DEM/Markov_blankets_and_NESS.py index 22001add..d400a8af 100644 --- a/spm/__toolbox/__DEM/Markov_blankets_and_NESS.py +++ b/spm/__toolbox/__DEM/Markov_blankets_and_NESS.py @@ -2,7 +2,7 @@ def Markov_blankets_and_NESS(*args, **kwargs): - """ + r""" Meta-modelling of Bayes-optimal responses (Newton's method) FORMAT Markov_blankets_and_NESS @@ -28,9 +28,12 @@ def Markov_blankets_and_NESS(*args, **kwargs): Copyright (C) 2020 Wellcome Centre for Human Neuroimaging - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/Markov_blankets_and_NESS.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/Markov_blankets_and_NESS.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("Markov_blankets_and_NESS", *args, **kwargs, nargout=0) diff --git a/spm/__toolbox/__DEM/__init__.py b/spm/__toolbox/__DEM/__init__.py index c546104f..d1f455b9 100644 --- a/spm/__toolbox/__DEM/__init__.py +++ b/spm/__toolbox/__DEM/__init__.py @@ -1,7 +1,13 @@ from .ADEM_SHC_demo import ADEM_SHC_demo +from .ADEM_cost import ADEM_cost from .ADEM_cost_SHC import ADEM_cost_SHC from .ADEM_cued_response import ADEM_cued_response from .ADEM_eyeblink import ADEM_eyeblink +from .ADEM_intercept import ADEM_intercept +from .ADEM_intercept_I import ADEM_intercept_I +from .ADEM_intercept_II import ADEM_intercept_II +from .ADEM_intercept_III import ADEM_intercept_III +from .ADEM_intercept_IV import ADEM_intercept_IV from .ADEM_learning import ADEM_learning from .ADEM_lorenz import ADEM_lorenz from .ADEM_lorenz_entropy import ADEM_lorenz_entropy @@ -11,6 +17,7 @@ from .ADEM_observe import ADEM_observe from .ADEM_occlusion import ADEM_occlusion from .ADEM_occulomotor_delays import ADEM_occulomotor_delays +from .ADEM_physics import ADEM_physics from .ADEM_plaid import ADEM_plaid from .ADEM_pursuit import ADEM_pursuit from .ADEM_reaching import ADEM_reaching @@ -36,10 +43,16 @@ from .DEMO_MDP_Understanding import DEMO_MDP_Understanding from .DEMO_MDP_maze import DEMO_MDP_maze from .DEMO_MDP_maze_X import DEMO_MDP_maze_X +from .DEMO_MDP_maze_XXX import DEMO_MDP_maze_XXX from .DEMO_MDP_questions import DEMO_MDP_questions from .DEMO_MDP_voice import DEMO_MDP_voice from .DEMO_SLR import DEMO_SLR from .DEMO_niche_construction import DEMO_niche_construction +from .DEM_Atari import DEM_Atari +from .DEM_AtariI import DEM_AtariI +from .DEM_AtariII import DEM_AtariII +from .DEM_AtariIII import DEM_AtariIII +from .DEM_AtariIV import DEM_AtariIV from .DEM_CLIMATE_India import DEM_CLIMATE_India from .DEM_COVID import DEM_COVID from .DEM_COVID_AGE import DEM_COVID_AGE @@ -47,6 +60,7 @@ from .DEM_COVID_DASH import DEM_COVID_DASH from .DEM_COVID_I import DEM_COVID_I from .DEM_COVID_LTLA import DEM_COVID_LTLA +from .DEM_COVID_MASKS import DEM_COVID_MASKS from .DEM_COVID_S import DEM_COVID_S from .DEM_COVID_T import DEM_COVID_T from .DEM_COVID_UK import DEM_COVID_UK @@ -54,18 +68,30 @@ from .DEM_COVID_UTLA import DEM_COVID_UTLA from .DEM_COVID_WID import DEM_COVID_WID from .DEM_COVID_X import DEM_COVID_X +from .DEM_Diabetes import DEM_Diabetes from .DEM_Dispatches import DEM_Dispatches from .DEM_FEP_Least_Action import DEM_FEP_Least_Action from .DEM_FEP_Lorenz import DEM_FEP_Lorenz +from .DEM_FIN import DEM_FIN from .DEM_HB_and_LE import DEM_HB_and_LE from .DEM_Immune import DEM_Immune from .DEM_MDP_decision import DEM_MDP_decision +from .DEM_MNIST import DEM_MNIST +from .DEM_MNIST_RGM import DEM_MNIST_RGM +from .DEM_MNIST_compression import DEM_MNIST_compression +from .DEM_MNIST_conv import DEM_MNIST_conv +from .DEM_MNIST_mixture import DEM_MNIST_mixture +from .DEM_Pong import DEM_Pong from .DEM_SARS import DEM_SARS from .DEM_SARS_I import DEM_SARS_I from .DEM_Stephen import DEM_Stephen +from .DEM_Tower import DEM_Tower +from .DEM_Tower_of_Hanoi import DEM_Tower_of_Hanoi from .DEM_birdsong import DEM_birdsong from .DEM_cells import DEM_cells from .DEM_cells_cells import DEM_cells_cells +from .DEM_chaos_compression import DEM_chaos_compression +from .DEM_compression import DEM_compression from .DEM_coupled_oscillators import DEM_coupled_oscillators from .DEM_dSprites import DEM_dSprites from .DEM_demo import DEM_demo @@ -86,6 +112,7 @@ from .DEM_demo_MDP_DEM import DEM_demo_MDP_DEM from .DEM_demo_MDP_X import DEM_demo_MDP_X from .DEM_demo_MDP_XX import DEM_demo_MDP_XX +from .DEM_demo_MDP_XXX import DEM_demo_MDP_XXX from .DEM_demo_MDP_fit import DEM_demo_MDP_fit from .DEM_demo_MDP_fit_fields import DEM_demo_MDP_fit_fields from .DEM_demo_MDP_habits import DEM_demo_MDP_habits @@ -127,33 +154,58 @@ from .DEM_demo_song_omission import DEM_demo_song_omission from .DEM_demo_song_priors import DEM_demo_song_priors from .DEM_demo_texture import DEM_demo_texture +from .DEM_drone import DEM_drone +from .DEM_drone_V import DEM_drone_V +from .DEM_drone_VI import DEM_drone_VI +from .DEM_drone_inspection import DEM_drone_inspection +from .DEM_drone_telemetry import DEM_drone_telemetry +from .DEM_drone_vision import DEM_drone_vision from .DEM_evidence_accumulation import DEM_evidence_accumulation +from .DEM_federation import DEM_federation from .DEM_get_faces import DEM_get_faces +from .DEM_greedy_MNIST import DEM_greedy_MNIST +from .DEM_image_compression import DEM_image_compression +from .DEM_laws import DEM_laws +from .DEM_masks_Cam import DEM_masks_Cam +from .DEM_metric_BMR import DEM_metric_BMR from .DEM_morphogenesis import DEM_morphogenesis +from .DEM_music_compression import DEM_music_compression +from .DEM_ness_Lap import DEM_ness_Lap from .DEM_path_integrals import DEM_path_integrals +from .DEM_paths import DEM_paths from .DEM_psychophysics import DEM_psychophysics +from .DEM_reasoning import DEM_reasoning +from .DEM_reverse_paths import DEM_reverse_paths from .DEM_self_entropy import DEM_self_entropy -from .DEM_sharing import DEM_sharing +from .DEM_sound_compression import DEM_sound_compression from .DEM_spatial_deconvolution import DEM_spatial_deconvolution from .DEM_surveillance import DEM_surveillance +from .DEM_swarm import DEM_swarm +from .DEM_syntax import DEM_syntax +from .DEM_thermostat import DEM_thermostat from .DEM_vaccination import DEM_vaccination +from .DEM_video_compression import DEM_video_compression from .DFP_demo_double_well import DFP_demo_double_well from .DFP_demo_hdm import DFP_demo_hdm from .FEP_MB_demo import FEP_MB_demo from .FEP_Manifold import FEP_Manifold +from .FEP_biology import FEP_biology from .FEP_fluctuations import FEP_fluctuations from .FEP_information_length import FEP_information_length from .FEP_lorenz_surprise import FEP_lorenz_surprise from .FEP_physics import FEP_physics from .FEP_self_entropy import FEP_self_entropy +from .FIN_TEST import FIN_TEST from .KLDemo import KLDemo from .MDP_DEM_Mixed_Models_Movement import MDP_DEM_Mixed_Models_Movement from .MDP_DEM_Oculomotion_Pharma_demo import MDP_DEM_Oculomotion_Pharma_demo from .MDP_DEM_Oculomotion_demo import MDP_DEM_Oculomotion_demo from .MDP_Heart_Beat import MDP_Heart_Beat from .Markov_blankets_and_NESS import Markov_blankets_and_NESS +from .breakout import breakout from .expmall import expmall from .ndstest import ndstest +from .spm_ADEM_UNITY import spm_ADEM_UNITY from .spm_ADEM_cue_rt import spm_ADEM_cue_rt from .spm_ADEM_set_rt import spm_ADEM_set_rt from .spm_CLIMATE_ci import spm_CLIMATE_ci @@ -180,16 +232,20 @@ from .spm_COVID_table import spm_COVID_table from .spm_DEM_ButtonDownFcn import spm_DEM_ButtonDownFcn from .spm_DEM_EEG import spm_DEM_EEG +from .spm_DEM_G import spm_DEM_G from .spm_DEM_M import spm_DEM_M from .spm_DEM_MEG import spm_DEM_MEG from .spm_DEM_T import spm_DEM_T from .spm_DEM_basis import spm_DEM_basis +from .spm_DEM_embed_path import spm_DEM_embed_path from .spm_DEM_movie import spm_DEM_movie from .spm_DEM_play import spm_DEM_play from .spm_DEM_play_song import spm_DEM_play_song from .spm_DEM_qC import spm_DEM_qC from .spm_Lap2Lorenz import spm_Lap2Lorenz +from .spm_MB_structure_learning import spm_MB_structure_learning from .spm_MDP import spm_MDP +from .spm_MDP_BMR import spm_MDP_BMR from .spm_MDP_DEM import spm_MDP_DEM from .spm_MDP_DP import spm_MDP_DP from .spm_MDP_F import spm_MDP_F @@ -205,21 +261,48 @@ from .spm_MDP_VB_sleep import spm_MDP_VB_sleep from .spm_MDP_VB_trial import spm_MDP_VB_trial from .spm_MDP_VB_update import spm_MDP_VB_update +from .spm_MDP_arcade import spm_MDP_arcade +from .spm_MDP_breakout import spm_MDP_breakout from .spm_MDP_check import spm_MDP_check +from .spm_MDP_checkX import spm_MDP_checkX +from .spm_MDP_check_labels import spm_MDP_check_labels +from .spm_MDP_conv import spm_MDP_conv from .spm_MDP_factor_graph import spm_MDP_factor_graph from .spm_MDP_game import spm_MDP_game from .spm_MDP_game_KL import spm_MDP_game_KL from .spm_MDP_game_optimism import spm_MDP_game_optimism +from .spm_MDP_generate import spm_MDP_generate from .spm_MDP_link import spm_MDP_link from .spm_MDP_log_evidence import spm_MDP_log_evidence from .spm_MDP_mountain_car import spm_MDP_mountain_car from .spm_MDP_offer import spm_MDP_offer +from .spm_MDP_params import spm_MDP_params from .spm_MDP_plot import spm_MDP_plot +from .spm_MDP_pong import spm_MDP_pong +from .spm_MDP_rules import spm_MDP_rules from .spm_MDP_size import spm_MDP_size from .spm_MDP_structure_learning import spm_MDP_structure_learning +from .spm_MDP_structure_teaching import spm_MDP_structure_teaching from .spm_MDP_trust import spm_MDP_trust from .spm_MDP_urn import spm_MDP_urn from .spm_NESS_constraints import spm_NESS_constraints +from .spm_NESS_forecast import spm_NESS_forecast +from .spm_NESS_forecasting import spm_NESS_forecasting +from .spm_NESS_forecastness import spm_NESS_forecastness +from .spm_O2rgb import spm_O2rgb +from .spm_O2wav import spm_O2wav +from .spm_Q2mdp import spm_Q2mdp +from .spm_RDP_MI import spm_RDP_MI +from .spm_RDP_O import spm_RDP_O +from .spm_RDP_basin import spm_RDP_basin +from .spm_RDP_compress import spm_RDP_compress +from .spm_RDP_ness import spm_RDP_ness +from .spm_RDP_params import spm_RDP_params +from .spm_RDP_prune import spm_RDP_prune +from .spm_RDP_radius import spm_RDP_radius +from .spm_RDP_reduce import spm_RDP_reduce +from .spm_RDP_sort import spm_RDP_sort +from .spm_RDP_update import spm_RDP_update from .spm_SARS_ci import spm_SARS_ci from .spm_SARS_gen import spm_SARS_gen from .spm_SARS_plot import spm_SARS_plot @@ -227,12 +310,17 @@ from .spm_SARS_priors_B import spm_SARS_priors_B from .spm_SCK import spm_SCK from .spm_SHC_fx import spm_SHC_fx +from .spm_VBX import spm_VBX +from .spm_VB_XXX import spm_VB_XXX +from .spm_check_edges import spm_check_edges +from .spm_clear import spm_clear from .spm_cornsweet import spm_cornsweet from .spm_cost_SHC_fx import spm_cost_SHC_fx from .spm_cost_SHC_fxa import spm_cost_SHC_fxa from .spm_cost_SHC_path import spm_cost_SHC_path from .spm_cost_fx import spm_cost_fx from .spm_cost_fxa import spm_cost_fxa +from .spm_daisy_chain import spm_daisy_chain from .spm_dem_ERP import spm_dem_ERP from .spm_dem_cue_movie import spm_dem_cue_movie from .spm_dem_initialise import spm_dem_initialise @@ -247,6 +335,13 @@ from .spm_dem_search_trajectory import spm_dem_search_trajectory from .spm_dem_set_movie import spm_dem_set_movie from .spm_diff_all import spm_diff_all +from .spm_dir_disentangle import spm_dir_disentangle +from .spm_dir_orbits import spm_dir_orbits +from .spm_dir_orbits3 import spm_dir_orbits3 +from .spm_dir_reduce import spm_dir_reduce +from .spm_edges import spm_edges +from .spm_fast_structure_learning import spm_fast_structure_learning +from .spm_faster_structure_learning import spm_faster_structure_learning from .spm_find_internal import spm_find_internal from .spm_fx_Gabor import spm_fx_Gabor from .spm_fx_Lagrangian import spm_fx_Lagrangian @@ -265,6 +360,9 @@ from .spm_fx_mountaincar import spm_fx_mountaincar from .spm_fx_mountaincar_Q import spm_fx_mountaincar_Q from .spm_gamma_log_evidence import spm_gamma_log_evidence +from .spm_get_episodes import spm_get_episodes +from .spm_get_outcomes import spm_get_outcomes +from .spm_get_sequences import spm_get_sequences from .spm_gx_Gabor import spm_gx_Gabor from .spm_gx_SHC import spm_gx_SHC from .spm_gx_adem_cue import spm_gx_adem_cue @@ -280,10 +378,15 @@ from .spm_gx_hdm_sck import spm_gx_hdm_sck from .spm_ho_gm import spm_ho_gm from .spm_ho_poly import spm_ho_poly +from .spm_i2p import spm_i2p from .spm_immune import spm_immune from .spm_immune_gen import spm_immune_gen from .spm_immune_plot import spm_immune_plot from .spm_immune_priors import spm_immune_priors +from .spm_imshow import spm_imshow +from .spm_imwt import spm_imwt +from .spm_index import spm_index +from .spm_information_distance import spm_information_distance from .spm_mc_fx import spm_mc_fx from .spm_mc_fx_1 import spm_mc_fx_1 from .spm_mc_fx_2 import spm_mc_fx_2 @@ -294,12 +397,32 @@ from .spm_mc_fxa_5 import spm_mc_fxa_5 from .spm_mc_loss_C import spm_mc_loss_C from .spm_mc_loss_G import spm_mc_loss_G +from .spm_mdp2rdp import spm_mdp2rdp +from .spm_mdp2rdp_a import spm_mdp2rdp_a +from .spm_mdp_a2A import spm_mdp_a2A +from .spm_mdp_compress import spm_mdp_compress +from .spm_merge_structure_learning import spm_merge_structure_learning from .spm_meta_model import spm_meta_model from .spm_mountaincar_Q import spm_mountaincar_Q from .spm_mountaincar_fun import spm_mountaincar_fun from .spm_mountaincar_movie import spm_mountaincar_movie from .spm_multinomial_log_evidence import spm_multinomial_log_evidence +from .spm_mwt import spm_mwt +from .spm_parents import spm_parents +from .spm_portfolio import spm_portfolio +from .spm_rdp2mdp import spm_rdp2mdp +from .spm_resolve import spm_resolve +from .spm_rgb2O import spm_rgb2O +from .spm_rgm_group import spm_rgm_group from .spm_salience_map import spm_salience_map +from .spm_set_costs import spm_set_costs +from .spm_set_goals import spm_set_goals +from .spm_show_RGB import spm_show_RGB +from .spm_show_RGM import spm_show_RGM +from .spm_show_WAV import spm_show_WAV +from .spm_sub2ind import spm_sub2ind +from .spm_tile import spm_tile +from .spm_unique import spm_unique from .spm_voice import spm_voice from .spm_voice_FS import spm_voice_FS from .spm_voice_P300 import spm_voice_P300 @@ -327,13 +450,21 @@ from .spm_voice_speak import spm_voice_speak from .spm_voice_test import spm_voice_test from .spm_voice_warp import spm_voice_warp +from .spm_wav2O import spm_wav2O +from .spm_wavshow import spm_wavshow __all__ = [ "ADEM_SHC_demo", + "ADEM_cost", "ADEM_cost_SHC", "ADEM_cued_response", "ADEM_eyeblink", + "ADEM_intercept", + "ADEM_intercept_I", + "ADEM_intercept_II", + "ADEM_intercept_III", + "ADEM_intercept_IV", "ADEM_learning", "ADEM_lorenz", "ADEM_lorenz_entropy", @@ -343,6 +474,7 @@ "ADEM_observe", "ADEM_occlusion", "ADEM_occulomotor_delays", + "ADEM_physics", "ADEM_plaid", "ADEM_pursuit", "ADEM_reaching", @@ -368,10 +500,16 @@ "DEMO_MDP_Understanding", "DEMO_MDP_maze", "DEMO_MDP_maze_X", + "DEMO_MDP_maze_XXX", "DEMO_MDP_questions", "DEMO_MDP_voice", "DEMO_SLR", "DEMO_niche_construction", + "DEM_Atari", + "DEM_AtariI", + "DEM_AtariII", + "DEM_AtariIII", + "DEM_AtariIV", "DEM_CLIMATE_India", "DEM_COVID", "DEM_COVID_AGE", @@ -379,6 +517,7 @@ "DEM_COVID_DASH", "DEM_COVID_I", "DEM_COVID_LTLA", + "DEM_COVID_MASKS", "DEM_COVID_S", "DEM_COVID_T", "DEM_COVID_UK", @@ -386,18 +525,30 @@ "DEM_COVID_UTLA", "DEM_COVID_WID", "DEM_COVID_X", + "DEM_Diabetes", "DEM_Dispatches", "DEM_FEP_Least_Action", "DEM_FEP_Lorenz", + "DEM_FIN", "DEM_HB_and_LE", "DEM_Immune", "DEM_MDP_decision", + "DEM_MNIST", + "DEM_MNIST_RGM", + "DEM_MNIST_compression", + "DEM_MNIST_conv", + "DEM_MNIST_mixture", + "DEM_Pong", "DEM_SARS", "DEM_SARS_I", "DEM_Stephen", + "DEM_Tower", + "DEM_Tower_of_Hanoi", "DEM_birdsong", "DEM_cells", "DEM_cells_cells", + "DEM_chaos_compression", + "DEM_compression", "DEM_coupled_oscillators", "DEM_dSprites", "DEM_demo", @@ -418,6 +569,7 @@ "DEM_demo_MDP_DEM", "DEM_demo_MDP_X", "DEM_demo_MDP_XX", + "DEM_demo_MDP_XXX", "DEM_demo_MDP_fit", "DEM_demo_MDP_fit_fields", "DEM_demo_MDP_habits", @@ -459,33 +611,58 @@ "DEM_demo_song_omission", "DEM_demo_song_priors", "DEM_demo_texture", + "DEM_drone", + "DEM_drone_V", + "DEM_drone_VI", + "DEM_drone_inspection", + "DEM_drone_telemetry", + "DEM_drone_vision", "DEM_evidence_accumulation", + "DEM_federation", "DEM_get_faces", + "DEM_greedy_MNIST", + "DEM_image_compression", + "DEM_laws", + "DEM_masks_Cam", + "DEM_metric_BMR", "DEM_morphogenesis", + "DEM_music_compression", + "DEM_ness_Lap", "DEM_path_integrals", + "DEM_paths", "DEM_psychophysics", + "DEM_reasoning", + "DEM_reverse_paths", "DEM_self_entropy", - "DEM_sharing", + "DEM_sound_compression", "DEM_spatial_deconvolution", "DEM_surveillance", + "DEM_swarm", + "DEM_syntax", + "DEM_thermostat", "DEM_vaccination", + "DEM_video_compression", "DFP_demo_double_well", "DFP_demo_hdm", "FEP_MB_demo", "FEP_Manifold", + "FEP_biology", "FEP_fluctuations", "FEP_information_length", "FEP_lorenz_surprise", "FEP_physics", "FEP_self_entropy", + "FIN_TEST", "KLDemo", "MDP_DEM_Mixed_Models_Movement", "MDP_DEM_Oculomotion_Pharma_demo", "MDP_DEM_Oculomotion_demo", "MDP_Heart_Beat", "Markov_blankets_and_NESS", + "breakout", "expmall", "ndstest", + "spm_ADEM_UNITY", "spm_ADEM_cue_rt", "spm_ADEM_set_rt", "spm_CLIMATE_ci", @@ -512,16 +689,20 @@ "spm_COVID_table", "spm_DEM_ButtonDownFcn", "spm_DEM_EEG", + "spm_DEM_G", "spm_DEM_M", "spm_DEM_MEG", "spm_DEM_T", "spm_DEM_basis", + "spm_DEM_embed_path", "spm_DEM_movie", "spm_DEM_play", "spm_DEM_play_song", "spm_DEM_qC", "spm_Lap2Lorenz", + "spm_MB_structure_learning", "spm_MDP", + "spm_MDP_BMR", "spm_MDP_DEM", "spm_MDP_DP", "spm_MDP_F", @@ -537,21 +718,48 @@ "spm_MDP_VB_sleep", "spm_MDP_VB_trial", "spm_MDP_VB_update", + "spm_MDP_arcade", + "spm_MDP_breakout", "spm_MDP_check", + "spm_MDP_checkX", + "spm_MDP_check_labels", + "spm_MDP_conv", "spm_MDP_factor_graph", "spm_MDP_game", "spm_MDP_game_KL", "spm_MDP_game_optimism", + "spm_MDP_generate", "spm_MDP_link", "spm_MDP_log_evidence", "spm_MDP_mountain_car", "spm_MDP_offer", + "spm_MDP_params", "spm_MDP_plot", + "spm_MDP_pong", + "spm_MDP_rules", "spm_MDP_size", "spm_MDP_structure_learning", + "spm_MDP_structure_teaching", "spm_MDP_trust", "spm_MDP_urn", "spm_NESS_constraints", + "spm_NESS_forecast", + "spm_NESS_forecasting", + "spm_NESS_forecastness", + "spm_O2rgb", + "spm_O2wav", + "spm_Q2mdp", + "spm_RDP_MI", + "spm_RDP_O", + "spm_RDP_basin", + "spm_RDP_compress", + "spm_RDP_ness", + "spm_RDP_params", + "spm_RDP_prune", + "spm_RDP_radius", + "spm_RDP_reduce", + "spm_RDP_sort", + "spm_RDP_update", "spm_SARS_ci", "spm_SARS_gen", "spm_SARS_plot", @@ -559,12 +767,17 @@ "spm_SARS_priors_B", "spm_SCK", "spm_SHC_fx", + "spm_VBX", + "spm_VB_XXX", + "spm_check_edges", + "spm_clear", "spm_cornsweet", "spm_cost_SHC_fx", "spm_cost_SHC_fxa", "spm_cost_SHC_path", "spm_cost_fx", "spm_cost_fxa", + "spm_daisy_chain", "spm_dem_ERP", "spm_dem_cue_movie", "spm_dem_initialise", @@ -579,6 +792,13 @@ "spm_dem_search_trajectory", "spm_dem_set_movie", "spm_diff_all", + "spm_dir_disentangle", + "spm_dir_orbits", + "spm_dir_orbits3", + "spm_dir_reduce", + "spm_edges", + "spm_fast_structure_learning", + "spm_faster_structure_learning", "spm_find_internal", "spm_fx_Gabor", "spm_fx_Lagrangian", @@ -597,6 +817,9 @@ "spm_fx_mountaincar", "spm_fx_mountaincar_Q", "spm_gamma_log_evidence", + "spm_get_episodes", + "spm_get_outcomes", + "spm_get_sequences", "spm_gx_Gabor", "spm_gx_SHC", "spm_gx_adem_cue", @@ -612,10 +835,15 @@ "spm_gx_hdm_sck", "spm_ho_gm", "spm_ho_poly", + "spm_i2p", "spm_immune", "spm_immune_gen", "spm_immune_plot", "spm_immune_priors", + "spm_imshow", + "spm_imwt", + "spm_index", + "spm_information_distance", "spm_mc_fx", "spm_mc_fx_1", "spm_mc_fx_2", @@ -626,12 +854,32 @@ "spm_mc_fxa_5", "spm_mc_loss_C", "spm_mc_loss_G", + "spm_mdp2rdp", + "spm_mdp2rdp_a", + "spm_mdp_a2A", + "spm_mdp_compress", + "spm_merge_structure_learning", "spm_meta_model", "spm_mountaincar_Q", "spm_mountaincar_fun", "spm_mountaincar_movie", "spm_multinomial_log_evidence", + "spm_mwt", + "spm_parents", + "spm_portfolio", + "spm_rdp2mdp", + "spm_resolve", + "spm_rgb2O", + "spm_rgm_group", "spm_salience_map", + "spm_set_costs", + "spm_set_goals", + "spm_show_RGB", + "spm_show_RGM", + "spm_show_WAV", + "spm_sub2ind", + "spm_tile", + "spm_unique", "spm_voice", "spm_voice_FS", "spm_voice_P300", @@ -658,5 +906,7 @@ "spm_voice_segmentation", "spm_voice_speak", "spm_voice_test", - "spm_voice_warp" + "spm_voice_warp", + "spm_wav2O", + "spm_wavshow" ] diff --git a/spm/__toolbox/__DEM/breakout.py b/spm/__toolbox/__DEM/breakout.py new file mode 100644 index 00000000..808be437 --- /dev/null +++ b/spm/__toolbox/__DEM/breakout.py @@ -0,0 +1,41 @@ +from spm._runtime import Runtime + + +def breakout(*args, **kwargs): + r""" + BREAKOUT Pong-like arcade game, a.k.a. Arkanoid/Brickles + Breakout begins with five rows of bricks, each row a different color. + The color order from the bottom up is blue, cyan, green, green and red. + Using a single ball, the player must knock down as many bricks as + possible by using the walls and/or the paddle below to ricochet the + ball against the bricks and eliminate them. Blue bricks earn one point + each, cyan bricks earn two points, green bricks earn three points, + yellow bricks earn four and the top-level red bricks score five points + each. To add to the challenge, the paddle shrinks to one-half its size + after the ball has broken through the red row and hit the upper wall. + (adapted from Wikipedia) + + Game Controls: + Paddle is controlled with mouse. + Nine speed levels, changed using num-keys: 1...9. + Sound effects are switched on/off using 'S'. + Game is paused either with mouse press or 'P'. + + Example: + breakout % Start Main Breakout Interface + Developed by Per-Anders Ekstr�m, 2003-2007 Facilia AB. + New pointer control by Joseph Kirk (jdkirk630@gmail.com) + + + https://uk.mathworks.com/matlabcentral/fileexchange/14152-breakout + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/breakout.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("breakout", *args, **kwargs, nargout=0) diff --git a/spm/__toolbox/__DEM/expmall.py b/spm/__toolbox/__DEM/expmall.py index 14a210ec..6c951fcd 100644 --- a/spm/__toolbox/__DEM/expmall.py +++ b/spm/__toolbox/__DEM/expmall.py @@ -2,14 +2,17 @@ def expmall(*args, **kwargs): - """ + r""" expmall is a function. dx = expmall(J, f, t, EP) - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/expmall.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/expmall.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("expmall", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/ndstest.py b/spm/__toolbox/__DEM/ndstest.py index 92033815..7efe89af 100644 --- a/spm/__toolbox/__DEM/ndstest.py +++ b/spm/__toolbox/__DEM/ndstest.py @@ -2,7 +2,7 @@ def ndstest(*args, **kwargs): - """ + r""" Performs numerous tests of ndSparse math operations, ndstest(TOL) @@ -12,9 +12,12 @@ def ndstest(*args, **kwargs): TOL. - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/ndstest.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/ndstest.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ndstest", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/spm_ADEM_UNITY.py b/spm/__toolbox/__DEM/spm_ADEM_UNITY.py new file mode 100644 index 00000000..4f9b2632 --- /dev/null +++ b/spm/__toolbox/__DEM/spm_ADEM_UNITY.py @@ -0,0 +1,73 @@ +from spm._runtime import Runtime + + +def spm_ADEM_UNITY(*args, **kwargs): + r""" + Dynamic expectation maximisation: Active inversion + FORMAT DEM = spm_ADEM_UNITY(DEM) + + DEM.G - generative process + DEM.M - recognition model + DEM.C - causes + DEM.U - prior expectation of causes + __________________________________________________________________________ + + This routine is a refactored version of spm_ADEM. It separates the + integration used to simulate the world (i.e., generative process), from + the Bayesian belief-updating under the generative model. And separates + belief updating from action selection as a minimizer of generalised + errors; namely, generalised prediction errors in the space of + observations. Note that the action or actuator evaluates the error + gradients under the generative process, as opposed to the model. Note + further, that this implementation passes action to the world, and the + world returns data or observations. Crucially, these observations are + returned as a short path or sequence of (each time step of the + simulation). This path enables the generalised observations to be + evaluated using temporal embedding. + + This implementation illustrates how one can simulate exchange of real + variables across the (sensory and active) sectors of the Markov blanket, + without having to exchange their generalised motion. The generative + process is specified by DEM.G and the veridical causes by DEM.C; these + may or may not be used as priors on the causes for the inversion model + DEM.M (i.e., DEM.U = DEM.C). Clearly, DEM.G does not require any priors + or precision components: it will use the values of the parameters + specified in the prior expectation fields. + + This routine is not used for model inversion per se but to simulate the + dynamical inversion of models. Crucially, it includes action variables + (a) that couple the model back to the generative process This enables + active inference (c.f., action-perception) or embodied inference. + + hierarchical models M(i) + -------------------------------------------------------------------------- + M(i).g = y(t) = g(x,v,P) {inline function, string or m-file} + M(i).f = dx/dt = f(x,v,P) {inline function, string or m-file} + + M(i).pE = prior expectation of p model-parameters + M(i).pC = prior covariances of p model-parameters + M(i).hE = prior expectation of h hyper-parameters (cause noise) + M(i).hC = prior covariances of h hyper-parameters (cause noise) + M(i).gE = prior expectation of g hyper-parameters (state noise) + M(i).gC = prior covariances of g hyper-parameters (state noise) + M(i).Q = precision components (input noise) + M(i).R = precision components (state noise) + M(i).V = fixed precision (input noise) + M(i).W = fixed precision (state noise) + M(i).xP = precision (states) + + M(i).m = number of inputs v(i + 1); + M(i).n = number of states x(i) + M(i).l = number of output v(i) + M(i).k = number of action a(i) + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_ADEM_UNITY.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("spm_ADEM_UNITY", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/spm_ADEM_cue_rt.py b/spm/__toolbox/__DEM/spm_ADEM_cue_rt.py index 8b9eab6c..687a2799 100644 --- a/spm/__toolbox/__DEM/spm_ADEM_cue_rt.py +++ b/spm/__toolbox/__DEM/spm_ADEM_cue_rt.py @@ -2,7 +2,7 @@ def spm_ADEM_cue_rt(*args, **kwargs): - """ + r""" returns reaction times and accuracy for ADEM_cued_response demo FORMAT [on,rt,ac] = spm_ADEM_cue_rt(DEM) @@ -14,9 +14,12 @@ def spm_ADEM_cue_rt(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/spm_ADEM_cue_rt.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_ADEM_cue_rt.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_ADEM_cue_rt", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/spm_ADEM_set_rt.py b/spm/__toolbox/__DEM/spm_ADEM_set_rt.py index 35cd4f3a..909edce8 100644 --- a/spm/__toolbox/__DEM/spm_ADEM_set_rt.py +++ b/spm/__toolbox/__DEM/spm_ADEM_set_rt.py @@ -2,7 +2,7 @@ def spm_ADEM_set_rt(*args, **kwargs): - """ + r""" returns reaction times and accuracy for ADEM_cued_response demo FORMAT [on,rt,ac] = spm_ADEM_cue_rt(DEM) @@ -14,9 +14,12 @@ def spm_ADEM_set_rt(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/spm_ADEM_set_rt.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_ADEM_set_rt.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_ADEM_cue_rt", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/spm_CLIMATE_ci.py b/spm/__toolbox/__DEM/spm_CLIMATE_ci.py index 1566cae9..f84ae5c3 100644 --- a/spm/__toolbox/__DEM/spm_CLIMATE_ci.py +++ b/spm/__toolbox/__DEM/spm_CLIMATE_ci.py @@ -2,7 +2,7 @@ def spm_CLIMATE_ci(*args, **kwargs): - """ + r""" Graphics for climate simulations - with confidence intervals FORMAT [Y,C] = spm_CLIMATE_ci(Ep,Cp,Z,U,M,NPI) Ep - posterior expectations @@ -34,9 +34,12 @@ def spm_CLIMATE_ci(*args, **kwargs): Copyright (C) 2020 Wellcome Centre for Human Neuroimaging - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/spm_CLIMATE_ci.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_CLIMATE_ci.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_CLIMATE_ci", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/spm_CLIMATE_gen.py b/spm/__toolbox/__DEM/spm_CLIMATE_gen.py index 023a4422..6eeb4948 100644 --- a/spm/__toolbox/__DEM/spm_CLIMATE_gen.py +++ b/spm/__toolbox/__DEM/spm_CLIMATE_gen.py @@ -2,7 +2,7 @@ def spm_CLIMATE_gen(*args, **kwargs): - """ + r""" Generate predictions and hidden states of a CLIMATE model FORMAT [Y,X,T] = spm_CLIMATE_gen(P,M,U,NPI) P - model parameters @@ -89,9 +89,12 @@ def spm_CLIMATE_gen(*args, **kwargs): Copyright (C) 2020 Wellcome Centre for Human Neuroimaging - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/spm_CLIMATE_gen.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_CLIMATE_gen.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_CLIMATE_gen", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/spm_CLIMATE_plot.py b/spm/__toolbox/__DEM/spm_CLIMATE_plot.py index 07b5757c..ab888011 100644 --- a/spm/__toolbox/__DEM/spm_CLIMATE_plot.py +++ b/spm/__toolbox/__DEM/spm_CLIMATE_plot.py @@ -2,7 +2,7 @@ def spm_CLIMATE_plot(*args, **kwargs): - """ + r""" Graphics for climate simulations FORMAT spm_CLIMATE_plot(Y,X,U,T,A) Y - expected timeseries @@ -22,9 +22,12 @@ def spm_CLIMATE_plot(*args, **kwargs): Copyright (C) 2020 Wellcome Centre for Human Neuroimaging - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/spm_CLIMATE_plot.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_CLIMATE_plot.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_CLIMATE_plot", *args, **kwargs, nargout=0) diff --git a/spm/__toolbox/__DEM/spm_CLIMATE_priors.py b/spm/__toolbox/__DEM/spm_CLIMATE_priors.py index e126c3cd..508bd40b 100644 --- a/spm/__toolbox/__DEM/spm_CLIMATE_priors.py +++ b/spm/__toolbox/__DEM/spm_CLIMATE_priors.py @@ -2,7 +2,7 @@ def spm_CLIMATE_priors(*args, **kwargs): - """ + r""" Prior expectation and covariance of parameters for a climate model FORMAT [P,C,str] = spm_CLIMATE_priors @@ -34,9 +34,12 @@ def spm_CLIMATE_priors(*args, **kwargs): Copyright (C) 2020 Wellcome Centre for Human Neuroimaging - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/spm_CLIMATE_priors.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_CLIMATE_priors.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_CLIMATE_priors", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/spm_COVID.py b/spm/__toolbox/__DEM/spm_COVID.py index 34476f9c..d0381aa8 100644 --- a/spm/__toolbox/__DEM/spm_COVID.py +++ b/spm/__toolbox/__DEM/spm_COVID.py @@ -2,7 +2,7 @@ def spm_COVID(*args, **kwargs): - """ + r""" Variational inversion of COVID model FORMAT [F,Ep,Cp,pE,pC,Eh] = spm_COVID(Y,pE,pC,hC) Y - timeseries data @@ -44,9 +44,12 @@ def spm_COVID(*args, **kwargs): Copyright (C) 2020 Wellcome Centre for Human Neuroimaging - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/spm_COVID.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_COVID.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_COVID", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/spm_COVID_B.py b/spm/__toolbox/__DEM/spm_COVID_B.py index 4374ce0d..eff62d54 100644 --- a/spm/__toolbox/__DEM/spm_COVID_B.py +++ b/spm/__toolbox/__DEM/spm_COVID_B.py @@ -2,7 +2,7 @@ def spm_COVID_B(*args, **kwargs): - """ + r""" state dependent probability transition matrices FORMAT T = spm_COVID_B(x,P,r) x - probability distributions (tensor) @@ -25,9 +25,12 @@ def spm_COVID_B(*args, **kwargs): Copyright (C) 2020 Wellcome Centre for Human Neuroimaging - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/spm_COVID_B.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_COVID_B.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_COVID_B", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/spm_COVID_BMR.py b/spm/__toolbox/__DEM/spm_COVID_BMR.py index 69d15565..73ae42d1 100644 --- a/spm/__toolbox/__DEM/spm_COVID_BMR.py +++ b/spm/__toolbox/__DEM/spm_COVID_BMR.py @@ -2,7 +2,7 @@ def spm_COVID_BMR(*args, **kwargs): - """ + r""" Bayesian model reduction for COVID models FORMAT spm_COVID_BMR(DCM) DCM - dynamic causal model for covid outbreak @@ -16,9 +16,12 @@ def spm_COVID_BMR(*args, **kwargs): Copyright (C) 2020 Wellcome Centre for Human Neuroimaging - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/spm_COVID_BMR.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_COVID_BMR.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_COVID_BMR", *args, **kwargs, nargout=0) diff --git a/spm/__toolbox/__DEM/spm_COVID_PV.py b/spm/__toolbox/__DEM/spm_COVID_PV.py index 781e6537..2256074e 100644 --- a/spm/__toolbox/__DEM/spm_COVID_PV.py +++ b/spm/__toolbox/__DEM/spm_COVID_PV.py @@ -2,7 +2,7 @@ def spm_COVID_PV(*args, **kwargs): - """ + r""" FORMAT spm_COVID_PV(DCM,i,T) remove ( > T) data from country ( = i) -------------------------------------------------------------------------- @@ -12,9 +12,12 @@ def spm_COVID_PV(*args, **kwargs): Copyright (C) 2020 Wellcome Centre for Human Neuroimaging - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/spm_COVID_PV.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_COVID_PV.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_COVID_PV", *args, **kwargs, nargout=0) diff --git a/spm/__toolbox/__DEM/spm_COVID_R_cii.py b/spm/__toolbox/__DEM/spm_COVID_R_cii.py index 81c0bd67..98f9cd62 100644 --- a/spm/__toolbox/__DEM/spm_COVID_R_cii.py +++ b/spm/__toolbox/__DEM/spm_COVID_R_cii.py @@ -2,7 +2,7 @@ def spm_COVID_R_cii(*args, **kwargs): - """ + r""" Graphics for coronavirus simulations - with confidence intervals FORMAT dSYdP = spm_COVID_R_ci(DCM,U) DCM.Ep - posterior expectations @@ -33,9 +33,12 @@ def spm_COVID_R_cii(*args, **kwargs): Copyright (C) 2020 Wellcome Centre for Human Neuroimaging - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/spm_COVID_R_cii.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_COVID_R_cii.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_COVID_R_cii", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/spm_COVID_S.py b/spm/__toolbox/__DEM/spm_COVID_S.py index 55bf1dd0..c9a4d69b 100644 --- a/spm/__toolbox/__DEM/spm_COVID_S.py +++ b/spm/__toolbox/__DEM/spm_COVID_S.py @@ -2,7 +2,7 @@ def spm_COVID_S(*args, **kwargs): - """ + r""" Generate predictions and hidden states of a COVID model FORMAT [Y,X] = spm_COVID_S(P,M,U) P - model parameters @@ -52,9 +52,12 @@ def spm_COVID_S(*args, **kwargs): Copyright (C) 2020 Wellcome Centre for Human Neuroimaging - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/spm_COVID_S.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_COVID_S.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_COVID_S", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/spm_COVID_SB.py b/spm/__toolbox/__DEM/spm_COVID_SB.py index 3382f9d1..ae9f7f79 100644 --- a/spm/__toolbox/__DEM/spm_COVID_SB.py +++ b/spm/__toolbox/__DEM/spm_COVID_SB.py @@ -2,7 +2,7 @@ def spm_COVID_SB(*args, **kwargs): - """ + r""" state dependent probability transition matrices FORMAT T = spm_COVID_SB(P,I,dim,Prev,Pcco,Pinh,Pinw) P - model parameters @@ -23,9 +23,12 @@ def spm_COVID_SB(*args, **kwargs): Copyright (C) 2020 Wellcome Centre for Human Neuroimaging - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/spm_COVID_SB.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_COVID_SB.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_COVID_SB", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/spm_COVID_T.py b/spm/__toolbox/__DEM/spm_COVID_T.py index e4188a11..16ac43c3 100644 --- a/spm/__toolbox/__DEM/spm_COVID_T.py +++ b/spm/__toolbox/__DEM/spm_COVID_T.py @@ -2,7 +2,7 @@ def spm_COVID_T(*args, **kwargs): - """ + r""" state dependent probability transition matrices FORMAT [T,R] = spm_COVID_T(P,I) x - probability distributions (tensor) @@ -26,9 +26,12 @@ def spm_COVID_T(*args, **kwargs): Copyright (C) 2020 Wellcome Centre for Human Neuroimaging - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/spm_COVID_T.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_COVID_T.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_COVID_T", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/spm_COVID_TS.py b/spm/__toolbox/__DEM/spm_COVID_TS.py index a98d4695..6a0deb31 100644 --- a/spm/__toolbox/__DEM/spm_COVID_TS.py +++ b/spm/__toolbox/__DEM/spm_COVID_TS.py @@ -2,7 +2,7 @@ def spm_COVID_TS(*args, **kwargs): - """ + r""" state dependent probability transition matrices FORMAT T = spm_COVID_T(x,P) x - probability distributions (tensor) @@ -24,9 +24,12 @@ def spm_COVID_TS(*args, **kwargs): Copyright (C) 2020 Wellcome Centre for Human Neuroimaging - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/spm_COVID_TS.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_COVID_TS.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_COVID_T", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/spm_COVID_US.py b/spm/__toolbox/__DEM/spm_COVID_US.py index 25dc9d53..9a5c18d9 100644 --- a/spm/__toolbox/__DEM/spm_COVID_US.py +++ b/spm/__toolbox/__DEM/spm_COVID_US.py @@ -2,7 +2,7 @@ def spm_COVID_US(*args, **kwargs): - """ + r""" Generate predictions and hidden states of a multi-region COVID model FORMAT [Y,X] = spm_COVID_US(P,M,U) P - model parameters @@ -49,9 +49,12 @@ def spm_COVID_US(*args, **kwargs): Copyright (C) 2020 Wellcome Centre for Human Neuroimaging - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/spm_COVID_US.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_COVID_US.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_COVID_US", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/spm_COVID_Y.py b/spm/__toolbox/__DEM/spm_COVID_Y.py index 358e886c..edfc0171 100644 --- a/spm/__toolbox/__DEM/spm_COVID_Y.py +++ b/spm/__toolbox/__DEM/spm_COVID_Y.py @@ -2,16 +2,17 @@ def spm_COVID_Y(*args, **kwargs): - """ + r""" prepares data array for COVID routines FORMAT [Y,S,dates] = spm_COVID_Y(Y,date0) Y - structure array - date0 - initial date ('dd-mm-yyy') + date0 - initial date ('dd-mmm-yyyy') days - number of days over which to average (smooth) + date1 - final date ('dd-mmm-yyyy') [default: date] Y - structure array (time ordered, withough NaNs and smoothed) S - corresponding data matrix - dates - date numbers from 'dd-mm-yyyy' to last data point + dates - date numbers from 'dd-mmm-yyyy' to last data point Y(i).type = datatype (string) Y(i).unit = units (string) @@ -25,9 +26,12 @@ def spm_COVID_Y(*args, **kwargs): Copyright (C) 2020 Wellcome Centre for Human Neuroimaging - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/spm_COVID_Y.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_COVID_Y.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_COVID_Y", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/spm_COVID_ci.py b/spm/__toolbox/__DEM/spm_COVID_ci.py index 40417711..475325f3 100644 --- a/spm/__toolbox/__DEM/spm_COVID_ci.py +++ b/spm/__toolbox/__DEM/spm_COVID_ci.py @@ -2,7 +2,7 @@ def spm_COVID_ci(*args, **kwargs): - """ + r""" Graphics for coronavirus simulations - with confidence intervals FORMAT [S,CS,Y,C] = spm_COVID_ci(Ep,Cp,Z,U,M) Ep - posterior expectations @@ -35,9 +35,12 @@ def spm_COVID_ci(*args, **kwargs): Copyright (C) 2020 Wellcome Centre for Human Neuroimaging - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/spm_COVID_ci.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_COVID_ci.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_COVID_ci", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/spm_COVID_dashboard.py b/spm/__toolbox/__DEM/spm_COVID_dashboard.py index 3a4c67ca..aaa84081 100644 --- a/spm/__toolbox/__DEM/spm_COVID_dashboard.py +++ b/spm/__toolbox/__DEM/spm_COVID_dashboard.py @@ -2,7 +2,7 @@ def spm_COVID_dashboard(*args, **kwargs): - """ + r""" Dashboard for coronavirus simulations FORMAT spm_COVID_plot(Y,X,Z) DCM.Ep @@ -16,9 +16,12 @@ def spm_COVID_dashboard(*args, **kwargs): Copyright (C) 2020 Wellcome Centre for Human Neuroimaging - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/spm_COVID_dashboard.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_COVID_dashboard.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_COVID_dashboard", *args, **kwargs, nargout=0) diff --git a/spm/__toolbox/__DEM/spm_COVID_gen.py b/spm/__toolbox/__DEM/spm_COVID_gen.py index aceef10c..7ca43242 100644 --- a/spm/__toolbox/__DEM/spm_COVID_gen.py +++ b/spm/__toolbox/__DEM/spm_COVID_gen.py @@ -2,7 +2,7 @@ def spm_COVID_gen(*args, **kwargs): - """ + r""" Generate predictions and hidden states of a COVID model FORMAT [Y,X,Z] = spm_COVID_gen(P,M,U) P - model parameters @@ -54,9 +54,12 @@ def spm_COVID_gen(*args, **kwargs): Copyright (C) 2020 Wellcome Centre for Human Neuroimaging - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/spm_COVID_gen.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_COVID_gen.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_COVID_gen", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/spm_COVID_plot.py b/spm/__toolbox/__DEM/spm_COVID_plot.py index 036131cf..722563d4 100644 --- a/spm/__toolbox/__DEM/spm_COVID_plot.py +++ b/spm/__toolbox/__DEM/spm_COVID_plot.py @@ -2,7 +2,7 @@ def spm_COVID_plot(*args, **kwargs): - """ + r""" Graphics for coronavirus simulations FORMAT spm_COVID_plot(Y,X,Z) Y - expected timeseries (i.e., new depths and cases) @@ -19,9 +19,12 @@ def spm_COVID_plot(*args, **kwargs): Copyright (C) 2020 Wellcome Centre for Human Neuroimaging - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/spm_COVID_plot.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_COVID_plot.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_COVID_plot", *args, **kwargs, nargout=0) diff --git a/spm/__toolbox/__DEM/spm_COVID_priors.py b/spm/__toolbox/__DEM/spm_COVID_priors.py index 8ee03f9e..faa8205c 100644 --- a/spm/__toolbox/__DEM/spm_COVID_priors.py +++ b/spm/__toolbox/__DEM/spm_COVID_priors.py @@ -2,7 +2,7 @@ def spm_COVID_priors(*args, **kwargs): - """ + r""" Generate prior expectation and covariance log parameters FORMAT [pE,pC,str,rfx] = spm_COVID_priors @@ -39,9 +39,12 @@ def spm_COVID_priors(*args, **kwargs): Copyright (C) 2020 Wellcome Centre for Human Neuroimaging - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/spm_COVID_priors.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_COVID_priors.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_COVID_priors", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/spm_COVID_priors_R.py b/spm/__toolbox/__DEM/spm_COVID_priors_R.py index 8dced53a..a9b7ccc6 100644 --- a/spm/__toolbox/__DEM/spm_COVID_priors_R.py +++ b/spm/__toolbox/__DEM/spm_COVID_priors_R.py @@ -2,7 +2,7 @@ def spm_COVID_priors_R(*args, **kwargs): - """ + r""" Prior expectation and covariance of between region parameters FORMAT [pE,pC,str,erc] = spm_COVID_priors_R(data) @@ -32,9 +32,12 @@ def spm_COVID_priors_R(*args, **kwargs): Copyright (C) 2020 Wellcome Centre for Human Neuroimaging - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/spm_COVID_priors_R.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_COVID_priors_R.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_COVID_priors_R", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/spm_COVID_table.py b/spm/__toolbox/__DEM/spm_COVID_table.py index 9baaa2fd..26a27a77 100644 --- a/spm/__toolbox/__DEM/spm_COVID_table.py +++ b/spm/__toolbox/__DEM/spm_COVID_table.py @@ -2,7 +2,7 @@ def spm_COVID_table(*args, **kwargs): - """ + r""" FORMAT Tab = spm_COVID_table(Ep,Cp,M) FORMAT Tab = spm_COVID_table(DCM) Ep - conditional expectations @@ -14,9 +14,12 @@ def spm_COVID_table(*args, **kwargs): Copyright (C) 2020 Wellcome Centre for Human Neuroimaging - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/spm_COVID_table.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_COVID_table.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_COVID_table", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/spm_DEM_ButtonDownFcn.py b/spm/__toolbox/__DEM/spm_DEM_ButtonDownFcn.py index c47f06aa..30d2a800 100644 --- a/spm/__toolbox/__DEM/spm_DEM_ButtonDownFcn.py +++ b/spm/__toolbox/__DEM/spm_DEM_ButtonDownFcn.py @@ -2,7 +2,7 @@ def spm_DEM_ButtonDownFcn(*args, **kwargs): - """ + r""" ButtonDownFcn to play (or save) a movie or sound on button press FORMAT spm_DEM_ButtonDownFcn @@ -11,9 +11,12 @@ def spm_DEM_ButtonDownFcn(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/spm_DEM_ButtonDownFcn.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_DEM_ButtonDownFcn.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_DEM_ButtonDownFcn", *args, **kwargs, nargout=0) diff --git a/spm/__toolbox/__DEM/spm_DEM_EEG.py b/spm/__toolbox/__DEM/spm_DEM_EEG.py index b34bd5ad..c3bdb362 100644 --- a/spm/__toolbox/__DEM/spm_DEM_EEG.py +++ b/spm/__toolbox/__DEM/spm_DEM_EEG.py @@ -2,7 +2,7 @@ def spm_DEM_EEG(*args, **kwargs): - """ + r""" simulated electrophysiological response based on conditional estimates FORMAT [R] = spm_DEM_EEG(DEM,dt,n,graphics) DEM - DEM structure @@ -20,9 +20,12 @@ def spm_DEM_EEG(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/spm_DEM_EEG.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_DEM_EEG.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_DEM_EEG", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/spm_DEM_G.py b/spm/__toolbox/__DEM/spm_DEM_G.py new file mode 100644 index 00000000..14ff5c48 --- /dev/null +++ b/spm/__toolbox/__DEM/spm_DEM_G.py @@ -0,0 +1,27 @@ +from spm._runtime import Runtime + + +def spm_DEM_G(*args, **kwargs): + r""" + Create generalised innovations for generative process + FORMAT [z,w] = spm_DEM_G(M) + M - model structure + + z{i} - innovations for level i (N.B. z{end} corresponds to causes) + w{i} - innovations for level i (state noise) + + If there is no fixed or hyper parameterized precision, then unit noise is + created. It is assumed that this will be later modulated by state + dependent terms, specified by M.ph and M.pg in spm_DEM_int + __________________________________________________________________________ + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_DEM_G.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("spm_DEM_G", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/spm_DEM_M.py b/spm/__toolbox/__DEM/spm_DEM_M.py index 461fbeb3..b5085169 100644 --- a/spm/__toolbox/__DEM/spm_DEM_M.py +++ b/spm/__toolbox/__DEM/spm_DEM_M.py @@ -2,7 +2,7 @@ def spm_DEM_M(*args, **kwargs): - """ + r""" Create a [template] model structure FORMAT [M] = spm_DEM_M(model,l,n) FORMAT [M] = spm_DEM_M(model,X1,X2,...) @@ -44,9 +44,12 @@ def spm_DEM_M(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/spm_DEM_M.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_DEM_M.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_DEM_M", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/spm_DEM_MEG.py b/spm/__toolbox/__DEM/spm_DEM_MEG.py index f69984e3..efea771a 100644 --- a/spm/__toolbox/__DEM/spm_DEM_MEG.py +++ b/spm/__toolbox/__DEM/spm_DEM_MEG.py @@ -2,7 +2,7 @@ def spm_DEM_MEG(*args, **kwargs): - """ + r""" as for spm_DEM_EEG but plots the causal and hidden errors FORMAT [R] = spm_DEM_MEG(DEM,dt,n,graphics) DEM - DEM structure @@ -20,9 +20,12 @@ def spm_DEM_MEG(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/spm_DEM_MEG.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_DEM_MEG.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_DEM_MEG", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/spm_DEM_T.py b/spm/__toolbox/__DEM/spm_DEM_T.py index 88b18c26..9e9344c0 100644 --- a/spm/__toolbox/__DEM/spm_DEM_T.py +++ b/spm/__toolbox/__DEM/spm_DEM_T.py @@ -2,7 +2,7 @@ def spm_DEM_T(*args, **kwargs): - """ + r""" returns temporal delay operator FORMAT [T] = spm_DEM_T(n,dt) __________________________________________________________________________ @@ -15,9 +15,12 @@ def spm_DEM_T(*args, **kwargs): ========================================================================== - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/spm_DEM_T.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_DEM_T.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_DEM_T", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/spm_DEM_basis.py b/spm/__toolbox/__DEM/spm_DEM_basis.py index fcbc6b6c..a280745a 100644 --- a/spm/__toolbox/__DEM/spm_DEM_basis.py +++ b/spm/__toolbox/__DEM/spm_DEM_basis.py @@ -2,7 +2,7 @@ def spm_DEM_basis(*args, **kwargs): - """ + r""" evaluates a parameterized set of basis functions problem FORMAT [f,p] = spm_DEM_basis(x,v,P) @@ -23,9 +23,12 @@ def spm_DEM_basis(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/spm_DEM_basis.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_DEM_basis.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_DEM_basis", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/spm_DEM_embed_path.py b/spm/__toolbox/__DEM/spm_DEM_embed_path.py new file mode 100644 index 00000000..6cda2fc7 --- /dev/null +++ b/spm/__toolbox/__DEM/spm_DEM_embed_path.py @@ -0,0 +1,28 @@ +from spm._runtime import Runtime + + +def spm_DEM_embed_path(*args, **kwargs): + r""" + Temporal embedding into generalised coordinates of motion + FORMAT [y] = spm_DEM_embed_path(Y,n,t,dt) + __________________________________________________________________________ + Y - (v x N) matrix of v time-series of length N + n - order of temporal embedding + t - time {bins} at which to evaluate derivatives (starting at t = 1) + dt - sampling interval {secs} [default = 1] + + y - {n,1}(v x 1) temporal derivatives y[:] <- E*Y(t) + __________________________________________________________________________ + see also spm_DEM_embed. This version uses slightly different boundary + conitions + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_DEM_embed_path.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("spm_DEM_embed_path", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/spm_DEM_movie.py b/spm/__toolbox/__DEM/spm_DEM_movie.py index 917f51aa..d059c405 100644 --- a/spm/__toolbox/__DEM/spm_DEM_movie.py +++ b/spm/__toolbox/__DEM/spm_DEM_movie.py @@ -2,7 +2,7 @@ def spm_DEM_movie(*args, **kwargs): - """ + r""" displays a movie and set ButtonDownFunction to play it FORMAT [M] = spm_DEM_movie(qU,S,FPS); @@ -18,9 +18,12 @@ def spm_DEM_movie(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/spm_DEM_movie.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_DEM_movie.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_DEM_movie", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/spm_DEM_play.py b/spm/__toolbox/__DEM/spm_DEM_play.py index 285bd865..44b4e06b 100644 --- a/spm/__toolbox/__DEM/spm_DEM_play.py +++ b/spm/__toolbox/__DEM/spm_DEM_play.py @@ -2,7 +2,7 @@ def spm_DEM_play(*args, **kwargs): - """ + r""" displays the sound images specified by the states in qU FORMAT [Y,FS] = spm_DEM_play(qU,S,T); @@ -19,9 +19,12 @@ def spm_DEM_play(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/spm_DEM_play.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_DEM_play.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_DEM_play", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/spm_DEM_play_song.py b/spm/__toolbox/__DEM/spm_DEM_play_song.py index 56f88dba..3ab9627d 100644 --- a/spm/__toolbox/__DEM/spm_DEM_play_song.py +++ b/spm/__toolbox/__DEM/spm_DEM_play_song.py @@ -2,7 +2,7 @@ def spm_DEM_play_song(*args, **kwargs): - """ + r""" displays the song-bird images specified by the states in qU FORMAT [Y,FS] = spm_DEM_play_song(qU,T); @@ -16,9 +16,12 @@ def spm_DEM_play_song(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/spm_DEM_play_song.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_DEM_play_song.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_DEM_play_song", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/spm_DEM_qC.py b/spm/__toolbox/__DEM/spm_DEM_qC.py index 8b4443dc..bdbf39d5 100644 --- a/spm/__toolbox/__DEM/spm_DEM_qC.py +++ b/spm/__toolbox/__DEM/spm_DEM_qC.py @@ -2,7 +2,7 @@ def spm_DEM_qC(*args, **kwargs): - """ + r""" returns the conditional precision over hidden states FORMAT [qP] = spm_DEM_qC(M) @@ -18,9 +18,12 @@ def spm_DEM_qC(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/spm_DEM_qC.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_DEM_qC.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_DEM_qC", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/spm_Lap2Lorenz.py b/spm/__toolbox/__DEM/spm_Lap2Lorenz.py index 9d179c66..f0faa5ce 100644 --- a/spm/__toolbox/__DEM/spm_Lap2Lorenz.py +++ b/spm/__toolbox/__DEM/spm_Lap2Lorenz.py @@ -2,13 +2,13 @@ def spm_Lap2Lorenz(*args, **kwargs): - """ + r""" Laplace version of the Lorentz system FORMAT [s,q,f] = spm_Lap2Lorenz(P,[w,x]) s - second order polynomial coefficients for(negative) potential q - second-order polynomial coefficients for flow - this routine evaluates the Laplacian version of a Lorentz system with + This routine evaluates the Laplacian version of a Lorentz system with supplied parameters in terms of second order polynomial coefficients. This is an exact solution that conforms to the Helmholtz decomposition; however, with an improper steady-state density due to the absence of a @@ -22,9 +22,12 @@ def spm_Lap2Lorenz(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/spm_Lap2Lorenz.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_Lap2Lorenz.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_Lap2Lorenz", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/spm_MB_structure_learning.py b/spm/__toolbox/__DEM/spm_MB_structure_learning.py new file mode 100644 index 00000000..875cc0b4 --- /dev/null +++ b/spm/__toolbox/__DEM/spm_MB_structure_learning.py @@ -0,0 +1,33 @@ +from spm._runtime import Runtime + + +def spm_MB_structure_learning(*args, **kwargs): + r""" + RG structure learning of a hierarchical POMDP + FORMAT [MDP,LG,RG] = spm_MB_structure_learning(O,L,dt) + O{N,T} - probabilitic exemplars of paths (cell aray) + L - array of pixel locations + dt - time dilation [1 for images] + + MDP{n} - cell aray of MDPs + RG{n} - cell aray of group indices + LG{n} - cell aray of locations + + This routine returns a hierarchy of generative models (MDP{n}), given a + sequence of outcomes using RG (renormalization group) operators. + + see: spm_MDP_structure_learning.m + spm_MDP_structure_teaching.m + __________________________________________________________________________ + Copyright (C) 2005 Wellcome Trust Centre for Neuroimaging + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_MB_structure_learning.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("spm_MB_structure_learning", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/spm_MDP.py b/spm/__toolbox/__DEM/spm_MDP.py index 198feb58..dda63590 100644 --- a/spm/__toolbox/__DEM/spm_MDP.py +++ b/spm/__toolbox/__DEM/spm_MDP.py @@ -2,7 +2,7 @@ def spm_MDP(*args, **kwargs): - """ + r""" solves the active inference problem for Markov decision processes FROMAT [Q,R,S,U,P] = spm_MDP(MDP) @@ -36,28 +36,28 @@ def spm_MDP(*args, **kwargs): P(M,T) - probabaility of emitting action 1,...,M at time 1,...,T This routine provides solutions of active inference (minimisation of - variational free energy)using a generative model based upon a Markov - decision process. This model and inference scheme is formulated - in discrete space and time. This means that the generative model (and + variational free energy) using a generative model based upon a Markov + decision process. This model and inference scheme is formulated in + discrete space and time. This means that the generative model (and process) are finite state machines or hidden Markov models whose dynamics are given by transition probabilities among states. For simplicity, we assume an isomorphism between hidden states and outcomes, where the likelihood corresponds to a particular outcome conditioned upon - hidden states. Similarly, for simplicity, this routine assumes that action - and hidden controls are isomorphic. If the dynamics of transition + hidden states. Similarly, for simplicity, this routine assumes that + action and hidden controls are isomorphic. If the dynamics of transition probabilities of the true process are not provided, this routine will use the equivalent probabilities from the generative model. The transition probabilities are a cell array of probability transition matrices corresponding to each (discrete) the level of the control state. - Mote that the conditional expectations are functions of time but also + Note that the conditional expectations are functions of time but also contain expectations about fictive states over time at each time point. To create time dependent transition probabilities, one can specify a function in place of the transition probabilities under different levels of control. - partially observed Markov decision processes can be modelled by + Partially observed Markov decision processes can be modelled by specifying a likelihood (as part of a generative model) and absorbing any probabilistic mapping between (isomorphic) hidden states and outcomes into the transition probabilities G. @@ -66,9 +66,12 @@ def spm_MDP(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/spm_MDP.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_MDP.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_MDP", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/spm_MDP_BMR.py b/spm/__toolbox/__DEM/spm_MDP_BMR.py new file mode 100644 index 00000000..66fcf587 --- /dev/null +++ b/spm/__toolbox/__DEM/spm_MDP_BMR.py @@ -0,0 +1,27 @@ +from spm._runtime import Runtime + + +def spm_MDP_BMR(*args, **kwargs): + r""" + returns the likelihood of reduced (Dirichlet) models + FORMAT [L] = spm_MDP_BMR(qp,rp) + + qp - posterior Dirichlet parameters (tensor or numeric array) + rp{m} - cell array of m reduced priors + + L(m) - likelihood of model m + + This auxillary routine assumes the priors are the (model) average of + reduced priors. + __________________________________________________________________________ + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_MDP_BMR.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("spm_MDP_BMR", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/spm_MDP_DEM.py b/spm/__toolbox/__DEM/spm_MDP_DEM.py index 9b25b717..94b5e45b 100644 --- a/spm/__toolbox/__DEM/spm_MDP_DEM.py +++ b/spm/__toolbox/__DEM/spm_MDP_DEM.py @@ -2,7 +2,7 @@ def spm_MDP_DEM(*args, **kwargs): - """ + r""" auxiliary (link) function for mixed hierarchical (MDP/DEM) models FORMAT DEM = spm_MDP_DEM(DEM,demi,O,o) @@ -31,9 +31,12 @@ def spm_MDP_DEM(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/spm_MDP_DEM.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_MDP_DEM.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_MDP_DEM", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/spm_MDP_DP.py b/spm/__toolbox/__DEM/spm_MDP_DP.py index 6cbd9cdd..3d2047cf 100644 --- a/spm/__toolbox/__DEM/spm_MDP_DP.py +++ b/spm/__toolbox/__DEM/spm_MDP_DP.py @@ -2,7 +2,7 @@ def spm_MDP_DP(*args, **kwargs): - """ + r""" dynamic programming using active inference FORMAT [B0,BV] = spm_MDP_DP(MDP) @@ -17,9 +17,12 @@ def spm_MDP_DP(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/spm_MDP_DP.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_MDP_DP.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_MDP_DP", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/spm_MDP_F.py b/spm/__toolbox/__DEM/spm_MDP_F.py index 641549d6..f5a1a4ea 100644 --- a/spm/__toolbox/__DEM/spm_MDP_F.py +++ b/spm/__toolbox/__DEM/spm_MDP_F.py @@ -2,7 +2,7 @@ def spm_MDP_F(*args, **kwargs): - """ + r""" auxiliary function for retrieving free energy and its components FORMAT [F,Fu,Fs,Fq,Fg,Fa] = spm_MDP_F(MDP) @@ -18,9 +18,12 @@ def spm_MDP_F(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/spm_MDP_F.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_MDP_F.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_MDP_F", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/spm_MDP_G.py b/spm/__toolbox/__DEM/spm_MDP_G.py index 24ce1051..b83c4e2b 100644 --- a/spm/__toolbox/__DEM/spm_MDP_G.py +++ b/spm/__toolbox/__DEM/spm_MDP_G.py @@ -2,7 +2,7 @@ def spm_MDP_G(*args, **kwargs): - """ + r""" auxiliary function for Bayesian suprise or mutual information FORMAT [G] = spm_MDP_G(A,x) @@ -12,9 +12,12 @@ def spm_MDP_G(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/spm_MDP_G.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_MDP_G.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_MDP_G", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/spm_MDP_L.py b/spm/__toolbox/__DEM/spm_MDP_L.py index b9f9f498..03adbd88 100644 --- a/spm/__toolbox/__DEM/spm_MDP_L.py +++ b/spm/__toolbox/__DEM/spm_MDP_L.py @@ -2,7 +2,7 @@ def spm_MDP_L(*args, **kwargs): - """ + r""" log-likelihood function FORMAT L = spm_mdp_L(P,M,U,Y) P - parameter structure @@ -19,9 +19,12 @@ def spm_MDP_L(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/spm_MDP_L.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_MDP_L.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_MDP_L", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/spm_MDP_VB.py b/spm/__toolbox/__DEM/spm_MDP_VB.py index a06dba43..738e27cd 100644 --- a/spm/__toolbox/__DEM/spm_MDP_VB.py +++ b/spm/__toolbox/__DEM/spm_MDP_VB.py @@ -2,7 +2,7 @@ def spm_MDP_VB(*args, **kwargs): - """ + r""" active inference and learning using variational Bayes FORMAT [MDP] = spm_MDP_VB(MDP,OPTIONS) @@ -103,9 +103,12 @@ def spm_MDP_VB(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/spm_MDP_VB.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_MDP_VB.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_MDP_VB", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/spm_MDP_VB_ERP.py b/spm/__toolbox/__DEM/spm_MDP_VB_ERP.py index 3384fd2d..5e26a36b 100644 --- a/spm/__toolbox/__DEM/spm_MDP_VB_ERP.py +++ b/spm/__toolbox/__DEM/spm_MDP_VB_ERP.py @@ -2,7 +2,7 @@ def spm_MDP_VB_ERP(*args, **kwargs): - """ + r""" auxiliary routine for hierarchical electrophysiological responses FORMAT [x,y] = spm_MDP_VB_ERP(MDP,FACTOR,T) @@ -34,9 +34,12 @@ def spm_MDP_VB_ERP(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/spm_MDP_VB_ERP.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_MDP_VB_ERP.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_MDP_VB_ERP", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/spm_MDP_VB_LFP.py b/spm/__toolbox/__DEM/spm_MDP_VB_LFP.py index c4e3bccd..08374b07 100644 --- a/spm/__toolbox/__DEM/spm_MDP_VB_LFP.py +++ b/spm/__toolbox/__DEM/spm_MDP_VB_LFP.py @@ -2,7 +2,7 @@ def spm_MDP_VB_LFP(*args, **kwargs): - """ + r""" auxiliary routine for plotting simulated electrophysiological responses FORMAT [v] = spm_MDP_VB_LFP(MDP,UNITS,FACTOR,SPECTRAL) @@ -25,9 +25,12 @@ def spm_MDP_VB_LFP(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/spm_MDP_VB_LFP.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_MDP_VB_LFP.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_MDP_VB_LFP", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/spm_MDP_VB_X.py b/spm/__toolbox/__DEM/spm_MDP_VB_X.py index 6e248a02..73812363 100644 --- a/spm/__toolbox/__DEM/spm_MDP_VB_X.py +++ b/spm/__toolbox/__DEM/spm_MDP_VB_X.py @@ -2,7 +2,7 @@ def spm_MDP_VB_X(*args, **kwargs): - """ + r""" active inference and learning using variational message passing FORMAT [MDP] = spm_MDP_VB_X(MDP,OPTIONS) @@ -137,9 +137,12 @@ def spm_MDP_VB_X(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/spm_MDP_VB_X.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_MDP_VB_X.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_MDP_VB_X", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/spm_MDP_VB_XX.py b/spm/__toolbox/__DEM/spm_MDP_VB_XX.py index 06faa0a0..185545c0 100644 --- a/spm/__toolbox/__DEM/spm_MDP_VB_XX.py +++ b/spm/__toolbox/__DEM/spm_MDP_VB_XX.py @@ -2,7 +2,7 @@ def spm_MDP_VB_XX(*args, **kwargs): - """ + r""" active inference and learning using belief propagation FORMAT [MDP] = spm_MDP_VB_XX(MDP,OPTIONS) @@ -132,9 +132,12 @@ def spm_MDP_VB_XX(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/spm_MDP_VB_XX.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_MDP_VB_XX.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_MDP_VB_XX", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/spm_MDP_VB_XXX.py b/spm/__toolbox/__DEM/spm_MDP_VB_XXX.py index 190e2a8e..6f165441 100644 --- a/spm/__toolbox/__DEM/spm_MDP_VB_XXX.py +++ b/spm/__toolbox/__DEM/spm_MDP_VB_XXX.py @@ -2,69 +2,74 @@ def spm_MDP_VB_XXX(*args, **kwargs): - """ + r""" active inference and learning using belief propagation (factorised) FORMAT [MDP] = spm_MDP_VB_XXX(MDP,OPTIONS) Input; MDP(m,n) - structure array of m models over n epochs - MDP.U(1,F) - controllable factors - MDP.T - number of outcomes - - MDP.A{G}(O,N1,...,NF) - likelihood of O outcomes for modality G, given hidden states - MDP.B{F}(N,N,U) - transitions among N states under U control states - MDP.C{G}(O) - prior probabilities over final outcomes (log preferences) - MDP.D{F}(N,1) - prior probabilities over initial states (Dirichlet counts) - MDP.E(P,1) - prior probabilities over control states (Dirichlet counts) - - MDP.a{G} - concentration parameters for A - MDP.b{F} - concentration parameters for B - MDP.c{G} - concentration parameters for C - MDP.d{F} - concentration parameters for D - MDP.e{P} - concentration parameters for E + MDP.U(1,Nf) - controllable factors + MDP.V(Np,Nf) - combinations of latent factors (policies) + MDP.T - number of time steps + + MDP.A{Ng}(No(g),Ns(1),...,Ns(Nf)) - likelihood of outcomes, given hidden states + MDP.B{Nf}(Ns(f),Ns(f),Nu(f)) - transitions among states under control states + MDP.C{Ng}(No(g),1) - prior probabilities over outcomes (Dirichlet counts) + MDP.D{Nf}(Ns(f),1) - prior probabilities over initial states (Dirichlet counts) + MDP.E{Nf}(Nu(f),1) - prior probabilities over paths (Dirichlet counts) + MDP.H{Nf}(Ns(f),1) - prior probabilities over final states (Dirichlet counts) + + MDP.a{Ng,1} - concentration parameters for A + MDP.b{Nf,1} - concentration parameters for B + MDP.c{Ng,1} - concentration parameters for C + MDP.d{Nf,1} - concentration parameters for D + MDP.e{Nf,1} - concentration parameters for E + MDP.h{Nf} - concentration parameters for H optional: - MDP.s(F,T) - true states - for each hidden factor - MDP.o(G,T) - true outcomes - for each outcome modality - MDP.O{G,T} - likelihoods - for each outcome modality - MDP.u(F,T) - true controls - for each hidden factor - - MDP.alpha - precision - action selection [512] - MDP.chi - Occams window for deep updates - MDP.eta - Forgetting hyperparameter [1] + MDP.s(Nf,T) - true states - for each hidden factor + MDP.u(Nu,T) - true paths - for each hidden factor + MDP.o(Ng,T) - true outcomes - for each outcome modality + MDP.O{Ng,T} - likelihoods - for each outcome modality + + MDP.alpha - precision - implicit control [512] + MDP.beta - precision - active learning [0] + MDP.chi - precision - explicit control + MDP.eta - Forgetting hyperparameter [128] MDP.N - depth of deep policy search [N = 0] - MDP.k(1,F) - beliefs about controllable factors + MDP.k(1,Nf) - beliefs about controllable factors - MDP.demi.C - Mixed model: cell array of true causes (DEM.C) - MDP.demi.U - Bayesian model average (DEM.U) see: spm_MDP_DEM - MDP.link - link array to generate outcomes from + MDP.id - domain structure to generate outcomes from subordinate MDP for deep (hierarchical) models - - MDP.n(O,T) - outputs for modality O at time T are generated by - agent n(O,T); unless n(O,T) = 0, when outputs - are generated by the agents states - MDP.m(F) - states for factor F are generated for agent m(F); - unless m(F) = 0, when states are updated for the + MDP.id.hid(Nf,Ni) - indices of Ni intended states + MDP.id.cid(Nf,Ni) - indices of Ni suprising states + + MDP.n(Ng,T) - outputs for modality g at time T are generated by + agent n(g,T); unless n(g,T) = 0, when outputs + are generated by the agents states. + If n(g,T) < 0, outputs are generated by all + agents + MDP.m(Nf) - states for factor f are generated from agent m(f); + unless m(f) = 0, when states are updated for the agent in question - OPTIONS.A - switch to evaluate explicit action OPTIONS.B - switch to evaluate backwards pass (replay) OPTIONS.N - switch to evaluate neuronal responses - OPTIONS.P - switch to plot graphics: [default: 0) + OPTIONS.P - switch to plot graphics: [default: 0] OPTIONS.D - switch to update initial states with final states OPTIONS.BMR - Bayesian model reduction for multiple trials see: spm_MDP_VB_sleep(MDP,BMR) Outputs: - MDP.P{F}(U,T) - conditional expectations over control states - MDP.X{F}(N,T) - conditional expectations over hidden states - MDP.Y{O,T} - conditional expectations over outcomes - MDP.R(P,T) - conditional expectations over policies + MDP.P{F}(Nu,T) - conditional expectations over hidden paths + MDP.X{F}(Nf,T) - conditional expectations over hidden states + MDP.Y{Ng,T} - conditional expectations over outcomes + MDP.R(Np,T) - conditional expectations over policies MDP.F(1,T) - (negative) free energies (states) over time - MDP.Z{U,T} - (negative) free energies (control) over time - MDP.G{P,T} - (negative) expected free energies over time - MDP.Fa(G) - (negative) free energy of parameters (a) - MDP.Fb(F) - ... + MDP.Z{1,T} - (negative) free energies (control) over time + MDP.G{1,T} - (negative) expected free energies over time + MDP.Fa - (negative) free energy of parameters (a) + MDP.Fb - ... MDP.v - expected free energy over policies MDP.w - precision of beliefs about policies @@ -84,7 +89,7 @@ def spm_MDP_VB_XXX(*args, **kwargs): This implementation equips agents with the prior beliefs that they will maximise expected free energy. Expected free energy can be interpreted in several ways - most intuitively as minimising the KL divergence between - predicted and preferred outcomes (specified as prior beliefs) -i.e., risk + predicted and preferred outcomes (specified as prior beliefs); i.e., risk while simultaneously minimising ambiguity. Alternatively, this can be rearranged into expected information gain and expected value, where value is the log of prior preferences (overstates or outcomes). @@ -117,14 +122,23 @@ def spm_MDP_VB_XXX(*args, **kwargs): generating process and generative model. The generative model is, by default, specified in terms of Dirichlet parameters, while the generative process is specified in terms of expected (likelihood and prior - transition) probabilities: b and B, respectively. If the number or - dimensionality of b and B do not correspond, then select OPTIONS.A = 1. - This will automatically evaluate the most likely policy (combination of - controllable paths) to reproduce the predicted outcomes (i.e. that which - minimises variational free energy or maximises accuracy); as opposed to - using the path selected by the model. - - scheme is designed for any allowable policies or control variables + transition) probabilities: A and B, respectively. + + This allows the generative model to learn the generative process, when + the structure or form of the process and its models are the same. If the + generative process as a different structure (e.g., a different number of + latent factors) then the generative model can be specified in terms of + the likelihood and prior tensors; MDP.GA and MDP.GB, respectively. The + controllable factors of the generative process are specified in MDP.GU. + Specifying a generative process will automatically invoke explicit + action; namely, the most likely policy (combination of controllable + paths) will automatically realise predicted outcomes. I.e., the policy + that minimises variational free energy or maximises accuracy (as opposed + to directly implementing the path selected under the generative model). + Explicit action is a more biomimetic, if vicarious, approach to realising + inferred paths. + + This scheme is designed for any allowable policies or control variables specified in MDP.U. Constraints on allowable policies can limit the numerics or combinatorics considerably. Further, the outcome space and hidden states can be defined in terms of factors; corresponding to @@ -132,7 +146,7 @@ def spm_MDP_VB_XXX(*args, **kwargs): respectively. This means, for each factor or subset of hidden states there are corresponding control states that determine the transition probabilities. in this implementation, hidden factors are combined using - a Kronecker intensive product to enable exact Bayesian inference using + a Kronecker tensor product to enable exact Bayesian inference using belief propagation (the Kronecker tensor form ensures that conditional dependencies among hidden factors are evaluated). @@ -150,10 +164,9 @@ def spm_MDP_VB_XXX(*args, **kwargs): In brief, the agent encodes beliefs about hidden states in the past conditioned on realised outcomes and actions. The resulting conditional - expectations determine the (path integral) of free energy that then - determines an empirical prior over the next action, from which the next - realised action sampled - + expectations determine the (path integral) of expected free energy that + then determines an empirical prior over the next action, from which the + next realised action sampled If supplied with a structure array, this routine will automatically step through the implicit sequence of epochs (implicit in the number of @@ -173,15 +186,16 @@ def spm_MDP_VB_XXX(*args, **kwargs): See also: spm_MDP_VB_XX, which is the corresponding variational message passing scheme for sophisticated policy searches under the assumption that the generative process and model have the same structure - - __________________________________________________________________________ Copyright (C) 2019 Wellcome Trust Centre for Neuroimaging - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/spm_MDP_VB_XXX.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_MDP_VB_XXX.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_MDP_VB_XXX", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/spm_MDP_VB_game.py b/spm/__toolbox/__DEM/spm_MDP_VB_game.py index 8a3ca3a9..3d244411 100644 --- a/spm/__toolbox/__DEM/spm_MDP_VB_game.py +++ b/spm/__toolbox/__DEM/spm_MDP_VB_game.py @@ -2,7 +2,7 @@ def spm_MDP_VB_game(*args, **kwargs): - """ + r""" auxiliary plotting routine for spm_MDP_VB - multiple trials FORMAT Q = spm_MDP_VB_game(MDP) @@ -32,9 +32,12 @@ def spm_MDP_VB_game(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/spm_MDP_VB_game.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_MDP_VB_game.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_MDP_VB_game", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/spm_MDP_VB_sleep.py b/spm/__toolbox/__DEM/spm_MDP_VB_sleep.py index 6d7f35e1..41ee9687 100644 --- a/spm/__toolbox/__DEM/spm_MDP_VB_sleep.py +++ b/spm/__toolbox/__DEM/spm_MDP_VB_sleep.py @@ -2,7 +2,7 @@ def spm_MDP_VB_sleep(*args, **kwargs): - """ + r""" Bayesian model reduction (sleep) for MDP models FORMAT [MDP] = spm_MDP_VB_sleep(MDP,BMR) @@ -12,7 +12,7 @@ def spm_MDP_VB_sleep(*args, **kwargs): BMR.o - outcomes - that induce REM [default: {}] BMR.x - increase in concentration parameters for BMR [default: 8] BMR.f - hidden factors to contract over [default: 0] - BMR.T - log Bayes factor threshold [default: 2] + BMR.T - log Bayes factor threshold [default: 0] MDP - (reduced) model structure: with reduced MDP.a @@ -40,9 +40,12 @@ def spm_MDP_VB_sleep(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/spm_MDP_VB_sleep.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_MDP_VB_sleep.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_MDP_VB_sleep", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/spm_MDP_VB_trial.py b/spm/__toolbox/__DEM/spm_MDP_VB_trial.py index 5a39104d..ac95c826 100644 --- a/spm/__toolbox/__DEM/spm_MDP_VB_trial.py +++ b/spm/__toolbox/__DEM/spm_MDP_VB_trial.py @@ -2,9 +2,9 @@ def spm_MDP_VB_trial(*args, **kwargs): - """ + r""" auxiliary plotting routine for spm_MDP_VB - single trial - FORMAT spm_MDP_VB_trial(MDP,[f,g]) + FORMAT spm_MDP_VB_trial(MDP,f,g) MDP.P(M,T) - probability of emitting action 1,...,M at time 1,...,T MDP.X - conditional expectations over hidden states @@ -12,6 +12,8 @@ def spm_MDP_VB_trial(*args, **kwargs): MDP.o - outcomes at time 1,...,T MDP.s - states at time 1,...,T MDP.u - action at time 1,...,T + f - hidden states to show [default: 1:3] + g - outcomes to show [default: 1:3] MDP.un = un; - simulated neuronal encoding of hidden states MDP.xn = Xn; - simulated neuronal encoding of policies @@ -24,9 +26,12 @@ def spm_MDP_VB_trial(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/spm_MDP_VB_trial.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_MDP_VB_trial.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_MDP_VB_trial", *args, **kwargs, nargout=0) diff --git a/spm/__toolbox/__DEM/spm_MDP_VB_update.py b/spm/__toolbox/__DEM/spm_MDP_VB_update.py index b879d7b3..9e4b670f 100644 --- a/spm/__toolbox/__DEM/spm_MDP_VB_update.py +++ b/spm/__toolbox/__DEM/spm_MDP_VB_update.py @@ -2,7 +2,7 @@ def spm_MDP_VB_update(*args, **kwargs): - """ + r""" Bayesian model reduction (sleep) for MDP models FORMAT [MDP] = spm_MDP_VB_update(MDP,PDP,OPTIONS) @@ -10,10 +10,9 @@ def spm_MDP_VB_update(*args, **kwargs): PDP - MDP structure (after exposure) OPTIONS.d - update of initial states of hidden factors d [default: []] - OPTIONS.eta - forgetting rate [default: 1] OPTIONS.BMR - Bayesian model reduction options: - BMR.g - Bayesian model reduction of modality g [default: 1] + BMR.g - Bayesian model reduction of modality g [default: all] BMR.f - hidden factors to contract over [default: 0] BMR.o - outcomes - that induce REM [default: {}] BMR.T - Occams threshold [default: 2] @@ -44,9 +43,12 @@ def spm_MDP_VB_update(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/spm_MDP_VB_update.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_MDP_VB_update.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_MDP_VB_update", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/spm_MDP_arcade.py b/spm/__toolbox/__DEM/spm_MDP_arcade.py new file mode 100644 index 00000000..beae13b5 --- /dev/null +++ b/spm/__toolbox/__DEM/spm_MDP_arcade.py @@ -0,0 +1,32 @@ +from spm._runtime import Runtime + + +def spm_MDP_arcade(*args, **kwargs): + r""" + Creates an MDP structure for a simple arcade game + FORMAT [MDP,RGB] = spm_MDP_arcade(Nr,Nc,Nd,Nb) + -------------------------------------------------------------------------- + Nr - number of rows + Nc - number of columns + Nd - number of initial states [default: 1] + Np - number of bombs + + RGB - display structure + + outcomes(1) - paddle + outcomes(2) - ball + outcomes(3) - target + outcomes(4) - bomb + outcomes(5) - background + __________________________________________________________________________ + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_MDP_arcade.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("spm_MDP_arcade", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/spm_MDP_breakout.py b/spm/__toolbox/__DEM/spm_MDP_breakout.py new file mode 100644 index 00000000..6e72d6e1 --- /dev/null +++ b/spm/__toolbox/__DEM/spm_MDP_breakout.py @@ -0,0 +1,33 @@ +from spm._runtime import Runtime + + +def spm_MDP_breakout(*args, **kwargs): + r""" + Creates an MDP structure for a simple game of Breakout + FORMAT [MDP,hid,cid,con,RGB] = spm_MDP_breakout(Nr,Nc,Nd) + -------------------------------------------------------------------------- + Nr % number of rows + Nc % number of columns + Nd % randomness of resets + hid - Hidden states corresponding to hits + cid - Hidden states corresponding to misses + con - output modalities reporting control + RGB - display structure + + outcomes(1) - paddle + outcomes(2) - ball + outcomes(3) - target centre + outcomes(4) - target periphery + outcomes(5) - background + __________________________________________________________________________ + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_MDP_breakout.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("spm_MDP_breakout", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/spm_MDP_check.py b/spm/__toolbox/__DEM/spm_MDP_check.py index 3f95fc6d..63560edc 100644 --- a/spm/__toolbox/__DEM/spm_MDP_check.py +++ b/spm/__toolbox/__DEM/spm_MDP_check.py @@ -2,7 +2,7 @@ def spm_MDP_check(*args, **kwargs): - """ + r""" MDP structure checking FORMAT [MDP] = spm_MDP_check(MDP) @@ -36,9 +36,12 @@ def spm_MDP_check(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/spm_MDP_check.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_MDP_check.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_MDP_check", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/spm_MDP_checkX.py b/spm/__toolbox/__DEM/spm_MDP_checkX.py new file mode 100644 index 00000000..e0da2b48 --- /dev/null +++ b/spm/__toolbox/__DEM/spm_MDP_checkX.py @@ -0,0 +1,36 @@ +from spm._runtime import Runtime + + +def spm_MDP_checkX(*args, **kwargs): + r""" + MDP structure checking for XXX routines + FORMAT [MDP] = spm_MDP_checkX(MDP,) + + MDP.U(1,F) - indices of controllable paths + MDP.T - number of outcomes + + MDP.A{g}(No(g),Ns(1),Ns(2),...) - likelihood of outcomes given hidden states + MDP.B{f}(Ns(f),Ns(f),Nu(f)) - transitions among hidden under MF control states + MDP.C{g}(No(g),1) - prior preferences over outcomes in modality g + MDP.D{f}(Ns(f),1) - prior probabilities over initial states + MDP.E{f}(Nu(f),1) - prior probabilities over initial paths + MDP.H{f}(Ns(f),1) - prior probabilities over final sates + + MDP.a{g} - concentration parameters for A + MDP.b{f} - concentration parameters for B + MDP.c{g} - concentration parameters for C + MDP.d{f} - concentration parameters for D + MDP.e{f} - concentration parameters for E + MDP.h{f} - concentration parameters for H + __________________________________________________________________________ + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_MDP_checkX.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("spm_MDP_checkX", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/spm_MDP_check_labels.py b/spm/__toolbox/__DEM/spm_MDP_check_labels.py new file mode 100644 index 00000000..f4042679 --- /dev/null +++ b/spm/__toolbox/__DEM/spm_MDP_check_labels.py @@ -0,0 +1,31 @@ +from spm._runtime import Runtime + + +def spm_MDP_check_labels(*args, **kwargs): + r""" + label checking for MDP routines + FORMAT [MDP] = spm_MDP_check_labels(MDP,nf,ng) + + MDP.U(1,F) - indices of controllable paths + MDP.T - number of outcomes + + MDP.A{g}(No(g),Ns(1),Ns(2),...) - likelihood of outcomes given hidden states + MDP.B{f}(Ns(f),Ns(f),Nu(f)) - transitions among hidden under MF control states + MDP.C{g}(No(g),1) - prior preferences over outcomes in modality g + MDP.D{f}(Ns(f),1) - prior probabilities over initial states + MDP.E{f}(Nu(f),1) - prior probabilities over initial paths + MDP.H{f}(Ns(f),1) - prior probabilities over final sates + + MDP.labels - maximum of nf and ng states and outcomes [4] + __________________________________________________________________________ + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_MDP_check_labels.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("spm_MDP_check_labels", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/spm_MDP_conv.py b/spm/__toolbox/__DEM/spm_MDP_conv.py new file mode 100644 index 00000000..b9071fd1 --- /dev/null +++ b/spm/__toolbox/__DEM/spm_MDP_conv.py @@ -0,0 +1,40 @@ +from spm._runtime import Runtime + + +def spm_MDP_conv(*args, **kwargs): + r""" + Multidimensional dot (inner) product + FORMAT [gg] = spm_MDP_conv(n,d) + + n(1,2) - Size of image matrix + d - Number of pixel displacements + + gg{g} - Cell array of output indices for each modality g + + This illustrative routine returns a cell array of output indices that map + from modalities (i.e., the likelihood tensors) to outputs. This + effectively allows one to implement a simple form of weight sharing by + changing the mapping from modalities to outputs in a systematic way. + Here, we consider translations as exemplar affine mappings from + modalities to outputs. + + The resulting cell array is then used during inversion to estimate the + latent states encoding a fine transformations. The dimensions of the cell + array (gg) correspond to orthogonal transformations and, implicitly, the + shape of domain states (ff) on which they depend. By using an explicit + geometry the transformations are strictly divergence; in the sense that + one modality can generate multiple outputs; however, each transformation + or mapping generates the same number of outputs (and is thereby informed + by the same number). + __________________________________________________________________________ + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_MDP_conv.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("spm_MDP_conv", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/spm_MDP_factor_graph.py b/spm/__toolbox/__DEM/spm_MDP_factor_graph.py index 4ab4c8e7..c5067bb6 100644 --- a/spm/__toolbox/__DEM/spm_MDP_factor_graph.py +++ b/spm/__toolbox/__DEM/spm_MDP_factor_graph.py @@ -2,7 +2,7 @@ def spm_MDP_factor_graph(*args, **kwargs): - """ + r""" Draws a factor graph corresponding to MDP FORMAT spm_MDP_factor_graph(MDP) @@ -25,9 +25,12 @@ def spm_MDP_factor_graph(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/spm_MDP_factor_graph.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_MDP_factor_graph.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_MDP_factor_graph", *args, **kwargs, nargout=0) diff --git a/spm/__toolbox/__DEM/spm_MDP_game.py b/spm/__toolbox/__DEM/spm_MDP_game.py index 2b9e5bef..4bfca97f 100644 --- a/spm/__toolbox/__DEM/spm_MDP_game.py +++ b/spm/__toolbox/__DEM/spm_MDP_game.py @@ -2,7 +2,7 @@ def spm_MDP_game(*args, **kwargs): - """ + r""" action selection using active inference FORMAT [MDP] = spm_MDP_game(MDP,OPTION,W) @@ -105,9 +105,12 @@ def spm_MDP_game(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/spm_MDP_game.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_MDP_game.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_MDP_game", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/spm_MDP_game_KL.py b/spm/__toolbox/__DEM/spm_MDP_game_KL.py index 327692f9..c70b5123 100644 --- a/spm/__toolbox/__DEM/spm_MDP_game_KL.py +++ b/spm/__toolbox/__DEM/spm_MDP_game_KL.py @@ -2,7 +2,7 @@ def spm_MDP_game_KL(*args, **kwargs): - """ + r""" action selection using active inference (KL formulation) FORMAT [MDP] = spm_MDP_game_KL(MDP,[EU]) @@ -90,9 +90,12 @@ def spm_MDP_game_KL(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/spm_MDP_game_KL.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_MDP_game_KL.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_MDP_game_KL", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/spm_MDP_game_optimism.py b/spm/__toolbox/__DEM/spm_MDP_game_optimism.py index e815a059..d067d9a4 100644 --- a/spm/__toolbox/__DEM/spm_MDP_game_optimism.py +++ b/spm/__toolbox/__DEM/spm_MDP_game_optimism.py @@ -2,7 +2,7 @@ def spm_MDP_game_optimism(*args, **kwargs): - """ + r""" aaction selection using active inference (with optimism bias) FORMAT [MDP] = spm_MDP_game_optimism(MDP,OPTION) @@ -101,9 +101,12 @@ def spm_MDP_game_optimism(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/spm_MDP_game_optimism.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_MDP_game_optimism.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_MDP_game_optimism", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/spm_MDP_generate.py b/spm/__toolbox/__DEM/spm_MDP_generate.py new file mode 100644 index 00000000..dc683822 --- /dev/null +++ b/spm/__toolbox/__DEM/spm_MDP_generate.py @@ -0,0 +1,52 @@ +from spm._runtime import Runtime + + +def spm_MDP_generate(*args, **kwargs): + r""" + active inference and learning using belief propagation (factorised) + FORMAT [MDP] = spm_MDP_generate(MDP) + + Input; MDP(m,n) - structure array of m models over n epochs + MDP.U(1, Nf) - controllable factors + MDP.V(Np,Nf) - combinations of latent factors (policies) + MDP.T - number of time steps + + MDP.A{Ng}(No(g),Ns(1),...,Ns(Nf)) - likelihood of outcomes, given hidden states + MDP.B{Nf}(Ns(f),Ns(f),Nu(f)) - transitions among states under control states + MDP.C{Ng}(No(g),1) - prior probabilities over outcomes (Dirichlet counts) + MDP.D{Nf}(Ns(f),1) - prior probabilities over initial states (Dirichlet counts) + MDP.E{Nf}(Nu(f),1) - prior probabilities over paths (Dirichlet counts) + MDP.H{Nf}(Ns(f),1) - prior probabilities over final states (Dirichlet counts) + + OPTIONS.A - switch to evaluate explicit action + + Outputs: + MDP.s(Nf,T) - states - for each hidden factor + MDP.o(Ng,T) - outcomes - for each outcome modality + MDP.O{Ng,T} - likelihoods - for each outcome modality + MDP.u(Nu,T) - controls - for each hidden factor + + This routine provides solutions of active inference (minimisation of + variational free energy) using a generative model based upon a Markov + decision process. The model and inference scheme is formulated in + discrete space and time. This means that the generative model (and + process) are hidden Markov models whose dynamics are given by transition + probabilities among states and the likelihood corresponds to a particular + outcome conditioned upon hidden states. + + + See also: spm_MDP_VB_XXX, which is the corresponding variational message + passing scheme. + __________________________________________________________________________ + Copyright (C) 2019 Wellcome Trust Centre for Neuroimaging + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_MDP_generate.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("spm_MDP_generate", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/spm_MDP_link.py b/spm/__toolbox/__DEM/spm_MDP_link.py index 62c515b7..02f32db7 100644 --- a/spm/__toolbox/__DEM/spm_MDP_link.py +++ b/spm/__toolbox/__DEM/spm_MDP_link.py @@ -2,7 +2,7 @@ def spm_MDP_link(*args, **kwargs): - """ + r""" auxiliary function to create link (cell array) FORMAT [LINK,link] = spm_MDP_link(MDP) @@ -15,9 +15,12 @@ def spm_MDP_link(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/spm_MDP_link.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_MDP_link.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_MDP_link", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/spm_MDP_log_evidence.py b/spm/__toolbox/__DEM/spm_MDP_log_evidence.py index f06e8c41..341e7600 100644 --- a/spm/__toolbox/__DEM/spm_MDP_log_evidence.py +++ b/spm/__toolbox/__DEM/spm_MDP_log_evidence.py @@ -2,7 +2,7 @@ def spm_MDP_log_evidence(*args, **kwargs): - """ + r""" Bayesian model reduction for Dirichlet hyperparameters FORMAT [F,sA,dFdA] = spm_MDP_log_evidence(qA,pA,rA) @@ -12,22 +12,25 @@ def spm_MDP_log_evidence(*args, **kwargs): F - free energy or (negative) log evidence of reduced model sA - sufficient statistics of reduced posterior - dFdA - total (negative) free energy gradients with respect to rA + dFdA - total free energy gradients with respect to rA This routine computes the negative log evidence of a reduced model of a - categorical distribution parameterised in terms of Dirichlet - hyperparameters (i.e., concentration parameters encoding probabilities). - It uses Bayesian model reduction to evaluate the evidence for models with - and without a particular parameter. + categorical distribution parameterised in terms of Dirichlet parameters + (i.e., parameters encoding probabilities). It uses Bayesian model + reduction to evaluate the evidence for models with and without a + particular parameter. A demonstration of the implicit pruning can be found at the end of this routine __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/spm_MDP_log_evidence.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_MDP_log_evidence.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_MDP_log_evidence", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/spm_MDP_mountain_car.py b/spm/__toolbox/__DEM/spm_MDP_mountain_car.py index b97b2713..7237edd3 100644 --- a/spm/__toolbox/__DEM/spm_MDP_mountain_car.py +++ b/spm/__toolbox/__DEM/spm_MDP_mountain_car.py @@ -2,7 +2,7 @@ def spm_MDP_mountain_car(*args, **kwargs): - """ + r""" Demo for Discrete Markov Decision process (planning) FORMAT spm_MDP_mountain_car(X,V,T)) X - initial and goal position @@ -21,9 +21,12 @@ def spm_MDP_mountain_car(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/spm_MDP_mountain_car.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_MDP_mountain_car.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_MDP_mountain_car", *args, **kwargs, nargout=0) diff --git a/spm/__toolbox/__DEM/spm_MDP_offer.py b/spm/__toolbox/__DEM/spm_MDP_offer.py index adf49b04..0cd0d41a 100644 --- a/spm/__toolbox/__DEM/spm_MDP_offer.py +++ b/spm/__toolbox/__DEM/spm_MDP_offer.py @@ -2,7 +2,7 @@ def spm_MDP_offer(*args, **kwargs): - """ + r""" Demo for active inference with limited offer game __________________________________________________________________________ @@ -29,9 +29,12 @@ def spm_MDP_offer(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/spm_MDP_offer.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_MDP_offer.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_MDP_offer", *args, **kwargs, nargout=0) diff --git a/spm/__toolbox/__DEM/spm_MDP_params.py b/spm/__toolbox/__DEM/spm_MDP_params.py new file mode 100644 index 00000000..0fb1b5c4 --- /dev/null +++ b/spm/__toolbox/__DEM/spm_MDP_params.py @@ -0,0 +1,22 @@ +from spm._runtime import Runtime + + +def spm_MDP_params(*args, **kwargs): + r""" + Show likelihood and prior transition parameters + FORMAT spm_MDP_params(MDP,OPT) + + MDP - MDP structure + OPT - normalise [1] + __________________________________________________________________________ + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_MDP_params.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("spm_MDP_params", *args, **kwargs, nargout=0) diff --git a/spm/__toolbox/__DEM/spm_MDP_plot.py b/spm/__toolbox/__DEM/spm_MDP_plot.py index 5782f09f..2ef9c399 100644 --- a/spm/__toolbox/__DEM/spm_MDP_plot.py +++ b/spm/__toolbox/__DEM/spm_MDP_plot.py @@ -2,7 +2,7 @@ def spm_MDP_plot(*args, **kwargs): - """ + r""" creates a movie of hierarchical expectations and outcomes FORMAT spm_MDP_plot(MDP)) @@ -11,9 +11,12 @@ def spm_MDP_plot(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/spm_MDP_plot.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_MDP_plot.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_MDP_plot", *args, **kwargs, nargout=0) diff --git a/spm/__toolbox/__DEM/spm_MDP_pong.py b/spm/__toolbox/__DEM/spm_MDP_pong.py new file mode 100644 index 00000000..d6a09f54 --- /dev/null +++ b/spm/__toolbox/__DEM/spm_MDP_pong.py @@ -0,0 +1,36 @@ +from spm._runtime import Runtime + + +def spm_MDP_pong(*args, **kwargs): + r""" + Creates an MDP structure for a simple game of Pong + FORMAT [MDP,hid,cid,con,RGB,nP] = spm_MDP_pong(Nr,Nc,Nd,Na,Np) + -------------------------------------------------------------------------- + Nr - number of rows + Nc - number of columns + Nd - number of initial states [default: 1] + Na - returns rewards, costs and action + Np - number of distractor pixels + + hid - Hidden states corresponding to hits + cid - Hidden states corresponding to misses + con - output modalities reporting control + RGB - display structure + + outcomes(1) - ball + outcomes(2) - bat (right) + outcomes(3) - bat (centre) + outcomes(4) - bat (left) + outcomes(5) - background + __________________________________________________________________________ + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_MDP_pong.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("spm_MDP_pong", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/spm_MDP_rules.py b/spm/__toolbox/__DEM/spm_MDP_rules.py new file mode 100644 index 00000000..fd85b346 --- /dev/null +++ b/spm/__toolbox/__DEM/spm_MDP_rules.py @@ -0,0 +1,38 @@ +from spm._runtime import Runtime + + +def spm_MDP_rules(*args, **kwargs): + r""" + returns (likelihood) hypothesis or model space + FORMAT [pa,ru,mi] = spm_MDP_rules(label,g) + + label - annotated model + pg - modlity in question + + pa{:} - {Dirichlet likelihood) model space + ru{:} - rules as text strings + mi(:) - mutual information + + This routine automatically creates a set of models, for a specified + modality, given the annotation of latent states and outcome modalities. + It first determines the size of the state space and likelihood mapping. + It then identifies potential isomorphisms by identifying control factors + that share more than one annotated state with noncontrollable factors, + which become candidate criterion factors. It then identifies candidate + context factors, whose levels uniquely specify the criterion factors. + Finally, for every combination of context and criterion factors, a + likelihood mapping is generated by assigning a Dirichlet account to a + correct outcome, whenever the outcome matches the criterion state + specified by the context state. + __________________________________________________________________________ + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_MDP_rules.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("spm_MDP_rules", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/spm_MDP_size.py b/spm/__toolbox/__DEM/spm_MDP_size.py index a73eddb0..607fa5d6 100644 --- a/spm/__toolbox/__DEM/spm_MDP_size.py +++ b/spm/__toolbox/__DEM/spm_MDP_size.py @@ -2,8 +2,8 @@ def spm_MDP_size(*args, **kwargs): - """ - Dimensions of MDP + r""" + Dimensions (shape) of MDP based on generative model (a,b,...) FORMAT [Nf,Ns,Nu,Ng,No] = spm_MDP_size(mdp) Nf - number of factors Ns - states per factor @@ -13,9 +13,12 @@ def spm_MDP_size(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/spm_MDP_size.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_MDP_size.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_MDP_size", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/spm_MDP_structure_learning.py b/spm/__toolbox/__DEM/spm_MDP_structure_learning.py index 096a6cf6..d60bdab2 100644 --- a/spm/__toolbox/__DEM/spm_MDP_structure_learning.py +++ b/spm/__toolbox/__DEM/spm_MDP_structure_learning.py @@ -2,28 +2,37 @@ def spm_MDP_structure_learning(*args, **kwargs): - """ + r""" structure learning of factorised Markov decision processes - FORMAT mdp = spm_MDP_structure_learning(MDP,[mdp]) - FORMAT mdp = spm_MDP_structure_learning(o,[mdp]) + FORMAT mdp = spm_MDP_structure_learning(mdp,O,[OPTIONS]) - MDP - generative process or - o - cell array of outcomes - mdp.p - initial Dirichlet counts [1/16] + mdp.p - initial Dirichlet counts [1/32] mdp.q - precise Dirichlet counts [512] + O - probabilitic exemplars of paths + + OPTIONS.N [0] - suppress neuronal responses + OPTIONS.P [0] - suppress plotting + OPTIONS.G [1] - suppress graphics + OPTIONS.B [1] - replay + + OPTIONS.NF [4] - maxmium number of factors + OPTIONS.NS [32,...] - maxmium number of states + OPTIONS.NU [16,...] - maxmium number of paths + OPTIONS.UB [1] - model prior: bound on Ns - mdp - generative model: with mdp.a, mdp.b (and mdp.k) + mdp - generative model: with mdp.a, mdp.b - This routine returns a generative model in the form of an MDP, based upon - a sequence of outcomes. If the outcomes are not supplied, then they are - generated automatically from a generative process, specified with an MDP - structure. The generative model learns from successive epochs of data - generated under the first level of each factor of the process. By - exploring different extensions to the model (using Bayesian model - comparison) successive epochs are assimilated under a model structure - that accommodates context sensitive dynamics. This routine makes certain - assumptions about the basic structural form of generative models at any - given level of a hierarchical model. These are minimal assumptions: + This routine returns a generative model (mdp) in the form of an MDP, + given a sequence of outcomes. If the outcomes are not available, then + they can be generated automatically from a generative process, specified + with an MDP structure (see spm_MDP_structure_teaching). The generative + model learns from successive epochs of data generated under the first + level of each factor of the process. By exploring different extensions to + the model (using Bayesian model comparison) successive epochs are + assimilated under a model structure that accommodates paths. This routine + makes certain assumptions about the structural form of generative models + at any given level of a hierarchical model. These are minimal + assumptions: (i) Dynamics are conditionally independent of outcomes. This means that the generative model can be factorised into a likelihood mapping (A) and @@ -40,7 +49,7 @@ def spm_MDP_structure_learning(*args, **kwargs): modality) is a tensor whose trailing dimensions correspond to the dimensions of each factor. The (transition) priors are tensors, with a probability transition matrix for each path. In addition, the initial - state and path of each factor is specified with D and E. With this form, + state and path of each factor are specified with D and E. With this form, structure learning can simply consider the addition of a latent state, a latent path or a new factor. @@ -52,17 +61,18 @@ def spm_MDP_structure_learning(*args, **kwargs): this means that adding a factor entails adding a second state to the implicit first state of the new factor. - If called with two arguments, the outcomes are assimilated into an - existing generative model. - See: spm_MDP_log_evidence.m, spm_MDP_VB_update and spm_MDP_VB_sleep.m + spm_MDP_structure_teaching.m __________________________________________________________________________ Copyright (C) 2005 Wellcome Trust Centre for Neuroimaging - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/spm_MDP_structure_learning.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_MDP_structure_learning.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_MDP_structure_learning", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/spm_MDP_structure_teaching.py b/spm/__toolbox/__DEM/spm_MDP_structure_teaching.py new file mode 100644 index 00000000..1ee9d0b2 --- /dev/null +++ b/spm/__toolbox/__DEM/spm_MDP_structure_teaching.py @@ -0,0 +1,49 @@ +from spm._runtime import Runtime + + +def spm_MDP_structure_teaching(*args, **kwargs): + r""" + Generates probabilistic training sequences for structure learning + FORMAT [O,o] = spm_MDP_structure_teaching(MDP,[OPTIONS]) + + MDP - generative process or exemplars + + O{{.}} - probabilistic exemplars or training sequence + o{[.]} - indices of exemplars or training sequence + + OPTIONS.N [0] - suppress neuronal responses + OPTIONS.P [0] - suppress plotting + OPTIONS.B [0] - replay + OPTIONS.G [0] - suppress graphics + + This routine generates a sequence of (probabilistic) outcomes from a + specified POMDP structure. This sequence is appropriate for structure + learning. It comprises a sequence of epochs, where each epoch is + generated in a specific order: starting from the first factor, the + outcomes associated with each hidden state are generated under the first + path. By construction, the first path is stationary. After all hidden + states have generated the outcomes, successive paths are generated + starting from each hidden state. After all paths have been generated, the + process is repeated for subsequent factors; under the first state and + path of previous factors (noting, that the first path is always + stationary; i.e., an identity transition mapping). Unless otherwise + specified, outcomes comprise two observations. + + This routine is used in conjunction with spm_MDP_structure_learning.m + that will, in principle, recover the factorial structure of MDP given, + this sequence of observations. + + See: spm_MDP_structure_learning + __________________________________________________________________________ + Copyright (C) 2005 Wellcome Trust Centre for Neuroimaging + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_MDP_structure_teaching.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("spm_MDP_structure_teaching", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/spm_MDP_trust.py b/spm/__toolbox/__DEM/spm_MDP_trust.py index f8e8efad..b452a7c8 100644 --- a/spm/__toolbox/__DEM/spm_MDP_trust.py +++ b/spm/__toolbox/__DEM/spm_MDP_trust.py @@ -2,7 +2,7 @@ def spm_MDP_trust(*args, **kwargs): - """ + r""" Demo of active inference for trust games __________________________________________________________________________ @@ -32,9 +32,12 @@ def spm_MDP_trust(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/spm_MDP_trust.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_MDP_trust.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_MDP_trust", *args, **kwargs, nargout=0) diff --git a/spm/__toolbox/__DEM/spm_MDP_urn.py b/spm/__toolbox/__DEM/spm_MDP_urn.py index 282a26b9..e4633540 100644 --- a/spm/__toolbox/__DEM/spm_MDP_urn.py +++ b/spm/__toolbox/__DEM/spm_MDP_urn.py @@ -2,7 +2,7 @@ def spm_MDP_urn(*args, **kwargs): - """ + r""" Demo for active inference with the urn task __________________________________________________________________________ @@ -36,9 +36,12 @@ def spm_MDP_urn(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/spm_MDP_urn.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_MDP_urn.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_MDP_urn", *args, **kwargs, nargout=0) diff --git a/spm/__toolbox/__DEM/spm_NESS_constraints.py b/spm/__toolbox/__DEM/spm_NESS_constraints.py index 4941cb5b..7cedc8c1 100644 --- a/spm/__toolbox/__DEM/spm_NESS_constraints.py +++ b/spm/__toolbox/__DEM/spm_NESS_constraints.py @@ -2,23 +2,27 @@ def spm_NESS_constraints(*args, **kwargs): - """ - constraints on polynomial coefficients or dynamical systems + r""" + constraints on polynomial coefficients of dynamical systems FORMAT [ks,kq,kg,kh] = spm_NESS_constraints(o,A,K,L); o - matrix of orders for polynomial expansion A - adjacency matrix (dynamical coupling) K - upper bound on order for surprisal parameters - J - upper bound on order for flow operator parameters + L - upper bound on order for flow operator parameters (K < L) ks - indices for surprisal parameters kq - indices for solenoidal parameters kg - indices for dissipative parameters kh - indices for curvature parameters + __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/spm_NESS_constraints.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_NESS_constraints.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_NESS_constraints", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/spm_NESS_forecast.py b/spm/__toolbox/__DEM/spm_NESS_forecast.py new file mode 100644 index 00000000..48ee0664 --- /dev/null +++ b/spm/__toolbox/__DEM/spm_NESS_forecast.py @@ -0,0 +1,35 @@ +from spm._runtime import Runtime + + +def spm_NESS_forecast(*args, **kwargs): + r""" + Analytic predictive density under the Laplace assumption + FORMAT [Ey,Cy,Vy] = spm_NESS_forecast(DEM) + -------------------------------------------------------------------------- + DEM - inverted DEM structure + + Ey - posterior expectation + Cy - posterior covariances + Vy - posterior covariances + + This routine integrates the Fokker Planck equation under a Laplace + (Gaussian) approximation to the evolving density over states. It uses the + Hessian at the current point in state space to approximate the (inverse) + covariance and assumes an initial density with a high precision. This + application involves some housekeeping because the parameters of the flow + pertain to a first-order approximation to the coefficients of a Helmholtz + decomposition (with the surprisal specified in terms of kernels), whereas + the Gaussian approximation requires a second-order polynomial expansion + (i.e., K = 3). + __________________________________________________________________________ + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_NESS_forecast.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("spm_NESS_forecast", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/spm_NESS_forecasting.py b/spm/__toolbox/__DEM/spm_NESS_forecasting.py new file mode 100644 index 00000000..719cda7f --- /dev/null +++ b/spm/__toolbox/__DEM/spm_NESS_forecasting.py @@ -0,0 +1,35 @@ +from spm._runtime import Runtime + + +def spm_NESS_forecasting(*args, **kwargs): + r""" + Generates paths into the future over size(DEM.U,2) time points + FORMAT [Ey,Cy,Vy,pY] = spm_NESS_forecasting(DEM) + -------------------------------------------------------------------------- + DEM - inverted DEM structure (with future causes DEM.U) + DEM.Y - past responses + DEM.U - future casues + + Ey - posterior expectation + Cy - posterior covariances + Vy - posterior covariances + + pY(:,:,i) - i-th path + + This routine takes a DEM structure that has been inverted given some data + Y and generates trajectories into the future over nT time points. The + sample density is then recorded in terms of the first Ey and second order + Cy moments. The ensuing trajectories are plotted; along with the + preceding timeseries data (and posteriors over latent states). + __________________________________________________________________________ + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_NESS_forecasting.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("spm_NESS_forecasting", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/spm_NESS_forecastness.py b/spm/__toolbox/__DEM/spm_NESS_forecastness.py new file mode 100644 index 00000000..9e0da352 --- /dev/null +++ b/spm/__toolbox/__DEM/spm_NESS_forecastness.py @@ -0,0 +1,35 @@ +from spm._runtime import Runtime + + +def spm_NESS_forecastness(*args, **kwargs): + r""" + Analytic predictive density under the Laplace assumption + FORMAT [Ey,Cy,Vy] = spm_NESS_forecastness(DEM) + -------------------------------------------------------------------------- + DEM - inverted DEM structure + + Ey - posterior expectation + Cy - posterior covariances + Vy - posterior covariances + + This routine integrates the Fokker Planck equation under a Laplace + (Gaussian) approximation to the evolving density over states. It uses the + Hessian at the current point in state space to approximate the (inverse) + covariance and assumes an initial density with a high precision. This + application involves some housekeeping because the parameters of the flow + pertain to a first-order approximation to the coefficients of a Helmholtz + decomposition (with the surprisal specified in terms of kernels), whereas + the Gaussian approximation requires a second-order polynomial expansion + (i.e., K = 3). + __________________________________________________________________________ + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_NESS_forecastness.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("spm_NESS_forecastness", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/spm_O2rgb.py b/spm/__toolbox/__DEM/spm_O2rgb.py new file mode 100644 index 00000000..0b9ef35a --- /dev/null +++ b/spm/__toolbox/__DEM/spm_O2rgb.py @@ -0,0 +1,29 @@ +from spm._runtime import Runtime + + +def spm_O2rgb(*args, **kwargs): + r""" + O to RGB image format + FORMAT I = spm_O2rgb(O,RGB) + + Converts discrete (probabilistic) image into an RGB format for image + display. + + This routine generates an image[s] using spatiotemporal basis functions + weighted by expected singular variates; where the requisite expectations + are evaluated over discrete values, given a multinomial distribution over + those values. (If multiple images are supplied over the first is shown) + + see: spm_rgb2O + __________________________________________________________________________ + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_O2rgb.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("spm_O2rgb", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/spm_O2wav.py b/spm/__toolbox/__DEM/spm_O2wav.py new file mode 100644 index 00000000..590b6364 --- /dev/null +++ b/spm/__toolbox/__DEM/spm_O2wav.py @@ -0,0 +1,30 @@ +from spm._runtime import Runtime + + +def spm_O2wav(*args, **kwargs): + r""" + O to WAV image format + FORMAT wav = spm_O2wav(O,WAV) + + Converts discrete (probabilistic) image into an WAV format for sonogram + [dis]play. + + This routine generates an image using spatiotemporal basis functions + weighted by expected singular variance; where the requisite expectations + are evaluated over discrete values, given a multinomial distribution over + those values. This routine is specialised for one-dimensional timeseries; + e.g., time frequency or sonogram representation of audio files. + + see also: spm_wav2O and spm_O2rgb + __________________________________________________________________________ + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_O2wav.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("spm_O2wav", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/spm_Q2mdp.py b/spm/__toolbox/__DEM/spm_Q2mdp.py new file mode 100644 index 00000000..6bba2ba5 --- /dev/null +++ b/spm/__toolbox/__DEM/spm_Q2mdp.py @@ -0,0 +1,26 @@ +from spm._runtime import Runtime + + +def spm_Q2mdp(*args, **kwargs): + r""" + Dimensions (shape) of MDP based on generative model (a,b,...) + FORMAT [mdp] = spm_Q2mdp(Q,n) + s: states + u: paths + X: states (posterior) + Y: outcomes (predictive posterior) + O: outcomes (likelihood) + o: outcomes + j: outcomes (parents) + __________________________________________________________________________ + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_Q2mdp.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("spm_Q2mdp", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/spm_RDP_MI.py b/spm/__toolbox/__DEM/spm_RDP_MI.py new file mode 100644 index 00000000..294e105e --- /dev/null +++ b/spm/__toolbox/__DEM/spm_RDP_MI.py @@ -0,0 +1,31 @@ +from spm._runtime import Runtime + + +def spm_RDP_MI(*args, **kwargs): + r""" + BMR of superordinate states based upon predicted outcomes + FORMAT [MDP] = spm_RDP_MI(MDP,o) + MDP - cell array of MDP structures + o - order of future predictions [default: 2] + + This routine implements a Bayesian model reduction in which the latent + (generalised) states that the highest level of the model are merged in a + way that entails a minimum loss of mutual information (i.e., cross + entropy or expected free energy) between the states of the first stream + and predicted outcomes — now and in the future — of subsequent (trailing) + streams. These training streams would usually include generalised actions + (i.e., policies) and constraints reported by rewarding and costly + outcomes at the lowest level. + __________________________________________________________________________ + Copyright (C) 2005 Wellcome Trust Centre for Neuroimaging + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_RDP_MI.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("spm_RDP_MI", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/spm_RDP_O.py b/spm/__toolbox/__DEM/spm_RDP_O.py new file mode 100644 index 00000000..de3cbc38 --- /dev/null +++ b/spm/__toolbox/__DEM/spm_RDP_O.py @@ -0,0 +1,22 @@ +from spm._runtime import Runtime + + +def spm_RDP_O(*args, **kwargs): + r""" + places outcomes in a recursive model + FORMAT RDP = spm_RDP_O(RDP,O,[L]) + RDP - recursive MDP + O - outcomes + L - level [default: 1] + __________________________________________________________________________ + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_RDP_O.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("spm_RDP_O", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/spm_RDP_basin.py b/spm/__toolbox/__DEM/spm_RDP_basin.py new file mode 100644 index 00000000..fcf553c7 --- /dev/null +++ b/spm/__toolbox/__DEM/spm_RDP_basin.py @@ -0,0 +1,38 @@ +from spm._runtime import Runtime + + +def spm_RDP_basin(*args, **kwargs): + r""" + BMR of superordinate states based upon predicted outcomes + FORMAT [MDP,d,o,h,c] = spm_RDP_basin(MDP,S,chi,L) + MDP - cell array of MDP structures + S - list of modality streams; e.g., [2,3] + chi - log prior for each modality; e.g., [8,-8] + L - length of paths to and from goal states; e.g., [32,1] + + MDP - reduced MDP + d - vector indicating whether deep states have children [true] + o - vector indicating whether deep states have parents [true] + h - list of goal states + c - list of cost states + + This routine implements a Bayesian model reduction in which the latent + (generalised) states at the highest level of the model are retained only + if they lie in the basins of attraction of generalised (deep) states + specified by intended states (i.e., indexed by hid) precluding + transitions through costly states (i.e., indexed by cid). + + see: https://en.wikipedia.org/wiki/Absorbing_Markov_chain + __________________________________________________________________________ + Copyright (C) Karl Friston + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_RDP_basin.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("spm_RDP_basin", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/spm_RDP_compress.py b/spm/__toolbox/__DEM/spm_RDP_compress.py new file mode 100644 index 00000000..9289f4b1 --- /dev/null +++ b/spm/__toolbox/__DEM/spm_RDP_compress.py @@ -0,0 +1,32 @@ +from spm._runtime import Runtime + + +def spm_RDP_compress(*args, **kwargs): + r""" + BMR of superordinate states based upon predicted outcomes + FORMAT [MDP] = spm_RDP_compress(MDP,R,[OPT]) + MDP - cell array of MDP structures + R - reduction operator + OPT - flag to reduce all levels + + This routine implements a Bayesian model reduction in which the latent + (generalised) states that the highest level of the model are merged in a + way that entails a minimum loss of mutual information (i.e., cross + entropy or expected free energy) between the states of the first stream + and predicted outcomes — now and in the future — of subsequent (trailing) + streams. These training streams would usually include generalised actions + (i.e., policies) and constraints reported by rewarding and costly + outcomes at the lowest level. + __________________________________________________________________________ + Copyright (C) 2005 Wellcome Trust Centre for Neuroimaging + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_RDP_compress.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("spm_RDP_compress", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/spm_RDP_ness.py b/spm/__toolbox/__DEM/spm_RDP_ness.py new file mode 100644 index 00000000..ded8a673 --- /dev/null +++ b/spm/__toolbox/__DEM/spm_RDP_ness.py @@ -0,0 +1,36 @@ +from spm._runtime import Runtime + + +def spm_RDP_ness(*args, **kwargs): + r""" + BMR using eigen-decomposition of allowable transitions + FORMAT [MDP] = spm_RDP_ness(MDP,S,chi) + MDP - hierarchal RDP + S - list of modality streams; e.g., [2, 3] + chi - log prior for each modality; e.g., [8,-8] + + This routine uses the eigen-decomposition of allowable transitions (i.e., + flow among states) to identify steady-state distributions (i.e., the + principal eigenvector with a real eigenvalue of unity). These + nonequilibrium steady-state (NESS) distributions correspond to the + attracting set; i.e., a pullback attractor. + + The derivative of expected cost is then evaluated with respect to + reducing the transition probabilities to each state in turn (provided + it's removal does not render another state childless). If reducing the + probability of visiting a generalised state increases expected goals + (i.e., expected occupancy of goal states under the nonequilibrium + steady-state density), it is removed. + __________________________________________________________________________ + Copyright (C) 2005 Wellcome Trust Centre for Neuroimaging + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_RDP_ness.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("spm_RDP_ness", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/spm_RDP_params.py b/spm/__toolbox/__DEM/spm_RDP_params.py new file mode 100644 index 00000000..b4ae2d25 --- /dev/null +++ b/spm/__toolbox/__DEM/spm_RDP_params.py @@ -0,0 +1,20 @@ +from spm._runtime import Runtime + + +def spm_RDP_params(*args, **kwargs): + r""" + Show prior transition parameters for a recursive or renormalising model + FORMAT spm_RDP_params(MDP) + MDP - MDP structure + __________________________________________________________________________ + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_RDP_params.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("spm_RDP_params", *args, **kwargs, nargout=0) diff --git a/spm/__toolbox/__DEM/spm_RDP_prune.py b/spm/__toolbox/__DEM/spm_RDP_prune.py new file mode 100644 index 00000000..f2ef92ec --- /dev/null +++ b/spm/__toolbox/__DEM/spm_RDP_prune.py @@ -0,0 +1,30 @@ +from spm._runtime import Runtime + + +def spm_RDP_prune(*args, **kwargs): + r""" + BMR of superordinate states based upon predicted outcomes + FORMAT [MDP,j] = spm_RDP_prune(MDP) + MDP - cell array of MDP structures + + MDP - reduced MDP + j - list of deep states with children + + This routine prunes the leading factor of a renormalising generative + model by removing all childless states recursively, until all states are + transient (or there are no states). + + see: https://en.wikipedia.org/wiki/Absorbing_Markov_chain + __________________________________________________________________________ + Copyright (C) Karl Friston + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_RDP_prune.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("spm_RDP_prune", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/spm_RDP_radius.py b/spm/__toolbox/__DEM/spm_RDP_radius.py new file mode 100644 index 00000000..cc6a0d50 --- /dev/null +++ b/spm/__toolbox/__DEM/spm_RDP_radius.py @@ -0,0 +1,40 @@ +from spm._runtime import Runtime + + +def spm_RDP_radius(*args, **kwargs): + r""" + BMR of superordinate states based upon predicted outcomes + FORMAT [R,g,f,r] = spm_RDP_radius(MDP,h,c) + MDP - cell array of MDP structures + h - list of goal states + c - list of cost states + + R - Ajaceny matrix among h + g - goal states with children + f - goal states on attractor + r - radius + + This routine returns the radius of each intended (goal) state for the + leading factor of a renormalising generative model. The radius is defined + as the maximum number of transitions between an orphan state (with no + parents) and the intended state. + + In addition, it computes the adjacency among goal states in terms of + whether one goal state can be accessed from another. This allows one to + identify a subset of goal states that constitute an orbit (c.f., pullback + attractor). + + see: https://en.wikipedia.org/wiki/Absorbing_Markov_chain + __________________________________________________________________________ + Copyright (C) Karl Friston + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_RDP_radius.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("spm_RDP_radius", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/spm_RDP_reduce.py b/spm/__toolbox/__DEM/spm_RDP_reduce.py new file mode 100644 index 00000000..c82c933a --- /dev/null +++ b/spm/__toolbox/__DEM/spm_RDP_reduce.py @@ -0,0 +1,33 @@ +from spm._runtime import Runtime + + +def spm_RDP_reduce(*args, **kwargs): + r""" + places parameters in a recursive model + FORMAT RDP = spm_RDP_reduce(MDP,BMR) + MDP - nested MDP: full + BMR - Bayesian model reduction {'SIMPLE','MI','HARD','SOFT'} + param - {'a','A',...} + + This routine applies various forms of Bayesian model reduction to the + Dirichlet parameters or mappings specified in param (as strings). The + simple or mutual information options will apply Bayesian model reduction + based upon comparing models with and without a particular parameter + (simple) or based upon models that increase mutual information (i.e., + decrease expected free energy). The hard and soft options simply + threshold low probability entries; either using a hard threshold or by + increasing the precision of the specified probabilistic mapping. Note + that a soft option will convert Dirichlet parameters into a multinomial + distribution (that may require rescaling if necessary). + __________________________________________________________________________ + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_RDP_reduce.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("spm_RDP_reduce", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/spm_RDP_sort.py b/spm/__toolbox/__DEM/spm_RDP_sort.py new file mode 100644 index 00000000..6a68bf0f --- /dev/null +++ b/spm/__toolbox/__DEM/spm_RDP_sort.py @@ -0,0 +1,35 @@ +from spm._runtime import Runtime + + +def spm_RDP_sort(*args, **kwargs): + r""" + BMR using eigen-decomposition of allowable transitions + FORMAT [MDP,j] = spm_RDP_sort(MDP,['sort']) + MDP - hierarchal RDP + sort - optional flag to supress pruning + j - sorted indices (at highest level) + + This routine uses the eigen-decomposition of allowable transitions (i.e., + flow among states) to identify steady-state distributions (i.e., the + principal eigenvector with a real eigenvalue of unity). These + nonequilibrium steady-state (NESS) distributions correspond to the + attracting set; i.e., a pullback attractor. + + Generalised states sorted according to the nonequilibrium steady-state + probability, which corresponds to the probability current through these + (generalised) states – because a path can never follow itself (and + therefore each generalised state will be vacated with probability one at + each time step). + __________________________________________________________________________ + Copyright (C) 2005 Wellcome Trust Centre for Neuroimaging + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_RDP_sort.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("spm_RDP_sort", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/spm_RDP_update.py b/spm/__toolbox/__DEM/spm_RDP_update.py new file mode 100644 index 00000000..cf94cb96 --- /dev/null +++ b/spm/__toolbox/__DEM/spm_RDP_update.py @@ -0,0 +1,22 @@ +from spm._runtime import Runtime + + +def spm_RDP_update(*args, **kwargs): + r""" + places parameters in a recursive model + FORMAT RDP = spm_RDP_update(MDP,PDP,[BMR]) + MDP - nested MDP: prior + PDP - nested MDP: posterior (with PDP.Q) + BMR - Bayesian model reduction {'SIMPLE','MI'} [default: none] + __________________________________________________________________________ + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_RDP_update.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("spm_RDP_update", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/spm_SARS_ci.py b/spm/__toolbox/__DEM/spm_SARS_ci.py index 1cc88ae3..42277058 100644 --- a/spm/__toolbox/__DEM/spm_SARS_ci.py +++ b/spm/__toolbox/__DEM/spm_SARS_ci.py @@ -2,7 +2,7 @@ def spm_SARS_ci(*args, **kwargs): - """ + r""" Graphics for coronavirus simulations - with confidence intervals FORMAT [S,CS,Y,C,t] = spm_SARS_ci(Ep,Cp,Z,U,M,NPI,age) Ep - posterior expectations @@ -38,9 +38,12 @@ def spm_SARS_ci(*args, **kwargs): Copyright (C) 2020 Wellcome Centre for Human Neuroimaging - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/spm_SARS_ci.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_SARS_ci.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_SARS_ci", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/spm_SARS_gen.py b/spm/__toolbox/__DEM/spm_SARS_gen.py index f782f2e5..c2555c17 100644 --- a/spm/__toolbox/__DEM/spm_SARS_gen.py +++ b/spm/__toolbox/__DEM/spm_SARS_gen.py @@ -2,7 +2,7 @@ def spm_SARS_gen(*args, **kwargs): - """ + r""" Generate predictions and hidden states of a COVID model FORMAT [Y,X,Z,W] = spm_SARS_gen(P,M,U,NPI,age) P - model parameters @@ -88,9 +88,12 @@ def spm_SARS_gen(*args, **kwargs): Copyright (C) 2020 Wellcome Centre for Human Neuroimaging - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/spm_SARS_gen.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_SARS_gen.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_SARS_gen", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/spm_SARS_plot.py b/spm/__toolbox/__DEM/spm_SARS_plot.py index f5e384e5..b6d80aa2 100644 --- a/spm/__toolbox/__DEM/spm_SARS_plot.py +++ b/spm/__toolbox/__DEM/spm_SARS_plot.py @@ -2,7 +2,7 @@ def spm_SARS_plot(*args, **kwargs): - """ + r""" Graphics for coronavirus simulations FORMAT spm_SARS_plot(Y,X,Z,U) Y - expected timeseries (i.e., new depths and cases) @@ -18,9 +18,12 @@ def spm_SARS_plot(*args, **kwargs): Copyright (C) 2020 Wellcome Centre for Human Neuroimaging - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/spm_SARS_plot.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_SARS_plot.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_SARS_plot", *args, **kwargs, nargout=0) diff --git a/spm/__toolbox/__DEM/spm_SARS_priors.py b/spm/__toolbox/__DEM/spm_SARS_priors.py index a7a222a2..6b3fd4f0 100644 --- a/spm/__toolbox/__DEM/spm_SARS_priors.py +++ b/spm/__toolbox/__DEM/spm_SARS_priors.py @@ -2,7 +2,7 @@ def spm_SARS_priors(*args, **kwargs): - """ + r""" Generate prior expectation and covariance log parameters FORMAT [pE,pC,str,rfx] = spm_SARS_priors(nN) @@ -41,9 +41,12 @@ def spm_SARS_priors(*args, **kwargs): Copyright (C) 2020 Wellcome Centre for Human Neuroimaging - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/spm_SARS_priors.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_SARS_priors.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_SARS_priors", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/spm_SARS_priors_B.py b/spm/__toolbox/__DEM/spm_SARS_priors_B.py index a67e8c71..cac62a9c 100644 --- a/spm/__toolbox/__DEM/spm_SARS_priors_B.py +++ b/spm/__toolbox/__DEM/spm_SARS_priors_B.py @@ -2,7 +2,7 @@ def spm_SARS_priors_B(*args, **kwargs): - """ + r""" Generate prior expectation and covariance log parameters (bound version) FORMAT [pE,pC,str] = spm_SARS_priors_B(nN) @@ -41,9 +41,12 @@ def spm_SARS_priors_B(*args, **kwargs): Copyright (C) 2020 Wellcome Centre for Human Neuroimaging - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/spm_SARS_priors_B.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_SARS_priors_B.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_SARS_priors_B", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/spm_SCK.py b/spm/__toolbox/__DEM/spm_SCK.py index e1d4d0d6..d79e5ae6 100644 --- a/spm/__toolbox/__DEM/spm_SCK.py +++ b/spm/__toolbox/__DEM/spm_SCK.py @@ -2,7 +2,7 @@ def spm_SCK(*args, **kwargs): - """ + r""" FORMAT SCKS = spm_SCK(SCKS) __________________________________________________________________________ Square-root Cubature Kalman Filters [2] & Square-root Rauch-Tang-Striebel @@ -90,9 +90,12 @@ def spm_SCK(*args, **kwargs): Copyright (C) - Martin Havlicek - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/spm_SCK.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_SCK.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_SCK", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/spm_SHC_fx.py b/spm/__toolbox/__DEM/spm_SHC_fx.py index 5c4edba1..308e1351 100644 --- a/spm/__toolbox/__DEM/spm_SHC_fx.py +++ b/spm/__toolbox/__DEM/spm_SHC_fx.py @@ -2,7 +2,7 @@ def spm_SHC_fx(*args, **kwargs): - """ + r""" equations of motion for Lotka-Volterra dynamics FORMAT [f] = spm_SHC_fx(x,v,P) @@ -20,9 +20,12 @@ def spm_SHC_fx(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/spm_SHC_fx.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_SHC_fx.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_SHC_fx", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/spm_VBX.py b/spm/__toolbox/__DEM/spm_VBX.py new file mode 100644 index 00000000..2a111d54 --- /dev/null +++ b/spm/__toolbox/__DEM/spm_VBX.py @@ -0,0 +1,38 @@ +from spm._runtime import Runtime + + +def spm_VBX(*args, **kwargs): + r""" + variational Bayes estimate of categorical posterior over factors + FORMAT [Q,F] = spm_VBX(O,P,A,id) + + O{g} - outcome probabilities over each of G modalities + P{f} - (empirical) prior over each of F factors + A{g} - likelihood tensor for modality g + + Q{f} - variational posterior for each of F factors + F - (-ve) variational free energy or ELBO + + This routine is a simple implementation of variational Bayes for discrete + state space models under a mean field approximation, in which latent + states are partitioned into factors (and the distribution over outcomes + is also assumed to be conditionally independent). It takes cell arrays of + outcome probabilities, prior probabilities over factors and a likelihood + tensor parameterising the likelihood of an outcome for any combination of + latent states. This version uses belief propagation, read as: + + Propagation: a non-iterative heuristic but numerically accurate scheme + that replaces the variational density over hidden factors with the + marginal over the exact posterior + __________________________________________________________________________ + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_VBX.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("spm_VBX", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/spm_VB_XXX.py b/spm/__toolbox/__DEM/spm_VB_XXX.py new file mode 100644 index 00000000..40a40591 --- /dev/null +++ b/spm/__toolbox/__DEM/spm_VB_XXX.py @@ -0,0 +1,25 @@ +from spm._runtime import Runtime + + +def spm_VB_XXX(*args, **kwargs): + r""" + A fast form of MDP inversion + FORMAT pdp = spm_VB_XXX(pdp) + pdp - likelihood (A) and transition (B) tensors for this sequence (O) + + This subroutine is a stripped down version of the MDP inversion schemes + that exploits situations in which each likelihood mapping is a matrix; + i.e., the latent states are conditionally independent because each + likelihood has only one parent (and there are no priors). + __________________________________________________________________________ + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_VB_XXX.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("spm_VB_XXX", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/spm_check_edges.py b/spm/__toolbox/__DEM/spm_check_edges.py new file mode 100644 index 00000000..04cb777c --- /dev/null +++ b/spm/__toolbox/__DEM/spm_check_edges.py @@ -0,0 +1,39 @@ +from spm._runtime import Runtime + + +def spm_check_edges(*args, **kwargs): + r""" + Converts a recursive MDP into a cell array of MDPs + FORMAT MDP = spm_check_edges(RDP) + + RDP - Deep (recursive) MDP (i.e., RDP.MDP.MDP...) + RDP.L - level or depth + RDP.T - time steps + + MDP{n} - Cell array of MDPs + MDP{n}.A - likelihood tensors + MDP{n}.B - transition tensors (logical) + MDP{n}.id.A - cell array of parents of A factors at the same level + MDP{n}.id.B - cell array of parents of B factors at the same level + MDP{n}.id.C - cell array of parents of C priors at the same level + MDP{n}.id.D - cell array of parents of initial state at next level + MDP{n}.id.E - cell array of parents of initial paths at next level + + This auxiliary routine takes a single MDP where each subordinate MDP is a + field of the superordinate MDP and creates a cell array of hierarchically + arranged MDP’s. The vertical dependencies are encoded in the cell arrays + of parents at each level of the hierarchy, where the outcomes of one + level are the parents of the initial states and paths of the lower level + (encoded probabilistically in the vectors D and E of the lower level). + __________________________________________________________________________ + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_check_edges.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("spm_check_edges", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/spm_clear.py b/spm/__toolbox/__DEM/spm_clear.py new file mode 100644 index 00000000..156ccb13 --- /dev/null +++ b/spm/__toolbox/__DEM/spm_clear.py @@ -0,0 +1,18 @@ +from spm._runtime import Runtime + + +def spm_clear(*args, **kwargs): + r""" + clears and closes + __________________________________________________________________________ + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_clear.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("spm_clear", *args, **kwargs, nargout=0) diff --git a/spm/__toolbox/__DEM/spm_cornsweet.py b/spm/__toolbox/__DEM/spm_cornsweet.py index 8d25bd39..b1eee2be 100644 --- a/spm/__toolbox/__DEM/spm_cornsweet.py +++ b/spm/__toolbox/__DEM/spm_cornsweet.py @@ -2,7 +2,7 @@ def spm_cornsweet(*args, **kwargs): - """ + r""" generative model for psychophysical responses FORMAT [y] = spm_cornsweet(P,M,U) P - model parameters @@ -13,9 +13,12 @@ def spm_cornsweet(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/spm_cornsweet.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_cornsweet.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_cornsweet", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/spm_cost_SHC_fx.py b/spm/__toolbox/__DEM/spm_cost_SHC_fx.py index 122af84c..e18a0aeb 100644 --- a/spm/__toolbox/__DEM/spm_cost_SHC_fx.py +++ b/spm/__toolbox/__DEM/spm_cost_SHC_fx.py @@ -2,7 +2,7 @@ def spm_cost_SHC_fx(*args, **kwargs): - """ + r""" equations of motion for foraging problem using SHCs problem FORMAT [f] = spm_cost_SHC_fx(x,v,P) @@ -16,9 +16,12 @@ def spm_cost_SHC_fx(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/spm_cost_SHC_fx.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_cost_SHC_fx.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_cost_SHC_fx", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/spm_cost_SHC_fxa.py b/spm/__toolbox/__DEM/spm_cost_SHC_fxa.py index 74ae1bc3..92b532cd 100644 --- a/spm/__toolbox/__DEM/spm_cost_SHC_fxa.py +++ b/spm/__toolbox/__DEM/spm_cost_SHC_fxa.py @@ -2,7 +2,7 @@ def spm_cost_SHC_fxa(*args, **kwargs): - """ + r""" equations of motion for a foraging problem FORMAT [f] = spm_cost_SHC_fxa(x,v,a,P) @@ -20,9 +20,12 @@ def spm_cost_SHC_fxa(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/spm_cost_SHC_fxa.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_cost_SHC_fxa.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_cost_SHC_fxa", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/spm_cost_SHC_path.py b/spm/__toolbox/__DEM/spm_cost_SHC_path.py index 4fd7538d..e9118450 100644 --- a/spm/__toolbox/__DEM/spm_cost_SHC_path.py +++ b/spm/__toolbox/__DEM/spm_cost_SHC_path.py @@ -2,7 +2,7 @@ def spm_cost_SHC_path(*args, **kwargs): - """ + r""" plots path for cost_SHC demo's FORMAT spm_cost_SHC_path(qU,A) @@ -12,9 +12,12 @@ def spm_cost_SHC_path(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/spm_cost_SHC_path.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_cost_SHC_path.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_cost_SHC_path", *args, **kwargs, nargout=0) diff --git a/spm/__toolbox/__DEM/spm_cost_fx.py b/spm/__toolbox/__DEM/spm_cost_fx.py index 2a153e80..32d82c62 100644 --- a/spm/__toolbox/__DEM/spm_cost_fx.py +++ b/spm/__toolbox/__DEM/spm_cost_fx.py @@ -2,7 +2,7 @@ def spm_cost_fx(*args, **kwargs): - """ + r""" equations of motion for foragaing problem problem FORMAT [f] = spm_cost_fx(x,v,P) @@ -18,9 +18,12 @@ def spm_cost_fx(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/spm_cost_fx.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_cost_fx.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_cost_fx", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/spm_cost_fxa.py b/spm/__toolbox/__DEM/spm_cost_fxa.py index 5bca0773..28e5d790 100644 --- a/spm/__toolbox/__DEM/spm_cost_fxa.py +++ b/spm/__toolbox/__DEM/spm_cost_fxa.py @@ -2,7 +2,7 @@ def spm_cost_fxa(*args, **kwargs): - """ + r""" equations of motion for a foraging problem problem FORMAT [f] = spm_cost_fxa(x,v,a,P) @@ -16,9 +16,12 @@ def spm_cost_fxa(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/spm_cost_fxa.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_cost_fxa.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_cost_fxa", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/spm_daisy_chain.py b/spm/__toolbox/__DEM/spm_daisy_chain.py new file mode 100644 index 00000000..cfaee693 --- /dev/null +++ b/spm/__toolbox/__DEM/spm_daisy_chain.py @@ -0,0 +1,35 @@ +from spm._runtime import Runtime + + +def spm_daisy_chain(*args, **kwargs): + r""" + Selctive structure learning of a hierarchical POMDP + FORMAT MDP = spm_daisy_chain(R,S,MDP,GDP) + R - cell array of outcomes + S - cell array (attracting set) of output sequences + MDP - cell array of (renormalising) models + + MDP - new MDP + O - cell array of new paths in MDP + + This routine uses fast structure learning to append new trajectories to a + recursive or renormalising generative model specified as a cell array of + Markov decision processes. It augments past (generalised) states and + transitions with new states and transitions given new outcomes (R), under + the constraint that each event ends on the attracting set (S) + + See: spm_fast_structure_learning.m + spm_faster_structure_learning.m + __________________________________________________________________________ + Copyright (C) 2005 Wellcome Trust Centre for Neuroimaging + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_daisy_chain.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("spm_daisy_chain", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/spm_dem_ERP.py b/spm/__toolbox/__DEM/spm_dem_ERP.py index 8d480f8f..f944647b 100644 --- a/spm/__toolbox/__DEM/spm_dem_ERP.py +++ b/spm/__toolbox/__DEM/spm_dem_ERP.py @@ -2,7 +2,7 @@ def spm_dem_ERP(*args, **kwargs): - """ + r""" simulated electrophysiological response based on conditional estimates FORMAT [R] = spm_dem_ERP(qU,qU,...) qU - conditional estimates of states @@ -16,9 +16,12 @@ def spm_dem_ERP(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/spm_dem_ERP.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_dem_ERP.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_dem_ERP", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/spm_dem_cue_movie.py b/spm/__toolbox/__DEM/spm_dem_cue_movie.py index a02b0d2a..ad27176e 100644 --- a/spm/__toolbox/__DEM/spm_dem_cue_movie.py +++ b/spm/__toolbox/__DEM/spm_dem_cue_movie.py @@ -2,7 +2,7 @@ def spm_dem_cue_movie(*args, **kwargs): - """ + r""" creates a movie of cued pointing FORMAT spm_dem_cue_movie(DEM,q) @@ -11,9 +11,12 @@ def spm_dem_cue_movie(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/spm_dem_cue_movie.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_dem_cue_movie.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_dem_cue_movie", *args, **kwargs, nargout=0) diff --git a/spm/__toolbox/__DEM/spm_dem_initialise.py b/spm/__toolbox/__DEM/spm_dem_initialise.py index bbff4475..86bf336b 100644 --- a/spm/__toolbox/__DEM/spm_dem_initialise.py +++ b/spm/__toolbox/__DEM/spm_dem_initialise.py @@ -2,7 +2,7 @@ def spm_dem_initialise(*args, **kwargs): - """ + r""" Initialises parameter estimates for DEM structures FORMAT [DEM] = spm_dem_initialise(DEM) @@ -13,9 +13,12 @@ def spm_dem_initialise(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/spm_dem_initialise.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_dem_initialise.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_dem_initialise", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/spm_dem_mdp_movie.py b/spm/__toolbox/__DEM/spm_dem_mdp_movie.py index 6b41181f..0f4f68a7 100644 --- a/spm/__toolbox/__DEM/spm_dem_mdp_movie.py +++ b/spm/__toolbox/__DEM/spm_dem_mdp_movie.py @@ -2,7 +2,7 @@ def spm_dem_mdp_movie(*args, **kwargs): - """ + r""" creates a movie of visual search in extrinsic and intrinsic coordinates FORMAT spm_dem_mdp_movie(DEM) @@ -27,9 +27,12 @@ def spm_dem_mdp_movie(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/spm_dem_mdp_movie.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_dem_mdp_movie.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_dem_mdp_movie", *args, **kwargs, nargout=0) diff --git a/spm/__toolbox/__DEM/spm_dem_occlusion_movie.py b/spm/__toolbox/__DEM/spm_dem_occlusion_movie.py index 1a7476a2..dfed04c1 100644 --- a/spm/__toolbox/__DEM/spm_dem_occlusion_movie.py +++ b/spm/__toolbox/__DEM/spm_dem_occlusion_movie.py @@ -2,7 +2,7 @@ def spm_dem_occlusion_movie(*args, **kwargs): - """ + r""" creates a movie of visual pursuit with occlusion FORMAT spm_dem_occlusion_movie(DEM) @@ -24,9 +24,12 @@ def spm_dem_occlusion_movie(*args, **kwargs): -------------------------------------------------------------------------- - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/spm_dem_occlusion_movie.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_dem_occlusion_movie.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_dem_occlusion_movie", *args, **kwargs, nargout=0) diff --git a/spm/__toolbox/__DEM/spm_dem_pursuit_movie.py b/spm/__toolbox/__DEM/spm_dem_pursuit_movie.py index dc405b8c..6f499ec8 100644 --- a/spm/__toolbox/__DEM/spm_dem_pursuit_movie.py +++ b/spm/__toolbox/__DEM/spm_dem_pursuit_movie.py @@ -2,7 +2,7 @@ def spm_dem_pursuit_movie(*args, **kwargs): - """ + r""" creates a movie of visual prusuit in extrinsic and intrinsic coordinates FORMAT spm_dem_pursuit_movie(DEM) @@ -28,9 +28,12 @@ def spm_dem_pursuit_movie(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/spm_dem_pursuit_movie.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_dem_pursuit_movie.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_dem_pursuit_movie", *args, **kwargs, nargout=0) diff --git a/spm/__toolbox/__DEM/spm_dem_reach_movie.py b/spm/__toolbox/__DEM/spm_dem_reach_movie.py index 5905fb33..5453e135 100644 --- a/spm/__toolbox/__DEM/spm_dem_reach_movie.py +++ b/spm/__toolbox/__DEM/spm_dem_reach_movie.py @@ -2,7 +2,7 @@ def spm_dem_reach_movie(*args, **kwargs): - """ + r""" creates a movie of the trajectory of a two-joint arm FORMAT spm_dem_reach_movie(DEM) @@ -10,9 +10,12 @@ def spm_dem_reach_movie(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/spm_dem_reach_movie.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_dem_reach_movie.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_dem_reach_movie", *args, **kwargs, nargout=0) diff --git a/spm/__toolbox/__DEM/spm_dem_reach_plot.py b/spm/__toolbox/__DEM/spm_dem_reach_plot.py index 27f09ee0..7a30e1ce 100644 --- a/spm/__toolbox/__DEM/spm_dem_reach_plot.py +++ b/spm/__toolbox/__DEM/spm_dem_reach_plot.py @@ -2,7 +2,7 @@ def spm_dem_reach_plot(*args, **kwargs): - """ + r""" plots the trajectory of a two-joint arm FORMAT [f]= spm_dem_reach_plot(DEM) @@ -10,9 +10,12 @@ def spm_dem_reach_plot(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/spm_dem_reach_plot.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_dem_reach_plot.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_dem_reach_plot", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/spm_dem_reach_x2J.py b/spm/__toolbox/__DEM/spm_dem_reach_x2J.py index 3c971eb4..2f469c9f 100644 --- a/spm/__toolbox/__DEM/spm_dem_reach_x2J.py +++ b/spm/__toolbox/__DEM/spm_dem_reach_x2J.py @@ -2,7 +2,7 @@ def spm_dem_reach_x2J(*args, **kwargs): - """ + r""" returns the joint posititions for a two-joint arm FORMAT [J] = spm_dem_reach_x2J(x) @@ -16,9 +16,12 @@ def spm_dem_reach_x2J(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/spm_dem_reach_x2J.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_dem_reach_x2J.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_dem_reach_x2J", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/spm_dem_search_movie.py b/spm/__toolbox/__DEM/spm_dem_search_movie.py index 38e8e99d..993dc1b0 100644 --- a/spm/__toolbox/__DEM/spm_dem_search_movie.py +++ b/spm/__toolbox/__DEM/spm_dem_search_movie.py @@ -2,7 +2,7 @@ def spm_dem_search_movie(*args, **kwargs): - """ + r""" creates a movie of visual search in extrinsic and intrinsic coordinates FORMAT spm_dem_search_movie(DEM) @@ -28,9 +28,12 @@ def spm_dem_search_movie(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/spm_dem_search_movie.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_dem_search_movie.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_dem_search_movie", *args, **kwargs, nargout=0) diff --git a/spm/__toolbox/__DEM/spm_dem_search_plot.py b/spm/__toolbox/__DEM/spm_dem_search_plot.py index dd4a9318..ddb54846 100644 --- a/spm/__toolbox/__DEM/spm_dem_search_plot.py +++ b/spm/__toolbox/__DEM/spm_dem_search_plot.py @@ -2,7 +2,7 @@ def spm_dem_search_plot(*args, **kwargs): - """ + r""" plots visual search in extrinsic and intrinsic coordinates FORMAT spm_dem_search_plot(DEM) @@ -28,9 +28,12 @@ def spm_dem_search_plot(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/spm_dem_search_plot.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_dem_search_plot.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_dem_search_plot", *args, **kwargs, nargout=0) diff --git a/spm/__toolbox/__DEM/spm_dem_search_trajectory.py b/spm/__toolbox/__DEM/spm_dem_search_trajectory.py index e83be7ec..e8c77b8e 100644 --- a/spm/__toolbox/__DEM/spm_dem_search_trajectory.py +++ b/spm/__toolbox/__DEM/spm_dem_search_trajectory.py @@ -2,7 +2,7 @@ def spm_dem_search_trajectory(*args, **kwargs): - """ + r""" plots visual search in extrinsic and intrinsic coordinates FORMAT spm_dem_search_trajectory(DEM) @@ -28,9 +28,12 @@ def spm_dem_search_trajectory(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/spm_dem_search_trajectory.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_dem_search_trajectory.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_dem_search_trajectory", *args, **kwargs, nargout=0) diff --git a/spm/__toolbox/__DEM/spm_dem_set_movie.py b/spm/__toolbox/__DEM/spm_dem_set_movie.py index 70885b4b..334fff6d 100644 --- a/spm/__toolbox/__DEM/spm_dem_set_movie.py +++ b/spm/__toolbox/__DEM/spm_dem_set_movie.py @@ -2,7 +2,7 @@ def spm_dem_set_movie(*args, **kwargs): - """ + r""" creates a movie of cued pointing FORMAT spm_dem_cue_movie(DEM,q) @@ -11,9 +11,12 @@ def spm_dem_set_movie(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/spm_dem_set_movie.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_dem_set_movie.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_dem_cue_movie", *args, **kwargs, nargout=0) diff --git a/spm/__toolbox/__DEM/spm_diff_all.py b/spm/__toolbox/__DEM/spm_diff_all.py index f40629cb..b16d70b6 100644 --- a/spm/__toolbox/__DEM/spm_diff_all.py +++ b/spm/__toolbox/__DEM/spm_diff_all.py @@ -2,7 +2,7 @@ def spm_diff_all(*args, **kwargs): - """ + r""" matrix high-order numerical differentiation FORMAT [dfdx] = spm_diff(f,x,...,n) FORMAT [dfdx] = spm_diff(f,x,...,n,V) @@ -27,9 +27,12 @@ def spm_diff_all(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/spm_diff_all.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_diff_all.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_diff_all", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/spm_dir_disentangle.py b/spm/__toolbox/__DEM/spm_dir_disentangle.py new file mode 100644 index 00000000..68aa5cc1 --- /dev/null +++ b/spm/__toolbox/__DEM/spm_dir_disentangle.py @@ -0,0 +1,30 @@ +from spm._runtime import Runtime + + +def spm_dir_disentangle(*args, **kwargs): + r""" + information geometry of a likelihood mapping + FORMAT [e,v,c] = spm_dir_disentangle(a,n) + a{g} - Dirichlet tensor for modality g + n - nummber of (first) latent states to plot + + This routine illustrates the information geometry inherent in a + likelihood mapping. It computes a similarity matrix based upon an + approximation to the information length between columns of a likelihood + tensor (as approximated by the KL divergence of the implicit categorical + distributions). It then plots a certain number of latent states in the + ensuing eigenspace; along with the eiegnspectrum. + + seee also spm_information_distance.m + __________________________________________________________________________ + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_dir_disentangle.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("spm_dir_disentangle", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/spm_dir_orbits.py b/spm/__toolbox/__DEM/spm_dir_orbits.py new file mode 100644 index 00000000..4647b8a4 --- /dev/null +++ b/spm/__toolbox/__DEM/spm_dir_orbits.py @@ -0,0 +1,32 @@ +from spm._runtime import Runtime + + +def spm_dir_orbits(*args, **kwargs): + r""" + information geometry of a likelihood mapping + FORMAT [u] = spm_dir_orbits(b,hid,N) + b - transition tensor + hid - states to highlight + P - (Ns x Nt) sequence of (probabilistic) states + N - rotate to show first N (generalised) states + + This routine plots latent states in the first two principal eigenvectors + of (roughly) the graph Laplacian of transitions among states. The + transitions among states are supplied in terms of a transition tensor + (that is summed over the third dimension or perhaps). The states are then + connected with arrows denoting transitions over time. In effect, this is + a visual representation of orbits and paths in terms of follows in latent + state space. + + __________________________________________________________________________ + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_dir_orbits.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("spm_dir_orbits", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/spm_dir_orbits3.py b/spm/__toolbox/__DEM/spm_dir_orbits3.py new file mode 100644 index 00000000..62eb28c8 --- /dev/null +++ b/spm/__toolbox/__DEM/spm_dir_orbits3.py @@ -0,0 +1,29 @@ +from spm._runtime import Runtime + + +def spm_dir_orbits3(*args, **kwargs): + r""" + information geometry of a likelihood mapping + FORMAT [u] = spm_dir_orbits3(b,hid) + b - transition tensor + hid - states to highlight + + This routine plots latent states in the first three principal + eigenvectors of (roughly) the graph Laplacian of transitions among + states. The transitions among states are supplied in terms of a + transition tensor (that is summed over the third dimension or perhaps). + This is a visual representation of orbits and paths in terms of follows + in latent state space. + + __________________________________________________________________________ + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_dir_orbits3.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("spm_dir_orbits3", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/spm_dir_reduce.py b/spm/__toolbox/__DEM/spm_dir_reduce.py new file mode 100644 index 00000000..6b6edafa --- /dev/null +++ b/spm/__toolbox/__DEM/spm_dir_reduce.py @@ -0,0 +1,32 @@ +from spm._runtime import Runtime + + +def spm_dir_reduce(*args, **kwargs): + r""" + Compression of a (Dirichlet) probability tensor + FORMAT [R] = spm_dir_reduce(a) + a - [cell array] of likelhoods + R - reduction matrix: a*R = reduced Dirichlet likelihood mapping + + This routine returns a reduction matrix (R) that compresses a joint + probability distribution parameterised with Dirichlet counts. This can be + regarded as a simple and efficient kind of Bayesian model reduction in + which the mutual information or expected free energy is preserved (i.e., + with minimal information loss). The reduction effectively combines + columns of the implicit likelihood that are similar — in the sense that + there information distance is less than one natural unit [more precisely, + sqrt(2)]. This uses an efficient unique operator, based upon thresholded + information distance. + __________________________________________________________________________ + Copyright (C) 2005 Wellcome Trust Centre for Neuroimaging + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_dir_reduce.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("spm_dir_reduce", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/spm_edges.py b/spm/__toolbox/__DEM/spm_edges.py new file mode 100644 index 00000000..8d25be0c --- /dev/null +++ b/spm/__toolbox/__DEM/spm_edges.py @@ -0,0 +1,54 @@ +from spm._runtime import Runtime + + +def spm_edges(*args, **kwargs): + r""" + Returns parents and children of MDP likelihood mapping + FORMAT [j,i,q] = spm_edges(id,g,Q) + + id - identifier or index structure + id.A{g} State-independent domain + + id.ff - List of domain factors + id.fg - List of parents for A{g} under each combination of domains + id.gg - List of children for A{g} under each combination of domains + + g - index of likelihood mapping A{g} + Q - posterior over domain factors (id.ff) + + j{} - parents of A{g}: hidden factors + i{} - children of A{g}: outcome modalities + q - posterior over parents and children + + Returns the domain [codomains] of factors [modalities] for this + likelihood mapping. These [co] domains may or may not be state-dependent. + If they are state-dependent, the posteriors are returned. + __________________________________________________________________________ + + id.A{g} - Indices of parents of A{g} + id.D{f} - Indices of parents of initial states of factor B{f} + id.E{f} - Indices of parents of paths of factor B{f} + + id.ff - List of domain factors + id.fg - List of parents of A{g} under each combination of domains + id.gg - List of children of A{g} under each combination of domains + + id.g{k} - Partition of selected (i.e., attended) children of A{g} + id.ge - Indices of outcomes subtending expected free energy + + id.fu - List of factors with contolled paths + id.fp - List of factors with inferred paths + + see: spm_parents.m + __________________________________________________________________________ + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_edges.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("spm_edges", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/spm_fast_structure_learning.py b/spm/__toolbox/__DEM/spm_fast_structure_learning.py new file mode 100644 index 00000000..784f5b53 --- /dev/null +++ b/spm/__toolbox/__DEM/spm_fast_structure_learning.py @@ -0,0 +1,31 @@ +from spm._runtime import Runtime + + +def spm_fast_structure_learning(*args, **kwargs): + r""" + RG structure learning of a hierarchical POMDP + FORMAT [MDP,RG,S] = spm_fast_structure_learning(O,S) + O{N,T} - probabilitic exemplars of paths (cell aray) + S - size of pixel array (2 or 3-vector) + + dx - space scaling [default: 2 or 3] + dt - time scaling [default: 2] + + This routine returns a hierarchy of generative models (MDP{n}), given a + sequence of outcomes using RG (renormalization group) operators. + + See: spm_MDP_structure_learning.m + spm_MDP_structure_teaching.m + __________________________________________________________________________ + Copyright (C) 2005 Wellcome Trust Centre for Neuroimaging + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_fast_structure_learning.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("spm_fast_structure_learning", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/spm_faster_structure_learning.py b/spm/__toolbox/__DEM/spm_faster_structure_learning.py new file mode 100644 index 00000000..d8967b12 --- /dev/null +++ b/spm/__toolbox/__DEM/spm_faster_structure_learning.py @@ -0,0 +1,43 @@ +from spm._runtime import Runtime + + +def spm_faster_structure_learning(*args, **kwargs): + r""" + RG structure learning of a hierarchical POMDP + FORMAT [MDP] = spm_faster_structure_learning(O,S,dx,dt) + O{N,T} - probabilitic exemplars of paths (cell aray) + S - array size of streams (number of streams x 4) + S(:,1) - size (x) of group in each stream + S(:,2) - size (y) of group in each stream + S(:,3) - size (z) of group in each stream + S(:,4) - number of outcomes per group in each stream + dx - space scaling [default: 2] + dt - time scaling [default: 2] + + This routine returns a hierarchy of generative models (MDP{n}), given a + sequence of outcomes using RG (renormalization group) operators. Output + modalities are segregated into distinct streams (as specified by the size + of groups: S). The likelihood mappings within each stream maximise + mutual information between successive levels by retaining unique + combinations of outcomes over groups within each stream. These unique + combinations are identified using the information distance between + outcomes at each level. Between stream likelihoods map from the first or + principal stream to subsequent or trailing streams, which will usually be + the consequences of generalised states generated in the principal stream. + + See also: spm_MDP_structure_learning.m + spm_MDP_structure_teaching.m + spm_merge_structure_learning + __________________________________________________________________________ + Copyright (C) 2005 Wellcome Trust Centre for Neuroimaging + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_faster_structure_learning.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("spm_faster_structure_learning", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/spm_find_internal.py b/spm/__toolbox/__DEM/spm_find_internal.py index 00c639fc..c558874e 100644 --- a/spm/__toolbox/__DEM/spm_find_internal.py +++ b/spm/__toolbox/__DEM/spm_find_internal.py @@ -2,15 +2,18 @@ def spm_find_internal(*args, **kwargs): - """ + r""" FORMAT nj = spm_find_internal(z,J) finds indices of internal states (that do not contribute to slow modes) __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/spm_find_internal.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_find_internal.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_find_internal", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/spm_fx_Gabor.py b/spm/__toolbox/__DEM/spm_fx_Gabor.py index 5aceb5a6..c3ec7f1d 100644 --- a/spm/__toolbox/__DEM/spm_fx_Gabor.py +++ b/spm/__toolbox/__DEM/spm_fx_Gabor.py @@ -2,7 +2,7 @@ def spm_fx_Gabor(*args, **kwargs): - """ + r""" state equation for Gabor patches FORMAT [f] = spm_fx_Gabor(x,u,P) x - state vector @@ -17,9 +17,12 @@ def spm_fx_Gabor(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/spm_fx_Gabor.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_fx_Gabor.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_fx_Gabor", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/spm_fx_Lagrangian.py b/spm/__toolbox/__DEM/spm_fx_Lagrangian.py index 3f4cbb2b..3b4f92bc 100644 --- a/spm/__toolbox/__DEM/spm_fx_Lagrangian.py +++ b/spm/__toolbox/__DEM/spm_fx_Lagrangian.py @@ -2,15 +2,18 @@ def spm_fx_Lagrangian(*args, **kwargs): - """ + r""" FORMAT [f] = spm_fx_Lagrangian(P,M,U) flow subfunction for Langrangian demo - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/spm_fx_Lagrangian.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_fx_Lagrangian.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_fx_Lagrangian", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/spm_fx_adem_cue.py b/spm/__toolbox/__DEM/spm_fx_adem_cue.py index c077c328..1d5cb0aa 100644 --- a/spm/__toolbox/__DEM/spm_fx_adem_cue.py +++ b/spm/__toolbox/__DEM/spm_fx_adem_cue.py @@ -2,7 +2,7 @@ def spm_fx_adem_cue(*args, **kwargs): - """ + r""" returns the flow for cued response (with action) FORMAT [f]= spm_fx_adem_cue(x,v,a,P) @@ -14,9 +14,12 @@ def spm_fx_adem_cue(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/spm_fx_adem_cue.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_fx_adem_cue.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_fx_adem_cue", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/spm_fx_adem_pursuit.py b/spm/__toolbox/__DEM/spm_fx_adem_pursuit.py index 9dd7e530..67ab0260 100644 --- a/spm/__toolbox/__DEM/spm_fx_adem_pursuit.py +++ b/spm/__toolbox/__DEM/spm_fx_adem_pursuit.py @@ -2,7 +2,7 @@ def spm_fx_adem_pursuit(*args, **kwargs): - """ + r""" returns the flow for occulomotor pursuit (with action) FORMAT [f]= spm_fx_adem_pursuit(x,v,a,P) @@ -18,9 +18,12 @@ def spm_fx_adem_pursuit(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/spm_fx_adem_pursuit.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_fx_adem_pursuit.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_fx_adem_pursuit", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/spm_fx_adem_reach.py b/spm/__toolbox/__DEM/spm_fx_adem_reach.py index 4d6b533b..b6cfab91 100644 --- a/spm/__toolbox/__DEM/spm_fx_adem_reach.py +++ b/spm/__toolbox/__DEM/spm_fx_adem_reach.py @@ -2,7 +2,7 @@ def spm_fx_adem_reach(*args, **kwargs): - """ + r""" returns the flow for a two-joint arm (with action) FORMAT [f]= spm_fx_adem_reach(x,v,a,P) @@ -17,9 +17,12 @@ def spm_fx_adem_reach(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/spm_fx_adem_reach.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_fx_adem_reach.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_fx_adem_reach", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/spm_fx_adem_salience.py b/spm/__toolbox/__DEM/spm_fx_adem_salience.py index cef2481b..bf753cc4 100644 --- a/spm/__toolbox/__DEM/spm_fx_adem_salience.py +++ b/spm/__toolbox/__DEM/spm_fx_adem_salience.py @@ -2,7 +2,7 @@ def spm_fx_adem_salience(*args, **kwargs): - """ + r""" returns the flow for oculomotor search FORMAT [f]= spm_fx_adem_salience(x,v,a,P) @@ -15,9 +15,12 @@ def spm_fx_adem_salience(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/spm_fx_adem_salience.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_fx_adem_salience.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_fx_adem_salience", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/spm_fx_adem_write.py b/spm/__toolbox/__DEM/spm_fx_adem_write.py index d1a791fa..e048a2b4 100644 --- a/spm/__toolbox/__DEM/spm_fx_adem_write.py +++ b/spm/__toolbox/__DEM/spm_fx_adem_write.py @@ -2,7 +2,7 @@ def spm_fx_adem_write(*args, **kwargs): - """ + r""" returns the flow for a two-joint arm (with action) FORMAT [f]= spm_fx_adem_reach(x,v,a,P) @@ -17,9 +17,12 @@ def spm_fx_adem_write(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/spm_fx_adem_write.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_fx_adem_write.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_fx_adem_write", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/spm_fx_dem_cue.py b/spm/__toolbox/__DEM/spm_fx_dem_cue.py index 822c6966..0e502290 100644 --- a/spm/__toolbox/__DEM/spm_fx_dem_cue.py +++ b/spm/__toolbox/__DEM/spm_fx_dem_cue.py @@ -2,7 +2,7 @@ def spm_fx_dem_cue(*args, **kwargs): - """ + r""" returns the flow for cued response FORMAT [f]= spm_fx_dem_cue(x,v,P) @@ -16,9 +16,12 @@ def spm_fx_dem_cue(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/spm_fx_dem_cue.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_fx_dem_cue.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_fx_dem_cue", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/spm_fx_dem_observe.py b/spm/__toolbox/__DEM/spm_fx_dem_observe.py index ab95dd0e..685e0db6 100644 --- a/spm/__toolbox/__DEM/spm_fx_dem_observe.py +++ b/spm/__toolbox/__DEM/spm_fx_dem_observe.py @@ -2,7 +2,7 @@ def spm_fx_dem_observe(*args, **kwargs): - """ + r""" returns the flow for a two-joint arm (writing with SHC) FORMAT [f]= spm_fx_dem_observe(x,v,P) @@ -22,9 +22,12 @@ def spm_fx_dem_observe(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/spm_fx_dem_observe.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_fx_dem_observe.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_fx_dem_observe", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/spm_fx_dem_pursuit.py b/spm/__toolbox/__DEM/spm_fx_dem_pursuit.py index 7bb96778..0e9c0dfd 100644 --- a/spm/__toolbox/__DEM/spm_fx_dem_pursuit.py +++ b/spm/__toolbox/__DEM/spm_fx_dem_pursuit.py @@ -2,7 +2,7 @@ def spm_fx_dem_pursuit(*args, **kwargs): - """ + r""" returns the flow for visual pursuit demo FORMAT [f]= spm_fx_dem_pursuit(x,v,P) @@ -18,9 +18,12 @@ def spm_fx_dem_pursuit(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/spm_fx_dem_pursuit.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_fx_dem_pursuit.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_fx_dem_pursuit", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/spm_fx_dem_reach.py b/spm/__toolbox/__DEM/spm_fx_dem_reach.py index 5f8dc471..4afbb699 100644 --- a/spm/__toolbox/__DEM/spm_fx_dem_reach.py +++ b/spm/__toolbox/__DEM/spm_fx_dem_reach.py @@ -2,7 +2,7 @@ def spm_fx_dem_reach(*args, **kwargs): - """ + r""" returns the flow for a two-joint arm FORMAT [f]= spm_fx_dem_reach(x,v,P) @@ -19,9 +19,12 @@ def spm_fx_dem_reach(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/spm_fx_dem_reach.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_fx_dem_reach.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_fx_dem_reach", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/spm_fx_dem_salience.py b/spm/__toolbox/__DEM/spm_fx_dem_salience.py index 4f23df2a..87972217 100644 --- a/spm/__toolbox/__DEM/spm_fx_dem_salience.py +++ b/spm/__toolbox/__DEM/spm_fx_dem_salience.py @@ -2,7 +2,7 @@ def spm_fx_dem_salience(*args, **kwargs): - """ + r""" returns the flow for visual search FORMAT [f]= spm_fx_dem_salience(x,v,P) @@ -18,9 +18,12 @@ def spm_fx_dem_salience(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/spm_fx_dem_salience.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_fx_dem_salience.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_fx_dem_salience", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/spm_fx_dem_write.py b/spm/__toolbox/__DEM/spm_fx_dem_write.py index 77077f60..841d399c 100644 --- a/spm/__toolbox/__DEM/spm_fx_dem_write.py +++ b/spm/__toolbox/__DEM/spm_fx_dem_write.py @@ -2,7 +2,7 @@ def spm_fx_dem_write(*args, **kwargs): - """ + r""" returns the flow for a two-joint arm (writing with SHC) FORMAT [f]= spm_fx_dem_write(x,v,P) @@ -22,9 +22,12 @@ def spm_fx_dem_write(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/spm_fx_dem_write.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_fx_dem_write.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_fx_dem_write", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/spm_fx_hdm_sck.py b/spm/__toolbox/__DEM/spm_fx_hdm_sck.py index 56a116c3..e6145576 100644 --- a/spm/__toolbox/__DEM/spm_fx_hdm_sck.py +++ b/spm/__toolbox/__DEM/spm_fx_hdm_sck.py @@ -2,7 +2,7 @@ def spm_fx_hdm_sck(*args, **kwargs): - """ + r""" state equation for the hemodynamic model FORMAT [f] = spm_fx_hdm_sck(x,u,P,M) x - state vector @@ -30,9 +30,12 @@ def spm_fx_hdm_sck(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/spm_fx_hdm_sck.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_fx_hdm_sck.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_fx_hdm_sck", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/spm_fx_mountaincar.py b/spm/__toolbox/__DEM/spm_fx_mountaincar.py index bbf5426d..91c615e7 100644 --- a/spm/__toolbox/__DEM/spm_fx_mountaincar.py +++ b/spm/__toolbox/__DEM/spm_fx_mountaincar.py @@ -2,7 +2,7 @@ def spm_fx_mountaincar(*args, **kwargs): - """ + r""" state equations for mountain car problem FORMAT f = spm_fx_mountaincar(x,v,P) FORMAT f = spm_fx_mountaincar(x,v,a,P) @@ -29,9 +29,12 @@ def spm_fx_mountaincar(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/spm_fx_mountaincar.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_fx_mountaincar.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_fx_mountaincar", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/spm_fx_mountaincar_Q.py b/spm/__toolbox/__DEM/spm_fx_mountaincar_Q.py index f23751a9..b6bbc1cb 100644 --- a/spm/__toolbox/__DEM/spm_fx_mountaincar_Q.py +++ b/spm/__toolbox/__DEM/spm_fx_mountaincar_Q.py @@ -2,7 +2,7 @@ def spm_fx_mountaincar_Q(*args, **kwargs): - """ + r""" state equations based on the Helmholtz decomposition FORMAT f = spm_fx_mountaincar_Q(x,v,P) x - [x, x'] @@ -25,9 +25,12 @@ def spm_fx_mountaincar_Q(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/spm_fx_mountaincar_Q.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_fx_mountaincar_Q.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_fx_mountaincar_Q", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/spm_gamma_log_evidence.py b/spm/__toolbox/__DEM/spm_gamma_log_evidence.py index ed82b4bb..c595e0e5 100644 --- a/spm/__toolbox/__DEM/spm_gamma_log_evidence.py +++ b/spm/__toolbox/__DEM/spm_gamma_log_evidence.py @@ -2,7 +2,7 @@ def spm_gamma_log_evidence(*args, **kwargs): - """ + r""" Bayesian model reduction for gamma distibutions FORMAT [F,sA] = spm_gamma_log_evidence(qA,pA,rA) @@ -19,9 +19,12 @@ def spm_gamma_log_evidence(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/spm_gamma_log_evidence.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_gamma_log_evidence.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_gamma_log_evidence", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/spm_get_episodes.py b/spm/__toolbox/__DEM/spm_get_episodes.py new file mode 100644 index 00000000..65e9e67e --- /dev/null +++ b/spm/__toolbox/__DEM/spm_get_episodes.py @@ -0,0 +1,37 @@ +from spm._runtime import Runtime + + +def spm_get_episodes(*args, **kwargs): + r""" + Gets rewarded (and restricted) states at the deepest level of an MDP + FORMAT [HID,CID,HITS,MISS] = spm_get_episodes(hid,cid,GDP,MDP) + hid - List of intended (i.e., rewarded) goal states at the lowest level + cid - List of constrained (i.e., restricted) states at the lowest level + GDP - Generative process + MDP - Generative models (hierarchical) + + HID - List of intended (i.e., rewarded) goal states at highest level + CID - List of constrained (i.e., restricted) states at highest level + HITS - List of intended (i.e. rewarded) goal outcomes at lowest level + MISS - List of constrained (i.e. restricted) outcomes at lowest level + + -------------------------------------------------------------------------- + This auxiliary routine identifies the episodes (i.e., paths) encoded by + states at the deepest or highest level of a hierarchical MDP that entail + one or more intended states at the lowest level. + + For convenience, it assumes the intended outcomes in HITS correspond to + the first set of outcomes generated from each highest (generalised) + latent state. + __________________________________________________________________________ + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_get_episodes.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("spm_get_episodes", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/spm_get_outcomes.py b/spm/__toolbox/__DEM/spm_get_outcomes.py new file mode 100644 index 00000000..f616daa8 --- /dev/null +++ b/spm/__toolbox/__DEM/spm_get_outcomes.py @@ -0,0 +1,31 @@ +from spm._runtime import Runtime + + +def spm_get_outcomes(*args, **kwargs): + r""" + Gets sequences generated by (generlised) states of an MDP + FORMAT [o] = spm_get_outcomes(MDP,m,f) + MDP - Generative models (hierarchical) + n - level [default: numel(MDP)] + f - factor[s] [default: 1] + + o - logical vector over outcomes + + -------------------------------------------------------------------------- + This auxiliary routine traces the edges of a renormalising generative + model from the factor f at level m to identify the children at the lowest + level. In other words, it returns a logical vector o, over output + modalities, if they are generated by the factor in question. By + construction, these outputs form a (nonoverlapping) partition. + __________________________________________________________________________ + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_get_outcomes.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("spm_get_outcomes", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/spm_get_sequences.py b/spm/__toolbox/__DEM/spm_get_sequences.py new file mode 100644 index 00000000..f9271edb --- /dev/null +++ b/spm/__toolbox/__DEM/spm_get_sequences.py @@ -0,0 +1,29 @@ +from spm._runtime import Runtime + + +def spm_get_sequences(*args, **kwargs): + r""" + Gets sequences generated by (generlised) states of an MDP + FORMAT [O,o] = spm_get_sequences(MDP,Nm) + MDP - Generative models (hierarchical) + Nm - level [default: numel(MDP)] + + O - O{Ns}{Ng,Nt}(No,1): cell array of probabilitic outcomes + o - o{Ns}(Ng,Nt): cell array of indexed outcomes + + -------------------------------------------------------------------------- + This auxiliary routine identifies the episodes (i.e., paths) encoded by + states at the deepest or highest level of a hierarchical MDP. If some + output modalities are not generated, they are returned as empty + __________________________________________________________________________ + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_get_sequences.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("spm_get_sequences", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/spm_gx_Gabor.py b/spm/__toolbox/__DEM/spm_gx_Gabor.py index e6104ec0..fc1173f3 100644 --- a/spm/__toolbox/__DEM/spm_gx_Gabor.py +++ b/spm/__toolbox/__DEM/spm_gx_Gabor.py @@ -2,7 +2,7 @@ def spm_gx_Gabor(*args, **kwargs): - """ + r""" observer equation for Gabor patches FORMAT [g] = spm_gx_Gabor(x,u,P) x - state vector @@ -17,9 +17,12 @@ def spm_gx_Gabor(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/spm_gx_Gabor.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_gx_Gabor.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_gx_Gabor", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/spm_gx_SHC.py b/spm/__toolbox/__DEM/spm_gx_SHC.py index 201d6b68..e88aa6dd 100644 --- a/spm/__toolbox/__DEM/spm_gx_SHC.py +++ b/spm/__toolbox/__DEM/spm_gx_SHC.py @@ -2,7 +2,7 @@ def spm_gx_SHC(*args, **kwargs): - """ + r""" maps to state of a SCH to a 2-D position in the world FORMAT [g] = spm_gx_SHC(x,v,P) @@ -12,9 +12,12 @@ def spm_gx_SHC(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/spm_gx_SHC.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_gx_SHC.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_gx_SHC", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/spm_gx_adem_cue.py b/spm/__toolbox/__DEM/spm_gx_adem_cue.py index 07287fb4..eabd14b3 100644 --- a/spm/__toolbox/__DEM/spm_gx_adem_cue.py +++ b/spm/__toolbox/__DEM/spm_gx_adem_cue.py @@ -2,7 +2,7 @@ def spm_gx_adem_cue(*args, **kwargs): - """ + r""" returns the prediction for cued responses (proprioception and vision) FORMAT [g]= spm_gx_adem_cue(x,v,a,P) @@ -20,9 +20,12 @@ def spm_gx_adem_cue(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/spm_gx_adem_cue.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_gx_adem_cue.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_gx_adem_cue", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/spm_gx_adem_pursuit.py b/spm/__toolbox/__DEM/spm_gx_adem_pursuit.py index f6e37822..2e095e4d 100644 --- a/spm/__toolbox/__DEM/spm_gx_adem_pursuit.py +++ b/spm/__toolbox/__DEM/spm_gx_adem_pursuit.py @@ -2,7 +2,7 @@ def spm_gx_adem_pursuit(*args, **kwargs): - """ + r""" returns the prediction for pursuit model (proprioception and vision) FORMAT [g]= spm_gx_adem_pursuit(x,v,a,P) @@ -25,9 +25,12 @@ def spm_gx_adem_pursuit(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/spm_gx_adem_pursuit.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_gx_adem_pursuit.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_gx_adem_pursuit", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/spm_gx_adem_reach.py b/spm/__toolbox/__DEM/spm_gx_adem_reach.py index 250c687e..a095d690 100644 --- a/spm/__toolbox/__DEM/spm_gx_adem_reach.py +++ b/spm/__toolbox/__DEM/spm_gx_adem_reach.py @@ -2,7 +2,7 @@ def spm_gx_adem_reach(*args, **kwargs): - """ + r""" returns the prediction for a two-joint arm (with action) FORMAT [g] = spm_gx_adem_reach(x,v,a,P) @@ -21,9 +21,12 @@ def spm_gx_adem_reach(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/spm_gx_adem_reach.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_gx_adem_reach.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_gx_adem_reach", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/spm_gx_adem_salience.py b/spm/__toolbox/__DEM/spm_gx_adem_salience.py index 1336a046..7d4aca57 100644 --- a/spm/__toolbox/__DEM/spm_gx_adem_salience.py +++ b/spm/__toolbox/__DEM/spm_gx_adem_salience.py @@ -2,7 +2,7 @@ def spm_gx_adem_salience(*args, **kwargs): - """ + r""" returns the prediction for visual search (proprioception and vision) FORMAT [g]= spm_gx_adem_salience(x,v,a,P) @@ -24,9 +24,12 @@ def spm_gx_adem_salience(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/spm_gx_adem_salience.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_gx_adem_salience.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_gx_adem_salience", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/spm_gx_adem_write.py b/spm/__toolbox/__DEM/spm_gx_adem_write.py index 6958d4fd..8cdf20c5 100644 --- a/spm/__toolbox/__DEM/spm_gx_adem_write.py +++ b/spm/__toolbox/__DEM/spm_gx_adem_write.py @@ -2,7 +2,7 @@ def spm_gx_adem_write(*args, **kwargs): - """ + r""" returns the prediction for a two-joint arm (proprioception and vision) FORMAT [g]= spm_gx_adem_write(x,v,a,P) @@ -27,9 +27,12 @@ def spm_gx_adem_write(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/spm_gx_adem_write.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_gx_adem_write.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_gx_adem_write", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/spm_gx_dem_cue.py b/spm/__toolbox/__DEM/spm_gx_dem_cue.py index e5d05928..d7c1f827 100644 --- a/spm/__toolbox/__DEM/spm_gx_dem_cue.py +++ b/spm/__toolbox/__DEM/spm_gx_dem_cue.py @@ -2,7 +2,7 @@ def spm_gx_dem_cue(*args, **kwargs): - """ + r""" returns the prediction for cued responses (proprioception and vision) FORMAT [g]= spm_gx_dem_cue(x,v,P) @@ -22,9 +22,12 @@ def spm_gx_dem_cue(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/spm_gx_dem_cue.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_gx_dem_cue.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_gx_dem_cue", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/spm_gx_dem_pursuit.py b/spm/__toolbox/__DEM/spm_gx_dem_pursuit.py index ceaa4c33..aee6f90a 100644 --- a/spm/__toolbox/__DEM/spm_gx_dem_pursuit.py +++ b/spm/__toolbox/__DEM/spm_gx_dem_pursuit.py @@ -2,7 +2,7 @@ def spm_gx_dem_pursuit(*args, **kwargs): - """ + r""" returns the prediction for visual pursuit FORMAT [g] = spm_gx_dem_pursuit(x,v,P) @@ -26,9 +26,12 @@ def spm_gx_dem_pursuit(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/spm_gx_dem_pursuit.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_gx_dem_pursuit.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_gx_dem_pursuit", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/spm_gx_dem_reach.py b/spm/__toolbox/__DEM/spm_gx_dem_reach.py index daa223e6..0e5c1f6f 100644 --- a/spm/__toolbox/__DEM/spm_gx_dem_reach.py +++ b/spm/__toolbox/__DEM/spm_gx_dem_reach.py @@ -2,7 +2,7 @@ def spm_gx_dem_reach(*args, **kwargs): - """ + r""" returns the prediction for a two-joint arm FORMAT [g]= spm_gx_dem_reach(x,v,P) @@ -19,9 +19,12 @@ def spm_gx_dem_reach(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/spm_gx_dem_reach.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_gx_dem_reach.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_gx_dem_reach", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/spm_gx_dem_salience.py b/spm/__toolbox/__DEM/spm_gx_dem_salience.py index 693a8e7b..90f1603e 100644 --- a/spm/__toolbox/__DEM/spm_gx_dem_salience.py +++ b/spm/__toolbox/__DEM/spm_gx_dem_salience.py @@ -2,7 +2,7 @@ def spm_gx_dem_salience(*args, **kwargs): - """ + r""" returns the prediction for visual search FORMAT [g] = spm_gx_dem_salience(x,v,P) @@ -25,9 +25,12 @@ def spm_gx_dem_salience(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/spm_gx_dem_salience.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_gx_dem_salience.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_gx_dem_salience", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/spm_gx_dem_write.py b/spm/__toolbox/__DEM/spm_gx_dem_write.py index f9a8989f..a86497b0 100644 --- a/spm/__toolbox/__DEM/spm_gx_dem_write.py +++ b/spm/__toolbox/__DEM/spm_gx_dem_write.py @@ -2,7 +2,7 @@ def spm_gx_dem_write(*args, **kwargs): - """ + r""" returns the prediction for a two-joint arm (writing example) FORMAT [g]= spm_gx_dem_write(x,v,P) @@ -25,9 +25,12 @@ def spm_gx_dem_write(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/spm_gx_dem_write.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_gx_dem_write.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_gx_dem_write", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/spm_gx_hdm_sck.py b/spm/__toolbox/__DEM/spm_gx_hdm_sck.py index 620d9cee..2b8e5d10 100644 --- a/spm/__toolbox/__DEM/spm_gx_hdm_sck.py +++ b/spm/__toolbox/__DEM/spm_gx_hdm_sck.py @@ -2,7 +2,7 @@ def spm_gx_hdm_sck(*args, **kwargs): - """ + r""" Simulated BOLD response to input. FORMAT [y] = spm_gx_hdm_sck(x,u,P,M) y - BOLD response (%) @@ -17,9 +17,12 @@ def spm_gx_hdm_sck(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/spm_gx_hdm_sck.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_gx_hdm_sck.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_gx_hdm_sck", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/spm_ho_gm.py b/spm/__toolbox/__DEM/spm_ho_gm.py index d47d6e44..e151351f 100644 --- a/spm/__toolbox/__DEM/spm_ho_gm.py +++ b/spm/__toolbox/__DEM/spm_ho_gm.py @@ -2,7 +2,7 @@ def spm_ho_gm(*args, **kwargs): - """ + r""" General Gaussian mixture model with derivatives FORMAT Y = spm_ho_poly(P,M,U) @@ -15,9 +15,12 @@ def spm_ho_gm(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/spm_ho_gm.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_ho_gm.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_ho_gm", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/spm_ho_poly.py b/spm/__toolbox/__DEM/spm_ho_poly.py index 73b50e8e..34f4f5f6 100644 --- a/spm/__toolbox/__DEM/spm_ho_poly.py +++ b/spm/__toolbox/__DEM/spm_ho_poly.py @@ -2,7 +2,7 @@ def spm_ho_poly(*args, **kwargs): - """ + r""" General polynomial mapping with derivatives FORMAT Y = spm_ho_poly(P,M,U) @@ -15,9 +15,12 @@ def spm_ho_poly(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/spm_ho_poly.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_ho_poly.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_ho_poly", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/spm_i2p.py b/spm/__toolbox/__DEM/spm_i2p.py new file mode 100644 index 00000000..a34ac824 --- /dev/null +++ b/spm/__toolbox/__DEM/spm_i2p.py @@ -0,0 +1,22 @@ +from spm._runtime import Runtime + + +def spm_i2p(*args, **kwargs): + r""" + Converts an array of indices into a cell array of probabilities + FORMAT P = spm_i2p(X,s) + X - (m,n) : 0 < X(i,j) < s + P - {m,n} : P{i,j}(X(i,j),j) = 1 + + __________________________________________________________________________ + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_i2p.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("spm_i2p", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/spm_immune.py b/spm/__toolbox/__DEM/spm_immune.py index 4d8903f8..111a1991 100644 --- a/spm/__toolbox/__DEM/spm_immune.py +++ b/spm/__toolbox/__DEM/spm_immune.py @@ -2,7 +2,7 @@ def spm_immune(*args, **kwargs): - """ + r""" Variational inversion of immune model FORMAT [F,Ep,Cp,pE,pC,Eh] = spm_immune(Y,U,pE,pC,hC) Y - timeseries data @@ -19,9 +19,12 @@ def spm_immune(*args, **kwargs): Copyright (C) 2020 Wellcome Centre for Human Neuroimaging - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/spm_immune.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_immune.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_immune", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/spm_immune_gen.py b/spm/__toolbox/__DEM/spm_immune_gen.py index 5da7f821..5816dde2 100644 --- a/spm/__toolbox/__DEM/spm_immune_gen.py +++ b/spm/__toolbox/__DEM/spm_immune_gen.py @@ -2,7 +2,7 @@ def spm_immune_gen(*args, **kwargs): - """ + r""" Generative model of an immune response FORMAT [Y,X] = spm_immune_gen(P,M,U) Y - timeseries data @@ -14,9 +14,12 @@ def spm_immune_gen(*args, **kwargs): Copyright (C) 2020 Wellcome Centre for Human Neuroimaging - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/spm_immune_gen.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_immune_gen.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_immune_gen", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/spm_immune_plot.py b/spm/__toolbox/__DEM/spm_immune_plot.py index 89dda063..e43809e0 100644 --- a/spm/__toolbox/__DEM/spm_immune_plot.py +++ b/spm/__toolbox/__DEM/spm_immune_plot.py @@ -2,7 +2,7 @@ def spm_immune_plot(*args, **kwargs): - """ + r""" Plotting for immune model FORMAT y = spm_immune_plot(P,c,M,U) P - Priors @@ -13,9 +13,12 @@ def spm_immune_plot(*args, **kwargs): Copyright (C) 2020 Wellcome Centre for Human Neuroimaging - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/spm_immune_plot.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_immune_plot.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_immune_plot", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/spm_immune_priors.py b/spm/__toolbox/__DEM/spm_immune_priors.py index 28dc0d58..e5cce715 100644 --- a/spm/__toolbox/__DEM/spm_immune_priors.py +++ b/spm/__toolbox/__DEM/spm_immune_priors.py @@ -2,7 +2,7 @@ def spm_immune_priors(*args, **kwargs): - """ + r""" Default priors for immune model FORMAT [P,C] = spm_immune_priors P - Prior expectations @@ -11,9 +11,12 @@ def spm_immune_priors(*args, **kwargs): Copyright (C) 2020 Wellcome Centre for Human Neuroimaging - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/spm_immune_priors.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_immune_priors.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_immune_priors", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/spm_imshow.py b/spm/__toolbox/__DEM/spm_imshow.py new file mode 100644 index 00000000..0fcc313a --- /dev/null +++ b/spm/__toolbox/__DEM/spm_imshow.py @@ -0,0 +1,21 @@ +from spm._runtime import Runtime + + +def spm_imshow(*args, **kwargs): + r""" + rendering of an RGB image sequence + FORMAT spm_imshow(I) + + I(pixels x pixels x rgb x time) + __________________________________________________________________________ + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_imshow.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("spm_imshow", *args, **kwargs, nargout=0) diff --git a/spm/__toolbox/__DEM/spm_imwt.py b/spm/__toolbox/__DEM/spm_imwt.py new file mode 100644 index 00000000..898e48f4 --- /dev/null +++ b/spm/__toolbox/__DEM/spm_imwt.py @@ -0,0 +1,23 @@ +from spm._runtime import Runtime + + +def spm_imwt(*args, **kwargs): + r""" + Inverse windowed Fourier transform - continuous synthesis + FORMAT [s] = spm_imwt(C,k,w); + s - 1-D time-series + k - Frequencies (cycles per window) + w - window length + C - coefficients (complex) + __________________________________________________________________________ + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_imwt.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("spm_imwt", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/spm_index.py b/spm/__toolbox/__DEM/spm_index.py new file mode 100644 index 00000000..cc95c3bd --- /dev/null +++ b/spm/__toolbox/__DEM/spm_index.py @@ -0,0 +1,23 @@ +from spm._runtime import Runtime + + +def spm_index(*args, **kwargs): + r""" + Multiple subscripts from linear index + FORMAT [ind] = spm_index(siz,ndx) + siz - array size + ndx - linear index + + see: SUB2IND, FIND. + __________________________________________________________________________ + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_index.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("spm_index", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/spm_information_distance.py b/spm/__toolbox/__DEM/spm_information_distance.py new file mode 100644 index 00000000..3e9a94f0 --- /dev/null +++ b/spm/__toolbox/__DEM/spm_information_distance.py @@ -0,0 +1,30 @@ +from spm._runtime import Runtime + + +def spm_information_distance(*args, **kwargs): + r""" + information geometry of a likelihood mapping + FORMAT [D,C] = spm_information_distance(a) + a{g} - Dirichlet tensor for modality g + + D - information distance (nats); + C - correlation (similarity) matrix (normalised) + + This routine uses the information geometry inherent in a likelihood + mapping. It computes a similarity matrix (C) based upon the information + distance (D) between columns of a likelihood tensor (i.e., implicit + categorical distributions), or vice versa. + __________________________________________________________________________ + Karl Friston + Copyright (C) 2012-2022 Wellcome Centre for Human Neuroimaging + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_information_distance.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("spm_information_distance", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/spm_mc_fx.py b/spm/__toolbox/__DEM/spm_mc_fx.py index de98c3b0..10d6a304 100644 --- a/spm/__toolbox/__DEM/spm_mc_fx.py +++ b/spm/__toolbox/__DEM/spm_mc_fx.py @@ -2,7 +2,7 @@ def spm_mc_fx(*args, **kwargs): - """ + r""" equations of motion for the mountain car problem using basis functions problem FORMAT [f] = spm_mc_fx(x,v,P) @@ -19,9 +19,12 @@ def spm_mc_fx(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/spm_mc_fx.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_mc_fx.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_mc_fx", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/spm_mc_fx_1.py b/spm/__toolbox/__DEM/spm_mc_fx_1.py index 5c6b80bc..01d65416 100644 --- a/spm/__toolbox/__DEM/spm_mc_fx_1.py +++ b/spm/__toolbox/__DEM/spm_mc_fx_1.py @@ -2,7 +2,7 @@ def spm_mc_fx_1(*args, **kwargs): - """ + r""" equations of motion for the mountain car problem using basis functions problem FORMAT [f] = spm_mc_fx_1(x,v,P) @@ -19,9 +19,12 @@ def spm_mc_fx_1(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/spm_mc_fx_1.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_mc_fx_1.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_mc_fx_1", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/spm_mc_fx_2.py b/spm/__toolbox/__DEM/spm_mc_fx_2.py index 9edd8396..db65df0a 100644 --- a/spm/__toolbox/__DEM/spm_mc_fx_2.py +++ b/spm/__toolbox/__DEM/spm_mc_fx_2.py @@ -2,7 +2,7 @@ def spm_mc_fx_2(*args, **kwargs): - """ + r""" equations of motion for the mountain car problem using basis functions problem FORMAT [f] = spm_mc_fx_2(x,v,P) @@ -19,9 +19,12 @@ def spm_mc_fx_2(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/spm_mc_fx_2.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_mc_fx_2.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_mc_fx_2", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/spm_mc_fx_3.py b/spm/__toolbox/__DEM/spm_mc_fx_3.py index bd87a1af..4c368432 100644 --- a/spm/__toolbox/__DEM/spm_mc_fx_3.py +++ b/spm/__toolbox/__DEM/spm_mc_fx_3.py @@ -2,7 +2,7 @@ def spm_mc_fx_3(*args, **kwargs): - """ + r""" equations of motion for the mountain car problem using basis functions problem FORMAT [f] = spm_mc_fx_3(x,v,P) @@ -19,9 +19,12 @@ def spm_mc_fx_3(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/spm_mc_fx_3.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_mc_fx_3.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_mc_fx_3", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/spm_mc_fx_4.py b/spm/__toolbox/__DEM/spm_mc_fx_4.py index 4526866f..a241c5bc 100644 --- a/spm/__toolbox/__DEM/spm_mc_fx_4.py +++ b/spm/__toolbox/__DEM/spm_mc_fx_4.py @@ -2,7 +2,7 @@ def spm_mc_fx_4(*args, **kwargs): - """ + r""" equations of motion for the mountain car problem using basis functions problem FORMAT [f] = spm_mc_fx_4(x,v,P) @@ -19,9 +19,12 @@ def spm_mc_fx_4(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/spm_mc_fx_4.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_mc_fx_4.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_mc_fx_3", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/spm_mc_fx_5.py b/spm/__toolbox/__DEM/spm_mc_fx_5.py index 4e80dfa3..79ea6cc5 100644 --- a/spm/__toolbox/__DEM/spm_mc_fx_5.py +++ b/spm/__toolbox/__DEM/spm_mc_fx_5.py @@ -2,7 +2,7 @@ def spm_mc_fx_5(*args, **kwargs): - """ + r""" equations of motion for the mountain car problem using basis functions problem FORMAT [f] = spm_mc_fx_5(x,v,P) @@ -19,9 +19,12 @@ def spm_mc_fx_5(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/spm_mc_fx_5.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_mc_fx_5.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_mc_fx_5", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/spm_mc_fxa_4.py b/spm/__toolbox/__DEM/spm_mc_fxa_4.py index db8c7033..862adf75 100644 --- a/spm/__toolbox/__DEM/spm_mc_fxa_4.py +++ b/spm/__toolbox/__DEM/spm_mc_fxa_4.py @@ -2,7 +2,7 @@ def spm_mc_fxa_4(*args, **kwargs): - """ + r""" equations of motion for the mountain car problem problem FORMAT [f] = spm_mc_fxa_4(x,v,a,P) @@ -16,9 +16,12 @@ def spm_mc_fxa_4(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/spm_mc_fxa_4.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_mc_fxa_4.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_mc_fxa_4", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/spm_mc_fxa_5.py b/spm/__toolbox/__DEM/spm_mc_fxa_5.py index d16d0a25..08d16e94 100644 --- a/spm/__toolbox/__DEM/spm_mc_fxa_5.py +++ b/spm/__toolbox/__DEM/spm_mc_fxa_5.py @@ -2,7 +2,7 @@ def spm_mc_fxa_5(*args, **kwargs): - """ + r""" equations of motion for the mountain car problem problem FORMAT [f] = spm_mc_fxa_4(x,v,a,P) @@ -16,9 +16,12 @@ def spm_mc_fxa_5(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/spm_mc_fxa_5.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_mc_fxa_5.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_mc_fxa_5", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/spm_mc_loss_C.py b/spm/__toolbox/__DEM/spm_mc_loss_C.py index 206ed499..1267a0ea 100644 --- a/spm/__toolbox/__DEM/spm_mc_loss_C.py +++ b/spm/__toolbox/__DEM/spm_mc_loss_C.py @@ -2,7 +2,7 @@ def spm_mc_loss_C(*args, **kwargs): - """ + r""" cost function for the mountain car problem problem FORMAT [C] = spm_mc_loss_C(x,P) @@ -14,9 +14,12 @@ def spm_mc_loss_C(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/spm_mc_loss_C.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_mc_loss_C.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_mc_loss_C", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/spm_mc_loss_G.py b/spm/__toolbox/__DEM/spm_mc_loss_G.py index 794d963d..1ecf812e 100644 --- a/spm/__toolbox/__DEM/spm_mc_loss_G.py +++ b/spm/__toolbox/__DEM/spm_mc_loss_G.py @@ -2,7 +2,7 @@ def spm_mc_loss_G(*args, **kwargs): - """ + r""" assumed potential gradient for the mountain car problem problem FORMAT [G] = spm_mc_loss_G(x,P) @@ -14,9 +14,12 @@ def spm_mc_loss_G(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/spm_mc_loss_G.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_mc_loss_G.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_mc_loss_G", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/spm_mdp2rdp.py b/spm/__toolbox/__DEM/spm_mdp2rdp.py new file mode 100644 index 00000000..2eb7805d --- /dev/null +++ b/spm/__toolbox/__DEM/spm_mdp2rdp.py @@ -0,0 +1,51 @@ +from spm._runtime import Runtime + + +def spm_mdp2rdp(*args, **kwargs): + r""" + Converts a cell array of MDPs into a recursive MDP + FORMAT RDP = spm_mdp2rdp(MDP,p,q,T,FIX) + MDP{n} - Cell array of MDPs + MDP{n}.A - likelihood tensors + MDP{n}.B - transition tensors (logical) + MDP{n}.id.A - cell array of parents of A factors at the same level + MDP{n}.id.B - cell array of parents of B factors at the same level + MDP{n}.id.C - cell array of parents of C priors at the same level + MDP{n}.id.D - cell array of parents of initial state at next level + MDP{n}.id.E - cell array of parents of initial paths at next level + + p - likelihood concentration; e.g., p = 1/32; [default: p = 0] + q - prior (transition) decay; e.g., q = 1/32; [default: q = 0] + T - path lengths [default: T = 2] + + FIX.A = 0 for learning likelihoods + FIX.B = 0 for learning transitions + + RDP - Deep (recursive) MDP (i.e., RDP.MDP.MDP...) + RDP.L - level or depth + RDP.T - time steps + + This auxiliary routine takes a cell array of hierarchically arranged + MDP’s and creates a single MDP where each subordinate MDP is a field of + the superordinate MDP. The vertical dependencies are encoded in the cell + arrays of parents at each level of the hierarchy, where the outcomes of + one level are the parents of the initial states and paths of the lower + level (encoded probabilistically in the vectors D and E of the lower + level). + + In addition, this routine will remove redundant likelihood mappings, with + only one output. Factors with only one state are consolidated into a + single factor, which plays the role of a constant term; i.e., a unitary + state that always generates the same outcome. + __________________________________________________________________________ + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_mdp2rdp.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("spm_mdp2rdp", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/spm_mdp2rdp_a.py b/spm/__toolbox/__DEM/spm_mdp2rdp_a.py new file mode 100644 index 00000000..287ac157 --- /dev/null +++ b/spm/__toolbox/__DEM/spm_mdp2rdp_a.py @@ -0,0 +1,50 @@ +from spm._runtime import Runtime + + +def spm_mdp2rdp_a(*args, **kwargs): + r""" + Converts a cell array of MDPs into a recursive MDP (Dirichlet version) + FORMAT RDP = spm_mdp2rdp_a(MDP,p,q,T,FIX) + MDP{n} - Cell array of MDPs + + MDP{n}.a - likelihood tensors (Dirichlet) + MDP{n}.b - transition tensors (Dirichlet) + MDP{n}.id.A - cell array of parents of A factors at the same level + MDP{n}.id.D - cell array of parents of D in supraordinate outcomes + MDP{n}.id.E - cell array of parents of E in supraordinate outcomes + + p - likelihood concentration; e.g., p = 1/32; [default: p = 0] + q - prior (transition) decay; e.g., q = 1/32; [default: q = 0] + T - path lengths [default: T = 2] + + FIX.A = 0 for learning likelihoods + FIX.B = 0 for learning transitions + + RDP - likelihood and transition tensors for generating this sequence + RDP.L - level or depth + RDP.T - time steps + + This auxiliary routine takes a cell array of hierarchically arranged + MDP’s and creates a single MDP where each subordinate MDP is a field of + the superordinate MDP. The vertical dependencies are encoded in the cell + arrays of parents at each level of the hierarchy, where the outcomes of + one level are the parents of the initial states and paths of the lower + level (encoded probabilistically in the vectors D and E of the lower + level). + + In addition, this routine will remove redundant likelihood mappings, with + only one output. Factors with only one state are consolidated into a + single factor, which plays the role of a constant term; i.e., a unitary + state that always generates the same outcome. + __________________________________________________________________________ + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_mdp2rdp_a.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("spm_mdp2rdp_a", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/spm_mdp_a2A.py b/spm/__toolbox/__DEM/spm_mdp_a2A.py new file mode 100644 index 00000000..e1b3f8ea --- /dev/null +++ b/spm/__toolbox/__DEM/spm_mdp_a2A.py @@ -0,0 +1,29 @@ +from spm._runtime import Runtime + + +def spm_mdp_a2A(*args, **kwargs): + r""" + Dirichlet counts into probabilities + FORMAT MDP = spm_mdp_a2A(MDP,[FIX]) + MDP{n} - Cell array of MDPs + + FIX.A = 0 for learning likelihoods [default: 1] + FIX.B = 0 for learning transitions [default: 1] + + This auxiliary routine converts Dirichlet likelihoods and (transition) + priors into expected probabilities. In other words, it replaces a with A + and b with B — for a hierarchical generative model. + + see: spm_mdp2rdp.m + __________________________________________________________________________ + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_mdp_a2A.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("spm_mdp_a2A", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/spm_mdp_compress.py b/spm/__toolbox/__DEM/spm_mdp_compress.py new file mode 100644 index 00000000..4989c18c --- /dev/null +++ b/spm/__toolbox/__DEM/spm_mdp_compress.py @@ -0,0 +1,27 @@ +from spm._runtime import Runtime + + +def spm_mdp_compress(*args, **kwargs): + r""" + FORMAT mdp = spm_mdp_compress(mdp) + mdp - MDP structure + mdp.a{g} - likelihood matrices + mdp.b{1} - prior transition tensor + + This routine compresses the likelihood and transition tensors for a + single factor, encoded in the a and B (Dirichlet) fields of mdp. This + lossless compression is based upon changes in the mutual information + (i.e., negative expected free energy) after moving Dirichlet counts among + various rows and columns. + __________________________________________________________________________ + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_mdp_compress.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("spm_mdp_compress", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/spm_merge_structure_learning.py b/spm/__toolbox/__DEM/spm_merge_structure_learning.py new file mode 100644 index 00000000..0c523df6 --- /dev/null +++ b/spm/__toolbox/__DEM/spm_merge_structure_learning.py @@ -0,0 +1,31 @@ +from spm._runtime import Runtime + + +def spm_merge_structure_learning(*args, **kwargs): + r""" + RG structure learning of a hierarchical POMDP + FORMAT MDP = spm_merge_structure_learning(O,MDP) + O{N,T} - cell array of (probabilisitc) outcomes + MDP - cell array of (renormalising) models + + This routine uses fast structure learning to append or merge new + trajectories to a recursive or renormalising generative model specified + as a cell array of Markov decision processes. It augments past + (generalised) states and transitions with new states and transitions + under the assumption that the first states have been seen before. + + See: spm_fast_structure_learning.m + spm_faster_structure_teaching.m + __________________________________________________________________________ + Copyright (C) 2005 Wellcome Trust Centre for Neuroimaging + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_merge_structure_learning.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("spm_merge_structure_learning", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/spm_meta_model.py b/spm/__toolbox/__DEM/spm_meta_model.py index 56f2d6cd..3a3a218e 100644 --- a/spm/__toolbox/__DEM/spm_meta_model.py +++ b/spm/__toolbox/__DEM/spm_meta_model.py @@ -2,7 +2,7 @@ def spm_meta_model(*args, **kwargs): - """ + r""" Meta-modelling of Bayes-optimal responses (Newton's method) FORMAT DCM = spm_meta_model(DCM) @@ -57,9 +57,12 @@ def spm_meta_model(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/spm_meta_model.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_meta_model.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_meta_model", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/spm_mountaincar_Q.py b/spm/__toolbox/__DEM/spm_mountaincar_Q.py index b76dd3d1..167ce7f7 100644 --- a/spm/__toolbox/__DEM/spm_mountaincar_Q.py +++ b/spm/__toolbox/__DEM/spm_mountaincar_Q.py @@ -2,7 +2,7 @@ def spm_mountaincar_Q(*args, **kwargs): - """ + r""" Desired ensemble density FORMAT [Q] = spm_mountaincar_Q(x) @@ -12,9 +12,12 @@ def spm_mountaincar_Q(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/spm_mountaincar_Q.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_mountaincar_Q.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_mountaincar_Q", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/spm_mountaincar_fun.py b/spm/__toolbox/__DEM/spm_mountaincar_fun.py index ad924581..0af05271 100644 --- a/spm/__toolbox/__DEM/spm_mountaincar_fun.py +++ b/spm/__toolbox/__DEM/spm_mountaincar_fun.py @@ -2,7 +2,7 @@ def spm_mountaincar_fun(*args, **kwargs): - """ + r""" [Cross-entropy] objective function for mountain car problem FORMAT [f] = spm_mountaincar_fun(P,G) @@ -28,9 +28,12 @@ def spm_mountaincar_fun(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/spm_mountaincar_fun.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_mountaincar_fun.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_mountaincar_fun", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/spm_mountaincar_movie.py b/spm/__toolbox/__DEM/spm_mountaincar_movie.py index fe7cb9ed..205077f7 100644 --- a/spm/__toolbox/__DEM/spm_mountaincar_movie.py +++ b/spm/__toolbox/__DEM/spm_mountaincar_movie.py @@ -2,7 +2,7 @@ def spm_mountaincar_movie(*args, **kwargs): - """ + r""" makes a move for mountain car problem FORMAT spm_mountaincar_movie(DEM) @@ -15,9 +15,12 @@ def spm_mountaincar_movie(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/spm_mountaincar_movie.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_mountaincar_movie.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_mountaincar_movie", *args, **kwargs, nargout=0) diff --git a/spm/__toolbox/__DEM/spm_multinomial_log_evidence.py b/spm/__toolbox/__DEM/spm_multinomial_log_evidence.py index 8e078c10..c275baae 100644 --- a/spm/__toolbox/__DEM/spm_multinomial_log_evidence.py +++ b/spm/__toolbox/__DEM/spm_multinomial_log_evidence.py @@ -2,7 +2,7 @@ def spm_multinomial_log_evidence(*args, **kwargs): - """ + r""" Bayesian model reduction for multinomial distibutions FORMAT [F,sA] = spm_multinomial_log_evidence(qA,pA,rA) @@ -20,9 +20,12 @@ def spm_multinomial_log_evidence(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/spm_multinomial_log_evidence.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_multinomial_log_evidence.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_multinomial_log_evidence", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/spm_mwt.py b/spm/__toolbox/__DEM/spm_mwt.py new file mode 100644 index 00000000..e0c0b7f4 --- /dev/null +++ b/spm/__toolbox/__DEM/spm_mwt.py @@ -0,0 +1,25 @@ +from spm._runtime import Runtime + + +def spm_mwt(*args, **kwargs): + r""" + Morlet wavelet transform (time-frequency analysis) + FORMAT [C] = spm_mwt(s,k,w) + s - (T X N) time-series + k - Frequencies (cycles per window) + w - window length + C - (w X T X N) coefficients (complex) + + see also: spm_iwft + __________________________________________________________________________ + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_mwt.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("spm_mwt", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/spm_parents.py b/spm/__toolbox/__DEM/spm_parents.py new file mode 100644 index 00000000..7946af47 --- /dev/null +++ b/spm/__toolbox/__DEM/spm_parents.py @@ -0,0 +1,57 @@ +from spm._runtime import Runtime + + +def spm_parents(*args, **kwargs): + r""" + Returns parents and children of MDP likelihood mappings + FORMAT [j,i] = spm_parents(id,g,Q) + + id - identifier or index structure + id.A{g} List of parents of A{g} + + id.ff - List of domain factors + id.fg - List of parents of A{g} under each combination of domains + id.gg - List of children of A{g} under each combination of domains + + g - index of likelihood mapping A{g} + Q - posterior over domain factors (id.ff) (or states) + + j - domain of A{g}: hidden factors (i.e., parents) + i - codomain of A{g}: outcome modalities (i.e., children) + + Returns the domain [codomains] of factors [modalities] for this + likelihood mapping. These [co] domains may or may not be state-dependent. + If they are state-dependent, the maximum a posteriori [co] domain is + returned. + + domains (parents or 'cause') and co-domains (children or 'effect') + ========================================================================== + id.A - cell array of parents of A factors at the same level + id.B - cell array of parents of B factors at the same level + id.C - cell array of parents of C priors at the same level + id.D - cell array of parents of initial state at next level + id.E - cell array of parents of initial paths at next level + + id.ff - List of domain factors + id.fg - List of parents of A{g} under each combination of domains + id.gg - List of children of A{g} under each combination of domains + + id.g{k} - Partition of selected (i.e., attended) children of A{g} + id.ge - Indices of outcomes subtending expected free energy + + id.fu - List of factors with contolled paths + id.fp - List of factors with inferred paths + + see: spm_MDP_VB_XXX.m + __________________________________________________________________________ + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_parents.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("spm_parents", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/spm_portfolio.py b/spm/__toolbox/__DEM/spm_portfolio.py new file mode 100644 index 00000000..fb14883f --- /dev/null +++ b/spm/__toolbox/__DEM/spm_portfolio.py @@ -0,0 +1,27 @@ +from spm._runtime import Runtime + + +def spm_portfolio(*args, **kwargs): + r""" + FORMAT spm_portfolio(L,DEM) + simulate portfolio managment + -------------------------------------------------------------------------- + L - rate of log return per week + I - indicator variables + U - exogenous variables + DEM - generative model + T - time of inital investment + dT - time between rebalancing + Sr - Shaarpe ratio + __________________________________________________________________________ + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_portfolio.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("spm_portfolio", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/spm_rdp2mdp.py b/spm/__toolbox/__DEM/spm_rdp2mdp.py new file mode 100644 index 00000000..9d393f79 --- /dev/null +++ b/spm/__toolbox/__DEM/spm_rdp2mdp.py @@ -0,0 +1,44 @@ +from spm._runtime import Runtime + + +def spm_rdp2mdp(*args, **kwargs): + r""" + Converts a recursive MDP into a cell array of MDPs + FORMAT MDP = spm_rdp2mdp(RDP) + + RDP - Deep (recursive) MDP (i.e., RDP.MDP.MDP...) + RDP.L - level or depth + RDP.T - time steps + + MDP{n} - Cell array of MDPs + MDP{n}.A - likelihood tensors + MDP{n}.B - transition tensors (logical) + MDP{n}.id.A - cell array of parents of A factors at the same level + MDP{n}.id.B - cell array of parents of B factors at the same level + MDP{n}.id.C - cell array of parents of C priors at the same level + MDP{n}.id.D - cell array of parents of initial state at next level + MDP{n}.id.E - cell array of parents of initial paths at next level + + FIX.A = 0 for learning likelihoods + FIX.B = 0 for learning transitions + + This auxiliary routine takes a single MDP where each subordinate MDP is a + field of the superordinate MDP and creates a cell array of hierarchically + arranged MDP’s. The vertical dependencies are encoded in the cell arrays + of parents at each level of the hierarchy, where the outcomes of one + level are the parents of the initial states and paths of the lower level + (encoded probabilistically in the vectors D and E of the lower level). + + see: spm_mdp2rdp.m + __________________________________________________________________________ + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_rdp2mdp.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("spm_rdp2mdp", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/spm_resolve.py b/spm/__toolbox/__DEM/spm_resolve.py new file mode 100644 index 00000000..7264ef72 --- /dev/null +++ b/spm/__toolbox/__DEM/spm_resolve.py @@ -0,0 +1,34 @@ +from spm._runtime import Runtime + + +def spm_resolve(*args, **kwargs): + r""" + FORMAT mdp = spm_resolve(mdp) + mdp - MDP structure + + This subroutine concerns the reduction of a likelihood tensor by moving + posterior probability mass (Dirichlet counts) and assessing the + resulting possterior beliefs (about parameters) in terms of expected free + energy which, in this instance, reduces to mutual information + + This subroutine compresses transition tensors of Dirichlet parameters + summarising the joint distribution over outcomes and states. This + compression effectively minimises expected free energy by minimising + ambiguity; namely, the average conditional entropy over outcomes over + states. Because this minimisation entails moving posterior probability + mass between states, the entropy over outcomes remains the same and + therefore minimising ambiguity corresponds to maximising the mutual + information between states and outcomes. This can also be read as + minimising information loss. + __________________________________________________________________________ + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_resolve.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("spm_resolve", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/spm_rgb2O.py b/spm/__toolbox/__DEM/spm_rgb2O.py new file mode 100644 index 00000000..f2fb70d4 --- /dev/null +++ b/spm/__toolbox/__DEM/spm_rgb2O.py @@ -0,0 +1,57 @@ +from spm._runtime import Runtime + + +def spm_rgb2O(*args, **kwargs): + r""" + RGB image format to discrete outcomes (O) + FORMAT [O,L,RGB] = spm_rgb2O(I); + + I - RGB image (pixels x pixels x 3 colours x time): uint8 + + RGB.nd - Diameter of tiles in pixels [default: 32] + RGB.nb - Number of discrete singular variates [9: must be odd] + RGB.mm - Maximum number of singular modes [32] + RGB.su - Singular value (normalised) threshold [16] + RGB.R - temporal resampling [2] + + O - Cell array of probabilistic outputs for pixel partition + L - Location of each probabilistic output modality + + RBG - structure containing image size, pixel locations, singular vectors + and bins for singular variates + + RGB.M - locations of groups + RGB.N - image size + RGB.G - cell array of outcome indices + RGB.V - singular vectors + RGB.A - singular variates + RGB.O - group index + + This routine effectively learns a basis set or receptive fields for a + sequence of images supplied in RGB like format. It uses singular value + decomposition, retaining the principal singular vectors for subsequent + compression and reconstruction. The singular variates discretised over + the range of each variate. The ensuing amortisation is saved in RGB + structure for image reconstruction. This version uses overlapping + receptive fields during the grouping and applies a Gaussian window around + the centroid of each group location. + + Crucially, these spatial grouping operators can be generalised to + spatiotemporal grouping by specifying a temporal resampling rate. In + other words, one can discretise short image sequences. + + If the basis set has already been evaluated, this routine will return the + discretised space-time voxels of any image timeseries, based upon the + pre-evaluated spatial grouping and singular vectors. + __________________________________________________________________________ + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_rgb2O.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("spm_rgb2O", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/spm_rgm_group.py b/spm/__toolbox/__DEM/spm_rgm_group.py new file mode 100644 index 00000000..688f18ee --- /dev/null +++ b/spm/__toolbox/__DEM/spm_rgm_group.py @@ -0,0 +1,33 @@ +from spm._runtime import Runtime + + +def spm_rgm_group(*args, **kwargs): + r""" + Compression of a (Dirichlet) probability tensor + FORMAT [G] = spm_rgm_group(O,dx) + O - [No x Nt cell array] of likelhoods + dx - upper bound on size of group + m - number of modalities per outcome + + This auxiliary routine takes a set of probability distributions assembled + in a cell array (outcomes times the number of instances). It then + evaluates the mutual information among outcomes. In virtue of the + positive definiteness of this matrix, one can then use the principal + eigenvector to identify a partition of outcomes: c.f., Spectral + clustering under the Perron–Frobenius theorem. Outcomes that do not share + any information with other outcomes are assigned to their own group. The + size of each subset (i.e., group) is specified with an upper bound, which + determines the scaling law in terms of the renormalisation group. + __________________________________________________________________________ + Copyright (C) 2005 Wellcome Trust Centre for Neuroimaging + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_rgm_group.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("spm_rgm_group", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/spm_salience_map.py b/spm/__toolbox/__DEM/spm_salience_map.py index 4dde9eed..f8647846 100644 --- a/spm/__toolbox/__DEM/spm_salience_map.py +++ b/spm/__toolbox/__DEM/spm_salience_map.py @@ -2,7 +2,7 @@ def spm_salience_map(*args, **kwargs): - """ + r""" creates a salience map FORMAT [S L] = spm_salience_map(M,n) @@ -14,9 +14,12 @@ def spm_salience_map(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/spm_salience_map.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_salience_map.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_salience_map", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/spm_set_costs.py b/spm/__toolbox/__DEM/spm_set_costs.py new file mode 100644 index 00000000..5439239e --- /dev/null +++ b/spm/__toolbox/__DEM/spm_set_costs.py @@ -0,0 +1,36 @@ +from spm._runtime import Runtime + + +def spm_set_costs(*args, **kwargs): + r""" + Sets prior preferences and costs MDP{n}.C{g} in a renormalising MDP + FORMAT MDP = spm_set_costs(MDP,S,chi) + MDP - Generative model (hierarchical) + S - list of modality streams; e.g. [2,3] + chi - log prior for each modality; e.g., [-8,8] + + -------------------------------------------------------------------------- + This auxiliary routine generates outcomes at successive levels of a + renormalising generative model to identify rewarding or costly outcomes + at the lowest level, to set prior preferences or costs in MDP{n}.C{g}. + These priors are specified in terms of chi, the log probability. This + means a negative chi specifies a cost and a positive chi specifies a + reward in the respective streams. + + Under these models,, a preferred or costly outcome corresponds to one or + more outcomes generated within each stream. This means that preferences + and costs are usually specified for distinct streams. In the example + above, stream 2 reports costly outcomes, while stream 3 reports preferred + outcomes. + __________________________________________________________________________ + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_set_costs.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("spm_set_costs", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/spm_set_goals.py b/spm/__toolbox/__DEM/spm_set_goals.py new file mode 100644 index 00000000..cea9bbc4 --- /dev/null +++ b/spm/__toolbox/__DEM/spm_set_goals.py @@ -0,0 +1,29 @@ +from spm._runtime import Runtime + + +def spm_set_goals(*args, **kwargs): + r""" + Gets rewarded (and restricted) states at the deepest level of an MDP + FORMAT MDP = spm_set_goals(MDP,S,chi) + MDP - Generative model (hierarchical) + S - list of modality streams; e.g., [ 2,3] + chi - log prior for each modality; e.g., [-8,8] + + -------------------------------------------------------------------------- + This auxiliary routine identifies the episodes (i.e., paths) encoded by + states at the deepest or highest level of a hierarchical MDP that entail + intended or avoided outcomes at the lowest level.These intended or costly + latent states are indexed in MDP{end}.id.hid and MDP{end}.id.cid, + respectively — in the highest level identifier field. + __________________________________________________________________________ + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_set_goals.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("spm_set_goals", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/spm_show_RGB.py b/spm/__toolbox/__DEM/spm_show_RGB.py new file mode 100644 index 00000000..0dafcced --- /dev/null +++ b/spm/__toolbox/__DEM/spm_show_RGB.py @@ -0,0 +1,32 @@ +from spm._runtime import Runtime + + +def spm_show_RGB(*args, **kwargs): + r""" + Graphical illustration of active inference + FORMAT [J,K] = spm_show_RGB(MDP,RGB,Nt,MOVIE) + MDP - Hierarchical (RG) generative model (inverted) + RGB - Structure for mapping discrete outcomes to RGB pixels + Nt - Number of timesteps to show images + MOVIE - flag for movie [default: MOVIE = 1] + + [J,K] - predicted and observed RGB time-series + + -------------------------------------------------------------------------- + This auxiliary routine plots the hierarchal outcomes from a deep + generative model. The separation of temporal scales is illustrated by + showing the outcomes as a movie saved as the user data in the current + figure. This routine separates predicted states and paths and shows the + first few (predictions and observations) in pixel space. + __________________________________________________________________________ + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_show_RGB.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("spm_show_RGB", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/spm_show_RGM.py b/spm/__toolbox/__DEM/spm_show_RGM.py new file mode 100644 index 00000000..c78e6eeb --- /dev/null +++ b/spm/__toolbox/__DEM/spm_show_RGM.py @@ -0,0 +1,29 @@ +from spm._runtime import Runtime + + +def spm_show_RGM(*args, **kwargs): + r""" + Graphical illustration of active inference + FORMAT spm_show_RGB(MDP,RGB,Nt,MOVIE) + MDP - Hierarchical (RG) generative model (inverted) + Nt - Number of timesteps to show images + MOVIE - flag for movie [default: MOVIE = 1] + + -------------------------------------------------------------------------- + This auxiliary routine plots the hierarchal outcomes from a deep + generative model. The separation of temporal scales is illustrated by + showing the outcomes as a movie saved as the user data in the current + figure. This routine separates predicted states and paths and shows the + first few (predictions and observations) in pixel space. + __________________________________________________________________________ + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_show_RGM.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("spm_show_RGM", *args, **kwargs, nargout=0) diff --git a/spm/__toolbox/__DEM/spm_show_WAV.py b/spm/__toolbox/__DEM/spm_show_WAV.py new file mode 100644 index 00000000..1797552e --- /dev/null +++ b/spm/__toolbox/__DEM/spm_show_WAV.py @@ -0,0 +1,31 @@ +from spm._runtime import Runtime + + +def spm_show_WAV(*args, **kwargs): + r""" + Graphical illustration of active inference + FORMAT spm_show_MDP(MDP,WAV) + MDP - Hierarchical (RG) generative model (inverted) + WAV - Structure for mapping discrete outcomes to WAV pixels + + -------------------------------------------------------------------------- + This auxiliary routine plots the hierarchal outcomes (posterior + predictive distributions) from a deep generative model. The separation of + temporal scales is illustrated by showing the outcomes as a sonogram. + + This version is specialised for sound files, rendering the posterior + predictions in alp come space as a solar gram. The image graphic is + equipped with a callback function that will play the corresponding sound + following an inverse wavelet transform. + __________________________________________________________________________ + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_show_WAV.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("spm_show_WAV", *args, **kwargs, nargout=0) diff --git a/spm/__toolbox/__DEM/spm_sub2ind.py b/spm/__toolbox/__DEM/spm_sub2ind.py new file mode 100644 index 00000000..103f0284 --- /dev/null +++ b/spm/__toolbox/__DEM/spm_sub2ind.py @@ -0,0 +1,37 @@ +from spm._runtime import Runtime + + +def spm_sub2ind(*args, **kwargs): + r""" + SUB2IND Linear index from multiple subscripts (without error checking). + SUB2IND is used to determine the equivalent single index + corresponding to a given set of subscript values. + + IND = SUB2IND(SIZ,I,J) returns the linear index equivalent to the + row and column subscripts in the arrays I and J for a matrix of + size SIZ. + + IND = SUB2IND(SIZ,I1,I2,...,IN) returns the linear index + equivalent to the N subscripts in the arrays I1,I2,...,IN for an + array of size SIZ. + + I1,I2,...,IN must have the same size, and IND will have the same size + as I1,I2,...,IN. For an array A, if IND = SUB2IND(SIZE(A),I1,...,IN)), + then A(IND(k))=A(I1(k),...,IN(k)) for all k. + + Class support for inputs I,J: + float: double, single + integer: uint8, int8, uint16, int16, uint32, int32, uint64, int64 + + See also IND2SUB. + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_sub2ind.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("spm_sub2ind", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/spm_tile.py b/spm/__toolbox/__DEM/spm_tile.py new file mode 100644 index 00000000..bc1b46da --- /dev/null +++ b/spm/__toolbox/__DEM/spm_tile.py @@ -0,0 +1,34 @@ +from spm._runtime import Runtime + + +def spm_tile(*args, **kwargs): + r""" + Grouping into a partition of non-overlapping outcome tiles + FORMAT [G,M,H] = spm_tile(L,d) + -------------------------------------------------------------------------- + L - locations + d - size (diameter) of tile in pixels + + G - cell array of outcome indices + M - and their locations + H - cell array of weights (c.f., receptive field) + + This routine identifies overlapping groups of pixels, returning their + mean locations and a cell array of weights (based upon radial Gaussian + basis functions) for each group. In other words, the grouping is based + upon the location of pixels; in the spirit of a receptive field afforded + by a sensory epithelium.Effectively, this leverages the conditional + independencies that inherit from local interactions; of the kind found in + metric spaces that preclude action at a distance. + -------------------------------------------------------------------------- + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_tile.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("spm_tile", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/spm_unique.py b/spm/__toolbox/__DEM/spm_unique.py new file mode 100644 index 00000000..455694bd --- /dev/null +++ b/spm/__toolbox/__DEM/spm_unique.py @@ -0,0 +1,29 @@ +from spm._runtime import Runtime + + +def spm_unique(*args, **kwargs): + r""" + Information geometry of a likelihood mapping or [probabilitic] outcome + FORMAT [i,j] = spm_unique(O) + O{n,m} - cell array of Dirichlet counts or outcomes + + returns indices (i,j) where U = O(i) and O = U(j) + where U = unique(O{:,u}) + + This routine uses the information geometry inherent in a likelihood + mapping. It computes a distance matrix based upon the information length + between columns of likelihood tensors and finds unique columns. + __________________________________________________________________________ + Karl Friston + Copyright (C) 2012-2022 Wellcome Centre for Human Neuroimaging + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_unique.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("spm_unique", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/spm_voice.py b/spm/__toolbox/__DEM/spm_voice.py index 2f447d44..8beb3db9 100644 --- a/spm/__toolbox/__DEM/spm_voice.py +++ b/spm/__toolbox/__DEM/spm_voice.py @@ -2,7 +2,7 @@ def spm_voice(*args, **kwargs): - """ + r""" Create lexical and prosody cell arrays from sound file exemplars FORMAT spm_voice(PATH) @@ -37,9 +37,12 @@ def spm_voice(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/spm_voice.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_voice.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_voice", *args, **kwargs, nargout=0) diff --git a/spm/__toolbox/__DEM/spm_voice_FS.py b/spm/__toolbox/__DEM/spm_voice_FS.py index 38f1997c..6c91c119 100644 --- a/spm/__toolbox/__DEM/spm_voice_FS.py +++ b/spm/__toolbox/__DEM/spm_voice_FS.py @@ -2,7 +2,7 @@ def spm_voice_FS(*args, **kwargs): - """ + r""" Sampling frequency and function handle for handling sound signals FORMAT [FS,read] = spm_voice_FS(wfile) @@ -16,9 +16,12 @@ def spm_voice_FS(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/spm_voice_FS.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_voice_FS.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_voice_FS", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/spm_voice_P300.py b/spm/__toolbox/__DEM/spm_voice_P300.py index 02793e3a..717481bb 100644 --- a/spm/__toolbox/__DEM/spm_voice_P300.py +++ b/spm/__toolbox/__DEM/spm_voice_P300.py @@ -2,7 +2,7 @@ def spm_voice_P300(*args, **kwargs): - """ + r""" Illustrate voice recognition with lexical priors FORMAT spm_voice_P300 @@ -28,9 +28,12 @@ def spm_voice_P300(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/spm_voice_P300.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_voice_P300.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_voice_P300", *args, **kwargs, nargout=0) diff --git a/spm/__toolbox/__DEM/spm_voice_Q.py b/spm/__toolbox/__DEM/spm_voice_Q.py index 2d29e750..87ea0b85 100644 --- a/spm/__toolbox/__DEM/spm_voice_Q.py +++ b/spm/__toolbox/__DEM/spm_voice_Q.py @@ -2,7 +2,7 @@ def spm_voice_Q(*args, **kwargs): - """ + r""" Inverse discrete cosine transform of formant coefficients FORMAT [Q,U,V] = spm_voice_Q(W,G,Ni,ni) @@ -22,9 +22,12 @@ def spm_voice_Q(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/spm_voice_Q.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_voice_Q.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_voice_Q", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/spm_voice_check.py b/spm/__toolbox/__DEM/spm_voice_check.py index c3ee3494..fe868c0a 100644 --- a/spm/__toolbox/__DEM/spm_voice_check.py +++ b/spm/__toolbox/__DEM/spm_voice_check.py @@ -2,7 +2,7 @@ def spm_voice_check(*args, **kwargs): - """ + r""" Return normalised spectral energy in acoustic range FORMAT [G,Y] = spm_voice_check(Y,FS,C) @@ -23,9 +23,12 @@ def spm_voice_check(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/spm_voice_check.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_voice_check.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_voice_check", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/spm_voice_dct.py b/spm/__toolbox/__DEM/spm_voice_dct.py index fbfc79ef..e779830b 100644 --- a/spm/__toolbox/__DEM/spm_voice_dct.py +++ b/spm/__toolbox/__DEM/spm_voice_dct.py @@ -2,7 +2,7 @@ def spm_voice_dct(*args, **kwargs): - """ + r""" Logarithmically sampled discrete cosine transform matrix FORMAT [U] = spm_voice_dct(N,K,n,[s]) @@ -16,9 +16,12 @@ def spm_voice_dct(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/spm_voice_dct.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_voice_dct.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_voice_dct", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/spm_voice_ff.py b/spm/__toolbox/__DEM/spm_voice_ff.py index e785401c..e98e8f04 100644 --- a/spm/__toolbox/__DEM/spm_voice_ff.py +++ b/spm/__toolbox/__DEM/spm_voice_ff.py @@ -2,7 +2,7 @@ def spm_voice_ff(*args, **kwargs): - """ + r""" Decomposition at fundamental frequency FORMAT [xY] = spm_voice_ff(Y,FS) @@ -54,9 +54,12 @@ def spm_voice_ff(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/spm_voice_ff.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_voice_ff.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_voice_ff", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/spm_voice_filter.py b/spm/__toolbox/__DEM/spm_voice_filter.py index dda79649..92724b50 100644 --- a/spm/__toolbox/__DEM/spm_voice_filter.py +++ b/spm/__toolbox/__DEM/spm_voice_filter.py @@ -2,7 +2,7 @@ def spm_voice_filter(*args, **kwargs): - """ + r""" Time frequency decomposition to characterise acoustic spectral envelope FORMAT [G,F0] = spm_voice_filter(Y,FS) @@ -26,9 +26,12 @@ def spm_voice_filter(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/spm_voice_filter.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_voice_filter.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_voice_filter", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/spm_voice_frequency.py b/spm/__toolbox/__DEM/spm_voice_frequency.py index 97ddd728..7e608ed8 100644 --- a/spm/__toolbox/__DEM/spm_voice_frequency.py +++ b/spm/__toolbox/__DEM/spm_voice_frequency.py @@ -2,7 +2,7 @@ def spm_voice_frequency(*args, **kwargs): - """ + r""" Segmentation of timeseries at fundamental frequency FORMAT [I] = spm_voice_frequency(Y,FS,F0) @@ -19,9 +19,12 @@ def spm_voice_frequency(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/spm_voice_frequency.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_voice_frequency.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_voice_frequency", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/spm_voice_fundamental.py b/spm/__toolbox/__DEM/spm_voice_fundamental.py index 668da5a1..2521cb58 100644 --- a/spm/__toolbox/__DEM/spm_voice_fundamental.py +++ b/spm/__toolbox/__DEM/spm_voice_fundamental.py @@ -2,7 +2,7 @@ def spm_voice_fundamental(*args, **kwargs): - """ + r""" Estimate and plot fundamental and format frequencies FORMAT [F0,F1] = spm_voice_fundamental(Y,FS) @@ -25,9 +25,12 @@ def spm_voice_fundamental(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/spm_voice_fundamental.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_voice_fundamental.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_voice_fundamental", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/spm_voice_get_LEX.py b/spm/__toolbox/__DEM/spm_voice_get_LEX.py index 49094b08..b5c1a8f8 100644 --- a/spm/__toolbox/__DEM/spm_voice_get_LEX.py +++ b/spm/__toolbox/__DEM/spm_voice_get_LEX.py @@ -2,7 +2,7 @@ def spm_voice_get_LEX(*args, **kwargs): - """ + r""" Create lexical, prosody and speaker structures from word structures FORMAT [P] = spm_voice_get_LEX(xY,word) @@ -35,9 +35,12 @@ def spm_voice_get_LEX(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/spm_voice_get_LEX.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_voice_get_LEX.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_voice_get_LEX", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/spm_voice_get_next.py b/spm/__toolbox/__DEM/spm_voice_get_next.py index 074f5725..4f33b02c 100644 --- a/spm/__toolbox/__DEM/spm_voice_get_next.py +++ b/spm/__toolbox/__DEM/spm_voice_get_next.py @@ -2,7 +2,7 @@ def spm_voice_get_next(*args, **kwargs): - """ + r""" Evaluate the likelihood of the next word in a file or object FORMAT [Y,I,FS] = spm_voice_get_next(wfile) @@ -20,9 +20,12 @@ def spm_voice_get_next(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/spm_voice_get_next.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_voice_get_next.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_voice_get_next", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/spm_voice_get_word.py b/spm/__toolbox/__DEM/spm_voice_get_word.py index d716584f..02cbf93d 100644 --- a/spm/__toolbox/__DEM/spm_voice_get_word.py +++ b/spm/__toolbox/__DEM/spm_voice_get_word.py @@ -2,7 +2,7 @@ def spm_voice_get_word(*args, **kwargs): - """ + r""" Evaluate the likelihood of the next word in a file or object FORMAT [O,I,J,F] = spm_voice_get_word(wfile,P) @@ -42,9 +42,12 @@ def spm_voice_get_word(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/spm_voice_get_word.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_voice_get_word.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_voice_get_word", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/spm_voice_get_xY.py b/spm/__toolbox/__DEM/spm_voice_get_xY.py index d7537053..c5e4f7ae 100644 --- a/spm/__toolbox/__DEM/spm_voice_get_xY.py +++ b/spm/__toolbox/__DEM/spm_voice_get_xY.py @@ -2,7 +2,7 @@ def spm_voice_get_xY(*args, **kwargs): - """ + r""" Create word arrays from sound file exemplars FORMAT [xY,word,NI] = spm_voice_get_xY(PATH) @@ -23,9 +23,12 @@ def spm_voice_get_xY(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/spm_voice_get_xY.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_voice_get_xY.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_voice_get_xY", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/spm_voice_i.py b/spm/__toolbox/__DEM/spm_voice_i.py index 899a731f..f0e2f6ff 100644 --- a/spm/__toolbox/__DEM/spm_voice_i.py +++ b/spm/__toolbox/__DEM/spm_voice_i.py @@ -2,7 +2,7 @@ def spm_voice_i(*args, **kwargs): - """ + r""" Get indices, word strings or priors from lexicon FORMAT [str] = spm_voice_i(i) FORMAT [i ] = spm_voice_i(str) @@ -13,9 +13,12 @@ def spm_voice_i(*args, **kwargs): P - corresponding array of prior probabilities - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/spm_voice_i.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_voice_i.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_voice_i", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/spm_voice_iQ.py b/spm/__toolbox/__DEM/spm_voice_iQ.py index a5160264..edbafdb3 100644 --- a/spm/__toolbox/__DEM/spm_voice_iQ.py +++ b/spm/__toolbox/__DEM/spm_voice_iQ.py @@ -2,7 +2,7 @@ def spm_voice_iQ(*args, **kwargs): - """ + r""" Discrete cosine transform of formant coefficients FORMAT [W] = spm_voice_iQ(Q) @@ -11,9 +11,12 @@ def spm_voice_iQ(*args, **kwargs): G(2) - log timing (pitch) Tv - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/spm_voice_iQ.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_voice_iQ.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_voice_iQ", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/spm_voice_identity.py b/spm/__toolbox/__DEM/spm_voice_identity.py index ae330788..49aee7f1 100644 --- a/spm/__toolbox/__DEM/spm_voice_identity.py +++ b/spm/__toolbox/__DEM/spm_voice_identity.py @@ -2,7 +2,7 @@ def spm_voice_identity(*args, **kwargs): - """ + r""" Evaluate the fundamental and formant frequencies of a speaker FORMAT [F0,F1] = spm_voice_identity(wfile,P) @@ -22,9 +22,12 @@ def spm_voice_identity(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/spm_voice_identity.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_voice_identity.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_voice_identity", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/spm_voice_iff.py b/spm/__toolbox/__DEM/spm_voice_iff.py index b39cdec0..622f7f7b 100644 --- a/spm/__toolbox/__DEM/spm_voice_iff.py +++ b/spm/__toolbox/__DEM/spm_voice_iff.py @@ -2,7 +2,7 @@ def spm_voice_iff(*args, **kwargs): - """ + r""" Inverse decomposition at fundamental frequency FORMAT [Y,W] = spm_voice_iff(xY) @@ -18,9 +18,12 @@ def spm_voice_iff(*args, **kwargs): xY.P.inf - inflection (a.u.) - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/spm_voice_iff.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_voice_iff.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_voice_iff", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/spm_voice_likelihood.py b/spm/__toolbox/__DEM/spm_voice_likelihood.py index 6bf69d45..8a997e79 100644 --- a/spm/__toolbox/__DEM/spm_voice_likelihood.py +++ b/spm/__toolbox/__DEM/spm_voice_likelihood.py @@ -2,7 +2,7 @@ def spm_voice_likelihood(*args, **kwargs): - """ + r""" Return the lexical likelihood FORMAT [L,M,N] = spm_voice_likelihood(xY,w) @@ -35,9 +35,12 @@ def spm_voice_likelihood(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/spm_voice_likelihood.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_voice_likelihood.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_voice_likelihood", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/spm_voice_onset.py b/spm/__toolbox/__DEM/spm_voice_onset.py index 08180471..51d14c68 100644 --- a/spm/__toolbox/__DEM/spm_voice_onset.py +++ b/spm/__toolbox/__DEM/spm_voice_onset.py @@ -2,7 +2,7 @@ def spm_voice_onset(*args, **kwargs): - """ + r""" Identify intervals containing acoustic energy and post onset minima FORMAT [i] = spm_voice_onset(Y,FS,u,v) @@ -24,9 +24,12 @@ def spm_voice_onset(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/spm_voice_onset.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_voice_onset.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_voice_onset", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/spm_voice_onsets.py b/spm/__toolbox/__DEM/spm_voice_onsets.py index 35414426..3fc08ba0 100644 --- a/spm/__toolbox/__DEM/spm_voice_onsets.py +++ b/spm/__toolbox/__DEM/spm_voice_onsets.py @@ -2,7 +2,7 @@ def spm_voice_onsets(*args, **kwargs): - """ + r""" Identify intervals containing acoustic energy and post onset minima FORMAT [I] = spm_voice_onsets(Y,FS,C,U) @@ -12,9 +12,12 @@ def spm_voice_onsets(*args, **kwargs): U - crossing threshold [Default: 1/8 a.u] - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/spm_voice_onsets.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_voice_onsets.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_voice_onsets", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/spm_voice_read.py b/spm/__toolbox/__DEM/spm_voice_read.py index f3f2a563..04a77793 100644 --- a/spm/__toolbox/__DEM/spm_voice_read.py +++ b/spm/__toolbox/__DEM/spm_voice_read.py @@ -2,7 +2,7 @@ def spm_voice_read(*args, **kwargs): - """ + r""" Read and translate a sound file or audio source FORMAT [SEG,W,P,R] = spm_voice_read(wfile,[P]) @@ -39,9 +39,12 @@ def spm_voice_read(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/spm_voice_read.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_voice_read.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_voice_read", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/spm_voice_repeat.py b/spm/__toolbox/__DEM/spm_voice_repeat.py index b54eec87..22061534 100644 --- a/spm/__toolbox/__DEM/spm_voice_repeat.py +++ b/spm/__toolbox/__DEM/spm_voice_repeat.py @@ -2,7 +2,7 @@ def spm_voice_repeat(*args, **kwargs): - """ + r""" Illustrates voice recognition FORMAT spm_voice_repeat @@ -17,9 +17,12 @@ def spm_voice_repeat(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/spm_voice_repeat.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_voice_repeat.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_voice_repeat", *args, **kwargs, nargout=0) diff --git a/spm/__toolbox/__DEM/spm_voice_segmentation.py b/spm/__toolbox/__DEM/spm_voice_segmentation.py index 19e98751..f1e2d4b2 100644 --- a/spm/__toolbox/__DEM/spm_voice_segmentation.py +++ b/spm/__toolbox/__DEM/spm_voice_segmentation.py @@ -2,8 +2,8 @@ def spm_voice_segmentation(*args, **kwargs): - """ - Plot the results of a segmented sound fileor audio stream + r""" + Plot the results of a segmented sound file or audio stream FORMAT [EEG,PST] = spm_voice_segmentation(wfile,SEG) wfile - (double) timeseries, .wav file or audiorecorder object @@ -30,9 +30,12 @@ def spm_voice_segmentation(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/spm_voice_segmentation.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_voice_segmentation.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_voice_segmentation", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/spm_voice_speak.py b/spm/__toolbox/__DEM/spm_voice_speak.py index 32b8717b..47e38e94 100644 --- a/spm/__toolbox/__DEM/spm_voice_speak.py +++ b/spm/__toolbox/__DEM/spm_voice_speak.py @@ -2,7 +2,7 @@ def spm_voice_speak(*args, **kwargs): - """ + r""" Generate a continuous state space word discrete causes FORMAT [xY,Y] = spm_voice_speak(q,p,r) @@ -33,9 +33,12 @@ def spm_voice_speak(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/spm_voice_speak.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_voice_speak.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_voice_speak", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/spm_voice_test.py b/spm/__toolbox/__DEM/spm_voice_test.py index 9bb961d0..305a0236 100644 --- a/spm/__toolbox/__DEM/spm_voice_test.py +++ b/spm/__toolbox/__DEM/spm_voice_test.py @@ -2,7 +2,7 @@ def spm_voice_test(*args, **kwargs): - """ + r""" Read and translate a sound file to assess recognition accuracy FORMAT [L] = spm_voice_test(wfile,sfile) @@ -23,9 +23,12 @@ def spm_voice_test(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/spm_voice_test.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_voice_test.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_voice_test", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/spm_voice_warp.py b/spm/__toolbox/__DEM/spm_voice_warp.py index 6a954cd4..e773dfed 100644 --- a/spm/__toolbox/__DEM/spm_voice_warp.py +++ b/spm/__toolbox/__DEM/spm_voice_warp.py @@ -2,7 +2,7 @@ def spm_voice_warp(*args, **kwargs): - """ + r""" Resample a vector to normalise the phase at a particular frequency FORMAT [I] = spm_voice_warp(Y,N) @@ -20,9 +20,12 @@ def spm_voice_warp(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/DEM/spm_voice_warp.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_voice_warp.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_voice_warp", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/spm_wav2O.py b/spm/__toolbox/__DEM/spm_wav2O.py new file mode 100644 index 00000000..3915e7e6 --- /dev/null +++ b/spm/__toolbox/__DEM/spm_wav2O.py @@ -0,0 +1,55 @@ +from spm._runtime import Runtime + + +def spm_wav2O(*args, **kwargs): + r""" + WAV image format to discrete outcomes (O) + FORMAT [O,L,WAV] = spm_wav2O(I,WAV) + + I - WAV image (frequency bins x time) + + WAV.nd - Size of tiles in frequency bins [default: 4] + WAV.nb - Number of discrete singular variates [9] + WAV.mm - Maximum number of singular modes [32] + WAV.su - Singular value (normalised) threshold [16] + WAV.R - temporal resampling [512] + + O - Cell array of probabilistic outputs for partition + L - Location of each probabilistic output modality + + WAV - structure containing image size, pixel locations, singular vectors + and bins for singular variates + + WAV.M - locations of groups + WAV.N - image size + WAV.G - cell array of outcome indices + WAV.V - singular vectors + WAV.A - singular variates + WAV.O - group index + + This routine effectively learns a basis set or receptive fields for a + sequence of images supplied in WAV like format. It uses singular value + decomposition, retaining the principal singular vectors for subsequent + compression and reconstruction. The singular variates discretised over + the range of each variate. The ensuing amortisation is saved in WAV + structure for sonogram reconstruction. This version uses overlapping + receptive fields during the grouping and applies a Gaussian window around + the centroid of each group location. + + Crucially, these spatial grouping operators can be generalised to + spatiotemporal grouping by specifying a temporal resampling rate. In + other words, one can discretise short sequences. This version is + specialised for one-dimensional images; namely, frequency bins times + time bins. + __________________________________________________________________________ + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_wav2O.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("spm_wav2O", *args, **kwargs) diff --git a/spm/__toolbox/__DEM/spm_wavshow.py b/spm/__toolbox/__DEM/spm_wavshow.py new file mode 100644 index 00000000..f6fe6815 --- /dev/null +++ b/spm/__toolbox/__DEM/spm_wavshow.py @@ -0,0 +1,28 @@ +from spm._runtime import Runtime + + +def spm_wavshow(*args, **kwargs): + r""" + rendering of a WAV sequence + FORMAT [s] = spm_wavshow(I,WAV) + I - sonogram + WAV - structure + s - sound + + This auxiliary routine plays the sound in a time frequency matrix (I), + following an inverse wavelet transform. If called with no output + arguments, it will also plot the sonogram (time frequency representation) + and a sound file (timeseries) sampled from the sonogram (and sets the + ButtonDownFcn of the sonogram image to play the sound). + __________________________________________________________________________ + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/DEM/spm_wavshow.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("spm_wavshow", *args, **kwargs) diff --git a/spm/__toolbox/__FieldMap/FieldMap.py b/spm/__toolbox/__FieldMap/FieldMap.py index dbacc9c0..0a94f496 100644 --- a/spm/__toolbox/__FieldMap/FieldMap.py +++ b/spm/__toolbox/__FieldMap/FieldMap.py @@ -2,7 +2,7 @@ def FieldMap(*args, **kwargs): - """ + r""" FieldMap is an SPM Toolbox for creating field maps and unwarping EPI. A full description of the toolbox and a usage manual can be found in FieldMap.md. This can launched by the toolbox help button or using @@ -54,13 +54,10 @@ def FieldMap(*args, **kwargs): .bmask IP.mflags : Struct containing parameters for brain maskin - .template : Name of template for segmentation. .fwhm : fwhm of smoothing kernel for generating mask. .nerode : number of erosions .ndilate : number of dilations .thresh : threshold for smoothed mask. - .reg : bias field regularisation - .graphics : display or not IP.fm : Struct containing field map information IP.fm.upm : Phase-unwrapped field map (Hz). @@ -109,9 +106,12 @@ def FieldMap(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/FieldMap/FieldMap.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/FieldMap/FieldMap.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("FieldMap", *args, **kwargs) diff --git a/spm/__toolbox/__FieldMap/FieldMap_Run.py b/spm/__toolbox/__FieldMap/FieldMap_Run.py index 0340d187..d4d7a47b 100644 --- a/spm/__toolbox/__FieldMap/FieldMap_Run.py +++ b/spm/__toolbox/__FieldMap/FieldMap_Run.py @@ -2,7 +2,7 @@ def FieldMap_Run(*args, **kwargs): - """ + r""" Auxillary file for running FieldMap jobs FORMAT vdm = FieldMap_Run(job) @@ -34,9 +34,12 @@ def FieldMap_Run(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/FieldMap/FieldMap_Run.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/FieldMap/FieldMap_Run.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("FieldMap_Run", *args, **kwargs) diff --git a/spm/__toolbox/__FieldMap/FieldMap_applyvdm.py b/spm/__toolbox/__FieldMap/FieldMap_applyvdm.py index d34ca128..97d236bf 100644 --- a/spm/__toolbox/__FieldMap/FieldMap_applyvdm.py +++ b/spm/__toolbox/__FieldMap/FieldMap_applyvdm.py @@ -2,7 +2,7 @@ def FieldMap_applyvdm(*args, **kwargs): - """ + r""" Apply VDM and reslice images FORMAT FieldMap_applyvdm(job) job.data(sessnum).scans - images for session/run sessnum @@ -39,9 +39,12 @@ def FieldMap_applyvdm(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/FieldMap/FieldMap_applyvdm.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/FieldMap/FieldMap_applyvdm.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("FieldMap_applyvdm", *args, **kwargs) diff --git a/spm/__toolbox/__FieldMap/FieldMap_create.py b/spm/__toolbox/__FieldMap/FieldMap_create.py index 2ea525e0..a36b8357 100644 --- a/spm/__toolbox/__FieldMap/FieldMap_create.py +++ b/spm/__toolbox/__FieldMap/FieldMap_create.py @@ -2,7 +2,7 @@ def FieldMap_create(*args, **kwargs): - """ + r""" Function to create VDM file from fieldmap images and can be called using FieldMap_preprocess.m @@ -21,9 +21,12 @@ def FieldMap_create(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/FieldMap/FieldMap_create.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/FieldMap/FieldMap_create.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("FieldMap_create", *args, **kwargs) diff --git a/spm/__toolbox/__FieldMap/FieldMap_preprocess.py b/spm/__toolbox/__FieldMap/FieldMap_preprocess.py index 89ead7e4..9d663a70 100644 --- a/spm/__toolbox/__FieldMap/FieldMap_preprocess.py +++ b/spm/__toolbox/__FieldMap/FieldMap_preprocess.py @@ -2,7 +2,7 @@ def FieldMap_preprocess(*args, **kwargs): - """ + r""" Function to prepare fieldmap data for processing FORMAT VDM = FieldMap_preprocess(fm_dir,epi_dir,pm_defs,sessname) @@ -68,9 +68,12 @@ def FieldMap_preprocess(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/FieldMap/FieldMap_preprocess.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/FieldMap/FieldMap_preprocess.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("FieldMap_preprocess", *args, **kwargs) diff --git a/spm/__toolbox/__FieldMap/__init__.py b/spm/__toolbox/__FieldMap/__init__.py index 9b8cf96e..fafbbf25 100644 --- a/spm/__toolbox/__FieldMap/__init__.py +++ b/spm/__toolbox/__FieldMap/__init__.py @@ -19,7 +19,6 @@ from .pm_pad import pm_pad from .pm_restore_ramp import pm_restore_ramp from .pm_seed import pm_seed -from .pm_segment import pm_segment from .pm_smooth_phasemap import pm_smooth_phasemap from .pm_unwrap import pm_unwrap from .tbx_cfg_fieldmap import tbx_cfg_fieldmap @@ -47,7 +46,6 @@ "pm_pad", "pm_restore_ramp", "pm_seed", - "pm_segment", "pm_smooth_phasemap", "pm_unwrap", "tbx_cfg_fieldmap" diff --git a/spm/__toolbox/__FieldMap/pm_angvar.py b/spm/__toolbox/__FieldMap/pm_angvar.py index ff22ba86..075453ab 100644 --- a/spm/__toolbox/__FieldMap/pm_angvar.py +++ b/spm/__toolbox/__FieldMap/pm_angvar.py @@ -2,7 +2,7 @@ def pm_angvar(*args, **kwargs): - """ + r""" Estimates the (voxelwise) variance of the angle estimated from the complex map cmap. FORMAT: angvar = pm_angvar(cmap) @@ -19,9 +19,12 @@ def pm_angvar(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/FieldMap/pm_angvar.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/FieldMap/pm_angvar.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("pm_angvar", *args, **kwargs) diff --git a/spm/__toolbox/__FieldMap/pm_brain_mask.py b/spm/__toolbox/__FieldMap/pm_brain_mask.py index c4e4029a..341aba26 100644 --- a/spm/__toolbox/__FieldMap/pm_brain_mask.py +++ b/spm/__toolbox/__FieldMap/pm_brain_mask.py @@ -2,7 +2,7 @@ def pm_brain_mask(*args, **kwargs): - """ + r""" Calculate a brain mask FORMAT bmask = pm_brain_mask(P,flags) @@ -30,9 +30,12 @@ def pm_brain_mask(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/FieldMap/pm_brain_mask.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/FieldMap/pm_brain_mask.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("pm_brain_mask", *args, **kwargs) diff --git a/spm/__toolbox/__FieldMap/pm_create_connectogram.py b/spm/__toolbox/__FieldMap/pm_create_connectogram.py index 4b81682d..8934aaf5 100644 --- a/spm/__toolbox/__FieldMap/pm_create_connectogram.py +++ b/spm/__toolbox/__FieldMap/pm_create_connectogram.py @@ -2,7 +2,7 @@ def pm_create_connectogram(*args, **kwargs): - """ + r""" Create vectors corresponding to a connectogram based on label-map. FORMAT [ii,jj,nn,pp] = pm_create_connectogram(rima,pm) or @@ -58,9 +58,12 @@ def pm_create_connectogram(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/FieldMap/pm_create_connectogram.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/FieldMap/pm_create_connectogram.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("pm_create_connectogram", *args, **kwargs) diff --git a/spm/__toolbox/__FieldMap/pm_diff.py b/spm/__toolbox/__FieldMap/pm_diff.py index 1ef29f85..d13848bd 100644 --- a/spm/__toolbox/__FieldMap/pm_diff.py +++ b/spm/__toolbox/__FieldMap/pm_diff.py @@ -2,7 +2,7 @@ def pm_diff(*args, **kwargs): - """ + r""" Calculate derivative in one direction of volume (matrix or memory mapped) FORMAT D = pm_diff(V,dir) V - 3D array, or filestruct returned from spm_vol @@ -12,9 +12,12 @@ def pm_diff(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/FieldMap/pm_diff.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/FieldMap/pm_diff.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("pm_diff", *args, **kwargs) diff --git a/spm/__toolbox/__FieldMap/pm_estimate_ramp.py b/spm/__toolbox/__FieldMap/pm_estimate_ramp.py index 58c38eb6..26b3e49f 100644 --- a/spm/__toolbox/__FieldMap/pm_estimate_ramp.py +++ b/spm/__toolbox/__FieldMap/pm_estimate_ramp.py @@ -2,7 +2,7 @@ def pm_estimate_ramp(*args, **kwargs): - """ + r""" Estimate and remove linear phase-ramps in the x-, y- and z-direction in pm FORMAT [ramps,pm] = pm_estimate_ramp(pm,mask) @@ -24,9 +24,12 @@ def pm_estimate_ramp(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/FieldMap/pm_estimate_ramp.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/FieldMap/pm_estimate_ramp.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("pm_estimate_ramp", *args, **kwargs) diff --git a/spm/__toolbox/__FieldMap/pm_ff_unwrap.py b/spm/__toolbox/__FieldMap/pm_ff_unwrap.py index b02b91f8..12b28cdc 100644 --- a/spm/__toolbox/__FieldMap/pm_ff_unwrap.py +++ b/spm/__toolbox/__FieldMap/pm_ff_unwrap.py @@ -2,7 +2,7 @@ def pm_ff_unwrap(*args, **kwargs): - """ + r""" Performs phase-unwrapping along the shore of a flood-fill progressing from some seed in a low-variance area towards higher variance areas. @@ -40,9 +40,12 @@ def pm_ff_unwrap(*args, **kwargs): _______________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/FieldMap/pm_ff_unwrap.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/FieldMap/pm_ff_unwrap.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("pm_ff_unwrap", *args, **kwargs) diff --git a/spm/__toolbox/__FieldMap/pm_get_defaults.py b/spm/__toolbox/__FieldMap/pm_get_defaults.py index 576ad1ed..2219b150 100644 --- a/spm/__toolbox/__FieldMap/pm_get_defaults.py +++ b/spm/__toolbox/__FieldMap/pm_get_defaults.py @@ -2,7 +2,7 @@ def pm_get_defaults(*args, **kwargs): - """ + r""" FORMAT defval = pm_get_defaults(defstr) Return the defaults value associated with identifier "defstr". Currently, this is a '.' subscript reference into the global @@ -18,9 +18,12 @@ def pm_get_defaults(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/FieldMap/pm_get_defaults.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/FieldMap/pm_get_defaults.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("pm_get_defaults", *args, **kwargs) diff --git a/spm/__toolbox/__FieldMap/pm_initial_regions.py b/spm/__toolbox/__FieldMap/pm_initial_regions.py index fdb974c4..087efcad 100644 --- a/spm/__toolbox/__FieldMap/pm_initial_regions.py +++ b/spm/__toolbox/__FieldMap/pm_initial_regions.py @@ -2,7 +2,7 @@ def pm_initial_regions(*args, **kwargs): - """ + r""" Divides 2 or 3D phasemap (pm) into nstep equally wide angle ranges and returns the connected components of those. @@ -35,9 +35,12 @@ def pm_initial_regions(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/FieldMap/pm_initial_regions.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/FieldMap/pm_initial_regions.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("pm_initial_regions", *args, **kwargs) diff --git a/spm/__toolbox/__FieldMap/pm_invert_phasemap.py b/spm/__toolbox/__FieldMap/pm_invert_phasemap.py index 642a1686..d7ee7399 100644 --- a/spm/__toolbox/__FieldMap/pm_invert_phasemap.py +++ b/spm/__toolbox/__FieldMap/pm_invert_phasemap.py @@ -2,7 +2,7 @@ def pm_invert_phasemap(*args, **kwargs): - """ + r""" Inverting phasemaps (trickier than it sounds). FORMAT ipm = invert_phasemap(pm) or @@ -32,9 +32,12 @@ def pm_invert_phasemap(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/FieldMap/pm_invert_phasemap.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/FieldMap/pm_invert_phasemap.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("pm_invert_phasemap", *args, **kwargs) diff --git a/spm/__toolbox/__FieldMap/pm_make_fieldmap.py b/spm/__toolbox/__FieldMap/pm_make_fieldmap.py index 5710ed52..3a080296 100644 --- a/spm/__toolbox/__FieldMap/pm_make_fieldmap.py +++ b/spm/__toolbox/__FieldMap/pm_make_fieldmap.py @@ -2,7 +2,7 @@ def pm_make_fieldmap(*args, **kwargs): - """ + r""" This function creates an unwrapped fieldmap (in Hz) from either a single or double echo complex image volume. In the case of a "single-echo" image, that will have been created by the vendor @@ -73,9 +73,12 @@ def pm_make_fieldmap(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/FieldMap/pm_make_fieldmap.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/FieldMap/pm_make_fieldmap.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("pm_make_fieldmap", *args, **kwargs) diff --git a/spm/__toolbox/__FieldMap/pm_mask.py b/spm/__toolbox/__FieldMap/pm_mask.py index 0cc81b44..123d0020 100644 --- a/spm/__toolbox/__FieldMap/pm_mask.py +++ b/spm/__toolbox/__FieldMap/pm_mask.py @@ -2,7 +2,7 @@ def pm_mask(*args, **kwargs): - """ + r""" Create a mask that will determine how far to proceed with phase unwrapping FORMAT mask = pm_mask(angvar,mthrea,ndil) @@ -25,9 +25,12 @@ def pm_mask(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/FieldMap/pm_mask.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/FieldMap/pm_mask.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("pm_mask", *args, **kwargs) diff --git a/spm/__toolbox/__FieldMap/pm_merge_regions.py b/spm/__toolbox/__FieldMap/pm_merge_regions.py index ad616842..922a16c4 100644 --- a/spm/__toolbox/__FieldMap/pm_merge_regions.py +++ b/spm/__toolbox/__FieldMap/pm_merge_regions.py @@ -2,7 +2,7 @@ def pm_merge_regions(*args, **kwargs): - """ + r""" Merges regions as defined in connectogram to minimise total costfunction (sum of phase-differences across region borders). @@ -75,9 +75,12 @@ def pm_merge_regions(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/FieldMap/pm_merge_regions.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/FieldMap/pm_merge_regions.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("pm_merge_regions", *args, **kwargs) diff --git a/spm/__toolbox/__FieldMap/pm_merge_regions_m.py b/spm/__toolbox/__FieldMap/pm_merge_regions_m.py index 40f5cb50..12d48f27 100644 --- a/spm/__toolbox/__FieldMap/pm_merge_regions_m.py +++ b/spm/__toolbox/__FieldMap/pm_merge_regions_m.py @@ -2,7 +2,7 @@ def pm_merge_regions_m(*args, **kwargs): - """ + r""" Merges regions as defined in connectogram to minimise total costfunction (sum of phase-differences across region borders). @@ -94,9 +94,12 @@ def pm_merge_regions_m(*args, **kwargs): _________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/FieldMap/pm_merge_regions_m.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/FieldMap/pm_merge_regions_m.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("pm_merge_regions_m", *args, **kwargs) diff --git a/spm/__toolbox/__FieldMap/pm_pad.py b/spm/__toolbox/__FieldMap/pm_pad.py index 1b3245cc..496a4f7e 100644 --- a/spm/__toolbox/__FieldMap/pm_pad.py +++ b/spm/__toolbox/__FieldMap/pm_pad.py @@ -2,7 +2,7 @@ def pm_pad(*args, **kwargs): - """ + r""" Pads a (partially) unwrapped phasemap such that the phase at a non-unwrapped location is a weighted average of unwrapped neighbouring phase-values. @@ -24,9 +24,12 @@ def pm_pad(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/FieldMap/pm_pad.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/FieldMap/pm_pad.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("pm_pad", *args, **kwargs) diff --git a/spm/__toolbox/__FieldMap/pm_restore_ramp.py b/spm/__toolbox/__FieldMap/pm_restore_ramp.py index 42eea362..c6a38fe5 100644 --- a/spm/__toolbox/__FieldMap/pm_restore_ramp.py +++ b/spm/__toolbox/__FieldMap/pm_restore_ramp.py @@ -2,7 +2,7 @@ def pm_restore_ramp(*args, **kwargs): - """ + r""" Restores linear phase-ramps in the x-, y- and z-direction that has previously been removed from pm by pm_estimate_ramp. @@ -28,9 +28,12 @@ def pm_restore_ramp(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/FieldMap/pm_restore_ramp.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/FieldMap/pm_restore_ramp.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("pm_restore_ramp", *args, **kwargs) diff --git a/spm/__toolbox/__FieldMap/pm_seed.py b/spm/__toolbox/__FieldMap/pm_seed.py index c4c4ce92..f50707b8 100644 --- a/spm/__toolbox/__FieldMap/pm_seed.py +++ b/spm/__toolbox/__FieldMap/pm_seed.py @@ -2,7 +2,7 @@ def pm_seed(*args, **kwargs): - """ + r""" Find a suitable (hopefully) seed point from which to start watershed-based unwrapping. FORMAT: seed = pm_seed(angvar,mask,pxs) @@ -33,9 +33,12 @@ def pm_seed(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/FieldMap/pm_seed.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/FieldMap/pm_seed.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("pm_seed", *args, **kwargs) diff --git a/spm/__toolbox/__FieldMap/pm_smooth_phasemap.py b/spm/__toolbox/__FieldMap/pm_smooth_phasemap.py index f5ca2241..d1a955a8 100644 --- a/spm/__toolbox/__FieldMap/pm_smooth_phasemap.py +++ b/spm/__toolbox/__FieldMap/pm_smooth_phasemap.py @@ -2,7 +2,7 @@ def pm_smooth_phasemap(*args, **kwargs): - """ + r""" Performs a weighted (by 1/angvar) gaussian smoothing of a phasemap FORMAT pm = pm_smooth_phasemap(pm,angvar,vxs,fwhm) @@ -15,9 +15,12 @@ def pm_smooth_phasemap(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/FieldMap/pm_smooth_phasemap.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/FieldMap/pm_smooth_phasemap.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("pm_smooth_phasemap", *args, **kwargs) diff --git a/spm/__toolbox/__FieldMap/pm_unwrap.py b/spm/__toolbox/__FieldMap/pm_unwrap.py index 29896f5c..26ae9617 100644 --- a/spm/__toolbox/__FieldMap/pm_unwrap.py +++ b/spm/__toolbox/__FieldMap/pm_unwrap.py @@ -2,7 +2,7 @@ def pm_unwrap(*args, **kwargs): - """ + r""" Unwrapping of phasemap When measuring phase one cannot easily distinguish between e.g. a phase of 182 degrees, and one of -178 degrees. One tries to distinguish these @@ -68,9 +68,12 @@ def pm_unwrap(*args, **kwargs): quantitative evaluation. NeuroImage 16:217-240. - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/FieldMap/pm_unwrap.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/FieldMap/pm_unwrap.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("pm_unwrap", *args, **kwargs) diff --git a/spm/__toolbox/__FieldMap/tbx_cfg_fieldmap.py b/spm/__toolbox/__FieldMap/tbx_cfg_fieldmap.py index b8338f04..584b0959 100644 --- a/spm/__toolbox/__FieldMap/tbx_cfg_fieldmap.py +++ b/spm/__toolbox/__FieldMap/tbx_cfg_fieldmap.py @@ -2,14 +2,17 @@ def tbx_cfg_fieldmap(*args, **kwargs): - """ + r""" MATLABBATCH Configuration file for toolbox 'FieldMap' __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/FieldMap/tbx_cfg_fieldmap.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/FieldMap/tbx_cfg_fieldmap.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("tbx_cfg_fieldmap", *args, **kwargs) diff --git a/spm/__toolbox/__Longitudinal/spm_compute_avg_mat.py b/spm/__toolbox/__Longitudinal/spm_compute_avg_mat.py index a65034d7..95a6ecdb 100644 --- a/spm/__toolbox/__Longitudinal/spm_compute_avg_mat.py +++ b/spm/__toolbox/__Longitudinal/spm_compute_avg_mat.py @@ -2,7 +2,7 @@ def spm_compute_avg_mat(*args, **kwargs): - """ + r""" Compute an average voxel-to-world mapping and suitable dimensions FORMAT [M_avg,d] = spm_compute_avg_mat(Mat0,dims) Mat0 - array of matrices (4x4xN) @@ -12,9 +12,12 @@ def spm_compute_avg_mat(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/Longitudinal/spm_compute_avg_mat.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/Longitudinal/spm_compute_avg_mat.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_compute_avg_mat", *args, **kwargs) diff --git a/spm/__toolbox/__Longitudinal/spm_dexpm.py b/spm/__toolbox/__Longitudinal/spm_dexpm.py index 91635c14..6fe22bb2 100644 --- a/spm/__toolbox/__Longitudinal/spm_dexpm.py +++ b/spm/__toolbox/__Longitudinal/spm_dexpm.py @@ -2,7 +2,7 @@ def spm_dexpm(*args, **kwargs): - """ + r""" Differentiate a matrix exponential FORMAT [E,dE] = spm_dexpm(A,dA) A - Lie algebra @@ -17,9 +17,12 @@ def spm_dexpm(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/Longitudinal/spm_dexpm.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/Longitudinal/spm_dexpm.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_dexpm", *args, **kwargs) diff --git a/spm/__toolbox/__Longitudinal/spm_groupwise_ls.py b/spm/__toolbox/__Longitudinal/spm_groupwise_ls.py index 91480280..6f4f16d3 100644 --- a/spm/__toolbox/__Longitudinal/spm_groupwise_ls.py +++ b/spm/__toolbox/__Longitudinal/spm_groupwise_ls.py @@ -2,7 +2,7 @@ def spm_groupwise_ls(*args, **kwargs): - """ + r""" Groupwise registration via least squares FORMAT out = spm_groupwise_ls(Nii, output, prec, w_settings, b_settings, s_settings, ord) Nii - a nifti object for two or more image volumes. @@ -30,9 +30,12 @@ def spm_groupwise_ls(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/Longitudinal/spm_groupwise_ls.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/Longitudinal/spm_groupwise_ls.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_groupwise_ls", *args, **kwargs) diff --git a/spm/__toolbox/__Longitudinal/spm_meanm.py b/spm/__toolbox/__Longitudinal/spm_meanm.py index b397ebb7..f8b19d9f 100644 --- a/spm/__toolbox/__Longitudinal/spm_meanm.py +++ b/spm/__toolbox/__Longitudinal/spm_meanm.py @@ -2,7 +2,7 @@ def spm_meanm(*args, **kwargs): - """ + r""" Compute barycentre of matrix exponentials FORMAT M = spm_meanm(A) A - A 3D array, where each slice is a matrix @@ -14,9 +14,12 @@ def spm_meanm(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/Longitudinal/spm_meanm.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/Longitudinal/spm_meanm.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_meanm", *args, **kwargs) diff --git a/spm/__toolbox/__Longitudinal/spm_noise_estimate.py b/spm/__toolbox/__Longitudinal/spm_noise_estimate.py index 2a565418..5bb7f9a5 100644 --- a/spm/__toolbox/__Longitudinal/spm_noise_estimate.py +++ b/spm/__toolbox/__Longitudinal/spm_noise_estimate.py @@ -2,7 +2,7 @@ def spm_noise_estimate(*args, **kwargs): - """ + r""" Estimate average noise from a series of images FORMAT [noise,mu_val,info] = spm_noise_estimate(scans,K) scans - nifti objects or filenames of images @@ -17,9 +17,12 @@ def spm_noise_estimate(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/Longitudinal/spm_noise_estimate.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/Longitudinal/spm_noise_estimate.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_noise_estimate", *args, **kwargs) diff --git a/spm/__toolbox/__Longitudinal/spm_pairwise.py b/spm/__toolbox/__Longitudinal/spm_pairwise.py index 8f97b16a..f4b51341 100644 --- a/spm/__toolbox/__Longitudinal/spm_pairwise.py +++ b/spm/__toolbox/__Longitudinal/spm_pairwise.py @@ -2,16 +2,19 @@ def spm_pairwise(*args, **kwargs): - """ + r""" Longitudinal registration of image pairs FORMAT out = spm_pairwise(job) See tbx_cfg_longitudinal.m for a description of the various fields. __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/Longitudinal/spm_pairwise.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/Longitudinal/spm_pairwise.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_pairwise", *args, **kwargs) diff --git a/spm/__toolbox/__Longitudinal/spm_rice_mixture.py b/spm/__toolbox/__Longitudinal/spm_rice_mixture.py index 399a1ecc..efeea24b 100644 --- a/spm/__toolbox/__Longitudinal/spm_rice_mixture.py +++ b/spm/__toolbox/__Longitudinal/spm_rice_mixture.py @@ -2,7 +2,7 @@ def spm_rice_mixture(*args, **kwargs): - """ + r""" Fit a mixture of Ricians to a histogram FORMAT [mg,nu,sig,info] = spm_rice_mixture(h,x,K) h - histogram counts @@ -25,9 +25,12 @@ def spm_rice_mixture(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/Longitudinal/spm_rice_mixture.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/Longitudinal/spm_rice_mixture.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_rice_mixture", *args, **kwargs) diff --git a/spm/__toolbox/__Longitudinal/spm_series_align.py b/spm/__toolbox/__Longitudinal/spm_series_align.py index 4b4eec3d..ed1de71c 100644 --- a/spm/__toolbox/__Longitudinal/spm_series_align.py +++ b/spm/__toolbox/__Longitudinal/spm_series_align.py @@ -2,15 +2,18 @@ def spm_series_align(*args, **kwargs): - """ + r""" Longitudinal registration of image series FORMAT out = spm_series_align(job) __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/Longitudinal/spm_series_align.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/Longitudinal/spm_series_align.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_series_align", *args, **kwargs) diff --git a/spm/__toolbox/__Longitudinal/tbx_cfg_longitudinal.py b/spm/__toolbox/__Longitudinal/tbx_cfg_longitudinal.py index bc4af9d2..2ecd42e3 100644 --- a/spm/__toolbox/__Longitudinal/tbx_cfg_longitudinal.py +++ b/spm/__toolbox/__Longitudinal/tbx_cfg_longitudinal.py @@ -2,14 +2,17 @@ def tbx_cfg_longitudinal(*args, **kwargs): - """ + r""" MATLABBATCH Configuration file for toolbox 'Longitudinal' __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/Longitudinal/tbx_cfg_longitudinal.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/Longitudinal/tbx_cfg_longitudinal.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("tbx_cfg_longitudinal", *args, **kwargs) diff --git a/spm/__toolbox/__MB/fil_fit.py b/spm/__toolbox/__MB/fil_fit.py index 8005ef62..f4476413 100644 --- a/spm/__toolbox/__MB/fil_fit.py +++ b/spm/__toolbox/__MB/fil_fit.py @@ -2,7 +2,7 @@ def fil_fit(*args, **kwargs): - """ + r""" Bohning bound CCA stuff FORMAT [mod,Z,V] = fil_fit(F,sett,ind,p,mod,Z,Z0,P0) F{l} - Nvox x M x N @@ -16,9 +16,12 @@ def fil_fit(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/MB/fil_fit.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/MB/fil_fit.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("fil_fit", *args, **kwargs) diff --git a/spm/__toolbox/__MB/fil_install.py b/spm/__toolbox/__MB/fil_install.py index 936a1e7a..d3ffb686 100644 --- a/spm/__toolbox/__MB/fil_install.py +++ b/spm/__toolbox/__MB/fil_install.py @@ -2,7 +2,7 @@ def fil_install(*args, **kwargs): - """ + r""" Download files required for Factorisation-based Image Labelling FORMAT [mufile,filfile] = fil_install(datadir) @@ -10,9 +10,12 @@ def fil_install(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/MB/fil_install.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/MB/fil_install.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("fil_install", *args, **kwargs) diff --git a/spm/__toolbox/__MB/fil_io.py b/spm/__toolbox/__MB/fil_io.py index 58a9ab4f..c0d94157 100644 --- a/spm/__toolbox/__MB/fil_io.py +++ b/spm/__toolbox/__MB/fil_io.py @@ -2,7 +2,7 @@ def fil_io(*args, **kwargs): - """ + r""" Function handles for I/O, used by fil_train FORMAT io = fil_io io - Structure of function handles @@ -30,9 +30,12 @@ def fil_io(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/MB/fil_io.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/MB/fil_io.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("fil_io", *args, **kwargs) diff --git a/spm/__toolbox/__MB/fil_label.py b/spm/__toolbox/__MB/fil_label.py index fee37f5e..d47f2947 100644 --- a/spm/__toolbox/__MB/fil_label.py +++ b/spm/__toolbox/__MB/fil_label.py @@ -2,7 +2,7 @@ def fil_label(*args, **kwargs): - """ + r""" Label image(s) FORMAT files = fil_label(fil,mbsett,mbdat,iterations,vsett_scale,odir,df,Mf) fil - a trained model (see fil_train) loaded with @@ -25,9 +25,12 @@ def fil_label(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/MB/fil_label.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/MB/fil_label.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("fil_label", *args, **kwargs) diff --git a/spm/__toolbox/__MB/fil_prec.py b/spm/__toolbox/__MB/fil_prec.py index 55ef16cb..d21d75e7 100644 --- a/spm/__toolbox/__MB/fil_prec.py +++ b/spm/__toolbox/__MB/fil_prec.py @@ -2,7 +2,7 @@ def fil_prec(*args, **kwargs): - """ + r""" Attach matrices for computing priors FORMAT model = fil_prec(model,sett) model - The learned model from fil_train @@ -15,9 +15,12 @@ def fil_prec(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/MB/fil_prec.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/MB/fil_prec.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("fil_prec", *args, **kwargs) diff --git a/spm/__toolbox/__MB/fil_prune.py b/spm/__toolbox/__MB/fil_prune.py index eec746f5..39568b24 100644 --- a/spm/__toolbox/__MB/fil_prune.py +++ b/spm/__toolbox/__MB/fil_prune.py @@ -2,7 +2,7 @@ def fil_prune(*args, **kwargs): - """ + r""" Prune the model FORMAT model = fil_prune(model,sett,p) model - The learned model from fil_train @@ -12,9 +12,12 @@ def fil_prune(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/MB/fil_prune.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/MB/fil_prune.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("fil_prune", *args, **kwargs) diff --git a/spm/__toolbox/__MB/fil_push_train_data.py b/spm/__toolbox/__MB/fil_push_train_data.py index f7fe78e7..49924879 100644 --- a/spm/__toolbox/__MB/fil_push_train_data.py +++ b/spm/__toolbox/__MB/fil_push_train_data.py @@ -2,7 +2,7 @@ def fil_push_train_data(*args, **kwargs): - """ + r""" Generate ``modulated categorical data'' for fil training FORMAT fil_push_train_data(dw, Mw, Niiy, Nii1) dw - image dimensions of output @@ -23,9 +23,12 @@ def fil_push_train_data(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/MB/fil_push_train_data.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/MB/fil_push_train_data.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("fil_push_train_data", *args, **kwargs, nargout=0) diff --git a/spm/__toolbox/__MB/fil_subvol.py b/spm/__toolbox/__MB/fil_subvol.py index 11f95d11..7cee5af3 100644 --- a/spm/__toolbox/__MB/fil_subvol.py +++ b/spm/__toolbox/__MB/fil_subvol.py @@ -2,7 +2,7 @@ def fil_subvol(*args, **kwargs): - """ + r""" Dimensions and voxel-to world mapping of a subvolume FORMAT [d,M] = fil_subvol(Nii,bb) Nii - SPM NIfTI object @@ -10,9 +10,12 @@ def fil_subvol(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/MB/fil_subvol.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/MB/fil_subvol.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("fil_subvol", *args, **kwargs) diff --git a/spm/__toolbox/__MB/fil_train.py b/spm/__toolbox/__MB/fil_train.py index dfb52760..245989b8 100644 --- a/spm/__toolbox/__MB/fil_train.py +++ b/spm/__toolbox/__MB/fil_train.py @@ -2,7 +2,7 @@ def fil_train(*args, **kwargs): - """ + r""" Fit the patch-wise CCA-like model. FORMAT model = fil_train(data,sett,model) data - a data structure encoding the images used, as well as the @@ -22,9 +22,12 @@ def fil_train(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/MB/fil_train.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/MB/fil_train.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("fil_train", *args, **kwargs) diff --git a/spm/__toolbox/__MB/spm_label.py b/spm/__toolbox/__MB/spm_label.py index 9242cac8..d4b409ac 100644 --- a/spm/__toolbox/__MB/spm_label.py +++ b/spm/__toolbox/__MB/spm_label.py @@ -2,15 +2,18 @@ def spm_label(*args, **kwargs): - """ + r""" Factorisation-based Image Labelling FORMAT out = spm_label(cfg) __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/MB/spm_label.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/MB/spm_label.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_label", *args, **kwargs) diff --git a/spm/__toolbox/__MB/spm_mb_appearance.py b/spm/__toolbox/__MB/spm_mb_appearance.py index 1afea78f..aa674306 100644 --- a/spm/__toolbox/__MB/spm_mb_appearance.py +++ b/spm/__toolbox/__MB/spm_mb_appearance.py @@ -2,7 +2,7 @@ def spm_mb_appearance(*args, **kwargs): - """ + r""" FORMAT chan = spm_mb_appearance('inu_basis',T,df,Mat,reg,samp) FORMAT [inu,ll] = spm_mb_appearance('inu_field',T,chan,d,varargin) @@ -14,9 +14,12 @@ def spm_mb_appearance(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/MB/spm_mb_appearance.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/MB/spm_mb_appearance.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_mb_appearance", *args, **kwargs) diff --git a/spm/__toolbox/__MB/spm_mb_classes.py b/spm/__toolbox/__MB/spm_mb_classes.py index 2c7595b2..be0a496a 100644 --- a/spm/__toolbox/__MB/spm_mb_classes.py +++ b/spm/__toolbox/__MB/spm_mb_classes.py @@ -2,7 +2,7 @@ def spm_mb_classes(*args, **kwargs): - """ + r""" Get tissue classes FORMAT [P,dat] = spm_mb_classes(dat,mu,sett) dat - Data structure for a subject @@ -17,9 +17,12 @@ def spm_mb_classes(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/MB/spm_mb_classes.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/MB/spm_mb_classes.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_mb_classes", *args, **kwargs) diff --git a/spm/__toolbox/__MB/spm_mb_fit.py b/spm/__toolbox/__MB/spm_mb_fit.py index d7d7681e..fe3021d0 100644 --- a/spm/__toolbox/__MB/spm_mb_fit.py +++ b/spm/__toolbox/__MB/spm_mb_fit.py @@ -2,7 +2,7 @@ def spm_mb_fit(*args, **kwargs): - """ + r""" Multi-Brain - Groupwise normalisation and segmentation of images FORMAT [dat,sett,mu] = spm_mb_fit(dat,sett) @@ -14,9 +14,12 @@ def spm_mb_fit(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/MB/spm_mb_fit.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/MB/spm_mb_fit.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_mb_fit", *args, **kwargs) diff --git a/spm/__toolbox/__MB/spm_mb_gmm.py b/spm/__toolbox/__MB/spm_mb_gmm.py index 9709b269..6b6eaa18 100644 --- a/spm/__toolbox/__MB/spm_mb_gmm.py +++ b/spm/__toolbox/__MB/spm_mb_gmm.py @@ -2,15 +2,18 @@ def spm_mb_gmm(*args, **kwargs): - """ + r""" FORMAT varargout = spm_mb_gmm(varargin) __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/MB/spm_mb_gmm.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/MB/spm_mb_gmm.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_mb_gmm", *args, **kwargs) diff --git a/spm/__toolbox/__MB/spm_mb_init.py b/spm/__toolbox/__MB/spm_mb_init.py index c3e23d51..f49a4d17 100644 --- a/spm/__toolbox/__MB/spm_mb_init.py +++ b/spm/__toolbox/__MB/spm_mb_init.py @@ -2,15 +2,18 @@ def spm_mb_init(*args, **kwargs): - """ + r""" Initialisation of Multi-Brain data structures FORMAT [dat,sett] = spm_mb_init(cfg) __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/MB/spm_mb_init.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/MB/spm_mb_init.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_mb_init", *args, **kwargs) diff --git a/spm/__toolbox/__MB/spm_mb_io.py b/spm/__toolbox/__MB/spm_mb_io.py index 84780534..84cad2f5 100644 --- a/spm/__toolbox/__MB/spm_mb_io.py +++ b/spm/__toolbox/__MB/spm_mb_io.py @@ -2,7 +2,7 @@ def spm_mb_io(*args, **kwargs): - """ + r""" File I/O Multi-Brain functionalities FORMAT fn = spm_mb_io('get_image',datn) @@ -14,9 +14,12 @@ def spm_mb_io(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/MB/spm_mb_io.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/MB/spm_mb_io.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_mb_io", *args, **kwargs) diff --git a/spm/__toolbox/__MB/spm_mb_merge.py b/spm/__toolbox/__MB/spm_mb_merge.py index 7d1dadc6..6db24e35 100644 --- a/spm/__toolbox/__MB/spm_mb_merge.py +++ b/spm/__toolbox/__MB/spm_mb_merge.py @@ -2,15 +2,18 @@ def spm_mb_merge(*args, **kwargs): - """ + r""" Combine tissue maps together FORMAT out = spm_mb_merge(cfg) __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/MB/spm_mb_merge.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/MB/spm_mb_merge.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_mb_merge", *args, **kwargs) diff --git a/spm/__toolbox/__MB/spm_mb_output.py b/spm/__toolbox/__MB/spm_mb_output.py index 3ee2c80a..f598aa31 100644 --- a/spm/__toolbox/__MB/spm_mb_output.py +++ b/spm/__toolbox/__MB/spm_mb_output.py @@ -2,15 +2,18 @@ def spm_mb_output(*args, **kwargs): - """ + r""" Write output from groupwise normalisation and segmentation of images FORMAT res = spm_mb_output(cfg) __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/MB/spm_mb_output.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/MB/spm_mb_output.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_mb_output", *args, **kwargs) diff --git a/spm/__toolbox/__MB/spm_mb_shape.py b/spm/__toolbox/__MB/spm_mb_shape.py index 5de73027..e2c978e3 100644 --- a/spm/__toolbox/__MB/spm_mb_shape.py +++ b/spm/__toolbox/__MB/spm_mb_shape.py @@ -2,7 +2,7 @@ def spm_mb_shape(*args, **kwargs): - """ + r""" Shape model FORMAT psi0 = spm_mb_shape('affine',d,Mat) @@ -30,9 +30,12 @@ def spm_mb_shape(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/MB/spm_mb_shape.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/MB/spm_mb_shape.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_mb_shape", *args, **kwargs) diff --git a/spm/__toolbox/__MB/spm_mbnorm.py b/spm/__toolbox/__MB/spm_mbnorm.py index e653e1fc..be9430da 100644 --- a/spm/__toolbox/__MB/spm_mbnorm.py +++ b/spm/__toolbox/__MB/spm_mbnorm.py @@ -2,7 +2,7 @@ def spm_mbnorm(*args, **kwargs): - """ + r""" Quick spatial normalisation with MB FORMAT spm_mbnorm(P) P - an array of filenames of scans (one per subject) @@ -11,9 +11,12 @@ def spm_mbnorm(*args, **kwargs): spatially normalising images. - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/MB/spm_mbnorm.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/MB/spm_mbnorm.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_mbnorm", *args, **kwargs) diff --git a/spm/__toolbox/__MB/tbx_cfg_mb.py b/spm/__toolbox/__MB/tbx_cfg_mb.py index d5a251f2..0385612a 100644 --- a/spm/__toolbox/__MB/tbx_cfg_mb.py +++ b/spm/__toolbox/__MB/tbx_cfg_mb.py @@ -2,14 +2,17 @@ def tbx_cfg_mb(*args, **kwargs): - """ + r""" MATLABBATCH Configuration file for toolbox 'Multi-Brain' _____________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/MB/tbx_cfg_mb.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/MB/tbx_cfg_mb.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("tbx_cfg_mb", *args, **kwargs) diff --git a/spm/__toolbox/__MEEGtools/__init__.py b/spm/__toolbox/__MEEGtools/__init__.py index bf6c2261..5b06a6ca 100644 --- a/spm/__toolbox/__MEEGtools/__init__.py +++ b/spm/__toolbox/__MEEGtools/__init__.py @@ -17,6 +17,7 @@ from .spm_eeg_inv_optireg import spm_eeg_inv_optireg from .spm_eeg_megheadloc import spm_eeg_megheadloc from .spm_eeg_recode_epoched_ctf import spm_eeg_recode_epoched_ctf +from .spm_eeg_remove_dbs_artefact import spm_eeg_remove_dbs_artefact from .spm_eeg_remove_jumps import spm_eeg_remove_jumps from .spm_eeg_remove_spikes import spm_eeg_remove_spikes from .spm_eeg_reref_eeg import spm_eeg_reref_eeg @@ -25,6 +26,8 @@ from .spm_eeg_transform_cap import spm_eeg_transform_cap from .spm_eeg_var_measures import spm_eeg_var_measures from .spm_mesh_pack_points import spm_mesh_pack_points +from .spm_opm_apply_calibration import spm_opm_apply_calibration +from .spm_opm_calibrate_from_coils import spm_opm_calibrate_from_coils from .spm_opm_create import spm_opm_create from .spm_opm_epoch_trigger import spm_opm_epoch_trigger from .spm_opm_headmodel import spm_opm_headmodel @@ -35,6 +38,7 @@ from .spm_opm_read_lvm import spm_opm_read_lvm from .spm_opm_rpsd import spm_opm_rpsd from .spm_opm_sim import spm_opm_sim +from .spm_opm_ssp import spm_opm_ssp from .spm_opm_synth_gradiometer import spm_opm_synth_gradiometer from .spm_opm_vslm import spm_opm_vslm @@ -59,6 +63,7 @@ "spm_eeg_inv_optireg", "spm_eeg_megheadloc", "spm_eeg_recode_epoched_ctf", + "spm_eeg_remove_dbs_artefact", "spm_eeg_remove_jumps", "spm_eeg_remove_spikes", "spm_eeg_reref_eeg", @@ -67,6 +72,8 @@ "spm_eeg_transform_cap", "spm_eeg_var_measures", "spm_mesh_pack_points", + "spm_opm_apply_calibration", + "spm_opm_calibrate_from_coils", "spm_opm_create", "spm_opm_epoch_trigger", "spm_opm_headmodel", @@ -77,6 +84,7 @@ "spm_opm_read_lvm", "spm_opm_rpsd", "spm_opm_sim", + "spm_opm_ssp", "spm_opm_synth_gradiometer", "spm_opm_vslm" ] diff --git a/spm/__toolbox/__MEEGtools/_bst_prctile.py b/spm/__toolbox/__MEEGtools/_bst_prctile.py index 335bbdb1..ee9898cb 100644 --- a/spm/__toolbox/__MEEGtools/_bst_prctile.py +++ b/spm/__toolbox/__MEEGtools/_bst_prctile.py @@ -2,15 +2,18 @@ def _bst_prctile(*args, **kwargs): - """ + r""" BST_PRCTILE: Returns the percentile value in vector USAGE: value = bst_prctile(vector, percentile) - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/MEEGtools/private/bst_prctile.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/MEEGtools/private/bst_prctile.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("bst_prctile", *args, **kwargs) diff --git a/spm/__toolbox/__MEEGtools/_bst_progress.py b/spm/__toolbox/__MEEGtools/_bst_progress.py index 09f26569..97f48c6c 100644 --- a/spm/__toolbox/__MEEGtools/_bst_progress.py +++ b/spm/__toolbox/__MEEGtools/_bst_progress.py @@ -2,13 +2,16 @@ def _bst_progress(*args, **kwargs): - """ + r""" Dummy function to be able to use BST code unmodified - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/MEEGtools/private/bst_progress.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/MEEGtools/private/bst_progress.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("bst_progress", *args, **kwargs) diff --git a/spm/__toolbox/__MEEGtools/_macro_method.py b/spm/__toolbox/__MEEGtools/_macro_method.py index bb7a914e..3202d255 100644 --- a/spm/__toolbox/__MEEGtools/_macro_method.py +++ b/spm/__toolbox/__MEEGtools/_macro_method.py @@ -2,13 +2,16 @@ def _macro_method(*args, **kwargs): - """ + r""" MACRO_METHOD: Script to insert at the beginning of all the brainstorm class functions - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/MEEGtools/private/macro_method.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/MEEGtools/private/macro_method.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("macro_method", *args, **kwargs) diff --git a/spm/__toolbox/__MEEGtools/_process_fooof.py b/spm/__toolbox/__MEEGtools/_process_fooof.py index 6b4c0e4d..de2d9fdb 100644 --- a/spm/__toolbox/__MEEGtools/_process_fooof.py +++ b/spm/__toolbox/__MEEGtools/_process_fooof.py @@ -2,7 +2,7 @@ def _process_fooof(*args, **kwargs): - """ + r""" PROCESS_FOOOF: Applies the "Fitting Oscillations and One Over F" (specparam) algorithm on a Welch's PSD REFERENCE: Please cite the original algorithm: @@ -12,9 +12,12 @@ def _process_fooof(*args, **kwargs): Nature Neuroscience (2020) - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/MEEGtools/private/process_fooof.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/MEEGtools/private/process_fooof.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("process_fooof", *args, **kwargs) diff --git a/spm/__toolbox/__MEEGtools/spm_MEEGtools.py b/spm/__toolbox/__MEEGtools/spm_MEEGtools.py index 43cfce6b..0960c2b7 100644 --- a/spm/__toolbox/__MEEGtools/spm_MEEGtools.py +++ b/spm/__toolbox/__MEEGtools/spm_MEEGtools.py @@ -2,7 +2,7 @@ def spm_MEEGtools(*args, **kwargs): - """ + r""" GUI gateway to MEEGtools toolbox Disclaimer: the code in this directory is provided as an example and is @@ -13,9 +13,12 @@ def spm_MEEGtools(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/MEEGtools/spm_MEEGtools.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/MEEGtools/spm_MEEGtools.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_MEEGtools", *args, **kwargs, nargout=0) diff --git a/spm/__toolbox/__MEEGtools/spm_create_labels.py b/spm/__toolbox/__MEEGtools/spm_create_labels.py index edfacca6..224dc0e2 100644 --- a/spm/__toolbox/__MEEGtools/spm_create_labels.py +++ b/spm/__toolbox/__MEEGtools/spm_create_labels.py @@ -2,7 +2,7 @@ def spm_create_labels(*args, **kwargs): - """ + r""" Create n numbered labels using a base string as template FORMAT labels = spm_create_labels(S) S - input structure @@ -21,9 +21,12 @@ def spm_create_labels(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/MEEGtools/spm_create_labels.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/MEEGtools/spm_create_labels.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_create_labels", *args, **kwargs) diff --git a/spm/__toolbox/__MEEGtools/spm_eeg_bst_fooof.py b/spm/__toolbox/__MEEGtools/spm_eeg_bst_fooof.py index 86ea0a27..21dad0bd 100644 --- a/spm/__toolbox/__MEEGtools/spm_eeg_bst_fooof.py +++ b/spm/__toolbox/__MEEGtools/spm_eeg_bst_fooof.py @@ -2,7 +2,7 @@ def spm_eeg_bst_fooof(*args, **kwargs): - """ + r""" Remove the aperiodic component from the spectrum using the FOOOF algorithm Donoghue et al. (2020). Nature Neuroscience, 23, 1655-1665. @@ -32,9 +32,12 @@ def spm_eeg_bst_fooof(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/MEEGtools/spm_eeg_bst_fooof.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/MEEGtools/spm_eeg_bst_fooof.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_eeg_bst_fooof", *args, **kwargs) diff --git a/spm/__toolbox/__MEEGtools/spm_eeg_cont_power.py b/spm/__toolbox/__MEEGtools/spm_eeg_cont_power.py index 18c00d8e..1539b244 100644 --- a/spm/__toolbox/__MEEGtools/spm_eeg_cont_power.py +++ b/spm/__toolbox/__MEEGtools/spm_eeg_cont_power.py @@ -2,7 +2,7 @@ def spm_eeg_cont_power(*args, **kwargs): - """ + r""" Compute power of continuous M/EEG data FORMAT D = spm_eeg_cont_power(S) @@ -18,9 +18,12 @@ def spm_eeg_cont_power(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/MEEGtools/spm_eeg_cont_power.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/MEEGtools/spm_eeg_cont_power.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_eeg_cont_power", *args, **kwargs) diff --git a/spm/__toolbox/__MEEGtools/spm_eeg_ctf_synth_gradiometer.py b/spm/__toolbox/__MEEGtools/spm_eeg_ctf_synth_gradiometer.py index 46bd7417..0523f08e 100644 --- a/spm/__toolbox/__MEEGtools/spm_eeg_ctf_synth_gradiometer.py +++ b/spm/__toolbox/__MEEGtools/spm_eeg_ctf_synth_gradiometer.py @@ -2,7 +2,7 @@ def spm_eeg_ctf_synth_gradiometer(*args, **kwargs): - """ + r""" Apply CTF synthetic gradiometry to MEG data FORMAT D = spm_opm_synth_gradiometer(S) S - input structure @@ -18,9 +18,12 @@ def spm_eeg_ctf_synth_gradiometer(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/MEEGtools/spm_eeg_ctf_synth_gradiometer.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/MEEGtools/spm_eeg_ctf_synth_gradiometer.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_eeg_ctf_synth_gradiometer", *args, **kwargs) diff --git a/spm/__toolbox/__MEEGtools/spm_eeg_dipole_waveforms.py b/spm/__toolbox/__MEEGtools/spm_eeg_dipole_waveforms.py index 9bb5380f..fd92c52c 100644 --- a/spm/__toolbox/__MEEGtools/spm_eeg_dipole_waveforms.py +++ b/spm/__toolbox/__MEEGtools/spm_eeg_dipole_waveforms.py @@ -2,7 +2,7 @@ def spm_eeg_dipole_waveforms(*args, **kwargs): - """ + r""" Function for extracting source data using dipoles. FORMAT sD = spm_eeg_dipole_waveforms(S) @@ -20,9 +20,12 @@ def spm_eeg_dipole_waveforms(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/MEEGtools/spm_eeg_dipole_waveforms.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/MEEGtools/spm_eeg_dipole_waveforms.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_eeg_dipole_waveforms", *args, **kwargs) diff --git a/spm/__toolbox/__MEEGtools/spm_eeg_erp_correction.py b/spm/__toolbox/__MEEGtools/spm_eeg_erp_correction.py index ecdaa4ca..b8185f42 100644 --- a/spm/__toolbox/__MEEGtools/spm_eeg_erp_correction.py +++ b/spm/__toolbox/__MEEGtools/spm_eeg_erp_correction.py @@ -2,7 +2,7 @@ def spm_eeg_erp_correction(*args, **kwargs): - """ + r""" Applies corrections to ERPs or single trials as in DCM-ERP This can be used to make a sensor level analysis or source reconstruction consistent with DCM. @@ -20,9 +20,12 @@ def spm_eeg_erp_correction(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/MEEGtools/spm_eeg_erp_correction.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/MEEGtools/spm_eeg_erp_correction.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_eeg_erp_correction", *args, **kwargs) diff --git a/spm/__toolbox/__MEEGtools/spm_eeg_ffilter.py b/spm/__toolbox/__MEEGtools/spm_eeg_ffilter.py index 6194a6c6..f8871f27 100644 --- a/spm/__toolbox/__MEEGtools/spm_eeg_ffilter.py +++ b/spm/__toolbox/__MEEGtools/spm_eeg_ffilter.py @@ -2,7 +2,7 @@ def spm_eeg_ffilter(*args, **kwargs): - """ + r""" Filter M/EEG data (optimised for long datasets) FORMAT D = spm_eeg_filter(S) @@ -23,14 +23,18 @@ def spm_eeg_ffilter(*args, **kwargs): 'onepass-reverse': reverse filter only, i.e. backward in time 'twopass': zero-phase forward and reverse filter S.prefix - prefix for the output file [default: 'f'] - + S.chunkSize - size data segment (MB) to be filtered (default 200) + Currently only set up for single epoch data D - MEEG object (also written to disk) __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/MEEGtools/spm_eeg_ffilter.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/MEEGtools/spm_eeg_ffilter.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_eeg_ffilter", *args, **kwargs) diff --git a/spm/__toolbox/__MEEGtools/spm_eeg_fix_ctf_headloc.py b/spm/__toolbox/__MEEGtools/spm_eeg_fix_ctf_headloc.py index 19dec93b..9972db05 100644 --- a/spm/__toolbox/__MEEGtools/spm_eeg_fix_ctf_headloc.py +++ b/spm/__toolbox/__MEEGtools/spm_eeg_fix_ctf_headloc.py @@ -2,7 +2,7 @@ def spm_eeg_fix_ctf_headloc(*args, **kwargs): - """ + r""" Fix head localization data in a continuous CTF dataset with continuous head localization. The tracking has to be valid at least some of the time @@ -29,9 +29,12 @@ def spm_eeg_fix_ctf_headloc(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/MEEGtools/spm_eeg_fix_ctf_headloc.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/MEEGtools/spm_eeg_fix_ctf_headloc.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_eeg_fix_ctf_headloc", *args, **kwargs) diff --git a/spm/__toolbox/__MEEGtools/spm_eeg_ft_artefact_visual.py b/spm/__toolbox/__MEEGtools/spm_eeg_ft_artefact_visual.py index 88cdabeb..a7f06b69 100644 --- a/spm/__toolbox/__MEEGtools/spm_eeg_ft_artefact_visual.py +++ b/spm/__toolbox/__MEEGtools/spm_eeg_ft_artefact_visual.py @@ -2,7 +2,7 @@ def spm_eeg_ft_artefact_visual(*args, **kwargs): - """ + r""" Function for interactive artefact rejection using Fieldtrip Disclaimer: this code is provided as an example and is not guaranteed to work @@ -13,9 +13,12 @@ def spm_eeg_ft_artefact_visual(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/MEEGtools/spm_eeg_ft_artefact_visual.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/MEEGtools/spm_eeg_ft_artefact_visual.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_eeg_ft_artefact_visual", *args, **kwargs) diff --git a/spm/__toolbox/__MEEGtools/spm_eeg_ft_datareg_manual.py b/spm/__toolbox/__MEEGtools/spm_eeg_ft_datareg_manual.py index fec3c5a6..65d25986 100644 --- a/spm/__toolbox/__MEEGtools/spm_eeg_ft_datareg_manual.py +++ b/spm/__toolbox/__MEEGtools/spm_eeg_ft_datareg_manual.py @@ -2,7 +2,7 @@ def spm_eeg_ft_datareg_manual(*args, **kwargs): - """ + r""" Data registration user-interface routine commands the EEG/MEG data co-registration within original sMRI space @@ -13,9 +13,12 @@ def spm_eeg_ft_datareg_manual(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/MEEGtools/spm_eeg_ft_datareg_manual.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/MEEGtools/spm_eeg_ft_datareg_manual.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_eeg_ft_datareg_manual", *args, **kwargs) diff --git a/spm/__toolbox/__MEEGtools/spm_eeg_ft_megplanar.py b/spm/__toolbox/__MEEGtools/spm_eeg_ft_megplanar.py index f0bf3125..52f1b001 100644 --- a/spm/__toolbox/__MEEGtools/spm_eeg_ft_megplanar.py +++ b/spm/__toolbox/__MEEGtools/spm_eeg_ft_megplanar.py @@ -2,7 +2,7 @@ def spm_eeg_ft_megplanar(*args, **kwargs): - """ + r""" Function for transforming MEG data to planar gradient FORMAT D = spm_eeg_ft_megplanar(S) @@ -17,9 +17,12 @@ def spm_eeg_ft_megplanar(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/MEEGtools/spm_eeg_ft_megplanar.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/MEEGtools/spm_eeg_ft_megplanar.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_eeg_ft_megplanar", *args, **kwargs) diff --git a/spm/__toolbox/__MEEGtools/spm_eeg_ft_multitaper_coherence.py b/spm/__toolbox/__MEEGtools/spm_eeg_ft_multitaper_coherence.py index 877643b9..730cd89a 100644 --- a/spm/__toolbox/__MEEGtools/spm_eeg_ft_multitaper_coherence.py +++ b/spm/__toolbox/__MEEGtools/spm_eeg_ft_multitaper_coherence.py @@ -2,7 +2,7 @@ def spm_eeg_ft_multitaper_coherence(*args, **kwargs): - """ + r""" Function for computing time-frequency decomposition using multitaper WARNING: This function uses some quite specific settings and is not generic. It is @@ -30,9 +30,12 @@ def spm_eeg_ft_multitaper_coherence(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/MEEGtools/spm_eeg_ft_multitaper_coherence.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/MEEGtools/spm_eeg_ft_multitaper_coherence.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_eeg_ft_multitaper_coherence", *args, **kwargs) diff --git a/spm/__toolbox/__MEEGtools/spm_eeg_headplot.py b/spm/__toolbox/__MEEGtools/spm_eeg_headplot.py index 23afb09f..cf8fef45 100644 --- a/spm/__toolbox/__MEEGtools/spm_eeg_headplot.py +++ b/spm/__toolbox/__MEEGtools/spm_eeg_headplot.py @@ -2,7 +2,7 @@ def spm_eeg_headplot(*args, **kwargs): - """ + r""" SPM interface to headplot function from EEGLAB FORMAT spm_eeg_headplot(Y, D, H) @@ -13,9 +13,12 @@ def spm_eeg_headplot(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/MEEGtools/spm_eeg_headplot.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/MEEGtools/spm_eeg_headplot.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_eeg_headplot", *args, **kwargs, nargout=0) diff --git a/spm/__toolbox/__MEEGtools/spm_eeg_img2maps.py b/spm/__toolbox/__MEEGtools/spm_eeg_img2maps.py index 0830541d..694520e3 100644 --- a/spm/__toolbox/__MEEGtools/spm_eeg_img2maps.py +++ b/spm/__toolbox/__MEEGtools/spm_eeg_img2maps.py @@ -2,7 +2,7 @@ def spm_eeg_img2maps(*args, **kwargs): - """ + r""" Make a series of scalp maps from data in an image FORMAT spm_eeg_img2maps(S) @@ -15,9 +15,12 @@ def spm_eeg_img2maps(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/MEEGtools/spm_eeg_img2maps.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/MEEGtools/spm_eeg_img2maps.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_eeg_img2maps", *args, **kwargs, nargout=0) diff --git a/spm/__toolbox/__MEEGtools/spm_eeg_interpolate_artefact.py b/spm/__toolbox/__MEEGtools/spm_eeg_interpolate_artefact.py index 8a23e628..5f10f5c2 100644 --- a/spm/__toolbox/__MEEGtools/spm_eeg_interpolate_artefact.py +++ b/spm/__toolbox/__MEEGtools/spm_eeg_interpolate_artefact.py @@ -2,13 +2,14 @@ def spm_eeg_interpolate_artefact(*args, **kwargs): - """ + r""" 'Baseline Correction' for M/EEG data FORMAT D = spm_eeg_interpolate_artefact(S) S - optional input struct (optional) fields of S: S.D - MEEG object or filename of M/EEG mat-file with epoched data + S.method - 'linear' or 'spline' (default) S.time - 2-element vector with start and end of baseline period [ms] D - MEEG object (also saved on disk if requested) @@ -18,9 +19,12 @@ def spm_eeg_interpolate_artefact(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/MEEGtools/spm_eeg_interpolate_artefact.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/MEEGtools/spm_eeg_interpolate_artefact.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_eeg_interpolate_artefact", *args, **kwargs) diff --git a/spm/__toolbox/__MEEGtools/spm_eeg_inv_optireg.py b/spm/__toolbox/__MEEGtools/spm_eeg_inv_optireg.py index 712aa85a..15f755d9 100644 --- a/spm/__toolbox/__MEEGtools/spm_eeg_inv_optireg.py +++ b/spm/__toolbox/__MEEGtools/spm_eeg_inv_optireg.py @@ -2,7 +2,7 @@ def spm_eeg_inv_optireg(*args, **kwargs): - """ + r""" D = spm_eeg_inv_optireg(S) Registers a template anatomical to SPM M/EEG dataset, using the fiducial information obtained from an optical scanning system at the FIL, as a @@ -27,9 +27,12 @@ def spm_eeg_inv_optireg(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/MEEGtools/spm_eeg_inv_optireg.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/MEEGtools/spm_eeg_inv_optireg.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_eeg_inv_optireg", *args, **kwargs) diff --git a/spm/__toolbox/__MEEGtools/spm_eeg_megheadloc.py b/spm/__toolbox/__MEEGtools/spm_eeg_megheadloc.py index a6718406..38863eb9 100644 --- a/spm/__toolbox/__MEEGtools/spm_eeg_megheadloc.py +++ b/spm/__toolbox/__MEEGtools/spm_eeg_megheadloc.py @@ -2,7 +2,7 @@ def spm_eeg_megheadloc(*args, **kwargs): - """ + r""" Use head localization of CTF to select/reject trials based on head position and (optionally) correct the sensor coordinates to correspond to the selected trials. The function can be used on a single dataset as well @@ -49,9 +49,12 @@ def spm_eeg_megheadloc(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/MEEGtools/spm_eeg_megheadloc.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/MEEGtools/spm_eeg_megheadloc.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_eeg_megheadloc", *args, **kwargs) diff --git a/spm/__toolbox/__MEEGtools/spm_eeg_recode_epoched_ctf.py b/spm/__toolbox/__MEEGtools/spm_eeg_recode_epoched_ctf.py index 5e86267d..25fb83e5 100644 --- a/spm/__toolbox/__MEEGtools/spm_eeg_recode_epoched_ctf.py +++ b/spm/__toolbox/__MEEGtools/spm_eeg_recode_epoched_ctf.py @@ -2,7 +2,7 @@ def spm_eeg_recode_epoched_ctf(*args, **kwargs): - """ + r""" Temporary solution for using trial labels in epoched CTF dataset FORMAT D = spm_eeg_recode_epoched_ctf(S) @@ -15,9 +15,12 @@ def spm_eeg_recode_epoched_ctf(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/MEEGtools/spm_eeg_recode_epoched_ctf.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/MEEGtools/spm_eeg_recode_epoched_ctf.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_eeg_recode_epoched_ctf", *args, **kwargs) diff --git a/spm/__toolbox/__MEEGtools/spm_eeg_remove_dbs_artefact.py b/spm/__toolbox/__MEEGtools/spm_eeg_remove_dbs_artefact.py new file mode 100644 index 00000000..bc7f4033 --- /dev/null +++ b/spm/__toolbox/__MEEGtools/spm_eeg_remove_dbs_artefact.py @@ -0,0 +1,34 @@ +from spm._runtime import Runtime + + +def spm_eeg_remove_dbs_artefact(*args, **kwargs): + r""" + Template-based DBS artefact removal for EEG + FORMAT D = spm_eeg_remove_dbs_artefact(S) + + S - optional input struct + (optional) fields of S: + S.D - MEEG object or filename of M/EEG mat-file with epoched data + S.Da - MEEG object or filename of M/EEG mat-file with artefact template + S.timewin - 2-element vector with start and end of baseline period [ms] + S.artchan - name of the channel containing artefact reference + S.artcond - condition name to take artefact from (if more than one) + + D - MEEG object (also saved on disk if requested) + __________________________________________________________________________ + Based on Peeters et al. + Electrophysiologic Evidence That Directional Deep Brain Stimulation Activates + Distinct Neural Circuits in Patients With Parkinson Disease + https://doi.org/10.1016/j.neurom.2021.11.002 + __________________________________________________________________________ + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/MEEGtools/spm_eeg_remove_dbs_artefact.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("spm_eeg_remove_dbs_artefact", *args, **kwargs) diff --git a/spm/__toolbox/__MEEGtools/spm_eeg_remove_jumps.py b/spm/__toolbox/__MEEGtools/spm_eeg_remove_jumps.py index b8e601e2..7bdcedd9 100644 --- a/spm/__toolbox/__MEEGtools/spm_eeg_remove_jumps.py +++ b/spm/__toolbox/__MEEGtools/spm_eeg_remove_jumps.py @@ -2,7 +2,7 @@ def spm_eeg_remove_jumps(*args, **kwargs): - """ + r""" Remove "jumps" (discontinuities) from the M/EEG raw signal FORMAT [D, alljumps] = spm_eeg_remove_jumps(S) @@ -31,9 +31,12 @@ def spm_eeg_remove_jumps(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/MEEGtools/spm_eeg_remove_jumps.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/MEEGtools/spm_eeg_remove_jumps.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_eeg_remove_jumps", *args, **kwargs) diff --git a/spm/__toolbox/__MEEGtools/spm_eeg_remove_spikes.py b/spm/__toolbox/__MEEGtools/spm_eeg_remove_spikes.py index 8f30b5ff..f556861a 100644 --- a/spm/__toolbox/__MEEGtools/spm_eeg_remove_spikes.py +++ b/spm/__toolbox/__MEEGtools/spm_eeg_remove_spikes.py @@ -2,7 +2,7 @@ def spm_eeg_remove_spikes(*args, **kwargs): - """ + r""" Use Will Pennys robust GLM code to remove 'spikes' from continuous data. Such spikes occur in EEG data recorded with the CTF MEG system at FIL due to some obscure electrical problem. @@ -35,9 +35,12 @@ def spm_eeg_remove_spikes(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/MEEGtools/spm_eeg_remove_spikes.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/MEEGtools/spm_eeg_remove_spikes.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_eeg_remove_spikes", *args, **kwargs) diff --git a/spm/__toolbox/__MEEGtools/spm_eeg_reref_eeg.py b/spm/__toolbox/__MEEGtools/spm_eeg_reref_eeg.py index ecb6ea7d..406965ef 100644 --- a/spm/__toolbox/__MEEGtools/spm_eeg_reref_eeg.py +++ b/spm/__toolbox/__MEEGtools/spm_eeg_reref_eeg.py @@ -2,7 +2,7 @@ def spm_eeg_reref_eeg(*args, **kwargs): - """ + r""" Rereference EEG data to new reference channel(s) FORMAT [D, S] = spm_eeg_reref_eeg(S) @@ -22,9 +22,12 @@ def spm_eeg_reref_eeg(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/MEEGtools/spm_eeg_reref_eeg.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/MEEGtools/spm_eeg_reref_eeg.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_eeg_reref_eeg", *args, **kwargs) diff --git a/spm/__toolbox/__MEEGtools/spm_eeg_split_conditions.py b/spm/__toolbox/__MEEGtools/spm_eeg_split_conditions.py index 9b8d15ce..bc00640a 100644 --- a/spm/__toolbox/__MEEGtools/spm_eeg_split_conditions.py +++ b/spm/__toolbox/__MEEGtools/spm_eeg_split_conditions.py @@ -2,7 +2,7 @@ def spm_eeg_split_conditions(*args, **kwargs): - """ + r""" Splits a file into different conditions in order to facilitate TF processing. The idea is to create several smaller files, run TF, then aveage within the condition files using spm_eeg_average_tf and lastly, @@ -21,9 +21,12 @@ def spm_eeg_split_conditions(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/MEEGtools/spm_eeg_split_conditions.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/MEEGtools/spm_eeg_split_conditions.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_eeg_split_conditions", *args, **kwargs) diff --git a/spm/__toolbox/__MEEGtools/spm_eeg_tms_correct.py b/spm/__toolbox/__MEEGtools/spm_eeg_tms_correct.py index 7f66f7b6..7c5b8132 100644 --- a/spm/__toolbox/__MEEGtools/spm_eeg_tms_correct.py +++ b/spm/__toolbox/__MEEGtools/spm_eeg_tms_correct.py @@ -2,7 +2,7 @@ def spm_eeg_tms_correct(*args, **kwargs): - """ + r""" Function for removing TMS artefacts FORMAT D = spm_eeg_tms_correct(S) S - input structure (optional) @@ -10,9 +10,12 @@ def spm_eeg_tms_correct(*args, **kwargs): S.D - MEEG object or filename of M/EEG mat-file - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/MEEGtools/spm_eeg_tms_correct.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/MEEGtools/spm_eeg_tms_correct.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_eeg_tms_correct", *args, **kwargs) diff --git a/spm/__toolbox/__MEEGtools/spm_eeg_transform_cap.py b/spm/__toolbox/__MEEGtools/spm_eeg_transform_cap.py index a12f0992..27b24e5b 100644 --- a/spm/__toolbox/__MEEGtools/spm_eeg_transform_cap.py +++ b/spm/__toolbox/__MEEGtools/spm_eeg_transform_cap.py @@ -2,7 +2,7 @@ def spm_eeg_transform_cap(*args, **kwargs): - """ + r""" Transform an electrode cap to match the subject's headshape FORMAT shape = spm_eeg_transform_cap(S) @@ -17,9 +17,12 @@ def spm_eeg_transform_cap(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/MEEGtools/spm_eeg_transform_cap.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/MEEGtools/spm_eeg_transform_cap.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_eeg_transform_cap", *args, **kwargs) diff --git a/spm/__toolbox/__MEEGtools/spm_eeg_var_measures.py b/spm/__toolbox/__MEEGtools/spm_eeg_var_measures.py index 4ee3a2e2..4f6a5a6a 100644 --- a/spm/__toolbox/__MEEGtools/spm_eeg_var_measures.py +++ b/spm/__toolbox/__MEEGtools/spm_eeg_var_measures.py @@ -2,7 +2,7 @@ def spm_eeg_var_measures(*args, **kwargs): - """ + r""" Function for computing Fourier coherence using Fieldtrip and VAR based directed measures using SPM's spectral toolbox, developed by Will Penny. @@ -14,9 +14,12 @@ def spm_eeg_var_measures(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/MEEGtools/spm_eeg_var_measures.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/MEEGtools/spm_eeg_var_measures.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_eeg_var_measures", *args, **kwargs, nargout=0) diff --git a/spm/__toolbox/__MEEGtools/spm_mesh_pack_points.py b/spm/__toolbox/__MEEGtools/spm_mesh_pack_points.py index 9a3e0d39..f0d89368 100644 --- a/spm/__toolbox/__MEEGtools/spm_mesh_pack_points.py +++ b/spm/__toolbox/__MEEGtools/spm_mesh_pack_points.py @@ -2,7 +2,7 @@ def spm_mesh_pack_points(*args, **kwargs): - """ + r""" Place approximately equally spaced points over a convex (ideally) mesh FORMAT [Pout,ms2s ,ims2s,n] = spm_mesh_pack_points(S) S - input structure @@ -21,9 +21,12 @@ def spm_mesh_pack_points(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/MEEGtools/spm_mesh_pack_points.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/MEEGtools/spm_mesh_pack_points.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_mesh_pack_points", *args, **kwargs) diff --git a/spm/__toolbox/__MEEGtools/spm_opm_apply_calibration.py b/spm/__toolbox/__MEEGtools/spm_opm_apply_calibration.py new file mode 100644 index 00000000..34d5de6d --- /dev/null +++ b/spm/__toolbox/__MEEGtools/spm_opm_apply_calibration.py @@ -0,0 +1,37 @@ +from spm._runtime import Runtime + + +def spm_opm_apply_calibration(*args, **kwargs): + r""" + [cal_D] = spm_opm_apply_calibration(S) applies position, + orientation and gain calibration to an existing dataset. Gain applied is + relative to the existing (assumed) calibration of the original data. If + positions and orientations are already available for channels then the + function will attempt to align the new calibration to the existing space. + Input: + S : structure with fields + - D: MEEG D object to be calibrated (required) + - positions: positions file with gain column + - chunkSize: max memory usage (for large datasets; default: 512) + - prefix: string, calibrated object prefix (default: 'cal_') + - balance: boolean, update existing forward model/s (default: + false) + + Author: Nicholas Alexander (n.alexander@ucl.ac.uk) + Adapted from spm_opm_hfc + Copyright: Department of Imaging Neuroscience, UCL, 2026 + + TODO: Add delay correction + Improve stability of alignment + Set bad channels if uncalibrated MEG + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/MEEGtools/spm_opm_apply_calibration.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("spm_opm_apply_calibration", *args, **kwargs) diff --git a/spm/__toolbox/__MEEGtools/spm_opm_calibrate_from_coils.py b/spm/__toolbox/__MEEGtools/spm_opm_calibrate_from_coils.py new file mode 100644 index 00000000..bf503121 --- /dev/null +++ b/spm/__toolbox/__MEEGtools/spm_opm_calibrate_from_coils.py @@ -0,0 +1,133 @@ +from spm._runtime import Runtime + + +def spm_opm_calibrate_from_coils(*args, **kwargs): + r""" + [cal_D, positions] = spm_opm_calibrate_from_coils(S) estimates + the 3D positions, orientations, and gains of magnetometers based on + recordings during external coil activation. The function fits observed + signals to a model of magnetic dipoles using both amplitude and phase + errors. Results are then used to calibrate the magnetometer array. + + Input: + S : structure with fields + - D: MEEG D object to be calibrated (required) + - freq: Coil signal frequency in Hz (default: 10) + - chan_name_format Format of sensor/axis for channel (default: + '^(X|Y|Z)(.*?)$' + - amplitude_range: 1x2 [min max] amplitude range (fT) for filtering + (default: [0.1 1000]*1e3) + - coil_properties: structure with fields: + positions: n x 3 dipole positions (m) + orientations: n x 3 dipole unit vector + resistance: default, 2120 + inner_r: default, 3.68/1000 (m) + outer_r: default, 10.94/1000 (m) + layers: default, 6 + layer_turns: default, 45 + - t_delay: timing offset for phase correction (ms), + default: 'auto') + - phase_tol: tolerance for phase filter applied (rads), + default: 'auto') + - coil_trigger: structure with fields: + event_channel: channel name for triggers (default: 'A8') + event_design: order of coil operations. (default: + repmat(1:16,[1 4]). Index with respect to + coil_properies. + event_duration:in seconds (default: 1); + event_trim: 1 x 2, seconds to trim from [start, end]. + (default: [1/S.freq, 1/S.freq]) + signal_channel:channel name for coil signals (default: 'A16') + - plot_output: boolean + - highpass: highpass filter freq (Hz), default 5 + - channels: cell array of channels. If empty, include all + - use_similarity boolean, whether to use starting parameters + based on similar observations across + channels, default: true; + - fast boolean, skip permutations where possible + due to good starting conditions. Set to + false if bad channels are missed, (default: + true) + - prescale boolean, apply initial gain estimate (useful + for highly deviant (uncalibrated) channels). + Note that gain visualisation will be wrong. + Probably redundant with analytic gain solve + - balance boolean, update existing forward model/s, + (default: false) + - estimation: structure with fields: + permutations: number of permutations to run (default: 6) + min_ops: minimum number of valid operations to + estimate axis (default: 8) + sub_sel_num: number of operations to estimate for initial + estimate/s (default: 5) + phase_tol: tolerance for phase filter (default: 'auto') + pos_bounds: lower/upper bounds per dimension (m) (default: + [-0.15, 0.15; -0.15, 0.15; -0.3, -0.05] + gain_bounds: [0.666, 1.5]; + parallel: boolean, use parallel processing, default + false + bootstrap: number of bootstrap samples (default: 0, + i.e. no bootstrap) + - output_filename: filename for saving table; + + Output: + cal_D: calibrated D object (spm_opm_apply_calibration) + positions: table containing calibrated sensor information + - name: sensor/channel name + - Px, Py, Pz: position coordinates (mm) + - Ox, Oy, Oz: orientation vector components + - gain: channelwise gain factor + - cal_error: calibration error (RMS) + (optional, if bootstrap > 0) + - std_pos: bootstrap SE of distance from optimal position (mm) + - std_ori: bootstrap SE of angular deviation from optimal + orientation vector (degrees) + - std_gain bootstrap SE of gain + + Example usage: + % Load file with HALO activation + S = []; + S.data = 'D:\data\sub-1_ses-1_task-halo_run-1_meg.lvm'; + D = spm_opm_create(S); + % Calibrate + S = []; + S.D = D; + [cal_D, positions] = spm_opm_calibrate_from_coils(S); + % Load data from experiment (ensure no recalibration after HALO) + S = []; + S.data = 'D:\data\sub-1_ses-1_task-experiment_run-1_meg.lvm'; + D2 = spm_opm_create(S); + % Apply calibration to data from experiment + S = []; + S.D = D2; + S.positions = positions; + [cal_D2] = spm_opm_apply_calibration(S) + + Notes: + The cal_error is reported per axis, but the optimisation is based on + a combined cal_error term for all 'good' axes in a sensor. + cal_error is the RMS of amplitude error between modelled and observed + responses. No threshold is set other than successful fit relative + to other axes and passing input tests. Set estimation.bootstrap + to get sensitivity estimate. + See Hill et al. (2025) https://doi.org/10.1162/imag_a_00535 for + details on the HALO system (Quspin Inc. CO, USA) used as the + default parameters in this function. + Several steps are taken to ensure only good data goes into the + estimation, including checking phase consistency, amplitude + correlation, amplitude thresholding, and removal of axes not + contributing to the fit. + + Author: Nicholas Alexander (n.alexander@ucl.ac.uk) + Copyright: Department of Imaging Neuroscience, UCL, 2026 + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/MEEGtools/spm_opm_calibrate_from_coils.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("spm_opm_calibrate_from_coils", *args, **kwargs) diff --git a/spm/__toolbox/__MEEGtools/spm_opm_create.py b/spm/__toolbox/__MEEGtools/spm_opm_create.py index c66ff6d2..2ba83be6 100644 --- a/spm/__toolbox/__MEEGtools/spm_opm_create.py +++ b/spm/__toolbox/__MEEGtools/spm_opm_create.py @@ -2,7 +2,7 @@ def spm_opm_create(*args, **kwargs): - """ + r""" Read magnetometer data and optionally set up forward model FORMAT [D,L] = spm_opm_create(S) S - input structure @@ -32,9 +32,12 @@ def spm_opm_create(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/MEEGtools/spm_opm_create.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/MEEGtools/spm_opm_create.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_opm_create", *args, **kwargs) diff --git a/spm/__toolbox/__MEEGtools/spm_opm_epoch_trigger.py b/spm/__toolbox/__MEEGtools/spm_opm_epoch_trigger.py index 9ea82a3c..70b677e8 100644 --- a/spm/__toolbox/__MEEGtools/spm_opm_epoch_trigger.py +++ b/spm/__toolbox/__MEEGtools/spm_opm_epoch_trigger.py @@ -2,7 +2,7 @@ def spm_opm_epoch_trigger(*args, **kwargs): - """ + r""" Epoch M/EEG data based on supplied triggers or triggers in file; FORMAT D = spm_opm_epoch_trigger(S) S - input structure @@ -24,9 +24,12 @@ def spm_opm_epoch_trigger(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/MEEGtools/spm_opm_epoch_trigger.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/MEEGtools/spm_opm_epoch_trigger.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_opm_epoch_trigger", *args, **kwargs) diff --git a/spm/__toolbox/__MEEGtools/spm_opm_headmodel.py b/spm/__toolbox/__MEEGtools/spm_opm_headmodel.py index a6c7a375..08c9d334 100644 --- a/spm/__toolbox/__MEEGtools/spm_opm_headmodel.py +++ b/spm/__toolbox/__MEEGtools/spm_opm_headmodel.py @@ -2,7 +2,7 @@ def spm_opm_headmodel(*args, **kwargs): - """ + r""" Coregister FIL OPM data and option to set up forward model FORMAT D = spm_opm_create(S) S - input structure @@ -25,9 +25,12 @@ def spm_opm_headmodel(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/MEEGtools/spm_opm_headmodel.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/MEEGtools/spm_opm_headmodel.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_opm_headmodel", *args, **kwargs) diff --git a/spm/__toolbox/__MEEGtools/spm_opm_hfc.py b/spm/__toolbox/__MEEGtools/spm_opm_hfc.py index dbe83cae..30942049 100644 --- a/spm/__toolbox/__MEEGtools/spm_opm_hfc.py +++ b/spm/__toolbox/__MEEGtools/spm_opm_hfc.py @@ -2,7 +2,7 @@ def spm_opm_hfc(*args, **kwargs): - """ + r""" remove interference that behaves as if it was from a harmonic (magnetic) field FORMAT D = spm_opm_hfc(S) S - input structure @@ -20,9 +20,12 @@ def spm_opm_hfc(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/MEEGtools/spm_opm_hfc.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/MEEGtools/spm_opm_hfc.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_opm_hfc", *args, **kwargs) diff --git a/spm/__toolbox/__MEEGtools/spm_opm_opreg.py b/spm/__toolbox/__MEEGtools/spm_opm_opreg.py index 59282234..8952001a 100644 --- a/spm/__toolbox/__MEEGtools/spm_opm_opreg.py +++ b/spm/__toolbox/__MEEGtools/spm_opm_opreg.py @@ -2,25 +2,35 @@ def spm_opm_opreg(*args, **kwargs): - """ + r""" Read magnetometer data and optionally set up forward model FORMAT D = spm_opm_create(S) S - input structure Optional fields of S: - S.headfile - path to headshape file - Default:required - S.helmetref - 3 x 3 matrix of fiducials - Default:required - S.headhelmetref - 3 x 3 matrix of fiducials - Default:required - S.headfid - 3 x 3 matrix of fiducials - Default:required - S.headhelmetfid - 3 x 3 matrix of fiducials - Default:required + S.headfile - path to headshape file - Default:required + S.helmetref1 - 3 x 3 matrix of 1st set ref points - Default:required + S.headhelmetref1 - 3 x 3 matrix of 1st set ref points - Default:required + S.headref2 - 3 x 3 matrix of 2st set ref points - Default:required + S.headhelmetref2 - 3 x 3 matrix of 2st set ref points - Default:required + S.fiducials - 3 x 3 matrix of fiducials - Default:required + + 1st set of ref points connects a helmet scan to the scan of participant with + a helmet + 2st set of ref points connects the scan of participant with helmet to the scan + of participant without a helmet + Output: tHelm - transformed helmet object __________________________________________________________________________ Copyright (C) 2018-2022 Wellcome Centre for Human Neuroimaging - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/MEEGtools/spm_opm_opreg.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/MEEGtools/spm_opm_opreg.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_opm_opreg", *args, **kwargs) diff --git a/spm/__toolbox/__MEEGtools/spm_opm_plotScalpData.py b/spm/__toolbox/__MEEGtools/spm_opm_plotScalpData.py index 4ccba9de..aa4b9293 100644 --- a/spm/__toolbox/__MEEGtools/spm_opm_plotScalpData.py +++ b/spm/__toolbox/__MEEGtools/spm_opm_plotScalpData.py @@ -2,13 +2,13 @@ def spm_opm_plotScalpData(*args, **kwargs): - """ + r""" Display M/EEG interpolated sensor data on a scalp image FORMAT D = spm_opm_amm(S) S - input structure fields of S: S.D - SPM MEEG object - Default: no Default - S.T - time point to initalise to - Default: first sample + S.T - time point to initialise to - Default: first sample S.display - string to deermine what is plotted -Default: 'RADIAL' OUTPUT: f - the handle of the figure which displays the interpolated @@ -20,9 +20,12 @@ def spm_opm_plotScalpData(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/MEEGtools/spm_opm_plotScalpData.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/MEEGtools/spm_opm_plotScalpData.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_opm_plotScalpData", *args, **kwargs) diff --git a/spm/__toolbox/__MEEGtools/spm_opm_psd.py b/spm/__toolbox/__MEEGtools/spm_opm_psd.py index f08906bb..cdd2c7a1 100644 --- a/spm/__toolbox/__MEEGtools/spm_opm_psd.py +++ b/spm/__toolbox/__MEEGtools/spm_opm_psd.py @@ -2,7 +2,7 @@ def spm_opm_psd(*args, **kwargs): - """ + r""" Compute PSD for OPM data (for checking noise floor) FORMAT [po,freq,sel] = spm_opm_psd(S) S - input structure @@ -15,14 +15,26 @@ def spm_opm_psd(*args, **kwargs): S.units - units of measurement - Default: 'fT' S.constant - constant line to draw as reference - Default: 15 S.wind - function handle for window - Default: @hanning - S.plotbad - place asterisk over unusual channels - Default: 0 - S.interact - allow inspection of channels - Default: 0 - S.select - enable selection of channels - Default: 0 + S.selectbad - highlights and enables selection of + bad channels - Default: 0 + + + Output: + psd - power spectral density + f - frequencies psd is sampled at + indices - selected channel index + To get labels use: + plotted_lab = chanlabels(S.D,S.channels); + sel_lab = plotted_lab(sel); + __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/MEEGtools/spm_opm_psd.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/MEEGtools/spm_opm_psd.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_opm_psd", *args, **kwargs) diff --git a/spm/__toolbox/__MEEGtools/spm_opm_read_lvm.py b/spm/__toolbox/__MEEGtools/spm_opm_read_lvm.py index 3f4ceee3..32b494fe 100644 --- a/spm/__toolbox/__MEEGtools/spm_opm_read_lvm.py +++ b/spm/__toolbox/__MEEGtools/spm_opm_read_lvm.py @@ -2,7 +2,7 @@ def spm_opm_read_lvm(*args, **kwargs): - """ + r""" Read LVM file FORMAT [lbv] = spm_opm_read_lvm(S) S - input structure @@ -26,9 +26,12 @@ def spm_opm_read_lvm(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/MEEGtools/spm_opm_read_lvm.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/MEEGtools/spm_opm_read_lvm.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_opm_read_lvm", *args, **kwargs) diff --git a/spm/__toolbox/__MEEGtools/spm_opm_rpsd.py b/spm/__toolbox/__MEEGtools/spm_opm_rpsd.py index d184a6be..f92ff93a 100644 --- a/spm/__toolbox/__MEEGtools/spm_opm_rpsd.py +++ b/spm/__toolbox/__MEEGtools/spm_opm_rpsd.py @@ -2,7 +2,7 @@ def spm_opm_rpsd(*args, **kwargs): - """ + r""" Compute relative PSD of two OPM datasets (for checking shielding factors) FORMAT D = spm_opm_rpsd(S) S - input structure @@ -21,9 +21,12 @@ def spm_opm_rpsd(*args, **kwargs): Copyright (C) 2018-2022 Wellcome Centre for Human Neuroimaging - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/MEEGtools/spm_opm_rpsd.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/MEEGtools/spm_opm_rpsd.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_opm_rpsd", *args, **kwargs) diff --git a/spm/__toolbox/__MEEGtools/spm_opm_sim.py b/spm/__toolbox/__MEEGtools/spm_opm_sim.py index 48ad3788..11fda304 100644 --- a/spm/__toolbox/__MEEGtools/spm_opm_sim.py +++ b/spm/__toolbox/__MEEGtools/spm_opm_sim.py @@ -2,7 +2,7 @@ def spm_opm_sim(*args, **kwargs): - """ + r""" Simulate magnetometer data FORMAT D = spm_opm_create(S) S - input structure @@ -32,9 +32,12 @@ def spm_opm_sim(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/MEEGtools/spm_opm_sim.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/MEEGtools/spm_opm_sim.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_opm_sim", *args, **kwargs) diff --git a/spm/__toolbox/__MEEGtools/spm_opm_ssp.py b/spm/__toolbox/__MEEGtools/spm_opm_ssp.py new file mode 100644 index 00000000..f65fadd8 --- /dev/null +++ b/spm/__toolbox/__MEEGtools/spm_opm_ssp.py @@ -0,0 +1,47 @@ +from spm._runtime import Runtime + + +def spm_opm_ssp(*args, **kwargs): + r""" + Removes eignevectors of training data covaraince from test data + FORMAT D = spm_opm_ssp(S) + S - input structure + fields of S: + S.trainD - SPM MEEG object - Default: no Default + S.testD - SPM MEEG object - Default: training data + S.trainwin - Training Epoch (s) - Default: [0,Inf] + S.testwin - Testing Epoch (s) - Default: [0,Inf] + S.ncomp - Number of eigenvectors - Default: 8 + S.weights - Channel weighting - Default: ones(1,nchannels) + S.hp - high pass filter (Hz) - Default: no filter + S.lp - low pass filter (Hz) - Default: no filter + S.notch - Notch filter (Hz) - Default: no filter + Output: + D - denoised MEEG object (also written to disk) + __________________________________________________________________________ + Copyright Tim Tierney + + Example + S=[]; + S.trainD =D; % D object + S.testD = D; % D object(potentially different); + S.trainwin = [1,60]; % epochs + S.testwin = [61,Inf]; % epochs + S.ncomp = 32; % number of eigenvectors + S.weights =ones(1,length(megind)); % vector of weights(1 for each channel) + S.weights(t2inds)= 1/6^2; % e.g factor of six difference in noise floor + S.lp=[100]; % filter only pplied to training data + S.hp=[1]; % filter only pplied to training data + S.notch = [47 53;97 103]; % filter only pplied to training data + sspD = spm_opm_ssp(S); + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/MEEGtools/spm_opm_ssp.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("spm_opm_ssp", *args, **kwargs) diff --git a/spm/__toolbox/__MEEGtools/spm_opm_synth_gradiometer.py b/spm/__toolbox/__MEEGtools/spm_opm_synth_gradiometer.py index 41ca6d20..af51ebee 100644 --- a/spm/__toolbox/__MEEGtools/spm_opm_synth_gradiometer.py +++ b/spm/__toolbox/__MEEGtools/spm_opm_synth_gradiometer.py @@ -2,7 +2,7 @@ def spm_opm_synth_gradiometer(*args, **kwargs): - """ + r""" Denoise OPM data FORMAT D = spm_opm_synth_gradiometer(S) S - input structure @@ -24,9 +24,12 @@ def spm_opm_synth_gradiometer(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/MEEGtools/spm_opm_synth_gradiometer.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/MEEGtools/spm_opm_synth_gradiometer.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_opm_synth_gradiometer", *args, **kwargs) diff --git a/spm/__toolbox/__MEEGtools/spm_opm_vslm.py b/spm/__toolbox/__MEEGtools/spm_opm_vslm.py index 31853d47..db1e298c 100644 --- a/spm/__toolbox/__MEEGtools/spm_opm_vslm.py +++ b/spm/__toolbox/__MEEGtools/spm_opm_vslm.py @@ -2,7 +2,7 @@ def spm_opm_vslm(*args, **kwargs): - """ + r""" cartesian real regular/irregular vector spherical harmonics FORMAT vSlm = spm_opm_vslm(S) S - input structure @@ -20,9 +20,12 @@ def spm_opm_vslm(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/MEEGtools/spm_opm_vslm.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/MEEGtools/spm_opm_vslm.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_opm_vslm", *args, **kwargs) diff --git a/spm/__toolbox/__NVC/spm_dcm_nvc.py b/spm/__toolbox/__NVC/spm_dcm_nvc.py index d2b639f3..2f06a51e 100644 --- a/spm/__toolbox/__NVC/spm_dcm_nvc.py +++ b/spm/__toolbox/__NVC/spm_dcm_nvc.py @@ -2,7 +2,7 @@ def spm_dcm_nvc(*args, **kwargs): - """ + r""" Specify and estimate a DCM for multimodal fMRI and M/EEG FORMAT [DCM] = spm_dcm_nvc(P) @@ -110,9 +110,12 @@ def spm_dcm_nvc(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/NVC/spm_dcm_nvc.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/NVC/spm_dcm_nvc.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_dcm_nvc", *args, **kwargs) diff --git a/spm/__toolbox/__NVC/spm_dcm_nvc_nd.py b/spm/__toolbox/__NVC/spm_dcm_nvc_nd.py index fe9189da..d61d0beb 100644 --- a/spm/__toolbox/__NVC/spm_dcm_nvc_nd.py +++ b/spm/__toolbox/__NVC/spm_dcm_nvc_nd.py @@ -2,7 +2,7 @@ def spm_dcm_nvc_nd(*args, **kwargs): - """ + r""" Generate neuronal drive signals for multimodal DCM for fMRI and M/EEG FORMAT neuronal_drive = spm_dcm_nvc_nd(DCM) @@ -21,9 +21,12 @@ def spm_dcm_nvc_nd(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/NVC/spm_dcm_nvc_nd.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/NVC/spm_dcm_nvc_nd.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_dcm_nvc_nd", *args, **kwargs) diff --git a/spm/__toolbox/__NVC/spm_dcm_nvc_priors.py b/spm/__toolbox/__NVC/spm_dcm_nvc_priors.py index f411ee21..a74df460 100644 --- a/spm/__toolbox/__NVC/spm_dcm_nvc_priors.py +++ b/spm/__toolbox/__NVC/spm_dcm_nvc_priors.py @@ -2,7 +2,7 @@ def spm_dcm_nvc_priors(*args, **kwargs): - """ + r""" Priors for a multimodal DCM for fMRI and M/EEG FORMAT [pE,pC,x] = spm_dcm_nvc_priors(DCM) @@ -24,9 +24,12 @@ def spm_dcm_nvc_priors(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/NVC/spm_dcm_nvc_priors.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/NVC/spm_dcm_nvc_priors.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_dcm_nvc_priors", *args, **kwargs) diff --git a/spm/__toolbox/__NVC/spm_dcm_nvc_specify.py b/spm/__toolbox/__NVC/spm_dcm_nvc_specify.py index 242c0b99..304b7430 100644 --- a/spm/__toolbox/__NVC/spm_dcm_nvc_specify.py +++ b/spm/__toolbox/__NVC/spm_dcm_nvc_specify.py @@ -2,7 +2,7 @@ def spm_dcm_nvc_specify(*args, **kwargs): - """ + r""" Specify unestimated structure for (multimodal) DCM for fMRI and M/EEG FORMAT DCM = spm_dcm_nvc_specify(SPM,xY_fMRI, MEEG, Model,N_exclude,fmri_cond,options) @@ -29,9 +29,12 @@ def spm_dcm_nvc_specify(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/NVC/spm_dcm_nvc_specify.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/NVC/spm_dcm_nvc_specify.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_dcm_nvc_specify", *args, **kwargs) diff --git a/spm/__toolbox/__NVC/spm_fx_cmc_tfm_gen.py b/spm/__toolbox/__NVC/spm_fx_cmc_tfm_gen.py index d4f94192..f18f49ea 100644 --- a/spm/__toolbox/__NVC/spm_fx_cmc_tfm_gen.py +++ b/spm/__toolbox/__NVC/spm_fx_cmc_tfm_gen.py @@ -2,7 +2,7 @@ def spm_fx_cmc_tfm_gen(*args, **kwargs): - """ + r""" Generate pre synaptic signals for multimodal DCM for fMRI and M/EEG FORMAT [u,v,w] = spm_fx_cmc_tfm_gen(x,u,P,M) FORMAT [u,v] = spm_fx_cmc_tfm_gen(x,u,P,M) @@ -72,9 +72,12 @@ def spm_fx_cmc_tfm_gen(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/NVC/spm_fx_cmc_tfm_gen.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/NVC/spm_fx_cmc_tfm_gen.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_fx_cmc_tfm_gen", *args, **kwargs) diff --git a/spm/__toolbox/__NVC/spm_gen_par.py b/spm/__toolbox/__NVC/spm_gen_par.py index 9c86f03e..95f34577 100644 --- a/spm/__toolbox/__NVC/spm_gen_par.py +++ b/spm/__toolbox/__NVC/spm_gen_par.py @@ -2,7 +2,7 @@ def spm_gen_par(*args, **kwargs): - """ + r""" Generate condition specific parameters using DCM for M/EEG FORMAT Q = spm_gen_par(P,U) @@ -20,9 +20,12 @@ def spm_gen_par(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/NVC/spm_gen_par.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/NVC/spm_gen_par.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_gen_par", *args, **kwargs) diff --git a/spm/__toolbox/__NVC/spm_nvc_gen.py b/spm/__toolbox/__NVC/spm_nvc_gen.py index 74a4b482..46b603c3 100644 --- a/spm/__toolbox/__NVC/spm_nvc_gen.py +++ b/spm/__toolbox/__NVC/spm_nvc_gen.py @@ -2,7 +2,7 @@ def spm_nvc_gen(*args, **kwargs): - """ + r""" Generate a BOLD signal prediction from scaled summed of neuronal drives (neurovascular coupling). FORMAT [y] = spm_nvc_gen(P,M,U) @@ -27,9 +27,12 @@ def spm_nvc_gen(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/NVC/spm_nvc_gen.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/NVC/spm_nvc_gen.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_nvc_gen", *args, **kwargs) diff --git a/spm/__toolbox/__Neural_Models/DEMO_dcm_fmri_nnm.py b/spm/__toolbox/__Neural_Models/DEMO_dcm_fmri_nnm.py index 53c35183..ddd29e33 100644 --- a/spm/__toolbox/__Neural_Models/DEMO_dcm_fmri_nnm.py +++ b/spm/__toolbox/__Neural_Models/DEMO_dcm_fmri_nnm.py @@ -2,7 +2,7 @@ def DEMO_dcm_fmri_nnm(*args, **kwargs): - """ + r""" This demonstration routine illustrates the dynamic causal modelling of fMRI timeseries using neural mass models. We first specify a simple DCM for the attentional dataset. Following inversion, the posterior densities @@ -39,9 +39,12 @@ def DEMO_dcm_fmri_nnm(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/Neural_Models/DEMO_dcm_fmri_nnm.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/Neural_Models/DEMO_dcm_fmri_nnm.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("DEMO_dcm_fmri_nnm", *args, **kwargs) diff --git a/spm/__toolbox/__Neural_Models/DEMO_model_reduction_ERP.py b/spm/__toolbox/__Neural_Models/DEMO_model_reduction_ERP.py index 84711df2..ce3f12f8 100644 --- a/spm/__toolbox/__Neural_Models/DEMO_model_reduction_ERP.py +++ b/spm/__toolbox/__Neural_Models/DEMO_model_reduction_ERP.py @@ -2,7 +2,7 @@ def DEMO_model_reduction_ERP(*args, **kwargs): - """ + r""" Illustration of (post hoc) neuronal mass model optimisation __________________________________________________________________________ This demonstration routine illustrates the post-hoc optimisation of @@ -24,9 +24,12 @@ def DEMO_model_reduction_ERP(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/Neural_Models/DEMO_model_reduction_ERP.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/Neural_Models/DEMO_model_reduction_ERP.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("DEMO_model_reduction_ERP", *args, **kwargs, nargout=0) diff --git a/spm/__toolbox/__Neural_Models/DEMO_tvec_csd_sim.py b/spm/__toolbox/__Neural_Models/DEMO_tvec_csd_sim.py index 27cd2669..fd54dd54 100644 --- a/spm/__toolbox/__Neural_Models/DEMO_tvec_csd_sim.py +++ b/spm/__toolbox/__Neural_Models/DEMO_tvec_csd_sim.py @@ -2,7 +2,7 @@ def DEMO_tvec_csd_sim(*args, **kwargs): - """ + r""" DEMO_tvec_csd_sim - Demo script for modelling time-varying effective connectivity in a DCM for CSD. @@ -41,9 +41,12 @@ def DEMO_tvec_csd_sim(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/Neural_Models/DEMO_tvec_csd_sim.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/Neural_Models/DEMO_tvec_csd_sim.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("DEMO_tvec_csd_sim", *args, **kwargs, nargout=0) diff --git a/spm/__toolbox/__Neural_Models/DEMO_tvec_erp_mmn.py b/spm/__toolbox/__Neural_Models/DEMO_tvec_erp_mmn.py index 232b38ca..d7bd03ed 100644 --- a/spm/__toolbox/__Neural_Models/DEMO_tvec_erp_mmn.py +++ b/spm/__toolbox/__Neural_Models/DEMO_tvec_erp_mmn.py @@ -2,7 +2,7 @@ def DEMO_tvec_erp_mmn(*args, **kwargs): - """ + r""" DEMO_tvec_erp_mmn: Analyse modulatory dynamics in EEG Mismatch Negativity using Dynamic Causal Modeling of Time-Varying Connectivity. @@ -37,9 +37,12 @@ def DEMO_tvec_erp_mmn(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/Neural_Models/DEMO_tvec_erp_mmn.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/Neural_Models/DEMO_tvec_erp_mmn.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("DEMO_tvec_erp_mmn", *args, **kwargs, nargout=0) diff --git a/spm/__toolbox/__Neural_Models/DEMO_tvec_erp_sim.py b/spm/__toolbox/__Neural_Models/DEMO_tvec_erp_sim.py index fd2ee1a4..df8a40fb 100644 --- a/spm/__toolbox/__Neural_Models/DEMO_tvec_erp_sim.py +++ b/spm/__toolbox/__Neural_Models/DEMO_tvec_erp_sim.py @@ -2,7 +2,7 @@ def DEMO_tvec_erp_sim(*args, **kwargs): - """ + r""" DEMO_tvec_erp_sim - Demo script for modelling time-varying effective connectivity in a DCM for ERP. @@ -41,9 +41,12 @@ def DEMO_tvec_erp_sim(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/Neural_Models/DEMO_tvec_erp_sim.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/Neural_Models/DEMO_tvec_erp_sim.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("DEMO_tvec_erp_sim", *args, **kwargs, nargout=0) diff --git a/spm/__toolbox/__Neural_Models/Neural_demo.py b/spm/__toolbox/__Neural_Models/Neural_demo.py index 7769c842..2b395d70 100644 --- a/spm/__toolbox/__Neural_Models/Neural_demo.py +++ b/spm/__toolbox/__Neural_Models/Neural_demo.py @@ -2,7 +2,7 @@ def Neural_demo(*args, **kwargs): - """ + r""" NEURAL_DEMO M-file for Neural_demo.fig NEURAL_DEMO, by itself, creates a new NEURAL_DEMO or raises the existing singleton*. @@ -25,9 +25,12 @@ def Neural_demo(*args, **kwargs): See also: GUIDE, GUIDATA, GUIHANDLES - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/Neural_Models/Neural_demo.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/Neural_Models/Neural_demo.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("Neural_demo", *args, **kwargs) diff --git a/spm/__toolbox/__Neural_Models/ROBOT_NMM.py b/spm/__toolbox/__Neural_Models/ROBOT_NMM.py index 800739b1..6a963e81 100644 --- a/spm/__toolbox/__Neural_Models/ROBOT_NMM.py +++ b/spm/__toolbox/__Neural_Models/ROBOT_NMM.py @@ -2,14 +2,17 @@ def ROBOT_NMM(*args, **kwargs): - """ + r""" Tests routines in neural mass model (NMM) GUI __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/Neural_Models/ROBOT_NMM.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/Neural_Models/ROBOT_NMM.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ROBOT_NMM", *args, **kwargs) diff --git a/spm/__toolbox/__Neural_Models/__NMDA_NMM_MFM/spm_csd_mtf_plot_pole_zero.py b/spm/__toolbox/__Neural_Models/__NMDA_NMM_MFM/spm_csd_mtf_plot_pole_zero.py index 36e5b72c..f371bd6c 100644 --- a/spm/__toolbox/__Neural_Models/__NMDA_NMM_MFM/spm_csd_mtf_plot_pole_zero.py +++ b/spm/__toolbox/__Neural_Models/__NMDA_NMM_MFM/spm_csd_mtf_plot_pole_zero.py @@ -2,7 +2,7 @@ def spm_csd_mtf_plot_pole_zero(*args, **kwargs): - """ + r""" Spectral response of a NMM (transfer function x noise spectrum) FORMAT [b,a] = spm_csd_mtf_plot_pole_zero(P,M,U,region_stab) @@ -16,9 +16,12 @@ def spm_csd_mtf_plot_pole_zero(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/Neural_Models/NMDA_NMM_MFM/spm_csd_mtf_plot_pole_zero.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/Neural_Models/NMDA_NMM_MFM/spm_csd_mtf_plot_pole_zero.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_csd_mtf_plot_pole_zero", *args, **kwargs) diff --git a/spm/__toolbox/__Neural_Models/__NMDA_NMM_MFM/spm_dcm_x_neural_NMDA.py b/spm/__toolbox/__Neural_Models/__NMDA_NMM_MFM/spm_dcm_x_neural_NMDA.py index 8607e76d..0cd82e8b 100644 --- a/spm/__toolbox/__Neural_Models/__NMDA_NMM_MFM/spm_dcm_x_neural_NMDA.py +++ b/spm/__toolbox/__Neural_Models/__NMDA_NMM_MFM/spm_dcm_x_neural_NMDA.py @@ -2,7 +2,7 @@ def spm_dcm_x_neural_NMDA(*args, **kwargs): - """ + r""" Return the state and equation of neural mass models FORMAT [x,f] = spm_dcm_x_neural_NMDA(P,'model') @@ -14,9 +14,12 @@ def spm_dcm_x_neural_NMDA(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/Neural_Models/NMDA_NMM_MFM/spm_dcm_x_neural_NMDA.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/Neural_Models/NMDA_NMM_MFM/spm_dcm_x_neural_NMDA.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_dcm_x_neural_NMDA", *args, **kwargs) diff --git a/spm/__toolbox/__Neural_Models/__NMDA_NMM_MFM/spm_fx_NMDA.py b/spm/__toolbox/__Neural_Models/__NMDA_NMM_MFM/spm_fx_NMDA.py index 69e6898d..42c70060 100644 --- a/spm/__toolbox/__Neural_Models/__NMDA_NMM_MFM/spm_fx_NMDA.py +++ b/spm/__toolbox/__Neural_Models/__NMDA_NMM_MFM/spm_fx_NMDA.py @@ -2,14 +2,17 @@ def spm_fx_NMDA(*args, **kwargs): - """ + r""" FORMAT [f] = spm_fx_NMDA(x_V,x_G,P,M) __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/Neural_Models/NMDA_NMM_MFM/spm_fx_NMDA.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/Neural_Models/NMDA_NMM_MFM/spm_fx_NMDA.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_fx_NMDA", *args, **kwargs) diff --git a/spm/__toolbox/__Neural_Models/__NMDA_NMM_MFM/spm_fx_mfm_NMDA.py b/spm/__toolbox/__Neural_Models/__NMDA_NMM_MFM/spm_fx_mfm_NMDA.py index fe9bdef4..6bd38634 100644 --- a/spm/__toolbox/__Neural_Models/__NMDA_NMM_MFM/spm_fx_mfm_NMDA.py +++ b/spm/__toolbox/__Neural_Models/__NMDA_NMM_MFM/spm_fx_mfm_NMDA.py @@ -2,7 +2,7 @@ def spm_fx_mfm_NMDA(*args, **kwargs): - """ + r""" State equations for neural-mass and mean-field models FORMAT [f,J,Q] = spm_fx_mfm_NMDA(x,u,P,M) @@ -48,9 +48,12 @@ def spm_fx_mfm_NMDA(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/Neural_Models/NMDA_NMM_MFM/spm_fx_mfm_NMDA.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/Neural_Models/NMDA_NMM_MFM/spm_fx_mfm_NMDA.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_fx_mfm_NMDA", *args, **kwargs) diff --git a/spm/__toolbox/__Neural_Models/__NMDA_NMM_MFM/spm_lfp_mtf_sample.py b/spm/__toolbox/__Neural_Models/__NMDA_NMM_MFM/spm_lfp_mtf_sample.py index 8f8bdbf1..afd021c5 100644 --- a/spm/__toolbox/__Neural_Models/__NMDA_NMM_MFM/spm_lfp_mtf_sample.py +++ b/spm/__toolbox/__Neural_Models/__NMDA_NMM_MFM/spm_lfp_mtf_sample.py @@ -2,7 +2,7 @@ def spm_lfp_mtf_sample(*args, **kwargs): - """ + r""" Spectral response of a NMM (transfer function x noise spectrum) FORMAT [G,w] = spm_lfp_mtf_sample(P,M,U) @@ -16,9 +16,12 @@ def spm_lfp_mtf_sample(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/Neural_Models/NMDA_NMM_MFM/spm_lfp_mtf_sample.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/Neural_Models/NMDA_NMM_MFM/spm_lfp_mtf_sample.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_lfp_mtf_sample", *args, **kwargs) diff --git a/spm/__toolbox/__Neural_Models/__NMDA_NMM_MFM/spm_nmm_priors_NMDA.py b/spm/__toolbox/__Neural_Models/__NMDA_NMM_MFM/spm_nmm_priors_NMDA.py index 21749e2d..a544d449 100644 --- a/spm/__toolbox/__Neural_Models/__NMDA_NMM_MFM/spm_nmm_priors_NMDA.py +++ b/spm/__toolbox/__Neural_Models/__NMDA_NMM_MFM/spm_nmm_priors_NMDA.py @@ -2,7 +2,7 @@ def spm_nmm_priors_NMDA(*args, **kwargs): - """ + r""" prior moments for a neural-mass model of ERPs FORMAT [pE,pC] = spm_nmm_priors_NMDA(A,B,C) @@ -49,9 +49,12 @@ def spm_nmm_priors_NMDA(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/Neural_Models/NMDA_NMM_MFM/spm_nmm_priors_NMDA.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/Neural_Models/NMDA_NMM_MFM/spm_nmm_priors_NMDA.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_nmm_priors_NMDA", *args, **kwargs) diff --git a/spm/__toolbox/__Neural_Models/__NMDA_NMM_MFM/spm_x_mfm_NMDA.py b/spm/__toolbox/__Neural_Models/__NMDA_NMM_MFM/spm_x_mfm_NMDA.py index 63c2207f..7ee9ed0f 100644 --- a/spm/__toolbox/__Neural_Models/__NMDA_NMM_MFM/spm_x_mfm_NMDA.py +++ b/spm/__toolbox/__Neural_Models/__NMDA_NMM_MFM/spm_x_mfm_NMDA.py @@ -2,7 +2,7 @@ def spm_x_mfm_NMDA(*args, **kwargs): - """ + r""" initialises a state structure for a mean field model FORMAT [x,M] = spm_x_mfm_NMDA(P) @@ -26,9 +26,12 @@ def spm_x_mfm_NMDA(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/Neural_Models/NMDA_NMM_MFM/spm_x_mfm_NMDA.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/Neural_Models/NMDA_NMM_MFM/spm_x_mfm_NMDA.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_x_mfm_NMDA", *args, **kwargs) diff --git a/spm/__toolbox/__Neural_Models/spm_csd_demo.py b/spm/__toolbox/__Neural_Models/spm_csd_demo.py index 8014ddc4..1f33a7c7 100644 --- a/spm/__toolbox/__Neural_Models/spm_csd_demo.py +++ b/spm/__toolbox/__Neural_Models/spm_csd_demo.py @@ -2,7 +2,7 @@ def spm_csd_demo(*args, **kwargs): - """ + r""" Demo routine for inverting local field potential models using cross-spectral density summaries of steady-state dynamics __________________________________________________________________________ @@ -51,9 +51,12 @@ def spm_csd_demo(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/Neural_Models/spm_csd_demo.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/Neural_Models/spm_csd_demo.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_csd_demo", *args, **kwargs, nargout=0) diff --git a/spm/__toolbox/__Neural_Models/spm_dcm_Granger_asymmetry_demo.py b/spm/__toolbox/__Neural_Models/spm_dcm_Granger_asymmetry_demo.py index 74a9bb3e..f54ed69b 100644 --- a/spm/__toolbox/__Neural_Models/spm_dcm_Granger_asymmetry_demo.py +++ b/spm/__toolbox/__Neural_Models/spm_dcm_Granger_asymmetry_demo.py @@ -2,7 +2,7 @@ def spm_dcm_Granger_asymmetry_demo(*args, **kwargs): - """ + r""" Demo routine for induced responses ========================================================================== @@ -28,9 +28,12 @@ def spm_dcm_Granger_asymmetry_demo(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/Neural_Models/spm_dcm_Granger_asymmetry_demo.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/Neural_Models/spm_dcm_Granger_asymmetry_demo.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_dcm_Granger_asymmetry_demo", *args, **kwargs, nargout=0) diff --git a/spm/__toolbox/__Neural_Models/spm_dcm_Granger_demo.py b/spm/__toolbox/__Neural_Models/spm_dcm_Granger_demo.py index 9fc7ac6b..de115ecf 100644 --- a/spm/__toolbox/__Neural_Models/spm_dcm_Granger_demo.py +++ b/spm/__toolbox/__Neural_Models/spm_dcm_Granger_demo.py @@ -2,7 +2,7 @@ def spm_dcm_Granger_demo(*args, **kwargs): - """ + r""" Demo routine for induced responses ========================================================================== @@ -28,9 +28,12 @@ def spm_dcm_Granger_demo(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/Neural_Models/spm_dcm_Granger_demo.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/Neural_Models/spm_dcm_Granger_demo.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_dcm_Granger_demo", *args, **kwargs, nargout=0) diff --git a/spm/__toolbox/__Neural_Models/spm_dcm_prior_responses.py b/spm/__toolbox/__Neural_Models/spm_dcm_prior_responses.py index d0e1839c..76637a98 100644 --- a/spm/__toolbox/__Neural_Models/spm_dcm_prior_responses.py +++ b/spm/__toolbox/__Neural_Models/spm_dcm_prior_responses.py @@ -2,7 +2,7 @@ def spm_dcm_prior_responses(*args, **kwargs): - """ + r""" Demo routine that computes transfer functions for free parameters ========================================================================== @@ -20,9 +20,12 @@ def spm_dcm_prior_responses(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/Neural_Models/spm_dcm_prior_responses.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/Neural_Models/spm_dcm_prior_responses.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_dcm_prior_responses", *args, **kwargs, nargout=0) diff --git a/spm/__toolbox/__Neural_Models/spm_delays_demo.py b/spm/__toolbox/__Neural_Models/spm_delays_demo.py index afc5d2cc..d1822e21 100644 --- a/spm/__toolbox/__Neural_Models/spm_delays_demo.py +++ b/spm/__toolbox/__Neural_Models/spm_delays_demo.py @@ -2,7 +2,7 @@ def spm_delays_demo(*args, **kwargs): - """ + r""" Demo routine for induced responses ========================================================================== @@ -21,9 +21,12 @@ def spm_delays_demo(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/Neural_Models/spm_delays_demo.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/Neural_Models/spm_delays_demo.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_delays_demo", *args, **kwargs, nargout=0) diff --git a/spm/__toolbox/__Neural_Models/spm_demo_proceed.py b/spm/__toolbox/__Neural_Models/spm_demo_proceed.py index 4238eb9d..698f0a92 100644 --- a/spm/__toolbox/__Neural_Models/spm_demo_proceed.py +++ b/spm/__toolbox/__Neural_Models/spm_demo_proceed.py @@ -2,7 +2,7 @@ def spm_demo_proceed(*args, **kwargs): - """ + r""" prompt for OK and activate correct figure FORMAT spm_demo_proceed(tag,str) @@ -11,9 +11,12 @@ def spm_demo_proceed(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/Neural_Models/spm_demo_proceed.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/Neural_Models/spm_demo_proceed.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_demo_proceed", *args, **kwargs, nargout=0) diff --git a/spm/__toolbox/__Neural_Models/spm_erp2csd_demo.py b/spm/__toolbox/__Neural_Models/spm_erp2csd_demo.py index 0b721cf8..5001f795 100644 --- a/spm/__toolbox/__Neural_Models/spm_erp2csd_demo.py +++ b/spm/__toolbox/__Neural_Models/spm_erp2csd_demo.py @@ -2,7 +2,7 @@ def spm_erp2csd_demo(*args, **kwargs): - """ + r""" Demo routine for local field potential models ========================================================================== @@ -27,9 +27,12 @@ def spm_erp2csd_demo(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/Neural_Models/spm_erp2csd_demo.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/Neural_Models/spm_erp2csd_demo.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_erp2csd_demo", *args, **kwargs, nargout=0) diff --git a/spm/__toolbox/__Neural_Models/spm_freqs.py b/spm/__toolbox/__Neural_Models/spm_freqs.py index e2222b2a..77fb403a 100644 --- a/spm/__toolbox/__Neural_Models/spm_freqs.py +++ b/spm/__toolbox/__Neural_Models/spm_freqs.py @@ -2,7 +2,7 @@ def spm_freqs(*args, **kwargs): - """ + r""" FREQS Laplace-transform (s-domain) frequency response. H = FREQS(B,A,W) returns the complex frequency response vector H of the filter B/A: @@ -24,9 +24,12 @@ def spm_freqs(*args, **kwargs): See also LOGSPACE, POLYVAL, INVFREQS, and FREQZ. - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/Neural_Models/spm_freqs.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/Neural_Models/spm_freqs.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_freqs", *args, **kwargs) diff --git a/spm/__toolbox/__Neural_Models/spm_fx_hh.py b/spm/__toolbox/__Neural_Models/spm_fx_hh.py index 65592784..dd40316e 100644 --- a/spm/__toolbox/__Neural_Models/spm_fx_hh.py +++ b/spm/__toolbox/__Neural_Models/spm_fx_hh.py @@ -2,7 +2,7 @@ def spm_fx_hh(*args, **kwargs): - """ + r""" state equation for a single Hodgkin-Huxley like unit FORMAT [y] = spm_fx_hh(x,u,P) @@ -23,9 +23,12 @@ def spm_fx_hh(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/Neural_Models/spm_fx_hh.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/Neural_Models/spm_fx_hh.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_fx_hh", *args, **kwargs) diff --git a/spm/__toolbox/__Neural_Models/spm_fx_lfp.py b/spm/__toolbox/__Neural_Models/spm_fx_lfp.py index 2aeebb14..ab4434e6 100644 --- a/spm/__toolbox/__Neural_Models/spm_fx_lfp.py +++ b/spm/__toolbox/__Neural_Models/spm_fx_lfp.py @@ -2,7 +2,7 @@ def spm_fx_lfp(*args, **kwargs): - """ + r""" state equations for a neural mass model of erps FORMAT [f,J] = spm_fx_lfp(x,u,P,M) x - state vector @@ -42,9 +42,12 @@ def spm_fx_lfp(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/Neural_Models/spm_fx_lfp.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/Neural_Models/spm_fx_lfp.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_fx_lfp", *args, **kwargs) diff --git a/spm/__toolbox/__Neural_Models/spm_fx_mfm_ensemble.py b/spm/__toolbox/__Neural_Models/spm_fx_mfm_ensemble.py index 9f2f7a25..dbc675f4 100644 --- a/spm/__toolbox/__Neural_Models/spm_fx_mfm_ensemble.py +++ b/spm/__toolbox/__Neural_Models/spm_fx_mfm_ensemble.py @@ -2,7 +2,7 @@ def spm_fx_mfm_ensemble(*args, **kwargs): - """ + r""" state equations for a mean-field model FORMAT [f] = spm_fx_mfm_ensemble(x,u,P) @@ -26,9 +26,12 @@ def spm_fx_mfm_ensemble(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/Neural_Models/spm_fx_mfm_ensemble.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/Neural_Models/spm_fx_mfm_ensemble.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_fx_mfm_ensemble", *args, **kwargs) diff --git a/spm/__toolbox/__Neural_Models/spm_gx_hh.py b/spm/__toolbox/__Neural_Models/spm_gx_hh.py index f7a144ec..f28137e8 100644 --- a/spm/__toolbox/__Neural_Models/spm_gx_hh.py +++ b/spm/__toolbox/__Neural_Models/spm_gx_hh.py @@ -2,7 +2,7 @@ def spm_gx_hh(*args, **kwargs): - """ + r""" output for a single Hodgkin-Huxley like unit FORMAT [y] = spm_gx_hh(x,u,P) @@ -24,9 +24,12 @@ def spm_gx_hh(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/Neural_Models/spm_gx_hh.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/Neural_Models/spm_gx_hh.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_gx_hh", *args, **kwargs) diff --git a/spm/__toolbox/__Neural_Models/spm_gx_mfm.py b/spm/__toolbox/__Neural_Models/spm_gx_mfm.py index c840e278..c1a92650 100644 --- a/spm/__toolbox/__Neural_Models/spm_gx_mfm.py +++ b/spm/__toolbox/__Neural_Models/spm_gx_mfm.py @@ -2,7 +2,7 @@ def spm_gx_mfm(*args, **kwargs): - """ + r""" observer for a mean-field model (spiking) FORMAT [m] = spm_gx_mfm(x,u,P,M) x - state vector @@ -14,9 +14,12 @@ def spm_gx_mfm(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/Neural_Models/spm_gx_mfm.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/Neural_Models/spm_gx_mfm.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_gx_mfm", *args, **kwargs) diff --git a/spm/__toolbox/__Neural_Models/spm_ind_demo.py b/spm/__toolbox/__Neural_Models/spm_ind_demo.py index 582a80d7..9d25a819 100644 --- a/spm/__toolbox/__Neural_Models/spm_ind_demo.py +++ b/spm/__toolbox/__Neural_Models/spm_ind_demo.py @@ -2,7 +2,7 @@ def spm_ind_demo(*args, **kwargs): - """ + r""" Demo for models of induced frequency responses and nonlinear coupling ========================================================================== @@ -39,9 +39,12 @@ def spm_ind_demo(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/Neural_Models/spm_ind_demo.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/Neural_Models/spm_ind_demo.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_ind_demo", *args, **kwargs, nargout=0) diff --git a/spm/__toolbox/__Neural_Models/spm_induced_optimise.py b/spm/__toolbox/__Neural_Models/spm_induced_optimise.py index 8ab906a6..ac1dfc4c 100644 --- a/spm/__toolbox/__Neural_Models/spm_induced_optimise.py +++ b/spm/__toolbox/__Neural_Models/spm_induced_optimise.py @@ -2,7 +2,7 @@ def spm_induced_optimise(*args, **kwargs): - """ + r""" Demo routine that computes transfer functions for free parameters ========================================================================== @@ -16,9 +16,12 @@ def spm_induced_optimise(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/Neural_Models/spm_induced_optimise.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/Neural_Models/spm_induced_optimise.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_induced_optimise", *args, **kwargs, nargout=0) diff --git a/spm/__toolbox/__Neural_Models/spm_induced_optimise_parameters.py b/spm/__toolbox/__Neural_Models/spm_induced_optimise_parameters.py index 52613a9c..8199a2cf 100644 --- a/spm/__toolbox/__Neural_Models/spm_induced_optimise_parameters.py +++ b/spm/__toolbox/__Neural_Models/spm_induced_optimise_parameters.py @@ -2,7 +2,7 @@ def spm_induced_optimise_parameters(*args, **kwargs): - """ + r""" Demo routine that optimises free parameters ========================================================================== @@ -13,9 +13,12 @@ def spm_induced_optimise_parameters(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/Neural_Models/spm_induced_optimise_parameters.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/Neural_Models/spm_induced_optimise_parameters.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_induced_optimise_parameters", *args, **kwargs) diff --git a/spm/__toolbox/__Neural_Models/spm_lfp_demo.py b/spm/__toolbox/__Neural_Models/spm_lfp_demo.py index 2f1a9adb..01c65964 100644 --- a/spm/__toolbox/__Neural_Models/spm_lfp_demo.py +++ b/spm/__toolbox/__Neural_Models/spm_lfp_demo.py @@ -2,7 +2,7 @@ def spm_lfp_demo(*args, **kwargs): - """ + r""" Demo routine for local field potential models ========================================================================== @@ -19,9 +19,12 @@ def spm_lfp_demo(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/Neural_Models/spm_lfp_demo.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/Neural_Models/spm_lfp_demo.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_lfp_demo", *args, **kwargs, nargout=0) diff --git a/spm/__toolbox/__Neural_Models/spm_lfp_log.py b/spm/__toolbox/__Neural_Models/spm_lfp_log.py index df3c0cd1..57eaaf9b 100644 --- a/spm/__toolbox/__Neural_Models/spm_lfp_log.py +++ b/spm/__toolbox/__Neural_Models/spm_lfp_log.py @@ -2,7 +2,7 @@ def spm_lfp_log(*args, **kwargs): - """ + r""" Feature selection for lfp and mtf (spectral) neural mass models FORMAT [y] = spm_lfp_log(y,M) @@ -10,9 +10,12 @@ def spm_lfp_log(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/Neural_Models/spm_lfp_log.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/Neural_Models/spm_lfp_log.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_lfp_log", *args, **kwargs) diff --git a/spm/__toolbox/__Neural_Models/spm_lfp_mtf.py b/spm/__toolbox/__Neural_Models/spm_lfp_mtf.py index 666c3a91..398dc284 100644 --- a/spm/__toolbox/__Neural_Models/spm_lfp_mtf.py +++ b/spm/__toolbox/__Neural_Models/spm_lfp_mtf.py @@ -2,7 +2,7 @@ def spm_lfp_mtf(*args, **kwargs): - """ + r""" Spectral response of a NMM (transfer function x noise spectrum) FORMAT [G,w] = spm_lfp_mtf(P,M,U) @@ -16,9 +16,12 @@ def spm_lfp_mtf(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/Neural_Models/spm_lfp_mtf.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/Neural_Models/spm_lfp_mtf.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_lfp_mtf", *args, **kwargs) diff --git a/spm/__toolbox/__Neural_Models/spm_lfp_priors.py b/spm/__toolbox/__Neural_Models/spm_lfp_priors.py index b2877d1a..f195501d 100644 --- a/spm/__toolbox/__Neural_Models/spm_lfp_priors.py +++ b/spm/__toolbox/__Neural_Models/spm_lfp_priors.py @@ -2,7 +2,7 @@ def spm_lfp_priors(*args, **kwargs): - """ + r""" prior moments for a neural mass model of ERPs FORMAT [pE,pC] = spm_lfp_priors(A,B,C) @@ -41,9 +41,12 @@ def spm_lfp_priors(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/Neural_Models/spm_lfp_priors.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/Neural_Models/spm_lfp_priors.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_lfp_priors", *args, **kwargs) diff --git a/spm/__toolbox/__Neural_Models/spm_lfp_sqrt.py b/spm/__toolbox/__Neural_Models/spm_lfp_sqrt.py index 84eeea3d..3d07af7f 100644 --- a/spm/__toolbox/__Neural_Models/spm_lfp_sqrt.py +++ b/spm/__toolbox/__Neural_Models/spm_lfp_sqrt.py @@ -2,7 +2,7 @@ def spm_lfp_sqrt(*args, **kwargs): - """ + r""" Feature selection for lfp and mtf (spectral) neural mass models FORMAT [y] = spm_lfp_sqrt(y,M) @@ -10,9 +10,12 @@ def spm_lfp_sqrt(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/Neural_Models/spm_lfp_sqrt.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/Neural_Models/spm_lfp_sqrt.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_lfp_sqrt", *args, **kwargs) diff --git a/spm/__toolbox/__Neural_Models/spm_mfa.py b/spm/__toolbox/__Neural_Models/spm_mfa.py index a04b11cf..6524f793 100644 --- a/spm/__toolbox/__Neural_Models/spm_mfa.py +++ b/spm/__toolbox/__Neural_Models/spm_mfa.py @@ -2,7 +2,7 @@ def spm_mfa(*args, **kwargs): - """ + r""" Jacobian for mean field approximations FORMAT [M0,M1,L,X,q0] = spm_mfa(M,x,u) -------------------------------------------------------------------------- @@ -26,9 +26,12 @@ def spm_mfa(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/Neural_Models/spm_mfa.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/Neural_Models/spm_mfa.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_mfa", *args, **kwargs) diff --git a/spm/__toolbox/__Neural_Models/spm_mfa_G.py b/spm/__toolbox/__Neural_Models/spm_mfa_G.py index b894de04..6f8facd8 100644 --- a/spm/__toolbox/__Neural_Models/spm_mfa_G.py +++ b/spm/__toolbox/__Neural_Models/spm_mfa_G.py @@ -2,7 +2,7 @@ def spm_mfa_G(*args, **kwargs): - """ + r""" Create a structure for a Gibb's ensemble FORMAT [G] = spm_mfa_G(M,x) -------------------------------------------------------------------------- @@ -32,9 +32,12 @@ def spm_mfa_G(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/Neural_Models/spm_mfa_G.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/Neural_Models/spm_mfa_G.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_mfa_G", *args, **kwargs) diff --git a/spm/__toolbox/__Neural_Models/spm_mfa_bi.py b/spm/__toolbox/__Neural_Models/spm_mfa_bi.py index 6b4bba51..6312aa5a 100644 --- a/spm/__toolbox/__Neural_Models/spm_mfa_bi.py +++ b/spm/__toolbox/__Neural_Models/spm_mfa_bi.py @@ -2,7 +2,7 @@ def spm_mfa_bi(*args, **kwargs): - """ + r""" Bilinear form as a function of coupling parameters FORMAT [M0,M1,L1] = spm_mfa_bi(M,P) -------------------------------------------------------------------------- @@ -25,9 +25,12 @@ def spm_mfa_bi(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/Neural_Models/spm_mfa_bi.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/Neural_Models/spm_mfa_bi.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_mfa_bi", *args, **kwargs) diff --git a/spm/__toolbox/__Neural_Models/spm_mfa_bi_multi.py b/spm/__toolbox/__Neural_Models/spm_mfa_bi_multi.py index 7b32be1a..c24882a4 100644 --- a/spm/__toolbox/__Neural_Models/spm_mfa_bi_multi.py +++ b/spm/__toolbox/__Neural_Models/spm_mfa_bi_multi.py @@ -2,7 +2,7 @@ def spm_mfa_bi_multi(*args, **kwargs): - """ + r""" Bilinear form for multiple Gibb's ensembles FORMAT [M0,M1,L,M2] = spm_mfa_bi_multi(S,C) -------------------------------------------------------------------------- @@ -30,9 +30,12 @@ def spm_mfa_bi_multi(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/Neural_Models/spm_mfa_bi_multi.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/Neural_Models/spm_mfa_bi_multi.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_mfa_bi_multi", *args, **kwargs) diff --git a/spm/__toolbox/__Neural_Models/spm_mfa_demo.py b/spm/__toolbox/__Neural_Models/spm_mfa_demo.py index b96b7bc1..e49d043f 100644 --- a/spm/__toolbox/__Neural_Models/spm_mfa_demo.py +++ b/spm/__toolbox/__Neural_Models/spm_mfa_demo.py @@ -2,7 +2,7 @@ def spm_mfa_demo(*args, **kwargs): - """ + r""" Demonstration of mean field approximation for spiking neurons. This demo is just meant to illustrate how one gets from the differential equations of a Hodgkin Huxley like neuron to ensemble dynamics through a Fokker @@ -14,9 +14,12 @@ def spm_mfa_demo(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/Neural_Models/spm_mfa_demo.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/Neural_Models/spm_mfa_demo.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_mfa_demo", *args, **kwargs, nargout=0) diff --git a/spm/__toolbox/__Neural_Models/spm_mfm_demo.py b/spm/__toolbox/__Neural_Models/spm_mfm_demo.py index fad6dd3f..e466f014 100644 --- a/spm/__toolbox/__Neural_Models/spm_mfm_demo.py +++ b/spm/__toolbox/__Neural_Models/spm_mfm_demo.py @@ -2,7 +2,7 @@ def spm_mfm_demo(*args, **kwargs): - """ + r""" Demo routine for mean-field models ========================================================================== @@ -46,9 +46,12 @@ def spm_mfm_demo(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/Neural_Models/spm_mfm_demo.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/Neural_Models/spm_mfm_demo.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_mfm_demo", *args, **kwargs, nargout=0) diff --git a/spm/__toolbox/__Neural_Models/spm_mtf_demo.py b/spm/__toolbox/__Neural_Models/spm_mtf_demo.py index d414f14f..834f73fa 100644 --- a/spm/__toolbox/__Neural_Models/spm_mtf_demo.py +++ b/spm/__toolbox/__Neural_Models/spm_mtf_demo.py @@ -2,7 +2,7 @@ def spm_mtf_demo(*args, **kwargs): - """ + r""" Demo routine for inverting local field potential models ========================================================================== @@ -44,9 +44,12 @@ def spm_mtf_demo(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/Neural_Models/spm_mtf_demo.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/Neural_Models/spm_mtf_demo.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_mtf_demo", *args, **kwargs, nargout=0) diff --git a/spm/__toolbox/__Neural_Models/spm_neil.py b/spm/__toolbox/__Neural_Models/spm_neil.py index eca75e54..1967030f 100644 --- a/spm/__toolbox/__Neural_Models/spm_neil.py +++ b/spm/__toolbox/__Neural_Models/spm_neil.py @@ -2,7 +2,7 @@ def spm_neil(*args, **kwargs): - """ + r""" Demo routine for hemodynamic model ========================================================================== For Prof Neil Burgess @@ -10,9 +10,12 @@ def spm_neil(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/Neural_Models/spm_neil.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/Neural_Models/spm_neil.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_neil", *args, **kwargs, nargout=0) diff --git a/spm/__toolbox/__Neural_Models/spm_nested_oscillations_demo.py b/spm/__toolbox/__Neural_Models/spm_nested_oscillations_demo.py index fe5d8724..8615c6fd 100644 --- a/spm/__toolbox/__Neural_Models/spm_nested_oscillations_demo.py +++ b/spm/__toolbox/__Neural_Models/spm_nested_oscillations_demo.py @@ -2,7 +2,7 @@ def spm_nested_oscillations_demo(*args, **kwargs): - """ + r""" Demo routine for neural mass models of nested oscillations ========================================================================== @@ -38,9 +38,12 @@ def spm_nested_oscillations_demo(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/Neural_Models/spm_nested_oscillations_demo.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/Neural_Models/spm_nested_oscillations_demo.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_nested_oscillations_demo", *args, **kwargs, nargout=0) diff --git a/spm/__toolbox/__Neural_Models/spm_nmda_priors.py b/spm/__toolbox/__Neural_Models/spm_nmda_priors.py index fd4d9c40..864decbf 100644 --- a/spm/__toolbox/__Neural_Models/spm_nmda_priors.py +++ b/spm/__toolbox/__Neural_Models/spm_nmda_priors.py @@ -2,7 +2,7 @@ def spm_nmda_priors(*args, **kwargs): - """ + r""" prior moments for a neural-mass model of ERPs FORMAT [pE,pC] = spm_nmm_priors(A,B,C) @@ -49,9 +49,12 @@ def spm_nmda_priors(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/Neural_Models/spm_nmda_priors.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/Neural_Models/spm_nmda_priors.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_nmda_priors", *args, **kwargs) diff --git a/spm/__toolbox/__Neural_Models/spm_opt_bfun.py b/spm/__toolbox/__Neural_Models/spm_opt_bfun.py index 06df6c1f..be678252 100644 --- a/spm/__toolbox/__Neural_Models/spm_opt_bfun.py +++ b/spm/__toolbox/__Neural_Models/spm_opt_bfun.py @@ -2,15 +2,18 @@ def spm_opt_bfun(*args, **kwargs): - """ + r""" FORMAT spm_opt_bfun __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/Neural_Models/spm_opt_bfun.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/Neural_Models/spm_opt_bfun.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_opt_bfun", *args, **kwargs, nargout=0) diff --git a/spm/__toolbox/__Neural_Models/spm_seizure_demo.py b/spm/__toolbox/__Neural_Models/spm_seizure_demo.py index 37b72a14..f55713a0 100644 --- a/spm/__toolbox/__Neural_Models/spm_seizure_demo.py +++ b/spm/__toolbox/__Neural_Models/spm_seizure_demo.py @@ -2,7 +2,7 @@ def spm_seizure_demo(*args, **kwargs): - """ + r""" Demo routine for local field potential models ========================================================================== @@ -16,9 +16,12 @@ def spm_seizure_demo(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/Neural_Models/spm_seizure_demo.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/Neural_Models/spm_seizure_demo.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_seizure_demo", *args, **kwargs, nargout=0) diff --git a/spm/__toolbox/__Neural_Models/spm_sigmoid_demo.py b/spm/__toolbox/__Neural_Models/spm_sigmoid_demo.py index 2b95e8c1..79a45781 100644 --- a/spm/__toolbox/__Neural_Models/spm_sigmoid_demo.py +++ b/spm/__toolbox/__Neural_Models/spm_sigmoid_demo.py @@ -2,7 +2,7 @@ def spm_sigmoid_demo(*args, **kwargs): - """ + r""" Demo routine for neural mass models and the activation function ========================================================================= @@ -31,9 +31,12 @@ def spm_sigmoid_demo(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/Neural_Models/spm_sigmoid_demo.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/Neural_Models/spm_sigmoid_demo.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_sigmoid_demo", *args, **kwargs, nargout=0) diff --git a/spm/__toolbox/__OldNorm/spm_affreg.py b/spm/__toolbox/__OldNorm/spm_affreg.py index c8204f05..72588697 100644 --- a/spm/__toolbox/__OldNorm/spm_affreg.py +++ b/spm/__toolbox/__OldNorm/spm_affreg.py @@ -2,7 +2,7 @@ def spm_affreg(*args, **kwargs): - """ + r""" Affine registration using least squares FORMAT [M,scal] = spm_affreg(VG,VF,flags,M0,scal0) @@ -40,9 +40,12 @@ def spm_affreg(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/OldNorm/spm_affreg.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/OldNorm/spm_affreg.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_affreg", *args, **kwargs) diff --git a/spm/__toolbox/__OldNorm/spm_brainwarp.py b/spm/__toolbox/__OldNorm/spm_brainwarp.py index a6608bcf..b54ccab0 100644 --- a/spm/__toolbox/__OldNorm/spm_brainwarp.py +++ b/spm/__toolbox/__OldNorm/spm_brainwarp.py @@ -2,7 +2,7 @@ def spm_brainwarp(*args, **kwargs): - """ + r""" Part of old nonlinear spatial normalisation - a compiled routine __________________________________________________________________________ [Alpha,Beta,Var] = spm_brainwarp(VG,VF,Affine,basX,basY,basZ,... @@ -72,9 +72,12 @@ def spm_brainwarp(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/OldNorm/spm_brainwarp.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/OldNorm/spm_brainwarp.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_brainwarp", *args, **kwargs) diff --git a/spm/__toolbox/__OldNorm/spm_cfg_normalise.py b/spm/__toolbox/__OldNorm/spm_cfg_normalise.py index e319e450..a33fd907 100644 --- a/spm/__toolbox/__OldNorm/spm_cfg_normalise.py +++ b/spm/__toolbox/__OldNorm/spm_cfg_normalise.py @@ -2,14 +2,17 @@ def spm_cfg_normalise(*args, **kwargs): - """ + r""" SPM Configuration file for toolbox 'Old Normalise' __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/OldNorm/spm_cfg_normalise.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/OldNorm/spm_cfg_normalise.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_cfg_normalise", *args, **kwargs) diff --git a/spm/__toolbox/__OldNorm/spm_get_orig_coord.py b/spm/__toolbox/__OldNorm/spm_get_orig_coord.py index d4296813..0e94d00b 100644 --- a/spm/__toolbox/__OldNorm/spm_get_orig_coord.py +++ b/spm/__toolbox/__OldNorm/spm_get_orig_coord.py @@ -2,7 +2,7 @@ def spm_get_orig_coord(*args, **kwargs): - """ + r""" Determine corresponding co-ordinate in un-normalised image. FORMAT orig_coord = get_orig_coord2(coord, matname,PU) coord - [x1 y1 z1 ; x2 y2 z2 ; etc] in MNI space (mm). @@ -19,9 +19,12 @@ def spm_get_orig_coord(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/OldNorm/spm_get_orig_coord.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/OldNorm/spm_get_orig_coord.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_get_orig_coord", *args, **kwargs) diff --git a/spm/__toolbox/__OldNorm/spm_normalise.py b/spm/__toolbox/__OldNorm/spm_normalise.py index 20d24dc1..7c2acc9d 100644 --- a/spm/__toolbox/__OldNorm/spm_normalise.py +++ b/spm/__toolbox/__OldNorm/spm_normalise.py @@ -2,7 +2,7 @@ def spm_normalise(*args, **kwargs): - """ + r""" Spatial (stereotactic) normalization FORMAT params = spm_normalise(VG,VF,matname,VWG,VWF,flags) @@ -123,9 +123,12 @@ def spm_normalise(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/OldNorm/spm_normalise.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/OldNorm/spm_normalise.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_normalise", *args, **kwargs) diff --git a/spm/__toolbox/__OldNorm/spm_normalise_disp.py b/spm/__toolbox/__OldNorm/spm_normalise_disp.py index 72ed930c..623757e9 100644 --- a/spm/__toolbox/__OldNorm/spm_normalise_disp.py +++ b/spm/__toolbox/__OldNorm/spm_normalise_disp.py @@ -2,16 +2,19 @@ def spm_normalise_disp(*args, **kwargs): - """ + r""" Display results of spatial normalisation FORMAT spm_normalise_disp(matname) matname - name of parameter file *_sn.mat __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/OldNorm/spm_normalise_disp.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/OldNorm/spm_normalise_disp.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_normalise_disp", *args, **kwargs, nargout=0) diff --git a/spm/__toolbox/__OldNorm/spm_run_normalise.py b/spm/__toolbox/__OldNorm/spm_run_normalise.py index 91f1ebf0..28f1789c 100644 --- a/spm/__toolbox/__OldNorm/spm_run_normalise.py +++ b/spm/__toolbox/__OldNorm/spm_run_normalise.py @@ -2,7 +2,7 @@ def spm_run_normalise(*args, **kwargs): - """ + r""" SPM job execution function takes a harvested job data structure and call SPM functions to perform computations on the data. @@ -13,9 +13,12 @@ def spm_run_normalise(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/OldNorm/spm_run_normalise.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/OldNorm/spm_run_normalise.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_run_normalise", *args, **kwargs) diff --git a/spm/__toolbox/__OldNorm/spm_write_sn.py b/spm/__toolbox/__OldNorm/spm_write_sn.py index ccefa4ad..12acc673 100644 --- a/spm/__toolbox/__OldNorm/spm_write_sn.py +++ b/spm/__toolbox/__OldNorm/spm_write_sn.py @@ -2,7 +2,7 @@ def spm_write_sn(*args, **kwargs): - """ + r""" Write out warped images FORMAT VO = spm_write_sn(V,prm,flags,msk) V - Images to transform (filenames or volume structure). @@ -65,9 +65,12 @@ def spm_write_sn(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/OldNorm/spm_write_sn.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/OldNorm/spm_write_sn.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_write_sn", *args, **kwargs) diff --git a/spm/__toolbox/__OldSeg/spm_cfg_preproc.py b/spm/__toolbox/__OldSeg/spm_cfg_preproc.py index 702b525f..8c33d8e5 100644 --- a/spm/__toolbox/__OldSeg/spm_cfg_preproc.py +++ b/spm/__toolbox/__OldSeg/spm_cfg_preproc.py @@ -2,14 +2,17 @@ def spm_cfg_preproc(*args, **kwargs): - """ + r""" SPM Configuration file for toolbox 'Old Segment' __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/OldSeg/spm_cfg_preproc.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/OldSeg/spm_cfg_preproc.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_cfg_preproc", *args, **kwargs) diff --git a/spm/__toolbox/__OldSeg/spm_invdef.py b/spm/__toolbox/__OldSeg/spm_invdef.py index 6e39b7fc..1e5b5074 100644 --- a/spm/__toolbox/__OldSeg/spm_invdef.py +++ b/spm/__toolbox/__OldSeg/spm_invdef.py @@ -2,7 +2,7 @@ def spm_invdef(*args, **kwargs): - """ + r""" Create the inverse of a deformation field FORMAT [Y1,Y2,Y3] = spm_invdef(X1,X2,X3,dimY,MX,MY) X1, X2 & X3 - Three components of original deformation field. @@ -32,9 +32,12 @@ def spm_invdef(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/OldSeg/spm_invdef.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/OldSeg/spm_invdef.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_invdef", *args, **kwargs) diff --git a/spm/__toolbox/__OldSeg/spm_load_priors.py b/spm/__toolbox/__OldSeg/spm_load_priors.py index b44db398..0c040609 100644 --- a/spm/__toolbox/__OldSeg/spm_load_priors.py +++ b/spm/__toolbox/__OldSeg/spm_load_priors.py @@ -2,7 +2,7 @@ def spm_load_priors(*args, **kwargs): - """ + r""" Load the tissue probability maps for segmentation FORMAT b0 = spm_load_priors(B) B - structures of image volume information (or filenames) @@ -10,9 +10,12 @@ def spm_load_priors(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/OldSeg/spm_load_priors.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/OldSeg/spm_load_priors.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_load_priors", *args, **kwargs) diff --git a/spm/__toolbox/__OldSeg/spm_maff.py b/spm/__toolbox/__OldSeg/spm_maff.py index 39a65262..8b863e5c 100644 --- a/spm/__toolbox/__OldSeg/spm_maff.py +++ b/spm/__toolbox/__OldSeg/spm_maff.py @@ -2,7 +2,7 @@ def spm_maff(*args, **kwargs): - """ + r""" Affine registration to MNI space using mutual information FORMAT M = spm_maff(P,samp,x,b0,MF,M,regtyp,ff) P - filename or structure handle of image @@ -24,9 +24,12 @@ def spm_maff(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/OldSeg/spm_maff.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/OldSeg/spm_maff.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_maff", *args, **kwargs) diff --git a/spm/__toolbox/__OldSeg/spm_prep2sn.py b/spm/__toolbox/__OldSeg/spm_prep2sn.py index 1970c8b5..f05b8c0f 100644 --- a/spm/__toolbox/__OldSeg/spm_prep2sn.py +++ b/spm/__toolbox/__OldSeg/spm_prep2sn.py @@ -2,7 +2,7 @@ def spm_prep2sn(*args, **kwargs): - """ + r""" Convert the output from spm_preproc into an sn.mat file FORMAT [po,pin] = spm_prep2sn(p) p - the results of spm_preproc @@ -14,9 +14,12 @@ def spm_prep2sn(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/OldSeg/spm_prep2sn.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/OldSeg/spm_prep2sn.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_prep2sn", *args, **kwargs) diff --git a/spm/__toolbox/__OldSeg/spm_preproc_write.py b/spm/__toolbox/__OldSeg/spm_preproc_write.py index 828ac937..5e5fa8b7 100644 --- a/spm/__toolbox/__OldSeg/spm_preproc_write.py +++ b/spm/__toolbox/__OldSeg/spm_preproc_write.py @@ -2,7 +2,7 @@ def spm_preproc_write(*args, **kwargs): - """ + r""" Write out VBM preprocessed data FORMAT spm_preproc_write(p,opts) p - results from spm_prep2sn @@ -15,9 +15,12 @@ def spm_preproc_write(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/OldSeg/spm_preproc_write.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/OldSeg/spm_preproc_write.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_preproc_write", *args, **kwargs, nargout=0) diff --git a/spm/__toolbox/__OldSeg/spm_run_preproc.py b/spm/__toolbox/__OldSeg/spm_run_preproc.py index 3b86f102..fdcd6667 100644 --- a/spm/__toolbox/__OldSeg/spm_run_preproc.py +++ b/spm/__toolbox/__OldSeg/spm_run_preproc.py @@ -2,7 +2,7 @@ def spm_run_preproc(*args, **kwargs): - """ + r""" SPM job execution function takes a harvested job data structure and call SPM functions to perform computations on the data. @@ -13,9 +13,12 @@ def spm_run_preproc(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/OldSeg/spm_run_preproc.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/OldSeg/spm_run_preproc.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_run_preproc", *args, **kwargs) diff --git a/spm/__toolbox/__OldSeg/spm_sample_priors.py b/spm/__toolbox/__OldSeg/spm_sample_priors.py index 481cddb5..df1a1611 100644 --- a/spm/__toolbox/__OldSeg/spm_sample_priors.py +++ b/spm/__toolbox/__OldSeg/spm_sample_priors.py @@ -2,7 +2,7 @@ def spm_sample_priors(*args, **kwargs): - """ + r""" Sample prior probability maps FORMAT [s,ds1,ds2,ds3] = spm_sample_priors(b,x1,x2,x3,bg) b - a cell array containing the tissue probability @@ -15,9 +15,12 @@ def spm_sample_priors(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/OldSeg/spm_sample_priors.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/OldSeg/spm_sample_priors.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_sample_priors", *args, **kwargs) diff --git a/spm/__toolbox/__SPEM_and_DCM/spm_SEM_gen.py b/spm/__toolbox/__SPEM_and_DCM/spm_SEM_gen.py index d9868b58..188ac5ad 100644 --- a/spm/__toolbox/__SPEM_and_DCM/spm_SEM_gen.py +++ b/spm/__toolbox/__SPEM_and_DCM/spm_SEM_gen.py @@ -2,7 +2,7 @@ def spm_SEM_gen(*args, **kwargs): - """ + r""" Slow/saccadic eye movement prediction scheme FORMAT [y,DEM] = spm_SEM_gen(P,M,U) @@ -20,9 +20,12 @@ def spm_SEM_gen(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/SPEM_and_DCM/spm_SEM_gen.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/SPEM_and_DCM/spm_SEM_gen.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_SEM_gen", *args, **kwargs) diff --git a/spm/__toolbox/__SPEM_and_DCM/spm_SEM_gen_full.py b/spm/__toolbox/__SPEM_and_DCM/spm_SEM_gen_full.py index 090d1ca2..6b1573ce 100644 --- a/spm/__toolbox/__SPEM_and_DCM/spm_SEM_gen_full.py +++ b/spm/__toolbox/__SPEM_and_DCM/spm_SEM_gen_full.py @@ -2,7 +2,7 @@ def spm_SEM_gen_full(*args, **kwargs): - """ + r""" Slow/saccadic eye movement prediction scheme - for model FORMAT [y,DEM] = spm_SEM_gen_full(P,M,U) @@ -22,9 +22,12 @@ def spm_SEM_gen_full(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/SPEM_and_DCM/spm_SEM_gen_full.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/SPEM_and_DCM/spm_SEM_gen_full.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_SEM_gen_full", *args, **kwargs) diff --git a/spm/__toolbox/__SPEM_and_DCM/spm_dcm_spem.py b/spm/__toolbox/__SPEM_and_DCM/spm_dcm_spem.py index 6f7abaa6..93555a07 100644 --- a/spm/__toolbox/__SPEM_and_DCM/spm_dcm_spem.py +++ b/spm/__toolbox/__SPEM_and_DCM/spm_dcm_spem.py @@ -2,7 +2,7 @@ def spm_dcm_spem(*args, **kwargs): - """ + r""" Estimate parameters of a DCM of smooth pursuit eye movements FORMAT DCM = spm_dcm_spem(DCM) @@ -27,9 +27,12 @@ def spm_dcm_spem(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/SPEM_and_DCM/spm_dcm_spem.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/SPEM_and_DCM/spm_dcm_spem.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_dcm_spem", *args, **kwargs) diff --git a/spm/__toolbox/__SPEM_and_DCM/spm_dcm_spem_data.py b/spm/__toolbox/__SPEM_and_DCM/spm_dcm_spem_data.py index 44c0de6e..86e0bd94 100644 --- a/spm/__toolbox/__SPEM_and_DCM/spm_dcm_spem_data.py +++ b/spm/__toolbox/__SPEM_and_DCM/spm_dcm_spem_data.py @@ -2,7 +2,7 @@ def spm_dcm_spem_data(*args, **kwargs): - """ + r""" Prepare (decimate and normalise) data DCM for SPEM FORMAT xY = spm_dcm_spem_data(xY) @@ -15,7 +15,7 @@ def spm_dcm_spem_data(*args, **kwargs): xY.y{i} - normalised (decimated) lag (data - target) xY.u{i} - normalised (decimated) target xY.R(i) - decimation - xY.x(i) - intial states + xY.x(i) - initial states xY.dt - mean normalised (decimated) timing This auxiliary routine decimates and normalises eye movement data to a @@ -23,9 +23,12 @@ def spm_dcm_spem_data(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/SPEM_and_DCM/spm_dcm_spem_data.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/SPEM_and_DCM/spm_dcm_spem_data.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_dcm_spem_data", *args, **kwargs) diff --git a/spm/__toolbox/__SPEM_and_DCM/spm_dcm_spem_results.py b/spm/__toolbox/__SPEM_and_DCM/spm_dcm_spem_results.py index 33b178fe..81d206a8 100644 --- a/spm/__toolbox/__SPEM_and_DCM/spm_dcm_spem_results.py +++ b/spm/__toolbox/__SPEM_and_DCM/spm_dcm_spem_results.py @@ -2,7 +2,7 @@ def spm_dcm_spem_results(*args, **kwargs): - """ + r""" Display (DCM results of) of smooth pursuit eye movements FORMAT DCM = spm_dcm_spem_results(DCM) @@ -22,9 +22,12 @@ def spm_dcm_spem_results(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/SPEM_and_DCM/spm_dcm_spem_results.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/SPEM_and_DCM/spm_dcm_spem_results.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_dcm_spem_results", *args, **kwargs) diff --git a/spm/__toolbox/__SRender/spm_sextract.py b/spm/__toolbox/__SRender/spm_sextract.py index a0a2997c..ac3da228 100644 --- a/spm/__toolbox/__SRender/spm_sextract.py +++ b/spm/__toolbox/__SRender/spm_sextract.py @@ -2,14 +2,17 @@ def spm_sextract(*args, **kwargs): - """ + r""" Surface extraction __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/SRender/spm_sextract.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/SRender/spm_sextract.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_sextract", *args, **kwargs) diff --git a/spm/__toolbox/__SRender/spm_srender.py b/spm/__toolbox/__SRender/spm_srender.py index 81602127..16055c80 100644 --- a/spm/__toolbox/__SRender/spm_srender.py +++ b/spm/__toolbox/__SRender/spm_srender.py @@ -2,16 +2,19 @@ def spm_srender(*args, **kwargs): - """ + r""" A function for rendering surfaces FORMAT spm_srender(job) job - a job structure (see tbx_cfg_render.m) __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/SRender/spm_srender.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/SRender/spm_srender.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_srender", *args, **kwargs, nargout=0) diff --git a/spm/__toolbox/__SRender/tbx_cfg_render.py b/spm/__toolbox/__SRender/tbx_cfg_render.py index 69114368..dce42f99 100644 --- a/spm/__toolbox/__SRender/tbx_cfg_render.py +++ b/spm/__toolbox/__SRender/tbx_cfg_render.py @@ -2,14 +2,17 @@ def tbx_cfg_render(*args, **kwargs): - """ + r""" Configuration file for toolbox 'Rendering' __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/SRender/tbx_cfg_render.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/SRender/tbx_cfg_render.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("tbx_cfg_render", *args, **kwargs) diff --git a/spm/__toolbox/__Shoot/covLin.py b/spm/__toolbox/__Shoot/covLin.py index f6a6fe07..affd77fd 100644 --- a/spm/__toolbox/__Shoot/covLin.py +++ b/spm/__toolbox/__Shoot/covLin.py @@ -2,16 +2,19 @@ def covLin(*args, **kwargs): - """ + r""" Covariance function for linear regression/classification FORMAT [K1,lambda] = covLin(lambda0,settings,args,lab) No usage documentation yet __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/Shoot/covLin.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/Shoot/covLin.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("covLin", *args, **kwargs) diff --git a/spm/__toolbox/__Shoot/spm_GPclass.py b/spm/__toolbox/__Shoot/spm_GPclass.py index 157450eb..b8bb593d 100644 --- a/spm/__toolbox/__Shoot/spm_GPclass.py +++ b/spm/__toolbox/__Shoot/spm_GPclass.py @@ -2,7 +2,7 @@ def spm_GPclass(*args, **kwargs): - """ + r""" Gaussian process classification [p,F,K,theta,bic] = spm_GPclass(XX,t,lab,cov_fun,fun_args) Inputs: @@ -25,9 +25,12 @@ def spm_GPclass(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/Shoot/spm_GPclass.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/Shoot/spm_GPclass.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_GPclass", *args, **kwargs) diff --git a/spm/__toolbox/__Shoot/spm_def2sparse.py b/spm/__toolbox/__Shoot/spm_def2sparse.py index e194a70f..8662509c 100644 --- a/spm/__toolbox/__Shoot/spm_def2sparse.py +++ b/spm/__toolbox/__Shoot/spm_def2sparse.py @@ -2,7 +2,7 @@ def spm_def2sparse(*args, **kwargs): - """ + r""" Generate a sparse matrix encoding a deformation [Phi,dim1,dim2] = spm_def2sparse(PY,PI) PY - Filename of deformation field @@ -10,9 +10,12 @@ def spm_def2sparse(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/Shoot/spm_def2sparse.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/Shoot/spm_def2sparse.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_def2sparse", *args, **kwargs) diff --git a/spm/__toolbox/__Shoot/spm_dotprods2.py b/spm/__toolbox/__Shoot/spm_dotprods2.py index 86e02aca..591606cb 100644 --- a/spm/__toolbox/__Shoot/spm_dotprods2.py +++ b/spm/__toolbox/__Shoot/spm_dotprods2.py @@ -2,7 +2,7 @@ def spm_dotprods2(*args, **kwargs): - """ + r""" Generate a kernel from dot-products of images FORMAT spm_dotprods(job) job.images - Images to use @@ -10,9 +10,12 @@ def spm_dotprods2(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/Shoot/spm_dotprods2.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/Shoot/spm_dotprods2.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_dotprods2", *args, **kwargs) diff --git a/spm/__toolbox/__Shoot/spm_lincom.py b/spm/__toolbox/__Shoot/spm_lincom.py index a0bb63d8..9fff85e7 100644 --- a/spm/__toolbox/__Shoot/spm_lincom.py +++ b/spm/__toolbox/__Shoot/spm_lincom.py @@ -2,7 +2,7 @@ def spm_lincom(*args, **kwargs): - """ + r""" Generate linear combinations of images FORMAT spm_lincom(job) job.images - Images to use @@ -11,9 +11,12 @@ def spm_lincom(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/Shoot/spm_lincom.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/Shoot/spm_lincom.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_lincom", *args, **kwargs) diff --git a/spm/__toolbox/__Shoot/spm_shoot3d.py b/spm/__toolbox/__Shoot/spm_shoot3d.py index 84ac143f..95007b33 100644 --- a/spm/__toolbox/__Shoot/spm_shoot3d.py +++ b/spm/__toolbox/__Shoot/spm_shoot3d.py @@ -2,7 +2,7 @@ def spm_shoot3d(*args, **kwargs): - """ + r""" Geodesic shooting FORMAT [phi,Jphi,v1,theta,Jtheta] = spm_shoot3d(v0,prm,args, F) v0 - Initial velocity field n1*n2*n3*3 (single prec. float) @@ -59,9 +59,12 @@ def spm_shoot3d(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/Shoot/spm_shoot3d.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/Shoot/spm_shoot3d.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_shoot3d", *args, **kwargs) diff --git a/spm/__toolbox/__Shoot/spm_shoot3di.py b/spm/__toolbox/__Shoot/spm_shoot3di.py index 349ebacd..c97124c5 100644 --- a/spm/__toolbox/__Shoot/spm_shoot3di.py +++ b/spm/__toolbox/__Shoot/spm_shoot3di.py @@ -2,7 +2,7 @@ def spm_shoot3di(*args, **kwargs): - """ + r""" Geodesic shooting FORMAT [theta,Jtheta,v1,phi,Jphi] = spm_shoot3di(v0,prm,args) v0 - Initial velocity field n1*n2*n3*3 (single prec. float) @@ -53,9 +53,12 @@ def spm_shoot3di(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/Shoot/spm_shoot3di.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/Shoot/spm_shoot3di.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_shoot3di", *args, **kwargs) diff --git a/spm/__toolbox/__Shoot/spm_shoot_blur.py b/spm/__toolbox/__Shoot/spm_shoot_blur.py index a3f7d14b..9a5d78a8 100644 --- a/spm/__toolbox/__Shoot/spm_shoot_blur.py +++ b/spm/__toolbox/__Shoot/spm_shoot_blur.py @@ -2,7 +2,7 @@ def spm_shoot_blur(*args, **kwargs): - """ + r""" A function for blurring ("smoothing") tissue probability maps FORMAT [sig,a_new] = spm_shoot_blur(t,prm,its,sig) t - sufficient statistics @@ -23,9 +23,12 @@ def spm_shoot_blur(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/Shoot/spm_shoot_blur.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/Shoot/spm_shoot_blur.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_shoot_blur", *args, **kwargs) diff --git a/spm/__toolbox/__Shoot/spm_shoot_defaults.py b/spm/__toolbox/__Shoot/spm_shoot_defaults.py index 16e96d43..56adf962 100644 --- a/spm/__toolbox/__Shoot/spm_shoot_defaults.py +++ b/spm/__toolbox/__Shoot/spm_shoot_defaults.py @@ -2,7 +2,7 @@ def spm_shoot_defaults(*args, **kwargs): - """ + r""" Defaults file FORMAT d = spm_shoot_defaults This file contains settings that are intended to be customised @@ -12,9 +12,12 @@ def spm_shoot_defaults(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/Shoot/spm_shoot_defaults.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/Shoot/spm_shoot_defaults.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_shoot_defaults", *args, **kwargs) diff --git a/spm/__toolbox/__Shoot/spm_shoot_divergence.py b/spm/__toolbox/__Shoot/spm_shoot_divergence.py index 6b0a532a..09c9b8ff 100644 --- a/spm/__toolbox/__Shoot/spm_shoot_divergence.py +++ b/spm/__toolbox/__Shoot/spm_shoot_divergence.py @@ -2,16 +2,19 @@ def spm_shoot_divergence(*args, **kwargs): - """ + r""" Compute divergences from velocity fields FORMAT spm_shoot_divergence(job) job.velocities - Filenames of initial velocity fields __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/Shoot/spm_shoot_divergence.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/Shoot/spm_shoot_divergence.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_shoot_divergence", *args, **kwargs) diff --git a/spm/__toolbox/__Shoot/spm_shoot_greens.py b/spm/__toolbox/__Shoot/spm_shoot_greens.py index 451e0bd1..c7ef238c 100644 --- a/spm/__toolbox/__Shoot/spm_shoot_greens.py +++ b/spm/__toolbox/__Shoot/spm_shoot_greens.py @@ -2,7 +2,7 @@ def spm_shoot_greens(*args, **kwargs): - """ + r""" Build and apply FFT of Green's function (to map from momentum to velocity) FORMAT v = spm_shoot_greens(m,K,prm) m - Momentum field n1*n2*n3*3 (single prec. float) @@ -23,9 +23,12 @@ def spm_shoot_greens(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/Shoot/spm_shoot_greens.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/Shoot/spm_shoot_greens.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_shoot_greens", *args, **kwargs) diff --git a/spm/__toolbox/__Shoot/spm_shoot_kernel.py b/spm/__toolbox/__Shoot/spm_shoot_kernel.py index d89b1418..3a6f3039 100644 --- a/spm/__toolbox/__Shoot/spm_shoot_kernel.py +++ b/spm/__toolbox/__Shoot/spm_shoot_kernel.py @@ -2,7 +2,7 @@ def spm_shoot_kernel(*args, **kwargs): - """ + r""" Generate kernel matrix from initial velocity fields FORMAT spm_shoot_kernel(job) job.velocities - Initial velocity fields @@ -21,9 +21,12 @@ def spm_shoot_kernel(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/Shoot/spm_shoot_kernel.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/Shoot/spm_shoot_kernel.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_shoot_kernel", *args, **kwargs) diff --git a/spm/__toolbox/__Shoot/spm_shoot_norm.py b/spm/__toolbox/__Shoot/spm_shoot_norm.py index d07252a4..81022777 100644 --- a/spm/__toolbox/__Shoot/spm_shoot_norm.py +++ b/spm/__toolbox/__Shoot/spm_shoot_norm.py @@ -2,7 +2,7 @@ def spm_shoot_norm(*args, **kwargs): - """ + r""" Spatially normalise and smooth fMRI/PET data to MNI space, using Shoot deformation fields FORMAT out = spm_shoot_norm(job) job - a structure generated by the configuration file @@ -30,16 +30,19 @@ def spm_shoot_norm(*args, **kwargs): normalised for a 2nd level analysis. Two "preserve" options are provided. One of them should do the - equavalent of generating smoothed "modulated" spatially normalised + equivalent of generating smoothed "modulated" spatially normalised images. The other does the equivalent of smoothing the modulated normalised fMRI/PET, and dividing by the smoothed Jacobian determinants. __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/Shoot/spm_shoot_norm.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/Shoot/spm_shoot_norm.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_shoot_norm", *args, **kwargs) diff --git a/spm/__toolbox/__Shoot/spm_shoot_scalmom.py b/spm/__toolbox/__Shoot/spm_shoot_scalmom.py index 41b56e2f..c80e71c3 100644 --- a/spm/__toolbox/__Shoot/spm_shoot_scalmom.py +++ b/spm/__toolbox/__Shoot/spm_shoot_scalmom.py @@ -2,7 +2,7 @@ def spm_shoot_scalmom(*args, **kwargs): - """ + r""" Generate ``scalar momenta'' for use as features in pattern recognition FORMAT out = spm_shoot_scalmom(job) @@ -21,9 +21,12 @@ def spm_shoot_scalmom(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/Shoot/spm_shoot_scalmom.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/Shoot/spm_shoot_scalmom.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_shoot_scalmom", *args, **kwargs) diff --git a/spm/__toolbox/__Shoot/spm_shoot_template.py b/spm/__toolbox/__Shoot/spm_shoot_template.py index 99bc1c3b..f701fa18 100644 --- a/spm/__toolbox/__Shoot/spm_shoot_template.py +++ b/spm/__toolbox/__Shoot/spm_shoot_template.py @@ -2,7 +2,7 @@ def spm_shoot_template(*args, **kwargs): - """ + r""" Iteratively compute a template with mean shape and intensities FORMAT out = spm_shoot_template(job) Fields of job: @@ -17,9 +17,12 @@ def spm_shoot_template(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/Shoot/spm_shoot_template.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/Shoot/spm_shoot_template.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_shoot_template", *args, **kwargs) diff --git a/spm/__toolbox/__Shoot/spm_shoot_update.py b/spm/__toolbox/__Shoot/spm_shoot_update.py index 5c3ba77e..96e6d6fe 100644 --- a/spm/__toolbox/__Shoot/spm_shoot_update.py +++ b/spm/__toolbox/__Shoot/spm_shoot_update.py @@ -2,7 +2,7 @@ def spm_shoot_update(*args, **kwargs): - """ + r""" Shooting Of Diffeomorphisms (Spawn Of Dartel) FORMAT u0 = spm_shoot_update(g,f,u0,phi,dt,prm, bs_args) g - template @@ -22,9 +22,12 @@ def spm_shoot_update(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/Shoot/spm_shoot_update.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/Shoot/spm_shoot_update.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_shoot_update", *args, **kwargs) diff --git a/spm/__toolbox/__Shoot/spm_shoot_warp.py b/spm/__toolbox/__Shoot/spm_shoot_warp.py index b122d1dc..65a9c6f4 100644 --- a/spm/__toolbox/__Shoot/spm_shoot_warp.py +++ b/spm/__toolbox/__Shoot/spm_shoot_warp.py @@ -2,7 +2,7 @@ def spm_shoot_warp(*args, **kwargs): - """ + r""" Register images with template format spm_shoot_warp(job) Fields of job: @@ -17,9 +17,12 @@ def spm_shoot_warp(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/Shoot/spm_shoot_warp.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/Shoot/spm_shoot_warp.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_shoot_warp", *args, **kwargs) diff --git a/spm/__toolbox/__Shoot/tbx_cfg_shoot.py b/spm/__toolbox/__Shoot/tbx_cfg_shoot.py index 8f0a7cb3..2ea08189 100644 --- a/spm/__toolbox/__Shoot/tbx_cfg_shoot.py +++ b/spm/__toolbox/__Shoot/tbx_cfg_shoot.py @@ -2,14 +2,17 @@ def tbx_cfg_shoot(*args, **kwargs): - """ + r""" MATLABBATCH Configuration file for toolbox 'Shoot Tools' __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/Shoot/tbx_cfg_shoot.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/Shoot/tbx_cfg_shoot.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("tbx_cfg_shoot", *args, **kwargs) diff --git a/spm/__toolbox/__Spatial/__init__.py b/spm/__toolbox/__Spatial/__init__.py index fb6f241c..ca60ac30 100644 --- a/spm/__toolbox/__Spatial/__init__.py +++ b/spm/__toolbox/__Spatial/__init__.py @@ -7,6 +7,11 @@ from .spm_TVdenoise2 import spm_TVdenoise2 from .spm_TVdenoise_config import spm_TVdenoise_config from .spm_dctdst import spm_dctdst +from .spm_depth import spm_depth +from .spm_distance3 import spm_distance3 +from .spm_est_vdm_from_phase import spm_est_vdm_from_phase +from .spm_julia import spm_julia +from .spm_mask_from_segments import spm_mask_from_segments from .spm_run_denoise import spm_run_denoise from .spm_scope import spm_scope from .spm_scope_config import spm_scope_config @@ -14,8 +19,9 @@ from .spm_slice2vol_config import spm_slice2vol_config from .spm_slice2vol_estimate import spm_slice2vol_estimate from .spm_slice2vol_reslice import spm_slice2vol_reslice -from .spm_topup import spm_topup -from .spm_topup_config import spm_topup_config +from .spm_smooth_extrap import spm_smooth_extrap +from .spm_thin import spm_thin +from .spm_topo_lookup import spm_topo_lookup from .tbx_cfg_spatial import tbx_cfg_spatial @@ -29,6 +35,11 @@ "spm_TVdenoise2", "spm_TVdenoise_config", "spm_dctdst", + "spm_depth", + "spm_distance3", + "spm_est_vdm_from_phase", + "spm_julia", + "spm_mask_from_segments", "spm_run_denoise", "spm_scope", "spm_scope_config", @@ -36,7 +47,8 @@ "spm_slice2vol_config", "spm_slice2vol_estimate", "spm_slice2vol_reslice", - "spm_topup", - "spm_topup_config", + "spm_smooth_extrap", + "spm_thin", + "spm_topo_lookup", "tbx_cfg_spatial" ] diff --git a/spm/__toolbox/__Spatial/_getthreads.py b/spm/__toolbox/__Spatial/_getthreads.py index 5b59b1a9..33ed132f 100644 --- a/spm/__toolbox/__Spatial/_getthreads.py +++ b/spm/__toolbox/__Spatial/_getthreads.py @@ -2,15 +2,18 @@ def _getthreads(*args, **kwargs): - """ + r""" Size of block of threads on a CUDA kernel FORMAT s = getthreads(kernel,d) __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/Spatial/private/getthreads.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/Spatial/private/getthreads.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("getthreads", *args, **kwargs) diff --git a/spm/__toolbox/__Spatial/_loadlib.py b/spm/__toolbox/__Spatial/_loadlib.py index 391a02bb..5258bfd1 100644 --- a/spm/__toolbox/__Spatial/_loadlib.py +++ b/spm/__toolbox/__Spatial/_loadlib.py @@ -2,15 +2,18 @@ def _loadlib(*args, **kwargs): - """ + r""" Load a shared library into MATLAB FORMAT loadlib(nam) __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/Spatial/private/loadlib.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/Spatial/private/loadlib.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("loadlib", *args, **kwargs, nargout=0) diff --git a/spm/__toolbox/__Spatial/_ptxlocation.py b/spm/__toolbox/__Spatial/_ptxlocation.py index 0e02e115..f303efae 100644 --- a/spm/__toolbox/__Spatial/_ptxlocation.py +++ b/spm/__toolbox/__Spatial/_ptxlocation.py @@ -2,15 +2,18 @@ def _ptxlocation(*args, **kwargs): - """ + r""" Location of a PTX file used in GPU computations FORMAT ptx = ptxlocation(nam) __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/Spatial/private/ptxlocation.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/Spatial/private/ptxlocation.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ptxlocation", *args, **kwargs) diff --git a/spm/__toolbox/__Spatial/_threadblocks.py b/spm/__toolbox/__Spatial/_threadblocks.py index 3b9c93bd..1a8aa0e4 100644 --- a/spm/__toolbox/__Spatial/_threadblocks.py +++ b/spm/__toolbox/__Spatial/_threadblocks.py @@ -2,15 +2,18 @@ def _threadblocks(*args, **kwargs): - """ + r""" Set the size of a block of threads and grid on a CUDA kernel FORMAT kernel = threadblocks(kernel,d) __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/Spatial/private/threadblocks.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/Spatial/private/threadblocks.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("threadblocks", *args, **kwargs) diff --git a/spm/__toolbox/__Spatial/lbessi.py b/spm/__toolbox/__Spatial/lbessi.py index 4a3f2fec..d610174e 100644 --- a/spm/__toolbox/__Spatial/lbessi.py +++ b/spm/__toolbox/__Spatial/lbessi.py @@ -2,15 +2,18 @@ def lbessi(*args, **kwargs): - """ + r""" GPU single precision f = log(besseli(nu, z)) FORMAT f = lbessi(nu,z) __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/Spatial/lbessi.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/Spatial/lbessi.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("lbessi", *args, **kwargs) diff --git a/spm/__toolbox/__Spatial/pp_settings.py b/spm/__toolbox/__Spatial/pp_settings.py index f5051014..7c4491bb 100644 --- a/spm/__toolbox/__Spatial/pp_settings.py +++ b/spm/__toolbox/__Spatial/pp_settings.py @@ -2,7 +2,7 @@ def pp_settings(*args, **kwargs): - """ + r""" Settings for push/pull FORMAT sett = pp_settings(deg,bnd,ext) deg - interpolation degree in each dimension (3 elements) @@ -19,9 +19,12 @@ def pp_settings(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/Spatial/pp_settings.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/Spatial/pp_settings.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("pp_settings", *args, **kwargs) diff --git a/spm/__toolbox/__Spatial/pull.py b/spm/__toolbox/__Spatial/pull.py index 35c364fb..f936459c 100644 --- a/spm/__toolbox/__Spatial/pull.py +++ b/spm/__toolbox/__Spatial/pull.py @@ -2,7 +2,7 @@ def pull(*args, **kwargs): - """ + r""" GPU single precision pull FORMAT f1 = pull(f0, phi, sett) f0 - 3D float array @@ -11,9 +11,12 @@ def pull(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/Spatial/pull.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/Spatial/pull.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("pull", *args, **kwargs) diff --git a/spm/__toolbox/__Spatial/pullg.py b/spm/__toolbox/__Spatial/pullg.py index 4613889a..ec64c81a 100644 --- a/spm/__toolbox/__Spatial/pullg.py +++ b/spm/__toolbox/__Spatial/pullg.py @@ -2,7 +2,7 @@ def pullg(*args, **kwargs): - """ + r""" GPU single precision pullg FORMAT g1 = pullg(f0, phi, sett) f0 - 3D float array @@ -11,9 +11,12 @@ def pullg(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/Spatial/pullg.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/Spatial/pullg.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("pullg", *args, **kwargs) diff --git a/spm/__toolbox/__Spatial/push.py b/spm/__toolbox/__Spatial/push.py index d739dbda..bb6727fe 100644 --- a/spm/__toolbox/__Spatial/push.py +++ b/spm/__toolbox/__Spatial/push.py @@ -2,7 +2,7 @@ def push(*args, **kwargs): - """ + r""" GPU single precision push FORMAT f0 = push(f1, phi, dm0, sett) f1 - 3D float array @@ -12,9 +12,12 @@ def push(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/Spatial/push.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/Spatial/push.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("push", *args, **kwargs) diff --git a/spm/__toolbox/__Spatial/spm_TVdenoise.py b/spm/__toolbox/__Spatial/spm_TVdenoise.py index fa52aeef..5164eded 100644 --- a/spm/__toolbox/__Spatial/spm_TVdenoise.py +++ b/spm/__toolbox/__Spatial/spm_TVdenoise.py @@ -2,7 +2,7 @@ def spm_TVdenoise(*args, **kwargs): - """ + r""" Joint total variation denoising of 3D volumes FORMAT y = spm_TVdenoise(x, vox, lambdap, lambdal, nit, y) x - a 3D or 4D array/gpuArray of floating point data @@ -14,9 +14,12 @@ def spm_TVdenoise(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/Spatial/spm_TVdenoise.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/Spatial/spm_TVdenoise.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_TVdenoise", *args, **kwargs) diff --git a/spm/__toolbox/__Spatial/spm_TVdenoise2.py b/spm/__toolbox/__Spatial/spm_TVdenoise2.py index 80d2c62a..616a4828 100644 --- a/spm/__toolbox/__Spatial/spm_TVdenoise2.py +++ b/spm/__toolbox/__Spatial/spm_TVdenoise2.py @@ -2,15 +2,18 @@ def spm_TVdenoise2(*args, **kwargs): - """ + r""" FORMAT y = spm_TVdenoise2(x, lambda, nit, y) __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/Spatial/spm_TVdenoise2.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/Spatial/spm_TVdenoise2.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_TVdenoise2", *args, **kwargs) diff --git a/spm/__toolbox/__Spatial/spm_TVdenoise_config.py b/spm/__toolbox/__Spatial/spm_TVdenoise_config.py index 49f8458d..81e6df79 100644 --- a/spm/__toolbox/__Spatial/spm_TVdenoise_config.py +++ b/spm/__toolbox/__Spatial/spm_TVdenoise_config.py @@ -2,14 +2,17 @@ def spm_TVdenoise_config(*args, **kwargs): - """ + r""" SPM Configuration file for total variation denoising __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/Spatial/spm_TVdenoise_config.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/Spatial/spm_TVdenoise_config.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_TVdenoise_config", *args, **kwargs) diff --git a/spm/__toolbox/__Spatial/spm_dctdst.py b/spm/__toolbox/__Spatial/spm_dctdst.py index ec5d77a0..43f69ab8 100644 --- a/spm/__toolbox/__Spatial/spm_dctdst.py +++ b/spm/__toolbox/__Spatial/spm_dctdst.py @@ -2,7 +2,7 @@ def spm_dctdst(*args, **kwargs): - """ + r""" Function pointers to various forms of sin and cosine transforms etc FORMAT fun = spm_dctdst fun - a structure with function handles @@ -47,9 +47,12 @@ def spm_dctdst(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/Spatial/spm_dctdst.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/Spatial/spm_dctdst.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_dctdst", *args, **kwargs) diff --git a/spm/__toolbox/__Spatial/spm_depth.py b/spm/__toolbox/__Spatial/spm_depth.py index ef1d16a4..417279db 100644 --- a/spm/__toolbox/__Spatial/spm_depth.py +++ b/spm/__toolbox/__Spatial/spm_depth.py @@ -1,49 +1,52 @@ -from mpython import Runtime +from spm._runtime import Runtime def spm_depth(*args, **kwargs): - """ - Create an image of cortical depth. - FORMAT spm_depth(P) - P - filenames for GM and WM maps. - - A skeletonisation is saved, along with a map of - cortical depth. - - In principle, cortical depth can be determined from maps - of GM and WM. However, opposite banks of sulci usually touch - making it difficult to identify the outer surface of the brain. - - This code uses maps of GM and WM to: - 1. Obtain a map of background (i.e. BG = 1-GM-WM). - 2. Takes a binary map of GM+BG>0.5, and does a topology - preserving conditional erosion (conditional on BG>0.5) - to try to identify voxels running along the medial surface - of sulci. The end result is a sort of binary skeletonisation - that tries to generate medial surfaces. - 3. Combine the GM, WM and BG with the skeletonisation, giving - mGM, mWM and mBG. - 4. Compute Euclidean distances of all voxels from the mWM map (d2). - 5. Compute Euclidean distances of all voxels from the mBG map (d3). - 6. Save a depth map computed from d3./(d2+d3) - - The end result is not perfect because it is susceptible to segmentation - imperfections, particularly in relation to isolated speckles of WM, or - incorrect WM topology. Also, the medial surface is mid-way between the - inner and outer surfaces, which may not always be optimal. Thresholding - segmentation probabilities at 0.5 is a bit arbitrary, but a probabilistic - topology-preserving erosion would be very slow. - - While the results may not be exactly correct, they are probably a - better approximation than would be obtained from not doing the - skeletonisation. Cortical regions to worry about most will be those - close to the cerebellum. It will also do strange things for cortical - regions close to subcortical GM structures. - - - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/Spatial/spm_depth.m ) - - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + r""" + Create an image of cortical depth. + FORMAT spm_depth(P) + P - filenames for GM and WM maps. + + A skeletonisation is saved, along with a map of + cortical depth. + + In principle, cortical depth can be determined from maps + of GM and WM. However, opposite banks of sulci usually touch + making it difficult to identify the outer surface of the brain. + + This code uses maps of GM and WM to: + 1. Obtain a map of background (i.e. BG = 1-GM-WM). + 2. Takes a binary map of GM+BG>0.5, and does a topology + preserving conditional erosion (conditional on BG>0.5) + to try to identify voxels running along the medial surface + of sulci. The end result is a sort of binary skeletonisation + that tries to generate medial surfaces. + 3. Combine the GM, WM and BG with the skeletonisation, giving + mGM, mWM and mBG. + 4. Compute Euclidean distances of all voxels from the mWM map (d2). + 5. Compute Euclidean distances of all voxels from the mBG map (d3). + 6. Save a depth map computed from d3./(d2+d3) + + The end result is not perfect because it is susceptible to segmentation + imperfections, particularly in relation to isolated speckles of WM, or + incorrect WM topology. Also, the medial surface is mid-way between the + inner and outer surfaces, which may not always be optimal. Thresholding + segmentation probabilities at 0.5 is a bit arbitrary, but a probabilistic + topology-preserving erosion would be very slow. + + While the results may not be exactly correct, they are probably a + better approximation than would be obtained from not doing the + skeletonisation. Cortical regions to worry about most will be those + close to the cerebellum. It will also do strange things for cortical + regions close to subcortical GM structures. + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/Spatial/spm_depth.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_depth", *args, **kwargs, nargout=0) diff --git a/spm/__toolbox/__Spatial/spm_distance3.py b/spm/__toolbox/__Spatial/spm_distance3.py index 1ad9bd4c..606b3612 100644 --- a/spm/__toolbox/__Spatial/spm_distance3.py +++ b/spm/__toolbox/__Spatial/spm_distance3.py @@ -1,26 +1,29 @@ -from mpython import Runtime +from spm._runtime import Runtime def spm_distance3(*args, **kwargs): - """ - Compute Euclidean distances from a tissue map - FORMAT d = spm_distance3(p,vx,maxit,d) - p - Tissue probability map - vx - Voxel sizes ([1 1 1]) - maxit - Maximum number of iterations (20) - d - Distances. - - Initial estimates on input (zeros(size(p))) - - Output estimate on output - - This implementation is very slow. Vectorising it would be memory - hungry, so (if it turns out to be useful) it should be written in C. - - __________________________________________________________________________ - - - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/Spatial/spm_distance3.m ) - - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + r""" + Compute Euclidean distances from a tissue map + FORMAT d = spm_distance3(p,vx,maxit,d) + p - Tissue probability map + vx - Voxel sizes ([1 1 1]) + maxit - Maximum number of iterations (20) + d - Distances. + - Initial estimates on input (zeros(size(p))) + - Output estimate on output + + This implementation is very slow. Vectorising it would be memory + hungry, so (if it turns out to be useful) it should be written in C. + + __________________________________________________________________________ + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/Spatial/spm_distance3.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_distance3", *args, **kwargs) diff --git a/spm/__toolbox/__Spatial/spm_est_vdm_from_phase.py b/spm/__toolbox/__Spatial/spm_est_vdm_from_phase.py new file mode 100644 index 00000000..5b21410c --- /dev/null +++ b/spm/__toolbox/__Spatial/spm_est_vdm_from_phase.py @@ -0,0 +1,42 @@ +from spm._runtime import Runtime + + +def spm_est_vdm_from_phase(*args, **kwargs): + r""" + ========================================================================== + Estimate Voxel Displacement Map (VDM) from phase images using ROMEO phase + unwrapping tool. + FORMAT: + vdm_pha = spm_est_vdm_from_phase(vol1, vol1_mean, vol1_pha, + total_readout_time, TE, PE_dir, outdir) + + Input: + vol1 - cell array of file names of magnitude images with + the same PE direction as the fMRI data to be corrected + vol1_mean - file name of mean magnitude image with the same PE + direction as the fMRI data to be corrected + vol1_pha - cell array of file names of phase images with the + same PE direction as the fMRI data to be corrected + total_readout_time - total readout time in seconds + TE - echo time in seconds + PE_dir - phase-encoding direction (+1 or -1) + outdir - output directory for temporary files + + Output: + vdm_pha - Voxel Displacement Map (in mm) estimated from phase + images + + Barbara Dymerska + Copyright (C) 2025 Department of Imaging Neuroscience, UCL + ========================================================================== + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/Spatial/spm_est_vdm_from_phase.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("spm_est_vdm_from_phase", *args, **kwargs) diff --git a/spm/__toolbox/__Spatial/spm_julia.py b/spm/__toolbox/__Spatial/spm_julia.py new file mode 100644 index 00000000..c9d7a352 --- /dev/null +++ b/spm/__toolbox/__Spatial/spm_julia.py @@ -0,0 +1,45 @@ +from spm._runtime import Runtime + + +def spm_julia(*args, **kwargs): + r""" + Run Julia code from SPM + FORMAT s = spm_julia('settings') + s - a structure containing various settings + + FORMAT sts = spm_julia('install') + Install Julia within SPM. If it exists already, then do nothing. + + FORMAT sts = spm_julia('install','force') + Install Julia within SPM - irrespective of whether it seems to be + there or not. + + FORMAT sts = spm_julia('add-package', package1, package2, ...) + Add Julia packages, where package1, package2, etc are names of registered + packages. Unregistered packages can be installed by giving their url + within a structure. Note that fields 'rev' and 'version' can also be + included in the structure, where 'version' could be e.g. 'v0.2.1' + (v"0.2.1" in Julia) or '0.2' ("0.2" in Julia). For example: + pkg_spec = struct('url','https://github.com/spm/PushPull.jl'); + sts = spm_julia('add-package', pkg_spec) + + FORMAT [sts,result] = spm_julia('run', cmd) + Execute a command with julia -e + + FORMAT [sts,result] = spm_julia('run', cmd, package1, package2, ...) + Checks for presence of packages, and installs them if necessary. + Prepends use of packages before cmd. + + For more information about the Julia language, see https://julialang.org/ + __________________________________________________________________________ + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/Spatial/spm_julia.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("spm_julia", *args, **kwargs) diff --git a/spm/__toolbox/__Spatial/spm_mask_from_segments.py b/spm/__toolbox/__Spatial/spm_mask_from_segments.py new file mode 100644 index 00000000..a2e5de6a --- /dev/null +++ b/spm/__toolbox/__Spatial/spm_mask_from_segments.py @@ -0,0 +1,29 @@ +from spm._runtime import Runtime + + +def spm_mask_from_segments(*args, **kwargs): + r""" + ========================================================================== + brain extraction/masking script using spm segment tool + it sums three probability maps from segment tool, thresholds the resulting map to obtain binary mask and fills residual holes + Inputs: + mag_file - file from which to estimate the mask + thresh - between 0 and 1, smaller value bigger mask, threshold of the spm probability maps to create a binary map + fill_holes - true or false, if true it will fill small holes within the mask + conn - used in imfill.m, connectivity of neighbouring voxels, choose one of the following: 4, 6, 8, 18, 26 + mask_mag - true or false, if true it will also output masked mag_file + + Outputs: + mask_file - file path from the output mask + mask - 3D binary mask matrix + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/Spatial/spm_mask_from_segments.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("spm_mask_from_segments", *args, **kwargs) diff --git a/spm/__toolbox/__Spatial/spm_run_denoise.py b/spm/__toolbox/__Spatial/spm_run_denoise.py index ed7711f1..25986dbb 100644 --- a/spm/__toolbox/__Spatial/spm_run_denoise.py +++ b/spm/__toolbox/__Spatial/spm_run_denoise.py @@ -2,14 +2,17 @@ def spm_run_denoise(*args, **kwargs): - """ + r""" FORMAT out = spm_run_denoise(opt,cfg) __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/Spatial/spm_run_denoise.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/Spatial/spm_run_denoise.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_run_denoise", *args, **kwargs) diff --git a/spm/__toolbox/__Spatial/spm_scope.py b/spm/__toolbox/__Spatial/spm_scope.py index ee16ee28..3cc2f25a 100644 --- a/spm/__toolbox/__Spatial/spm_scope.py +++ b/spm/__toolbox/__Spatial/spm_scope.py @@ -2,9 +2,9 @@ def spm_scope(*args, **kwargs): - """ + r""" Susceptibility Correction using Opposite PE - FORMAT vdm = spm_scope(vol1, vol2, FWHM, reg, save) + FORMAT vdm = spm_scope(vol1, vol2, FWHM, reg, save, VDMprior) vol1 - path to first image (s) (same phase-encode direction) vol2 - path to second image(s) (opposite phase-encode direction) fwhm - Gaussian kernel spatial scales (default: [8 4 2 1 0]) @@ -23,8 +23,9 @@ def spm_scope(*args, **kwargs): and compression. pref - string to be prepended to the vdm files. outdir - output directory. + VDMprior - Path to VDM prior (and starting estimates) - vdm - voxel displacement map. + vdm - voxel displacement map. This is a re-implementation of the topup approach in FSL. @@ -37,9 +38,12 @@ def spm_scope(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/Spatial/spm_scope.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/Spatial/spm_scope.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_scope", *args, **kwargs) diff --git a/spm/__toolbox/__Spatial/spm_scope_config.py b/spm/__toolbox/__Spatial/spm_scope_config.py index 730d6060..0d2f4fea 100644 --- a/spm/__toolbox/__Spatial/spm_scope_config.py +++ b/spm/__toolbox/__Spatial/spm_scope_config.py @@ -2,14 +2,17 @@ def spm_scope_config(*args, **kwargs): - """ + r""" SPM Configuration file for SCOPE distortion correction __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/Spatial/spm_scope_config.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/Spatial/spm_scope_config.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_scope_config", *args, **kwargs) diff --git a/spm/__toolbox/__Spatial/spm_slice2vol.py b/spm/__toolbox/__Spatial/spm_slice2vol.py index 351cc60e..12a0c0b8 100644 --- a/spm/__toolbox/__Spatial/spm_slice2vol.py +++ b/spm/__toolbox/__Spatial/spm_slice2vol.py @@ -2,14 +2,17 @@ def spm_slice2vol(*args, **kwargs): - """ + r""" Slice-to-volume alignment job __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/Spatial/spm_slice2vol.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/Spatial/spm_slice2vol.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_slice2vol", *args, **kwargs) diff --git a/spm/__toolbox/__Spatial/spm_slice2vol_config.py b/spm/__toolbox/__Spatial/spm_slice2vol_config.py index 1bd49504..c254577d 100644 --- a/spm/__toolbox/__Spatial/spm_slice2vol_config.py +++ b/spm/__toolbox/__Spatial/spm_slice2vol_config.py @@ -2,14 +2,17 @@ def spm_slice2vol_config(*args, **kwargs): - """ + r""" Configuration file for toolbox 'Spatial Tools' __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/Spatial/spm_slice2vol_config.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/Spatial/spm_slice2vol_config.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_slice2vol_config", *args, **kwargs) diff --git a/spm/__toolbox/__Spatial/spm_slice2vol_estimate.py b/spm/__toolbox/__Spatial/spm_slice2vol_estimate.py index a61df62d..a41296c9 100644 --- a/spm/__toolbox/__Spatial/spm_slice2vol_estimate.py +++ b/spm/__toolbox/__Spatial/spm_slice2vol_estimate.py @@ -2,7 +2,7 @@ def spm_slice2vol_estimate(*args, **kwargs): - """ + r""" Slice-to-volume alignment estimation FORMAT [Q,mu] = spm_slice2vol_estimate(Nii) @@ -37,9 +37,12 @@ def spm_slice2vol_estimate(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/Spatial/spm_slice2vol_estimate.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/Spatial/spm_slice2vol_estimate.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_slice2vol_estimate", *args, **kwargs) diff --git a/spm/__toolbox/__Spatial/spm_slice2vol_reslice.py b/spm/__toolbox/__Spatial/spm_slice2vol_reslice.py index 8f1e3d16..71752df6 100644 --- a/spm/__toolbox/__Spatial/spm_slice2vol_reslice.py +++ b/spm/__toolbox/__Spatial/spm_slice2vol_reslice.py @@ -2,7 +2,7 @@ def spm_slice2vol_reslice(*args, **kwargs): - """ + r""" Slice-to-volume alignment reslicing FORMAT spm_slice2vol_reslice(Nii,Q,fwhm) @@ -13,9 +13,12 @@ def spm_slice2vol_reslice(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/Spatial/spm_slice2vol_reslice.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/Spatial/spm_slice2vol_reslice.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_slice2vol_reslice", *args, **kwargs, nargout=0) diff --git a/spm/__toolbox/__Spatial/spm_smooth_extrap.py b/spm/__toolbox/__Spatial/spm_smooth_extrap.py new file mode 100644 index 00000000..b48e8825 --- /dev/null +++ b/spm/__toolbox/__Spatial/spm_smooth_extrap.py @@ -0,0 +1,29 @@ +from spm._runtime import Runtime + + +def spm_smooth_extrap(*args, **kwargs): + r""" + Fast convolution Gaussian smoothing in 3D plus extrapolation to missing data + FORMAT v = spm_smooth_extrap(image, mask, k, Niter) + Inputs: + image: 3D image to be smoothed + mask: 3D binary mask defining voxels with valid data + k: Scalar smoothing kernel in image domain specified in voxels + Niter: number of iteration steps used for extrapolation + Output: + image: Smoothed 3D image + + Barbara Dymerska, Oliver Josephs + Copyright (C) 2025 Department of Imaging Neuroscience, UCL + ========================================================================== + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/Spatial/spm_smooth_extrap.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("spm_smooth_extrap", *args, **kwargs) diff --git a/spm/__toolbox/__Spatial/spm_thin.py b/spm/__toolbox/__Spatial/spm_thin.py index 2e835395..5f829a54 100644 --- a/spm/__toolbox/__Spatial/spm_thin.py +++ b/spm/__toolbox/__Spatial/spm_thin.py @@ -1,23 +1,26 @@ -from mpython import Runtime +from spm._runtime import Runtime def spm_thin(*args, **kwargs): - """ - Erosion to find medial planes - FORMAT B = spm_thin(B,M) - B - 3D binary array to thin (on input) - M - Optional additional input constraining some voxels to be 1 - B - Thinned array (on output) - - This code is not beautiful, but it seems to work a bit. If it is deemed - to be sufficiently useful, then it could be speeded up by recoding parts - of it in C. - __________________________________________________________________________ + r""" + Erosion to find medial planes + FORMAT B = spm_thin(B,M) + B - 3D binary array to thin (on input) + M - Optional additional input constraining some voxels to be 1 + B - Thinned array (on output) + + This code is not beautiful, but it seems to work a bit. If it is deemed + to be sufficiently useful, then it could be speeded up by recoding parts + of it in C. + __________________________________________________________________________ + + Generated from SPM26.10.01. - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/Spatial/spm_thin.m ) + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/Spatial/spm_thin.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_thin", *args, **kwargs) diff --git a/spm/__toolbox/__Spatial/spm_topo_lookup.py b/spm/__toolbox/__Spatial/spm_topo_lookup.py index af76706a..989527d6 100644 --- a/spm/__toolbox/__Spatial/spm_topo_lookup.py +++ b/spm/__toolbox/__Spatial/spm_topo_lookup.py @@ -1,24 +1,27 @@ -from mpython import Runtime +from spm._runtime import Runtime def spm_topo_lookup(*args, **kwargs): - """ - Create a topology change lookup table - FORMAT lkp = spm_topo_lookup - lkp - The lookup table of 1s and 0s. - - The table is used for determining whether erosion can be - done without changing local topology. In addition to returning - lkp, it is also saved in a topol_lookup.mat file. - - The code is not very efficient, so the lookup table takes about - a day and a half to compute. - __________________________________________________________________________ - - - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/Spatial/spm_topo_lookup.m ) - - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + r""" + Create a topology change lookup table + FORMAT lkp = spm_topo_lookup + lkp - The lookup table of 1s and 0s. + + The table is used for determining whether erosion can be + done without changing local topology. In addition to returning + lkp, it is also saved in a topol_lookup.mat file. + + The code is not very efficient, so the lookup table takes about + a day and a half to compute. + __________________________________________________________________________ + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/Spatial/spm_topo_lookup.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_topo_lookup", *args, **kwargs) diff --git a/spm/__toolbox/__Spatial/tbx_cfg_spatial.py b/spm/__toolbox/__Spatial/tbx_cfg_spatial.py index 34dad440..b9b5648d 100644 --- a/spm/__toolbox/__Spatial/tbx_cfg_spatial.py +++ b/spm/__toolbox/__Spatial/tbx_cfg_spatial.py @@ -2,14 +2,17 @@ def tbx_cfg_spatial(*args, **kwargs): - """ + r""" Configuration file for toolbox 'Spatial Tools' __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/Spatial/tbx_cfg_spatial.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/Spatial/tbx_cfg_spatial.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("tbx_cfg_spatial", *args, **kwargs) diff --git a/spm/__toolbox/__TSSS/_fiff_getpos.py b/spm/__toolbox/__TSSS/_fiff_getpos.py index e8b64ec9..a0d63db0 100644 --- a/spm/__toolbox/__TSSS/_fiff_getpos.py +++ b/spm/__toolbox/__TSSS/_fiff_getpos.py @@ -2,7 +2,7 @@ def _fiff_getpos(*args, **kwargs): - """ + r""" Copyright (c) 2016, Elekta Oy --------------------------------------- @@ -15,9 +15,12 @@ def _fiff_getpos(*args, **kwargs): in connection with its use and distribution of any and all parts of the Software under this license. - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/TSSS/private/fiff_getpos.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/TSSS/private/fiff_getpos.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("fiff_getpos", *args, **kwargs) diff --git a/spm/__toolbox/__TSSS/_fiff_getpos_ctf.py b/spm/__toolbox/__TSSS/_fiff_getpos_ctf.py index 493d5886..f62a416c 100644 --- a/spm/__toolbox/__TSSS/_fiff_getpos_ctf.py +++ b/spm/__toolbox/__TSSS/_fiff_getpos_ctf.py @@ -2,7 +2,7 @@ def _fiff_getpos_ctf(*args, **kwargs): - """ + r""" Copyright (c) 2016, Elekta Oy --------------------------------------- @@ -15,9 +15,12 @@ def _fiff_getpos_ctf(*args, **kwargs): in connection with its use and distribution of any and all parts of the Software under this license. - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/TSSS/private/fiff_getpos_ctf.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/TSSS/private/fiff_getpos_ctf.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("fiff_getpos_ctf", *args, **kwargs) diff --git a/spm/__toolbox/__TSSS/_ft_getpos.py b/spm/__toolbox/__TSSS/_ft_getpos.py index b6abfc4d..86745e4f 100644 --- a/spm/__toolbox/__TSSS/_ft_getpos.py +++ b/spm/__toolbox/__TSSS/_ft_getpos.py @@ -2,7 +2,7 @@ def _ft_getpos(*args, **kwargs): - """ + r""" Compute the inputs to TSSS code from Fieldtrip representation of MEG sensors and headshape. _______________________________________________________________________ @@ -18,9 +18,12 @@ def _ft_getpos(*args, **kwargs): in connection with its use and distribution of any and all parts of the Software under this license. - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/TSSS/private/ft_getpos.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/TSSS/private/ft_getpos.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ft_getpos", *args, **kwargs) diff --git a/spm/__toolbox/__TSSS/_origheader_getpos.py b/spm/__toolbox/__TSSS/_origheader_getpos.py index cbf3918c..9e92d1bb 100644 --- a/spm/__toolbox/__TSSS/_origheader_getpos.py +++ b/spm/__toolbox/__TSSS/_origheader_getpos.py @@ -2,7 +2,7 @@ def _origheader_getpos(*args, **kwargs): - """ + r""" Copyright (c) 2016, Elekta Oy --------------------------------------- @@ -15,9 +15,12 @@ def _origheader_getpos(*args, **kwargs): in connection with its use and distribution of any and all parts of the Software under this license. - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/TSSS/private/origheader_getpos.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/TSSS/private/origheader_getpos.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("origheader_getpos", *args, **kwargs) diff --git a/spm/__toolbox/__TSSS/tbx_cfg_tsss.py b/spm/__toolbox/__TSSS/tbx_cfg_tsss.py index 8684301e..da0dd0a1 100644 --- a/spm/__toolbox/__TSSS/tbx_cfg_tsss.py +++ b/spm/__toolbox/__TSSS/tbx_cfg_tsss.py @@ -2,14 +2,17 @@ def tbx_cfg_tsss(*args, **kwargs): - """ + r""" Configuration file for toolbox 'TSSS' __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/TSSS/tbx_cfg_tsss.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/TSSS/tbx_cfg_tsss.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("tbx_cfg_tsss", *args, **kwargs) diff --git a/spm/__toolbox/__TSSS/tsss_config.py b/spm/__toolbox/__TSSS/tsss_config.py index 40d0e479..38b14fe1 100644 --- a/spm/__toolbox/__TSSS/tsss_config.py +++ b/spm/__toolbox/__TSSS/tsss_config.py @@ -2,14 +2,17 @@ def tsss_config(*args, **kwargs): - """ + r""" Configuration file for TSSS clean-up for Neuromag data __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/TSSS/tsss_config.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/TSSS/tsss_config.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("tsss_config", *args, **kwargs) diff --git a/spm/__toolbox/__TSSS/tsss_config_momentspace.py b/spm/__toolbox/__TSSS/tsss_config_momentspace.py index aae5fd23..242eea98 100644 --- a/spm/__toolbox/__TSSS/tsss_config_momentspace.py +++ b/spm/__toolbox/__TSSS/tsss_config_momentspace.py @@ -2,14 +2,17 @@ def tsss_config_momentspace(*args, **kwargs): - """ + r""" Configuration file for TSSS space conversion __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/TSSS/tsss_config_momentspace.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/TSSS/tsss_config_momentspace.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("tsss_config_momentspace", *args, **kwargs) diff --git a/spm/__toolbox/__TSSS/tsss_spm_enm.py b/spm/__toolbox/__TSSS/tsss_spm_enm.py index 9d7f1f12..80e5c573 100644 --- a/spm/__toolbox/__TSSS/tsss_spm_enm.py +++ b/spm/__toolbox/__TSSS/tsss_spm_enm.py @@ -2,7 +2,7 @@ def tsss_spm_enm(*args, **kwargs): - """ + r""" Perform tSSS on rawdata file 'infile' acquired with an Elekta Neuromag 306-channel MEG system. The tSSS-processed data are written into 'outfile'. The SSS operation is performed in the head coordinate system with the @@ -19,9 +19,12 @@ def tsss_spm_enm(*args, **kwargs): MaxFilter software. - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/TSSS/tsss_spm_enm.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/TSSS/tsss_spm_enm.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("tsss_spm_enm", *args, **kwargs) diff --git a/spm/__toolbox/__TSSS/tsss_spm_momentspace.py b/spm/__toolbox/__TSSS/tsss_spm_momentspace.py index 0f37f5fd..4a972138 100644 --- a/spm/__toolbox/__TSSS/tsss_spm_momentspace.py +++ b/spm/__toolbox/__TSSS/tsss_spm_momentspace.py @@ -2,7 +2,7 @@ def tsss_spm_momentspace(*args, **kwargs): - """ + r""" Switch a dataset to SSS space using virtual montage FORMAT D = spm_eeg_crop(S) @@ -20,9 +20,12 @@ def tsss_spm_momentspace(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/TSSS/tsss_spm_momentspace.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/TSSS/tsss_spm_momentspace.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("tsss_spm_momentspace", *args, **kwargs) diff --git a/spm/__toolbox/__dcm_fnirs/__mmclab/estimate_greens_mmclab.py b/spm/__toolbox/__dcm_fnirs/__mmclab/estimate_greens_mmclab.py index 2446d582..8ed55b97 100644 --- a/spm/__toolbox/__dcm_fnirs/__mmclab/estimate_greens_mmclab.py +++ b/spm/__toolbox/__dcm_fnirs/__mmclab/estimate_greens_mmclab.py @@ -2,7 +2,7 @@ def estimate_greens_mmclab(*args, **kwargs): - """ + r""" Estimate Green's function of the photon fluence by simulating photon migration through the head and brain using the MMCLAB software @@ -45,9 +45,12 @@ def estimate_greens_mmclab(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/dcm_fnirs/mmclab/estimate_greens_mmclab.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/dcm_fnirs/mmclab/estimate_greens_mmclab.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("estimate_greens_mmclab", *args, **kwargs) diff --git a/spm/__toolbox/__dcm_fnirs/spm_dcm_fnirs_estimate.py b/spm/__toolbox/__dcm_fnirs/spm_dcm_fnirs_estimate.py index 1d0d556c..9760ee48 100644 --- a/spm/__toolbox/__dcm_fnirs/spm_dcm_fnirs_estimate.py +++ b/spm/__toolbox/__dcm_fnirs/spm_dcm_fnirs_estimate.py @@ -2,7 +2,7 @@ def spm_dcm_fnirs_estimate(*args, **kwargs): - """ + r""" Estimate parameters of a DCM for fNIRS data FORMAT [DCM] = spm_dcm_fnirs_estimate(P) @@ -62,9 +62,12 @@ def spm_dcm_fnirs_estimate(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/dcm_fnirs/spm_dcm_fnirs_estimate.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/dcm_fnirs/spm_dcm_fnirs_estimate.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_dcm_fnirs_estimate", *args, **kwargs) diff --git a/spm/__toolbox/__dcm_fnirs/spm_dcm_fnirs_params.py b/spm/__toolbox/__dcm_fnirs/spm_dcm_fnirs_params.py index ec6054b4..b18bbc2c 100644 --- a/spm/__toolbox/__dcm_fnirs/spm_dcm_fnirs_params.py +++ b/spm/__toolbox/__dcm_fnirs/spm_dcm_fnirs_params.py @@ -2,7 +2,7 @@ def spm_dcm_fnirs_params(*args, **kwargs): - """ + r""" Calculate DCM parameters using estimated latent variables FORMAT [A, B, C] = spm_dcm_fnirs_params(DCM) @@ -14,9 +14,12 @@ def spm_dcm_fnirs_params(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/dcm_fnirs/spm_dcm_fnirs_params.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/dcm_fnirs/spm_dcm_fnirs_params.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_dcm_fnirs_params", *args, **kwargs) diff --git a/spm/__toolbox/__dcm_fnirs/spm_dcm_fnirs_priors.py b/spm/__toolbox/__dcm_fnirs/spm_dcm_fnirs_priors.py index bf764533..5c0d0ecf 100644 --- a/spm/__toolbox/__dcm_fnirs/spm_dcm_fnirs_priors.py +++ b/spm/__toolbox/__dcm_fnirs/spm_dcm_fnirs_priors.py @@ -2,7 +2,7 @@ def spm_dcm_fnirs_priors(*args, **kwargs): - """ + r""" Priors for a one-state DCM for fNIRS FORMAT [pE,pC,x] = spm_dcm_fnirs_priors(DCM) @@ -40,9 +40,12 @@ def spm_dcm_fnirs_priors(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/dcm_fnirs/spm_dcm_fnirs_priors.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/dcm_fnirs/spm_dcm_fnirs_priors.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_dcm_fnirs_priors", *args, **kwargs) diff --git a/spm/__toolbox/__dcm_fnirs/spm_dcm_fnirs_specify.py b/spm/__toolbox/__dcm_fnirs/spm_dcm_fnirs_specify.py index 50633835..7a1d3033 100644 --- a/spm/__toolbox/__dcm_fnirs/spm_dcm_fnirs_specify.py +++ b/spm/__toolbox/__dcm_fnirs/spm_dcm_fnirs_specify.py @@ -2,7 +2,7 @@ def spm_dcm_fnirs_specify(*args, **kwargs): - """ + r""" Specify inputs of a DCM for fNIRS FORMAT [DCM] = spm_dcm_nirs_specify(SPMf) @@ -12,9 +12,12 @@ def spm_dcm_fnirs_specify(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/dcm_fnirs/spm_dcm_fnirs_specify.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/dcm_fnirs/spm_dcm_fnirs_specify.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_dcm_fnirs_specify", *args, **kwargs) diff --git a/spm/__toolbox/__dcm_fnirs/spm_dcm_fnirs_viewer_result.py b/spm/__toolbox/__dcm_fnirs/spm_dcm_fnirs_viewer_result.py index 26ab4182..e49931f0 100644 --- a/spm/__toolbox/__dcm_fnirs/spm_dcm_fnirs_viewer_result.py +++ b/spm/__toolbox/__dcm_fnirs/spm_dcm_fnirs_viewer_result.py @@ -2,14 +2,17 @@ def spm_dcm_fnirs_viewer_result(*args, **kwargs): - """ + r""" GUI for displaying DCM-fNIRS results __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/dcm_fnirs/spm_dcm_fnirs_viewer_result.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/dcm_fnirs/spm_dcm_fnirs_viewer_result.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_dcm_fnirs_viewer_result", *args, **kwargs) diff --git a/spm/__toolbox/__dcm_fnirs/spm_fnirs_sensitivity.py b/spm/__toolbox/__dcm_fnirs/spm_fnirs_sensitivity.py index 1b5ba7d5..872c6b76 100644 --- a/spm/__toolbox/__dcm_fnirs/spm_fnirs_sensitivity.py +++ b/spm/__toolbox/__dcm_fnirs/spm_fnirs_sensitivity.py @@ -2,7 +2,7 @@ def spm_fnirs_sensitivity(*args, **kwargs): - """ + r""" Calculate sensitivity matrix which corresponds to the effective pathlength of detected photons for the channel measurements in the hemodynamic source. @@ -24,9 +24,12 @@ def spm_fnirs_sensitivity(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/dcm_fnirs/spm_fnirs_sensitivity.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/dcm_fnirs/spm_fnirs_sensitivity.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_fnirs_sensitivity", *args, **kwargs) diff --git a/spm/__toolbox/__dcm_fnirs/spm_fnirs_viewer_sensor.py b/spm/__toolbox/__dcm_fnirs/spm_fnirs_viewer_sensor.py index 26bf2003..a905ea57 100644 --- a/spm/__toolbox/__dcm_fnirs/spm_fnirs_viewer_sensor.py +++ b/spm/__toolbox/__dcm_fnirs/spm_fnirs_viewer_sensor.py @@ -2,7 +2,7 @@ def spm_fnirs_viewer_sensor(*args, **kwargs): - """ + r""" Display optode/channel positions on the rendered brain surface FORMAT spm_fnirs_viewer_sensor(R) @@ -12,9 +12,12 @@ def spm_fnirs_viewer_sensor(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/dcm_fnirs/spm_fnirs_viewer_sensor.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/dcm_fnirs/spm_fnirs_viewer_sensor.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_fnirs_viewer_sensor", *args, **kwargs, nargout=0) diff --git a/spm/__toolbox/__dcm_fnirs/spm_fnirs_wavg.py b/spm/__toolbox/__dcm_fnirs/spm_fnirs_wavg.py index 6661a0e8..48c78d27 100644 --- a/spm/__toolbox/__dcm_fnirs/spm_fnirs_wavg.py +++ b/spm/__toolbox/__dcm_fnirs/spm_fnirs_wavg.py @@ -2,7 +2,7 @@ def spm_fnirs_wavg(*args, **kwargs): - """ + r""" Average data across trials FORMAT wy = spm_fnirs_wavg(y,ons,dur) @@ -14,9 +14,12 @@ def spm_fnirs_wavg(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/dcm_fnirs/spm_fnirs_wavg.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/dcm_fnirs/spm_fnirs_wavg.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_fnirs_wavg", *args, **kwargs) diff --git a/spm/__toolbox/__dcm_fnirs/spm_fx_fnirs.py b/spm/__toolbox/__dcm_fnirs/spm_fx_fnirs.py index a2c274a9..7b2f009f 100644 --- a/spm/__toolbox/__dcm_fnirs/spm_fx_fnirs.py +++ b/spm/__toolbox/__dcm_fnirs/spm_fx_fnirs.py @@ -2,7 +2,7 @@ def spm_fx_fnirs(*args, **kwargs): - """ + r""" State equation for a dynamic model of fNIRS responses FORMAT [f] = spm_fx_fnirs(x,u,P,M) @@ -45,9 +45,12 @@ def spm_fx_fnirs(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/dcm_fnirs/spm_fx_fnirs.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/dcm_fnirs/spm_fx_fnirs.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_fx_fnirs", *args, **kwargs) diff --git a/spm/__toolbox/__dcm_fnirs/spm_gx_fnirs.py b/spm/__toolbox/__dcm_fnirs/spm_gx_fnirs.py index 81fb9546..f56d391e 100644 --- a/spm/__toolbox/__dcm_fnirs/spm_gx_fnirs.py +++ b/spm/__toolbox/__dcm_fnirs/spm_gx_fnirs.py @@ -2,7 +2,7 @@ def spm_gx_fnirs(*args, **kwargs): - """ + r""" fNIRS optics equation FORMAT [g] = spm_gx_fnirs(x,u,P,M) @@ -24,9 +24,12 @@ def spm_gx_fnirs(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/dcm_fnirs/spm_gx_fnirs.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/dcm_fnirs/spm_gx_fnirs.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_gx_fnirs", *args, **kwargs) diff --git a/spm/__toolbox/__dcm_fnirs/spm_gx_state_fnirs.py b/spm/__toolbox/__dcm_fnirs/spm_gx_state_fnirs.py index 22da32b2..8d8f4640 100644 --- a/spm/__toolbox/__dcm_fnirs/spm_gx_state_fnirs.py +++ b/spm/__toolbox/__dcm_fnirs/spm_gx_state_fnirs.py @@ -2,7 +2,7 @@ def spm_gx_state_fnirs(*args, **kwargs): - """ + r""" Neurodynamics and Hemodynamics underling DCM for fNIRS FORMAT [y] = spm_gx_state_fnirs(x,u,P,M) @@ -19,9 +19,12 @@ def spm_gx_state_fnirs(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/dcm_fnirs/spm_gx_state_fnirs.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/dcm_fnirs/spm_gx_state_fnirs.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_gx_state_fnirs", *args, **kwargs) diff --git a/spm/__toolbox/__dcm_meeg/spm_L_priors.py b/spm/__toolbox/__dcm_meeg/spm_L_priors.py index 746cfd2b..f26e1d11 100644 --- a/spm/__toolbox/__dcm_meeg/spm_L_priors.py +++ b/spm/__toolbox/__dcm_meeg/spm_L_priors.py @@ -2,7 +2,7 @@ def spm_L_priors(*args, **kwargs): - """ + r""" Prior moments for the lead-field parameters of ERP models FORMAT [pE,pC] = spm_L_priors(dipfit) @@ -34,9 +34,12 @@ def spm_L_priors(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/dcm_meeg/spm_L_priors.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/dcm_meeg/spm_L_priors.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_L_priors", *args, **kwargs) diff --git a/spm/__toolbox/__dcm_meeg/spm_api_erp.py b/spm/__toolbox/__dcm_meeg/spm_api_erp.py index 8992f13b..610e812e 100644 --- a/spm/__toolbox/__dcm_meeg/spm_api_erp.py +++ b/spm/__toolbox/__dcm_meeg/spm_api_erp.py @@ -2,16 +2,19 @@ def spm_api_erp(*args, **kwargs): - """ + r""" SPM_API_ERP Application M-file for spm_api_erp.fig FIG = SPM_API_ERP launch spm_api_erp GUI. SPM_API_ERP('callback_name', ...) invoke the named callback. __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/dcm_meeg/spm_api_erp.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/dcm_meeg/spm_api_erp.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_api_erp", *args, **kwargs) diff --git a/spm/__toolbox/__dcm_meeg/spm_api_nmm.py b/spm/__toolbox/__dcm_meeg/spm_api_nmm.py index 4638957d..19006de5 100644 --- a/spm/__toolbox/__dcm_meeg/spm_api_nmm.py +++ b/spm/__toolbox/__dcm_meeg/spm_api_nmm.py @@ -2,7 +2,7 @@ def spm_api_nmm(*args, **kwargs): - """ + r""" SPM_API_NMM M-file for spm_api_nmm.fig SPM_API_NMM, by itself, creates a new SPM_API_NMM or raises the existing singleton*. @@ -25,9 +25,12 @@ def spm_api_nmm(*args, **kwargs): See also: GUIDE, GUIDATA, GUIHANDLES - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/dcm_meeg/spm_api_nmm.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/dcm_meeg/spm_api_nmm.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_api_nmm", *args, **kwargs) diff --git a/spm/__toolbox/__dcm_meeg/spm_bgt_priors.py b/spm/__toolbox/__dcm_meeg/spm_bgt_priors.py index e997668b..696ba843 100644 --- a/spm/__toolbox/__dcm_meeg/spm_bgt_priors.py +++ b/spm/__toolbox/__dcm_meeg/spm_bgt_priors.py @@ -2,7 +2,7 @@ def spm_bgt_priors(*args, **kwargs): - """ + r""" Prior moments for a basal ganglia circuit FORMAT [pE,pC] = spm_bgt_priors only contains priors for intrinsic parameters @@ -10,9 +10,12 @@ def spm_bgt_priors(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/dcm_meeg/spm_bgt_priors.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/dcm_meeg/spm_bgt_priors.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_bgt_priors", *args, **kwargs) diff --git a/spm/__toolbox/__dcm_meeg/spm_cmc_priors.py b/spm/__toolbox/__dcm_meeg/spm_cmc_priors.py index 706cb844..82082764 100644 --- a/spm/__toolbox/__dcm_meeg/spm_cmc_priors.py +++ b/spm/__toolbox/__dcm_meeg/spm_cmc_priors.py @@ -2,7 +2,7 @@ def spm_cmc_priors(*args, **kwargs): - """ + r""" Prior moments for a canonical microcircuit model FORMAT [pE,pC] = spm_cmc_priors(A,B,C) @@ -42,9 +42,12 @@ def spm_cmc_priors(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/dcm_meeg/spm_cmc_priors.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/dcm_meeg/spm_cmc_priors.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_cmc_priors", *args, **kwargs) diff --git a/spm/__toolbox/__dcm_meeg/spm_cmm_NMDA_priors.py b/spm/__toolbox/__dcm_meeg/spm_cmm_NMDA_priors.py index a54dfbca..04b7bdc5 100644 --- a/spm/__toolbox/__dcm_meeg/spm_cmm_NMDA_priors.py +++ b/spm/__toolbox/__dcm_meeg/spm_cmm_NMDA_priors.py @@ -2,7 +2,7 @@ def spm_cmm_NMDA_priors(*args, **kwargs): - """ + r""" Prior moments for a canonical neural-mass model of ERPs FORMAT [pE,pC] = spm_cmm_priors(A,B,C) @@ -45,9 +45,12 @@ def spm_cmm_NMDA_priors(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/dcm_meeg/spm_cmm_NMDA_priors.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/dcm_meeg/spm_cmm_NMDA_priors.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_cmm_NMDA_priors", *args, **kwargs) diff --git a/spm/__toolbox/__dcm_meeg/spm_cmm_priors.py b/spm/__toolbox/__dcm_meeg/spm_cmm_priors.py index 0e069352..fa54ba34 100644 --- a/spm/__toolbox/__dcm_meeg/spm_cmm_priors.py +++ b/spm/__toolbox/__dcm_meeg/spm_cmm_priors.py @@ -2,7 +2,7 @@ def spm_cmm_priors(*args, **kwargs): - """ + r""" Prior moments for a canonical neural-mass model of ERPs FORMAT [pE,pC] = spm_cmm_priors(A,B,C) @@ -46,9 +46,12 @@ def spm_cmm_priors(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/dcm_meeg/spm_cmm_priors.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/dcm_meeg/spm_cmm_priors.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_cmm_priors", *args, **kwargs) diff --git a/spm/__toolbox/__dcm_meeg/spm_csd_chf.py b/spm/__toolbox/__dcm_meeg/spm_csd_chf.py index c94f929a..926c0fea 100644 --- a/spm/__toolbox/__dcm_meeg/spm_csd_chf.py +++ b/spm/__toolbox/__dcm_meeg/spm_csd_chf.py @@ -2,7 +2,7 @@ def spm_csd_chf(*args, **kwargs): - """ + r""" Characteristic (expected) frequency of a NMM FORMAT [G,w] = spm_csd_chf(P,M,U) @@ -15,9 +15,12 @@ def spm_csd_chf(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/dcm_meeg/spm_csd_chf.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/dcm_meeg/spm_csd_chf.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_csd_chf", *args, **kwargs) diff --git a/spm/__toolbox/__dcm_meeg/spm_csd_int.py b/spm/__toolbox/__dcm_meeg/spm_csd_int.py index 9736a5ce..de57df72 100644 --- a/spm/__toolbox/__dcm_meeg/spm_csd_int.py +++ b/spm/__toolbox/__dcm_meeg/spm_csd_int.py @@ -2,7 +2,7 @@ def spm_csd_int(*args, **kwargs): - """ + r""" Time frequency response of a neural mass model FORMAT [CSD,ERP,csd,mtf,w,pst,x,dP] = spm_csd_int(P,M,U) ERP = spm_csd_int(P,M,U): M.ds = 0 @@ -37,9 +37,12 @@ def spm_csd_int(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/dcm_meeg/spm_csd_int.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/dcm_meeg/spm_csd_int.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_csd_int", *args, **kwargs) diff --git a/spm/__toolbox/__dcm_meeg/spm_csd_int_IS.py b/spm/__toolbox/__dcm_meeg/spm_csd_int_IS.py index 93f1bf89..e8a08b67 100644 --- a/spm/__toolbox/__dcm_meeg/spm_csd_int_IS.py +++ b/spm/__toolbox/__dcm_meeg/spm_csd_int_IS.py @@ -2,7 +2,7 @@ def spm_csd_int_IS(*args, **kwargs): - """ + r""" Wrapper for erp and csd response of a neural mass model FORMAT [y] = spm_csd_int_IS(P,M,U) @@ -25,9 +25,12 @@ def spm_csd_int_IS(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/dcm_meeg/spm_csd_int_IS.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/dcm_meeg/spm_csd_int_IS.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_csd_int_IS", *args, **kwargs) diff --git a/spm/__toolbox/__dcm_meeg/spm_csd_mtf.py b/spm/__toolbox/__dcm_meeg/spm_csd_mtf.py index 459034fc..580459d1 100644 --- a/spm/__toolbox/__dcm_meeg/spm_csd_mtf.py +++ b/spm/__toolbox/__dcm_meeg/spm_csd_mtf.py @@ -2,7 +2,7 @@ def spm_csd_mtf(*args, **kwargs): - """ + r""" Spectral response of a NMM (transfer function x noise spectrum) FORMAT [y,w,s,g] = spm_csd_mtf(P,M,U) FORMAT [y,w,s,g] = spm_csd_mtf(P,M) @@ -37,9 +37,12 @@ def spm_csd_mtf(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/dcm_meeg/spm_csd_mtf.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/dcm_meeg/spm_csd_mtf.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_csd_mtf", *args, **kwargs) diff --git a/spm/__toolbox/__dcm_meeg/spm_csd_mtf_gu.py b/spm/__toolbox/__dcm_meeg/spm_csd_mtf_gu.py index df0a2954..611cfa42 100644 --- a/spm/__toolbox/__dcm_meeg/spm_csd_mtf_gu.py +++ b/spm/__toolbox/__dcm_meeg/spm_csd_mtf_gu.py @@ -2,7 +2,7 @@ def spm_csd_mtf_gu(*args, **kwargs): - """ + r""" Spectral desnities of innovations and noise for DCM for CSD FORMAT [Gu,Gs,Gn,f] = spm_csd_mtf_gu(P,M) FORMAT [Gu,Gs,Gn,f] = spm_csd_mtf_gu(P,f) @@ -27,9 +27,12 @@ def spm_csd_mtf_gu(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/dcm_meeg/spm_csd_mtf_gu.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/dcm_meeg/spm_csd_mtf_gu.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_csd_mtf_gu", *args, **kwargs) diff --git a/spm/__toolbox/__dcm_meeg/spm_dcm_csd.py b/spm/__toolbox/__dcm_meeg/spm_dcm_csd.py index 788e5c81..992947a3 100644 --- a/spm/__toolbox/__dcm_meeg/spm_dcm_csd.py +++ b/spm/__toolbox/__dcm_meeg/spm_dcm_csd.py @@ -2,7 +2,7 @@ def spm_dcm_csd(*args, **kwargs): - """ + r""" Estimate parameters of a DCM of (complex) cross-spectral density FORMAT DCM = spm_dcm_csd(DCM) @@ -44,9 +44,12 @@ def spm_dcm_csd(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/dcm_meeg/spm_dcm_csd.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/dcm_meeg/spm_dcm_csd.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_dcm_csd", *args, **kwargs) diff --git a/spm/__toolbox/__dcm_meeg/spm_dcm_csd_data.py b/spm/__toolbox/__dcm_meeg/spm_dcm_csd_data.py index 03f03c87..635c2659 100644 --- a/spm/__toolbox/__dcm_meeg/spm_dcm_csd_data.py +++ b/spm/__toolbox/__dcm_meeg/spm_dcm_csd_data.py @@ -2,7 +2,7 @@ def spm_dcm_csd_data(*args, **kwargs): - """ + r""" Cross-spectral density data-features using a VAR model FORMAT DCM = spm_dcm_csd_data(DCM) DCM - DCM structure @@ -29,9 +29,12 @@ def spm_dcm_csd_data(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/dcm_meeg/spm_dcm_csd_data.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/dcm_meeg/spm_dcm_csd_data.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_dcm_csd_data", *args, **kwargs) diff --git a/spm/__toolbox/__dcm_meeg/spm_dcm_csd_plot.py b/spm/__toolbox/__dcm_meeg/spm_dcm_csd_plot.py index ad891551..888ec1e8 100644 --- a/spm/__toolbox/__dcm_meeg/spm_dcm_csd_plot.py +++ b/spm/__toolbox/__dcm_meeg/spm_dcm_csd_plot.py @@ -2,7 +2,7 @@ def spm_dcm_csd_plot(*args, **kwargs): - """ + r""" Plot the conditional density of coherence etc for a given connection FORMAT spm_dcm_csd_plot(DCM,i,j,C) @@ -20,9 +20,12 @@ def spm_dcm_csd_plot(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/dcm_meeg/spm_dcm_csd_plot.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/dcm_meeg/spm_dcm_csd_plot.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_dcm_csd_plot", *args, **kwargs, nargout=0) diff --git a/spm/__toolbox/__dcm_meeg/spm_dcm_csd_priors.py b/spm/__toolbox/__dcm_meeg/spm_dcm_csd_priors.py index 3d8f214b..799ff6cc 100644 --- a/spm/__toolbox/__dcm_meeg/spm_dcm_csd_priors.py +++ b/spm/__toolbox/__dcm_meeg/spm_dcm_csd_priors.py @@ -2,7 +2,7 @@ def spm_dcm_csd_priors(*args, **kwargs): - """ + r""" Optimisation of priors FORMAT [pE] = spm_dcm_csd_priors(M,U,Y,k) __________________________________________________________________________ @@ -45,9 +45,12 @@ def spm_dcm_csd_priors(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/dcm_meeg/spm_dcm_csd_priors.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/dcm_meeg/spm_dcm_csd_priors.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_dcm_csd_priors", *args, **kwargs) diff --git a/spm/__toolbox/__dcm_meeg/spm_dcm_csd_results.py b/spm/__toolbox/__dcm_meeg/spm_dcm_csd_results.py index 95352eac..47e25a6e 100644 --- a/spm/__toolbox/__dcm_meeg/spm_dcm_csd_results.py +++ b/spm/__toolbox/__dcm_meeg/spm_dcm_csd_results.py @@ -2,7 +2,7 @@ def spm_dcm_csd_results(*args, **kwargs): - """ + r""" Results for CSD (SSR) Dynamic Causal Modeling (DCM) FORMAT spm_dcm_csd_results(DCM,'spectral data'); FORMAT spm_dcm_csd_results(DCM,'Coupling (A)'); @@ -36,9 +36,12 @@ def spm_dcm_csd_results(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/dcm_meeg/spm_dcm_csd_results.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/dcm_meeg/spm_dcm_csd_results.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_dcm_csd_results", *args, **kwargs, nargout=0) diff --git a/spm/__toolbox/__dcm_meeg/spm_dcm_csd_source_optimise.py b/spm/__toolbox/__dcm_meeg/spm_dcm_csd_source_optimise.py index 0a3a1d21..24202183 100644 --- a/spm/__toolbox/__dcm_meeg/spm_dcm_csd_source_optimise.py +++ b/spm/__toolbox/__dcm_meeg/spm_dcm_csd_source_optimise.py @@ -2,7 +2,7 @@ def spm_dcm_csd_source_optimise(*args, **kwargs): - """ + r""" Stochastic optimisation of single source neural mass model FORMAT [PE] = spm_dcm_csd_source_optimise @@ -12,9 +12,12 @@ def spm_dcm_csd_source_optimise(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/dcm_meeg/spm_dcm_csd_source_optimise.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/dcm_meeg/spm_dcm_csd_source_optimise.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_dcm_csd_source_optimise", *args, **kwargs) diff --git a/spm/__toolbox/__dcm_meeg/spm_dcm_csd_source_plot.py b/spm/__toolbox/__dcm_meeg/spm_dcm_csd_source_plot.py index 2e404c91..d637b18d 100644 --- a/spm/__toolbox/__dcm_meeg/spm_dcm_csd_source_plot.py +++ b/spm/__toolbox/__dcm_meeg/spm_dcm_csd_source_plot.py @@ -2,7 +2,7 @@ def spm_dcm_csd_source_plot(*args, **kwargs): - """ + r""" Spectral response (G) of a single source neural mass model FORMAT [G] = spm_dcm_csd_source_plot(model,s) @@ -14,9 +14,12 @@ def spm_dcm_csd_source_plot(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/dcm_meeg/spm_dcm_csd_source_plot.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/dcm_meeg/spm_dcm_csd_source_plot.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_dcm_csd_source_plot", *args, **kwargs) diff --git a/spm/__toolbox/__dcm_meeg/spm_dcm_dem.py b/spm/__toolbox/__dcm_meeg/spm_dcm_dem.py index 81410a6d..824c9300 100644 --- a/spm/__toolbox/__dcm_meeg/spm_dcm_dem.py +++ b/spm/__toolbox/__dcm_meeg/spm_dcm_dem.py @@ -2,7 +2,7 @@ def spm_dcm_dem(*args, **kwargs): - """ + r""" Estimate parameters of a DCM-DEM model FORMAT DCM = spm_dcm_dem(DCM) @@ -25,9 +25,12 @@ def spm_dcm_dem(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/dcm_meeg/spm_dcm_dem.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/dcm_meeg/spm_dcm_dem.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_dcm_dem", *args, **kwargs) diff --git a/spm/__toolbox/__dcm_meeg/spm_dcm_eeg_channelmodes.py b/spm/__toolbox/__dcm_meeg/spm_dcm_eeg_channelmodes.py index 65559622..328a2c19 100644 --- a/spm/__toolbox/__dcm_meeg/spm_dcm_eeg_channelmodes.py +++ b/spm/__toolbox/__dcm_meeg/spm_dcm_eeg_channelmodes.py @@ -2,7 +2,7 @@ def spm_dcm_eeg_channelmodes(*args, **kwargs): - """ + r""" Return the channel eigenmodes FORMAT [U] = spm_dcm_eeg_channelmodes(dipfit,Nm) FORMAT [U] = spm_dcm_eeg_channelmodes(dipfit,Nm,xY) @@ -23,9 +23,12 @@ def spm_dcm_eeg_channelmodes(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/dcm_meeg/spm_dcm_eeg_channelmodes.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/dcm_meeg/spm_dcm_eeg_channelmodes.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_dcm_eeg_channelmodes", *args, **kwargs) diff --git a/spm/__toolbox/__dcm_meeg/spm_dcm_erp.py b/spm/__toolbox/__dcm_meeg/spm_dcm_erp.py index 33e09a98..b42e90a8 100644 --- a/spm/__toolbox/__dcm_meeg/spm_dcm_erp.py +++ b/spm/__toolbox/__dcm_meeg/spm_dcm_erp.py @@ -2,7 +2,7 @@ def spm_dcm_erp(*args, **kwargs): - """ + r""" Estimate parameters of a DCM model (Variational Lapalce) FORMAT [DCM,dipfit] = spm_dcm_erp(DCM) @@ -43,9 +43,12 @@ def spm_dcm_erp(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/dcm_meeg/spm_dcm_erp.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/dcm_meeg/spm_dcm_erp.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_dcm_erp", *args, **kwargs) diff --git a/spm/__toolbox/__dcm_meeg/spm_dcm_erp_bma.py b/spm/__toolbox/__dcm_meeg/spm_dcm_erp_bma.py index c4906dd5..57f34880 100644 --- a/spm/__toolbox/__dcm_meeg/spm_dcm_erp_bma.py +++ b/spm/__toolbox/__dcm_meeg/spm_dcm_erp_bma.py @@ -2,7 +2,7 @@ def spm_dcm_erp_bma(*args, **kwargs): - """ + r""" Compute posterior over connections, or modulatory gains in them, from BMA FORMAT [r,xp] = spm_dcm_erp_bma (BMS_file,stats,params) @@ -71,9 +71,12 @@ def spm_dcm_erp_bma(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/dcm_meeg/spm_dcm_erp_bma.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/dcm_meeg/spm_dcm_erp_bma.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_dcm_erp_bma", *args, **kwargs) diff --git a/spm/__toolbox/__dcm_meeg/spm_dcm_erp_data.py b/spm/__toolbox/__dcm_meeg/spm_dcm_erp_data.py index fc26a585..b9b312c0 100644 --- a/spm/__toolbox/__dcm_meeg/spm_dcm_erp_data.py +++ b/spm/__toolbox/__dcm_meeg/spm_dcm_erp_data.py @@ -2,7 +2,7 @@ def spm_dcm_erp_data(*args, **kwargs): - """ + r""" Prepare structures for forward model(EEG, MEG and LFP) FORMAT DCM = spm_dcm_erp_data(DCM,ERP) DCM - DCM structure @@ -35,9 +35,12 @@ def spm_dcm_erp_data(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/dcm_meeg/spm_dcm_erp_data.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/dcm_meeg/spm_dcm_erp_data.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_dcm_erp_data", *args, **kwargs) diff --git a/spm/__toolbox/__dcm_meeg/spm_dcm_erp_dipfit.py b/spm/__toolbox/__dcm_meeg/spm_dcm_erp_dipfit.py index c639b427..23763f90 100644 --- a/spm/__toolbox/__dcm_meeg/spm_dcm_erp_dipfit.py +++ b/spm/__toolbox/__dcm_meeg/spm_dcm_erp_dipfit.py @@ -2,7 +2,7 @@ def spm_dcm_erp_dipfit(*args, **kwargs): - """ + r""" Prepare structures for ECD forward model (EEG, MEG and LFP) FORMAT DCM = spm_dcm_erp_dipfit(DCM, save_vol_sens) DCM - DCM structure @@ -37,9 +37,12 @@ def spm_dcm_erp_dipfit(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/dcm_meeg/spm_dcm_erp_dipfit.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/dcm_meeg/spm_dcm_erp_dipfit.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_dcm_erp_dipfit", *args, **kwargs) diff --git a/spm/__toolbox/__dcm_meeg/spm_dcm_erp_plot.py b/spm/__toolbox/__dcm_meeg/spm_dcm_erp_plot.py index bb3097e5..c8c1fca6 100644 --- a/spm/__toolbox/__dcm_meeg/spm_dcm_erp_plot.py +++ b/spm/__toolbox/__dcm_meeg/spm_dcm_erp_plot.py @@ -2,7 +2,7 @@ def spm_dcm_erp_plot(*args, **kwargs): - """ + r""" Plot predicted source activity FORMAT x = spm_dcm_erp_plot(DCM) @@ -36,9 +36,12 @@ def spm_dcm_erp_plot(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/dcm_meeg/spm_dcm_erp_plot.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/dcm_meeg/spm_dcm_erp_plot.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_dcm_erp_plot", *args, **kwargs) diff --git a/spm/__toolbox/__dcm_meeg/spm_dcm_erp_results.py b/spm/__toolbox/__dcm_meeg/spm_dcm_erp_results.py index 701789e0..6ab19ddc 100644 --- a/spm/__toolbox/__dcm_meeg/spm_dcm_erp_results.py +++ b/spm/__toolbox/__dcm_meeg/spm_dcm_erp_results.py @@ -2,7 +2,7 @@ def spm_dcm_erp_results(*args, **kwargs): - """ + r""" Results for ERP Dynamic Causal Modeling (DCM) FORMAT spm_dcm_erp_results(DCM,'ERPs (mode)'); FORMAT spm_dcm_erp_results(DCM,'ERPs (sources)'); @@ -33,9 +33,12 @@ def spm_dcm_erp_results(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/dcm_meeg/spm_dcm_erp_results.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/dcm_meeg/spm_dcm_erp_results.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_dcm_erp_results", *args, **kwargs) diff --git a/spm/__toolbox/__dcm_meeg/spm_dcm_erp_sensitivity.py b/spm/__toolbox/__dcm_meeg/spm_dcm_erp_sensitivity.py index c9b15d3a..2faec667 100644 --- a/spm/__toolbox/__dcm_meeg/spm_dcm_erp_sensitivity.py +++ b/spm/__toolbox/__dcm_meeg/spm_dcm_erp_sensitivity.py @@ -2,7 +2,7 @@ def spm_dcm_erp_sensitivity(*args, **kwargs): - """ + r""" Plot change in source activity w.r.t. a contrast of parameters FORMAT x = spm_dcm_erp_sensitivity(DCM,C) @@ -36,9 +36,12 @@ def spm_dcm_erp_sensitivity(*args, **kwargs): - or string identifying a parameter: e.g. 'A{2}(3,1)' - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/dcm_meeg/spm_dcm_erp_sensitivity.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/dcm_meeg/spm_dcm_erp_sensitivity.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_dcm_erp_sensitivity", *args, **kwargs) diff --git a/spm/__toolbox/__dcm_meeg/spm_dcm_erp_update.py b/spm/__toolbox/__dcm_meeg/spm_dcm_erp_update.py index cfc7d7a3..56a2f7ae 100644 --- a/spm/__toolbox/__dcm_meeg/spm_dcm_erp_update.py +++ b/spm/__toolbox/__dcm_meeg/spm_dcm_erp_update.py @@ -2,7 +2,7 @@ def spm_dcm_erp_update(*args, **kwargs): - """ + r""" Set priors over DCM model parameters for Bayesian updating FORMAT DCM = spm_dcm_erp_update(DCM,oldDCM,fields) @@ -12,9 +12,12 @@ def spm_dcm_erp_update(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/dcm_meeg/spm_dcm_erp_update.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/dcm_meeg/spm_dcm_erp_update.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_dcm_erp_update", *args, **kwargs) diff --git a/spm/__toolbox/__dcm_meeg/spm_dcm_erp_viewspatial.py b/spm/__toolbox/__dcm_meeg/spm_dcm_erp_viewspatial.py index 5ac78c87..84dd27a1 100644 --- a/spm/__toolbox/__dcm_meeg/spm_dcm_erp_viewspatial.py +++ b/spm/__toolbox/__dcm_meeg/spm_dcm_erp_viewspatial.py @@ -2,7 +2,7 @@ def spm_dcm_erp_viewspatial(*args, **kwargs): - """ + r""" SPM_DCM_ERP_VIEWSPATIAL M-file for spm_dcm_erp_viewspatial.fig SPM_DCM_ERP_VIEWSPATIAL, by itself, creates a new SPM_DCM_ERP_VIEWSPATIAL or raises the existing singleton*. @@ -25,9 +25,12 @@ def spm_dcm_erp_viewspatial(*args, **kwargs): See also: GUIDE, GUIDATA, GUIHANDLES - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/dcm_meeg/spm_dcm_erp_viewspatial.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/dcm_meeg/spm_dcm_erp_viewspatial.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_dcm_erp_viewspatial", *args, **kwargs) diff --git a/spm/__toolbox/__dcm_meeg/spm_dcm_ind.py b/spm/__toolbox/__dcm_meeg/spm_dcm_ind.py index b79201fa..14eed5d2 100644 --- a/spm/__toolbox/__dcm_meeg/spm_dcm_ind.py +++ b/spm/__toolbox/__dcm_meeg/spm_dcm_ind.py @@ -2,7 +2,7 @@ def spm_dcm_ind(*args, **kwargs): - """ + r""" Estimate parameters of a (bilinear) DCM of induced spectral responses FORMAT DCM = spm_dcm_ind(DCM) @@ -55,9 +55,12 @@ def spm_dcm_ind(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/dcm_meeg/spm_dcm_ind.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/dcm_meeg/spm_dcm_ind.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_dcm_ind", *args, **kwargs) diff --git a/spm/__toolbox/__dcm_meeg/spm_dcm_ind_data.py b/spm/__toolbox/__dcm_meeg/spm_dcm_ind_data.py index dbf5f1f3..3ca7b21c 100644 --- a/spm/__toolbox/__dcm_meeg/spm_dcm_ind_data.py +++ b/spm/__toolbox/__dcm_meeg/spm_dcm_ind_data.py @@ -2,7 +2,7 @@ def spm_dcm_ind_data(*args, **kwargs): - """ + r""" Get time-frequency amplitude at specified sources for DCM FORMAT DCM = spm_dcm_ind_data(DCM) DCM - DCM structure @@ -51,9 +51,12 @@ def spm_dcm_ind_data(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/dcm_meeg/spm_dcm_ind_data.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/dcm_meeg/spm_dcm_ind_data.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_dcm_ind_data", *args, **kwargs) diff --git a/spm/__toolbox/__dcm_meeg/spm_dcm_ind_results.py b/spm/__toolbox/__dcm_meeg/spm_dcm_ind_results.py index 4c15bcb1..d8555bb3 100644 --- a/spm/__toolbox/__dcm_meeg/spm_dcm_ind_results.py +++ b/spm/__toolbox/__dcm_meeg/spm_dcm_ind_results.py @@ -2,7 +2,7 @@ def spm_dcm_ind_results(*args, **kwargs): - """ + r""" Results for induced Dynamic Causal Modelling (DCM) FORMAT [DCM] = spm_dcm_ind_results(DCM,Action) Action: @@ -35,9 +35,12 @@ def spm_dcm_ind_results(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/dcm_meeg/spm_dcm_ind_results.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/dcm_meeg/spm_dcm_ind_results.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_dcm_ind_results", *args, **kwargs) diff --git a/spm/__toolbox/__dcm_meeg/spm_dcm_local_minima.py b/spm/__toolbox/__dcm_meeg/spm_dcm_local_minima.py index 3ea7b69d..6fbe26f3 100644 --- a/spm/__toolbox/__dcm_meeg/spm_dcm_local_minima.py +++ b/spm/__toolbox/__dcm_meeg/spm_dcm_local_minima.py @@ -2,7 +2,7 @@ def spm_dcm_local_minima(*args, **kwargs): - """ + r""" Evaluate the free energy landscape around the posterior FORMAT spm_dcm_local_minima(DCM) DCM - (invert) model structure @@ -10,9 +10,12 @@ def spm_dcm_local_minima(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/dcm_meeg/spm_dcm_local_minima.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/dcm_meeg/spm_dcm_local_minima.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_dcm_local_minima", *args, **kwargs, nargout=0) diff --git a/spm/__toolbox/__dcm_meeg/spm_dcm_lock.py b/spm/__toolbox/__dcm_meeg/spm_dcm_lock.py index ab508c65..50700ef7 100644 --- a/spm/__toolbox/__dcm_meeg/spm_dcm_lock.py +++ b/spm/__toolbox/__dcm_meeg/spm_dcm_lock.py @@ -2,7 +2,7 @@ def spm_dcm_lock(*args, **kwargs): - """ + r""" Lock experimental effects by introducing prior correlations FORMAT [pC] = spm_dcm_lock(pV) __________________________________________________________________________ @@ -12,9 +12,12 @@ def spm_dcm_lock(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/dcm_meeg/spm_dcm_lock.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/dcm_meeg/spm_dcm_lock.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_dcm_lock", *args, **kwargs) diff --git a/spm/__toolbox/__dcm_meeg/spm_dcm_neural_priors.py b/spm/__toolbox/__dcm_meeg/spm_dcm_neural_priors.py index a6d4133b..37af55b6 100644 --- a/spm/__toolbox/__dcm_meeg/spm_dcm_neural_priors.py +++ b/spm/__toolbox/__dcm_meeg/spm_dcm_neural_priors.py @@ -2,7 +2,7 @@ def spm_dcm_neural_priors(*args, **kwargs): - """ + r""" Prepare the priors on the parameters of neural mass models FORMAT [pE,pC] = spm_dcm_neural_priors(A,B,C,'model')) @@ -39,9 +39,12 @@ def spm_dcm_neural_priors(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/dcm_meeg/spm_dcm_neural_priors.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/dcm_meeg/spm_dcm_neural_priors.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_dcm_neural_priors", *args, **kwargs) diff --git a/spm/__toolbox/__dcm_meeg/spm_dcm_neural_x.py b/spm/__toolbox/__dcm_meeg/spm_dcm_neural_x.py index b7d96914..4f4dfe7d 100644 --- a/spm/__toolbox/__dcm_meeg/spm_dcm_neural_x.py +++ b/spm/__toolbox/__dcm_meeg/spm_dcm_neural_x.py @@ -2,7 +2,7 @@ def spm_dcm_neural_x(*args, **kwargs): - """ + r""" Return the fixed point or steady-state of a neural mass DCM FORMAT [x] = spm_dcm_neural_x(P,M) @@ -13,9 +13,12 @@ def spm_dcm_neural_x(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/dcm_meeg/spm_dcm_neural_x.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/dcm_meeg/spm_dcm_neural_x.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_dcm_neural_x", *args, **kwargs) diff --git a/spm/__toolbox/__dcm_meeg/spm_dcm_nfm.py b/spm/__toolbox/__dcm_meeg/spm_dcm_nfm.py index 8fcdbd4b..7f1d7410 100644 --- a/spm/__toolbox/__dcm_meeg/spm_dcm_nfm.py +++ b/spm/__toolbox/__dcm_meeg/spm_dcm_nfm.py @@ -2,7 +2,7 @@ def spm_dcm_nfm(*args, **kwargs): - """ + r""" Estimate parameters of a DCM of spectral neural field activity FORMAT DCM = spm_dcm_nfm(DCM) @@ -26,9 +26,12 @@ def spm_dcm_nfm(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/dcm_meeg/spm_dcm_nfm.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/dcm_meeg/spm_dcm_nfm.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_dcm_nfm", *args, **kwargs) diff --git a/spm/__toolbox/__dcm_meeg/spm_dcm_phase.py b/spm/__toolbox/__dcm_meeg/spm_dcm_phase.py index 81b02487..30828b41 100644 --- a/spm/__toolbox/__dcm_meeg/spm_dcm_phase.py +++ b/spm/__toolbox/__dcm_meeg/spm_dcm_phase.py @@ -2,7 +2,7 @@ def spm_dcm_phase(*args, **kwargs): - """ + r""" Estimate parameters of a DCM model of phase-coupled responses FORMAT DCM = spm_dcm_phase(DCM) @@ -31,9 +31,12 @@ def spm_dcm_phase(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/dcm_meeg/spm_dcm_phase.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/dcm_meeg/spm_dcm_phase.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_dcm_phase", *args, **kwargs) diff --git a/spm/__toolbox/__dcm_meeg/spm_dcm_phase_data.py b/spm/__toolbox/__dcm_meeg/spm_dcm_phase_data.py index ccfe3f5e..978a8770 100644 --- a/spm/__toolbox/__dcm_meeg/spm_dcm_phase_data.py +++ b/spm/__toolbox/__dcm_meeg/spm_dcm_phase_data.py @@ -2,7 +2,7 @@ def spm_dcm_phase_data(*args, **kwargs): - """ + r""" Get data for DCM for phase coupling FORMAT [DCM] = spm_dcm_phase_data(DCM) @@ -35,9 +35,12 @@ def spm_dcm_phase_data(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/dcm_meeg/spm_dcm_phase_data.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/dcm_meeg/spm_dcm_phase_data.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_dcm_phase_data", *args, **kwargs) diff --git a/spm/__toolbox/__dcm_meeg/spm_dcm_phase_results.py b/spm/__toolbox/__dcm_meeg/spm_dcm_phase_results.py index 43c37231..36d49fff 100644 --- a/spm/__toolbox/__dcm_meeg/spm_dcm_phase_results.py +++ b/spm/__toolbox/__dcm_meeg/spm_dcm_phase_results.py @@ -2,7 +2,7 @@ def spm_dcm_phase_results(*args, **kwargs): - """ + r""" Results for Dynamic Causal Modeling (DCM) for phase coupling FORMAT spm_dcm_phase_results(DCM,Action); Action: @@ -12,9 +12,12 @@ def spm_dcm_phase_results(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/dcm_meeg/spm_dcm_phase_results.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/dcm_meeg/spm_dcm_phase_results.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_dcm_phase_results", *args, **kwargs) diff --git a/spm/__toolbox/__dcm_meeg/spm_dcm_search_eeg.py b/spm/__toolbox/__dcm_meeg/spm_dcm_search_eeg.py index 585a6d8f..9f061981 100644 --- a/spm/__toolbox/__dcm_meeg/spm_dcm_search_eeg.py +++ b/spm/__toolbox/__dcm_meeg/spm_dcm_search_eeg.py @@ -2,7 +2,7 @@ def spm_dcm_search_eeg(*args, **kwargs): - """ + r""" Bayesian model reduction (under Laplace approximation) FORMAT [DCM,RCM] = spm_dcm_search_eeg(P,SAVE_DCM) @@ -56,9 +56,12 @@ def spm_dcm_search_eeg(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/dcm_meeg/spm_dcm_search_eeg.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/dcm_meeg/spm_dcm_search_eeg.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_dcm_search_eeg", *args, **kwargs) diff --git a/spm/__toolbox/__dcm_meeg/spm_dcm_ssr.py b/spm/__toolbox/__dcm_meeg/spm_dcm_ssr.py index 4106634f..5a658432 100644 --- a/spm/__toolbox/__dcm_meeg/spm_dcm_ssr.py +++ b/spm/__toolbox/__dcm_meeg/spm_dcm_ssr.py @@ -2,7 +2,7 @@ def spm_dcm_ssr(*args, **kwargs): - """ + r""" Estimate parameters of a DCM of cross-spectral density FORMAT DCM = spm_dcm_ssr(DCM) @@ -27,9 +27,12 @@ def spm_dcm_ssr(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/dcm_meeg/spm_dcm_ssr.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/dcm_meeg/spm_dcm_ssr.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_dcm_ssr", *args, **kwargs) diff --git a/spm/__toolbox/__dcm_meeg/spm_dcm_ssr_data.py b/spm/__toolbox/__dcm_meeg/spm_dcm_ssr_data.py index f87c1125..edc8cb33 100644 --- a/spm/__toolbox/__dcm_meeg/spm_dcm_ssr_data.py +++ b/spm/__toolbox/__dcm_meeg/spm_dcm_ssr_data.py @@ -2,7 +2,7 @@ def spm_dcm_ssr_data(*args, **kwargs): - """ + r""" Get cross-spectral density data-features using a VAR model FORMAT DCM = spm_dcm_ssr_data(DCM) DCM - DCM structure @@ -29,9 +29,12 @@ def spm_dcm_ssr_data(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/dcm_meeg/spm_dcm_ssr_data.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/dcm_meeg/spm_dcm_ssr_data.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_dcm_ssr_data", *args, **kwargs) diff --git a/spm/__toolbox/__dcm_meeg/spm_dcm_ssr_results.py b/spm/__toolbox/__dcm_meeg/spm_dcm_ssr_results.py index 38050ed0..f25e8ebb 100644 --- a/spm/__toolbox/__dcm_meeg/spm_dcm_ssr_results.py +++ b/spm/__toolbox/__dcm_meeg/spm_dcm_ssr_results.py @@ -2,7 +2,7 @@ def spm_dcm_ssr_results(*args, **kwargs): - """ + r""" Results for ERP Dynamic Causal Modeling (DCM) FORMAT spm_dcm_erp_results(DCM,'spectral data'); FORMAT spm_dcm_erp_results(DCM,'Coupling (A)'); @@ -30,9 +30,12 @@ def spm_dcm_ssr_results(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/dcm_meeg/spm_dcm_ssr_results.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/dcm_meeg/spm_dcm_ssr_results.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_dcm_ssr_results", *args, **kwargs) diff --git a/spm/__toolbox/__dcm_meeg/spm_dcm_symm.py b/spm/__toolbox/__dcm_meeg/spm_dcm_symm.py index 312aaffd..aa5c1983 100644 --- a/spm/__toolbox/__dcm_meeg/spm_dcm_symm.py +++ b/spm/__toolbox/__dcm_meeg/spm_dcm_symm.py @@ -2,7 +2,7 @@ def spm_dcm_symm(*args, **kwargs): - """ + r""" Lock ECD orientations by introducing prior correlations FORMAT [pC] = spm_dcm_symm(pV,pE) __________________________________________________________________________ @@ -13,9 +13,12 @@ def spm_dcm_symm(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/dcm_meeg/spm_dcm_symm.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/dcm_meeg/spm_dcm_symm.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_dcm_symm", *args, **kwargs) diff --git a/spm/__toolbox/__dcm_meeg/spm_dcm_tfm.py b/spm/__toolbox/__dcm_meeg/spm_dcm_tfm.py index 5d490f80..79e8d8e2 100644 --- a/spm/__toolbox/__dcm_meeg/spm_dcm_tfm.py +++ b/spm/__toolbox/__dcm_meeg/spm_dcm_tfm.py @@ -2,7 +2,7 @@ def spm_dcm_tfm(*args, **kwargs): - """ + r""" Estimate parameters of a DCM of (induced) cross-spectral density FORMAT DCM = spm_dcm_tfm(DCM) @@ -53,9 +53,12 @@ def spm_dcm_tfm(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/dcm_meeg/spm_dcm_tfm.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/dcm_meeg/spm_dcm_tfm.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_dcm_tfm", *args, **kwargs) diff --git a/spm/__toolbox/__dcm_meeg/spm_dcm_tfm_data.py b/spm/__toolbox/__dcm_meeg/spm_dcm_tfm_data.py index 7ec784bc..5a18003a 100644 --- a/spm/__toolbox/__dcm_meeg/spm_dcm_tfm_data.py +++ b/spm/__toolbox/__dcm_meeg/spm_dcm_tfm_data.py @@ -2,7 +2,7 @@ def spm_dcm_tfm_data(*args, **kwargs): - """ + r""" Get cross-spectral density data-features using a wavelet transform FORMAT DCM = spm_dcm_tfm_data(DCM) DCM - DCM structure @@ -32,9 +32,12 @@ def spm_dcm_tfm_data(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/dcm_meeg/spm_dcm_tfm_data.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/dcm_meeg/spm_dcm_tfm_data.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_dcm_tfm_data", *args, **kwargs) diff --git a/spm/__toolbox/__dcm_meeg/spm_dcm_tfm_data_nopad.py b/spm/__toolbox/__dcm_meeg/spm_dcm_tfm_data_nopad.py index 6a52089d..05c3462f 100644 --- a/spm/__toolbox/__dcm_meeg/spm_dcm_tfm_data_nopad.py +++ b/spm/__toolbox/__dcm_meeg/spm_dcm_tfm_data_nopad.py @@ -2,7 +2,7 @@ def spm_dcm_tfm_data_nopad(*args, **kwargs): - """ + r""" Get cross-spectral density data-features using a wavelet transform FORMAT DCM = spm_dcm_tfm_data(DCM) DCM - DCM structure @@ -32,9 +32,12 @@ def spm_dcm_tfm_data_nopad(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/dcm_meeg/spm_dcm_tfm_data_nopad.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/dcm_meeg/spm_dcm_tfm_data_nopad.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_dcm_tfm_data_nopad", *args, **kwargs) diff --git a/spm/__toolbox/__dcm_meeg/spm_dcm_tfm_image.py b/spm/__toolbox/__dcm_meeg/spm_dcm_tfm_image.py index 76fe3f65..9546e2ca 100644 --- a/spm/__toolbox/__dcm_meeg/spm_dcm_tfm_image.py +++ b/spm/__toolbox/__dcm_meeg/spm_dcm_tfm_image.py @@ -2,7 +2,7 @@ def spm_dcm_tfm_image(*args, **kwargs): - """ + r""" Display time-frequency complex cross spectra FORMAT spm_dcm_tfm_image(csd,top,pst,hz) @@ -21,9 +21,12 @@ def spm_dcm_tfm_image(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/dcm_meeg/spm_dcm_tfm_image.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/dcm_meeg/spm_dcm_tfm_image.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_dcm_tfm_image", *args, **kwargs, nargout=0) diff --git a/spm/__toolbox/__dcm_meeg/spm_dcm_tfm_multimodal.py b/spm/__toolbox/__dcm_meeg/spm_dcm_tfm_multimodal.py index 2ea78741..8883e833 100644 --- a/spm/__toolbox/__dcm_meeg/spm_dcm_tfm_multimodal.py +++ b/spm/__toolbox/__dcm_meeg/spm_dcm_tfm_multimodal.py @@ -2,7 +2,7 @@ def spm_dcm_tfm_multimodal(*args, **kwargs): - """ + r""" Estimate parameters of a DCM of (induced) cross-spectral density FORMAT DCM = spm_dcm_tfm_multimodal(DCM) @@ -53,9 +53,12 @@ def spm_dcm_tfm_multimodal(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/dcm_meeg/spm_dcm_tfm_multimodal.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/dcm_meeg/spm_dcm_tfm_multimodal.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_dcm_tfm_multimodal", *args, **kwargs) diff --git a/spm/__toolbox/__dcm_meeg/spm_dcm_tfm_response.py b/spm/__toolbox/__dcm_meeg/spm_dcm_tfm_response.py index 0e86b1ff..f084fbf8 100644 --- a/spm/__toolbox/__dcm_meeg/spm_dcm_tfm_response.py +++ b/spm/__toolbox/__dcm_meeg/spm_dcm_tfm_response.py @@ -2,7 +2,7 @@ def spm_dcm_tfm_response(*args, **kwargs): - """ + r""" Display evoked and induced responses FORMAT spm_dcm_tfm_response(xY,pst,hz,[XY]) @@ -24,9 +24,12 @@ def spm_dcm_tfm_response(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/dcm_meeg/spm_dcm_tfm_response.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/dcm_meeg/spm_dcm_tfm_response.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_dcm_tfm_response", *args, **kwargs, nargout=0) diff --git a/spm/__toolbox/__dcm_meeg/spm_dcm_tfm_results.py b/spm/__toolbox/__dcm_meeg/spm_dcm_tfm_results.py index cec30fb4..d8c0da67 100644 --- a/spm/__toolbox/__dcm_meeg/spm_dcm_tfm_results.py +++ b/spm/__toolbox/__dcm_meeg/spm_dcm_tfm_results.py @@ -2,7 +2,7 @@ def spm_dcm_tfm_results(*args, **kwargs): - """ + r""" Results for CSD (SSR) Dynamic Causal Modeling (DCM) FORMAT spm_dcm_tfm_results(DCM,'induced responses'); FORMAT spm_dcm_tfm_results(DCM,'induced and evoked responses'); @@ -36,9 +36,12 @@ def spm_dcm_tfm_results(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/dcm_meeg/spm_dcm_tfm_results.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/dcm_meeg/spm_dcm_tfm_results.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_dcm_tfm_results", *args, **kwargs) diff --git a/spm/__toolbox/__dcm_meeg/spm_dcm_tfm_transfer.py b/spm/__toolbox/__dcm_meeg/spm_dcm_tfm_transfer.py index 4554d814..d95e1b8f 100644 --- a/spm/__toolbox/__dcm_meeg/spm_dcm_tfm_transfer.py +++ b/spm/__toolbox/__dcm_meeg/spm_dcm_tfm_transfer.py @@ -2,7 +2,7 @@ def spm_dcm_tfm_transfer(*args, **kwargs): - """ + r""" Display time-frequency modulation transfer functions FORMAT spm_dcm_tfm_transfer(dtf,pst,Hz) @@ -20,9 +20,12 @@ def spm_dcm_tfm_transfer(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/dcm_meeg/spm_dcm_tfm_transfer.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/dcm_meeg/spm_dcm_tfm_transfer.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_dcm_tfm_transfer", *args, **kwargs, nargout=0) diff --git a/spm/__toolbox/__dcm_meeg/spm_dcm_virtual_electrodes.py b/spm/__toolbox/__dcm_meeg/spm_dcm_virtual_electrodes.py index 8a30804b..e0826515 100644 --- a/spm/__toolbox/__dcm_meeg/spm_dcm_virtual_electrodes.py +++ b/spm/__toolbox/__dcm_meeg/spm_dcm_virtual_electrodes.py @@ -2,7 +2,7 @@ def spm_dcm_virtual_electrodes(*args, **kwargs): - """ + r""" Posterior estimates of coupling among selected populations FORMAT CSD = spm_dcm_virtual_electrodes(DCM,s,p,TYPE) @@ -37,9 +37,12 @@ def spm_dcm_virtual_electrodes(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/dcm_meeg/spm_dcm_virtual_electrodes.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/dcm_meeg/spm_dcm_virtual_electrodes.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_dcm_virtual_electrodes", *args, **kwargs) diff --git a/spm/__toolbox/__dcm_meeg/spm_dcm_x_neural.py b/spm/__toolbox/__dcm_meeg/spm_dcm_x_neural.py index a1156b91..21d34260 100644 --- a/spm/__toolbox/__dcm_meeg/spm_dcm_x_neural.py +++ b/spm/__toolbox/__dcm_meeg/spm_dcm_x_neural.py @@ -2,12 +2,12 @@ def spm_dcm_x_neural(*args, **kwargs): - """ + r""" Return the state and equation of neural mass models FORMAT [x,f,h] = spm_dcm_x_neural(P,'model') P - parameter structure - 'model' - 'ERP','SEP','CMC','LFP','CMM','NNM', 'MFM' or 'CMM NMDA' + 'model' - 'ERP','SEP','CMC','LFP','CMM','NMM', 'MFM' or 'CMM NMDA' x - initial states f - state equation dxdt = f(x,u,P,M) - synaptic activity @@ -15,9 +15,12 @@ def spm_dcm_x_neural(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/dcm_meeg/spm_dcm_x_neural.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/dcm_meeg/spm_dcm_x_neural.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_dcm_x_neural", *args, **kwargs) diff --git a/spm/__toolbox/__dcm_meeg/spm_eeg_inv_ecd_DrawDip.py b/spm/__toolbox/__dcm_meeg/spm_eeg_inv_ecd_DrawDip.py index cf79dded..c20a886b 100644 --- a/spm/__toolbox/__dcm_meeg/spm_eeg_inv_ecd_DrawDip.py +++ b/spm/__toolbox/__dcm_meeg/spm_eeg_inv_ecd_DrawDip.py @@ -2,7 +2,7 @@ def spm_eeg_inv_ecd_DrawDip(*args, **kwargs): - """ + r""" Display the dipoles as obtained from VB-ECD FORMAT spm_eeg_inv_ecd_DrawDip('Init',[sdip,[P]]) Display dipoles from SDIP structure on image P [Default is avg152T1] @@ -37,9 +37,12 @@ def spm_eeg_inv_ecd_DrawDip(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/dcm_meeg/spm_eeg_inv_ecd_DrawDip.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/dcm_meeg/spm_eeg_inv_ecd_DrawDip.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_eeg_inv_ecd_DrawDip", *args, **kwargs, nargout=0) diff --git a/spm/__toolbox/__dcm_meeg/spm_epileptor_demo.py b/spm/__toolbox/__dcm_meeg/spm_epileptor_demo.py index becbb8b8..3e72fa4c 100644 --- a/spm/__toolbox/__dcm_meeg/spm_epileptor_demo.py +++ b/spm/__toolbox/__dcm_meeg/spm_epileptor_demo.py @@ -2,7 +2,7 @@ def spm_epileptor_demo(*args, **kwargs): - """ + r""" Demo routine for local field potential models ========================================================================== @@ -16,9 +16,12 @@ def spm_epileptor_demo(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/dcm_meeg/spm_epileptor_demo.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/dcm_meeg/spm_epileptor_demo.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_epileptor_demo", *args, **kwargs, nargout=0) diff --git a/spm/__toolbox/__dcm_meeg/spm_erp_L.py b/spm/__toolbox/__dcm_meeg/spm_erp_L.py index ab08af09..195b7741 100644 --- a/spm/__toolbox/__dcm_meeg/spm_erp_L.py +++ b/spm/__toolbox/__dcm_meeg/spm_erp_L.py @@ -2,7 +2,7 @@ def spm_erp_L(*args, **kwargs): - """ + r""" [projected] lead field L as a function of position and moments FORMAT [L] = spm_erp_L(P,dipfit) P - model parameters @@ -28,9 +28,12 @@ def spm_erp_L(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/dcm_meeg/spm_erp_L.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/dcm_meeg/spm_erp_L.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_erp_L", *args, **kwargs) diff --git a/spm/__toolbox/__dcm_meeg/spm_erp_priors.py b/spm/__toolbox/__dcm_meeg/spm_erp_priors.py index 943942b3..d238f7f8 100644 --- a/spm/__toolbox/__dcm_meeg/spm_erp_priors.py +++ b/spm/__toolbox/__dcm_meeg/spm_erp_priors.py @@ -2,7 +2,7 @@ def spm_erp_priors(*args, **kwargs): - """ + r""" Prior moments for a neural-mass model of ERPs FORMAT [pE,pC] = spm_erp_priors(A,B,C) @@ -42,9 +42,12 @@ def spm_erp_priors(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/dcm_meeg/spm_erp_priors.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/dcm_meeg/spm_erp_priors.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_erp_priors", *args, **kwargs) diff --git a/spm/__toolbox/__dcm_meeg/spm_erp_u.py b/spm/__toolbox/__dcm_meeg/spm_erp_u.py index 00af58cb..1de10e73 100644 --- a/spm/__toolbox/__dcm_meeg/spm_erp_u.py +++ b/spm/__toolbox/__dcm_meeg/spm_erp_u.py @@ -2,7 +2,7 @@ def spm_erp_u(*args, **kwargs): - """ + r""" [scalar] input for EEG models (Gaussian function) FORMAT [u] = spm_erp_u(t,P,M) t - PST (seconds) @@ -19,9 +19,12 @@ def spm_erp_u(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/dcm_meeg/spm_erp_u.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/dcm_meeg/spm_erp_u.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_erp_u", *args, **kwargs) diff --git a/spm/__toolbox/__dcm_meeg/spm_fp_cmc_tfm.py b/spm/__toolbox/__dcm_meeg/spm_fp_cmc_tfm.py index a42d8316..67e5c4cc 100644 --- a/spm/__toolbox/__dcm_meeg/spm_fp_cmc_tfm.py +++ b/spm/__toolbox/__dcm_meeg/spm_fp_cmc_tfm.py @@ -2,7 +2,7 @@ def spm_fp_cmc_tfm(*args, **kwargs): - """ + r""" Parameter equations for a neural mass model (canonical microcircuit) FORMAT [f] = spm_fp_cmc_tfm(x,u,P,M) @@ -31,9 +31,12 @@ def spm_fp_cmc_tfm(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/dcm_meeg/spm_fp_cmc_tfm.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/dcm_meeg/spm_fp_cmc_tfm.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_fp_cmc_tfm", *args, **kwargs) diff --git a/spm/__toolbox/__dcm_meeg/spm_fs_csd.py b/spm/__toolbox/__dcm_meeg/spm_fs_csd.py index 85e3760e..6df63a0f 100644 --- a/spm/__toolbox/__dcm_meeg/spm_fs_csd.py +++ b/spm/__toolbox/__dcm_meeg/spm_fs_csd.py @@ -2,7 +2,7 @@ def spm_fs_csd(*args, **kwargs): - """ + r""" Spectral feature selection for a CSD DCM FORMAT [y] = spm_fs_csd(y,M) y - CSD @@ -14,9 +14,12 @@ def spm_fs_csd(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/dcm_meeg/spm_fs_csd.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/dcm_meeg/spm_fs_csd.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_fs_csd", *args, **kwargs) diff --git a/spm/__toolbox/__dcm_meeg/spm_fx_bgt.py b/spm/__toolbox/__dcm_meeg/spm_fx_bgt.py index 849ff2d8..7d90ba98 100644 --- a/spm/__toolbox/__dcm_meeg/spm_fx_bgt.py +++ b/spm/__toolbox/__dcm_meeg/spm_fx_bgt.py @@ -2,7 +2,7 @@ def spm_fx_bgt(*args, **kwargs): - """ + r""" State equations for a neural mass model of the basal ganglia & thalamus [striatum, gpe, stn, gpi, and thalamus] as a single source (no extrinsic connections) @@ -26,9 +26,12 @@ def spm_fx_bgt(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/dcm_meeg/spm_fx_bgt.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/dcm_meeg/spm_fx_bgt.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_fx_bgt", *args, **kwargs) diff --git a/spm/__toolbox/__dcm_meeg/spm_fx_cmc.py b/spm/__toolbox/__dcm_meeg/spm_fx_cmc.py index d43a0247..04910a10 100644 --- a/spm/__toolbox/__dcm_meeg/spm_fx_cmc.py +++ b/spm/__toolbox/__dcm_meeg/spm_fx_cmc.py @@ -2,7 +2,7 @@ def spm_fx_cmc(*args, **kwargs): - """ + r""" State equations for a neural mass model (canonical microcircuit) FORMAT [f,J,D] = spm_fx_cmc(x,u,P,M) FORMAT [f,J] = spm_fx_cmc(x,u,P,M) @@ -36,9 +36,12 @@ def spm_fx_cmc(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/dcm_meeg/spm_fx_cmc.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/dcm_meeg/spm_fx_cmc.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_fx_cmc", *args, **kwargs) diff --git a/spm/__toolbox/__dcm_meeg/spm_fx_cmc_2014.py b/spm/__toolbox/__dcm_meeg/spm_fx_cmc_2014.py index fe648294..65994a89 100644 --- a/spm/__toolbox/__dcm_meeg/spm_fx_cmc_2014.py +++ b/spm/__toolbox/__dcm_meeg/spm_fx_cmc_2014.py @@ -2,7 +2,7 @@ def spm_fx_cmc_2014(*args, **kwargs): - """ + r""" State equations for a neural mass model (canonical microcircuit) FORMAT [f,J,D] = spm_fx_cmc(x,u,P,M) FORMAT [f,J] = spm_fx_cmc(x,u,P,M) @@ -36,9 +36,12 @@ def spm_fx_cmc_2014(*args, **kwargs): ___________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/dcm_meeg/spm_fx_cmc_2014.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/dcm_meeg/spm_fx_cmc_2014.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_fx_cmc_2014", *args, **kwargs) diff --git a/spm/__toolbox/__dcm_meeg/spm_fx_cmc_tfm.py b/spm/__toolbox/__dcm_meeg/spm_fx_cmc_tfm.py index a24e9cdd..723c9c71 100644 --- a/spm/__toolbox/__dcm_meeg/spm_fx_cmc_tfm.py +++ b/spm/__toolbox/__dcm_meeg/spm_fx_cmc_tfm.py @@ -2,7 +2,7 @@ def spm_fx_cmc_tfm(*args, **kwargs): - """ + r""" State equations for a neural mass model (canonical microcircuit) FORMAT [f,J,D] = spm_fx_cmc_tfm(x,u,P,M) FORMAT [f,J] = spm_fx_cmc_tfm(x,u,P,M) @@ -43,9 +43,12 @@ def spm_fx_cmc_tfm(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/dcm_meeg/spm_fx_cmc_tfm.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/dcm_meeg/spm_fx_cmc_tfm.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_fx_cmc_tfm", *args, **kwargs) diff --git a/spm/__toolbox/__dcm_meeg/spm_fx_cmm.py b/spm/__toolbox/__dcm_meeg/spm_fx_cmm.py index d1f3cc04..77bfb3d3 100644 --- a/spm/__toolbox/__dcm_meeg/spm_fx_cmm.py +++ b/spm/__toolbox/__dcm_meeg/spm_fx_cmm.py @@ -2,7 +2,7 @@ def spm_fx_cmm(*args, **kwargs): - """ + r""" State equations for canonical neural-mass and mean-field models FORMAT [f,J,Q] = spm_fx_cmm(x,u,P,M) @@ -48,9 +48,12 @@ def spm_fx_cmm(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/dcm_meeg/spm_fx_cmm.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/dcm_meeg/spm_fx_cmm.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_fx_cmm", *args, **kwargs) diff --git a/spm/__toolbox/__dcm_meeg/spm_fx_cmm_NMDA.py b/spm/__toolbox/__dcm_meeg/spm_fx_cmm_NMDA.py index 90de9165..ceca9a2f 100644 --- a/spm/__toolbox/__dcm_meeg/spm_fx_cmm_NMDA.py +++ b/spm/__toolbox/__dcm_meeg/spm_fx_cmm_NMDA.py @@ -2,7 +2,7 @@ def spm_fx_cmm_NMDA(*args, **kwargs): - """ + r""" State equations for canonical neural-mass and mean-field models FORMAT [f,J,Q] = spm_fx_cmm(x,u,P,M) @@ -48,9 +48,12 @@ def spm_fx_cmm_NMDA(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/dcm_meeg/spm_fx_cmm_NMDA.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/dcm_meeg/spm_fx_cmm_NMDA.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_fx_cmm_NMDA", *args, **kwargs) diff --git a/spm/__toolbox/__dcm_meeg/spm_fx_erp.py b/spm/__toolbox/__dcm_meeg/spm_fx_erp.py index c8dee39d..304e7653 100644 --- a/spm/__toolbox/__dcm_meeg/spm_fx_erp.py +++ b/spm/__toolbox/__dcm_meeg/spm_fx_erp.py @@ -2,7 +2,7 @@ def spm_fx_erp(*args, **kwargs): - """ + r""" State equations for a neural mass model of erps FORMAT [f,J,D] = spm_fx_erp(x,u,P,M) FORMAT [f,J] = spm_fx_erp(x,u,P,M) @@ -38,9 +38,12 @@ def spm_fx_erp(*args, **kwargs): ___________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/dcm_meeg/spm_fx_erp.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/dcm_meeg/spm_fx_erp.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_fx_erp", *args, **kwargs) diff --git a/spm/__toolbox/__dcm_meeg/spm_fx_gen.py b/spm/__toolbox/__dcm_meeg/spm_fx_gen.py index b3971524..8b73a0a9 100644 --- a/spm/__toolbox/__dcm_meeg/spm_fx_gen.py +++ b/spm/__toolbox/__dcm_meeg/spm_fx_gen.py @@ -2,7 +2,7 @@ def spm_fx_gen(*args, **kwargs): - """ + r""" Generic state equations for a neural mass models FORMAT [f,J,D] = spm_fx_gen(x,u,P,M) FORMAT [f,J] = spm_fx_gen(x,u,P,M) @@ -43,9 +43,12 @@ def spm_fx_gen(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/dcm_meeg/spm_fx_gen.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/dcm_meeg/spm_fx_gen.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_fx_gen", *args, **kwargs) diff --git a/spm/__toolbox/__dcm_meeg/spm_fx_ind.py b/spm/__toolbox/__dcm_meeg/spm_fx_ind.py index c406e572..e89ff915 100644 --- a/spm/__toolbox/__dcm_meeg/spm_fx_ind.py +++ b/spm/__toolbox/__dcm_meeg/spm_fx_ind.py @@ -2,7 +2,7 @@ def spm_fx_ind(*args, **kwargs): - """ + r""" State equations for a neural mass model of erps FORMAT [f,J] = spm_fx_erp(x,u,P,M) x(i,j) - power in the i-th region and j-th frequency mode @@ -15,9 +15,12 @@ def spm_fx_ind(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/dcm_meeg/spm_fx_ind.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/dcm_meeg/spm_fx_ind.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_fx_ind", *args, **kwargs) diff --git a/spm/__toolbox/__dcm_meeg/spm_fx_mfm.py b/spm/__toolbox/__dcm_meeg/spm_fx_mfm.py index 8255848d..d3475d97 100644 --- a/spm/__toolbox/__dcm_meeg/spm_fx_mfm.py +++ b/spm/__toolbox/__dcm_meeg/spm_fx_mfm.py @@ -2,7 +2,7 @@ def spm_fx_mfm(*args, **kwargs): - """ + r""" State equations for neural-mass and mean-field models FORMAT [f,J,Q] = spm_fx_mfm(x,u,P,M) @@ -49,9 +49,12 @@ def spm_fx_mfm(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/dcm_meeg/spm_fx_mfm.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/dcm_meeg/spm_fx_mfm.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_fx_mfm", *args, **kwargs) diff --git a/spm/__toolbox/__dcm_meeg/spm_fx_mfm_D.py b/spm/__toolbox/__dcm_meeg/spm_fx_mfm_D.py index a1094a06..96425b67 100644 --- a/spm/__toolbox/__dcm_meeg/spm_fx_mfm_D.py +++ b/spm/__toolbox/__dcm_meeg/spm_fx_mfm_D.py @@ -2,7 +2,7 @@ def spm_fx_mfm_D(*args, **kwargs): - """ + r""" State equations for neural-mass and mean-field models (delay version) FORMAT [f,dfdx,dfdu,dfdxdu] = spm_fx_mfm(x,u,P,M) @@ -40,9 +40,12 @@ def spm_fx_mfm_D(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/dcm_meeg/spm_fx_mfm_D.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/dcm_meeg/spm_fx_mfm_D.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_fx_mfm_D", *args, **kwargs) diff --git a/spm/__toolbox/__dcm_meeg/spm_fx_mmc.py b/spm/__toolbox/__dcm_meeg/spm_fx_mmc.py index 09dee3c4..e5c9e723 100644 --- a/spm/__toolbox/__dcm_meeg/spm_fx_mmc.py +++ b/spm/__toolbox/__dcm_meeg/spm_fx_mmc.py @@ -2,7 +2,7 @@ def spm_fx_mmc(*args, **kwargs): - """ + r""" State equations for a neural mass model of motor cortex Bhatt et al. 2016 Neuroimage @@ -35,9 +35,12 @@ def spm_fx_mmc(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/dcm_meeg/spm_fx_mmc.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/dcm_meeg/spm_fx_mmc.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_fx_mmc", *args, **kwargs) diff --git a/spm/__toolbox/__dcm_meeg/spm_fx_nmda.py b/spm/__toolbox/__dcm_meeg/spm_fx_nmda.py index 2beb27e4..045ee286 100644 --- a/spm/__toolbox/__dcm_meeg/spm_fx_nmda.py +++ b/spm/__toolbox/__dcm_meeg/spm_fx_nmda.py @@ -2,7 +2,7 @@ def spm_fx_nmda(*args, **kwargs): - """ + r""" State equations for neural-mass and mean-field models FORMAT [f,J,Q] = spm_fx_nmda(x,u,P,M) @@ -49,9 +49,12 @@ def spm_fx_nmda(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/dcm_meeg/spm_fx_nmda.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/dcm_meeg/spm_fx_nmda.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_fx_nmda", *args, **kwargs) diff --git a/spm/__toolbox/__dcm_meeg/spm_fx_null.py b/spm/__toolbox/__dcm_meeg/spm_fx_null.py index e8e2d65e..4d96d5d7 100644 --- a/spm/__toolbox/__dcm_meeg/spm_fx_null.py +++ b/spm/__toolbox/__dcm_meeg/spm_fx_null.py @@ -2,7 +2,7 @@ def spm_fx_null(*args, **kwargs): - """ + r""" State equations for null (Jacobian) model FORMAT [f,J] = spm_fx_null(x,u,P,M) @@ -16,9 +16,12 @@ def spm_fx_null(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/dcm_meeg/spm_fx_null.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/dcm_meeg/spm_fx_null.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_fx_null", *args, **kwargs) diff --git a/spm/__toolbox/__dcm_meeg/spm_fx_phase.py b/spm/__toolbox/__dcm_meeg/spm_fx_phase.py index d9ebc792..9da30499 100644 --- a/spm/__toolbox/__dcm_meeg/spm_fx_phase.py +++ b/spm/__toolbox/__dcm_meeg/spm_fx_phase.py @@ -2,7 +2,7 @@ def spm_fx_phase(*args, **kwargs): - """ + r""" State equation for a phase-coupled oscillator FORMAT [f,J] = spm_fx_phase (phi,u,P,M) @@ -16,9 +16,12 @@ def spm_fx_phase(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/dcm_meeg/spm_fx_phase.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/dcm_meeg/spm_fx_phase.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_fx_phase", *args, **kwargs) diff --git a/spm/__toolbox/__dcm_meeg/spm_fx_sep.py b/spm/__toolbox/__dcm_meeg/spm_fx_sep.py index 24c6a2a6..be90c9e3 100644 --- a/spm/__toolbox/__dcm_meeg/spm_fx_sep.py +++ b/spm/__toolbox/__dcm_meeg/spm_fx_sep.py @@ -2,7 +2,7 @@ def spm_fx_sep(*args, **kwargs): - """ + r""" State equations for a neural mass model of erps FORMAT [f,J,D] = spm_fx_sep(x,u,P,M) FORMAT [f,J] = spm_fx_sep(x,u,P,M) @@ -40,9 +40,12 @@ def spm_fx_sep(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/dcm_meeg/spm_fx_sep.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/dcm_meeg/spm_fx_sep.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_fx_sep", *args, **kwargs) diff --git a/spm/__toolbox/__dcm_meeg/spm_fx_tfm.py b/spm/__toolbox/__dcm_meeg/spm_fx_tfm.py index 6ad4de9a..824c425f 100644 --- a/spm/__toolbox/__dcm_meeg/spm_fx_tfm.py +++ b/spm/__toolbox/__dcm_meeg/spm_fx_tfm.py @@ -2,7 +2,7 @@ def spm_fx_tfm(*args, **kwargs): - """ + r""" state equations - time-frequency model with state-dependent parameters FORMAT [f,J,D] = spm_fx_tfm(x,u,P,M) x - hidden states @@ -23,9 +23,12 @@ def spm_fx_tfm(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/dcm_meeg/spm_fx_tfm.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/dcm_meeg/spm_fx_tfm.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_fx_tfm", *args, **kwargs) diff --git a/spm/__toolbox/__dcm_meeg/spm_fx_tfm_P.py b/spm/__toolbox/__dcm_meeg/spm_fx_tfm_P.py index 0618ecc4..fa90393e 100644 --- a/spm/__toolbox/__dcm_meeg/spm_fx_tfm_P.py +++ b/spm/__toolbox/__dcm_meeg/spm_fx_tfm_P.py @@ -2,7 +2,7 @@ def spm_fx_tfm_P(*args, **kwargs): - """ + r""" Exogenous input and input dependent parameters FORMAT [u,P] = spm_fx_tfm_P(u,P) @@ -21,9 +21,12 @@ def spm_fx_tfm_P(*args, **kwargs): ___________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/dcm_meeg/spm_fx_tfm_P.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/dcm_meeg/spm_fx_tfm_P.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_fx_tfm_P", *args, **kwargs) diff --git a/spm/__toolbox/__dcm_meeg/spm_fy_erp.py b/spm/__toolbox/__dcm_meeg/spm_fy_erp.py index 2229daa7..b68d4b8d 100644 --- a/spm/__toolbox/__dcm_meeg/spm_fy_erp.py +++ b/spm/__toolbox/__dcm_meeg/spm_fy_erp.py @@ -2,16 +2,19 @@ def spm_fy_erp(*args, **kwargs): - """ + r""" Feature selection for erp models FORMAT f = spm_fy_erp(y,M) f = y*M.U; __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/dcm_meeg/spm_fy_erp.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/dcm_meeg/spm_fy_erp.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_fy_erp", *args, **kwargs) diff --git a/spm/__toolbox/__dcm_meeg/spm_gen_Q.py b/spm/__toolbox/__dcm_meeg/spm_gen_Q.py index 820a8f7d..1a9e4718 100644 --- a/spm/__toolbox/__dcm_meeg/spm_gen_Q.py +++ b/spm/__toolbox/__dcm_meeg/spm_gen_Q.py @@ -2,7 +2,7 @@ def spm_gen_Q(*args, **kwargs): - """ + r""" Helper routine for spm_gen routines FORMAT [Q] = spm_gen_Q(P,X) @@ -21,9 +21,12 @@ def spm_gen_Q(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/dcm_meeg/spm_gen_Q.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/dcm_meeg/spm_gen_Q.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_gen_Q", *args, **kwargs) diff --git a/spm/__toolbox/__dcm_meeg/spm_gen_erp.py b/spm/__toolbox/__dcm_meeg/spm_gen_erp.py index 2090868d..840c8bc7 100644 --- a/spm/__toolbox/__dcm_meeg/spm_gen_erp.py +++ b/spm/__toolbox/__dcm_meeg/spm_gen_erp.py @@ -2,7 +2,7 @@ def spm_gen_erp(*args, **kwargs): - """ + r""" Generate a prediction of trial-specific source activity FORMAT [y,pst] = spm_gen_erp(P,M,U) @@ -19,9 +19,12 @@ def spm_gen_erp(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/dcm_meeg/spm_gen_erp.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/dcm_meeg/spm_gen_erp.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_gen_erp", *args, **kwargs) diff --git a/spm/__toolbox/__dcm_meeg/spm_gen_ind.py b/spm/__toolbox/__dcm_meeg/spm_gen_ind.py index ea8cb6f9..d37b2a78 100644 --- a/spm/__toolbox/__dcm_meeg/spm_gen_ind.py +++ b/spm/__toolbox/__dcm_meeg/spm_gen_ind.py @@ -2,7 +2,7 @@ def spm_gen_ind(*args, **kwargs): - """ + r""" Generate a prediction of trial-specific induced activity FORMAT [y] = spm_gen_ind(P,M,U) @@ -15,9 +15,12 @@ def spm_gen_ind(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/dcm_meeg/spm_gen_ind.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/dcm_meeg/spm_gen_ind.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_gen_ind", *args, **kwargs) diff --git a/spm/__toolbox/__dcm_meeg/spm_gen_phase.py b/spm/__toolbox/__dcm_meeg/spm_gen_phase.py index 89a6baea..df8756b7 100644 --- a/spm/__toolbox/__dcm_meeg/spm_gen_phase.py +++ b/spm/__toolbox/__dcm_meeg/spm_gen_phase.py @@ -2,7 +2,7 @@ def spm_gen_phase(*args, **kwargs): - """ + r""" Generate state activities for trial-specific phase-coupled activity FORMAT [x] = spm_gen_phase(P,M,U) @@ -14,9 +14,12 @@ def spm_gen_phase(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/dcm_meeg/spm_gen_phase.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/dcm_meeg/spm_gen_phase.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_gen_phase", *args, **kwargs) diff --git a/spm/__toolbox/__dcm_meeg/spm_gx_erp.py b/spm/__toolbox/__dcm_meeg/spm_gx_erp.py index 591eb024..e35b2e72 100644 --- a/spm/__toolbox/__dcm_meeg/spm_gx_erp.py +++ b/spm/__toolbox/__dcm_meeg/spm_gx_erp.py @@ -2,7 +2,7 @@ def spm_gx_erp(*args, **kwargs): - """ + r""" Observer for a neural mass model of event related potentials FORMAT [y] = spm_gx_erp(x,u,P,M) x - state vector @@ -14,9 +14,12 @@ def spm_gx_erp(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/dcm_meeg/spm_gx_erp.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/dcm_meeg/spm_gx_erp.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_gx_erp", *args, **kwargs) diff --git a/spm/__toolbox/__dcm_meeg/spm_ind_priors.py b/spm/__toolbox/__dcm_meeg/spm_ind_priors.py index 61de3922..726e6367 100644 --- a/spm/__toolbox/__dcm_meeg/spm_ind_priors.py +++ b/spm/__toolbox/__dcm_meeg/spm_ind_priors.py @@ -2,7 +2,7 @@ def spm_ind_priors(*args, **kwargs): - """ + r""" Prior moments for a neural-mass model of induced responses FORMAT [pE,gE,pC,gC] = spm_ind_priors(A,B,C,dipfit,Nu,Nf) A{2},B{m},C - binary constraints on extrinsic connections @@ -30,9 +30,12 @@ def spm_ind_priors(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/dcm_meeg/spm_ind_priors.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/dcm_meeg/spm_ind_priors.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_ind_priors", *args, **kwargs) diff --git a/spm/__toolbox/__dcm_meeg/spm_int_U.py b/spm/__toolbox/__dcm_meeg/spm_int_U.py index 6dd15543..a53d7f83 100644 --- a/spm/__toolbox/__dcm_meeg/spm_int_U.py +++ b/spm/__toolbox/__dcm_meeg/spm_int_U.py @@ -2,7 +2,7 @@ def spm_int_U(*args, **kwargs): - """ + r""" Integrate a MIMO nonlinear system (fast integration for sparse inputs) FORMAT [y] = spm_int_U(P,M,U) P - model parameters @@ -67,9 +67,12 @@ def spm_int_U(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/dcm_meeg/spm_int_U.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/dcm_meeg/spm_int_U.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_int_U", *args, **kwargs) diff --git a/spm/__toolbox/__dcm_meeg/spm_lx_dem.py b/spm/__toolbox/__dcm_meeg/spm_lx_dem.py index 7ba9517a..9552ccfd 100644 --- a/spm/__toolbox/__dcm_meeg/spm_lx_dem.py +++ b/spm/__toolbox/__dcm_meeg/spm_lx_dem.py @@ -2,7 +2,7 @@ def spm_lx_dem(*args, **kwargs): - """ + r""" Observer matrix for a neural mass model of erps: y = G*x FORMAT [G] = spm_lx_dem(P,M) x - state vector @@ -16,9 +16,12 @@ def spm_lx_dem(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/dcm_meeg/spm_lx_dem.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/dcm_meeg/spm_lx_dem.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_lx_dem", *args, **kwargs) diff --git a/spm/__toolbox/__dcm_meeg/spm_lx_erp.py b/spm/__toolbox/__dcm_meeg/spm_lx_erp.py index 08f9092c..2689a9ea 100644 --- a/spm/__toolbox/__dcm_meeg/spm_lx_erp.py +++ b/spm/__toolbox/__dcm_meeg/spm_lx_erp.py @@ -2,7 +2,7 @@ def spm_lx_erp(*args, **kwargs): - """ + r""" Observer matrix for a neural mass model: y = G*x FORMAT [G] = spm_lx_erp(P,dipfit) FORMAT [G] = spm_lx_erp(P,M) @@ -18,9 +18,12 @@ def spm_lx_erp(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/dcm_meeg/spm_lx_erp.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/dcm_meeg/spm_lx_erp.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_lx_erp", *args, **kwargs) diff --git a/spm/__toolbox/__dcm_meeg/spm_lx_ind.py b/spm/__toolbox/__dcm_meeg/spm_lx_ind.py index 8facc3a3..db3c8c65 100644 --- a/spm/__toolbox/__dcm_meeg/spm_lx_ind.py +++ b/spm/__toolbox/__dcm_meeg/spm_lx_ind.py @@ -2,7 +2,7 @@ def spm_lx_ind(*args, **kwargs): - """ + r""" Observer matrix for a DCM of induced responses: y = G*x FORMAT [G] = spm_lx_ind(P,M) x - state vector - running over sources and then frequencies @@ -15,9 +15,12 @@ def spm_lx_ind(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/dcm_meeg/spm_lx_ind.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/dcm_meeg/spm_lx_ind.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_lx_ind", *args, **kwargs) diff --git a/spm/__toolbox/__dcm_meeg/spm_lx_phase.py b/spm/__toolbox/__dcm_meeg/spm_lx_phase.py index 06632c90..b6b95c62 100644 --- a/spm/__toolbox/__dcm_meeg/spm_lx_phase.py +++ b/spm/__toolbox/__dcm_meeg/spm_lx_phase.py @@ -2,7 +2,7 @@ def spm_lx_phase(*args, **kwargs): - """ + r""" Observation function for phase-coupled oscillators FORMAT [G] = spm_lx_phase(P,M) @@ -10,9 +10,12 @@ def spm_lx_phase(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/dcm_meeg/spm_lx_phase.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/dcm_meeg/spm_lx_phase.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_lx_phase", *args, **kwargs) diff --git a/spm/__toolbox/__dcm_meeg/spm_mg_switch.py b/spm/__toolbox/__dcm_meeg/spm_mg_switch.py index 28f02983..5298033e 100644 --- a/spm/__toolbox/__dcm_meeg/spm_mg_switch.py +++ b/spm/__toolbox/__dcm_meeg/spm_mg_switch.py @@ -2,7 +2,7 @@ def spm_mg_switch(*args, **kwargs): - """ + r""" Switching output FORMAT s = spm_mg_switch(V) @@ -11,9 +11,12 @@ def spm_mg_switch(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/dcm_meeg/spm_mg_switch.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/dcm_meeg/spm_mg_switch.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_mg_switch", *args, **kwargs) diff --git a/spm/__toolbox/__dcm_meeg/spm_mmc_priors.py b/spm/__toolbox/__dcm_meeg/spm_mmc_priors.py index d6939638..d0dad142 100644 --- a/spm/__toolbox/__dcm_meeg/spm_mmc_priors.py +++ b/spm/__toolbox/__dcm_meeg/spm_mmc_priors.py @@ -2,7 +2,7 @@ def spm_mmc_priors(*args, **kwargs): - """ + r""" Prior moments for a canonical motor cortex microcircuit model FORMAT [E,V] = spm_mmc_priors(A,B,C) @@ -38,9 +38,12 @@ def spm_mmc_priors(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/dcm_meeg/spm_mmc_priors.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/dcm_meeg/spm_mmc_priors.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_mmc_priors", *args, **kwargs) diff --git a/spm/__toolbox/__dcm_meeg/spm_nfm_mtf.py b/spm/__toolbox/__dcm_meeg/spm_nfm_mtf.py index 56cfd763..fba7dbca 100644 --- a/spm/__toolbox/__dcm_meeg/spm_nfm_mtf.py +++ b/spm/__toolbox/__dcm_meeg/spm_nfm_mtf.py @@ -2,7 +2,7 @@ def spm_nfm_mtf(*args, **kwargs): - """ + r""" Spectral response of a NFM (transfer function x noise spectrum) FORMAT [y,w] = spm_nfm_mtf(P,M,U) @@ -17,9 +17,12 @@ def spm_nfm_mtf(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/dcm_meeg/spm_nfm_mtf.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/dcm_meeg/spm_nfm_mtf.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_nfm_mtf", *args, **kwargs) diff --git a/spm/__toolbox/__dcm_meeg/spm_nfm_priors.py b/spm/__toolbox/__dcm_meeg/spm_nfm_priors.py index 46710ec7..6c9ad14e 100644 --- a/spm/__toolbox/__dcm_meeg/spm_nfm_priors.py +++ b/spm/__toolbox/__dcm_meeg/spm_nfm_priors.py @@ -2,7 +2,7 @@ def spm_nfm_priors(*args, **kwargs): - """ + r""" Prior moments for a neural mass model of ERPs FORMAT [pE,pC] = spm_nfm_priors(A,B,C) @@ -48,9 +48,12 @@ def spm_nfm_priors(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/dcm_meeg/spm_nfm_priors.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/dcm_meeg/spm_nfm_priors.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_nfm_priors", *args, **kwargs) diff --git a/spm/__toolbox/__dcm_meeg/spm_nmm_priors.py b/spm/__toolbox/__dcm_meeg/spm_nmm_priors.py index d29bc9c0..a2a8ce6e 100644 --- a/spm/__toolbox/__dcm_meeg/spm_nmm_priors.py +++ b/spm/__toolbox/__dcm_meeg/spm_nmm_priors.py @@ -2,7 +2,7 @@ def spm_nmm_priors(*args, **kwargs): - """ + r""" Prior moments for a neural-mass model of ERPs FORMAT [pE,pC] = spm_nmm_priors(A,B,C) @@ -49,9 +49,12 @@ def spm_nmm_priors(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/dcm_meeg/spm_nmm_priors.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/dcm_meeg/spm_nmm_priors.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_nmm_priors", *args, **kwargs) diff --git a/spm/__toolbox/__dcm_meeg/spm_null_priors.py b/spm/__toolbox/__dcm_meeg/spm_null_priors.py index a8f79044..ce37bb98 100644 --- a/spm/__toolbox/__dcm_meeg/spm_null_priors.py +++ b/spm/__toolbox/__dcm_meeg/spm_null_priors.py @@ -2,7 +2,7 @@ def spm_null_priors(*args, **kwargs): - """ + r""" Prior moments for null (Jacobian) model FORMAT [pE,pC] = spm_null_priors(A,B,C) @@ -13,9 +13,12 @@ def spm_null_priors(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/dcm_meeg/spm_null_priors.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/dcm_meeg/spm_null_priors.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_null_priors", *args, **kwargs) diff --git a/spm/__toolbox/__dcm_meeg/spm_phase_priors.py b/spm/__toolbox/__dcm_meeg/spm_phase_priors.py index 1283d4af..535784e4 100644 --- a/spm/__toolbox/__dcm_meeg/spm_phase_priors.py +++ b/spm/__toolbox/__dcm_meeg/spm_phase_priors.py @@ -2,7 +2,7 @@ def spm_phase_priors(*args, **kwargs): - """ + r""" Prior moments of DCM for phase coupling FORMAT [pE,gE,pC,gC] = spm_phase_priors(DCM,fb,dipfit,freq_prior) @@ -26,9 +26,12 @@ def spm_phase_priors(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/dcm_meeg/spm_phase_priors.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/dcm_meeg/spm_phase_priors.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_phase_priors", *args, **kwargs) diff --git a/spm/__toolbox/__dcm_meeg/spm_ssr_priors.py b/spm/__toolbox/__dcm_meeg/spm_ssr_priors.py index 78aebb71..0495be04 100644 --- a/spm/__toolbox/__dcm_meeg/spm_ssr_priors.py +++ b/spm/__toolbox/__dcm_meeg/spm_ssr_priors.py @@ -2,7 +2,7 @@ def spm_ssr_priors(*args, **kwargs): - """ + r""" Augments prior moments of a neural mass model for CSD analyses FORMAT [pE,pC] = spm_ssr_priors(pE,pC) @@ -34,9 +34,12 @@ def spm_ssr_priors(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/dcm_meeg/spm_ssr_priors.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/dcm_meeg/spm_ssr_priors.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_ssr_priors", *args, **kwargs) diff --git a/spm/__toolbox/__dcm_meeg/spm_tfm_priors.py b/spm/__toolbox/__dcm_meeg/spm_tfm_priors.py index 37bd9df0..5611f004 100644 --- a/spm/__toolbox/__dcm_meeg/spm_tfm_priors.py +++ b/spm/__toolbox/__dcm_meeg/spm_tfm_priors.py @@ -2,7 +2,7 @@ def spm_tfm_priors(*args, **kwargs): - """ + r""" Prior moments for a canonical microcircuit model (with plasticity) FORMAT [pE,pC] = spm_tfm_priors(A,B,C) @@ -47,9 +47,12 @@ def spm_tfm_priors(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/dcm_meeg/spm_tfm_priors.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/dcm_meeg/spm_tfm_priors.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_tfm_priors", *args, **kwargs) diff --git a/spm/__toolbox/__dcm_meeg/spm_x_cmc.py b/spm/__toolbox/__dcm_meeg/spm_x_cmc.py index cfe0e23b..e25c2460 100644 --- a/spm/__toolbox/__dcm_meeg/spm_x_cmc.py +++ b/spm/__toolbox/__dcm_meeg/spm_x_cmc.py @@ -2,7 +2,7 @@ def spm_x_cmc(*args, **kwargs): - """ + r""" Initial state of a canonical microcircuit model FORMAT [x] = spm_x_cmc(P) P - parameters @@ -14,9 +14,12 @@ def spm_x_cmc(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/dcm_meeg/spm_x_cmc.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/dcm_meeg/spm_x_cmc.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_x_cmc", *args, **kwargs) diff --git a/spm/__toolbox/__dcm_meeg/spm_x_cmm.py b/spm/__toolbox/__dcm_meeg/spm_x_cmm.py index b4a1b118..f108406d 100644 --- a/spm/__toolbox/__dcm_meeg/spm_x_cmm.py +++ b/spm/__toolbox/__dcm_meeg/spm_x_cmm.py @@ -2,7 +2,7 @@ def spm_x_cmm(*args, **kwargs): - """ + r""" Initialise a state structure for a mean field model FORMAT [x,M] = spm_x_cmm(P) @@ -27,9 +27,12 @@ def spm_x_cmm(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/dcm_meeg/spm_x_cmm.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/dcm_meeg/spm_x_cmm.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_x_cmm", *args, **kwargs) diff --git a/spm/__toolbox/__dcm_meeg/spm_x_cmm_NMDA.py b/spm/__toolbox/__dcm_meeg/spm_x_cmm_NMDA.py index 9e797862..6bb678b7 100644 --- a/spm/__toolbox/__dcm_meeg/spm_x_cmm_NMDA.py +++ b/spm/__toolbox/__dcm_meeg/spm_x_cmm_NMDA.py @@ -2,7 +2,7 @@ def spm_x_cmm_NMDA(*args, **kwargs): - """ + r""" Initialise a state structure for a mean field model FORMAT [x,M] = spm_x_cmm(P) @@ -28,9 +28,12 @@ def spm_x_cmm_NMDA(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/dcm_meeg/spm_x_cmm_NMDA.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/dcm_meeg/spm_x_cmm_NMDA.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_x_cmm_NMDA", *args, **kwargs) diff --git a/spm/__toolbox/__dcm_meeg/spm_x_erp.py b/spm/__toolbox/__dcm_meeg/spm_x_erp.py index 779bf913..cafbbd2e 100644 --- a/spm/__toolbox/__dcm_meeg/spm_x_erp.py +++ b/spm/__toolbox/__dcm_meeg/spm_x_erp.py @@ -2,7 +2,7 @@ def spm_x_erp(*args, **kwargs): - """ + r""" Initial state of a neural mass model of erps FORMAT [x] = spm_x_erp(P) P - parameters @@ -14,9 +14,12 @@ def spm_x_erp(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/dcm_meeg/spm_x_erp.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/dcm_meeg/spm_x_erp.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_x_erp", *args, **kwargs) diff --git a/spm/__toolbox/__dcm_meeg/spm_x_lfp.py b/spm/__toolbox/__dcm_meeg/spm_x_lfp.py index 5dd72543..74980daf 100644 --- a/spm/__toolbox/__dcm_meeg/spm_x_lfp.py +++ b/spm/__toolbox/__dcm_meeg/spm_x_lfp.py @@ -2,7 +2,7 @@ def spm_x_lfp(*args, **kwargs): - """ + r""" Initial state of a neural mass model of erps FORMAT [x] = spm_x_lfp(P) P - parameters @@ -14,9 +14,12 @@ def spm_x_lfp(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/dcm_meeg/spm_x_lfp.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/dcm_meeg/spm_x_lfp.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_x_lfp", *args, **kwargs) diff --git a/spm/__toolbox/__dcm_meeg/spm_x_mfm.py b/spm/__toolbox/__dcm_meeg/spm_x_mfm.py index 74c06aeb..c4b6bc82 100644 --- a/spm/__toolbox/__dcm_meeg/spm_x_mfm.py +++ b/spm/__toolbox/__dcm_meeg/spm_x_mfm.py @@ -2,7 +2,7 @@ def spm_x_mfm(*args, **kwargs): - """ + r""" Initialise a state structure for a mean field model FORMAT [x,M] = spm_x_mfm(P) @@ -26,9 +26,12 @@ def spm_x_mfm(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/dcm_meeg/spm_x_mfm.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/dcm_meeg/spm_x_mfm.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_x_mfm", *args, **kwargs) diff --git a/spm/__toolbox/__dcm_meeg/spm_x_nmda.py b/spm/__toolbox/__dcm_meeg/spm_x_nmda.py index 7e540809..129be78c 100644 --- a/spm/__toolbox/__dcm_meeg/spm_x_nmda.py +++ b/spm/__toolbox/__dcm_meeg/spm_x_nmda.py @@ -2,7 +2,7 @@ def spm_x_nmda(*args, **kwargs): - """ + r""" Initialise a state structure for a mean field model FORMAT [x,M] = spm_x_nmda(P) @@ -27,9 +27,12 @@ def spm_x_nmda(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/dcm_meeg/spm_x_nmda.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/dcm_meeg/spm_x_nmda.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_x_nmda", *args, **kwargs) diff --git a/spm/__toolbox/__dcm_meeg/spm_x_nmm.py b/spm/__toolbox/__dcm_meeg/spm_x_nmm.py index c64d0dbe..33352439 100644 --- a/spm/__toolbox/__dcm_meeg/spm_x_nmm.py +++ b/spm/__toolbox/__dcm_meeg/spm_x_nmm.py @@ -2,7 +2,7 @@ def spm_x_nmm(*args, **kwargs): - """ + r""" Initialise a state structure for a mean field model FORMAT [x,M] = spm_x_nmm(P) @@ -26,9 +26,12 @@ def spm_x_nmm(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/dcm_meeg/spm_x_nmm.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/dcm_meeg/spm_x_nmm.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_x_nmm", *args, **kwargs) diff --git a/spm/__toolbox/__init__.py b/spm/__toolbox/__init__.py index 489759d4..11c6ede9 100644 --- a/spm/__toolbox/__init__.py +++ b/spm/__toolbox/__init__.py @@ -1,3 +1,21 @@ +from .__BSD import ( + parfor_progress, + spm_bsd, + spm_bsd_batch, + spm_bsd_csd, + spm_bsd_data, + spm_bsd_int, + spm_bsd_int_parfor, + spm_bsd_nlsi_GN, + spm_bsd_param2spec, + spm_bsd_priors, + spm_bsd_reduce, + spm_bsd_results, + spm_bsd_search, + spm_bsd_spec2param, + spm_dcm_compute_vfe, + tbx_cfg_bsd +) from .__DARTEL import ( dartel3, optimN, @@ -98,9 +116,15 @@ ) from .__DEM import ( ADEM_SHC_demo, + ADEM_cost, ADEM_cost_SHC, ADEM_cued_response, ADEM_eyeblink, + ADEM_intercept, + ADEM_intercept_I, + ADEM_intercept_II, + ADEM_intercept_III, + ADEM_intercept_IV, ADEM_learning, ADEM_lorenz, ADEM_lorenz_entropy, @@ -110,6 +134,7 @@ ADEM_observe, ADEM_occlusion, ADEM_occulomotor_delays, + ADEM_physics, ADEM_plaid, ADEM_pursuit, ADEM_reaching, @@ -135,10 +160,16 @@ DEMO_MDP_Understanding, DEMO_MDP_maze, DEMO_MDP_maze_X, + DEMO_MDP_maze_XXX, DEMO_MDP_questions, DEMO_MDP_voice, DEMO_SLR, DEMO_niche_construction, + DEM_Atari, + DEM_AtariI, + DEM_AtariII, + DEM_AtariIII, + DEM_AtariIV, DEM_CLIMATE_India, DEM_COVID, DEM_COVID_AGE, @@ -146,6 +177,7 @@ DEM_COVID_DASH, DEM_COVID_I, DEM_COVID_LTLA, + DEM_COVID_MASKS, DEM_COVID_S, DEM_COVID_T, DEM_COVID_UK, @@ -153,18 +185,30 @@ DEM_COVID_UTLA, DEM_COVID_WID, DEM_COVID_X, + DEM_Diabetes, DEM_Dispatches, DEM_FEP_Least_Action, DEM_FEP_Lorenz, + DEM_FIN, DEM_HB_and_LE, DEM_Immune, DEM_MDP_decision, + DEM_MNIST, + DEM_MNIST_RGM, + DEM_MNIST_compression, + DEM_MNIST_conv, + DEM_MNIST_mixture, + DEM_Pong, DEM_SARS, DEM_SARS_I, DEM_Stephen, + DEM_Tower, + DEM_Tower_of_Hanoi, DEM_birdsong, DEM_cells, DEM_cells_cells, + DEM_chaos_compression, + DEM_compression, DEM_coupled_oscillators, DEM_dSprites, DEM_demo, @@ -185,6 +229,7 @@ DEM_demo_MDP_DEM, DEM_demo_MDP_X, DEM_demo_MDP_XX, + DEM_demo_MDP_XXX, DEM_demo_MDP_fit, DEM_demo_MDP_fit_fields, DEM_demo_MDP_habits, @@ -226,33 +271,58 @@ DEM_demo_song_omission, DEM_demo_song_priors, DEM_demo_texture, + DEM_drone, + DEM_drone_V, + DEM_drone_VI, + DEM_drone_inspection, + DEM_drone_telemetry, + DEM_drone_vision, DEM_evidence_accumulation, + DEM_federation, DEM_get_faces, + DEM_greedy_MNIST, + DEM_image_compression, + DEM_laws, + DEM_masks_Cam, + DEM_metric_BMR, DEM_morphogenesis, + DEM_music_compression, + DEM_ness_Lap, DEM_path_integrals, + DEM_paths, DEM_psychophysics, + DEM_reasoning, + DEM_reverse_paths, DEM_self_entropy, - DEM_sharing, + DEM_sound_compression, DEM_spatial_deconvolution, DEM_surveillance, + DEM_swarm, + DEM_syntax, + DEM_thermostat, DEM_vaccination, + DEM_video_compression, DFP_demo_double_well, DFP_demo_hdm, FEP_MB_demo, FEP_Manifold, + FEP_biology, FEP_fluctuations, FEP_information_length, FEP_lorenz_surprise, FEP_physics, FEP_self_entropy, + FIN_TEST, KLDemo, MDP_DEM_Mixed_Models_Movement, MDP_DEM_Oculomotion_Pharma_demo, MDP_DEM_Oculomotion_demo, MDP_Heart_Beat, Markov_blankets_and_NESS, + breakout, expmall, ndstest, + spm_ADEM_UNITY, spm_ADEM_cue_rt, spm_ADEM_set_rt, spm_CLIMATE_ci, @@ -279,16 +349,20 @@ spm_COVID_table, spm_DEM_ButtonDownFcn, spm_DEM_EEG, + spm_DEM_G, spm_DEM_M, spm_DEM_MEG, spm_DEM_T, spm_DEM_basis, + spm_DEM_embed_path, spm_DEM_movie, spm_DEM_play, spm_DEM_play_song, spm_DEM_qC, spm_Lap2Lorenz, + spm_MB_structure_learning, spm_MDP, + spm_MDP_BMR, spm_MDP_DEM, spm_MDP_DP, spm_MDP_F, @@ -304,21 +378,48 @@ spm_MDP_VB_sleep, spm_MDP_VB_trial, spm_MDP_VB_update, + spm_MDP_arcade, + spm_MDP_breakout, spm_MDP_check, + spm_MDP_checkX, + spm_MDP_check_labels, + spm_MDP_conv, spm_MDP_factor_graph, spm_MDP_game, spm_MDP_game_KL, spm_MDP_game_optimism, + spm_MDP_generate, spm_MDP_link, spm_MDP_log_evidence, spm_MDP_mountain_car, spm_MDP_offer, + spm_MDP_params, spm_MDP_plot, + spm_MDP_pong, + spm_MDP_rules, spm_MDP_size, spm_MDP_structure_learning, + spm_MDP_structure_teaching, spm_MDP_trust, spm_MDP_urn, spm_NESS_constraints, + spm_NESS_forecast, + spm_NESS_forecasting, + spm_NESS_forecastness, + spm_O2rgb, + spm_O2wav, + spm_Q2mdp, + spm_RDP_MI, + spm_RDP_O, + spm_RDP_basin, + spm_RDP_compress, + spm_RDP_ness, + spm_RDP_params, + spm_RDP_prune, + spm_RDP_radius, + spm_RDP_reduce, + spm_RDP_sort, + spm_RDP_update, spm_SARS_ci, spm_SARS_gen, spm_SARS_plot, @@ -326,12 +427,17 @@ spm_SARS_priors_B, spm_SCK, spm_SHC_fx, + spm_VBX, + spm_VB_XXX, + spm_check_edges, + spm_clear, spm_cornsweet, spm_cost_SHC_fx, spm_cost_SHC_fxa, spm_cost_SHC_path, spm_cost_fx, spm_cost_fxa, + spm_daisy_chain, spm_dem_ERP, spm_dem_cue_movie, spm_dem_initialise, @@ -346,6 +452,13 @@ spm_dem_search_trajectory, spm_dem_set_movie, spm_diff_all, + spm_dir_disentangle, + spm_dir_orbits, + spm_dir_orbits3, + spm_dir_reduce, + spm_edges, + spm_fast_structure_learning, + spm_faster_structure_learning, spm_find_internal, spm_fx_Gabor, spm_fx_Lagrangian, @@ -364,6 +477,9 @@ spm_fx_mountaincar, spm_fx_mountaincar_Q, spm_gamma_log_evidence, + spm_get_episodes, + spm_get_outcomes, + spm_get_sequences, spm_gx_Gabor, spm_gx_SHC, spm_gx_adem_cue, @@ -379,10 +495,15 @@ spm_gx_hdm_sck, spm_ho_gm, spm_ho_poly, + spm_i2p, spm_immune, spm_immune_gen, spm_immune_plot, spm_immune_priors, + spm_imshow, + spm_imwt, + spm_index, + spm_information_distance, spm_mc_fx, spm_mc_fx_1, spm_mc_fx_2, @@ -393,12 +514,32 @@ spm_mc_fxa_5, spm_mc_loss_C, spm_mc_loss_G, + spm_mdp2rdp, + spm_mdp2rdp_a, + spm_mdp_a2A, + spm_mdp_compress, + spm_merge_structure_learning, spm_meta_model, spm_mountaincar_Q, spm_mountaincar_fun, spm_mountaincar_movie, spm_multinomial_log_evidence, + spm_mwt, + spm_parents, + spm_portfolio, + spm_rdp2mdp, + spm_resolve, + spm_rgb2O, + spm_rgm_group, spm_salience_map, + spm_set_costs, + spm_set_goals, + spm_show_RGB, + spm_show_RGM, + spm_show_WAV, + spm_sub2ind, + spm_tile, + spm_unique, spm_voice, spm_voice_FS, spm_voice_P300, @@ -425,7 +566,9 @@ spm_voice_segmentation, spm_voice_speak, spm_voice_test, - spm_voice_warp + spm_voice_warp, + spm_wav2O, + spm_wavshow ) from .__FieldMap import ( FieldMap, @@ -449,7 +592,6 @@ pm_pad, pm_restore_ramp, pm_seed, - pm_segment, pm_smooth_phasemap, pm_unwrap, tbx_cfg_fieldmap @@ -508,6 +650,7 @@ spm_eeg_inv_optireg, spm_eeg_megheadloc, spm_eeg_recode_epoched_ctf, + spm_eeg_remove_dbs_artefact, spm_eeg_remove_jumps, spm_eeg_remove_spikes, spm_eeg_reref_eeg, @@ -516,6 +659,8 @@ spm_eeg_transform_cap, spm_eeg_var_measures, spm_mesh_pack_points, + spm_opm_apply_calibration, + spm_opm_calibrate_from_coils, spm_opm_create, spm_opm_epoch_trigger, spm_opm_headmodel, @@ -526,6 +671,7 @@ spm_opm_read_lvm, spm_opm_rpsd, spm_opm_sim, + spm_opm_ssp, spm_opm_synth_gradiometer, spm_opm_vslm ) @@ -650,6 +796,11 @@ spm_TVdenoise2, spm_TVdenoise_config, spm_dctdst, + spm_depth, + spm_distance3, + spm_est_vdm_from_phase, + spm_julia, + spm_mask_from_segments, spm_run_denoise, spm_scope, spm_scope_config, @@ -657,8 +808,9 @@ spm_slice2vol_config, spm_slice2vol_estimate, spm_slice2vol_reslice, - spm_topup, - spm_topup_config, + spm_smooth_extrap, + spm_thin, + spm_topo_lookup, tbx_cfg_spatial ) from .__TSSS import ( @@ -993,6 +1145,22 @@ __all__ = [ + "parfor_progress", + "spm_bsd", + "spm_bsd_batch", + "spm_bsd_csd", + "spm_bsd_data", + "spm_bsd_int", + "spm_bsd_int_parfor", + "spm_bsd_nlsi_GN", + "spm_bsd_param2spec", + "spm_bsd_priors", + "spm_bsd_reduce", + "spm_bsd_results", + "spm_bsd_search", + "spm_bsd_spec2param", + "spm_dcm_compute_vfe", + "tbx_cfg_bsd", "dartel3", "optimN", "optimNn", @@ -1088,9 +1256,15 @@ "spm_beamforming", "tbx_cfg_bf", "ADEM_SHC_demo", + "ADEM_cost", "ADEM_cost_SHC", "ADEM_cued_response", "ADEM_eyeblink", + "ADEM_intercept", + "ADEM_intercept_I", + "ADEM_intercept_II", + "ADEM_intercept_III", + "ADEM_intercept_IV", "ADEM_learning", "ADEM_lorenz", "ADEM_lorenz_entropy", @@ -1100,6 +1274,7 @@ "ADEM_observe", "ADEM_occlusion", "ADEM_occulomotor_delays", + "ADEM_physics", "ADEM_plaid", "ADEM_pursuit", "ADEM_reaching", @@ -1125,10 +1300,16 @@ "DEMO_MDP_Understanding", "DEMO_MDP_maze", "DEMO_MDP_maze_X", + "DEMO_MDP_maze_XXX", "DEMO_MDP_questions", "DEMO_MDP_voice", "DEMO_SLR", "DEMO_niche_construction", + "DEM_Atari", + "DEM_AtariI", + "DEM_AtariII", + "DEM_AtariIII", + "DEM_AtariIV", "DEM_CLIMATE_India", "DEM_COVID", "DEM_COVID_AGE", @@ -1136,6 +1317,7 @@ "DEM_COVID_DASH", "DEM_COVID_I", "DEM_COVID_LTLA", + "DEM_COVID_MASKS", "DEM_COVID_S", "DEM_COVID_T", "DEM_COVID_UK", @@ -1143,18 +1325,30 @@ "DEM_COVID_UTLA", "DEM_COVID_WID", "DEM_COVID_X", + "DEM_Diabetes", "DEM_Dispatches", "DEM_FEP_Least_Action", "DEM_FEP_Lorenz", + "DEM_FIN", "DEM_HB_and_LE", "DEM_Immune", "DEM_MDP_decision", + "DEM_MNIST", + "DEM_MNIST_RGM", + "DEM_MNIST_compression", + "DEM_MNIST_conv", + "DEM_MNIST_mixture", + "DEM_Pong", "DEM_SARS", "DEM_SARS_I", "DEM_Stephen", + "DEM_Tower", + "DEM_Tower_of_Hanoi", "DEM_birdsong", "DEM_cells", "DEM_cells_cells", + "DEM_chaos_compression", + "DEM_compression", "DEM_coupled_oscillators", "DEM_dSprites", "DEM_demo", @@ -1175,6 +1369,7 @@ "DEM_demo_MDP_DEM", "DEM_demo_MDP_X", "DEM_demo_MDP_XX", + "DEM_demo_MDP_XXX", "DEM_demo_MDP_fit", "DEM_demo_MDP_fit_fields", "DEM_demo_MDP_habits", @@ -1216,33 +1411,58 @@ "DEM_demo_song_omission", "DEM_demo_song_priors", "DEM_demo_texture", + "DEM_drone", + "DEM_drone_V", + "DEM_drone_VI", + "DEM_drone_inspection", + "DEM_drone_telemetry", + "DEM_drone_vision", "DEM_evidence_accumulation", + "DEM_federation", "DEM_get_faces", + "DEM_greedy_MNIST", + "DEM_image_compression", + "DEM_laws", + "DEM_masks_Cam", + "DEM_metric_BMR", "DEM_morphogenesis", + "DEM_music_compression", + "DEM_ness_Lap", "DEM_path_integrals", + "DEM_paths", "DEM_psychophysics", + "DEM_reasoning", + "DEM_reverse_paths", "DEM_self_entropy", - "DEM_sharing", + "DEM_sound_compression", "DEM_spatial_deconvolution", "DEM_surveillance", + "DEM_swarm", + "DEM_syntax", + "DEM_thermostat", "DEM_vaccination", + "DEM_video_compression", "DFP_demo_double_well", "DFP_demo_hdm", "FEP_MB_demo", "FEP_Manifold", + "FEP_biology", "FEP_fluctuations", "FEP_information_length", "FEP_lorenz_surprise", "FEP_physics", "FEP_self_entropy", + "FIN_TEST", "KLDemo", "MDP_DEM_Mixed_Models_Movement", "MDP_DEM_Oculomotion_Pharma_demo", "MDP_DEM_Oculomotion_demo", "MDP_Heart_Beat", "Markov_blankets_and_NESS", + "breakout", "expmall", "ndstest", + "spm_ADEM_UNITY", "spm_ADEM_cue_rt", "spm_ADEM_set_rt", "spm_CLIMATE_ci", @@ -1269,16 +1489,20 @@ "spm_COVID_table", "spm_DEM_ButtonDownFcn", "spm_DEM_EEG", + "spm_DEM_G", "spm_DEM_M", "spm_DEM_MEG", "spm_DEM_T", "spm_DEM_basis", + "spm_DEM_embed_path", "spm_DEM_movie", "spm_DEM_play", "spm_DEM_play_song", "spm_DEM_qC", "spm_Lap2Lorenz", + "spm_MB_structure_learning", "spm_MDP", + "spm_MDP_BMR", "spm_MDP_DEM", "spm_MDP_DP", "spm_MDP_F", @@ -1294,21 +1518,48 @@ "spm_MDP_VB_sleep", "spm_MDP_VB_trial", "spm_MDP_VB_update", + "spm_MDP_arcade", + "spm_MDP_breakout", "spm_MDP_check", + "spm_MDP_checkX", + "spm_MDP_check_labels", + "spm_MDP_conv", "spm_MDP_factor_graph", "spm_MDP_game", "spm_MDP_game_KL", "spm_MDP_game_optimism", + "spm_MDP_generate", "spm_MDP_link", "spm_MDP_log_evidence", "spm_MDP_mountain_car", "spm_MDP_offer", + "spm_MDP_params", "spm_MDP_plot", + "spm_MDP_pong", + "spm_MDP_rules", "spm_MDP_size", "spm_MDP_structure_learning", + "spm_MDP_structure_teaching", "spm_MDP_trust", "spm_MDP_urn", "spm_NESS_constraints", + "spm_NESS_forecast", + "spm_NESS_forecasting", + "spm_NESS_forecastness", + "spm_O2rgb", + "spm_O2wav", + "spm_Q2mdp", + "spm_RDP_MI", + "spm_RDP_O", + "spm_RDP_basin", + "spm_RDP_compress", + "spm_RDP_ness", + "spm_RDP_params", + "spm_RDP_prune", + "spm_RDP_radius", + "spm_RDP_reduce", + "spm_RDP_sort", + "spm_RDP_update", "spm_SARS_ci", "spm_SARS_gen", "spm_SARS_plot", @@ -1316,12 +1567,17 @@ "spm_SARS_priors_B", "spm_SCK", "spm_SHC_fx", + "spm_VBX", + "spm_VB_XXX", + "spm_check_edges", + "spm_clear", "spm_cornsweet", "spm_cost_SHC_fx", "spm_cost_SHC_fxa", "spm_cost_SHC_path", "spm_cost_fx", "spm_cost_fxa", + "spm_daisy_chain", "spm_dem_ERP", "spm_dem_cue_movie", "spm_dem_initialise", @@ -1336,6 +1592,13 @@ "spm_dem_search_trajectory", "spm_dem_set_movie", "spm_diff_all", + "spm_dir_disentangle", + "spm_dir_orbits", + "spm_dir_orbits3", + "spm_dir_reduce", + "spm_edges", + "spm_fast_structure_learning", + "spm_faster_structure_learning", "spm_find_internal", "spm_fx_Gabor", "spm_fx_Lagrangian", @@ -1354,6 +1617,9 @@ "spm_fx_mountaincar", "spm_fx_mountaincar_Q", "spm_gamma_log_evidence", + "spm_get_episodes", + "spm_get_outcomes", + "spm_get_sequences", "spm_gx_Gabor", "spm_gx_SHC", "spm_gx_adem_cue", @@ -1369,10 +1635,15 @@ "spm_gx_hdm_sck", "spm_ho_gm", "spm_ho_poly", + "spm_i2p", "spm_immune", "spm_immune_gen", "spm_immune_plot", "spm_immune_priors", + "spm_imshow", + "spm_imwt", + "spm_index", + "spm_information_distance", "spm_mc_fx", "spm_mc_fx_1", "spm_mc_fx_2", @@ -1383,12 +1654,32 @@ "spm_mc_fxa_5", "spm_mc_loss_C", "spm_mc_loss_G", + "spm_mdp2rdp", + "spm_mdp2rdp_a", + "spm_mdp_a2A", + "spm_mdp_compress", + "spm_merge_structure_learning", "spm_meta_model", "spm_mountaincar_Q", "spm_mountaincar_fun", "spm_mountaincar_movie", "spm_multinomial_log_evidence", + "spm_mwt", + "spm_parents", + "spm_portfolio", + "spm_rdp2mdp", + "spm_resolve", + "spm_rgb2O", + "spm_rgm_group", "spm_salience_map", + "spm_set_costs", + "spm_set_goals", + "spm_show_RGB", + "spm_show_RGM", + "spm_show_WAV", + "spm_sub2ind", + "spm_tile", + "spm_unique", "spm_voice", "spm_voice_FS", "spm_voice_P300", @@ -1416,6 +1707,8 @@ "spm_voice_speak", "spm_voice_test", "spm_voice_warp", + "spm_wav2O", + "spm_wavshow", "FieldMap", "FieldMap_Run", "FieldMap_applyvdm", @@ -1437,7 +1730,6 @@ "pm_pad", "pm_restore_ramp", "pm_seed", - "pm_segment", "pm_smooth_phasemap", "pm_unwrap", "tbx_cfg_fieldmap", @@ -1490,6 +1782,7 @@ "spm_eeg_inv_optireg", "spm_eeg_megheadloc", "spm_eeg_recode_epoched_ctf", + "spm_eeg_remove_dbs_artefact", "spm_eeg_remove_jumps", "spm_eeg_remove_spikes", "spm_eeg_reref_eeg", @@ -1498,6 +1791,8 @@ "spm_eeg_transform_cap", "spm_eeg_var_measures", "spm_mesh_pack_points", + "spm_opm_apply_calibration", + "spm_opm_calibrate_from_coils", "spm_opm_create", "spm_opm_epoch_trigger", "spm_opm_headmodel", @@ -1508,6 +1803,7 @@ "spm_opm_read_lvm", "spm_opm_rpsd", "spm_opm_sim", + "spm_opm_ssp", "spm_opm_synth_gradiometer", "spm_opm_vslm", "spm_dcm_nvc", @@ -1616,6 +1912,11 @@ "spm_TVdenoise2", "spm_TVdenoise_config", "spm_dctdst", + "spm_depth", + "spm_distance3", + "spm_est_vdm_from_phase", + "spm_julia", + "spm_mask_from_segments", "spm_run_denoise", "spm_scope", "spm_scope_config", @@ -1623,8 +1924,9 @@ "spm_slice2vol_config", "spm_slice2vol_estimate", "spm_slice2vol_reslice", - "spm_topup", - "spm_topup_config", + "spm_smooth_extrap", + "spm_thin", + "spm_topo_lookup", "tbx_cfg_spatial", "tbx_cfg_tsss", "tsss_config", diff --git a/spm/__toolbox/__mci/__demo_gradients/mci_compare_forward.py b/spm/__toolbox/__mci/__demo_gradients/mci_compare_forward.py index 71057402..ad65889a 100644 --- a/spm/__toolbox/__mci/__demo_gradients/mci_compare_forward.py +++ b/spm/__toolbox/__mci/__demo_gradients/mci_compare_forward.py @@ -2,7 +2,7 @@ def mci_compare_forward(*args, **kwargs): - """ + r""" Compare integration methods FORMAT [els_sun,els_ode,els_spm] = mci_compare_forward (model) @@ -12,9 +12,12 @@ def mci_compare_forward(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/mci/demo-gradients/mci_compare_forward.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/mci/demo-gradients/mci_compare_forward.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("mci_compare_forward", *args, **kwargs) diff --git a/spm/__toolbox/__mci/__demo_gradients/mci_compare_gradients.py b/spm/__toolbox/__mci/__demo_gradients/mci_compare_gradients.py index df8fedcd..e6b79366 100644 --- a/spm/__toolbox/__mci/__demo_gradients/mci_compare_gradients.py +++ b/spm/__toolbox/__mci/__demo_gradients/mci_compare_gradients.py @@ -2,7 +2,7 @@ def mci_compare_gradients(*args, **kwargs): - """ + r""" Compare methods for gradient computation FORMAT [els,names] = mci_compare_gradients (model,cost,methods) @@ -19,9 +19,12 @@ def mci_compare_gradients(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/mci/demo-gradients/mci_compare_gradients.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/mci/demo-gradients/mci_compare_gradients.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("mci_compare_gradients", *args, **kwargs) diff --git a/spm/__toolbox/__mci/__demo_gradients/mci_compare_jacobians.py b/spm/__toolbox/__mci/__demo_gradients/mci_compare_jacobians.py index cc8c4d6e..80a7983f 100644 --- a/spm/__toolbox/__mci/__demo_gradients/mci_compare_jacobians.py +++ b/spm/__toolbox/__mci/__demo_gradients/mci_compare_jacobians.py @@ -2,7 +2,7 @@ def mci_compare_jacobians(*args, **kwargs): - """ + r""" Compare user supplied and finite difference methods FORMAT [Fx,Fp,FxFD,FpFD] = mci_compare_jacobians (model) @@ -10,9 +10,12 @@ def mci_compare_jacobians(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/mci/demo-gradients/mci_compare_jacobians.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/mci/demo-gradients/mci_compare_jacobians.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("mci_compare_jacobians", *args, **kwargs) diff --git a/spm/__toolbox/__mci/__gradients/mci_compare_setup.py b/spm/__toolbox/__mci/__gradients/mci_compare_setup.py index a8669f86..3921b2ad 100644 --- a/spm/__toolbox/__mci/__gradients/mci_compare_setup.py +++ b/spm/__toolbox/__mci/__gradients/mci_compare_setup.py @@ -2,7 +2,7 @@ def mci_compare_setup(*args, **kwargs): - """ + r""" Set up data structures for fwd/sens/grad comparisons FORMAT [P,M,U,Y,ind] = mci_compare_setup (model) @@ -10,9 +10,12 @@ def mci_compare_setup(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/mci/gradients/mci_compare_setup.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/mci/gradients/mci_compare_setup.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("mci_compare_setup", *args, **kwargs) diff --git a/spm/__toolbox/__mci/__gradients/spm_mci_adjoint.py b/spm/__toolbox/__mci/__gradients/spm_mci_adjoint.py index 4f0c2494..66e1282b 100644 --- a/spm/__toolbox/__mci/__gradients/spm_mci_adjoint.py +++ b/spm/__toolbox/__mci/__gradients/spm_mci_adjoint.py @@ -2,7 +2,7 @@ def spm_mci_adjoint(*args, **kwargs): - """ + r""" Gradient of log joint from adjoint method FORMAT [dLdp,g,x] = spm_mci_adjoint (Pr,M,U,Y) @@ -24,9 +24,12 @@ def spm_mci_adjoint(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/mci/gradients/spm_mci_adjoint.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/mci/gradients/spm_mci_adjoint.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_mci_adjoint", *args, **kwargs) diff --git a/spm/__toolbox/__mci/__gradients/spm_mci_adjoint_int.py b/spm/__toolbox/__mci/__gradients/spm_mci_adjoint_int.py index 7b5e30e1..c1e571c1 100644 --- a/spm/__toolbox/__mci/__gradients/spm_mci_adjoint_int.py +++ b/spm/__toolbox/__mci/__gradients/spm_mci_adjoint_int.py @@ -2,7 +2,7 @@ def spm_mci_adjoint_int(*args, **kwargs): - """ + r""" Integrate adjoint equation FORMAT [lambda] = spm_mci_adjoint_int (U,P,M,V,djdx,tol) @@ -17,9 +17,12 @@ def spm_mci_adjoint_int(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/mci/gradients/spm_mci_adjoint_int.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/mci/gradients/spm_mci_adjoint_int.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_mci_adjoint_int", *args, **kwargs) diff --git a/spm/__toolbox/__mci/__gradients/spm_mci_adjoint_sun.py b/spm/__toolbox/__mci/__gradients/spm_mci_adjoint_sun.py index 3af604f6..b0b66a0e 100644 --- a/spm/__toolbox/__mci/__gradients/spm_mci_adjoint_sun.py +++ b/spm/__toolbox/__mci/__gradients/spm_mci_adjoint_sun.py @@ -2,7 +2,7 @@ def spm_mci_adjoint_sun(*args, **kwargs): - """ + r""" Gradient of log joint from adjoint method (via Sundials) FORMAT [dLdp] = spm_mci_adjoint_sun (Pr,M,U,Y) @@ -25,9 +25,12 @@ def spm_mci_adjoint_sun(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/mci/gradients/spm_mci_adjoint_sun.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/mci/gradients/spm_mci_adjoint_sun.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_mci_adjoint_sun", *args, **kwargs) diff --git a/spm/__toolbox/__mci/__gradients/spm_mci_flow_sun.py b/spm/__toolbox/__mci/__gradients/spm_mci_flow_sun.py index 0feaabd4..b1cebee6 100644 --- a/spm/__toolbox/__mci/__gradients/spm_mci_flow_sun.py +++ b/spm/__toolbox/__mci/__gradients/spm_mci_flow_sun.py @@ -2,7 +2,7 @@ def spm_mci_flow_sun(*args, **kwargs): - """ + r""" Evaluate flow for Sundials routines FORMAT [f, flag, new_data] = spm_mci_flow_sun (t, x, data) @@ -14,9 +14,12 @@ def spm_mci_flow_sun(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/mci/gradients/spm_mci_flow_sun.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/mci/gradients/spm_mci_flow_sun.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_mci_flow_sun", *args, **kwargs) diff --git a/spm/__toolbox/__mci/__gradients/spm_mci_flow_t.py b/spm/__toolbox/__mci/__gradients/spm_mci_flow_t.py index 87819111..a9fd0983 100644 --- a/spm/__toolbox/__mci/__gradients/spm_mci_flow_t.py +++ b/spm/__toolbox/__mci/__gradients/spm_mci_flow_t.py @@ -2,7 +2,7 @@ def spm_mci_flow_t(*args, **kwargs): - """ + r""" Evaluate flow at time t FORMAT [dxdt] = spm_mci_flow_t (t,x,U,P,M) @@ -16,9 +16,12 @@ def spm_mci_flow_t(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/mci/gradients/spm_mci_flow_t.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/mci/gradients/spm_mci_flow_t.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_mci_flow_t", *args, **kwargs) diff --git a/spm/__toolbox/__mci/__gradients/spm_mci_fwd.py b/spm/__toolbox/__mci/__gradients/spm_mci_fwd.py index f73a3bf3..014ff5b9 100644 --- a/spm/__toolbox/__mci/__gradients/spm_mci_fwd.py +++ b/spm/__toolbox/__mci/__gradients/spm_mci_fwd.py @@ -2,7 +2,7 @@ def spm_mci_fwd(*args, **kwargs): - """ + r""" Integrate dynamics and apply observation model FORMAT [y,x,st] = spm_mci_fwd (P,M,U) @@ -22,9 +22,12 @@ def spm_mci_fwd(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/mci/gradients/spm_mci_fwd.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/mci/gradients/spm_mci_fwd.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_mci_fwd", *args, **kwargs) diff --git a/spm/__toolbox/__mci/__gradients/spm_mci_grad_curve.py b/spm/__toolbox/__mci/__gradients/spm_mci_grad_curve.py index b7ecbdd6..3f09c80e 100644 --- a/spm/__toolbox/__mci/__gradients/spm_mci_grad_curve.py +++ b/spm/__toolbox/__mci/__gradients/spm_mci_grad_curve.py @@ -2,7 +2,7 @@ def spm_mci_grad_curve(*args, **kwargs): - """ + r""" Compute gradient and curvature for MFX model FORMAT [dLdp,iCpY,st] = spm_mci_grad_curve (assign,w,v,M,U,Y,fxtype) @@ -18,9 +18,12 @@ def spm_mci_grad_curve(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/mci/gradients/spm_mci_grad_curve.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/mci/gradients/spm_mci_grad_curve.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_mci_grad_curve", *args, **kwargs) diff --git a/spm/__toolbox/__mci/__gradients/spm_mci_joint.py b/spm/__toolbox/__mci/__gradients/spm_mci_joint.py index dada4e6a..d244fade 100644 --- a/spm/__toolbox/__mci/__gradients/spm_mci_joint.py +++ b/spm/__toolbox/__mci/__gradients/spm_mci_joint.py @@ -2,7 +2,7 @@ def spm_mci_joint(*args, **kwargs): - """ + r""" Compute log joint probability of model FORMAT [L,L2,st] = spm_mci_joint (Pr,M,U,Y,beta) @@ -20,9 +20,12 @@ def spm_mci_joint(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/mci/gradients/spm_mci_joint.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/mci/gradients/spm_mci_joint.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_mci_joint", *args, **kwargs) diff --git a/spm/__toolbox/__mci/__gradients/spm_mci_joint_grad.py b/spm/__toolbox/__mci/__gradients/spm_mci_joint_grad.py index 69e70993..689855cf 100644 --- a/spm/__toolbox/__mci/__gradients/spm_mci_joint_grad.py +++ b/spm/__toolbox/__mci/__gradients/spm_mci_joint_grad.py @@ -2,7 +2,7 @@ def spm_mci_joint_grad(*args, **kwargs): - """ + r""" Gradient of Log Joint Probability FORMAT [j,iCpY,st,L,L2] = spm_mci_joint_grad (Pr,M,U,Y) @@ -20,9 +20,12 @@ def spm_mci_joint_grad(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/mci/gradients/spm_mci_joint_grad.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/mci/gradients/spm_mci_joint_grad.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_mci_joint_grad", *args, **kwargs) diff --git a/spm/__toolbox/__mci/__gradients/spm_mci_sens.py b/spm/__toolbox/__mci/__gradients/spm_mci_sens.py index 8466439e..3d9d4cc2 100644 --- a/spm/__toolbox/__mci/__gradients/spm_mci_sens.py +++ b/spm/__toolbox/__mci/__gradients/spm_mci_sens.py @@ -2,7 +2,7 @@ def spm_mci_sens(*args, **kwargs): - """ + r""" Integrate dynamics, apply observation model and compute sensitivities FORMAT [y,sy,st,x,sx] = spm_mci_sens (P,M,U,csx) @@ -28,9 +28,12 @@ def spm_mci_sens(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/mci/gradients/spm_mci_sens.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/mci/gradients/spm_mci_sens.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_mci_sens", *args, **kwargs) diff --git a/spm/__toolbox/__mci/__gradients/spm_mci_sens_init.py b/spm/__toolbox/__mci/__gradients/spm_mci_sens_init.py index 90b1e257..38140b65 100644 --- a/spm/__toolbox/__mci/__gradients/spm_mci_sens_init.py +++ b/spm/__toolbox/__mci/__gradients/spm_mci_sens_init.py @@ -2,7 +2,7 @@ def spm_mci_sens_init(*args, **kwargs): - """ + r""" Compute sensitivity to initial state FORMAT [y,sy,st] = spm_mci_sens_init (R,P,M,U) @@ -26,9 +26,12 @@ def spm_mci_sens_init(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/mci/gradients/spm_mci_sens_init.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/mci/gradients/spm_mci_sens_init.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_mci_sens_init", *args, **kwargs) diff --git a/spm/__toolbox/__mci/__gradients/spm_mci_sens_sun.py b/spm/__toolbox/__mci/__gradients/spm_mci_sens_sun.py index 4ab27d80..ca10e6e1 100644 --- a/spm/__toolbox/__mci/__gradients/spm_mci_sens_sun.py +++ b/spm/__toolbox/__mci/__gradients/spm_mci_sens_sun.py @@ -2,7 +2,7 @@ def spm_mci_sens_sun(*args, **kwargs): - """ + r""" As spm_mci_sens.m but using Sundials FORMAT [y,sy,st,x,sx] = spm_mci_sens_sun (P,M,U,csx) @@ -29,9 +29,12 @@ def spm_mci_sens_sun(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/mci/gradients/spm_mci_sens_sun.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/mci/gradients/spm_mci_sens_sun.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_mci_sens_sun", *args, **kwargs) diff --git a/spm/__toolbox/__mci/__inference/spm_mci_ais.py b/spm/__toolbox/__mci/__inference/spm_mci_ais.py index e4560591..4c927c2e 100644 --- a/spm/__toolbox/__mci/__inference/spm_mci_ais.py +++ b/spm/__toolbox/__mci/__inference/spm_mci_ais.py @@ -2,7 +2,7 @@ def spm_mci_ais(*args, **kwargs): - """ + r""" Annealed Importance Sampling FORMAT [post] = spm_mci_ais (mcmc,M,U,Y,vl) @@ -47,9 +47,12 @@ def spm_mci_ais(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/mci/inference/spm_mci_ais.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/mci/inference/spm_mci_ais.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_mci_ais", *args, **kwargs) diff --git a/spm/__toolbox/__mci/__inference/spm_mci_ais_single.py b/spm/__toolbox/__mci/__inference/spm_mci_ais_single.py index 2ca9a79f..9bb163da 100644 --- a/spm/__toolbox/__mci/__inference/spm_mci_ais_single.py +++ b/spm/__toolbox/__mci/__inference/spm_mci_ais_single.py @@ -2,7 +2,7 @@ def spm_mci_ais_single(*args, **kwargs): - """ + r""" Produce a single independent sample using AIS FORMAT [P,E,logw,acc,traj] = spm_mci_ais_single (mcmc,M,U,Y) @@ -20,9 +20,12 @@ def spm_mci_ais_single(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/mci/inference/spm_mci_ais_single.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/mci/inference/spm_mci_ais_single.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_mci_ais_single", *args, **kwargs) diff --git a/spm/__toolbox/__mci/__inference/spm_mci_ais_single_vl.py b/spm/__toolbox/__mci/__inference/spm_mci_ais_single_vl.py index f62d8fcd..6c93ae3f 100644 --- a/spm/__toolbox/__mci/__inference/spm_mci_ais_single_vl.py +++ b/spm/__toolbox/__mci/__inference/spm_mci_ais_single_vl.py @@ -2,7 +2,7 @@ def spm_mci_ais_single_vl(*args, **kwargs): - """ + r""" Produce a single independent sample from posterior using AIS FORMAT [P,E,logw,acc] = spm_mci_ais_single_vl (mcmc,M,U,Y,vl) @@ -21,9 +21,12 @@ def spm_mci_ais_single_vl(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/mci/inference/spm_mci_ais_single_vl.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/mci/inference/spm_mci_ais_single_vl.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_mci_ais_single_vl", *args, **kwargs) diff --git a/spm/__toolbox/__mci/__inference/spm_mci_check.py b/spm/__toolbox/__mci/__inference/spm_mci_check.py index f208a4e0..f3b13979 100644 --- a/spm/__toolbox/__mci/__inference/spm_mci_check.py +++ b/spm/__toolbox/__mci/__inference/spm_mci_check.py @@ -2,7 +2,7 @@ def spm_mci_check(*args, **kwargs): - """ + r""" Check model structure M is correctly specified FORMAT [corr] = spm_mci_check (M) @@ -10,9 +10,12 @@ def spm_mci_check(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/mci/inference/spm_mci_check.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/mci/inference/spm_mci_check.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_mci_check", *args, **kwargs) diff --git a/spm/__toolbox/__mci/__inference/spm_mci_diag.py b/spm/__toolbox/__mci/__inference/spm_mci_diag.py index 4a3198a9..de5d8096 100644 --- a/spm/__toolbox/__mci/__inference/spm_mci_diag.py +++ b/spm/__toolbox/__mci/__inference/spm_mci_diag.py @@ -2,7 +2,7 @@ def spm_mci_diag(*args, **kwargs): - """ + r""" Monte Carlo Diagnostics FORMAT [mess] = spm_mci_diag (post,diag) @@ -19,9 +19,12 @@ def spm_mci_diag(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/mci/inference/spm_mci_diag.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/mci/inference/spm_mci_diag.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_mci_diag", *args, **kwargs) diff --git a/spm/__toolbox/__mci/__inference/spm_mci_diff.py b/spm/__toolbox/__mci/__inference/spm_mci_diff.py index cb93b17e..93920175 100644 --- a/spm/__toolbox/__mci/__inference/spm_mci_diff.py +++ b/spm/__toolbox/__mci/__inference/spm_mci_diff.py @@ -2,7 +2,7 @@ def spm_mci_diff(*args, **kwargs): - """ + r""" Compute gradient and curvature of log likelihood using finite differences FORMAT [dLdp,iCpY,L] = spm_mci_diff (P,M,U,Y) @@ -12,9 +12,12 @@ def spm_mci_diff(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/mci/inference/spm_mci_diff.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/mci/inference/spm_mci_diff.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_mci_diff", *args, **kwargs) diff --git a/spm/__toolbox/__mci/__inference/spm_mci_ess.py b/spm/__toolbox/__mci/__inference/spm_mci_ess.py index 02402372..cda71bdf 100644 --- a/spm/__toolbox/__mci/__inference/spm_mci_ess.py +++ b/spm/__toolbox/__mci/__inference/spm_mci_ess.py @@ -2,7 +2,7 @@ def spm_mci_ess(*args, **kwargs): - """ + r""" Compute Effective Sample Size FORMAT [ess,m] = spm_mci_ess (x,p) @@ -18,9 +18,12 @@ def spm_mci_ess(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/mci/inference/spm_mci_ess.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/mci/inference/spm_mci_ess.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_mci_ess", *args, **kwargs) diff --git a/spm/__toolbox/__mci/__inference/spm_mci_fixed.py b/spm/__toolbox/__mci/__inference/spm_mci_fixed.py index d86e59d7..58aadb80 100644 --- a/spm/__toolbox/__mci/__inference/spm_mci_fixed.py +++ b/spm/__toolbox/__mci/__inference/spm_mci_fixed.py @@ -2,7 +2,7 @@ def spm_mci_fixed(*args, **kwargs): - """ + r""" Group fixed effects estimation FORMAT [Psamp,noise,M] = spm_mci_fixed (mcmc,w,fixed,noise,M,U,Y) @@ -20,9 +20,12 @@ def spm_mci_fixed(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/mci/inference/spm_mci_fixed.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/mci/inference/spm_mci_fixed.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_mci_fixed", *args, **kwargs) diff --git a/spm/__toolbox/__mci/__inference/spm_mci_glike.py b/spm/__toolbox/__mci/__inference/spm_mci_glike.py index eca45cf4..b1949957 100644 --- a/spm/__toolbox/__mci/__inference/spm_mci_glike.py +++ b/spm/__toolbox/__mci/__inference/spm_mci_glike.py @@ -2,7 +2,7 @@ def spm_mci_glike(*args, **kwargs): - """ + r""" Gaussian Log-likelihood FORMAT [L,e,st] = spm_mci_glike (P,M,U,Y,G) @@ -20,9 +20,12 @@ def spm_mci_glike(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/mci/inference/spm_mci_glike.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/mci/inference/spm_mci_glike.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_mci_glike", *args, **kwargs) diff --git a/spm/__toolbox/__mci/__inference/spm_mci_glike_deriv.py b/spm/__toolbox/__mci/__inference/spm_mci_glike_deriv.py index 12d0d85c..f6d7188f 100644 --- a/spm/__toolbox/__mci/__inference/spm_mci_glike_deriv.py +++ b/spm/__toolbox/__mci/__inference/spm_mci_glike_deriv.py @@ -2,7 +2,7 @@ def spm_mci_glike_deriv(*args, **kwargs): - """ + r""" Gradient of Gaussian Log-likelihood FORMAT [dLdp,iCpY,st,L] = spm_mci_glike_deriv (P,M,U,Y) @@ -18,9 +18,12 @@ def spm_mci_glike_deriv(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/mci/inference/spm_mci_glike_deriv.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/mci/inference/spm_mci_glike_deriv.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_mci_glike_deriv", *args, **kwargs) diff --git a/spm/__toolbox/__mci/__inference/spm_mci_gprior_deriv.py b/spm/__toolbox/__mci/__inference/spm_mci_gprior_deriv.py index b8b2de64..4fe6d1cb 100644 --- a/spm/__toolbox/__mci/__inference/spm_mci_gprior_deriv.py +++ b/spm/__toolbox/__mci/__inference/spm_mci_gprior_deriv.py @@ -2,7 +2,7 @@ def spm_mci_gprior_deriv(*args, **kwargs): - """ + r""" Gradient of Log Gaussian prior FORMAT [j] = spm_mci_gprior_deriv (Pr,M) @@ -13,9 +13,12 @@ def spm_mci_gprior_deriv(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/mci/inference/spm_mci_gprior_deriv.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/mci/inference/spm_mci_gprior_deriv.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_mci_gprior_deriv", *args, **kwargs) diff --git a/spm/__toolbox/__mci/__inference/spm_mci_init_flow.py b/spm/__toolbox/__mci/__inference/spm_mci_init_flow.py index 5d0995c5..86456f98 100644 --- a/spm/__toolbox/__mci/__inference/spm_mci_init_flow.py +++ b/spm/__toolbox/__mci/__inference/spm_mci_init_flow.py @@ -2,7 +2,7 @@ def spm_mci_init_flow(*args, **kwargs): - """ + r""" Extract init, flow and out params from rfx and ffx vectors FORMAT [x_init,x_flow] = spm_mci_init_flow (assign,w,v,M) @@ -16,9 +16,12 @@ def spm_mci_init_flow(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/mci/inference/spm_mci_init_flow.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/mci/inference/spm_mci_init_flow.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_mci_init_flow", *args, **kwargs) diff --git a/spm/__toolbox/__mci/__inference/spm_mci_isvl.py b/spm/__toolbox/__mci/__inference/spm_mci_isvl.py index 00250800..a7c62158 100644 --- a/spm/__toolbox/__mci/__inference/spm_mci_isvl.py +++ b/spm/__toolbox/__mci/__inference/spm_mci_isvl.py @@ -2,7 +2,7 @@ def spm_mci_isvl(*args, **kwargs): - """ + r""" Compute Log Evidence using Importance Sampling FORMAT [isvl] = spm_mci_isvl (mcmc,M,U,Y,VL) @@ -25,9 +25,12 @@ def spm_mci_isvl(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/mci/inference/spm_mci_isvl.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/mci/inference/spm_mci_isvl.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_mci_isvl", *args, **kwargs) diff --git a/spm/__toolbox/__mci/__inference/spm_mci_lgv.py b/spm/__toolbox/__mci/__inference/spm_mci_lgv.py index 47178537..b450c453 100644 --- a/spm/__toolbox/__mci/__inference/spm_mci_lgv.py +++ b/spm/__toolbox/__mci/__inference/spm_mci_lgv.py @@ -2,7 +2,7 @@ def spm_mci_lgv(*args, **kwargs): - """ + r""" Sampling using Langevin Monte Carlo FORMAT [M,stats] = spm_mci_lgv (mcmc,M,U,Y) @@ -46,9 +46,12 @@ def spm_mci_lgv(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/mci/inference/spm_mci_lgv.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/mci/inference/spm_mci_lgv.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_mci_lgv", *args, **kwargs) diff --git a/spm/__toolbox/__mci/__inference/spm_mci_lgv_vl.py b/spm/__toolbox/__mci/__inference/spm_mci_lgv_vl.py index 1694137c..a031f983 100644 --- a/spm/__toolbox/__mci/__inference/spm_mci_lgv_vl.py +++ b/spm/__toolbox/__mci/__inference/spm_mci_lgv_vl.py @@ -2,7 +2,7 @@ def spm_mci_lgv_vl(*args, **kwargs): - """ + r""" Sampling using Langevin Monte Carlo on path from VL solution FORMAT [M,stats] = spm_mci_lgv_vl (mcmc,M,U,Y,vl,beta) @@ -35,9 +35,12 @@ def spm_mci_lgv_vl(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/mci/inference/spm_mci_lgv_vl.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/mci/inference/spm_mci_lgv_vl.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_mci_lgv_vl", *args, **kwargs) diff --git a/spm/__toolbox/__mci/__inference/spm_mci_like_ind.py b/spm/__toolbox/__mci/__inference/spm_mci_like_ind.py index 1a516ff6..b984097a 100644 --- a/spm/__toolbox/__mci/__inference/spm_mci_like_ind.py +++ b/spm/__toolbox/__mci/__inference/spm_mci_like_ind.py @@ -2,7 +2,7 @@ def spm_mci_like_ind(*args, **kwargs): - """ + r""" Compute likelihood wrt selected time points FORMAT [L,e] = spm_mci_like_ind (P,R,M,U,Y) @@ -17,9 +17,12 @@ def spm_mci_like_ind(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/mci/inference/spm_mci_like_ind.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/mci/inference/spm_mci_like_ind.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_mci_like_ind", *args, **kwargs) diff --git a/spm/__toolbox/__mci/__inference/spm_mci_mfx.py b/spm/__toolbox/__mci/__inference/spm_mci_mfx.py index e48f019b..3880dbf0 100644 --- a/spm/__toolbox/__mci/__inference/spm_mci_mfx.py +++ b/spm/__toolbox/__mci/__inference/spm_mci_mfx.py @@ -2,7 +2,7 @@ def spm_mci_mfx(*args, **kwargs): - """ + r""" Mixed Effects Inference FORMAT [MCI] = spm_mci_mfx (MCI) @@ -45,9 +45,12 @@ def spm_mci_mfx(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/mci/inference/spm_mci_mfx.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/mci/inference/spm_mci_mfx.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_mci_mfx", *args, **kwargs) diff --git a/spm/__toolbox/__mci/__inference/spm_mci_mfx_dynamic.py b/spm/__toolbox/__mci/__inference/spm_mci_mfx_dynamic.py index aac57ae0..27622073 100644 --- a/spm/__toolbox/__mci/__inference/spm_mci_mfx_dynamic.py +++ b/spm/__toolbox/__mci/__inference/spm_mci_mfx_dynamic.py @@ -2,7 +2,7 @@ def spm_mci_mfx_dynamic(*args, **kwargs): - """ + r""" Mixed Effects Inference for Dynamical Systems FORMAT [MCI] = spm_mci_mfx_dynamic (MCI) @@ -68,9 +68,12 @@ def spm_mci_mfx_dynamic(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/mci/inference/spm_mci_mfx_dynamic.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/mci/inference/spm_mci_mfx_dynamic.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_mci_mfx_dynamic", *args, **kwargs) diff --git a/spm/__toolbox/__mci/__inference/spm_mci_mh.py b/spm/__toolbox/__mci/__inference/spm_mci_mh.py index 00eec70d..f9a17d71 100644 --- a/spm/__toolbox/__mci/__inference/spm_mci_mh.py +++ b/spm/__toolbox/__mci/__inference/spm_mci_mh.py @@ -2,7 +2,7 @@ def spm_mci_mh(*args, **kwargs): - """ + r""" Metropolis Hastings with Gaussian priors and proposals FORMAT [P,L,D] = spm_mci_mh (mcmc,M,U,Y) @@ -22,9 +22,12 @@ def spm_mci_mh(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/mci/inference/spm_mci_mh.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/mci/inference/spm_mci_mh.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_mci_mh", *args, **kwargs) diff --git a/spm/__toolbox/__mci/__inference/spm_mci_mh_update.py b/spm/__toolbox/__mci/__inference/spm_mci_mh_update.py index 54d08d0e..6d4c5a20 100644 --- a/spm/__toolbox/__mci/__inference/spm_mci_mh_update.py +++ b/spm/__toolbox/__mci/__inference/spm_mci_mh_update.py @@ -2,7 +2,7 @@ def spm_mci_mh_update(*args, **kwargs): - """ + r""" Update parameters using Metropolis-Hastings FORMAT [next,accepted,bayes_fb,dL] = spm_mci_mh_update (curr,prop,verbose) @@ -17,9 +17,12 @@ def spm_mci_mh_update(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/mci/inference/spm_mci_mh_update.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/mci/inference/spm_mci_mh_update.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_mci_mh_update", *args, **kwargs) diff --git a/spm/__toolbox/__mci/__inference/spm_mci_minit.py b/spm/__toolbox/__mci/__inference/spm_mci_minit.py index 59937a19..b827bf34 100644 --- a/spm/__toolbox/__mci/__inference/spm_mci_minit.py +++ b/spm/__toolbox/__mci/__inference/spm_mci_minit.py @@ -2,7 +2,7 @@ def spm_mci_minit(*args, **kwargs): - """ + r""" Check and initialise model strucuture FORMAT [M] = spm_mci_minit (M) @@ -10,9 +10,12 @@ def spm_mci_minit(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/mci/inference/spm_mci_minit.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/mci/inference/spm_mci_minit.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_mci_minit", *args, **kwargs) diff --git a/spm/__toolbox/__mci/__inference/spm_mci_mvnpost.py b/spm/__toolbox/__mci/__inference/spm_mci_mvnpost.py index be9e2cdb..96364cf5 100644 --- a/spm/__toolbox/__mci/__inference/spm_mci_mvnpost.py +++ b/spm/__toolbox/__mci/__inference/spm_mci_mvnpost.py @@ -2,7 +2,7 @@ def spm_mci_mvnpost(*args, **kwargs): - """ + r""" Are MCMC samples consistent with Gaussian posterior ? FORMAT [stats,Y,X] = spm_mci_mvnpost (post,method,verbose,max_lag) @@ -20,9 +20,12 @@ def spm_mci_mvnpost(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/mci/inference/spm_mci_mvnpost.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/mci/inference/spm_mci_mvnpost.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_mci_mvnpost", *args, **kwargs) diff --git a/spm/__toolbox/__mci/__inference/spm_mci_mvntest.py b/spm/__toolbox/__mci/__inference/spm_mci_mvntest.py index e3671bff..60f222c5 100644 --- a/spm/__toolbox/__mci/__inference/spm_mci_mvntest.py +++ b/spm/__toolbox/__mci/__inference/spm_mci_mvntest.py @@ -2,7 +2,7 @@ def spm_mci_mvntest(*args, **kwargs): - """ + r""" Test for multivariate normality FORMAT [stats] = spm_mci_mvntest (X,df) @@ -32,9 +32,12 @@ def spm_mci_mvntest(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/mci/inference/spm_mci_mvntest.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/mci/inference/spm_mci_mvntest.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_mci_mvntest", *args, **kwargs) diff --git a/spm/__toolbox/__mci/__inference/spm_mci_obsnoise.py b/spm/__toolbox/__mci/__inference/spm_mci_obsnoise.py index bd07ffaa..ad8d622e 100644 --- a/spm/__toolbox/__mci/__inference/spm_mci_obsnoise.py +++ b/spm/__toolbox/__mci/__inference/spm_mci_obsnoise.py @@ -2,7 +2,7 @@ def spm_mci_obsnoise(*args, **kwargs): - """ + r""" Update observation noise FORMAT [noise,M] = spm_mci_obsnoise (w,v,assign,noise,M,U,Y) @@ -17,9 +17,12 @@ def spm_mci_obsnoise(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/mci/inference/spm_mci_obsnoise.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/mci/inference/spm_mci_obsnoise.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_mci_obsnoise", *args, **kwargs) diff --git a/spm/__toolbox/__mci/__inference/spm_mci_phm.py b/spm/__toolbox/__mci/__inference/spm_mci_phm.py index 4a3971a9..053f5659 100644 --- a/spm/__toolbox/__mci/__inference/spm_mci_phm.py +++ b/spm/__toolbox/__mci/__inference/spm_mci_phm.py @@ -2,7 +2,7 @@ def spm_mci_phm(*args, **kwargs): - """ + r""" Compute Log Evidence using Posterior Harmonic Mean (PHM) FORMAT [logev] = spm_mci_phm (L) @@ -11,9 +11,12 @@ def spm_mci_phm(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/mci/inference/spm_mci_phm.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/mci/inference/spm_mci_phm.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_mci_phm", *args, **kwargs) diff --git a/spm/__toolbox/__mci/__inference/spm_mci_pop.py b/spm/__toolbox/__mci/__inference/spm_mci_pop.py index 8469c2e4..6c22e82a 100644 --- a/spm/__toolbox/__mci/__inference/spm_mci_pop.py +++ b/spm/__toolbox/__mci/__inference/spm_mci_pop.py @@ -2,7 +2,7 @@ def spm_mci_pop(*args, **kwargs): - """ + r""" Population MCMC with Gaussian priors and proposals FORMAT [P,logev,D,M] = spm_mci_pop (mcmc,M,U,Y) @@ -54,9 +54,12 @@ def spm_mci_pop(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/mci/inference/spm_mci_pop.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/mci/inference/spm_mci_pop.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_mci_pop", *args, **kwargs) diff --git a/spm/__toolbox/__mci/__inference/spm_mci_popdef.py b/spm/__toolbox/__mci/__inference/spm_mci_popdef.py index 0f5b274d..3dfc9d39 100644 --- a/spm/__toolbox/__mci/__inference/spm_mci_popdef.py +++ b/spm/__toolbox/__mci/__inference/spm_mci_popdef.py @@ -2,15 +2,18 @@ def spm_mci_popdef(*args, **kwargs): - """ + r""" Set default parameters for population MCMC FORMAT [mh] = spm_mci_popdef (scale,tune,samp) __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/mci/inference/spm_mci_popdef.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/mci/inference/spm_mci_popdef.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_mci_popdef", *args, **kwargs) diff --git a/spm/__toolbox/__mci/__inference/spm_mci_post.py b/spm/__toolbox/__mci/__inference/spm_mci_post.py index 56c9b8e1..e0a46e95 100644 --- a/spm/__toolbox/__mci/__inference/spm_mci_post.py +++ b/spm/__toolbox/__mci/__inference/spm_mci_post.py @@ -2,7 +2,7 @@ def spm_mci_post(*args, **kwargs): - """ + r""" Estimate posterior density FORMAT [post] = spm_mci_post (mcmc,M,U,Y,true_P) @@ -19,9 +19,12 @@ def spm_mci_post(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/mci/inference/spm_mci_post.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/mci/inference/spm_mci_post.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_mci_post", *args, **kwargs) diff --git a/spm/__toolbox/__mci/__inference/spm_mci_postslices.py b/spm/__toolbox/__mci/__inference/spm_mci_postslices.py index be939f2b..5d5e5266 100644 --- a/spm/__toolbox/__mci/__inference/spm_mci_postslices.py +++ b/spm/__toolbox/__mci/__inference/spm_mci_postslices.py @@ -2,7 +2,7 @@ def spm_mci_postslices(*args, **kwargs): - """ + r""" Univariate slices through posterior density FORMAT [x,pnum,pgauss] = spm_mci_postslices (post,M,U,Y,Nbins) @@ -18,9 +18,12 @@ def spm_mci_postslices(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/mci/inference/spm_mci_postslices.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/mci/inference/spm_mci_postslices.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_mci_postslices", *args, **kwargs) diff --git a/spm/__toolbox/__mci/__inference/spm_mci_priors.py b/spm/__toolbox/__mci/__inference/spm_mci_priors.py index 45040ba0..cc133703 100644 --- a/spm/__toolbox/__mci/__inference/spm_mci_priors.py +++ b/spm/__toolbox/__mci/__inference/spm_mci_priors.py @@ -2,7 +2,7 @@ def spm_mci_priors(*args, **kwargs): - """ + r""" Quantities for computing log prior in subspace FORMAT [M] = spm_mci_priors (M) @@ -13,9 +13,12 @@ def spm_mci_priors(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/mci/inference/spm_mci_priors.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/mci/inference/spm_mci_priors.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_mci_priors", *args, **kwargs) diff --git a/spm/__toolbox/__mci/__inference/spm_mci_quantiles.py b/spm/__toolbox/__mci/__inference/spm_mci_quantiles.py index 1866170e..495e4f2f 100644 --- a/spm/__toolbox/__mci/__inference/spm_mci_quantiles.py +++ b/spm/__toolbox/__mci/__inference/spm_mci_quantiles.py @@ -2,7 +2,7 @@ def spm_mci_quantiles(*args, **kwargs): - """ + r""" Plot histogram and quantiles of posterior density FORMAT [y] = spm_mci_quantiles (post,j,q3,expP) @@ -18,9 +18,12 @@ def spm_mci_quantiles(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/mci/inference/spm_mci_quantiles.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/mci/inference/spm_mci_quantiles.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_mci_quantiles", *args, **kwargs) diff --git a/spm/__toolbox/__mci/__inference/spm_mci_random.py b/spm/__toolbox/__mci/__inference/spm_mci_random.py index 4d2a18db..5e07c7bb 100644 --- a/spm/__toolbox/__mci/__inference/spm_mci_random.py +++ b/spm/__toolbox/__mci/__inference/spm_mci_random.py @@ -2,7 +2,7 @@ def spm_mci_random(*args, **kwargs): - """ + r""" Random effects estimation FORMAT [S] = spm_mci_random (mcmc,R,v,M,U,Y) @@ -19,9 +19,12 @@ def spm_mci_random(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/mci/inference/spm_mci_random.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/mci/inference/spm_mci_random.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_mci_random", *args, **kwargs) diff --git a/spm/__toolbox/__mci/__inference/spm_mci_report.py b/spm/__toolbox/__mci/__inference/spm_mci_report.py index b5940bda..35f91d4c 100644 --- a/spm/__toolbox/__mci/__inference/spm_mci_report.py +++ b/spm/__toolbox/__mci/__inference/spm_mci_report.py @@ -2,7 +2,7 @@ def spm_mci_report(*args, **kwargs): - """ + r""" Report on posterior density from MCI FUNCTION [Ep,SDp] = spm_mci_report (P,mcmc,true_P) @@ -14,9 +14,12 @@ def spm_mci_report(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/mci/inference/spm_mci_report.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/mci/inference/spm_mci_report.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_mci_report", *args, **kwargs) diff --git a/spm/__toolbox/__mci/__inference/spm_mci_stat.py b/spm/__toolbox/__mci/__inference/spm_mci_stat.py index 0210d926..dafb2666 100644 --- a/spm/__toolbox/__mci/__inference/spm_mci_stat.py +++ b/spm/__toolbox/__mci/__inference/spm_mci_stat.py @@ -2,7 +2,7 @@ def spm_mci_stat(*args, **kwargs): - """ + r""" Test MCMC samples for stationarity FORMAT [pstat,mu,nse,batch] = spm_mci_stat (post,nbatch,method) @@ -24,9 +24,12 @@ def spm_mci_stat(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/mci/inference/spm_mci_stat.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/mci/inference/spm_mci_stat.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_mci_stat", *args, **kwargs) diff --git a/spm/__toolbox/__mci/__inference/spm_mci_switch.py b/spm/__toolbox/__mci/__inference/spm_mci_switch.py index 9567725e..04df355a 100644 --- a/spm/__toolbox/__mci/__inference/spm_mci_switch.py +++ b/spm/__toolbox/__mci/__inference/spm_mci_switch.py @@ -2,7 +2,7 @@ def spm_mci_switch(*args, **kwargs): - """ + r""" Return log probability of tempered model switch FORMAT [logp,logq1,logq2] = spm_mci_switch (Pr,M,U,Y,beta) @@ -16,9 +16,12 @@ def spm_mci_switch(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/mci/inference/spm_mci_switch.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/mci/inference/spm_mci_switch.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_mci_switch", *args, **kwargs) diff --git a/spm/__toolbox/__mci/__inference/spm_mci_switch_prep.py b/spm/__toolbox/__mci/__inference/spm_mci_switch_prep.py index 22db11d2..b21b7553 100644 --- a/spm/__toolbox/__mci/__inference/spm_mci_switch_prep.py +++ b/spm/__toolbox/__mci/__inference/spm_mci_switch_prep.py @@ -2,15 +2,18 @@ def spm_mci_switch_prep(*args, **kwargs): - """ + r""" Prepare quantities for computing log prior in SVD-reduced space FORMAT [M] = spm_mci_switch_prep (M) __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/mci/inference/spm_mci_switch_prep.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/mci/inference/spm_mci_switch_prep.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_mci_switch_prep", *args, **kwargs) diff --git a/spm/__toolbox/__mci/__inference/spm_mci_update_cov.py b/spm/__toolbox/__mci/__inference/spm_mci_update_cov.py index 54a90a77..8a1efb3a 100644 --- a/spm/__toolbox/__mci/__inference/spm_mci_update_cov.py +++ b/spm/__toolbox/__mci/__inference/spm_mci_update_cov.py @@ -2,7 +2,7 @@ def spm_mci_update_cov(*args, **kwargs): - """ + r""" Update covariance matrix of proposal density using Robbins-Monro FORMAT [P] = spm_mci_update_cov (P) @@ -12,9 +12,12 @@ def spm_mci_update_cov(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/mci/inference/spm_mci_update_cov.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/mci/inference/spm_mci_update_cov.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_mci_update_cov", *args, **kwargs) diff --git a/spm/__toolbox/__mci/__inference/spm_mci_vw_init.py b/spm/__toolbox/__mci/__inference/spm_mci_vw_init.py index d2458902..a1d88324 100644 --- a/spm/__toolbox/__mci/__inference/spm_mci_vw_init.py +++ b/spm/__toolbox/__mci/__inference/spm_mci_vw_init.py @@ -2,7 +2,7 @@ def spm_mci_vw_init(*args, **kwargs): - """ + r""" Initialise fixed and random effects FORMAT [w_init,v_init,assign,update_ffx,update_rfx] = spm_mci_vw_init (MCI) @@ -17,9 +17,12 @@ def spm_mci_vw_init(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/mci/inference/spm_mci_vw_init.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/mci/inference/spm_mci_vw_init.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_mci_vw_init", *args, **kwargs) diff --git a/spm/__toolbox/__mci/__inference/spm_mvtpdf.py b/spm/__toolbox/__mci/__inference/spm_mvtpdf.py index 21d02756..a9d42197 100644 --- a/spm/__toolbox/__mci/__inference/spm_mvtpdf.py +++ b/spm/__toolbox/__mci/__inference/spm_mvtpdf.py @@ -2,7 +2,7 @@ def spm_mvtpdf(*args, **kwargs): - """ + r""" PDF of multivariate T-distribution FORMAT [p] = spm_mvtpdf (x,mu,Lambda,v) @@ -18,9 +18,12 @@ def spm_mvtpdf(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/mci/inference/spm_mvtpdf.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/mci/inference/spm_mvtpdf.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_mvtpdf", *args, **kwargs) diff --git a/spm/__toolbox/__mci/__inference/spm_nwcov.py b/spm/__toolbox/__mci/__inference/spm_nwcov.py index 8f6ac635..37bc2557 100644 --- a/spm/__toolbox/__mci/__inference/spm_nwcov.py +++ b/spm/__toolbox/__mci/__inference/spm_nwcov.py @@ -2,7 +2,7 @@ def spm_nwcov(*args, **kwargs): - """ + r""" Get second moments of Normal-Wishart FORMAT [M] = spm_nwcov (M) @@ -20,9 +20,12 @@ def spm_nwcov(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/mci/inference/spm_nwcov.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/mci/inference/spm_nwcov.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_nwcov", *args, **kwargs) diff --git a/spm/__toolbox/__mci/__inference/spm_nwpost.py b/spm/__toolbox/__mci/__inference/spm_nwpost.py index b8ff4055..029955ab 100644 --- a/spm/__toolbox/__mci/__inference/spm_nwpost.py +++ b/spm/__toolbox/__mci/__inference/spm_nwpost.py @@ -2,7 +2,7 @@ def spm_nwpost(*args, **kwargs): - """ + r""" Get posterior distribution over m,Lambda FORMAT [M] = spm_nwpost (M,w) @@ -15,9 +15,12 @@ def spm_nwpost(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/mci/inference/spm_nwpost.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/mci/inference/spm_nwpost.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_nwpost", *args, **kwargs) diff --git a/spm/__toolbox/__mci/__inference/spm_nwrnd.py b/spm/__toolbox/__mci/__inference/spm_nwrnd.py index 9d8f9cd2..f04aebdc 100644 --- a/spm/__toolbox/__mci/__inference/spm_nwrnd.py +++ b/spm/__toolbox/__mci/__inference/spm_nwrnd.py @@ -2,7 +2,7 @@ def spm_nwrnd(*args, **kwargs): - """ + r""" Generate N samples from Normal-Wishart density FORMAT [m,Lambda,Cm] = spm_nwrnd (M,N) @@ -19,9 +19,12 @@ def spm_nwrnd(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/mci/inference/spm_nwrnd.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/mci/inference/spm_nwrnd.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_nwrnd", *args, **kwargs) diff --git a/spm/__toolbox/__mci/__inference/spm_wishrnd.py b/spm/__toolbox/__mci/__inference/spm_wishrnd.py index fbea5eae..ce884729 100644 --- a/spm/__toolbox/__mci/__inference/spm_wishrnd.py +++ b/spm/__toolbox/__mci/__inference/spm_wishrnd.py @@ -2,7 +2,7 @@ def spm_wishrnd(*args, **kwargs): - """ + r""" Generate N samples from Wishart density FORMAT [S] = spm_wishrnd (B,a,N) @@ -20,9 +20,12 @@ def spm_wishrnd(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/mci/inference/spm_wishrnd.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/mci/inference/spm_wishrnd.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_wishrnd", *args, **kwargs) diff --git a/spm/__toolbox/__mci/__models/__approach/mci_approach_deriv.py b/spm/__toolbox/__mci/__models/__approach/mci_approach_deriv.py index 875bd570..e25807c9 100644 --- a/spm/__toolbox/__mci/__models/__approach/mci_approach_deriv.py +++ b/spm/__toolbox/__mci/__models/__approach/mci_approach_deriv.py @@ -2,7 +2,7 @@ def mci_approach_deriv(*args, **kwargs): - """ + r""" Gradient of log-likelihood for approach model FORMAT [dLdp,iCpY,L] = mci_approach_deriv (P,M,U,Y) @@ -12,9 +12,12 @@ def mci_approach_deriv(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/mci/models/approach/mci_approach_deriv.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/mci/models/approach/mci_approach_deriv.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("mci_approach_deriv", *args, **kwargs) diff --git a/spm/__toolbox/__mci/__models/__approach/mci_approach_gen.py b/spm/__toolbox/__mci/__models/__approach/mci_approach_gen.py index 7264f88a..88bcac23 100644 --- a/spm/__toolbox/__mci/__models/__approach/mci_approach_gen.py +++ b/spm/__toolbox/__mci/__models/__approach/mci_approach_gen.py @@ -2,7 +2,7 @@ def mci_approach_gen(*args, **kwargs): - """ + r""" Approach to limit model FORMAT [y] = mci_approach_gen (P,M,U) @@ -11,9 +11,12 @@ def mci_approach_gen(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/mci/models/approach/mci_approach_gen.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/mci/models/approach/mci_approach_gen.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("mci_approach_gen", *args, **kwargs) diff --git a/spm/__toolbox/__mci/__models/__approach/mci_approach_like.py b/spm/__toolbox/__mci/__models/__approach/mci_approach_like.py index ad6646b3..0ad25dbe 100644 --- a/spm/__toolbox/__mci/__models/__approach/mci_approach_like.py +++ b/spm/__toolbox/__mci/__models/__approach/mci_approach_like.py @@ -2,7 +2,7 @@ def mci_approach_like(*args, **kwargs): - """ + r""" Log-likelihood for approach model FORMAT [L,yhat,st] = mci_approach_like (P,M,U,Y) @@ -11,9 +11,12 @@ def mci_approach_like(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/mci/models/approach/mci_approach_like.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/mci/models/approach/mci_approach_like.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("mci_approach_like", *args, **kwargs) diff --git a/spm/__toolbox/__mci/__models/__approach/mci_approach_struct.py b/spm/__toolbox/__mci/__models/__approach/mci_approach_struct.py index 45754fed..ab753bc5 100644 --- a/spm/__toolbox/__mci/__models/__approach/mci_approach_struct.py +++ b/spm/__toolbox/__mci/__models/__approach/mci_approach_struct.py @@ -2,7 +2,7 @@ def mci_approach_struct(*args, **kwargs): - """ + r""" Approach model structure FORMAT [M,U] = mci_approach_struct (Nobs) @@ -12,9 +12,12 @@ def mci_approach_struct(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/mci/models/approach/mci_approach_struct.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/mci/models/approach/mci_approach_struct.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("mci_approach_struct", *args, **kwargs) diff --git a/spm/__toolbox/__mci/__models/__discount/mci_discount_act.py b/spm/__toolbox/__mci/__models/__discount/mci_discount_act.py index 297414d7..e8cbc1c2 100644 --- a/spm/__toolbox/__mci/__models/__discount/mci_discount_act.py +++ b/spm/__toolbox/__mci/__models/__discount/mci_discount_act.py @@ -2,7 +2,7 @@ def mci_discount_act(*args, **kwargs): - """ + r""" Activation of discounting model FORMAT [a,v1,v2,k] = mci_discount_act (P,M,U) @@ -14,9 +14,12 @@ def mci_discount_act(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/mci/models/discount/mci_discount_act.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/mci/models/discount/mci_discount_act.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("mci_discount_act", *args, **kwargs) diff --git a/spm/__toolbox/__mci/__models/__discount/mci_discount_deriv.py b/spm/__toolbox/__mci/__models/__discount/mci_discount_deriv.py index 74d31547..8497d525 100644 --- a/spm/__toolbox/__mci/__models/__discount/mci_discount_deriv.py +++ b/spm/__toolbox/__mci/__models/__discount/mci_discount_deriv.py @@ -2,7 +2,7 @@ def mci_discount_deriv(*args, **kwargs): - """ + r""" Gradient of likelihood for discounting model FORMAT [dLdp,iCpY,L] = mci_discount_deriv (P,M,U,Y) @@ -17,9 +17,12 @@ def mci_discount_deriv(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/mci/models/discount/mci_discount_deriv.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/mci/models/discount/mci_discount_deriv.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("mci_discount_deriv", *args, **kwargs) diff --git a/spm/__toolbox/__mci/__models/__discount/mci_discount_gen.py b/spm/__toolbox/__mci/__models/__discount/mci_discount_gen.py index 96425325..c384668b 100644 --- a/spm/__toolbox/__mci/__models/__discount/mci_discount_gen.py +++ b/spm/__toolbox/__mci/__models/__discount/mci_discount_gen.py @@ -2,7 +2,7 @@ def mci_discount_gen(*args, **kwargs): - """ + r""" Output of discounting model FORMAT [g,y] = mci_discount_gen (P,M,U) @@ -15,9 +15,12 @@ def mci_discount_gen(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/mci/models/discount/mci_discount_gen.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/mci/models/discount/mci_discount_gen.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("mci_discount_gen", *args, **kwargs) diff --git a/spm/__toolbox/__mci/__models/__discount/mci_discount_like.py b/spm/__toolbox/__mci/__models/__discount/mci_discount_like.py index 58adb561..b3c42a2a 100644 --- a/spm/__toolbox/__mci/__models/__discount/mci_discount_like.py +++ b/spm/__toolbox/__mci/__models/__discount/mci_discount_like.py @@ -2,7 +2,7 @@ def mci_discount_like(*args, **kwargs): - """ + r""" Compute log likelihood of discount model FORMAT [L,E,st] = mci_discount_like (P,M,U,Y) @@ -17,9 +17,12 @@ def mci_discount_like(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/mci/models/discount/mci_discount_like.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/mci/models/discount/mci_discount_like.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("mci_discount_like", *args, **kwargs) diff --git a/spm/__toolbox/__mci/__models/__discount/mci_discount_struct.py b/spm/__toolbox/__mci/__models/__discount/mci_discount_struct.py index 897becbc..a0e5a598 100644 --- a/spm/__toolbox/__mci/__models/__discount/mci_discount_struct.py +++ b/spm/__toolbox/__mci/__models/__discount/mci_discount_struct.py @@ -2,7 +2,7 @@ def mci_discount_struct(*args, **kwargs): - """ + r""" Set up data structures for discounting model FORMAT [M,U] = mci_discount_struct (Nobs) @@ -13,9 +13,12 @@ def mci_discount_struct(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/mci/models/discount/mci_discount_struct.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/mci/models/discount/mci_discount_struct.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("mci_discount_struct", *args, **kwargs) diff --git a/spm/__toolbox/__mci/__models/__growth/mci_pb_deriv.py b/spm/__toolbox/__mci/__models/__growth/mci_pb_deriv.py index 3eac2489..3377170a 100644 --- a/spm/__toolbox/__mci/__models/__growth/mci_pb_deriv.py +++ b/spm/__toolbox/__mci/__models/__growth/mci_pb_deriv.py @@ -2,7 +2,7 @@ def mci_pb_deriv(*args, **kwargs): - """ + r""" Gradient of log-likelihood for Preece-Baines model FORMAT [dLdp,iCpY,L] = mci_pb_deriv (P,M,U,Y) @@ -12,9 +12,12 @@ def mci_pb_deriv(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/mci/models/growth/mci_pb_deriv.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/mci/models/growth/mci_pb_deriv.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("mci_pb_deriv", *args, **kwargs) diff --git a/spm/__toolbox/__mci/__models/__growth/mci_pb_gen.py b/spm/__toolbox/__mci/__models/__growth/mci_pb_gen.py index 1e30b810..d8187dff 100644 --- a/spm/__toolbox/__mci/__models/__growth/mci_pb_gen.py +++ b/spm/__toolbox/__mci/__models/__growth/mci_pb_gen.py @@ -2,7 +2,7 @@ def mci_pb_gen(*args, **kwargs): - """ + r""" Preece-Baines growth model FORMAT [y] = mci_pb_gen (P,M,U) @@ -14,9 +14,12 @@ def mci_pb_gen(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/mci/models/growth/mci_pb_gen.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/mci/models/growth/mci_pb_gen.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("mci_pb_gen", *args, **kwargs) diff --git a/spm/__toolbox/__mci/__models/__growth/mci_pb_like.py b/spm/__toolbox/__mci/__models/__growth/mci_pb_like.py index f5c79dc8..06da609e 100644 --- a/spm/__toolbox/__mci/__models/__growth/mci_pb_like.py +++ b/spm/__toolbox/__mci/__models/__growth/mci_pb_like.py @@ -2,7 +2,7 @@ def mci_pb_like(*args, **kwargs): - """ + r""" Log-likelihood for Preece-Baines model FORMAT [L,yhat,st] = mci_pb_like (P,M,U,Y) @@ -11,9 +11,12 @@ def mci_pb_like(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/mci/models/growth/mci_pb_like.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/mci/models/growth/mci_pb_like.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("mci_pb_like", *args, **kwargs) diff --git a/spm/__toolbox/__mci/__models/__growth/mci_pb_struct.py b/spm/__toolbox/__mci/__models/__growth/mci_pb_struct.py index 5a83123f..5317fe8c 100644 --- a/spm/__toolbox/__mci/__models/__growth/mci_pb_struct.py +++ b/spm/__toolbox/__mci/__models/__growth/mci_pb_struct.py @@ -2,7 +2,7 @@ def mci_pb_struct(*args, **kwargs): - """ + r""" Preece-Baines model structure FORMAT [M,U] = mci_pb_struct (Nobs) @@ -13,9 +13,12 @@ def mci_pb_struct(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/mci/models/growth/mci_pb_struct.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/mci/models/growth/mci_pb_struct.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("mci_pb_struct", *args, **kwargs) diff --git a/spm/__toolbox/__mci/__models/__lds/mci_exp_init.py b/spm/__toolbox/__mci/__models/__lds/mci_exp_init.py index 1f6c3a1a..939cbf64 100644 --- a/spm/__toolbox/__mci/__models/__lds/mci_exp_init.py +++ b/spm/__toolbox/__mci/__models/__lds/mci_exp_init.py @@ -2,7 +2,7 @@ def mci_exp_init(*args, **kwargs): - """ + r""" Exponentially interpolate to t=0 FORMAT [w0,a] = mci_exp_init (Y,M,doplot) @@ -17,9 +17,12 @@ def mci_exp_init(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/mci/models/lds/mci_exp_init.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/mci/models/lds/mci_exp_init.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("mci_exp_init", *args, **kwargs) diff --git a/spm/__toolbox/__mci/__models/__lds/mci_interp_init.py b/spm/__toolbox/__mci/__models/__lds/mci_interp_init.py index e9234957..452f9598 100644 --- a/spm/__toolbox/__mci/__models/__lds/mci_interp_init.py +++ b/spm/__toolbox/__mci/__models/__lds/mci_interp_init.py @@ -2,7 +2,7 @@ def mci_interp_init(*args, **kwargs): - """ + r""" Linear interpolate to t=0 FORMAT [w0] = mci_interp_init (Y,M) @@ -15,9 +15,12 @@ def mci_interp_init(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/mci/models/lds/mci_interp_init.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/mci/models/lds/mci_interp_init.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("mci_interp_init", *args, **kwargs) diff --git a/spm/__toolbox/__mci/__models/__lds/mci_lds_dfdx.py b/spm/__toolbox/__mci/__models/__lds/mci_lds_dfdx.py index 5b93c72b..25921aba 100644 --- a/spm/__toolbox/__mci/__models/__lds/mci_lds_dfdx.py +++ b/spm/__toolbox/__mci/__models/__lds/mci_lds_dfdx.py @@ -2,7 +2,7 @@ def mci_lds_dfdx(*args, **kwargs): - """ + r""" Jacobian for linear system, dx/dt=Ax, with constrained connectivity FORMAT [A,Pt] = mci_lds_dfdx (x,u,P,M) @@ -16,9 +16,12 @@ def mci_lds_dfdx(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/mci/models/lds/mci_lds_dfdx.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/mci/models/lds/mci_lds_dfdx.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("mci_lds_dfdx", *args, **kwargs) diff --git a/spm/__toolbox/__mci/__models/__lds/mci_lds_fx.py b/spm/__toolbox/__mci/__models/__lds/mci_lds_fx.py index de7e8b5c..549b4143 100644 --- a/spm/__toolbox/__mci/__models/__lds/mci_lds_fx.py +++ b/spm/__toolbox/__mci/__models/__lds/mci_lds_fx.py @@ -2,7 +2,7 @@ def mci_lds_fx(*args, **kwargs): - """ + r""" Flow for linear system, dx/dt=Ax, with constrained connectivity FORMAT [f,A,Pt] = mci_lds_fx (x,u,P,M) @@ -17,9 +17,12 @@ def mci_lds_fx(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/mci/models/lds/mci_lds_fx.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/mci/models/lds/mci_lds_fx.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("mci_lds_fx", *args, **kwargs) diff --git a/spm/__toolbox/__mci/__models/__lds/mci_lds_gen.py b/spm/__toolbox/__mci/__models/__lds/mci_lds_gen.py index 2dd82356..2c82cd57 100644 --- a/spm/__toolbox/__mci/__models/__lds/mci_lds_gen.py +++ b/spm/__toolbox/__mci/__models/__lds/mci_lds_gen.py @@ -2,7 +2,7 @@ def mci_lds_gen(*args, **kwargs): - """ + r""" LDS constrained: generate data FORMAT [Y] = mci_lds_gen (M,U,P) @@ -14,9 +14,12 @@ def mci_lds_gen(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/mci/models/lds/mci_lds_gen.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/mci/models/lds/mci_lds_gen.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("mci_lds_gen", *args, **kwargs) diff --git a/spm/__toolbox/__mci/__models/__lds/mci_lds_group_data.py b/spm/__toolbox/__mci/__models/__lds/mci_lds_group_data.py index 194a22ae..fa922405 100644 --- a/spm/__toolbox/__mci/__models/__lds/mci_lds_group_data.py +++ b/spm/__toolbox/__mci/__models/__lds/mci_lds_group_data.py @@ -2,7 +2,7 @@ def mci_lds_group_data(*args, **kwargs): - """ + r""" Generate LDS data for a group of subjects FORMAT [pinit,pflow,names,M,U,Y] = mci_lds_group_data (lds) @@ -25,9 +25,12 @@ def mci_lds_group_data(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/mci/models/lds/mci_lds_group_data.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/mci/models/lds/mci_lds_group_data.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("mci_lds_group_data", *args, **kwargs) diff --git a/spm/__toolbox/__mci/__models/__lds/mci_lds_gx.py b/spm/__toolbox/__mci/__models/__lds/mci_lds_gx.py index c083683a..f9e90de1 100644 --- a/spm/__toolbox/__mci/__models/__lds/mci_lds_gx.py +++ b/spm/__toolbox/__mci/__models/__lds/mci_lds_gx.py @@ -2,15 +2,18 @@ def mci_lds_gx(*args, **kwargs): - """ + r""" Observation function for LDS FORMAT [y,L] = mci_lds_gx (x,u,P,M) __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/mci/models/lds/mci_lds_gx.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/mci/models/lds/mci_lds_gx.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("mci_lds_gx", *args, **kwargs) diff --git a/spm/__toolbox/__mci/__models/__lds/mci_lds_lat2par.py b/spm/__toolbox/__mci/__models/__lds/mci_lds_lat2par.py index 2c58e549..a7717e96 100644 --- a/spm/__toolbox/__mci/__models/__lds/mci_lds_lat2par.py +++ b/spm/__toolbox/__mci/__models/__lds/mci_lds_lat2par.py @@ -2,7 +2,7 @@ def mci_lds_lat2par(*args, **kwargs): - """ + r""" Convert latent params to params FORMAT [Pt,a,b] = mci_lds_lat2par (P,M) @@ -15,9 +15,12 @@ def mci_lds_lat2par(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/mci/models/lds/mci_lds_lat2par.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/mci/models/lds/mci_lds_lat2par.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("mci_lds_lat2par", *args, **kwargs) diff --git a/spm/__toolbox/__mci/__models/__lds/mci_lds_par2lat.py b/spm/__toolbox/__mci/__models/__lds/mci_lds_par2lat.py index 94162ed7..a66ca046 100644 --- a/spm/__toolbox/__mci/__models/__lds/mci_lds_par2lat.py +++ b/spm/__toolbox/__mci/__models/__lds/mci_lds_par2lat.py @@ -2,7 +2,7 @@ def mci_lds_par2lat(*args, **kwargs): - """ + r""" Convert parmas to latent params FORMAT [P] = mci_lds_par2lat (Pt,M) @@ -13,9 +13,12 @@ def mci_lds_par2lat(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/mci/models/lds/mci_lds_par2lat.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/mci/models/lds/mci_lds_par2lat.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("mci_lds_par2lat", *args, **kwargs) diff --git a/spm/__toolbox/__mci/__models/__lds/mci_lds_params.py b/spm/__toolbox/__mci/__models/__lds/mci_lds_params.py index 84715ebe..8bfbf597 100644 --- a/spm/__toolbox/__mci/__models/__lds/mci_lds_params.py +++ b/spm/__toolbox/__mci/__models/__lds/mci_lds_params.py @@ -2,7 +2,7 @@ def mci_lds_params(*args, **kwargs): - """ + r""" LDS constrained: sample params from prior FORMAT [P] = mci_lds_params (M,U) @@ -13,9 +13,12 @@ def mci_lds_params(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/mci/models/lds/mci_lds_params.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/mci/models/lds/mci_lds_params.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("mci_lds_params", *args, **kwargs) diff --git a/spm/__toolbox/__mci/__models/__lds/mci_lds_plot_params.py b/spm/__toolbox/__mci/__models/__lds/mci_lds_plot_params.py index 8c99bc7d..259885ab 100644 --- a/spm/__toolbox/__mci/__models/__lds/mci_lds_plot_params.py +++ b/spm/__toolbox/__mci/__models/__lds/mci_lds_plot_params.py @@ -2,7 +2,7 @@ def mci_lds_plot_params(*args, **kwargs): - """ + r""" Plot results of group LDS estimation FORMAT [rmse] = mci_lds_plot_results (MCI,lds) @@ -16,9 +16,12 @@ def mci_lds_plot_params(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/mci/models/lds/mci_lds_plot_params.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/mci/models/lds/mci_lds_plot_params.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("mci_lds_plot_results", *args, **kwargs) diff --git a/spm/__toolbox/__mci/__models/__lds/mci_lds_struct.py b/spm/__toolbox/__mci/__models/__lds/mci_lds_struct.py index 689ebe29..3ff53c32 100644 --- a/spm/__toolbox/__mci/__models/__lds/mci_lds_struct.py +++ b/spm/__toolbox/__mci/__models/__lds/mci_lds_struct.py @@ -2,7 +2,7 @@ def mci_lds_struct(*args, **kwargs): - """ + r""" LDS constrained: Initialise model structure FORMAT [M,U,names] = mci_lds_struct (M) @@ -22,9 +22,12 @@ def mci_lds_struct(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/mci/models/lds/mci_lds_struct.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/mci/models/lds/mci_lds_struct.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("mci_lds_struct", *args, **kwargs) diff --git a/spm/__toolbox/__mci/__models/__linear/mci_linear_deriv.py b/spm/__toolbox/__mci/__models/__linear/mci_linear_deriv.py index 2f142a56..cf76b3bc 100644 --- a/spm/__toolbox/__mci/__models/__linear/mci_linear_deriv.py +++ b/spm/__toolbox/__mci/__models/__linear/mci_linear_deriv.py @@ -2,7 +2,7 @@ def mci_linear_deriv(*args, **kwargs): - """ + r""" Gradient of likelihood for linear regression FORMAT [dLdp,iCpY,L] = mci_linear_deriv (P,M,U,Y) @@ -17,9 +17,12 @@ def mci_linear_deriv(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/mci/models/linear/mci_linear_deriv.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/mci/models/linear/mci_linear_deriv.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("mci_linear_deriv", *args, **kwargs) diff --git a/spm/__toolbox/__mci/__models/__linear/mci_linear_gen.py b/spm/__toolbox/__mci/__models/__linear/mci_linear_gen.py index 0dc73de4..9c8d86de 100644 --- a/spm/__toolbox/__mci/__models/__linear/mci_linear_gen.py +++ b/spm/__toolbox/__mci/__models/__linear/mci_linear_gen.py @@ -2,7 +2,7 @@ def mci_linear_gen(*args, **kwargs): - """ + r""" Output of linear model FORMAT [y] = mci_linear_gen (theta,M,U) @@ -14,9 +14,12 @@ def mci_linear_gen(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/mci/models/linear/mci_linear_gen.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/mci/models/linear/mci_linear_gen.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("mci_linear_gen", *args, **kwargs) diff --git a/spm/__toolbox/__mci/__models/__linear/mci_linear_like.py b/spm/__toolbox/__mci/__models/__linear/mci_linear_like.py index 2f1667c7..36e9bfb9 100644 --- a/spm/__toolbox/__mci/__models/__linear/mci_linear_like.py +++ b/spm/__toolbox/__mci/__models/__linear/mci_linear_like.py @@ -2,7 +2,7 @@ def mci_linear_like(*args, **kwargs): - """ + r""" Compute log likelihood of linear model FORMAT [L,E,st] = mci_linear_like (theta,M,U,Y) @@ -17,9 +17,12 @@ def mci_linear_like(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/mci/models/linear/mci_linear_like.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/mci/models/linear/mci_linear_like.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("mci_linear_like", *args, **kwargs) diff --git a/spm/__toolbox/__mci/__models/__linear/mci_linear_post.py b/spm/__toolbox/__mci/__models/__linear/mci_linear_post.py index 8529bdd2..f153b2e4 100644 --- a/spm/__toolbox/__mci/__models/__linear/mci_linear_post.py +++ b/spm/__toolbox/__mci/__models/__linear/mci_linear_post.py @@ -2,7 +2,7 @@ def mci_linear_post(*args, **kwargs): - """ + r""" Analytic posterior for linear regression FORMAT [Ep,Cp,L] = mci_linear_post (M,U,Y) @@ -16,9 +16,12 @@ def mci_linear_post(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/mci/models/linear/mci_linear_post.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/mci/models/linear/mci_linear_post.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("mci_linear_post", *args, **kwargs) diff --git a/spm/__toolbox/__mci/__models/__linear/mci_linear_struct.py b/spm/__toolbox/__mci/__models/__linear/mci_linear_struct.py index d23e9455..1bb5f306 100644 --- a/spm/__toolbox/__mci/__models/__linear/mci_linear_struct.py +++ b/spm/__toolbox/__mci/__models/__linear/mci_linear_struct.py @@ -2,7 +2,7 @@ def mci_linear_struct(*args, **kwargs): - """ + r""" Set up data structures for linear model FORMAT [M,U,Xfull] = mci_linear_struct (Nobs,lambda,des) @@ -16,9 +16,12 @@ def mci_linear_struct(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/mci/models/linear/mci_linear_struct.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/mci/models/linear/mci_linear_struct.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("mci_linear_struct", *args, **kwargs) diff --git a/spm/__toolbox/__mci/__models/__linsqr/mci_linsqr_deriv.py b/spm/__toolbox/__mci/__models/__linsqr/mci_linsqr_deriv.py index fc3f7fb1..7e987774 100644 --- a/spm/__toolbox/__mci/__models/__linsqr/mci_linsqr_deriv.py +++ b/spm/__toolbox/__mci/__models/__linsqr/mci_linsqr_deriv.py @@ -2,7 +2,7 @@ def mci_linsqr_deriv(*args, **kwargs): - """ + r""" Gradient of likelihood for linear regression FORMAT [dLdp,iCpY,L] = mci_linsqr_deriv (P,M,U,Y) @@ -17,9 +17,12 @@ def mci_linsqr_deriv(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/mci/models/linsqr/mci_linsqr_deriv.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/mci/models/linsqr/mci_linsqr_deriv.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("mci_linsqr_deriv", *args, **kwargs) diff --git a/spm/__toolbox/__mci/__models/__linsqr/mci_linsqr_gen.py b/spm/__toolbox/__mci/__models/__linsqr/mci_linsqr_gen.py index bb4057f4..9039b52c 100644 --- a/spm/__toolbox/__mci/__models/__linsqr/mci_linsqr_gen.py +++ b/spm/__toolbox/__mci/__models/__linsqr/mci_linsqr_gen.py @@ -2,7 +2,7 @@ def mci_linsqr_gen(*args, **kwargs): - """ + r""" Output of linear model with squared params FORMAT [y] = mci_linsqr_gen (theta,M,U) @@ -12,9 +12,12 @@ def mci_linsqr_gen(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/mci/models/linsqr/mci_linsqr_gen.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/mci/models/linsqr/mci_linsqr_gen.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("mci_linsqr_gen", *args, **kwargs) diff --git a/spm/__toolbox/__mci/__models/__linsqr/mci_linsqr_like.py b/spm/__toolbox/__mci/__models/__linsqr/mci_linsqr_like.py index 01fa14bb..9a876fe9 100644 --- a/spm/__toolbox/__mci/__models/__linsqr/mci_linsqr_like.py +++ b/spm/__toolbox/__mci/__models/__linsqr/mci_linsqr_like.py @@ -2,7 +2,7 @@ def mci_linsqr_like(*args, **kwargs): - """ + r""" Compute log likelihood of linear model FORMAT [L,E,st] = mci_linsqr_like (theta,M,U,Y) @@ -17,9 +17,12 @@ def mci_linsqr_like(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/mci/models/linsqr/mci_linsqr_like.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/mci/models/linsqr/mci_linsqr_like.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("mci_linsqr_like", *args, **kwargs) diff --git a/spm/__toolbox/__mci/__models/__linsqr/mci_linsqr_struct.py b/spm/__toolbox/__mci/__models/__linsqr/mci_linsqr_struct.py index e64127b9..773015b0 100644 --- a/spm/__toolbox/__mci/__models/__linsqr/mci_linsqr_struct.py +++ b/spm/__toolbox/__mci/__models/__linsqr/mci_linsqr_struct.py @@ -2,7 +2,7 @@ def mci_linsqr_struct(*args, **kwargs): - """ + r""" Set up data structures for linsqr model FORMAT [M,U,Xfull] = mci_linsqr_struct (Nobs,lambda,des) @@ -16,9 +16,12 @@ def mci_linsqr_struct(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/mci/models/linsqr/mci_linsqr_struct.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/mci/models/linsqr/mci_linsqr_struct.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("mci_linsqr_struct", *args, **kwargs) diff --git a/spm/__toolbox/__mci/__models/__logistic/mci_logistic_act.py b/spm/__toolbox/__mci/__models/__logistic/mci_logistic_act.py index 51a9d89d..8fb9391f 100644 --- a/spm/__toolbox/__mci/__models/__logistic/mci_logistic_act.py +++ b/spm/__toolbox/__mci/__models/__logistic/mci_logistic_act.py @@ -2,7 +2,7 @@ def mci_logistic_act(*args, **kwargs): - """ + r""" Activations of logistic model FORMAT [a] = mci_logistic_act (P,M,U) @@ -14,9 +14,12 @@ def mci_logistic_act(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/mci/models/logistic/mci_logistic_act.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/mci/models/logistic/mci_logistic_act.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("mci_logistic_act", *args, **kwargs) diff --git a/spm/__toolbox/__mci/__models/__logistic/mci_logistic_deriv.py b/spm/__toolbox/__mci/__models/__logistic/mci_logistic_deriv.py index 7d611d33..47b1f37e 100644 --- a/spm/__toolbox/__mci/__models/__logistic/mci_logistic_deriv.py +++ b/spm/__toolbox/__mci/__models/__logistic/mci_logistic_deriv.py @@ -2,7 +2,7 @@ def mci_logistic_deriv(*args, **kwargs): - """ + r""" Gradient of likelihood for logistic model FORMAT [dLdp,iCpY,L] = mci_logistic_deriv (P,M,U,Y) @@ -17,9 +17,12 @@ def mci_logistic_deriv(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/mci/models/logistic/mci_logistic_deriv.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/mci/models/logistic/mci_logistic_deriv.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("mci_logistic_deriv", *args, **kwargs) diff --git a/spm/__toolbox/__mci/__models/__logistic/mci_logistic_gen.py b/spm/__toolbox/__mci/__models/__logistic/mci_logistic_gen.py index 7dab1995..ac5e62ac 100644 --- a/spm/__toolbox/__mci/__models/__logistic/mci_logistic_gen.py +++ b/spm/__toolbox/__mci/__models/__logistic/mci_logistic_gen.py @@ -2,7 +2,7 @@ def mci_logistic_gen(*args, **kwargs): - """ + r""" Output of logistic regression model FORMAT [g,y] = mci_logistic_gen (P,M,U) @@ -15,9 +15,12 @@ def mci_logistic_gen(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/mci/models/logistic/mci_logistic_gen.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/mci/models/logistic/mci_logistic_gen.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("mci_logistic_gen", *args, **kwargs) diff --git a/spm/__toolbox/__mci/__models/__logistic/mci_logistic_like.py b/spm/__toolbox/__mci/__models/__logistic/mci_logistic_like.py index d4f5b13e..e4cef036 100644 --- a/spm/__toolbox/__mci/__models/__logistic/mci_logistic_like.py +++ b/spm/__toolbox/__mci/__models/__logistic/mci_logistic_like.py @@ -2,7 +2,7 @@ def mci_logistic_like(*args, **kwargs): - """ + r""" Compute log likelihood of logistic model FORMAT [L,E,st] = mci_logistic_like (P,M,U,Y) @@ -17,9 +17,12 @@ def mci_logistic_like(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/mci/models/logistic/mci_logistic_like.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/mci/models/logistic/mci_logistic_like.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("mci_logistic_like", *args, **kwargs) diff --git a/spm/__toolbox/__mci/__models/__logistic/mci_logistic_struct.py b/spm/__toolbox/__mci/__models/__logistic/mci_logistic_struct.py index 75fb385f..ca2f4e3d 100644 --- a/spm/__toolbox/__mci/__models/__logistic/mci_logistic_struct.py +++ b/spm/__toolbox/__mci/__models/__logistic/mci_logistic_struct.py @@ -2,7 +2,7 @@ def mci_logistic_struct(*args, **kwargs): - """ + r""" Set up data structures for logistic model FORMAT [M,U,Y] = mci_logistic_struct (log_data,T) @@ -15,9 +15,12 @@ def mci_logistic_struct(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/mci/models/logistic/mci_logistic_struct.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/mci/models/logistic/mci_logistic_struct.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("mci_logistic_struct", *args, **kwargs) diff --git a/spm/__toolbox/__mci/__models/__nmm/mci_nmm_fx_delay.py b/spm/__toolbox/__mci/__models/__nmm/mci_nmm_fx_delay.py index a54f9cae..c080e308 100644 --- a/spm/__toolbox/__mci/__models/__nmm/mci_nmm_fx_delay.py +++ b/spm/__toolbox/__mci/__models/__nmm/mci_nmm_fx_delay.py @@ -2,7 +2,7 @@ def mci_nmm_fx_delay(*args, **kwargs): - """ + r""" State equations for a neural mass model of erps with first order delays FORMAT [f] = mci_nmm_fx_delay (x,u,P,M) @@ -34,9 +34,12 @@ def mci_nmm_fx_delay(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/mci/models/nmm/mci_nmm_fx_delay.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/mci/models/nmm/mci_nmm_fx_delay.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("mci_nmm_fx_delay", *args, **kwargs) diff --git a/spm/__toolbox/__mci/__models/__nmm/mci_nmm_gen.py b/spm/__toolbox/__mci/__models/__nmm/mci_nmm_gen.py index 57e7eca8..86db0c0a 100644 --- a/spm/__toolbox/__mci/__models/__nmm/mci_nmm_gen.py +++ b/spm/__toolbox/__mci/__models/__nmm/mci_nmm_gen.py @@ -2,7 +2,7 @@ def mci_nmm_gen(*args, **kwargs): - """ + r""" Generate data from two region NMM FORMAT [Y] = mci_nmm_gen (M,U,P) @@ -14,9 +14,12 @@ def mci_nmm_gen(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/mci/models/nmm/mci_nmm_gen.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/mci/models/nmm/mci_nmm_gen.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("mci_nmm_gen", *args, **kwargs) diff --git a/spm/__toolbox/__mci/__models/__nmm/mci_nmm_params.py b/spm/__toolbox/__mci/__models/__nmm/mci_nmm_params.py index 743502ce..2f58e671 100644 --- a/spm/__toolbox/__mci/__models/__nmm/mci_nmm_params.py +++ b/spm/__toolbox/__mci/__models/__nmm/mci_nmm_params.py @@ -2,7 +2,7 @@ def mci_nmm_params(*args, **kwargs): - """ + r""" Generate parameters for two region NMM FORMAT [P] = mci_nmm_params (M,U) @@ -13,9 +13,12 @@ def mci_nmm_params(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/mci/models/nmm/mci_nmm_params.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/mci/models/nmm/mci_nmm_params.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("mci_nmm_params", *args, **kwargs) diff --git a/spm/__toolbox/__mci/__models/__nmm/mci_nmm_r2_gx.py b/spm/__toolbox/__mci/__models/__nmm/mci_nmm_r2_gx.py index 1cccea81..10aa8570 100644 --- a/spm/__toolbox/__mci/__models/__nmm/mci_nmm_r2_gx.py +++ b/spm/__toolbox/__mci/__models/__nmm/mci_nmm_r2_gx.py @@ -2,7 +2,7 @@ def mci_nmm_r2_gx(*args, **kwargs): - """ + r""" Observation function for 2-region NMM FORMAT [y,L] = mci_nmm_r2_gx (x,u,P,M) @@ -15,9 +15,12 @@ def mci_nmm_r2_gx(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/mci/models/nmm/mci_nmm_r2_gx.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/mci/models/nmm/mci_nmm_r2_gx.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("mci_nmm_r2_gx", *args, **kwargs) diff --git a/spm/__toolbox/__mci/__models/__nmm/mci_nmm_r2p2_dfdp.py b/spm/__toolbox/__mci/__models/__nmm/mci_nmm_r2p2_dfdp.py index a42edc5b..120a69de 100644 --- a/spm/__toolbox/__mci/__models/__nmm/mci_nmm_r2p2_dfdp.py +++ b/spm/__toolbox/__mci/__models/__nmm/mci_nmm_r2p2_dfdp.py @@ -2,7 +2,7 @@ def mci_nmm_r2p2_dfdp(*args, **kwargs): - """ + r""" Parameter Jacobian for two region, two parameter NMM FORMAT [F] = mci_nmm_r2p2_dfdp (x,u,P,M) @@ -15,9 +15,12 @@ def mci_nmm_r2p2_dfdp(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/mci/models/nmm/mci_nmm_r2p2_dfdp.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/mci/models/nmm/mci_nmm_r2p2_dfdp.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("mci_nmm_r2p2_dfdp", *args, **kwargs) diff --git a/spm/__toolbox/__mci/__models/__nmm/mci_nmm_r2p2_dfdx.py b/spm/__toolbox/__mci/__models/__nmm/mci_nmm_r2p2_dfdx.py index e0bc7282..20b44a4a 100644 --- a/spm/__toolbox/__mci/__models/__nmm/mci_nmm_r2p2_dfdx.py +++ b/spm/__toolbox/__mci/__models/__nmm/mci_nmm_r2p2_dfdx.py @@ -2,7 +2,7 @@ def mci_nmm_r2p2_dfdx(*args, **kwargs): - """ + r""" State Jacobian for two region, two parameter NMM FORMAT [F] = mci_nmm_r2p2_dfdp (x,u,P,M) @@ -15,9 +15,12 @@ def mci_nmm_r2p2_dfdx(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/mci/models/nmm/mci_nmm_r2p2_dfdx.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/mci/models/nmm/mci_nmm_r2p2_dfdx.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("mci_nmm_r2p2_dfdp", *args, **kwargs) diff --git a/spm/__toolbox/__mci/__models/__nmm/mci_nmm_r2p2_fx.py b/spm/__toolbox/__mci/__models/__nmm/mci_nmm_r2p2_fx.py index e6037fe1..5bc2929b 100644 --- a/spm/__toolbox/__mci/__models/__nmm/mci_nmm_r2p2_fx.py +++ b/spm/__toolbox/__mci/__models/__nmm/mci_nmm_r2p2_fx.py @@ -2,7 +2,7 @@ def mci_nmm_r2p2_fx(*args, **kwargs): - """ + r""" Flow for two region, two parameter NMM FORMAT [f] = mci_nmm_r2p2_fx (x,u,P,M) @@ -15,9 +15,12 @@ def mci_nmm_r2p2_fx(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/mci/models/nmm/mci_nmm_r2p2_fx.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/mci/models/nmm/mci_nmm_r2p2_fx.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("mci_nmm_r2p2_fx", *args, **kwargs) diff --git a/spm/__toolbox/__mci/__models/__nmm/mci_nmm_r2p6_fx.py b/spm/__toolbox/__mci/__models/__nmm/mci_nmm_r2p6_fx.py index 7422691e..f3c338a7 100644 --- a/spm/__toolbox/__mci/__models/__nmm/mci_nmm_r2p6_fx.py +++ b/spm/__toolbox/__mci/__models/__nmm/mci_nmm_r2p6_fx.py @@ -2,7 +2,7 @@ def mci_nmm_r2p6_fx(*args, **kwargs): - """ + r""" Flow for two region, six parameter NMM FORMAT [f] = mci_nmm_r2p6_fx (x,u,P,M) @@ -15,9 +15,12 @@ def mci_nmm_r2p6_fx(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/mci/models/nmm/mci_nmm_r2p6_fx.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/mci/models/nmm/mci_nmm_r2p6_fx.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("mci_nmm_r2p6_fx", *args, **kwargs) diff --git a/spm/__toolbox/__mci/__models/__nmm/mci_nmm_struct.py b/spm/__toolbox/__mci/__models/__nmm/mci_nmm_struct.py index 3c424c62..ea3e694d 100644 --- a/spm/__toolbox/__mci/__models/__nmm/mci_nmm_struct.py +++ b/spm/__toolbox/__mci/__models/__nmm/mci_nmm_struct.py @@ -2,7 +2,7 @@ def mci_nmm_struct(*args, **kwargs): - """ + r""" Set up two region NMM FORMAT [M,U] = mci_nmm_struct (back,sd,Np) @@ -15,9 +15,12 @@ def mci_nmm_struct(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/mci/models/nmm/mci_nmm_struct.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/mci/models/nmm/mci_nmm_struct.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("mci_nmm_struct", *args, **kwargs) diff --git a/spm/__toolbox/__mci/__models/__phase/mci_phase_dfdp.py b/spm/__toolbox/__mci/__models/__phase/mci_phase_dfdp.py index c812af4b..5b514937 100644 --- a/spm/__toolbox/__mci/__models/__phase/mci_phase_dfdp.py +++ b/spm/__toolbox/__mci/__models/__phase/mci_phase_dfdp.py @@ -2,7 +2,7 @@ def mci_phase_dfdp(*args, **kwargs): - """ + r""" Parameter sensitivity for phase model FORMAT [dfdp] = mci_phase_dfdp (x,u,P,M) @@ -15,9 +15,12 @@ def mci_phase_dfdp(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/mci/models/phase/mci_phase_dfdp.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/mci/models/phase/mci_phase_dfdp.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("mci_phase_dfdp", *args, **kwargs) diff --git a/spm/__toolbox/__mci/__models/__phase/mci_phase_dfdx.py b/spm/__toolbox/__mci/__models/__phase/mci_phase_dfdx.py index 3f787a45..d6f69d4f 100644 --- a/spm/__toolbox/__mci/__models/__phase/mci_phase_dfdx.py +++ b/spm/__toolbox/__mci/__models/__phase/mci_phase_dfdx.py @@ -2,7 +2,7 @@ def mci_phase_dfdx(*args, **kwargs): - """ + r""" State sensitivity for phase model FORMAT [dfdx] = mci_phase_dfdx (x,u,P,M) @@ -14,9 +14,12 @@ def mci_phase_dfdx(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/mci/models/phase/mci_phase_dfdx.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/mci/models/phase/mci_phase_dfdx.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("mci_phase_dfdx", *args, **kwargs) diff --git a/spm/__toolbox/__mci/__models/__phase/mci_phase_fx.py b/spm/__toolbox/__mci/__models/__phase/mci_phase_fx.py index efa54bc6..dc47c0ad 100644 --- a/spm/__toolbox/__mci/__models/__phase/mci_phase_fx.py +++ b/spm/__toolbox/__mci/__models/__phase/mci_phase_fx.py @@ -2,7 +2,7 @@ def mci_phase_fx(*args, **kwargs): - """ + r""" Flow function for phase model FORMAT [f] = mci_phase_fx (x,u,P,M) @@ -15,9 +15,12 @@ def mci_phase_fx(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/mci/models/phase/mci_phase_fx.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/mci/models/phase/mci_phase_fx.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("mci_phase_fx", *args, **kwargs) diff --git a/spm/__toolbox/__mci/__models/__phase/mci_phase_gx.py b/spm/__toolbox/__mci/__models/__phase/mci_phase_gx.py index 75be3c53..31ca8b38 100644 --- a/spm/__toolbox/__mci/__models/__phase/mci_phase_gx.py +++ b/spm/__toolbox/__mci/__models/__phase/mci_phase_gx.py @@ -2,15 +2,18 @@ def mci_phase_gx(*args, **kwargs): - """ + r""" Observation function for phase model FORMAT [y,L] = mci_phase_gx (x,u,P,M) __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/mci/models/phase/mci_phase_gx.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/mci/models/phase/mci_phase_gx.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("mci_phase_gx", *args, **kwargs) diff --git a/spm/__toolbox/__mci/__models/__phase/mci_phase_init.py b/spm/__toolbox/__mci/__models/__phase/mci_phase_init.py index 01c72d4e..073590b4 100644 --- a/spm/__toolbox/__mci/__models/__phase/mci_phase_init.py +++ b/spm/__toolbox/__mci/__models/__phase/mci_phase_init.py @@ -2,7 +2,7 @@ def mci_phase_init(*args, **kwargs): - """ + r""" Initialise weakly coupled oscillator model FORMAT [P,M,U,Y] = mci_phase_init (d) @@ -15,9 +15,12 @@ def mci_phase_init(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/mci/models/phase/mci_phase_init.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/mci/models/phase/mci_phase_init.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("mci_phase_init", *args, **kwargs) diff --git a/spm/__toolbox/__mci/__models/__phase/mci_rphase_dfdp.py b/spm/__toolbox/__mci/__models/__phase/mci_rphase_dfdp.py index 9e0e80ab..7b37b066 100644 --- a/spm/__toolbox/__mci/__models/__phase/mci_rphase_dfdp.py +++ b/spm/__toolbox/__mci/__models/__phase/mci_rphase_dfdp.py @@ -2,7 +2,7 @@ def mci_rphase_dfdp(*args, **kwargs): - """ + r""" Parameter sensitivity for phase model FORMAT [dfdp] = mci_rphase_dfdp (x,u,P,M) @@ -15,9 +15,12 @@ def mci_rphase_dfdp(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/mci/models/phase/mci_rphase_dfdp.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/mci/models/phase/mci_rphase_dfdp.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("mci_rphase_dfdp", *args, **kwargs) diff --git a/spm/__toolbox/__mci/__models/__phase/mci_rphase_dfdx.py b/spm/__toolbox/__mci/__models/__phase/mci_rphase_dfdx.py index 2f36f3b6..23532350 100644 --- a/spm/__toolbox/__mci/__models/__phase/mci_rphase_dfdx.py +++ b/spm/__toolbox/__mci/__models/__phase/mci_rphase_dfdx.py @@ -2,7 +2,7 @@ def mci_rphase_dfdx(*args, **kwargs): - """ + r""" State sensitivity for phase model (reduced connectivity) FORMAT [dfdx] = mci_rphase_dfdx (x,u,P,M) @@ -14,9 +14,12 @@ def mci_rphase_dfdx(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/mci/models/phase/mci_rphase_dfdx.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/mci/models/phase/mci_rphase_dfdx.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("mci_rphase_dfdx", *args, **kwargs) diff --git a/spm/__toolbox/__mci/__models/__phase/mci_rphase_fx.py b/spm/__toolbox/__mci/__models/__phase/mci_rphase_fx.py index df33cb48..2e171eaf 100644 --- a/spm/__toolbox/__mci/__models/__phase/mci_rphase_fx.py +++ b/spm/__toolbox/__mci/__models/__phase/mci_rphase_fx.py @@ -2,7 +2,7 @@ def mci_rphase_fx(*args, **kwargs): - """ + r""" Flow function for phase model FORMAT [f] = mci_rphase_fx (x,u,P,M) @@ -15,9 +15,12 @@ def mci_rphase_fx(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/mci/models/phase/mci_rphase_fx.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/mci/models/phase/mci_rphase_fx.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("mci_rphase_fx", *args, **kwargs) diff --git a/spm/__toolbox/__mci/__models/__phase/mci_rphase_gen.py b/spm/__toolbox/__mci/__models/__phase/mci_rphase_gen.py index 29a616cc..4b41bece 100644 --- a/spm/__toolbox/__mci/__models/__phase/mci_rphase_gen.py +++ b/spm/__toolbox/__mci/__models/__phase/mci_rphase_gen.py @@ -2,7 +2,7 @@ def mci_rphase_gen(*args, **kwargs): - """ + r""" Generate data from reduced WCO model FORMAT [Y] = mci_rphase_gen (P,M,U) @@ -14,9 +14,12 @@ def mci_rphase_gen(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/mci/models/phase/mci_rphase_gen.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/mci/models/phase/mci_rphase_gen.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("mci_rphase_gen", *args, **kwargs) diff --git a/spm/__toolbox/__mci/__models/__phase/mci_rphase_struct.py b/spm/__toolbox/__mci/__models/__phase/mci_rphase_struct.py index 6b555566..86647cc2 100644 --- a/spm/__toolbox/__mci/__models/__phase/mci_rphase_struct.py +++ b/spm/__toolbox/__mci/__models/__phase/mci_rphase_struct.py @@ -2,7 +2,7 @@ def mci_rphase_struct(*args, **kwargs): - """ + r""" Initialise weakly coupled oscillator model - reduced connectivity FORMAT [M,U] = mci_rphase_init (d,conn) @@ -13,9 +13,12 @@ def mci_rphase_struct(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/mci/models/phase/mci_rphase_struct.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/mci/models/phase/mci_rphase_struct.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("mci_rphase_init", *args, **kwargs) diff --git a/spm/__toolbox/__mci/__models/__ramsay/mci_ramsay_fx.py b/spm/__toolbox/__mci/__models/__ramsay/mci_ramsay_fx.py index 5a6c1ff0..077750fe 100644 --- a/spm/__toolbox/__mci/__models/__ramsay/mci_ramsay_fx.py +++ b/spm/__toolbox/__mci/__models/__ramsay/mci_ramsay_fx.py @@ -2,7 +2,7 @@ def mci_ramsay_fx(*args, **kwargs): - """ + r""" State equation for Ramsay model FORMAT [F] = mci_ramsay_fx (x,U,P,M) @@ -25,9 +25,12 @@ def mci_ramsay_fx(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/mci/models/ramsay/mci_ramsay_fx.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/mci/models/ramsay/mci_ramsay_fx.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("mci_ramsay_fx", *args, **kwargs) diff --git a/spm/__toolbox/__mci/__models/__ramsay/mci_ramsay_gen.py b/spm/__toolbox/__mci/__models/__ramsay/mci_ramsay_gen.py index ff63a317..289bab3b 100644 --- a/spm/__toolbox/__mci/__models/__ramsay/mci_ramsay_gen.py +++ b/spm/__toolbox/__mci/__models/__ramsay/mci_ramsay_gen.py @@ -2,7 +2,7 @@ def mci_ramsay_gen(*args, **kwargs): - """ + r""" Generate data from Ramsay model FORMAT [Y] = mci_ramsay_gen (P,M,U) @@ -14,9 +14,12 @@ def mci_ramsay_gen(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/mci/models/ramsay/mci_ramsay_gen.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/mci/models/ramsay/mci_ramsay_gen.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("mci_ramsay_gen", *args, **kwargs) diff --git a/spm/__toolbox/__mci/__models/__ramsay/mci_ramsay_gx.py b/spm/__toolbox/__mci/__models/__ramsay/mci_ramsay_gx.py index 63bc88b5..1d8948eb 100644 --- a/spm/__toolbox/__mci/__models/__ramsay/mci_ramsay_gx.py +++ b/spm/__toolbox/__mci/__models/__ramsay/mci_ramsay_gx.py @@ -2,7 +2,7 @@ def mci_ramsay_gx(*args, **kwargs): - """ + r""" Observation equation for Ramsay model FORMAT [y,L] = spm_ramsay_gx (x,u,P,M) @@ -13,9 +13,12 @@ def mci_ramsay_gx(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/mci/models/ramsay/mci_ramsay_gx.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/mci/models/ramsay/mci_ramsay_gx.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_ramsay_gx", *args, **kwargs) diff --git a/spm/__toolbox/__mci/__models/__ramsay/mci_ramsay_struct.py b/spm/__toolbox/__mci/__models/__ramsay/mci_ramsay_struct.py index 2b5a167c..e9c02ff6 100644 --- a/spm/__toolbox/__mci/__models/__ramsay/mci_ramsay_struct.py +++ b/spm/__toolbox/__mci/__models/__ramsay/mci_ramsay_struct.py @@ -2,7 +2,7 @@ def mci_ramsay_struct(*args, **kwargs): - """ + r""" Data structures for Ramsay model FORMAT [M,U] = mci_ramsay_struct (sigme_e) @@ -12,9 +12,12 @@ def mci_ramsay_struct(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/mci/models/ramsay/mci_ramsay_struct.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/mci/models/ramsay/mci_ramsay_struct.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("mci_ramsay_struct", *args, **kwargs) diff --git a/spm/__toolbox/__mci/__plotting/mci_plot_surface.py b/spm/__toolbox/__mci/__plotting/mci_plot_surface.py index 0aeaeaaa..b681adf7 100644 --- a/spm/__toolbox/__mci/__plotting/mci_plot_surface.py +++ b/spm/__toolbox/__mci/__plotting/mci_plot_surface.py @@ -2,7 +2,7 @@ def mci_plot_surface(*args, **kwargs): - """ + r""" Plot log probability surface FORMAT [log_prob,S,E] = mci_plot_surface (P,M,U,Y,S,dist) @@ -15,9 +15,12 @@ def mci_plot_surface(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/mci/plotting/mci_plot_surface.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/mci/plotting/mci_plot_surface.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("mci_plot_surface", *args, **kwargs) diff --git a/spm/__toolbox/__mixture/spm_MNpdf.py b/spm/__toolbox/__mixture/spm_MNpdf.py index 9a537a7a..6e3db30c 100644 --- a/spm/__toolbox/__mixture/spm_MNpdf.py +++ b/spm/__toolbox/__mixture/spm_MNpdf.py @@ -2,7 +2,7 @@ def spm_MNpdf(*args, **kwargs): - """ + r""" Evaluate a Multivariate Gaussian PDF FORMAT [y] = spm_MNpdf (m, C, x) @@ -14,9 +14,12 @@ def spm_MNpdf(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/mixture/spm_MNpdf.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/mixture/spm_MNpdf.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_MNpdf", *args, **kwargs) diff --git a/spm/__toolbox/__mixture/spm_boxcars.py b/spm/__toolbox/__mixture/spm_boxcars.py index a50b8e23..a86e84fb 100644 --- a/spm/__toolbox/__mixture/spm_boxcars.py +++ b/spm/__toolbox/__mixture/spm_boxcars.py @@ -2,7 +2,7 @@ def spm_boxcars(*args, **kwargs): - """ + r""" Generate boxcar variable FORMAT [x,t,xi] = spm_boxcars(T,fs,len) @@ -17,9 +17,12 @@ def spm_boxcars(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/mixture/spm_boxcars.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/mixture/spm_boxcars.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_boxcars", *args, **kwargs) diff --git a/spm/__toolbox/__mixture/spm_glm.py b/spm/__toolbox/__mixture/spm_glm.py index ad561d00..f2b8e1e7 100644 --- a/spm/__toolbox/__mixture/spm_glm.py +++ b/spm/__toolbox/__mixture/spm_glm.py @@ -2,7 +2,7 @@ def spm_glm(*args, **kwargs): - """ + r""" Fit a Bayesian GLM FORMAT [rglm] = spm_glm (y,X,alpha,verbose) @@ -36,9 +36,12 @@ def spm_glm(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/mixture/spm_glm.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/mixture/spm_glm.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_glm", *args, **kwargs) diff --git a/spm/__toolbox/__mixture/spm_kmeans.py b/spm/__toolbox/__mixture/spm_kmeans.py index 42a504e4..1edd104a 100644 --- a/spm/__toolbox/__mixture/spm_kmeans.py +++ b/spm/__toolbox/__mixture/spm_kmeans.py @@ -2,7 +2,7 @@ def spm_kmeans(*args, **kwargs): - """ + r""" K-means clustering FORMAT [priors,means,covs,post] = spm_kmeans (y,k,method,return_cov) @@ -20,9 +20,12 @@ def spm_kmeans(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/mixture/spm_kmeans.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/mixture/spm_kmeans.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_kmeans", *args, **kwargs) diff --git a/spm/__toolbox/__mixture/spm_kmeans1.py b/spm/__toolbox/__mixture/spm_kmeans1.py index dabbf560..7fcb57cb 100644 --- a/spm/__toolbox/__mixture/spm_kmeans1.py +++ b/spm/__toolbox/__mixture/spm_kmeans1.py @@ -2,7 +2,7 @@ def spm_kmeans1(*args, **kwargs): - """ + r""" K-means clustering for 1-dimensional data FORMAT [mix1] = spm_kmeans1 (y,k) @@ -22,9 +22,12 @@ def spm_kmeans1(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/mixture/spm_kmeans1.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/mixture/spm_kmeans1.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_kmeans1", *args, **kwargs) diff --git a/spm/__toolbox/__mixture/spm_mix.py b/spm/__toolbox/__mixture/spm_mix.py index 38c48d22..d3c08d4a 100644 --- a/spm/__toolbox/__mixture/spm_mix.py +++ b/spm/__toolbox/__mixture/spm_mix.py @@ -2,7 +2,7 @@ def spm_mix(*args, **kwargs): - """ + r""" Fit a multivariate Gaussian Mixture model using VB FORMAT [mix] = spm_mix (y,m,verbose) @@ -44,9 +44,12 @@ def spm_mix(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/mixture/spm_mix.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/mixture/spm_mix.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_mix", *args, **kwargs) diff --git a/spm/__toolbox/__mixture/spm_mix_demo1d.py b/spm/__toolbox/__mixture/spm_mix_demo1d.py index df819169..ddb8e11d 100644 --- a/spm/__toolbox/__mixture/spm_mix_demo1d.py +++ b/spm/__toolbox/__mixture/spm_mix_demo1d.py @@ -2,7 +2,7 @@ def spm_mix_demo1d(*args, **kwargs): - """ + r""" Demonstrate use of spm_mix on 1D data FORMAT [vbmix logev mixdata] = spm_mix_demo1d (data, maxcomps, plotfits) @@ -16,9 +16,12 @@ def spm_mix_demo1d(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/mixture/spm_mix_demo1d.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/mixture/spm_mix_demo1d.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_mix_demo1d", *args, **kwargs) diff --git a/spm/__toolbox/__mixture/spm_rglm.py b/spm/__toolbox/__mixture/spm_rglm.py index 997ff870..44218470 100644 --- a/spm/__toolbox/__mixture/spm_rglm.py +++ b/spm/__toolbox/__mixture/spm_rglm.py @@ -2,7 +2,7 @@ def spm_rglm(*args, **kwargs): - """ + r""" Fit a Robust GLM FORMAT [rglm,yclean] = spm_rglm (y,X,m,priors,verbose) @@ -43,9 +43,12 @@ def spm_rglm(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/mixture/spm_rglm.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/mixture/spm_rglm.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_rglm", *args, **kwargs) diff --git a/spm/__toolbox/__mixture/spm_samp_gauss.py b/spm/__toolbox/__mixture/spm_samp_gauss.py index d3bc62dd..81d8a10c 100644 --- a/spm/__toolbox/__mixture/spm_samp_gauss.py +++ b/spm/__toolbox/__mixture/spm_samp_gauss.py @@ -2,7 +2,7 @@ def spm_samp_gauss(*args, **kwargs): - """ + r""" Sample from a Gaussian PDF FORMAT [x] = spm_samp_gauss (m, C, N, dC, vC) m [d x 1] mean @@ -15,9 +15,12 @@ def spm_samp_gauss(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/mixture/spm_samp_gauss.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/mixture/spm_samp_gauss.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_samp_gauss", *args, **kwargs) diff --git a/spm/__toolbox/__mixture/spm_samp_mix.py b/spm/__toolbox/__mixture/spm_samp_mix.py index 2ecd0585..4b5323c5 100644 --- a/spm/__toolbox/__mixture/spm_samp_mix.py +++ b/spm/__toolbox/__mixture/spm_samp_mix.py @@ -2,7 +2,7 @@ def spm_samp_mix(*args, **kwargs): - """ + r""" Sample from a Gaussian Mixture PDF FORMAT [x,label] = spm_samp_mix (mix, N) @@ -14,9 +14,12 @@ def spm_samp_mix(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/mixture/spm_samp_mix.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/mixture/spm_samp_mix.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_samp_mix", *args, **kwargs) diff --git a/spm/__toolbox/__mlm/spm_cva_compare.py b/spm/__toolbox/__mlm/spm_cva_compare.py index f1b67a4a..ddafbd3a 100644 --- a/spm/__toolbox/__mlm/spm_cva_compare.py +++ b/spm/__toolbox/__mlm/spm_cva_compare.py @@ -2,7 +2,7 @@ def spm_cva_compare(*args, **kwargs): - """ + r""" Model comparison for probabilistic CVA FORMAT [CVA] = spm_cva_compare (Y,X,c) @@ -27,9 +27,12 @@ def spm_cva_compare(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/mlm/spm_cva_compare.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/mlm/spm_cva_compare.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_cva_compare", *args, **kwargs) diff --git a/spm/__toolbox/__mlm/spm_cva_prob.py b/spm/__toolbox/__mlm/spm_cva_prob.py index 298b2bf8..abf323fd 100644 --- a/spm/__toolbox/__mlm/spm_cva_prob.py +++ b/spm/__toolbox/__mlm/spm_cva_prob.py @@ -2,7 +2,7 @@ def spm_cva_prob(*args, **kwargs): - """ + r""" Probabilistic Canonical Variates Analysis FORMAT [CVA] = spm_cva_prob (X1,X2,m) @@ -31,9 +31,12 @@ def spm_cva_prob(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/mlm/spm_cva_prob.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/mlm/spm_cva_prob.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_cva_prob", *args, **kwargs) diff --git a/spm/__toolbox/__mlm/spm_mlm_bayes.py b/spm/__toolbox/__mlm/spm_mlm_bayes.py index 12d92382..85616231 100644 --- a/spm/__toolbox/__mlm/spm_mlm_bayes.py +++ b/spm/__toolbox/__mlm/spm_mlm_bayes.py @@ -2,7 +2,7 @@ def spm_mlm_bayes(*args, **kwargs): - """ + r""" Bayesian Multivariate Linear Modelling FORMAT [mlm] = spm_mlm_bayes (y,x,pr,verbose,ml_only) @@ -43,9 +43,12 @@ def spm_mlm_bayes(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/mlm/spm_mlm_bayes.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/mlm/spm_mlm_bayes.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_mlm_bayes", *args, **kwargs) diff --git a/spm/__toolbox/__mlm/spm_mlm_makecon.py b/spm/__toolbox/__mlm/spm_mlm_makecon.py index eb894bb3..0946022b 100644 --- a/spm/__toolbox/__mlm/spm_mlm_makecon.py +++ b/spm/__toolbox/__mlm/spm_mlm_makecon.py @@ -2,7 +2,7 @@ def spm_mlm_makecon(*args, **kwargs): - """ + r""" Make contrast to test if the subset of coefficients indexed by w = 0 ? FORMAT [con_vec] = spm_mlm_makecon (mlm,w) @@ -16,9 +16,12 @@ def spm_mlm_makecon(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/mlm/spm_mlm_makecon.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/mlm/spm_mlm_makecon.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_mlm_makecon", *args, **kwargs) diff --git a/spm/__toolbox/__mlm/spm_mlm_posthoc.py b/spm/__toolbox/__mlm/spm_mlm_posthoc.py index 1442f8fa..e3c7b0b6 100644 --- a/spm/__toolbox/__mlm/spm_mlm_posthoc.py +++ b/spm/__toolbox/__mlm/spm_mlm_posthoc.py @@ -2,7 +2,7 @@ def spm_mlm_posthoc(*args, **kwargs): - """ + r""" Post-hoc model comparison of multivariate linear models FORMAT [logbf] = spm_mlm_posthoc (mlm,c,a) @@ -27,9 +27,12 @@ def spm_mlm_posthoc(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/mlm/spm_mlm_posthoc.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/mlm/spm_mlm_posthoc.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_mlm_posthoc", *args, **kwargs) diff --git a/spm/__toolbox/__mlm/spm_pca_order.py b/spm/__toolbox/__mlm/spm_pca_order.py index 8e54692b..a0793f3b 100644 --- a/spm/__toolbox/__mlm/spm_pca_order.py +++ b/spm/__toolbox/__mlm/spm_pca_order.py @@ -2,7 +2,7 @@ def spm_pca_order(*args, **kwargs): - """ + r""" Model order selection for PCA FORMAT [M_opt,log_ev,lambda,var] = spm_pca_order (X, N) @@ -32,9 +32,12 @@ def spm_pca_order(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/mlm/spm_pca_order.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/mlm/spm_pca_order.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_pca_order", *args, **kwargs) diff --git a/spm/__toolbox/__mlm/spm_vpca.py b/spm/__toolbox/__mlm/spm_vpca.py index 92708852..3de55b08 100644 --- a/spm/__toolbox/__mlm/spm_vpca.py +++ b/spm/__toolbox/__mlm/spm_vpca.py @@ -2,7 +2,7 @@ def spm_vpca(*args, **kwargs): - """ + r""" Variational Principal Component Analysis FORMAT [pca] = spm_vpca (T,q,Bayes) @@ -34,9 +34,12 @@ def spm_vpca(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/mlm/spm_vpca.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/mlm/spm_vpca.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_vpca", *args, **kwargs) diff --git a/spm/__toolbox/__mlm/spm_vpca_f.py b/spm/__toolbox/__mlm/spm_vpca_f.py index 3e20a782..1f0896ac 100644 --- a/spm/__toolbox/__mlm/spm_vpca_f.py +++ b/spm/__toolbox/__mlm/spm_vpca_f.py @@ -2,7 +2,7 @@ def spm_vpca_f(*args, **kwargs): - """ + r""" Compute free energy of VPCA model FORMAT [Fm] = spm_vpca_f (pca,c) @@ -13,9 +13,12 @@ def spm_vpca_f(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/mlm/spm_vpca_f.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/mlm/spm_vpca_f.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_vpca_f", *args, **kwargs) diff --git a/spm/__toolbox/__mlm/spm_vpca_init.py b/spm/__toolbox/__mlm/spm_vpca_init.py index 521f41ca..99a8a984 100644 --- a/spm/__toolbox/__mlm/spm_vpca_init.py +++ b/spm/__toolbox/__mlm/spm_vpca_init.py @@ -2,7 +2,7 @@ def spm_vpca_init(*args, **kwargs): - """ + r""" Initialise VPCA model function [W_ml,lambda,sigma2] = spm_vpca_init (T, form_cov) @@ -17,9 +17,12 @@ def spm_vpca_init(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/mlm/spm_vpca_init.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/mlm/spm_vpca_init.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_vpca_init", *args, **kwargs) diff --git a/spm/__toolbox/__mlm/spm_vpca_update.py b/spm/__toolbox/__mlm/spm_vpca_update.py index 31daa6e1..1a84af17 100644 --- a/spm/__toolbox/__mlm/spm_vpca_update.py +++ b/spm/__toolbox/__mlm/spm_vpca_update.py @@ -2,7 +2,7 @@ def spm_vpca_update(*args, **kwargs): - """ + r""" Update VPCA parameters FORMAT [pca,c] = spm_vpca_update (T,S,pca,c,m) @@ -17,9 +17,12 @@ def spm_vpca_update(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/mlm/spm_vpca_update.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/mlm/spm_vpca_update.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_vpca_update", *args, **kwargs) diff --git a/spm/__toolbox/__spectral/spm_ar.py b/spm/__toolbox/__spectral/spm_ar.py index 3be51f11..498d20cb 100644 --- a/spm/__toolbox/__spectral/spm_ar.py +++ b/spm/__toolbox/__spectral/spm_ar.py @@ -2,7 +2,7 @@ def spm_ar(*args, **kwargs): - """ + r""" Bayesian autoregressive modelling FORMAT [ar] = spm_ar (Z,p,verbose) @@ -38,9 +38,12 @@ def spm_ar(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/spectral/spm_ar.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/spectral/spm_ar.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_ar", *args, **kwargs) diff --git a/spm/__toolbox/__spectral/spm_ar_freq.py b/spm/__toolbox/__spectral/spm_ar_freq.py index 4fc8af78..2e4ad84c 100644 --- a/spm/__toolbox/__spectral/spm_ar_freq.py +++ b/spm/__toolbox/__spectral/spm_ar_freq.py @@ -2,7 +2,7 @@ def spm_ar_freq(*args, **kwargs): - """ + r""" Compute spectra from AR coefficients FORMAT [p] = spm_ar_freq (ar, freq, fs) @@ -14,9 +14,12 @@ def spm_ar_freq(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/spectral/spm_ar_freq.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/spectral/spm_ar_freq.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_ar_freq", *args, **kwargs) diff --git a/spm/__toolbox/__spectral/spm_ar_pred.py b/spm/__toolbox/__spectral/spm_ar_pred.py index 061ecb64..64796f3f 100644 --- a/spm/__toolbox/__spectral/spm_ar_pred.py +++ b/spm/__toolbox/__spectral/spm_ar_pred.py @@ -2,7 +2,7 @@ def spm_ar_pred(*args, **kwargs): - """ + r""" Make predictions from Bayesian autoregressive models FORMAT [y_pred,y,r2] = spm_ar_pred (Z,ar) @@ -15,9 +15,12 @@ def spm_ar_pred(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/spectral/spm_ar_pred.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/spectral/spm_ar_pred.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_ar_pred", *args, **kwargs) diff --git a/spm/__toolbox/__spectral/spm_ccf2coh.py b/spm/__toolbox/__spectral/spm_ccf2coh.py index 6e575d37..5e25c87a 100644 --- a/spm/__toolbox/__spectral/spm_ccf2coh.py +++ b/spm/__toolbox/__spectral/spm_ccf2coh.py @@ -2,7 +2,7 @@ def spm_ccf2coh(*args, **kwargs): - """ + r""" Converts cross covariance function to coherence FORMAT [coh] = spm_ccf2coh(ccf,Hz) @@ -16,9 +16,12 @@ def spm_ccf2coh(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/spectral/spm_ccf2coh.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/spectral/spm_ccf2coh.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_ccf2coh", *args, **kwargs) diff --git a/spm/__toolbox/__spectral/spm_ccf2cor.py b/spm/__toolbox/__spectral/spm_ccf2cor.py index 0638c02f..3a459aac 100644 --- a/spm/__toolbox/__spectral/spm_ccf2cor.py +++ b/spm/__toolbox/__spectral/spm_ccf2cor.py @@ -2,7 +2,7 @@ def spm_ccf2cor(*args, **kwargs): - """ + r""" Converts cross covariance function to correlation and covariance FORMAT [cor,cov] = spm_ccf2cor(ccf) @@ -17,9 +17,12 @@ def spm_ccf2cor(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/spectral/spm_ccf2cor.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/spectral/spm_ccf2cor.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_ccf2cor", *args, **kwargs) diff --git a/spm/__toolbox/__spectral/spm_ccf2csd.py b/spm/__toolbox/__spectral/spm_ccf2csd.py index 86082eda..f399495f 100644 --- a/spm/__toolbox/__spectral/spm_ccf2csd.py +++ b/spm/__toolbox/__spectral/spm_ccf2csd.py @@ -2,7 +2,7 @@ def spm_ccf2csd(*args, **kwargs): - """ + r""" Converts cross covariance function to cross spectral density FORMAT [csd,Hz] = spm_ccf2csd(ccf,Hz) @@ -16,9 +16,12 @@ def spm_ccf2csd(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/spectral/spm_ccf2csd.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/spectral/spm_ccf2csd.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_ccf2csd", *args, **kwargs) diff --git a/spm/__toolbox/__spectral/spm_ccf2gew.py b/spm/__toolbox/__spectral/spm_ccf2gew.py index 3abe5640..0e831632 100644 --- a/spm/__toolbox/__spectral/spm_ccf2gew.py +++ b/spm/__toolbox/__spectral/spm_ccf2gew.py @@ -2,7 +2,7 @@ def spm_ccf2gew(*args, **kwargs): - """ + r""" Converts cross covariance function to Geweke Granger causality FORMAT [gew] = spm_ccf2gew(ccf,Hz,dt,p) @@ -19,9 +19,12 @@ def spm_ccf2gew(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/spectral/spm_ccf2gew.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/spectral/spm_ccf2gew.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_ccf2gew", *args, **kwargs) diff --git a/spm/__toolbox/__spectral/spm_ccf2mar.py b/spm/__toolbox/__spectral/spm_ccf2mar.py index 7f63d1d6..09becb81 100644 --- a/spm/__toolbox/__spectral/spm_ccf2mar.py +++ b/spm/__toolbox/__spectral/spm_ccf2mar.py @@ -2,7 +2,7 @@ def spm_ccf2mar(*args, **kwargs): - """ + r""" Converts cross covariance function to cross spectral density FORMAT [mar] = spm_ccf2mar(ccf,p) @@ -20,9 +20,12 @@ def spm_ccf2mar(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/spectral/spm_ccf2mar.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/spectral/spm_ccf2mar.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_ccf2mar", *args, **kwargs) diff --git a/spm/__toolbox/__spectral/spm_csd.py b/spm/__toolbox/__spectral/spm_csd.py index d5beef5f..c344ee14 100644 --- a/spm/__toolbox/__spectral/spm_csd.py +++ b/spm/__toolbox/__spectral/spm_csd.py @@ -2,7 +2,7 @@ def spm_csd(*args, **kwargs): - """ + r""" Cross spectral density using Welch's method FORMAT [csd,Hz] = spm_csd(Y,Hz,ns) @@ -19,9 +19,12 @@ def spm_csd(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/spectral/spm_csd.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/spectral/spm_csd.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_csd", *args, **kwargs) diff --git a/spm/__toolbox/__spectral/spm_csd2ccf.py b/spm/__toolbox/__spectral/spm_csd2ccf.py index 6a592687..b9c32f8d 100644 --- a/spm/__toolbox/__spectral/spm_csd2ccf.py +++ b/spm/__toolbox/__spectral/spm_csd2ccf.py @@ -2,7 +2,7 @@ def spm_csd2ccf(*args, **kwargs): - """ + r""" Converts cross spectral density to cross covariance function FORMAT [ccf,pst] = spm_csd2ccf(csd,Hz,dt) @@ -21,9 +21,12 @@ def spm_csd2ccf(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/spectral/spm_csd2ccf.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/spectral/spm_csd2ccf.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_csd2ccf", *args, **kwargs) diff --git a/spm/__toolbox/__spectral/spm_csd2coh.py b/spm/__toolbox/__spectral/spm_csd2coh.py index 7ff8a4c1..fb236396 100644 --- a/spm/__toolbox/__spectral/spm_csd2coh.py +++ b/spm/__toolbox/__spectral/spm_csd2coh.py @@ -2,7 +2,7 @@ def spm_csd2coh(*args, **kwargs): - """ + r""" Converts cross spectral density to coherence and (phase) delay FORMAT [coh,fsd] = spm_csd2coh(csd,Hz) @@ -18,9 +18,12 @@ def spm_csd2coh(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/spectral/spm_csd2coh.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/spectral/spm_csd2coh.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_csd2coh", *args, **kwargs) diff --git a/spm/__toolbox/__spectral/spm_csd2gew.py b/spm/__toolbox/__spectral/spm_csd2gew.py index a13a27d4..9838297b 100644 --- a/spm/__toolbox/__spectral/spm_csd2gew.py +++ b/spm/__toolbox/__spectral/spm_csd2gew.py @@ -2,7 +2,7 @@ def spm_csd2gew(*args, **kwargs): - """ + r""" Convert cross sspectral density to Geweke Granger causality FORMAT [gew,pve,H] = spm_csd2gew(csd,Hz,u) @@ -25,9 +25,12 @@ def spm_csd2gew(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/spectral/spm_csd2gew.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/spectral/spm_csd2gew.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_csd2gew", *args, **kwargs) diff --git a/spm/__toolbox/__spectral/spm_csd2mar.py b/spm/__toolbox/__spectral/spm_csd2mar.py index 2f2bf6d6..eb3416e5 100644 --- a/spm/__toolbox/__spectral/spm_csd2mar.py +++ b/spm/__toolbox/__spectral/spm_csd2mar.py @@ -2,7 +2,7 @@ def spm_csd2mar(*args, **kwargs): - """ + r""" Converts cross spectral density to MAR representation FORMAT [mar] = spm_csd2mar(csd,Hz,p,dt) @@ -19,9 +19,12 @@ def spm_csd2mar(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/spectral/spm_csd2mar.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/spectral/spm_csd2mar.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_csd2mar", *args, **kwargs) diff --git a/spm/__toolbox/__spectral/spm_dcm2ssm.py b/spm/__toolbox/__spectral/spm_dcm2ssm.py index ec057244..ac3bfacb 100644 --- a/spm/__toolbox/__spectral/spm_dcm2ssm.py +++ b/spm/__toolbox/__spectral/spm_dcm2ssm.py @@ -2,7 +2,7 @@ def spm_dcm2ssm(*args, **kwargs): - """ + r""" linearises a dynamic causal model about an expansion point FORMAT [dfdx,dfdu,dgdx] = spm_dcm2ssm(P,M) @@ -19,9 +19,12 @@ def spm_dcm2ssm(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/spectral/spm_dcm2ssm.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/spectral/spm_dcm2ssm.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_dcm2ssm", *args, **kwargs) diff --git a/spm/__toolbox/__spectral/spm_dpss.py b/spm/__toolbox/__spectral/spm_dpss.py index 6bc478c5..6da8f3dc 100644 --- a/spm/__toolbox/__spectral/spm_dpss.py +++ b/spm/__toolbox/__spectral/spm_dpss.py @@ -2,7 +2,7 @@ def spm_dpss(*args, **kwargs): - """ + r""" Compute discrete prolate spheroidal sequences FORMAT [E] = spm_dpss (N,NW) @@ -20,9 +20,12 @@ def spm_dpss(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/spectral/spm_dpss.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/spectral/spm_dpss.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_dpss", *args, **kwargs) diff --git a/spm/__toolbox/__spectral/spm_dtf2gew.py b/spm/__toolbox/__spectral/spm_dtf2gew.py index 0a6f4b75..1d351004 100644 --- a/spm/__toolbox/__spectral/spm_dtf2gew.py +++ b/spm/__toolbox/__spectral/spm_dtf2gew.py @@ -2,7 +2,7 @@ def spm_dtf2gew(*args, **kwargs): - """ + r""" Converts directed transfer function to Geweke Granger causality FORMAT [gew,pve] = spm_csd2gew(dtf,C) @@ -20,9 +20,12 @@ def spm_dtf2gew(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/spectral/spm_dtf2gew.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/spectral/spm_dtf2gew.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_dtf2gew", *args, **kwargs) diff --git a/spm/__toolbox/__spectral/spm_get_omega.py b/spm/__toolbox/__spectral/spm_get_omega.py index 19254ab2..b15b6fd3 100644 --- a/spm/__toolbox/__spectral/spm_get_omega.py +++ b/spm/__toolbox/__spectral/spm_get_omega.py @@ -2,7 +2,7 @@ def spm_get_omega(*args, **kwargs): - """ + r""" Get expected error of MAR model FORMAT [Omega] = spm_get_omega (p,d,w_cov,xtx) @@ -15,9 +15,12 @@ def spm_get_omega(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/spectral/spm_get_omega.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/spectral/spm_get_omega.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_get_omega", *args, **kwargs) diff --git a/spm/__toolbox/__spectral/spm_granger.py b/spm/__toolbox/__spectral/spm_granger.py index f80c8c06..eea7a70b 100644 --- a/spm/__toolbox/__spectral/spm_granger.py +++ b/spm/__toolbox/__spectral/spm_granger.py @@ -2,7 +2,7 @@ def spm_granger(*args, **kwargs): - """ + r""" Compute Granger causality matrix FORMAT [G,Psig] = spm_granger (mar) @@ -16,9 +16,12 @@ def spm_granger(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/spectral/spm_granger.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/spectral/spm_granger.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_granger", *args, **kwargs) diff --git a/spm/__toolbox/__spectral/spm_ker2ccf.py b/spm/__toolbox/__spectral/spm_ker2ccf.py index 18f452cd..5c2ef6d5 100644 --- a/spm/__toolbox/__spectral/spm_ker2ccf.py +++ b/spm/__toolbox/__spectral/spm_ker2ccf.py @@ -2,7 +2,7 @@ def spm_ker2ccf(*args, **kwargs): - """ + r""" computes cross covariance function from kernels FORMAT [ccf,pst] = spm_ker2ccf(ker,dt) @@ -14,9 +14,12 @@ def spm_ker2ccf(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/spectral/spm_ker2ccf.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/spectral/spm_ker2ccf.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_ker2ccf", *args, **kwargs) diff --git a/spm/__toolbox/__spectral/spm_ker2coh.py b/spm/__toolbox/__spectral/spm_ker2coh.py index 7df033f8..14b33bc6 100644 --- a/spm/__toolbox/__spectral/spm_ker2coh.py +++ b/spm/__toolbox/__spectral/spm_ker2coh.py @@ -2,7 +2,7 @@ def spm_ker2coh(*args, **kwargs): - """ + r""" computes coherence from kernels FORMAT [coh,fsd] = spm_ker2coh(ker,pst)) @@ -14,9 +14,12 @@ def spm_ker2coh(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/spectral/spm_ker2coh.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/spectral/spm_ker2coh.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_ker2coh", *args, **kwargs) diff --git a/spm/__toolbox/__spectral/spm_ker2csd.py b/spm/__toolbox/__spectral/spm_ker2csd.py index 70920b1e..28baeeb7 100644 --- a/spm/__toolbox/__spectral/spm_ker2csd.py +++ b/spm/__toolbox/__spectral/spm_ker2csd.py @@ -2,7 +2,7 @@ def spm_ker2csd(*args, **kwargs): - """ + r""" computes cross spectral density from kernels FORMAT [csd,Hz] = spm_ker2csd(ker,pst) @@ -14,9 +14,12 @@ def spm_ker2csd(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/spectral/spm_ker2csd.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/spectral/spm_ker2csd.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_ker2csd", *args, **kwargs) diff --git a/spm/__toolbox/__spectral/spm_ker2mtf.py b/spm/__toolbox/__spectral/spm_ker2mtf.py index 92be2e86..5b68a74d 100644 --- a/spm/__toolbox/__spectral/spm_ker2mtf.py +++ b/spm/__toolbox/__spectral/spm_ker2mtf.py @@ -2,7 +2,7 @@ def spm_ker2mtf(*args, **kwargs): - """ + r""" computes modulation transfer function from kernels FORMAT [mtf,Hz] = spm_ker2mtf(ker,dt) @@ -14,9 +14,12 @@ def spm_ker2mtf(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/spectral/spm_ker2mtf.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/spectral/spm_ker2mtf.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_ker2mtf", *args, **kwargs) diff --git a/spm/__toolbox/__spectral/spm_kl_eig_normal.py b/spm/__toolbox/__spectral/spm_kl_eig_normal.py index 6f0507da..e78d1214 100644 --- a/spm/__toolbox/__spectral/spm_kl_eig_normal.py +++ b/spm/__toolbox/__spectral/spm_kl_eig_normal.py @@ -2,7 +2,7 @@ def spm_kl_eig_normal(*args, **kwargs): - """ + r""" KL divergence between normal densities using eigendecomposition function [d] = spm_kl_eig_normal (m_q,c_q,c_p) @@ -18,9 +18,12 @@ def spm_kl_eig_normal(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/spectral/spm_kl_eig_normal.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/spectral/spm_kl_eig_normal.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_kl_eig_normal", *args, **kwargs) diff --git a/spm/__toolbox/__spectral/spm_mar.py b/spm/__toolbox/__spectral/spm_mar.py index 1dc318a1..3fed46bf 100644 --- a/spm/__toolbox/__spectral/spm_mar.py +++ b/spm/__toolbox/__spectral/spm_mar.py @@ -2,7 +2,7 @@ def spm_mar(*args, **kwargs): - """ + r""" Bayesian Multivariate Autoregressive Modelling FORMAT [mar,y,y_pred] = spm_mar (X,p,prior,verbose) @@ -25,9 +25,12 @@ def spm_mar(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/spectral/spm_mar.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/spectral/spm_mar.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_mar", *args, **kwargs) diff --git a/spm/__toolbox/__spectral/spm_mar2ccf.py b/spm/__toolbox/__spectral/spm_mar2ccf.py index 38754eba..761afe74 100644 --- a/spm/__toolbox/__spectral/spm_mar2ccf.py +++ b/spm/__toolbox/__spectral/spm_mar2ccf.py @@ -2,7 +2,7 @@ def spm_mar2ccf(*args, **kwargs): - """ + r""" Get the cross covariance function from MAR coefficients or structure FORMAT [ccf] = spm_mar2ccf(mar,n) @@ -23,9 +23,12 @@ def spm_mar2ccf(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/spectral/spm_mar2ccf.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/spectral/spm_mar2ccf.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_mar2ccf", *args, **kwargs) diff --git a/spm/__toolbox/__spectral/spm_mar2coh.py b/spm/__toolbox/__spectral/spm_mar2coh.py index 61cb4589..c468a5e0 100644 --- a/spm/__toolbox/__spectral/spm_mar2coh.py +++ b/spm/__toolbox/__spectral/spm_mar2coh.py @@ -2,7 +2,7 @@ def spm_mar2coh(*args, **kwargs): - """ + r""" Get spectral estimates from MAR model FORMAT [coh,fsd] = spm_mar2coh(mar,Hz,ns) @@ -28,9 +28,12 @@ def spm_mar2coh(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/spectral/spm_mar2coh.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/spectral/spm_mar2coh.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_mar2coh", *args, **kwargs) diff --git a/spm/__toolbox/__spectral/spm_mar2csd.py b/spm/__toolbox/__spectral/spm_mar2csd.py index 64b55a33..764f0a40 100644 --- a/spm/__toolbox/__spectral/spm_mar2csd.py +++ b/spm/__toolbox/__spectral/spm_mar2csd.py @@ -2,7 +2,7 @@ def spm_mar2csd(*args, **kwargs): - """ + r""" Get spectral estimates from MAR model FORMAT [csd,dtf,coh,pha] = spm_mar2csd(mar,Hz,ns) @@ -27,9 +27,12 @@ def spm_mar2csd(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/spectral/spm_mar2csd.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/spectral/spm_mar2csd.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_mar2csd", *args, **kwargs) diff --git a/spm/__toolbox/__spectral/spm_mar2gew.py b/spm/__toolbox/__spectral/spm_mar2gew.py index 3ec78f18..31f2afc4 100644 --- a/spm/__toolbox/__spectral/spm_mar2gew.py +++ b/spm/__toolbox/__spectral/spm_mar2gew.py @@ -2,7 +2,7 @@ def spm_mar2gew(*args, **kwargs): - """ + r""" Get spectral estimates from MAR model FORMAT [gew,pve] = spm_mar2gew(mar,Hz,ns) @@ -24,9 +24,12 @@ def spm_mar2gew(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/spectral/spm_mar2gew.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/spectral/spm_mar2gew.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_mar2gew", *args, **kwargs) diff --git a/spm/__toolbox/__spectral/spm_mar_conn.py b/spm/__toolbox/__spectral/spm_mar_conn.py index 568ef208..0bad4dd9 100644 --- a/spm/__toolbox/__spectral/spm_mar_conn.py +++ b/spm/__toolbox/__spectral/spm_mar_conn.py @@ -2,7 +2,7 @@ def spm_mar_conn(*args, **kwargs): - """ + r""" Test for significance of connections FORMAT [psig,chi2] = spm_mar_conn (mar,conn) @@ -16,9 +16,12 @@ def spm_mar_conn(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/spectral/spm_mar_conn.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/spectral/spm_mar_conn.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_mar_conn", *args, **kwargs) diff --git a/spm/__toolbox/__spectral/spm_mar_gen.py b/spm/__toolbox/__spectral/spm_mar_gen.py index 1c9cf2ca..f9e6671f 100644 --- a/spm/__toolbox/__spectral/spm_mar_gen.py +++ b/spm/__toolbox/__spectral/spm_mar_gen.py @@ -2,7 +2,7 @@ def spm_mar_gen(*args, **kwargs): - """ + r""" Generate data from MAR model FORMAT [v] = spm_mar_gen (w,A,C,n,ndisc) @@ -20,9 +20,12 @@ def spm_mar_gen(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/spectral/spm_mar_gen.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/spectral/spm_mar_gen.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_mar_gen", *args, **kwargs) diff --git a/spm/__toolbox/__spectral/spm_mar_pred.py b/spm/__toolbox/__spectral/spm_mar_pred.py index 7c1282b7..24c7d8e3 100644 --- a/spm/__toolbox/__spectral/spm_mar_pred.py +++ b/spm/__toolbox/__spectral/spm_mar_pred.py @@ -2,7 +2,7 @@ def spm_mar_pred(*args, **kwargs): - """ + r""" Get predictions from MAR model FORMAT [y,y_pred] = spm_mar_pred (X,mar) @@ -15,9 +15,12 @@ def spm_mar_pred(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/spectral/spm_mar_pred.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/spectral/spm_mar_pred.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_mar_pred", *args, **kwargs) diff --git a/spm/__toolbox/__spectral/spm_mar_prior.py b/spm/__toolbox/__spectral/spm_mar_prior.py index 9676dd9c..c3999b5c 100644 --- a/spm/__toolbox/__spectral/spm_mar_prior.py +++ b/spm/__toolbox/__spectral/spm_mar_prior.py @@ -2,7 +2,7 @@ def spm_mar_prior(*args, **kwargs): - """ + r""" Specify ARD-type prior for Bayesian MAR model function [prior] = spm_mar_prior (d,p,type) @@ -15,9 +15,12 @@ def spm_mar_prior(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/spectral/spm_mar_prior.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/spectral/spm_mar_prior.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_mar_prior", *args, **kwargs) diff --git a/spm/__toolbox/__spectral/spm_mar_spectra.py b/spm/__toolbox/__spectral/spm_mar_spectra.py index e79abccb..17037882 100644 --- a/spm/__toolbox/__spectral/spm_mar_spectra.py +++ b/spm/__toolbox/__spectral/spm_mar_spectra.py @@ -2,7 +2,7 @@ def spm_mar_spectra(*args, **kwargs): - """ + r""" Get spectral estimates from MAR model FORMAT [mar] = spm_mar_spectra (mar,freqs,ns,show) @@ -42,9 +42,12 @@ def spm_mar_spectra(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/spectral/spm_mar_spectra.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/spectral/spm_mar_spectra.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_mar_spectra", *args, **kwargs) diff --git a/spm/__toolbox/__spectral/spm_mmtspec.py b/spm/__toolbox/__spectral/spm_mmtspec.py index 0cc6e158..56fef748 100644 --- a/spm/__toolbox/__spectral/spm_mmtspec.py +++ b/spm/__toolbox/__spectral/spm_mmtspec.py @@ -2,7 +2,7 @@ def spm_mmtspec(*args, **kwargs): - """ + r""" Moving multitaper based spectrogram FORMAT [p, f, t] = spm_mmtspec (x,Fs,freqs,timeres) @@ -22,9 +22,12 @@ def spm_mmtspec(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/spectral/spm_mmtspec.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/spectral/spm_mmtspec.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_mmtspec", *args, **kwargs) diff --git a/spm/__toolbox/__spectral/spm_mtf2ccf.py b/spm/__toolbox/__spectral/spm_mtf2ccf.py index 8f804e39..df4f2f54 100644 --- a/spm/__toolbox/__spectral/spm_mtf2ccf.py +++ b/spm/__toolbox/__spectral/spm_mtf2ccf.py @@ -2,7 +2,7 @@ def spm_mtf2ccf(*args, **kwargs): - """ + r""" Converts modulation transfer function to cross covariance function FORMAT [ccf,pst] = spm_mtf2ccf(mtf,Hz) @@ -18,9 +18,12 @@ def spm_mtf2ccf(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/spectral/spm_mtf2ccf.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/spectral/spm_mtf2ccf.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_mtf2ccf", *args, **kwargs) diff --git a/spm/__toolbox/__spectral/spm_mtf2coh.py b/spm/__toolbox/__spectral/spm_mtf2coh.py index b1ac22f8..653e631b 100644 --- a/spm/__toolbox/__spectral/spm_mtf2coh.py +++ b/spm/__toolbox/__spectral/spm_mtf2coh.py @@ -2,7 +2,7 @@ def spm_mtf2coh(*args, **kwargs): - """ + r""" Converts modulation transfer function to coherence FORMAT [coh,fsd] = spm_mtf2coh(mtf,Hz) @@ -19,9 +19,12 @@ def spm_mtf2coh(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/spectral/spm_mtf2coh.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/spectral/spm_mtf2coh.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_mtf2coh", *args, **kwargs) diff --git a/spm/__toolbox/__spectral/spm_mtf2csd.py b/spm/__toolbox/__spectral/spm_mtf2csd.py index 9bcb8f23..239f7632 100644 --- a/spm/__toolbox/__spectral/spm_mtf2csd.py +++ b/spm/__toolbox/__spectral/spm_mtf2csd.py @@ -2,7 +2,7 @@ def spm_mtf2csd(*args, **kwargs): - """ + r""" Converts modulation transfer function to cross spectral density FORMAT [csd] = spm_mtf2csd(mtf,C) @@ -19,9 +19,12 @@ def spm_mtf2csd(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/spectral/spm_mtf2csd.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/spectral/spm_mtf2csd.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_mtf2csd", *args, **kwargs) diff --git a/spm/__toolbox/__spectral/spm_mtf2gew.py b/spm/__toolbox/__spectral/spm_mtf2gew.py index 42745f48..545ddfe0 100644 --- a/spm/__toolbox/__spectral/spm_mtf2gew.py +++ b/spm/__toolbox/__spectral/spm_mtf2gew.py @@ -2,7 +2,7 @@ def spm_mtf2gew(*args, **kwargs): - """ + r""" Converts directed transfer function to Geweke Granger causality FORMAT [gew,pve] = spm_csd2gew(mtf,C) @@ -20,9 +20,12 @@ def spm_mtf2gew(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/spectral/spm_mtf2gew.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/spectral/spm_mtf2gew.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_mtf2gew", *args, **kwargs) diff --git a/spm/__toolbox/__spectral/spm_rar.py b/spm/__toolbox/__spectral/spm_rar.py index b9b49fc1..b8150fdf 100644 --- a/spm/__toolbox/__spectral/spm_rar.py +++ b/spm/__toolbox/__spectral/spm_rar.py @@ -2,7 +2,7 @@ def spm_rar(*args, **kwargs): - """ + r""" Bayesian autoregressive modelling with zero-mean Gaussian mixture noise function [rar,yclean] = spm_rar (Z,p,m,verbose) @@ -45,9 +45,12 @@ def spm_rar(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/spectral/spm_rar.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/spectral/spm_rar.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_rar", *args, **kwargs) diff --git a/spm/__toolbox/__spectral/spm_spectral_plot.py b/spm/__toolbox/__spectral/spm_spectral_plot.py index b8779dfc..e46b145f 100644 --- a/spm/__toolbox/__spectral/spm_spectral_plot.py +++ b/spm/__toolbox/__spectral/spm_spectral_plot.py @@ -2,7 +2,7 @@ def spm_spectral_plot(*args, **kwargs): - """ + r""" subplot for spectral arrays FORMAT spm_spectral_plot(Hz,csd,str,xlab,ylab) @@ -12,9 +12,12 @@ def spm_spectral_plot(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/spectral/spm_spectral_plot.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/spectral/spm_spectral_plot.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_spectral_plot", *args, **kwargs, nargout=0) diff --git a/spm/__toolbox/__spectral/spm_ssm2ccf.py b/spm/__toolbox/__spectral/spm_ssm2ccf.py index 71346f30..6c056b14 100644 --- a/spm/__toolbox/__spectral/spm_ssm2ccf.py +++ b/spm/__toolbox/__spectral/spm_ssm2ccf.py @@ -2,7 +2,7 @@ def spm_ssm2ccf(*args, **kwargs): - """ + r""" computes cross covariance from state space representation FORMAT [ccf,pst] = spm_ssm2ccf(dfdx,dfdu,dgdx,Hz) @@ -16,9 +16,12 @@ def spm_ssm2ccf(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/spectral/spm_ssm2ccf.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/spectral/spm_ssm2ccf.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_ssm2ccf", *args, **kwargs) diff --git a/spm/__toolbox/__spectral/spm_ssm2coh.py b/spm/__toolbox/__spectral/spm_ssm2coh.py index 1b33ed6c..63f24475 100644 --- a/spm/__toolbox/__spectral/spm_ssm2coh.py +++ b/spm/__toolbox/__spectral/spm_ssm2coh.py @@ -2,7 +2,7 @@ def spm_ssm2coh(*args, **kwargs): - """ + r""" computes coherence from state space representation FORMAT [coh,fsd] = spm_ssm2coh(dfdx,dfdu,dgdx,Hz) @@ -17,9 +17,12 @@ def spm_ssm2coh(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/spectral/spm_ssm2coh.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/spectral/spm_ssm2coh.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_ssm2coh", *args, **kwargs) diff --git a/spm/__toolbox/__spectral/spm_ssm2csd.py b/spm/__toolbox/__spectral/spm_ssm2csd.py index 62c1464c..67f762cc 100644 --- a/spm/__toolbox/__spectral/spm_ssm2csd.py +++ b/spm/__toolbox/__spectral/spm_ssm2csd.py @@ -2,7 +2,7 @@ def spm_ssm2csd(*args, **kwargs): - """ + r""" computes cross spectral density from state space representation FORMAT [csd,Hz] = spm_ssm2csd(dfdx,dfdu,dgdx,Hz) @@ -15,9 +15,12 @@ def spm_ssm2csd(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/spectral/spm_ssm2csd.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/spectral/spm_ssm2csd.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_ssm2csd", *args, **kwargs) diff --git a/spm/__toolbox/__spectral/spm_ssm2ker.py b/spm/__toolbox/__spectral/spm_ssm2ker.py index 77e778d5..979f4c10 100644 --- a/spm/__toolbox/__spectral/spm_ssm2ker.py +++ b/spm/__toolbox/__spectral/spm_ssm2ker.py @@ -2,7 +2,7 @@ def spm_ssm2ker(*args, **kwargs): - """ + r""" computes cross spectral density from state space representation FORMAT [ker,pst] = spm_ssm2ker(dfdx,dfdu,dgdx,pst) @@ -18,9 +18,12 @@ def spm_ssm2ker(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/spectral/spm_ssm2ker.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/spectral/spm_ssm2ker.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_ssm2ker", *args, **kwargs) diff --git a/spm/__toolbox/__spectral/spm_ssm2mtf.py b/spm/__toolbox/__spectral/spm_ssm2mtf.py index db44c1b9..13330d24 100644 --- a/spm/__toolbox/__spectral/spm_ssm2mtf.py +++ b/spm/__toolbox/__spectral/spm_ssm2mtf.py @@ -2,7 +2,7 @@ def spm_ssm2mtf(*args, **kwargs): - """ + r""" computes cross spectral density from state space representation FORMAT [mtf,Hz] = spm_ssm2mtf(dfdx,dfdu,dgdx,Hz) @@ -15,9 +15,12 @@ def spm_ssm2mtf(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/spectral/spm_ssm2mtf.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/spectral/spm_ssm2mtf.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_ssm2mtf", *args, **kwargs) diff --git a/spm/__toolbox/__spectral/spm_wavspec.py b/spm/__toolbox/__spectral/spm_wavspec.py index 54c3b089..96d5f2f2 100644 --- a/spm/__toolbox/__spectral/spm_wavspec.py +++ b/spm/__toolbox/__spectral/spm_wavspec.py @@ -2,7 +2,7 @@ def spm_wavspec(*args, **kwargs): - """ + r""" Wavelet based spectrogram FORMAT [p] = spm_wavspec (x,freqs,fs,show,rtf) x Data vector @@ -14,9 +14,12 @@ def spm_wavspec(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/toolbox/spectral/spm_wavspec.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/toolbox/spectral/spm_wavspec.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_wavspec", *args, **kwargs) diff --git a/spm/file_array.py b/spm/file_array.py index c47904b5..f9e4ea11 100644 --- a/spm/file_array.py +++ b/spm/file_array.py @@ -4,7 +4,7 @@ class file_array(RuntimeMixin, MatlabClass): def __init__(self, *args, **kwargs): - """ + r""" Function for creating file_array objects. FORMAT a = file_array(fname,dim,dtype,offset,scl_slope,scl_inter,permission) a - file_array object @@ -22,137 +22,167 @@ def __init__(self, *args, **kwargs): - [Matlab code]( https://github.com/spm/spm/blob/main/@file_array/file_array.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/@file_array/file_array.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ super().__init__() def cat(self, *args, **kwargs): - """ + r""" Concatenate file_array objects. The result is a non-simple object that can no longer be reshaped. __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/@file_array/cat.m ) + Generated from SPM26.10.01. - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/@file_array/cat.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("cat", self._as_matlab_object(), *args, **kwargs) def ctranspose(self, *args, **kwargs): - """ + r""" Transposing not allowed __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/@file_array/ctranspose.m ) + Generated from SPM26.10.01. - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/@file_array/ctranspose.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ctranspose", self._as_matlab_object(), *args, **kwargs) def disp(self, *args, **kwargs): - """ + r""" Display a file_array object __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/@file_array/disp.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/@file_array/disp.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("disp", self._as_matlab_object(), *args, **kwargs, nargout=0) def display(self, *args, **kwargs): - """ + r""" Display a file_array object __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/@file_array/display.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/@file_array/display.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("display", self._as_matlab_object(), *args, **kwargs, nargout=0) def double(self, *args, **kwargs): - """ + r""" Convert to double precision FORMAT double(fa) fa - a file_array __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/@file_array/double.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/@file_array/double.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("double", self._as_matlab_object(), *args, **kwargs) def end(self, *args, **kwargs): - """ + r""" Overloaded end function for file_array objects. __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/@file_array/end.m ) + Generated from SPM26.10.01. - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/@file_array/end.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("end", self._as_matlab_object(), *args, **kwargs) def fieldnames(self, *args, **kwargs): - """ + r""" Fieldnames of a file-array object __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/@file_array/fieldnames.m ) + Generated from SPM26.10.01. - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/@file_array/fieldnames.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("fieldnames", self._as_matlab_object(), *args, **kwargs) def full(self, *args, **kwargs): - """ + r""" Convert to numeric form FORMAT full(fa) fa - a file_array __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/@file_array/full.m ) + Generated from SPM26.10.01. - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/@file_array/full.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("full", self._as_matlab_object(), *args, **kwargs) def horzcat(self, *args, **kwargs): - """ + r""" Horizontal concatenation of file_array objects __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/@file_array/horzcat.m ) + Generated from SPM26.10.01. - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/@file_array/horzcat.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("horzcat", self._as_matlab_object(), *args, **kwargs) def initialise(self, *args, **kwargs): - """ + r""" Initialise file on disk This creates a file on disk with the appropriate size by explicitly @@ -160,202 +190,247 @@ def initialise(self, *args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/@file_array/initialise.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/@file_array/initialise.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("initialise", self._as_matlab_object(), *args, **kwargs, nargout=0) def isnan(self, *args, **kwargs): - """ + r""" Logical array containing true where the elements of file_array are NaN's FORMAT isnan(fa) fa - a file_array __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/@file_array/isnan.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/@file_array/isnan.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("isnan", self._as_matlab_object(), *args, **kwargs) def length(self, *args, **kwargs): - """ + r""" Overloaded length function for file_array objects __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/@file_array/length.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/@file_array/length.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("length", self._as_matlab_object(), *args, **kwargs) def loadobj(self, *args, **kwargs): - """ + r""" loadobj for file_array class __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/@file_array/loadobj.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/@file_array/loadobj.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("loadobj", self._as_matlab_object(), *args, **kwargs) def ndims(self, *args, **kwargs): - """ + r""" Number of dimensions __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/@file_array/ndims.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/@file_array/ndims.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ndims", self._as_matlab_object(), *args, **kwargs) def numel(self, *args, **kwargs): - """ + r""" Number of simple file arrays involved. __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/@file_array/numel.m ) + Generated from SPM26.10.01. - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/@file_array/numel.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("numel", self._as_matlab_object(), *args, **kwargs) def numeric(self, *args, **kwargs): - """ + r""" Convert to numeric form FORMAT numeric(fa) fa - a file_array __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/@file_array/numeric.m ) + Generated from SPM26.10.01. - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/@file_array/numeric.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("numeric", self._as_matlab_object(), *args, **kwargs) def permute(self, *args, **kwargs): - """ + r""" file_array objects can not be permuted __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/@file_array/permute.m ) + Generated from SPM26.10.01. - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/@file_array/permute.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("permute", self._as_matlab_object(), *args, **kwargs) def reshape(self, *args, **kwargs): - """ + r""" Overloaded reshape function for file_array objects __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/@file_array/reshape.m ) + Generated from SPM26.10.01. - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/@file_array/reshape.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("reshape", self._as_matlab_object(), *args, **kwargs) def size(self, *args, **kwargs): - """ + r""" Method 'size' for file_array objects __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/@file_array/size.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/@file_array/size.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("size", self._as_matlab_object(), *args, **kwargs) def subsasgn(self, *args, **kwargs): - """ + r""" Overloaded subsasgn function for file_array objects __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/@file_array/subsasgn.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/@file_array/subsasgn.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("subsasgn", self._as_matlab_object(), *args, **kwargs) def subsref(self, *args, **kwargs): - """ + r""" SUBSREF Subscripted reference An overloaded function... __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/@file_array/subsref.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/@file_array/subsref.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("subsref", self._as_matlab_object(), *args, **kwargs) def transpose(self, *args, **kwargs): - """ + r""" file_array objects can not be transposed __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/@file_array/transpose.m ) + Generated from SPM26.10.01. - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/@file_array/transpose.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("transpose", self._as_matlab_object(), *args, **kwargs) def vertcat(self, *args, **kwargs): - """ + r""" Vertical concatenation of file_array objects. __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/@file_array/vertcat.m ) + Generated from SPM26.10.01. - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/@file_array/vertcat.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("vertcat", self._as_matlab_object(), *args, **kwargs) def _datatypes(self, *args, **kwargs): - """ + r""" Dictionary of datatypes __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/@file_array/private/datatypes.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/@file_array/private/datatypes.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("datatypes", self._as_matlab_object(), *args, **kwargs) def _dim(self, *args, **kwargs): - """ + r""" file_array's dimension property For getting the value dat = dim(obj) @@ -365,15 +440,18 @@ def _dim(self, *args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/@file_array/private/dim.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/@file_array/private/dim.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("dim", self._as_matlab_object(), *args, **kwargs) def _dtype(self, *args, **kwargs): - """ + r""" file_array's dtype property FORMAT varargout = dtype(varargin) For getting the value @@ -384,15 +462,18 @@ def _dtype(self, *args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/@file_array/private/dtype.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/@file_array/private/dtype.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("dtype", self._as_matlab_object(), *args, **kwargs) def _file2mat(self, *args, **kwargs): - """ + r""" Function for reading from file_array objects FORMAT val = file2mat(a,ind1,ind2,ind3,...) a - file_array object @@ -403,15 +484,18 @@ def _file2mat(self, *args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/@file_array/private/file2mat.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/@file_array/private/file2mat.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("file2mat", self._as_matlab_object(), *args, **kwargs) def _fname(self, *args, **kwargs): - """ + r""" file_array's fname property For getting the value dat = fname(obj) @@ -421,15 +505,18 @@ def _fname(self, *args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/@file_array/private/fname.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/@file_array/private/fname.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("fname", self._as_matlab_object(), *args, **kwargs) def _init(self, *args, **kwargs): - """ + r""" Initialise binary file on disk FORMAT init(fname, nbytes[, opts]) fname - filename @@ -443,15 +530,18 @@ def _init(self, *args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/@file_array/private/init.m ) + Generated from SPM26.10.01. - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/@file_array/private/init.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("init", self._as_matlab_object(), *args, **kwargs, nargout=0) def _mat2file(self, *args, **kwargs): - """ + r""" Function for writing to file_array objects FORMAT mat2file(a,val,ind1,ind2,ind3,...) a - file_array object @@ -462,27 +552,33 @@ def _mat2file(self, *args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/@file_array/private/mat2file.m ) + Generated from SPM26.10.01. - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/@file_array/private/mat2file.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("mat2file", self._as_matlab_object(), *args, **kwargs, nargout=0) def _mystruct(self, *args, **kwargs): - """ + r""" __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/@file_array/private/mystruct.m ) + Generated from SPM26.10.01. - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/@file_array/private/mystruct.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("mystruct", self._as_matlab_object(), *args, **kwargs) def _offset(self, *args, **kwargs): - """ + r""" file_array's offset property For getting the value dat = offset(obj) @@ -492,15 +588,18 @@ def _offset(self, *args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/@file_array/private/offset.m ) + Generated from SPM26.10.01. - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/@file_array/private/offset.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("offset", self._as_matlab_object(), *args, **kwargs) def _permission(self, *args, **kwargs): - """ + r""" file_array's permission property For getting the value dat = permission(obj) @@ -510,28 +609,34 @@ def _permission(self, *args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/@file_array/private/permission.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/@file_array/private/permission.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("permission", self._as_matlab_object(), *args, **kwargs) def _resize_scales(self, *args, **kwargs): - """ + r""" Resize scalefactors __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/@file_array/private/resize_scales.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/@file_array/private/resize_scales.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("resize_scales", self._as_matlab_object(), *args, **kwargs) def _scl_inter(self, *args, **kwargs): - """ + r""" file_array's scl_inter property For getting the value dat = scl_inter(obj) @@ -541,15 +646,18 @@ def _scl_inter(self, *args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/@file_array/private/scl_inter.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/@file_array/private/scl_inter.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("scl_inter", self._as_matlab_object(), *args, **kwargs) def _scl_slope(self, *args, **kwargs): - """ + r""" file_array's scl_slope property For getting the value dat = scl_slope(obj) @@ -559,9 +667,12 @@ def _scl_slope(self, *args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/@file_array/private/scl_slope.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/@file_array/private/scl_slope.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("scl_slope", self._as_matlab_object(), *args, **kwargs) diff --git a/spm/gifti.py b/spm/gifti.py index b53dc7e7..b352e357 100644 --- a/spm/gifti.py +++ b/spm/gifti.py @@ -4,7 +4,7 @@ class gifti(RuntimeMixin, MatlabClass): def __init__(self, *args, **kwargs): - """ + r""" GIfTI Geometry file format class Geometry format under the Neuroimaging Informatics Technology Initiative (NIfTI): @@ -17,30 +17,36 @@ def __init__(self, *args, **kwargs): - [Matlab code]( https://github.com/spm/spm/blob/main/@gifti/gifti.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/@gifti/gifti.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ super().__init__() def display(self, *args, **kwargs): - """ + r""" Display method for GIfTI objects FORMAT display(this) this - GIfTI object __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/@gifti/display.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/@gifti/display.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("display", self._as_matlab_object(), *args, **kwargs, nargout=0) def export(self, *args, **kwargs): - """ + r""" Export a GIfTI object into specific MATLAB struct FORMAT s = export(this,target) this - GIfTI object @@ -49,15 +55,18 @@ def export(self, *args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/@gifti/export.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/@gifti/export.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("export", self._as_matlab_object(), *args, **kwargs) def fieldnames(self, *args, **kwargs): - """ + r""" Fieldnames method for GIfTI objects FORMAT names = fieldnames(this) this - GIfTI object @@ -65,15 +74,18 @@ def fieldnames(self, *args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/@gifti/fieldnames.m ) + Generated from SPM26.10.01. - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/@gifti/fieldnames.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("fieldnames", self._as_matlab_object(), *args, **kwargs) def isfield(self, *args, **kwargs): - """ + r""" Isfield method for GIfTI objects FORMAT tf = isfield(this,field) this - GIfTI object @@ -82,28 +94,34 @@ def isfield(self, *args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/@gifti/isfield.m ) + Generated from SPM26.10.01. - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/@gifti/isfield.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("isfield", self._as_matlab_object(), *args, **kwargs) def plot(self, *args, **kwargs): - """ + r""" plot method for GIfTI objects __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/@gifti/plot.m ) + Generated from SPM26.10.01. - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/@gifti/plot.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("plot", self._as_matlab_object(), *args, **kwargs) def save(self, *args, **kwargs): - """ + r""" Save GIfTI object in a GIfTI format file FORMAT save(this,filename,encoding) this - GIfTI object @@ -117,15 +135,18 @@ def save(self, *args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/@gifti/save.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/@gifti/save.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("save", self._as_matlab_object(), *args, **kwargs, nargout=0) def saveas(self, *args, **kwargs): - """ + r""" Save GIfTI object in external file format FORMAT saveas(this,filename,format) this - GIfTI object @@ -137,15 +158,18 @@ def saveas(self, *args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/@gifti/saveas.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/@gifti/saveas.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("saveas", self._as_matlab_object(), *args, **kwargs, nargout=0) def struct(self, *args, **kwargs): - """ + r""" Struct method for GIfTI objects FORMAT s = struct(this) this - GIfTI object @@ -153,41 +177,50 @@ def struct(self, *args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/@gifti/struct.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/@gifti/struct.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("struct", self._as_matlab_object(), *args, **kwargs) def subsasgn(self, *args, **kwargs): - """ + r""" Subscript assignment for GIfTI objects __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/@gifti/subsasgn.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/@gifti/subsasgn.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("subsasgn", self._as_matlab_object(), *args, **kwargs) def subsref(self, *args, **kwargs): - """ + r""" Subscript referencing for GIfTI objects __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/@gifti/subsref.m ) + Generated from SPM26.10.01. - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/@gifti/subsref.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("subsref", self._as_matlab_object(), *args, **kwargs) def _base64(self, *args, **kwargs): - """ + r""" Base64 binary-to-text encoding/decoding scheme FORMAT y = zstream('encode',x) x - data stream to encode (uint8) @@ -205,15 +238,18 @@ def _base64(self, *args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/@gifti/private/base64.m ) + Generated from SPM26.10.01. - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/@gifti/private/base64.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("base64", self._as_matlab_object(), *args, **kwargs) def _base64decode(self, *args, **kwargs): - """ + r""" BASE64DECODE Perform base64 decoding on a string. BASE64DECODE(STR) decodes the given base64 string STR. @@ -231,15 +267,18 @@ def _base64decode(self, *args, **kwargs): See also BASE64ENCODE. - [Matlab code]( https://github.com/spm/spm/blob/main/@gifti/private/base64decode.m ) + Generated from SPM26.10.01. - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/@gifti/private/base64decode.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("base64decode", self._as_matlab_object(), *args, **kwargs) def _base64encode(self, *args, **kwargs): - """ + r""" BASE64ENCODE Perform base64 encoding on a string. BASE64ENCODE(STR, EOL) encode the given string STR. EOL is the line ending @@ -280,15 +319,18 @@ def _base64encode(self, *args, **kwargs): See also BASE64DECODE. - [Matlab code]( https://github.com/spm/spm/blob/main/@gifti/private/base64encode.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/@gifti/private/base64encode.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("base64encode", self._as_matlab_object(), *args, **kwargs) def _freesurfer_read(self, *args, **kwargs): - """ + r""" Low level reader of FreeSurfer file FORMAT this = freesurfer_read(filename) filename - FreeSurfer file @@ -298,28 +340,34 @@ def _freesurfer_read(self, *args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/@gifti/private/freesurfer_read.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/@gifti/private/freesurfer_read.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("freesurfer_read", self._as_matlab_object(), *args, **kwargs) def _getdict(self, *args, **kwargs): - """ + r""" Dictionary of GIfTI/NIfTI stuff __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/@gifti/private/getdict.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/@gifti/private/getdict.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("getdict", self._as_matlab_object(), *args, **kwargs) def _gifti_read(self, *args, **kwargs): - """ + r""" Low level reader of GIfTI 1.0 files FORMAT this = read_gifti_file(filename, this) filename - XML GIfTI filename @@ -327,15 +375,18 @@ def _gifti_read(self, *args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/@gifti/private/gifti_read.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/@gifti/private/gifti_read.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("gifti_read", self._as_matlab_object(), *args, **kwargs) def _isintent(self, *args, **kwargs): - """ + r""" Correspondence between fieldnames and NIfTI intent codes FORMAT ind = isintent(this,intent) this - GIfTI object @@ -345,15 +396,18 @@ def _isintent(self, *args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/@gifti/private/isintent.m ) + Generated from SPM26.10.01. - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/@gifti/private/isintent.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("isintent", self._as_matlab_object(), *args, **kwargs) def _mvtk_read(self, *args, **kwargs): - """ + r""" Read VTK formatted data from disk FORMAT M = mvtk_read(filename) @@ -368,15 +422,18 @@ def _mvtk_read(self, *args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/@gifti/private/mvtk_read.m ) + Generated from SPM26.10.01. - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/@gifti/private/mvtk_read.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("mvtk_read", self._as_matlab_object(), *args, **kwargs) def _mvtk_write(self, *args, **kwargs): - """ + r""" Write geometric data on disk using VTK file format (legacy/XML,ascii/binary) FORMAT mvtk_write(M,filename,format) @@ -393,15 +450,18 @@ def _mvtk_write(self, *args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/@gifti/private/mvtk_write.m ) + Generated from SPM26.10.01. - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/@gifti/private/mvtk_write.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("mvtk_write", self._as_matlab_object(), *args, **kwargs, nargout=0) def _mz3_read(self, *args, **kwargs): - """ + r""" Read MZ3-formatted data from disk FORMAT M = mz3_read(filename) @@ -414,15 +474,18 @@ def _mz3_read(self, *args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/@gifti/private/mz3_read.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/@gifti/private/mz3_read.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("mz3_read", self._as_matlab_object(), *args, **kwargs) def _mz3_write(self, *args, **kwargs): - """ + r""" Write MZ3-formatted data from disk FORMAT mz3_write(M,filename,fmt) @@ -436,15 +499,18 @@ def _mz3_write(self, *args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/@gifti/private/mz3_write.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/@gifti/private/mz3_write.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("mz3_write", self._as_matlab_object(), *args, **kwargs, nargout=0) def _obj_read(self, *args, **kwargs): - """ + r""" Read Wavefront OBJ-formatted data from disk FORMAT M = obj_read(filename) @@ -457,15 +523,18 @@ def _obj_read(self, *args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/@gifti/private/obj_read.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/@gifti/private/obj_read.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("obj_read", self._as_matlab_object(), *args, **kwargs) def _off_read(self, *args, **kwargs): - """ + r""" Read OFF-formatted data from disk FORMAT M = off_read(filename) @@ -478,15 +547,18 @@ def _off_read(self, *args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/@gifti/private/off_read.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/@gifti/private/off_read.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("off_read", self._as_matlab_object(), *args, **kwargs) def _ply_read(self, *args, **kwargs): - """ + r""" Read PLY-formatted data from disk FORMAT M = ply_read(filename) @@ -499,15 +571,18 @@ def _ply_read(self, *args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/@gifti/private/ply_read.m ) + Generated from SPM26.10.01. - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/@gifti/private/ply_read.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ply_read", self._as_matlab_object(), *args, **kwargs) def _stl_read(self, *args, **kwargs): - """ + r""" Read STL-formatted data from disk FORMAT M = stl_read(filename) @@ -520,15 +595,18 @@ def _stl_read(self, *args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/@gifti/private/stl_read.m ) + Generated from SPM26.10.01. - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/@gifti/private/stl_read.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("stl_read", self._as_matlab_object(), *args, **kwargs) def _xml_parser(self, *args, **kwargs): - """ + r""" XML Parser FORMAT tree = xml_parser(xml) xml - XML-encoded string or filename of an XML document @@ -560,15 +638,18 @@ def _xml_parser(self, *args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/@gifti/private/xml_parser.m ) + Generated from SPM26.10.01. - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/@gifti/private/xml_parser.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("xml_parser", self._as_matlab_object(), *args, **kwargs) def _zstream(self, *args, **kwargs): - """ + r""" Compress/decompress stream of bytes using Deflate/Inflate FORMAT Z = zstream('C',D) D - data stream to compress (converted to uint8 if needed) @@ -591,9 +672,12 @@ def _zstream(self, *args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/@gifti/private/zstream.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/@gifti/private/zstream.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("zstream", self._as_matlab_object(), *args, **kwargs) diff --git a/spm/meeg.py b/spm/meeg.py index cc3859ed..d56b83b9 100644 --- a/spm/meeg.py +++ b/spm/meeg.py @@ -4,7 +4,7 @@ class meeg(RuntimeMixin, MatlabClass): def __init__(self, *args, **kwargs): - """ + r""" Function for creating meeg objects. FORMAT D = meeg; @@ -127,57 +127,69 @@ def __init__(self, *args, **kwargs): - [Matlab code]( https://github.com/spm/spm/blob/main/@meeg/meeg.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/@meeg/meeg.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ super().__init__() def badchannels(self, *args, **kwargs): - """ + r""" Method for getting/setting bad channels FORMAT res = badchannels(this) __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/@meeg/badchannels.m ) + Generated from SPM26.10.01. - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/@meeg/badchannels.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("badchannels", self._as_matlab_object(), *args, **kwargs) def badsamples(self, *args, **kwargs): - """ + r""" Returns an array of 0/1 marking bad data based on artefact events and bad flags FORMAT res = badsamples(this, chanind, sampind, trialind) __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/@meeg/badsamples.m ) + Generated from SPM26.10.01. - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/@meeg/badsamples.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("badsamples", self._as_matlab_object(), *args, **kwargs) def badtrials(self, *args, **kwargs): - """ + r""" Method for getting/setting bad trials FORMAT res = badtrials(this) __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/@meeg/badtrials.m ) + Generated from SPM26.10.01. - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/@meeg/badtrials.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("badtrials", self._as_matlab_object(), *args, **kwargs) def blank(self, *args, **kwargs): - """ + r""" Creates a blank datafile matching in the header in dimensions Will not erase existing datafile it it's there FORMAT this = blank(this) @@ -187,29 +199,35 @@ def blank(self, *args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/@meeg/blank.m ) + Generated from SPM26.10.01. - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/@meeg/blank.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("blank", self._as_matlab_object(), *args, **kwargs) def chanlabels(self, *args, **kwargs): - """ + r""" Method for getting/setting the channel labels FORMAT res = chanlabels(this, ind, label) __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/@meeg/chanlabels.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/@meeg/chanlabels.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("chanlabels", self._as_matlab_object(), *args, **kwargs) def chantype(self, *args, **kwargs): - """ + r""" Method for setting/getting channel types FORMAT chantype(this, ind, type) ind - channel index @@ -220,15 +238,18 @@ def chantype(self, *args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/@meeg/chantype.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/@meeg/chantype.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("chantype", self._as_matlab_object(), *args, **kwargs) def check(self, *args, **kwargs): - """ + r""" Method that performs integrity checks of the meeg object and its readiness for particular purposes. FORMAT this = check(this, option) @@ -242,15 +263,18 @@ def check(self, *args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/@meeg/check.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/@meeg/check.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("check", self._as_matlab_object(), *args, **kwargs) def clone(self, *args, **kwargs): - """ + r""" Creates a copy of the object with a new, empty data file, possibly changing dimensions FORMAT new = clone(this, fnamedat, dim, reset) @@ -265,58 +289,70 @@ def clone(self, *args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/@meeg/clone.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/@meeg/clone.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("clone", self._as_matlab_object(), *args, **kwargs) def conditions(self, *args, **kwargs): - """ + r""" Method for getting condition labels, over trials FORMAT res = conditions(this, ind, conditionlabels) __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/@meeg/conditions.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/@meeg/conditions.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("conditions", self._as_matlab_object(), *args, **kwargs) def condlist(self, *args, **kwargs): - """ + r""" Method for getting a list of unique condition labels sorted according to the trial order in the file FORMAT res = condlist(this) __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/@meeg/condlist.m ) + Generated from SPM26.10.01. - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/@meeg/condlist.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("condlist", self._as_matlab_object(), *args, **kwargs) def coor2D(self, *args, **kwargs): - """ + r""" x and y coordinates of channels in 2D plane FORMAT coor2D(this) __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/@meeg/coor2D.m ) + Generated from SPM26.10.01. - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/@meeg/coor2D.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("coor2D", self._as_matlab_object(), *args, **kwargs) def copy(self, *args, **kwargs): - """ + r""" Method for copying a dataset FORMAT res = copy(this, fname) @@ -326,85 +362,103 @@ def copy(self, *args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/@meeg/copy.m ) + Generated from SPM26.10.01. - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/@meeg/copy.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("copy", self._as_matlab_object(), *args, **kwargs) def delete(self, *args, **kwargs): - """ + r""" Delete files of an M/EEG dataset from disk and return unlinked object FORMAT this = delete(this) __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/@meeg/delete.m ) + Generated from SPM26.10.01. - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/@meeg/delete.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("delete", self._as_matlab_object(), *args, **kwargs) def display(self, *args, **kwargs): - """ + r""" Method for displaying information about an meeg object FORMAT display(this) __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/@meeg/display.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/@meeg/display.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("display", self._as_matlab_object(), *args, **kwargs) def end(self, *args, **kwargs): - """ + r""" Overloaded end function for meeg objects. __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/@meeg/end.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/@meeg/end.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("end", self._as_matlab_object(), *args, **kwargs) def events(self, *args, **kwargs): - """ + r""" Method for getting/setting events per trial FORMAT res = events(this, ind, event) ind = indices of trials __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/@meeg/events.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/@meeg/events.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("events", self._as_matlab_object(), *args, **kwargs) def fiducials(self, *args, **kwargs): - """ + r""" Method for getting/setting the fiducials field FORMAT res = fiducials(this, fiducials) __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/@meeg/fiducials.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/@meeg/fiducials.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("fiducials", self._as_matlab_object(), *args, **kwargs) def fieldnames(self, *args, **kwargs): - """ + r""" Returns names of the fields in .other FORMAT res = fieldnames(this) @@ -412,85 +466,103 @@ def fieldnames(self, *args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/@meeg/fieldnames.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/@meeg/fieldnames.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("fieldnames", self._as_matlab_object(), *args, **kwargs) def fname(self, *args, **kwargs): - """ + r""" Method for getting/setting file name FORMAT res = fname(this, name) __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/@meeg/fname.m ) + Generated from SPM26.10.01. - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/@meeg/fname.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("fname", self._as_matlab_object(), *args, **kwargs) def fnamedat(self, *args, **kwargs): - """ + r""" Method for getting the name of the data file FORMAT res = fnamedat(this) __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/@meeg/fnamedat.m ) + Generated from SPM26.10.01. - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/@meeg/fnamedat.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("fnamedat", self._as_matlab_object(), *args, **kwargs) def frequencies(self, *args, **kwargs): - """ + r""" Method for getting/setting frequencies of TF data FORMAT res = frequencies(this, ind, values) __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/@meeg/frequencies.m ) + Generated from SPM26.10.01. - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/@meeg/frequencies.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("frequencies", self._as_matlab_object(), *args, **kwargs) def fsample(self, *args, **kwargs): - """ + r""" Method for getting and setting the sampling rate FORMAT res = fsample(this) __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/@meeg/fsample.m ) + Generated from SPM26.10.01. - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/@meeg/fsample.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("fsample", self._as_matlab_object(), *args, **kwargs) def ftraw(self, *args, **kwargs): - """ + r""" Method for converting meeg object to Fieldtrip raw struct FORMAT raw = ftraw(this, chanind, timeind, trialind) __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/@meeg/ftraw.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/@meeg/ftraw.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ftraw", self._as_matlab_object(), *args, **kwargs) def fttimelock(self, *args, **kwargs): - """ + r""" Method for converting meeg object to Fieldtrip timelock/freq struct FORMAT timelock = fttimelock(this, chanind, timeind, trialind, freqind) @@ -500,29 +572,35 @@ def fttimelock(self, *args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/@meeg/fttimelock.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/@meeg/fttimelock.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("fttimelock", self._as_matlab_object(), *args, **kwargs) def fullfile(self, *args, **kwargs): - """ + r""" Returns full path to the meeg mat file FORMAT p = fullfile(this) __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/@meeg/fullfile.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/@meeg/fullfile.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("fullfile", self._as_matlab_object(), *args, **kwargs) def getfield(self, *args, **kwargs): - """ + r""" Returns fields in .other FORMAT res = getfield(this, varargin) @@ -530,30 +608,36 @@ def getfield(self, *args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/@meeg/getfield.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/@meeg/getfield.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("getfield", self._as_matlab_object(), *args, **kwargs) def history(self, *args, **kwargs): - """ + r""" Method for getting or adding to the history of function calls of some M/EEG data FORMAT res = history(this, varargin) __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/@meeg/history.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/@meeg/history.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("history", self._as_matlab_object(), *args, **kwargs) def indchannel(self, *args, **kwargs): - """ + r""" Method for getting channel indices based on channel labels FORMAT res = indchannel(this, label) this - MEEG object @@ -563,15 +647,18 @@ def indchannel(self, *args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/@meeg/indchannel.m ) + Generated from SPM26.10.01. - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/@meeg/indchannel.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("indchannel", self._as_matlab_object(), *args, **kwargs) def indchantype(self, *args, **kwargs): - """ + r""" Method for getting channel indices based on labels and/or types FORMAT ind = indchantype(this, types) this - MEEG object @@ -584,15 +671,18 @@ def indchantype(self, *args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/@meeg/indchantype.m ) + Generated from SPM26.10.01. - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/@meeg/indchantype.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("indchantype", self._as_matlab_object(), *args, **kwargs) def indfrequency(self, *args, **kwargs): - """ + r""" Method for getting the index closest to given frequency FORMAT res = indfrequency(this, f) this - MEEG object @@ -602,15 +692,18 @@ def indfrequency(self, *args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/@meeg/indfrequency.m ) + Generated from SPM26.10.01. - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/@meeg/indfrequency.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("indfrequency", self._as_matlab_object(), *args, **kwargs) def indsample(self, *args, **kwargs): - """ + r""" Method for getting the sample closest to some time point FORMAT res = indsample(this, t) this - MEEG object @@ -620,15 +713,18 @@ def indsample(self, *args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/@meeg/indsample.m ) + Generated from SPM26.10.01. - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/@meeg/indsample.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("indsample", self._as_matlab_object(), *args, **kwargs) def indtrial(self, *args, **kwargs): - """ + r""" Method for getting trial indices based on condition labels FORMAT res = indtrial(this, label) this - MEEG object @@ -642,43 +738,52 @@ def indtrial(self, *args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/@meeg/indtrial.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/@meeg/indtrial.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("indtrial", self._as_matlab_object(), *args, **kwargs) def isempty(self, *args, **kwargs): - """ + r""" True if the object is empty FORMAT out = isempty(this) __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/@meeg/isempty.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/@meeg/isempty.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("isempty", self._as_matlab_object(), *args, **kwargs) def isequal(self, *args, **kwargs): - """ + r""" Method to check if 2 MEEG objects are the same FORMAT res = isequal(this, that) __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/@meeg/isequal.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/@meeg/isequal.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("isequal", self._as_matlab_object(), *args, **kwargs) def isfield(self, *args, **kwargs): - """ + r""" Returns true if the string fieldname is the name of a field in the substructure 'other' in the meeg object 'this'. FORMAT res = isfield(this,fieldname) @@ -687,29 +792,35 @@ def isfield(self, *args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/@meeg/isfield.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/@meeg/isfield.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("isfield", self._as_matlab_object(), *args, **kwargs) def islinked(self, *args, **kwargs): - """ + r""" True if the object is linked to data file FORMAT out = islinked(this) __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/@meeg/islinked.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/@meeg/islinked.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("islinked", self._as_matlab_object(), *args, **kwargs) def link(self, *args, **kwargs): - """ + r""" Links the object to data file (only if exists) FORMAT this = link(this) Will try to find the datafile based on fname and path @@ -720,15 +831,18 @@ def link(self, *args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/@meeg/link.m ) + Generated from SPM26.10.01. - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/@meeg/link.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("link", self._as_matlab_object(), *args, **kwargs) def modality(self, *args, **kwargs): - """ + r""" Returns data modality FORMAT [res, list] = modality(this, scalp) @@ -741,15 +855,18 @@ def modality(self, *args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/@meeg/modality.m ) + Generated from SPM26.10.01. - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/@meeg/modality.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("modality", self._as_matlab_object(), *args, **kwargs) def montage(self, *args, **kwargs): - """ + r""" Method for specifying an online montage, or setting one to use FORMAT res = montage(this, 'add', montage) @@ -773,15 +890,18 @@ def montage(self, *args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/@meeg/montage.m ) + Generated from SPM26.10.01. - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/@meeg/montage.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("montage", self._as_matlab_object(), *args, **kwargs) def move(self, *args, **kwargs): - """ + r""" Method for moving or changing name of data file FORMAT res = move(this, fname) @@ -792,99 +912,120 @@ def move(self, *args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/@meeg/move.m ) + Generated from SPM26.10.01. - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/@meeg/move.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("move", self._as_matlab_object(), *args, **kwargs) def nchannels(self, *args, **kwargs): - """ + r""" returns number of channels FORMAT res = nchannels(this) __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/@meeg/nchannels.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/@meeg/nchannels.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("nchannels", self._as_matlab_object(), *args, **kwargs) def nconditions(self, *args, **kwargs): - """ + r""" Method for getting the number of unique conditions in the file FORMAT res = nconditions(obj) __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/@meeg/nconditions.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/@meeg/nconditions.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("nconditions", self._as_matlab_object(), *args, **kwargs) def nfrequencies(self, *args, **kwargs): - """ + r""" Method for getting the number of frequencies for TF data FORMAT res = nsamples(this) __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/@meeg/nfrequencies.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/@meeg/nfrequencies.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("nfrequencies", self._as_matlab_object(), *args, **kwargs) def nsamples(self, *args, **kwargs): - """ + r""" Method for getting the number of samples per trial FORMAT res = nsamples(this) __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/@meeg/nsamples.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/@meeg/nsamples.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("nsamples", self._as_matlab_object(), *args, **kwargs) def ntrials(self, *args, **kwargs): - """ + r""" Method for getting the number of trials in the file FORMAT res = ntrials(this) __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/@meeg/ntrials.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/@meeg/ntrials.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("ntrials", self._as_matlab_object(), *args, **kwargs) def path(self, *args, **kwargs): - """ + r""" Method for getting/setting path FORMAT res = path(this, newpath) __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/@meeg/path.m ) + Generated from SPM26.10.01. - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/@meeg/path.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("path", self._as_matlab_object(), *args, **kwargs) def reload(self, *args, **kwargs): - """ + r""" Reload the file from disk FORMAT this = reload(this) @@ -892,57 +1033,69 @@ def reload(self, *args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/@meeg/reload.m ) + Generated from SPM26.10.01. - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/@meeg/reload.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("reload", self._as_matlab_object(), *args, **kwargs) def repl(self, *args, **kwargs): - """ + r""" Method for getting replication counts, over trials FORMAT res = repl(this, index, nrepl) __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/@meeg/repl.m ) + Generated from SPM26.10.01. - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/@meeg/repl.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("repl", self._as_matlab_object(), *args, **kwargs) def rmdata(self, *args, **kwargs): - """ + r""" Deletes the data file and unlinks the header FORMAT this = rmdata(this) __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/@meeg/rmdata.m ) + Generated from SPM26.10.01. - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/@meeg/rmdata.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("rmdata", self._as_matlab_object(), *args, **kwargs) def rmfield(self, *args, **kwargs): - """ + r""" Method for removing an object field FORMAT this = rmfield(this, fields) __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/@meeg/rmfield.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/@meeg/rmfield.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("rmfield", self._as_matlab_object(), *args, **kwargs) def save(self, *args, **kwargs): - """ + r""" Save an meeg object into a file FORMAT this = save(this) @@ -950,29 +1103,35 @@ def save(self, *args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/@meeg/save.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/@meeg/save.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("save", self._as_matlab_object(), *args, **kwargs) def sconfounds(self, *args, **kwargs): - """ + r""" Method for getting/setting spatial confounds FORMAT res = sconfounds(this, newsconfounds) __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/@meeg/sconfounds.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/@meeg/sconfounds.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("sconfounds", self._as_matlab_object(), *args, **kwargs) def selectchannels(self, *args, **kwargs): - """ + r""" Method for getting channel indices based on labels and/or types FORMAT res = selectchannels(this, label) this - MEEG object @@ -983,15 +1142,18 @@ def selectchannels(self, *args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/@meeg/selectchannels.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/@meeg/selectchannels.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("selectchannels", self._as_matlab_object(), *args, **kwargs) def selectdata(self, *args, **kwargs): - """ + r""" Selects data using channel labels, time and condition labels as indices FORMAT res = selectdata(D, chanlabel, timeborders, condition) res = selectdata(D, chanlabel, freqborders, timeborders, condition) @@ -1004,15 +1166,18 @@ def selectdata(self, *args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/@meeg/selectdata.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/@meeg/selectdata.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("selectdata", self._as_matlab_object(), *args, **kwargs) def sensors(self, *args, **kwargs): - """ + r""" Sets and gets sensor fields for EEG and MEG returns empty matrix if no sensors are defined. FORMAT res = sensors(this, type, newsens) @@ -1020,114 +1185,138 @@ def sensors(self, *args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/@meeg/sensors.m ) + Generated from SPM26.10.01. - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/@meeg/sensors.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("sensors", self._as_matlab_object(), *args, **kwargs) def size(self, *args, **kwargs): - """ + r""" returns the dimensions of the data matrix FORMAT res = size(this, dim)) __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/@meeg/size.m ) + Generated from SPM26.10.01. - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/@meeg/size.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("size", self._as_matlab_object(), *args, **kwargs) def subsasgn(self, *args, **kwargs): - """ + r""" Overloaded subsasgn function for meeg objects. __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/@meeg/subsasgn.m ) + Generated from SPM26.10.01. - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/@meeg/subsasgn.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("subsasgn", self._as_matlab_object(), *args, **kwargs) def subsref(self, *args, **kwargs): - """ + r""" SUBSREF Subscripted reference An overloaded function... __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/@meeg/subsref.m ) + Generated from SPM26.10.01. - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/@meeg/subsref.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("subsref", self._as_matlab_object(), *args, **kwargs) def time(self, *args, **kwargs): - """ + r""" Method for getting the time axis FORMAT res = time(this, ind, format) __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/@meeg/time.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/@meeg/time.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("time", self._as_matlab_object(), *args, **kwargs) def timeonset(self, *args, **kwargs): - """ + r""" Method for reading and setting the time onset FORMAT res = timeonset(this) res = timeonset(this, newonset) __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/@meeg/timeonset.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/@meeg/timeonset.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("timeonset", self._as_matlab_object(), *args, **kwargs) def transformtype(self, *args, **kwargs): - """ + r""" Method for getting/setting type of transform FORMAT res = transformtype(this, name) __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/@meeg/transformtype.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/@meeg/transformtype.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("transformtype", self._as_matlab_object(), *args, **kwargs) def trialonset(self, *args, **kwargs): - """ + r""" Method for getting/setting trial onset times FORMAT res = trialonset(this, ind, onset) ind = indices of trials __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/@meeg/trialonset.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/@meeg/trialonset.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("trialonset", self._as_matlab_object(), *args, **kwargs) def trialtag(self, *args, **kwargs): - """ + r""" Method for getting/setting trial tag FORMAT res = trialtag(this, ind, tag) ind = indices of trials @@ -1138,100 +1327,121 @@ def trialtag(self, *args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/@meeg/trialtag.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/@meeg/trialtag.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("trialtag", self._as_matlab_object(), *args, **kwargs) def type_(self, *args, **kwargs): - """ + r""" Method for and getting/setting EEG file type FORMAT res = type(this, value) __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/@meeg/type.m ) + Generated from SPM26.10.01. - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/@meeg/type.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("type", self._as_matlab_object(), *args, **kwargs) def units(self, *args, **kwargs): - """ + r""" Method for setting/getting all units, over channels FORMAT res = units(this, ind) __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/@meeg/units.m ) + Generated from SPM26.10.01. - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/@meeg/units.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("units", self._as_matlab_object(), *args, **kwargs) def unlink(self, *args, **kwargs): - """ + r""" Unlinks the object from the data file FORMAT this = unlink(this) __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/@meeg/unlink.m ) + Generated from SPM26.10.01. - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/@meeg/unlink.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("unlink", self._as_matlab_object(), *args, **kwargs) def _checkmeeg(self, *args, **kwargs): - """ + r""" Check the internal structure of meeg objects FORMAT this = checkmeeg(this) this - the struct to check (is returned modified if necessary) __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/@meeg/private/checkmeeg.m ) + Generated from SPM26.10.01. - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/@meeg/private/checkmeeg.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("checkmeeg", self._as_matlab_object(), *args, **kwargs) def _fixpnt(self, *args, **kwargs): - """ + r""" Rename point structure fields (backward compatibility) FORMAT data = fixpnt(data, recurse) __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/@meeg/private/fixpnt.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/@meeg/private/fixpnt.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("fixpnt", self._as_matlab_object(), *args, **kwargs) def _getset(self, *args, **kwargs): - """ + r""" Generic method for getting and setting multiple fields of meeg struct FORMAT res = getset(this, parent, fieldname, ind, values) __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/@meeg/private/getset.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/@meeg/private/getset.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("getset", self._as_matlab_object(), *args, **kwargs) def _match_str(self, *args, **kwargs): - """ + r""" MATCH_STR looks for matching labels in two lists of strings and returns the indices into both the 1st and 2nd list of the matches. They will be ordered according to the first input argument. @@ -1249,23 +1459,29 @@ def _match_str(self, *args, **kwargs): size of the input lists is meaningful. - [Matlab code]( https://github.com/spm/spm/blob/main/@meeg/private/match_str.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/@meeg/private/match_str.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("match_str", self._as_matlab_object(), *args, **kwargs) def _warning_flexible(self, *args, **kwargs): - """ + r""" Function allowing to have better control over the warnings that might not be necessary at some point __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/@meeg/private/warning_flexible.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/@meeg/private/warning_flexible.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("warning_flexible", self._as_matlab_object(), *args, **kwargs, nargout=0) diff --git a/spm/nifti.py b/spm/nifti.py index c77dad68..3aec5115 100644 --- a/spm/nifti.py +++ b/spm/nifti.py @@ -4,7 +4,7 @@ class nifti(RuntimeMixin, MatlabClass): def __init__(self, *args, **kwargs): - """ + r""" Create a NIFTI-1 object __________________________________________________________________________ @@ -13,28 +13,34 @@ def __init__(self, *args, **kwargs): - [Matlab code]( https://github.com/spm/spm/blob/main/@nifti/nifti.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/@nifti/nifti.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ super().__init__() def cifti(self, *args, **kwargs): - """ + r""" Extract CIFTI-2 extension from a NIfTI-2 file and export data __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/@nifti/cifti.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/@nifti/cifti.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("cifti", self._as_matlab_object(), *args, **kwargs) def create(self, *args, **kwargs): - """ + r""" Create a NIFTI-1 file FORMAT create(obj) Write out the header information for the nifti object @@ -44,81 +50,99 @@ def create(self, *args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/@nifti/create.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/@nifti/create.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("create", self._as_matlab_object(), *args, **kwargs, nargout=0) def disp(self, *args, **kwargs): - """ + r""" Disp a NIFTI-1 object __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/@nifti/disp.m ) + Generated from SPM26.10.01. - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/@nifti/disp.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("disp", self._as_matlab_object(), *args, **kwargs, nargout=0) def display(self, *args, **kwargs): - """ + r""" Display a NIFTI-1 object __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/@nifti/display.m ) + Generated from SPM26.10.01. - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/@nifti/display.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("display", self._as_matlab_object(), *args, **kwargs, nargout=0) def fieldnames(self, *args, **kwargs): - """ + r""" Fieldnames of a NIFTI-1 object __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/@nifti/fieldnames.m ) + Generated from SPM26.10.01. - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/@nifti/fieldnames.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("fieldnames", self._as_matlab_object(), *args, **kwargs) def structn(self, *args, **kwargs): - """ + r""" Convert a NIFTI-1 object into a form of struct __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/@nifti/structn.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/@nifti/structn.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("structn", self._as_matlab_object(), *args, **kwargs) def subsasgn(self, *args, **kwargs): - """ + r""" Subscript assignment See subsref for meaning of fields. __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/@nifti/subsasgn.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/@nifti/subsasgn.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("subsasgn", self._as_matlab_object(), *args, **kwargs) def subsref(self, *args, **kwargs): - """ + r""" Subscript referencing Fields are: @@ -158,162 +182,198 @@ def subsref(self, *args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/@nifti/subsref.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/@nifti/subsref.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("subsref", self._as_matlab_object(), *args, **kwargs) def _M2Q(self, *args, **kwargs): - """ + r""" Convert from rotation matrix to quaternion form See: http://skal.planet-d.net/demo/matrixfaq.htm __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/@nifti/private/M2Q.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/@nifti/private/M2Q.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("M2Q", self._as_matlab_object(), *args, **kwargs) def _Q2M(self, *args, **kwargs): - """ + r""" Generate a rotation matrix from a quaternion xi+yj+zk+w, where Q = [x y z], and w = 1-x^2-y^2-z^2. See: http://skal.planet-d.net/demo/matrixfaq.htm __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/@nifti/private/Q2M.m ) + Generated from SPM26.10.01. - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/@nifti/private/Q2M.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("Q2M", self._as_matlab_object(), *args, **kwargs) def _decode_qform0(self, *args, **kwargs): - """ + r""" Decode qform info from NIFTI-1 headers. __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/@nifti/private/decode_qform0.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/@nifti/private/decode_qform0.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("decode_qform0", self._as_matlab_object(), *args, **kwargs) def _empty_hdr(self, *args, **kwargs): - """ + r""" Create an empty NIFTI header FORMAT hdr = empty_hdr __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/@nifti/private/empty_hdr.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/@nifti/private/empty_hdr.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("empty_hdr", self._as_matlab_object(), *args, **kwargs) def _encode_qform0(self, *args, **kwargs): - """ + r""" Encode an affine transform into qform __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/@nifti/private/encode_qform0.m ) + Generated from SPM26.10.01. - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/@nifti/private/encode_qform0.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("encode_qform0", self._as_matlab_object(), *args, **kwargs) def _findindict(self, *args, **kwargs): - """ + r""" Look up an entry in the dictionary __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/@nifti/private/findindict.m ) + Generated from SPM26.10.01. - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/@nifti/private/findindict.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("findindict", self._as_matlab_object(), *args, **kwargs) def _getdict(self, *args, **kwargs): - """ + r""" Dictionary of NIFTI stuff __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/@nifti/private/getdict.m ) + Generated from SPM26.10.01. - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/@nifti/private/getdict.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("getdict", self._as_matlab_object(), *args, **kwargs) def _mayo2nifti1(self, *args, **kwargs): - """ + r""" Convert from an ANALYZE to a NIFTI-1 header __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/@nifti/private/mayo2nifti1.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/@nifti/private/mayo2nifti1.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("mayo2nifti1", self._as_matlab_object(), *args, **kwargs) def _mayostruc(self, *args, **kwargs): - """ + r""" Create a data structure describing Analyze headers __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/@nifti/private/mayostruc.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/@nifti/private/mayostruc.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("mayostruc", self._as_matlab_object(), *args, **kwargs) def _nifti1struc(self, *args, **kwargs): - """ + r""" Create a data structure describing NIFTI-1 headers __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/@nifti/private/nifti1struc.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/@nifti/private/nifti1struc.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("nifti1struc", self._as_matlab_object(), *args, **kwargs) def _nifti2struc(self, *args, **kwargs): - """ + r""" Create a data structure describing NIFTI-2 headers __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/@nifti/private/nifti2struc.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/@nifti/private/nifti2struc.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("nifti2struc", self._as_matlab_object(), *args, **kwargs) def _nifti_stats(self, *args, **kwargs): - """ + r""" Conversion among various statistics FORMAT P = nifti_stats(VAL,CODE,OPT,PARAM) CODE can be one of @@ -341,41 +401,50 @@ def _nifti_stats(self, *args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/@nifti/private/nifti_stats.m ) + Generated from SPM26.10.01. - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/@nifti/private/nifti_stats.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("nifti_stats", self._as_matlab_object(), *args, **kwargs) def _niftistruc(self, *args, **kwargs): - """ + r""" Create a data structure describing NIFTI headers __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/@nifti/private/niftistruc.m ) + Generated from SPM26.10.01. - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/@nifti/private/niftistruc.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("niftistruc", self._as_matlab_object(), *args, **kwargs) def _read_extras(self, *args, **kwargs): - """ + r""" Read extra bits of information __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/@nifti/private/read_extras.m ) + Generated from SPM26.10.01. - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/@nifti/private/read_extras.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("read_extras", self._as_matlab_object(), *args, **kwargs) def _read_hdr(self, *args, **kwargs): - """ + r""" Get a variety of information from a NIFTI header FORMAT vol = read_hdr(fname) fname - filename of image @@ -383,15 +452,18 @@ def _read_hdr(self, *args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/@nifti/private/read_hdr.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/@nifti/private/read_hdr.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("read_hdr", self._as_matlab_object(), *args, **kwargs) def _read_hdr_raw(self, *args, **kwargs): - """ + r""" Read a NIFTI header FORMAT [hdr,be] = read_hdr_raw(hname) hname - filename of image's header @@ -400,28 +472,34 @@ def _read_hdr_raw(self, *args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/@nifti/private/read_hdr_raw.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/@nifti/private/read_hdr_raw.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("read_hdr_raw", self._as_matlab_object(), *args, **kwargs) def _write_extras(self, *args, **kwargs): - """ + r""" Write extra bits of information __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/@nifti/private/write_extras.m ) + Generated from SPM26.10.01. - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/@nifti/private/write_extras.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("write_extras", self._as_matlab_object(), *args, **kwargs) def _write_hdr_raw(self, *args, **kwargs): - """ + r""" Write a NIFTI-1 header FORMAT sts = write_hdr_raw(fname,hdr,be) fname - filename of image @@ -430,11 +508,15 @@ def _write_hdr_raw(self, *args, **kwargs): sts - status (1=good, 0=bad) __________________________________________________________________________ + Copyright (C) 2005-2017 Wellcome Trust Centre for Neuroimaging - [Matlab code]( https://github.com/spm/spm/blob/main/@nifti/private/write_hdr_raw.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/@nifti/private/write_hdr_raw.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("write_hdr_raw", self._as_matlab_object(), *args, **kwargs) diff --git a/spm/slover.py b/spm/slover.py index 98307e52..070eff72 100644 --- a/spm/slover.py +++ b/spm/slover.py @@ -4,7 +4,7 @@ class slover(RuntimeMixin, MatlabClass): def __init__(self, *args, **kwargs): - """ + r""" class constructor for slice overlay (slover) object FORMAT [o, others] = slover(params, others, varargin) @@ -157,15 +157,18 @@ class constructor for slice overlay (slover) object - [Matlab code]( https://github.com/spm/spm/blob/main/@slover/slover.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/@slover/slover.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ super().__init__() def add_blobs(self, *args, **kwargs): - """ + r""" Add SPM blobs to img no 'imgno', as specified in FORMAT obj = add_blobs(obj, xyz, vals, mat, imgno) @@ -180,15 +183,18 @@ def add_blobs(self, *args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/@slover/add_blobs.m ) + Generated from SPM26.10.01. - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/@slover/add_blobs.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("add_blobs", self._as_matlab_object(), *args, **kwargs) def add_matrix(self, *args, **kwargs): - """ + r""" Add 3d matrix image vol to slice overlay FORMAT obj = add_matrix(obj, mat3d, mat, imgno) @@ -203,15 +209,18 @@ def add_matrix(self, *args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/@slover/add_matrix.m ) + Generated from SPM26.10.01. - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/@slover/add_matrix.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("add_matrix", self._as_matlab_object(), *args, **kwargs) def add_spm(self, *args, **kwargs): - """ + r""" Add SPM blobs as new img to object, split effect, 'hot' colormap FORMAT obj = add_spm(obj) @@ -219,28 +228,34 @@ def add_spm(self, *args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/@slover/add_spm.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/@slover/add_spm.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("add_spm", self._as_matlab_object(), *args, **kwargs) def display(self, *args, **kwargs): - """ + r""" Display method for slice overlay object __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/@slover/display.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/@slover/display.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("display", self._as_matlab_object(), *args, **kwargs, nargout=0) def fill_defaults(self, *args, **kwargs): - """ + r""" Check and fill fields in object FORMAT obj = fill_defaults(obj) @@ -252,28 +267,34 @@ def fill_defaults(self, *args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/@slover/fill_defaults.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/@slover/fill_defaults.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("fill_defaults", self._as_matlab_object(), *args, **kwargs) def get_pos(self, *args, **kwargs): - """ + r""" Return point location from last click, in mm __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/@slover/get_pos.m ) + Generated from SPM26.10.01. - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/@slover/get_pos.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("get_pos", self._as_matlab_object(), *args, **kwargs) def paint(self, *args, **kwargs): - """ + r""" Method to display slice overlay FORMAT obj = paint(obj, params) @@ -293,15 +314,18 @@ def paint(self, *args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/@slover/paint.m ) + Generated from SPM26.10.01. - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/@slover/paint.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("paint", self._as_matlab_object(), *args, **kwargs) def point_vals(self, *args, **kwargs): - """ + r""" Return values from all the images at points given in XYZmm FORMAT vals = point_vals(obj, XYZmm, holdlist) @@ -317,15 +341,18 @@ def point_vals(self, *args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/@slover/point_vals.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/@slover/point_vals.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("point_vals", self._as_matlab_object(), *args, **kwargs) def print_fig(self, *args, **kwargs): - """ + r""" Print slice overlay figure FORMAT print_fig(obj, filename, printstr) @@ -339,43 +366,52 @@ def print_fig(self, *args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/@slover/print_fig.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/@slover/print_fig.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("print_fig", self._as_matlab_object(), *args, **kwargs, nargout=0) def subsasgn(self, *args, **kwargs): - """ + r""" Method to overload . notation in assignments. . assignment works directly on object fields __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/@slover/subsasgn.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/@slover/subsasgn.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("subsasgn", self._as_matlab_object(), *args, **kwargs) def subsref(self, *args, **kwargs): - """ + r""" Method to overload the . notation. . reference works directly on object fields __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/@slover/subsref.m ) + Generated from SPM26.10.01. - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/@slover/subsref.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("subsref", self._as_matlab_object(), *args, **kwargs) def _mars_struct(self, *args, **kwargs): - """ + r""" Multifunction function for manipulating structures To help the exposition a bit: @@ -449,15 +485,18 @@ def _mars_struct(self, *args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/@slover/private/mars_struct.m ) + Generated from SPM26.10.01. - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/@slover/private/mars_struct.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("mars_struct", self._as_matlab_object(), *args, **kwargs) def _pr_basic_ui(self, *args, **kwargs): - """ + r""" GUI to request parameters for slover routine FORMAT obj = pr_basic_ui(imgs, dispf) @@ -469,15 +508,18 @@ def _pr_basic_ui(self, *args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/@slover/private/pr_basic_ui.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/@slover/private/pr_basic_ui.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("pr_basic_ui", self._as_matlab_object(), *args, **kwargs) def _pr_blobs2vol(self, *args, **kwargs): - """ + r""" Take XYZ matrix and values and return SPM matrix vol struct FORMAT vol = pr_blobs2vol(xyz,vals,mat) @@ -491,15 +533,18 @@ def _pr_blobs2vol(self, *args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/@slover/private/pr_blobs2vol.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/@slover/private/pr_blobs2vol.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("pr_blobs2vol", self._as_matlab_object(), *args, **kwargs) def _pr_get_spm_results(self, *args, **kwargs): - """ + r""" Fetch SPM results and return as point list FORMAT [XYZ, Z, M] = pr_get_spm_results @@ -510,15 +555,18 @@ def _pr_get_spm_results(self, *args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/@slover/private/pr_get_spm_results.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/@slover/private/pr_get_spm_results.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("pr_get_spm_results", self._as_matlab_object(), *args, **kwargs) def _pr_getcmap(self, *args, **kwargs): - """ + r""" Get colormap of name acmapname FORMAT [cmap, warnstr] = pr_getcmap(acmapname) @@ -537,15 +585,18 @@ def _pr_getcmap(self, *args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/@slover/private/pr_getcmap.m ) + Generated from SPM26.10.01. - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/@slover/private/pr_getcmap.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("pr_getcmap", self._as_matlab_object(), *args, **kwargs) def _pr_matrix2vol(self, *args, **kwargs): - """ + r""" Return (pseudo) vol struct for 3d matrix FORMAT vol = pr_matrix2vol(mat3d,mat) @@ -558,15 +609,18 @@ def _pr_matrix2vol(self, *args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/@slover/private/pr_matrix2vol.m ) + Generated from SPM26.10.01. - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/@slover/private/pr_matrix2vol.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("pr_matrix2vol", self._as_matlab_object(), *args, **kwargs) def _pr_scaletocmap(self, *args, **kwargs): - """ + r""" Scale image data to colormap, returning colormap indices FORMAT [img, badvals]=pr_scaletocmap(inpimg,mn,mx,cmap,lrn) @@ -589,15 +643,18 @@ def _pr_scaletocmap(self, *args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/@slover/private/pr_scaletocmap.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/@slover/private/pr_scaletocmap.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("pr_scaletocmap", self._as_matlab_object(), *args, **kwargs) def _pr_volmaxmin(self, *args, **kwargs): - """ + r""" Return max and min value in image volume FORMAT [mx,mn] = pr_volmaxmin(vol) @@ -610,9 +667,12 @@ def _pr_volmaxmin(self, *args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/@slover/private/pr_volmaxmin.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/@slover/private/pr_volmaxmin.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("pr_volmaxmin", self._as_matlab_object(), *args, **kwargs) diff --git a/spm/spm.py b/spm/spm.py index 84c8e553..51d382fb 100644 --- a/spm/spm.py +++ b/spm/spm.py @@ -2,7 +2,7 @@ def spm(*args, **kwargs): - """ + r""" SPM: Statistical Parametric Mapping (startup function) _______________________________________________________________________ ___ ____ __ __ @@ -56,9 +56,12 @@ def spm(*args, **kwargs): _______________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm", *args, **kwargs) diff --git a/spm/spm_ADEM.py b/spm/spm_ADEM.py index 65406da3..b7fad348 100644 --- a/spm/spm_ADEM.py +++ b/spm/spm_ADEM.py @@ -2,8 +2,8 @@ def spm_ADEM(*args, **kwargs): - """ - Dynamic expectation maximisation: Active inversion + r""" + Dynamic expectation maximisation: Active inversion FORMAT DEM = spm_ADEM(DEM) DEM.G - generative process @@ -13,19 +13,18 @@ def spm_ADEM(*args, **kwargs): __________________________________________________________________________ This implementation of DEM is the same as spm_DEM but integrates both the - generative process and model inversion in parallel. Its functionality is + generative process and model inversion in parallel. Its functionality is exactly the same apart from the fact that confounds are not accommodated - explicitly. The generative model is specified by DEM.G and the veridical - causes by DEM.C; these may or may not be used as priors on the causes for - the inversion model DEM.M (i.e., DEM.U = DEM.C). Clearly, DEM.G does not - require any priors or precision components; it will use the values of the - parameters specified in the prior expectation fields. + explicitly. The generative process is specified by DEM.G and the + veridical causes by DEM.C; these may or may not be used as priors on the + causes for the inversion model DEM.M (i.e., DEM.U = DEM.C). Clearly, + DEM.G does not require any priors or precision components: it will use + the values of the parameters specified in the prior expectation fields. This routine is not used for model inversion per se but to simulate the - dynamical inversion of models. Critically, it includes action - variables a - that couple the model back to the generative process - This enables active inference (c.f., action-perception) or embodied - inference. + dynamical inversion of models. Crucially, it includes action variables + (a) that couple the model back to the generative process This enables + active inference (c.f., action-perception) or embodied inference. hierarchical models M(i) -------------------------------------------------------------------------- @@ -50,9 +49,12 @@ def spm_ADEM(*args, **kwargs): M(i).k = number of action a(i) - [Matlab code]( https://github.com/spm/spm/blob/main/spm_ADEM.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_ADEM.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_ADEM", *args, **kwargs) diff --git a/spm/spm_ADEM_M_set.py b/spm/spm_ADEM_M_set.py index 87d7a8e5..ef68bb17 100644 --- a/spm/spm_ADEM_M_set.py +++ b/spm/spm_ADEM_M_set.py @@ -2,7 +2,7 @@ def spm_ADEM_M_set(*args, **kwargs): - """ + r""" Set indices and perform checks on hierarchical action models FORMAT M = spm_ADEM_M_set(M) @@ -46,9 +46,12 @@ def spm_ADEM_M_set(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_ADEM_M_set.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_ADEM_M_set.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_ADEM_M_set", *args, **kwargs) diff --git a/spm/spm_ADEM_diff.py b/spm/spm_ADEM_diff.py index bb97a658..01902867 100644 --- a/spm/spm_ADEM_diff.py +++ b/spm/spm_ADEM_diff.py @@ -2,7 +2,7 @@ def spm_ADEM_diff(*args, **kwargs): - """ + r""" Evaluate an active model given innovations z{i} and w{i} FORMAT [u,dg,df] = spm_ADEM_diff(M,u) @@ -20,9 +20,12 @@ def spm_ADEM_diff(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_ADEM_diff.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_ADEM_diff.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_ADEM_diff", *args, **kwargs) diff --git a/spm/spm_ADEM_set.py b/spm/spm_ADEM_set.py index ffb65854..af842f24 100644 --- a/spm/spm_ADEM_set.py +++ b/spm/spm_ADEM_set.py @@ -2,7 +2,7 @@ def spm_ADEM_set(*args, **kwargs): - """ + r""" Perform checks on DEM structures for active inversion FORMAT DEM = spm_ADEM_set(DEM) @@ -13,9 +13,12 @@ def spm_ADEM_set(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_ADEM_set.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_ADEM_set.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_ADEM_set", *args, **kwargs) diff --git a/spm/spm_ADEM_update.py b/spm/spm_ADEM_update.py index 472b836a..7916860a 100644 --- a/spm/spm_ADEM_update.py +++ b/spm/spm_ADEM_update.py @@ -2,7 +2,7 @@ def spm_ADEM_update(*args, **kwargs): - """ + r""" Update ADEM structure using conditional expectations FORMAT DEM = spm_ADEM_update(DEM,COV) @@ -18,9 +18,12 @@ def spm_ADEM_update(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_ADEM_update.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_ADEM_update.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_ADEM_update", *args, **kwargs) diff --git a/spm/spm_ALAP.py b/spm/spm_ALAP.py index 797989ae..4e069253 100644 --- a/spm/spm_ALAP.py +++ b/spm/spm_ALAP.py @@ -2,7 +2,7 @@ def spm_ALAP(*args, **kwargs): - """ + r""" Laplacian model inversion (see also spm_LAP) with action FORMAT DEM = spm_ALAP(DEM) @@ -152,9 +152,12 @@ def spm_ALAP(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_ALAP.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_ALAP.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_ALAP", *args, **kwargs) diff --git a/spm/spm_A_reduce.py b/spm/spm_A_reduce.py index e5b6115e..e834aba4 100644 --- a/spm/spm_A_reduce.py +++ b/spm/spm_A_reduce.py @@ -2,7 +2,7 @@ def spm_A_reduce(*args, **kwargs): - """ + r""" Reduction of Markovian partition FORMAT [J,z,v,s] = spm_A_reduce(J,x,T,N) J - Jacobian (x) @@ -19,9 +19,12 @@ def spm_A_reduce(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_A_reduce.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_A_reduce.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_A_reduce", *args, **kwargs) diff --git a/spm/spm_BIDS.py b/spm/spm_BIDS.py index fc1621d8..ed1d8d09 100644 --- a/spm/spm_BIDS.py +++ b/spm/spm_BIDS.py @@ -2,7 +2,7 @@ def spm_BIDS(*args, **kwargs): - """ + r""" Parse and query a directory structure formatted according to the BIDS standard FORMAT BIDS = spm_BIDS(root) root - directory formatted according to BIDS [Default: pwd] @@ -22,9 +22,12 @@ def spm_BIDS(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_BIDS.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_BIDS.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_BIDS", *args, **kwargs) diff --git a/spm/spm_BIDS_file.py b/spm/spm_BIDS_file.py index 573c29dd..9ef30de4 100644 --- a/spm/spm_BIDS_file.py +++ b/spm/spm_BIDS_file.py @@ -2,7 +2,7 @@ def spm_BIDS_file(*args, **kwargs): - """ + r""" Function to create BIDS style filenames for saving and loading data. FORMAT [BIDS_file] = spm_BIDS_file(S) @@ -28,33 +28,29 @@ def spm_BIDS_file(*args, **kwargs): run = cell array or string, containing run names. Output: - outputs: Array of structures containing directory information - with fields: - - file: Full path and filename - - folder: Directory path - - name: Full filename - - ext: File extension - - exists: Boolean, does the file exist already? - - + bids fields, sub, ses, task, run + BIDS_file: Struct + file + folder + name + ext + exists + sub + ses + task + run _________________________________________________________________________ Further help: - spm_BIDS_file is a function that takes an input of BIDS parameters, along with some additional specification of the way to handle those parameters, - and provides a single, or array, of file directories. This method may be - used within a loop that, for example, takes a list of subject names and - updates S.BIDS.sub, or by providing the function with the list of subject - names directly. If insufficient information is provided the method - assumes this is intentional and provides a limited output. This may be - useful for accessing files which are independent of the task/run, such as - an anatomical image in an MEG study. Or, for when only a single session - is used, and is excluded from the file specification. + and provides a single, or array, of file directories. If insufficient + information is provided the method assumes this is intentional and provides + a limited output. This may be useful for accessing files which are + independent of the task/run, such as an anatomical image in an MEG study. Note, when S.derivative = false, this function will not create new folders, to avoid breaking the organisation of existing data. Otherwise, - it will create a new folder. The function never checks if the file - exists. + it will create a new folder. Note, this function does not enforce BIDS standards (found here: https://bids-specification.readthedocs.io), see spm_BIDS for @@ -65,9 +61,12 @@ def spm_BIDS_file(*args, **kwargs): _________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_BIDS_file.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_BIDS_file.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_BIDS_file", *args, **kwargs) diff --git a/spm/spm_BMS.py b/spm/spm_BMS.py index 613b721d..c786b2df 100644 --- a/spm/spm_BMS.py +++ b/spm/spm_BMS.py @@ -2,7 +2,7 @@ def spm_BMS(*args, **kwargs): - """ + r""" Bayesian model selection for group studies FORMAT [alpha,exp_r,xp,pxp,bor] = spm_BMS (lme, Nsamp, do_plot, sampling, ecp, alpha0) @@ -36,9 +36,12 @@ def spm_BMS(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_BMS.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_BMS.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_BMS", *args, **kwargs) diff --git a/spm/spm_BMS_F.py b/spm/spm_BMS_F.py index e02d277f..b29d1c74 100644 --- a/spm/spm_BMS_F.py +++ b/spm/spm_BMS_F.py @@ -2,7 +2,7 @@ def spm_BMS_F(*args, **kwargs): - """ + r""" Compute two lower bounds on model evidence p(y|r) for group BMS FORMAT [F_samp,F_bound] = spm_BMS_F(alpha,lme,alpha0) @@ -21,9 +21,12 @@ def spm_BMS_F(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_BMS_F.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_BMS_F.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_BMS_F", *args, **kwargs) diff --git a/spm/spm_BMS_F_smpl.py b/spm/spm_BMS_F_smpl.py index 8764f508..aa1115e1 100644 --- a/spm/spm_BMS_F_smpl.py +++ b/spm/spm_BMS_F_smpl.py @@ -2,7 +2,7 @@ def spm_BMS_F_smpl(*args, **kwargs): - """ + r""" Get sample and lower bound approx. for model evidence p(y|r) in group BMS FORMAT [s_samp,s_bound] = spm_BMS_F_smpl(alpha,lme,alpha0) @@ -14,9 +14,12 @@ def spm_BMS_F_smpl(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_BMS_F_smpl.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_BMS_F_smpl.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_BMS_F_smpl", *args, **kwargs) diff --git a/spm/spm_BMS_bor.py b/spm/spm_BMS_bor.py index e653a49a..89a59df4 100644 --- a/spm/spm_BMS_bor.py +++ b/spm/spm_BMS_bor.py @@ -2,7 +2,7 @@ def spm_BMS_bor(*args, **kwargs): - """ + r""" Compute Bayes Omnibus Risk FORMAT [bor,F0,F1] = spm_BMS_bor(L,posterior,priors,C) @@ -21,9 +21,12 @@ def spm_BMS_bor(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_BMS_bor.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_BMS_bor.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_BMS_bor", *args, **kwargs) diff --git a/spm/spm_BMS_gibbs.py b/spm/spm_BMS_gibbs.py index 290be3c7..6c59558e 100644 --- a/spm/spm_BMS_gibbs.py +++ b/spm/spm_BMS_gibbs.py @@ -2,7 +2,7 @@ def spm_BMS_gibbs(*args, **kwargs): - """ + r""" Bayesian model selection for group studies using Gibbs sampling FORMAT [exp_r,xp,r_samp,g_post] = spm_BMS_gibbs (lme, alpha0, Nsamp) @@ -22,9 +22,12 @@ def spm_BMS_gibbs(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_BMS_gibbs.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_BMS_gibbs.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_BMS_gibbs", *args, **kwargs) diff --git a/spm/spm_Bcdf.py b/spm/spm_Bcdf.py index 8d5c65a5..dded9b82 100644 --- a/spm/spm_Bcdf.py +++ b/spm/spm_Bcdf.py @@ -2,7 +2,7 @@ def spm_Bcdf(*args, **kwargs): - """ + r""" Inverse Cumulative Distribution Function (CDF) of Beta distribution FORMAT F = spm_Bcdf(x,v,w) @@ -49,9 +49,12 @@ def spm_Bcdf(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_Bcdf.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_Bcdf.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_Bcdf", *args, **kwargs) diff --git a/spm/spm_Bpdf.py b/spm/spm_Bpdf.py index 4ffcdc0b..a30c06d6 100644 --- a/spm/spm_Bpdf.py +++ b/spm/spm_Bpdf.py @@ -2,7 +2,7 @@ def spm_Bpdf(*args, **kwargs): - """ + r""" Probability Density Function (PDF) of Beta distribution FORMAT f = spm_Bpdf(x,v,w) @@ -49,9 +49,12 @@ def spm_Bpdf(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_Bpdf.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_Bpdf.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_Bpdf", *args, **kwargs) diff --git a/spm/spm_Ce.py b/spm/spm_Ce.py index 2d4b09f0..4d0b961d 100644 --- a/spm/spm_Ce.py +++ b/spm/spm_Ce.py @@ -2,7 +2,7 @@ def spm_Ce(*args, **kwargs): - """ + r""" Error covariance constraints (for serially correlated data) FORMAT [C] = spm_Ce(v,a) FORMAT [C] = spm_Ce('ar',v,a) @@ -27,9 +27,12 @@ def spm_Ce(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_Ce.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_Ce.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_Ce", *args, **kwargs) diff --git a/spm/spm_DEM.py b/spm/spm_DEM.py index d36ef1e5..6a271353 100644 --- a/spm/spm_DEM.py +++ b/spm/spm_DEM.py @@ -2,7 +2,7 @@ def spm_DEM(*args, **kwargs): - """ + r""" Dynamic expectation maximisation (Variational Laplacian filtering) FORMAT DEM = spm_DEM(DEM) @@ -39,8 +39,8 @@ def spm_DEM(*args, **kwargs): qU.v = Conditional expectation of causal states qU.w = Conditional prediction error (states) qU.z = Conditional prediction error (causes) - qU.C = Conditional covariance: cov(v) qU.S = Conditional covariance: cov(x) + qU.C = Conditional covariance: cov(v) conditional moments of model-parameters - q(p) -------------------------------------------------------------------------- @@ -93,9 +93,12 @@ def spm_DEM(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_DEM.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_DEM.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_DEM", *args, **kwargs) diff --git a/spm/spm_DEM_F.py b/spm/spm_DEM_F.py index 2f14b613..193a91bf 100644 --- a/spm/spm_DEM_F.py +++ b/spm/spm_DEM_F.py @@ -2,7 +2,7 @@ def spm_DEM_F(*args, **kwargs): - """ + r""" Free-energy as a function of conditional parameters FORMAT [F,p] = spm_DEM_F(DEM,ip) @@ -15,9 +15,12 @@ def spm_DEM_F(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_DEM_F.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_DEM_F.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_DEM_F", *args, **kwargs) diff --git a/spm/spm_DEM_M_set.py b/spm/spm_DEM_M_set.py index 871dc207..04e83a67 100644 --- a/spm/spm_DEM_M_set.py +++ b/spm/spm_DEM_M_set.py @@ -2,7 +2,7 @@ def spm_DEM_M_set(*args, **kwargs): - """ + r""" Set indices and performs checks on hierarchical models FORMAT [M] = spm_DEM_M_set(M) @@ -51,9 +51,12 @@ def spm_DEM_M_set(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_DEM_M_set.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_DEM_M_set.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_DEM_M_set", *args, **kwargs) diff --git a/spm/spm_DEM_R.py b/spm/spm_DEM_R.py index 155d5815..d80ec1d3 100644 --- a/spm/spm_DEM_R.py +++ b/spm/spm_DEM_R.py @@ -2,7 +2,7 @@ def spm_DEM_R(*args, **kwargs): - """ + r""" Precision of the temporal derivatives of a Gaussian process FORMAT [R,V] = spm_DEM_R(n,s,form) __________________________________________________________________________ @@ -21,9 +21,12 @@ def spm_DEM_R(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_DEM_R.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_DEM_R.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_DEM_R", *args, **kwargs) diff --git a/spm/spm_DEM_diff.py b/spm/spm_DEM_diff.py index 37eaaea6..b3f10b88 100644 --- a/spm/spm_DEM_diff.py +++ b/spm/spm_DEM_diff.py @@ -2,7 +2,7 @@ def spm_DEM_diff(*args, **kwargs): - """ + r""" Evaluate an active model given innovations z{i} and w{i} FORMAT [u,dg,df] = spm_DEM_diff(M,u) @@ -20,9 +20,12 @@ def spm_DEM_diff(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_DEM_diff.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_DEM_diff.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_DEM_diff", *args, **kwargs) diff --git a/spm/spm_DEM_embed.py b/spm/spm_DEM_embed.py index 9e4e72d4..03069676 100644 --- a/spm/spm_DEM_embed.py +++ b/spm/spm_DEM_embed.py @@ -2,8 +2,8 @@ def spm_DEM_embed(*args, **kwargs): - """ - Temporal embedding into derivatives + r""" + Temporal embedding into generalised coordinates of motion FORMAT [y] = spm_DEM_embed(Y,n,t,dt,d) __________________________________________________________________________ Y - (v x N) matrix of v time-series of length N @@ -16,9 +16,12 @@ def spm_DEM_embed(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_DEM_embed.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_DEM_embed.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_DEM_embed", *args, **kwargs) diff --git a/spm/spm_DEM_eval.py b/spm/spm_DEM_eval.py index eb7a713d..4ca34cbb 100644 --- a/spm/spm_DEM_eval.py +++ b/spm/spm_DEM_eval.py @@ -2,7 +2,7 @@ def spm_DEM_eval(*args, **kwargs): - """ + r""" Evaluate state equations and derivatives for DEM schemes FORMAT [E,dE,f,g] = spm_DEM_eval(M,qu,qp) @@ -41,9 +41,12 @@ def spm_DEM_eval(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_DEM_eval.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_DEM_eval.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_DEM_eval", *args, **kwargs) diff --git a/spm/spm_DEM_eval_diff.py b/spm/spm_DEM_eval_diff.py index 28ce83fd..396b84b4 100644 --- a/spm/spm_DEM_eval_diff.py +++ b/spm/spm_DEM_eval_diff.py @@ -2,7 +2,7 @@ def spm_DEM_eval_diff(*args, **kwargs): - """ + r""" Evaluate derivatives for DEM schemes FORMAT [D] = spm_DEM_eval_diff(x,v,qp,M,bilinear) v{i} - casual states @@ -20,9 +20,12 @@ def spm_DEM_eval_diff(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_DEM_eval_diff.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_DEM_eval_diff.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_DEM_eval_diff", *args, **kwargs) diff --git a/spm/spm_DEM_generate.py b/spm/spm_DEM_generate.py index 0cd044fa..c9307952 100644 --- a/spm/spm_DEM_generate.py +++ b/spm/spm_DEM_generate.py @@ -2,12 +2,14 @@ def spm_DEM_generate(*args, **kwargs): - """ + r""" Generate data for a Hierarchical Dynamic Model (HDM) FORMAT [DEM] = spm_DEM_generate(M,N,P,h,g): N-samples using z FORMAT [DEM] = spm_DEM_generate(M,U,P,h,g): size(U,2) samples using U M(i) - HDM + M(i).x - initial states + M(i).v - initial causes U(n x N} - causes or N number of causes P{i} - model-parameters for level i (defaults to M.pE) h{i} - log-precisions for level i (defaults to 32 - no noise) @@ -29,9 +31,12 @@ def spm_DEM_generate(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_DEM_generate.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_DEM_generate.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_DEM_generate", *args, **kwargs) diff --git a/spm/spm_DEM_int.py b/spm/spm_DEM_int.py index e8afa942..a0b203f1 100644 --- a/spm/spm_DEM_int.py +++ b/spm/spm_DEM_int.py @@ -2,7 +2,7 @@ def spm_DEM_int(*args, **kwargs): - """ + r""" Integrate/evaluate a hierarchical model given innovations z{i} and w{i} FORMAT [V,X,Z,W] = spm_DEM_int(M,z,w,c) @@ -20,9 +20,12 @@ def spm_DEM_int(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_DEM_int.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_DEM_int.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_DEM_int", *args, **kwargs) diff --git a/spm/spm_DEM_qH.py b/spm/spm_DEM_qH.py index 274e925e..a18af08c 100644 --- a/spm/spm_DEM_qH.py +++ b/spm/spm_DEM_qH.py @@ -2,7 +2,7 @@ def spm_DEM_qH(*args, **kwargs): - """ + r""" Report on conditional estimates of hyperparameters FORMAT spm_DEM_qH(qH,pH) @@ -18,9 +18,12 @@ def spm_DEM_qH(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_DEM_qH.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_DEM_qH.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_DEM_qH", *args, **kwargs, nargout=0) diff --git a/spm/spm_DEM_qP.py b/spm/spm_DEM_qP.py index 5c4882f2..71c9f49a 100644 --- a/spm/spm_DEM_qP.py +++ b/spm/spm_DEM_qP.py @@ -2,7 +2,7 @@ def spm_DEM_qP(*args, **kwargs): - """ + r""" Report on conditional estimates of parameters FORMAT spm_DEM_qP(qP,pP) @@ -13,9 +13,12 @@ def spm_DEM_qP(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_DEM_qP.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_DEM_qP.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_DEM_qP", *args, **kwargs, nargout=0) diff --git a/spm/spm_DEM_qU.py b/spm/spm_DEM_qU.py index 9ad3c9f7..0b9c1510 100644 --- a/spm/spm_DEM_qU.py +++ b/spm/spm_DEM_qU.py @@ -2,7 +2,7 @@ def spm_DEM_qU(*args, **kwargs): - """ + r""" Display conditional estimates of states (qU) FORMAT spm_DEM_qU(qU,pU) @@ -16,9 +16,12 @@ def spm_DEM_qU(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_DEM_qU.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_DEM_qU.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_DEM_qU", *args, **kwargs, nargout=0) diff --git a/spm/spm_DEM_set.py b/spm/spm_DEM_set.py index 9b818356..ae6faf1d 100644 --- a/spm/spm_DEM_set.py +++ b/spm/spm_DEM_set.py @@ -2,7 +2,7 @@ def spm_DEM_set(*args, **kwargs): - """ + r""" Perform checks on DEM structures FORMAT [DEM] = spm_DEM_set(DEM) @@ -13,9 +13,12 @@ def spm_DEM_set(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_DEM_set.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_DEM_set.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_DEM_set", *args, **kwargs) diff --git a/spm/spm_DEM_z.py b/spm/spm_DEM_z.py index 2b70b1d6..a723c265 100644 --- a/spm/spm_DEM_z.py +++ b/spm/spm_DEM_z.py @@ -2,7 +2,7 @@ def spm_DEM_z(*args, **kwargs): - """ + r""" Create hierarchical innovations for generating data FORMAT [z,w] = spm_DEM_z(M,N) M - model structure @@ -17,9 +17,12 @@ def spm_DEM_z(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_DEM_z.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_DEM_z.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_DEM_z", *args, **kwargs) diff --git a/spm/spm_DFP.py b/spm/spm_DFP.py index f65e6f52..5aad3d08 100644 --- a/spm/spm_DFP.py +++ b/spm/spm_DFP.py @@ -2,7 +2,7 @@ def spm_DFP(*args, **kwargs): - """ + r""" Dynamic free-energy Fokker-Planck free-form scheme FORMAT [DEM] = spm_DFP(DEM) @@ -80,9 +80,12 @@ def spm_DFP(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_DFP.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_DFP.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_DFP", *args, **kwargs) diff --git a/spm/spm_DFP_plot.py b/spm/spm_DFP_plot.py index cc288066..9f7ccb51 100644 --- a/spm/spm_DFP_plot.py +++ b/spm/spm_DFP_plot.py @@ -2,7 +2,7 @@ def spm_DFP_plot(*args, **kwargs): - """ + r""" Plot particles for spm_DFP FORMAT spm_DFP_plot(QU,Nt) FORMAT spm_DFP_plot(QU,pU) @@ -12,9 +12,12 @@ def spm_DFP_plot(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_DFP_plot.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_DFP_plot.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_DFP_plot", *args, **kwargs, nargout=0) diff --git a/spm/spm_DesMtx.py b/spm/spm_DesMtx.py index 66bdaf3f..c747c70f 100644 --- a/spm/spm_DesMtx.py +++ b/spm/spm_DesMtx.py @@ -2,7 +2,7 @@ def spm_DesMtx(*args, **kwargs): - """ + r""" Design matrix construction from factor level and covariate vectors FORMAT [X,Pnames] = spm_DesMtx( list) FORMAT [X,Pnames,Index,idx,jdx,kdx] = spm_DesMtx(FCLevels,Constraint,FCnames) @@ -206,9 +206,12 @@ def spm_DesMtx(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_DesMtx.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_DesMtx.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_DesMtx", *args, **kwargs) diff --git a/spm/spm_DesRep.py b/spm/spm_DesRep.py index 04b85243..bfb0bd7a 100644 --- a/spm/spm_DesRep.py +++ b/spm/spm_DesRep.py @@ -2,7 +2,7 @@ def spm_DesRep(*args, **kwargs): - """ + r""" Design reporting utilities FORMAT varargout = spm_DesRep(action,varargin) @@ -121,9 +121,12 @@ def spm_DesRep(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_DesRep.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_DesRep.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_DesRep", *args, **kwargs) diff --git a/spm/spm_DisplayTimeSeries.py b/spm/spm_DisplayTimeSeries.py index 417be90d..49628dc5 100644 --- a/spm/spm_DisplayTimeSeries.py +++ b/spm/spm_DisplayTimeSeries.py @@ -2,7 +2,7 @@ def spm_DisplayTimeSeries(*args, **kwargs): - """ + r""" Build a GUI for 'smart' time series display FORMAT [ud] = spm_DisplayTimeSeries(y,options) IN: @@ -60,9 +60,12 @@ def spm_DisplayTimeSeries(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_DisplayTimeSeries.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_DisplayTimeSeries.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_DisplayTimeSeries", *args, **kwargs) diff --git a/spm/spm_Dpdf.py b/spm/spm_Dpdf.py index 33990e83..9f57bb70 100644 --- a/spm/spm_Dpdf.py +++ b/spm/spm_Dpdf.py @@ -2,7 +2,7 @@ def spm_Dpdf(*args, **kwargs): - """ + r""" Probability Density Function (PDF) of Dirichlet distribution FORMAT f = spm_Dpdf(x,a) @@ -25,9 +25,12 @@ def spm_Dpdf(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_Dpdf.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_Dpdf.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_Dpdf", *args, **kwargs) diff --git a/spm/spm_EC_density.py b/spm/spm_EC_density.py new file mode 100644 index 00000000..0ac05908 --- /dev/null +++ b/spm/spm_EC_density.py @@ -0,0 +1,47 @@ +from spm._runtime import Runtime + + +def spm_EC_density(*args, **kwargs): + r""" + Returns the Euler characteristic (EC) density + FORMAT function [EC] = spm_EC_density(STAT,t,df,[D]) + + STAT = 'Z','T','F',... + t = vector of statistical values + df = degrees of freedom [df1,df2] + D = dimension of SPM [default: 4] + + This routine returns the density of the expected Euler characteristic for + a variety of commonly used statistics. It is based upon a generic + expression for fields of the F statistic. This provides estimates for + special cases: for example, with infinite degrees of freedom of the + denominator, the F statistic behaves as a chi-squared statistic. + Similarly, when the degrees of freedom of the numerator reduce to 1, the + squared T statistic behaves as an F statistic. And as a Z statistic, + when the denominator degrees of freedom tend to infinity. + + This routine returns densities over any arbitrary number of dimensions, + D. The default is D = 4 dimensions returning a D + 1 densities, where the + first corresponds to the zeroth dimension or point (i.e., using the usual + cumulative density for the statistic in question). + + The current implementation is based upon an optimised functional form in + Appendix B of Worsley et al (2004). The (polynomial) summations are + grouped in a way to maximise efficiency. The gamma functions are + evaluated in log space. This enables evaluation with very high degrees of + freedom (with an enforced upper bound of 256). + __________________________________________________________________________ + + Reference : K.J. Worsley et al. / NeuroImage 23 (2004) S189–S195 + __________________________________________________________________________ + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_EC_density.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("spm_EC_density", *args, **kwargs) diff --git a/spm/spm_ECdensity.py b/spm/spm_ECdensity.py index d7791455..19f7914b 100644 --- a/spm/spm_ECdensity.py +++ b/spm/spm_ECdensity.py @@ -2,7 +2,7 @@ def spm_ECdensity(*args, **kwargs): - """ + r""" Return the Euler characteristic (EC) density FORMAT function [EC] = spm_ECdensity(STAT,t,df) __________________________________________________________________________ @@ -11,9 +11,12 @@ def spm_ECdensity(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_ECdensity.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_ECdensity.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_ECdensity", *args, **kwargs) diff --git a/spm/spm_FcUtil.py b/spm/spm_FcUtil.py index 1fb827c7..d232a8d6 100644 --- a/spm/spm_FcUtil.py +++ b/spm/spm_FcUtil.py @@ -2,7 +2,7 @@ def spm_FcUtil(*args, **kwargs): - """ + r""" Contrast utilities FORMAT varargout = spm_FcUtil(action,varargin) _______________________________________________________________________ @@ -129,9 +129,12 @@ def spm_FcUtil(*args, **kwargs): _______________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_FcUtil.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_FcUtil.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_FcUtil", *args, **kwargs) diff --git a/spm/spm_Fcdf.py b/spm/spm_Fcdf.py index c5402681..8e59451e 100644 --- a/spm/spm_Fcdf.py +++ b/spm/spm_Fcdf.py @@ -2,7 +2,7 @@ def spm_Fcdf(*args, **kwargs): - """ + r""" Cumulative Distribution Function (CDF) of F (Fisher-Snedecor) distribution FORMAT F = spm_Fcdf(x,df) FORMAT F = spm_Fcdf(x,v,w) @@ -65,9 +65,12 @@ def spm_Fcdf(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_Fcdf.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_Fcdf.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_Fcdf", *args, **kwargs) diff --git a/spm/spm_Fpdf.py b/spm/spm_Fpdf.py index 278e8675..d7a221ba 100644 --- a/spm/spm_Fpdf.py +++ b/spm/spm_Fpdf.py @@ -2,7 +2,7 @@ def spm_Fpdf(*args, **kwargs): - """ + r""" Probability Density Function (PDF) of F (Fisher-Snedecor) distribution FORMAT f = spm_Fpdf(x,df) FORMAT f = spm_Fpdf(x,v,w) @@ -58,9 +58,12 @@ def spm_Fpdf(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_Fpdf.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_Fpdf.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_Fpdf", *args, **kwargs) diff --git a/spm/spm_GDEM.py b/spm/spm_GDEM.py index b4f60c03..101e4e29 100644 --- a/spm/spm_GDEM.py +++ b/spm/spm_GDEM.py @@ -2,7 +2,7 @@ def spm_GDEM(*args, **kwargs): - """ + r""" Dynamic expectation maximisation: Generation and inversion FORMAT DEM = spm_GDEM(DEM) @@ -110,9 +110,12 @@ def spm_GDEM(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_GDEM.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_GDEM.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_GDEM", *args, **kwargs) diff --git a/spm/spm_Gcdf.py b/spm/spm_Gcdf.py index a3a31756..97e5404a 100644 --- a/spm/spm_Gcdf.py +++ b/spm/spm_Gcdf.py @@ -2,7 +2,7 @@ def spm_Gcdf(*args, **kwargs): - """ + r""" Cumulative Distribution Function (CDF) of Gamma distribution FORMAT F = spm_Gcdf(x,h,l,tail) @@ -64,9 +64,12 @@ def spm_Gcdf(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_Gcdf.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_Gcdf.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_Gcdf", *args, **kwargs) diff --git a/spm/spm_Gpdf.py b/spm/spm_Gpdf.py index fb0888c7..bc2b9efa 100644 --- a/spm/spm_Gpdf.py +++ b/spm/spm_Gpdf.py @@ -2,7 +2,7 @@ def spm_Gpdf(*args, **kwargs): - """ + r""" Probability Density Function (PDF) of Gamma distribution FORMAT f = spm_Gpdf(x,h,l) @@ -56,9 +56,12 @@ def spm_Gpdf(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_Gpdf.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_Gpdf.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_Gpdf", *args, **kwargs) diff --git a/spm/spm_Icdf.py b/spm/spm_Icdf.py index adee2c23..49a64e0b 100644 --- a/spm/spm_Icdf.py +++ b/spm/spm_Icdf.py @@ -2,7 +2,7 @@ def spm_Icdf(*args, **kwargs): - """ + r""" Cumulative Distribution Function (CDF) of Binomial Bin(n,p) distribution FORMAT F = spm_Icdf(x,n,p) @@ -71,9 +71,12 @@ def spm_Icdf(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_Icdf.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_Icdf.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_Icdf", *args, **kwargs) diff --git a/spm/spm_Ipdf.py b/spm/spm_Ipdf.py index 92ff0a23..3c558cb5 100644 --- a/spm/spm_Ipdf.py +++ b/spm/spm_Ipdf.py @@ -2,7 +2,7 @@ def spm_Ipdf(*args, **kwargs): - """ + r""" Probability Distribution Function of Binomial distribution FORMAT f = spm_Ipdf(x,n,p) @@ -69,9 +69,12 @@ def spm_Ipdf(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_Ipdf.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_Ipdf.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_Ipdf", *args, **kwargs) diff --git a/spm/spm_KL_cat.py b/spm/spm_KL_cat.py index 7aa5b972..453d752e 100644 --- a/spm/spm_KL_cat.py +++ b/spm/spm_KL_cat.py @@ -2,7 +2,7 @@ def spm_KL_cat(*args, **kwargs): - """ + r""" KL divergence between two categorical distributions FORMAT [D] = spm_KL_cat(Q,P) @@ -12,13 +12,16 @@ def spm_KL_cat(*args, **kwargs): If supplied with arrays, the KL divergence will be summed over the first dimension. The arrays can be normalised (c.f., Dirichlet parameters). - See also: spm_kl_dirichlet.m (for row vectors) + See also: spm_KL_dir (for arrays) and spm_kl_dirichlet.m (for row vectors) __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_KL_cat.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_KL_cat.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_KL_cat", *args, **kwargs) diff --git a/spm/spm_KL_dir.py b/spm/spm_KL_dir.py index 03e2d2a2..8f907c01 100644 --- a/spm/spm_KL_dir.py +++ b/spm/spm_KL_dir.py @@ -2,7 +2,7 @@ def spm_KL_dir(*args, **kwargs): - """ + r""" KL divergence between two Dirichlet distributions FORMAT [d] = spm_kl_dir(lambda_q,lambda_p) @@ -19,9 +19,12 @@ def spm_KL_dir(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_KL_dir.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_KL_dir.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_KL_dir", *args, **kwargs) diff --git a/spm/spm_LAP.py b/spm/spm_LAP.py index 0e0fb3dd..7fec2ae9 100644 --- a/spm/spm_LAP.py +++ b/spm/spm_LAP.py @@ -2,7 +2,7 @@ def spm_LAP(*args, **kwargs): - """ + r""" Laplacian model inversion (see also spm_LAPS) FORMAT DEM = spm_LAP(DEM) @@ -80,9 +80,9 @@ def spm_LAP(*args, **kwargs): M(1).E.method.x = 0,1 switch for precision (hidden states) __________________________________________________________________________ - spm_LAP implements a variational scheme under the Laplace - approximation to the conditional joint density q on states u, parameters - p and hyperparameters (h,g) of an analytic nonlinear hierarchical dynamic + spm_LAP implements a variational scheme under the Laplace approximation + to the conditional joint density q on states u, parameters p and + hyperparameters (h,g) of an analytic nonlinear hierarchical dynamic model, with additive Gaussian innovations. q(u,p,h,g) = max q @@ -92,9 +92,12 @@ def spm_LAP(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_LAP.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_LAP.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_LAP", *args, **kwargs) diff --git a/spm/spm_LAPF.py b/spm/spm_LAPF.py index 9e2e5e49..06c15521 100644 --- a/spm/spm_LAPF.py +++ b/spm/spm_LAPF.py @@ -2,7 +2,7 @@ def spm_LAPF(*args, **kwargs): - """ + r""" Laplacian model inversion (see also spm_LAPS) FORMAT DEM = spm_LAPF(DEM) @@ -70,9 +70,12 @@ def spm_LAPF(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_LAPF.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_LAPF.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_LAPF", *args, **kwargs) diff --git a/spm/spm_LAPS.py b/spm/spm_LAPS.py index e2826638..e7d1304d 100644 --- a/spm/spm_LAPS.py +++ b/spm/spm_LAPS.py @@ -2,7 +2,7 @@ def spm_LAPS(*args, **kwargs): - """ + r""" Laplacian model inversion (with smoothness hyperparameter optimisation) FORMAT DEM = spm_LAPS(DEM) @@ -70,9 +70,12 @@ def spm_LAPS(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_LAPS.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_LAPS.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_LAPS", *args, **kwargs) diff --git a/spm/spm_LAP_F.py b/spm/spm_LAP_F.py index 06870968..468d7b44 100644 --- a/spm/spm_LAP_F.py +++ b/spm/spm_LAP_F.py @@ -2,7 +2,7 @@ def spm_LAP_F(*args, **kwargs): - """ + r""" Return the Gibbs energy (L) as a function of contitional means FORMAT [L] = spm_LAP_F(q,qu,qp,qh,pu,pp,ph,M) @@ -17,9 +17,12 @@ def spm_LAP_F(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_LAP_F.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_LAP_F.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_LAP_F", *args, **kwargs) diff --git a/spm/spm_LAP_eval.py b/spm/spm_LAP_eval.py index 221b4108..247ff0dc 100644 --- a/spm/spm_LAP_eval.py +++ b/spm/spm_LAP_eval.py @@ -2,7 +2,7 @@ def spm_LAP_eval(*args, **kwargs): - """ + r""" Evaluate precisions for a LAP model FORMAT [p,dp] = spm_LAP_eval(M,qu,qh) @@ -19,9 +19,12 @@ def spm_LAP_eval(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_LAP_eval.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_LAP_eval.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_LAP_eval", *args, **kwargs) diff --git a/spm/spm_LAP_iS.py b/spm/spm_LAP_iS.py index 37b8da19..7c007d41 100644 --- a/spm/spm_LAP_iS.py +++ b/spm/spm_LAP_iS.py @@ -2,7 +2,7 @@ def spm_LAP_iS(*args, **kwargs): - """ + r""" Default precision function for LAP models (hidden states) FORMAT [iS] = spm_LAP_iS(p,R) @@ -14,9 +14,12 @@ def spm_LAP_iS(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_LAP_iS.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_LAP_iS.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_LAP_iS", *args, **kwargs) diff --git a/spm/spm_LAP_pg.py b/spm/spm_LAP_pg.py index d4960544..e1f60ea7 100644 --- a/spm/spm_LAP_pg.py +++ b/spm/spm_LAP_pg.py @@ -2,7 +2,7 @@ def spm_LAP_pg(*args, **kwargs): - """ + r""" Default precision function for LAP models (hidden states) FORMAT p = spm_LAP_pg(x,v,h,M) @@ -12,9 +12,12 @@ def spm_LAP_pg(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_LAP_pg.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_LAP_pg.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_LAP_pg", *args, **kwargs) diff --git a/spm/spm_LAP_ph.py b/spm/spm_LAP_ph.py index 493fefae..4d7c6e23 100644 --- a/spm/spm_LAP_ph.py +++ b/spm/spm_LAP_ph.py @@ -2,7 +2,7 @@ def spm_LAP_ph(*args, **kwargs): - """ + r""" Default precision function for LAP models (causal states) FORMAT p = spm_LAP_ph(x,v,h,M) @@ -12,9 +12,12 @@ def spm_LAP_ph(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_LAP_ph.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_LAP_ph.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_LAP_ph", *args, **kwargs) diff --git a/spm/spm_Laplace.py b/spm/spm_Laplace.py index 25607fa7..a33884e1 100644 --- a/spm/spm_Laplace.py +++ b/spm/spm_Laplace.py @@ -2,7 +2,7 @@ def spm_Laplace(*args, **kwargs): - """ + r""" Solve Laplace's equation on a regular grid FORMAT u = spm_Laplace(u) u - potential field as a 3D array with values: @@ -25,9 +25,12 @@ def spm_Laplace(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_Laplace.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_Laplace.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_Laplace", *args, **kwargs) diff --git a/spm/spm_MB_col.py b/spm/spm_MB_col.py index 548d2b43..701b3d85 100644 --- a/spm/spm_MB_col.py +++ b/spm/spm_MB_col.py @@ -2,16 +2,19 @@ def spm_MB_col(*args, **kwargs): - """ + r""" Return colours and marker size for number of partitions FORMAT [col,bol,msz] = spm_MB_col(n) n - number of partitions __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_MB_col.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_MB_col.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_MB_col", *args, **kwargs) diff --git a/spm/spm_MDP_MI.py b/spm/spm_MDP_MI.py index 7f0dcbf2..77fda490 100644 --- a/spm/spm_MDP_MI.py +++ b/spm/spm_MDP_MI.py @@ -2,12 +2,13 @@ def spm_MDP_MI(*args, **kwargs): - """ + r""" Expected information gain (i.e., mutual information) - FORMAT [E,dEda,dEdA] = spm_MDP_MI(a,C) + FORMAT [E,dEda,dEdA] = spm_MDP_MI(a,c,h) a - Dirichlet parameters of a joint distribution - C - log preferences + c - prior preferences (outcomes) + h - prior preferences (states) E - expected free energy (information gain minus cost) dEda - derivative with respect to Dirichlet parameters (a) @@ -19,9 +20,12 @@ def spm_MDP_MI(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_MDP_MI.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_MDP_MI.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_MDP_MI", *args, **kwargs) diff --git a/spm/spm_MDP_da.py b/spm/spm_MDP_da.py index c0608134..9bf09b2f 100644 --- a/spm/spm_MDP_da.py +++ b/spm/spm_MDP_da.py @@ -2,7 +2,7 @@ def spm_MDP_da(*args, **kwargs): - """ + r""" Simulated histograms of dopamine firing FORMAT spm_MDP_da(MDP) @@ -11,9 +11,12 @@ def spm_MDP_da(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_MDP_da.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_MDP_da.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_MDP_da", *args, **kwargs, nargout=0) diff --git a/spm/spm_MH.py b/spm/spm_MH.py index 89bc9099..23c70556 100644 --- a/spm/spm_MH.py +++ b/spm/spm_MH.py @@ -2,7 +2,7 @@ def spm_MH(*args, **kwargs): - """ + r""" The Rejection-Metropolis-Hastings Algorithm FORMAT [P,F] = spm_MH(L,B,y,M) @@ -21,9 +21,12 @@ def spm_MH(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_MH.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_MH.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_MH", *args, **kwargs) diff --git a/spm/spm_MH_reml.py b/spm/spm_MH_reml.py index 686473be..147cea19 100644 --- a/spm/spm_MH_reml.py +++ b/spm/spm_MH_reml.py @@ -2,7 +2,7 @@ def spm_MH_reml(*args, **kwargs): - """ + r""" Estimation of covariance components from y*y' using sampling FORMAT [F,P] = spm_MH_reml(YY,X,Q,N,[hE]); @@ -21,9 +21,12 @@ def spm_MH_reml(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_MH_reml.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_MH_reml.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_MH_reml", *args, **kwargs) diff --git a/spm/spm_MH_reml_likelihood.py b/spm/spm_MH_reml_likelihood.py index 3c1b8de0..e8014c51 100644 --- a/spm/spm_MH_reml_likelihood.py +++ b/spm/spm_MH_reml_likelihood.py @@ -2,7 +2,7 @@ def spm_MH_reml_likelihood(*args, **kwargs): - """ + r""" Likelihood function for spm_MH_reml FORMAT [L] = spm_MH_reml_likelihood(h,Y,M) @@ -13,9 +13,12 @@ def spm_MH_reml_likelihood(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_MH_reml_likelihood.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_MH_reml_likelihood.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_MH_reml_likelihood", *args, **kwargs) diff --git a/spm/spm_Markov_blanket.py b/spm/spm_Markov_blanket.py index 9c59eab7..f5274386 100644 --- a/spm/spm_Markov_blanket.py +++ b/spm/spm_Markov_blanket.py @@ -2,7 +2,7 @@ def spm_Markov_blanket(*args, **kwargs): - """ + r""" Markovian partition FORMAT [x,y] = spm_Markov_blanket(J,z,m,R) J - Jacobian @@ -23,9 +23,12 @@ def spm_Markov_blanket(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_Markov_blanket.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_Markov_blanket.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_Markov_blanket", *args, **kwargs) diff --git a/spm/spm_Menu.py b/spm/spm_Menu.py index c8e93948..a1f6bbd2 100644 --- a/spm/spm_Menu.py +++ b/spm/spm_Menu.py @@ -2,7 +2,7 @@ def spm_Menu(*args, **kwargs): - """ + r""" SPM Menu window FORMAT Fmenu = spm_Menu('Create',Vis) Create the SPM Menu window (tag property set to 'Menu') @@ -17,9 +17,12 @@ def spm_Menu(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_Menu.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_Menu.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_Menu", *args, **kwargs) diff --git a/spm/spm_NESS_F.py b/spm/spm_NESS_F.py index dd63309c..10af97e3 100644 --- a/spm/spm_NESS_F.py +++ b/spm/spm_NESS_F.py @@ -2,7 +2,7 @@ def spm_NESS_F(*args, **kwargs): - """ + r""" Generate flow (f) at locations (U.X) FORMAT [F,S,Q,L,H,D] = spm_NESS_gen(P,M) FORMAT [F,S,Q,L,H,D] = spm_NESS_gen(P,M,U) @@ -28,9 +28,12 @@ def spm_NESS_F(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_NESS_F.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_NESS_F.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_NESS_F", *args, **kwargs) diff --git a/spm/spm_NESS_ds.py b/spm/spm_NESS_ds.py index 16cdbbda..8060b644 100644 --- a/spm/spm_NESS_ds.py +++ b/spm/spm_NESS_ds.py @@ -2,10 +2,11 @@ def spm_NESS_ds(*args, **kwargs): - """ + r""" Generate changes in log density (coefficients or at x) FORMAT [dS,G,Q,L] = spm_NESS_ds(Sp,P) FORMAT [ds,G,Q,L] = spm_NESS_ds(Sp,P,x) + FORMAT [ds,G,Q,L] = spm_NESS_ds(Sp,P,U) -------------------------------------------------------------------------- Sp - polynomial coefficients of initial potential P.Qp - polynomial coefficients of solenoidal operator @@ -21,16 +22,19 @@ def spm_NESS_ds(*args, **kwargs): L - correction term for derivatives of solenoidal flow This routine assumes that K = 3; i.e., the log density is second order in - the states (Laplace assumption). if call with two arguments the time + the states (Laplace assumption). if called with two arguments the time derivatives of the (second-order) polynomial coefficients of the log density are returned. If called with three arguments, the time derivative of the log density at the specified points in state space are returned. __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_NESS_ds.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_NESS_ds.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_NESS_ds", *args, **kwargs) diff --git a/spm/spm_NESS_gen.py b/spm/spm_NESS_gen.py index 9f0bc20e..a3b6b0d1 100644 --- a/spm/spm_NESS_gen.py +++ b/spm/spm_NESS_gen.py @@ -2,7 +2,7 @@ def spm_NESS_gen(*args, **kwargs): - """ + r""" Generate flow (f) at locations (U.X) FORMAT [F,S,Q,L,H,D] = spm_NESS_gen(P,M) FORMAT [F,S,Q,L,H,D] = spm_NESS_gen(P,M,U) @@ -41,9 +41,12 @@ def spm_NESS_gen(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_NESS_gen.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_NESS_gen.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_NESS_gen", *args, **kwargs) diff --git a/spm/spm_NESS_gen_lap.py b/spm/spm_NESS_gen_lap.py index 5d79cc37..d9e6aacc 100644 --- a/spm/spm_NESS_gen_lap.py +++ b/spm/spm_NESS_gen_lap.py @@ -2,14 +2,15 @@ def spm_NESS_gen_lap(*args, **kwargs): - """ - Generate flow (f) at locations x - FORMAT [F,S,Q,L,H,D] = spm_NESS_gen_lap(P,M,x) - FORMAT [F,S,Q,L,H,D] = spm_NESS_gen_lap(P,M,U) + r""" + Generate flow (F) at locations x + FORMAT [F,S,Q,L,H,D,E] = spm_NESS_gen_lap(P,M) + FORMAT [F,S,Q,L,H,D,E] = spm_NESS_gen_lap(P,M,x) + FORMAT [F,S,Q,L,H,D,E] = spm_NESS_gen_lap(P,M,U) -------------------------------------------------------------------------- P.Qp - polynomial coefficients for solenoidal operator - P.Sp - polynomial coefficients for Kernel - P.Rp - polynomial coefficients for mean + P.Sp - polynomial coefficients for Kernel (suprisal) + P.Rp - polynomial coefficients for mean (suprisal) F - polynomial approximation to flow S - negative potential (log NESS density) @@ -17,6 +18,7 @@ def spm_NESS_gen_lap(*args, **kwargs): L - correction term for derivatives of solenoidal flow H - Hessian D - potential gradients + E - expectation of NESS density U = spm_ness_U(M) -------------------------------------------------------------------------- @@ -33,13 +35,30 @@ def spm_NESS_gen_lap(*args, **kwargs): U.bG - projection of flow operator (symmetric part: G) U.dQdp - gradients of flow operator Q w.r.t. flow parameters U.dbQdp - gradients of bQ w.r.t. flow parameters - U.dLdp - gradients of L w.r.t. flow parameters + U.dLdp - gradients of L w.r.t. flow parameters + + This routine returns the flow at a number of specified points in state + space under a polynomial approximation to any Helmholtz-Hodge + decomposition of nonequilibrium steady-state dynamics. This routine + shares many of the same constructs as spm_NESS_fx; with the exception + that the dissipative part of the flow (i.e., amplitude of random + fluctuations G) is specified as the precision of a state-space model: + M.W. + + In brief, spm_NESS_fx returns the flow for a particular point in state + space, whereas this routine returns the flow for an arbitrary number of + points at the same time. These flows can then be used as a generative + model for the flow sampled over grid points in state space—or during the + evolution of some path through state space. __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_NESS_gen_lap.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_NESS_gen_lap.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_NESS_gen_lap", *args, **kwargs) diff --git a/spm/spm_NESS_priors.py b/spm/spm_NESS_priors.py new file mode 100644 index 00000000..de6cf849 --- /dev/null +++ b/spm/spm_NESS_priors.py @@ -0,0 +1,54 @@ +from spm._runtime import Runtime + + +def spm_NESS_priors(*args, **kwargs): + r""" + priors for a NESS genertive model + FORMAT [pE,pC] = spm_NESS_priors(n,L,V,[W,J,R,C]) + -------------------------------------------------------------------------- + n - number of states (n) + L - order (+1) of polynomial expansion + V - prior covariance over parameters + W - precisions of random fluctuations + J - contraints on solenoidal parameters [ones(n,n)] + R - contraints on surprisal parameters [zeros(n,n)] + C - covariance of NESS [eye(n,n)] + + pE - prior expectation + pC - prior covariances + + pE.Qp(nb,n,n) % polynomial coefficients for solenoidal flow {J} + pE.Rp(nb,n) % polynomial coefficients for surprisal {R} + pE.Sp(nb,n,n) % polynomial coefficients for kernel {C} + pE.Gp(n,n) % polynomial coefficients for fluctuations + pE.W(n,n) % precision of random fluctuations + + This routine returns the prior expectations and covariances of the + parameters (i.e., polynomial coefficients) of a nonequilibrium + steady-state model. This model is based upon the Helmholtz-Hodge + decomposition of the solution to density dynamics of any system that + possesses a pullback attractor. The requisite flow operators Q and + surprisal S are parameterised to 1st and 2nd order, respectively. The + surprisal can be parameterised with a + surprisal kernel K and then taking the outer product H = K’*K, where the + kernel K is parameterised to first-order. The solenoidal + (non-dissipative) parts of the flow operator are parameterised to 1st + order in the states. Alternatively the suprisal can be paramterised with + pE.Rp via a state dependant mean. + + If pE.Gp = 0, it is assumed that the dissipative part of the flow (i.e., + the amplitude of random fluctuations G) is spherical and constant. This + corresponds to the inverse precision of the random fluctuations that can + also be specified as M.W in the accompanying model M. + __________________________________________________________________________ + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_NESS_priors.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("spm_NESS_priors", *args, **kwargs) diff --git a/spm/spm_Ncdf.py b/spm/spm_Ncdf.py index cb7075ba..1e5a2622 100644 --- a/spm/spm_Ncdf.py +++ b/spm/spm_Ncdf.py @@ -2,7 +2,7 @@ def spm_Ncdf(*args, **kwargs): - """ + r""" Cumulative Distribution Function (CDF) for univariate Normal distributions FORMAT F = spm_Ncdf(x,u,v) @@ -54,9 +54,12 @@ def spm_Ncdf(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_Ncdf.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_Ncdf.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_Ncdf", *args, **kwargs) diff --git a/spm/spm_Ncdf_jdw.py b/spm/spm_Ncdf_jdw.py index f063808c..6db3aa62 100644 --- a/spm/spm_Ncdf_jdw.py +++ b/spm/spm_Ncdf_jdw.py @@ -2,7 +2,7 @@ def spm_Ncdf_jdw(*args, **kwargs): - """ + r""" Cumulative Distribution Function (CDF) for univariate Normal distributions: J.D. Williams approximation FORMAT F = spm_Ncdf_jdw(x,u,v) @@ -25,9 +25,12 @@ def spm_Ncdf_jdw(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_Ncdf_jdw.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_Ncdf_jdw.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_Ncdf_jdw", *args, **kwargs) diff --git a/spm/spm_Npdf.py b/spm/spm_Npdf.py index 299317f5..b18c3d28 100644 --- a/spm/spm_Npdf.py +++ b/spm/spm_Npdf.py @@ -2,7 +2,7 @@ def spm_Npdf(*args, **kwargs): - """ + r""" Probability Density Function (PDF) of univariate Normal distribution FORMAT f = spm_Npdf(x,u,v) @@ -45,9 +45,12 @@ def spm_Npdf(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_Npdf.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_Npdf.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_Npdf", *args, **kwargs) diff --git a/spm/spm_P.py b/spm/spm_P.py index e0373f00..912e4645 100644 --- a/spm/spm_P.py +++ b/spm/spm_P.py @@ -2,7 +2,7 @@ def spm_P(*args, **kwargs): - """ + r""" Return the [un]corrected P value using unified EC theory FORMAT [P,p,Ec,Ek] = spm_P(c,k,Z,df,STAT,R,n,S) @@ -34,9 +34,12 @@ def spm_P(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_P.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_P.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_P", *args, **kwargs) diff --git a/spm/spm_PEB.py b/spm/spm_PEB.py index fbff8b8c..2ffc9ef0 100644 --- a/spm/spm_PEB.py +++ b/spm/spm_PEB.py @@ -2,7 +2,7 @@ def spm_PEB(*args, **kwargs): - """ + r""" Parametric empirical Bayes (PEB) for hierarchical linear models FORMAT [C,P,F] = spm_PEB(y,P,[hP],OPT)) @@ -61,9 +61,12 @@ def spm_PEB(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_PEB.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_PEB.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_PEB", *args, **kwargs) diff --git a/spm/spm_P_Bonf.py b/spm/spm_P_Bonf.py index 85b77087..f94e062e 100644 --- a/spm/spm_P_Bonf.py +++ b/spm/spm_P_Bonf.py @@ -2,7 +2,7 @@ def spm_P_Bonf(*args, **kwargs): - """ + r""" Return the corrected P value using Bonferroni FORMAT P = spm_P_Bonf(Z,df,STAT,S,n) @@ -28,9 +28,12 @@ def spm_P_Bonf(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_P_Bonf.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_P_Bonf.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_P_Bonf", *args, **kwargs) diff --git a/spm/spm_P_FDR.py b/spm/spm_P_FDR.py index 980af3cc..f850f915 100644 --- a/spm/spm_P_FDR.py +++ b/spm/spm_P_FDR.py @@ -2,7 +2,7 @@ def spm_P_FDR(*args, **kwargs): - """ + r""" Return the corrected FDR P value FORMAT [P] = spm_P_FDR(Z,df,STAT,n,Ps) @@ -80,9 +80,12 @@ def spm_P_FDR(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_P_FDR.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_P_FDR.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_P_FDR", *args, **kwargs) diff --git a/spm/spm_P_RF.py b/spm/spm_P_RF.py index bf609ad5..d2625d61 100644 --- a/spm/spm_P_RF.py +++ b/spm/spm_P_RF.py @@ -2,7 +2,7 @@ def spm_P_RF(*args, **kwargs): - """ + r""" Return the [un]corrected P value using unifed EC theory FORMAT [P,p,Ec,Ek] = spm_P_RF(c,k,z,df,STAT,R,n) @@ -52,9 +52,12 @@ def spm_P_RF(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_P_RF.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_P_RF.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_P_RF", *args, **kwargs) diff --git a/spm/spm_P_clusterFDR.py b/spm/spm_P_clusterFDR.py index 982b3325..22af7c31 100644 --- a/spm/spm_P_clusterFDR.py +++ b/spm/spm_P_clusterFDR.py @@ -2,7 +2,7 @@ def spm_P_clusterFDR(*args, **kwargs): - """ + r""" Return the corrected FDR q-value FORMAT [Q] = spm_P_clusterFDR(k,df,STAT,R,n,ui,Ps) @@ -19,9 +19,12 @@ def spm_P_clusterFDR(*args, **kwargs): Ps - Vector of sorted (ascending) p-values - [Matlab code]( https://github.com/spm/spm/blob/main/spm_P_clusterFDR.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_P_clusterFDR.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_P_clusterFDR", *args, **kwargs) diff --git a/spm/spm_P_peakFDR.py b/spm/spm_P_peakFDR.py index 2620b8c8..1c63599e 100644 --- a/spm/spm_P_peakFDR.py +++ b/spm/spm_P_peakFDR.py @@ -2,7 +2,7 @@ def spm_P_peakFDR(*args, **kwargs): - """ + r""" Return the corrected peak FDR q-value FORMAT [Q] = spm_P_peakFDR(Z,df,STAT,R,n,ui,Ps) @@ -31,9 +31,12 @@ def spm_P_peakFDR(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_P_peakFDR.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_P_peakFDR.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_P_peakFDR", *args, **kwargs) diff --git a/spm/spm_Pcdf.py b/spm/spm_Pcdf.py index 6d0ce483..48a1869a 100644 --- a/spm/spm_Pcdf.py +++ b/spm/spm_Pcdf.py @@ -2,7 +2,7 @@ def spm_Pcdf(*args, **kwargs): - """ + r""" Cumulative Distribution Function (PDF) of Poisson distribution FORMAT F = spm_Pcdf(x,l) @@ -62,9 +62,12 @@ def spm_Pcdf(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_Pcdf.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_Pcdf.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_Pcdf", *args, **kwargs) diff --git a/spm/spm_Pec_resels.py b/spm/spm_Pec_resels.py index bc09e4ce..ef513680 100644 --- a/spm/spm_Pec_resels.py +++ b/spm/spm_Pec_resels.py @@ -2,7 +2,7 @@ def spm_Pec_resels(*args, **kwargs): - """ + r""" Return the resel count for a point-list of voxels FORMAT R = spm_Pec_resels(L,W) L - point list of voxels {in voxels} @@ -14,9 +14,12 @@ def spm_Pec_resels(*args, **kwargs): ___________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_Pec_resels.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_Pec_resels.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_Pec_resels", *args, **kwargs) diff --git a/spm/spm_Ppdf.py b/spm/spm_Ppdf.py index 12d626fe..f6ca0771 100644 --- a/spm/spm_Ppdf.py +++ b/spm/spm_Ppdf.py @@ -2,7 +2,7 @@ def spm_Ppdf(*args, **kwargs): - """ + r""" Probability Distribution Function (PDF) of Poisson distribution FORMAT f = spm_Ppdf(x,l) @@ -56,9 +56,12 @@ def spm_Ppdf(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_Ppdf.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_Ppdf.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_Ppdf", *args, **kwargs) diff --git a/spm/spm_Q.py b/spm/spm_Q.py index ab2af74c..944246db 100644 --- a/spm/spm_Q.py +++ b/spm/spm_Q.py @@ -2,7 +2,7 @@ def spm_Q(*args, **kwargs): - """ + r""" Return an (n x n) (inverse) autocorrelation matrix for an AR(p) process FORMAT [Q] = spm_Q(a,n,q) @@ -24,9 +24,12 @@ def spm_Q(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_Q.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_Q.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_Q", *args, **kwargs) diff --git a/spm/spm_Q_perm.py b/spm/spm_Q_perm.py index 3a8fb98a..0458ebf0 100644 --- a/spm/spm_Q_perm.py +++ b/spm/spm_Q_perm.py @@ -2,15 +2,18 @@ def spm_Q_perm(*args, **kwargs): - """ + r""" Return a cell of permutation indices for separating matrices FORMAT p = spm_Q_perm(Q) __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_Q_perm.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_Q_perm.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_Q_perm", *args, **kwargs) diff --git a/spm/spm_ROI.py b/spm/spm_ROI.py index 07a8944e..074350ed 100644 --- a/spm/spm_ROI.py +++ b/spm/spm_ROI.py @@ -2,7 +2,7 @@ def spm_ROI(*args, **kwargs): - """ + r""" Region of Interest specification FORMAT xY = spm_ROI(xY) xY - VOI structure @@ -23,9 +23,12 @@ def spm_ROI(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_ROI.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_ROI.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_ROI", *args, **kwargs) diff --git a/spm/spm_SpUtil.py b/spm/spm_SpUtil.py index 293ab18c..65040de4 100644 --- a/spm/spm_SpUtil.py +++ b/spm/spm_SpUtil.py @@ -2,7 +2,7 @@ def spm_SpUtil(*args, **kwargs): - """ + r""" Space matrix utilities FORMAT varargout = spm_SpUtil(action,varargin) @@ -259,9 +259,12 @@ def spm_SpUtil(*args, **kwargs): _______________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_SpUtil.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_SpUtil.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_SpUtil", *args, **kwargs) diff --git a/spm/spm_Tcdf.py b/spm/spm_Tcdf.py index 2ccef9db..be447df3 100644 --- a/spm/spm_Tcdf.py +++ b/spm/spm_Tcdf.py @@ -2,7 +2,7 @@ def spm_Tcdf(*args, **kwargs): - """ + r""" Cumulative Distribution Function (CDF) of Students t distribution FORMAT p = spm_Tcdf(x,v) @@ -64,9 +64,12 @@ def spm_Tcdf(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_Tcdf.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_Tcdf.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_Tcdf", *args, **kwargs) diff --git a/spm/spm_Tpdf.py b/spm/spm_Tpdf.py index 1f073df4..154dd098 100644 --- a/spm/spm_Tpdf.py +++ b/spm/spm_Tpdf.py @@ -2,7 +2,7 @@ def spm_Tpdf(*args, **kwargs): - """ + r""" Probability Density Function (PDF) of Students t distribution FORMAT f = spm_Tpdf(x,v) @@ -49,9 +49,12 @@ def spm_Tpdf(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_Tpdf.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_Tpdf.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_Tpdf", *args, **kwargs) diff --git a/spm/spm_VOI.py b/spm/spm_VOI.py index 3702d768..02b19739 100644 --- a/spm/spm_VOI.py +++ b/spm/spm_VOI.py @@ -2,7 +2,7 @@ def spm_VOI(*args, **kwargs): - """ + r""" List of local maxima and adjusted p-values for a small Volume of Interest FORMAT [TabDat,xSVC] = spm_VOI(SPM,xSPM,hReg,[xY]) @@ -56,9 +56,12 @@ def spm_VOI(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_VOI.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_VOI.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_VOI", *args, **kwargs) diff --git a/spm/spm_Volt_W.py b/spm/spm_Volt_W.py index 9b6917e9..3b6a8126 100644 --- a/spm/spm_Volt_W.py +++ b/spm/spm_Volt_W.py @@ -2,7 +2,7 @@ def spm_Volt_W(*args, **kwargs): - """ + r""" Return basis functions used for Volterra expansion FORMAT [W] = spm_Volt_W(u) u - times {seconds} @@ -10,9 +10,12 @@ def spm_Volt_W(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_Volt_W.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_Volt_W.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_Volt_W", *args, **kwargs) diff --git a/spm/spm_Volterra.py b/spm/spm_Volterra.py index 0059666f..5c9e3614 100644 --- a/spm/spm_Volterra.py +++ b/spm/spm_Volterra.py @@ -2,7 +2,7 @@ def spm_Volterra(*args, **kwargs): - """ + r""" Generalized convolution of inputs (U) with basis set (bf) FORMAT [X,Xname,Fc] = spm_Volterra(U,bf,V) U - input structure array (see spm_get_ons.m) @@ -26,9 +26,12 @@ def spm_Volterra(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_Volterra.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_Volterra.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_Volterra", *args, **kwargs) diff --git a/spm/spm_Welcome.py b/spm/spm_Welcome.py index dda40598..91df64b4 100644 --- a/spm/spm_Welcome.py +++ b/spm/spm_Welcome.py @@ -2,16 +2,19 @@ def spm_Welcome(*args, **kwargs): - """ + r""" Open SPM's welcome splash screen FORMAT F = spm_Welcome F - welcome figure handle __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_Welcome.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_Welcome.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_Welcome", *args, **kwargs) diff --git a/spm/spm_XYZreg.py b/spm/spm_XYZreg.py index 6a9ac819..0c5bf972 100644 --- a/spm/spm_XYZreg.py +++ b/spm/spm_XYZreg.py @@ -2,7 +2,7 @@ def spm_XYZreg(*args, **kwargs): - """ + r""" Registry for GUI XYZ locations, and point list utility functions ---------------- @@ -170,9 +170,12 @@ def spm_XYZreg(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_XYZreg.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_XYZreg.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_XYZreg", *args, **kwargs) diff --git a/spm/spm_XYZreg_Ex2.py b/spm/spm_XYZreg_Ex2.py index 09775ae7..93a87327 100644 --- a/spm/spm_XYZreg_Ex2.py +++ b/spm/spm_XYZreg_Ex2.py @@ -2,7 +2,7 @@ def spm_XYZreg_Ex2(*args, **kwargs): - """ + r""" Example of Registry enabled XYZ GUI control / function FORMAT... _______________________________________________________________________ @@ -37,9 +37,12 @@ def spm_XYZreg_Ex2(*args, **kwargs): _______________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_XYZreg_Ex2.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_XYZreg_Ex2.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_XYZreg_Ex2", *args, **kwargs) diff --git a/spm/spm_Xcdf.py b/spm/spm_Xcdf.py index e2794b7d..807f72df 100644 --- a/spm/spm_Xcdf.py +++ b/spm/spm_Xcdf.py @@ -2,7 +2,7 @@ def spm_Xcdf(*args, **kwargs): - """ + r""" Cumulative Distribution Function (CDF) of Chi-squared distribution FORMAT F = spm_Xcdf(x,v) @@ -53,9 +53,12 @@ def spm_Xcdf(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_Xcdf.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_Xcdf.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_Xcdf", *args, **kwargs) diff --git a/spm/spm_Xpdf.py b/spm/spm_Xpdf.py index 4ff73c84..af79881c 100644 --- a/spm/spm_Xpdf.py +++ b/spm/spm_Xpdf.py @@ -2,7 +2,7 @@ def spm_Xpdf(*args, **kwargs): - """ + r""" Probability Density Function (PDF) of Chi-Squared distribution FORMAT f = spm_Xpdf(x,v) @@ -50,9 +50,12 @@ def spm_Xpdf(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_Xpdf.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_Xpdf.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_Xpdf", *args, **kwargs) diff --git a/spm/spm_affine_priors.py b/spm/spm_affine_priors.py index 746c2ffb..f6d3287b 100644 --- a/spm/spm_affine_priors.py +++ b/spm/spm_affine_priors.py @@ -2,7 +2,7 @@ def spm_affine_priors(*args, **kwargs): - """ + r""" Distribution of the priors used in affine registration The parameters for this distribution were derived empirically from 227 @@ -10,9 +10,12 @@ def spm_affine_priors(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_affine_priors.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_affine_priors.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_affine_priors", *args, **kwargs) diff --git a/spm/spm_ancova.py b/spm/spm_ancova.py index 84e672e0..e2f26f95 100644 --- a/spm/spm_ancova.py +++ b/spm/spm_ancova.py @@ -2,7 +2,7 @@ def spm_ancova(*args, **kwargs): - """ + r""" Estimation and inference of a linear model FORMAT [F,df,beta,xX,xCon] = spm_ancova(xX,V,Y,c); @@ -28,9 +28,12 @@ def spm_ancova(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_ancova.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_ancova.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_ancova", *args, **kwargs) diff --git a/spm/spm_api_bmc.py b/spm/spm_api_bmc.py index 55c6518d..bb78cade 100644 --- a/spm/spm_api_bmc.py +++ b/spm/spm_api_bmc.py @@ -2,7 +2,7 @@ def spm_api_bmc(*args, **kwargs): - """ + r""" API to select and compare DCMs using Bayesian model comparison FORMAT out=spm_api_bmc(F,N,alpha,exp_r,xp) @@ -18,9 +18,12 @@ def spm_api_bmc(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_api_bmc.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_api_bmc.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_api_bmc", *args, **kwargs) diff --git a/spm/spm_ar_reml.py b/spm/spm_ar_reml.py index f62ac7f9..a4728e36 100644 --- a/spm/spm_ar_reml.py +++ b/spm/spm_ar_reml.py @@ -2,7 +2,7 @@ def spm_ar_reml(*args, **kwargs): - """ + r""" ReML estimation of covariance components from y*y' FORMAT [C,h,Ph,F] = spm_ar_reml(YY,X,m,N) @@ -23,9 +23,12 @@ def spm_ar_reml(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_ar_reml.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_ar_reml.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_ar_reml", *args, **kwargs) diff --git a/spm/spm_argmax.py b/spm/spm_argmax.py index c0f9232f..103f9ac8 100644 --- a/spm/spm_argmax.py +++ b/spm/spm_argmax.py @@ -2,7 +2,7 @@ def spm_argmax(*args, **kwargs): - """ + r""" Function minimisation using Gauss-Newton FORMAT [P,f] = spm_argmax('fun',varargin,i) @@ -19,9 +19,12 @@ def spm_argmax(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_argmax.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_argmax.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_argmax", *args, **kwargs) diff --git a/spm/spm_atlas.py b/spm/spm_atlas.py index 4b782992..563067c5 100644 --- a/spm/spm_atlas.py +++ b/spm/spm_atlas.py @@ -2,7 +2,7 @@ def spm_atlas(*args, **kwargs): - """ + r""" Atlas multi-function FORMAT xA = spm_atlas('load',atlas) FORMAT L = spm_atlas('list') @@ -20,9 +20,12 @@ def spm_atlas(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_atlas.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_atlas.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_atlas", *args, **kwargs) diff --git a/spm/spm_authors.py b/spm/spm_authors.py index f56a2912..02fc46b3 100644 --- a/spm/spm_authors.py +++ b/spm/spm_authors.py @@ -2,7 +2,7 @@ def spm_authors(*args, **kwargs): - """ + r""" Return list of SPM coauthors FORMAT [current, previous] = spm_authors current - cell array of SPM coauthors of the current release @@ -10,9 +10,12 @@ def spm_authors(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_authors.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_authors.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_authors", *args, **kwargs) diff --git a/spm/spm_axis.py b/spm/spm_axis.py index b7fb073c..6c353f34 100644 --- a/spm/spm_axis.py +++ b/spm/spm_axis.py @@ -2,13 +2,16 @@ def spm_axis(*args, **kwargs): - """ + r""" AXIS Control axis scaling and appearance. - [Matlab code]( https://github.com/spm/spm/blob/main/spm_axis.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_axis.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_axis", *args, **kwargs) diff --git a/spm/spm_barh.py b/spm/spm_barh.py index b57cbec1..a11bf252 100644 --- a/spm/spm_barh.py +++ b/spm/spm_barh.py @@ -2,7 +2,7 @@ def spm_barh(*args, **kwargs): - """ + r""" Density plotting function (c.f. bar - horizontal) FORMAT spm_barh(E,C,[P]) E - (n x 1) expectation @@ -11,9 +11,12 @@ def spm_barh(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_barh.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_barh.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_barh", *args, **kwargs, nargout=0) diff --git a/spm/spm_bayes2_logbf.py b/spm/spm_bayes2_logbf.py index 06058805..2923e307 100644 --- a/spm/spm_bayes2_logbf.py +++ b/spm/spm_bayes2_logbf.py @@ -2,7 +2,7 @@ def spm_bayes2_logbf(*args, **kwargs): - """ + r""" Compute and write log Bayes factor image FORMAT [xCon,SPM]= spm_bayes2_logbf(SPM,XYZ,xCon,ic) @@ -13,9 +13,12 @@ def spm_bayes2_logbf(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_bayes2_logbf.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_bayes2_logbf.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_bayes2_logbf", *args, **kwargs) diff --git a/spm/spm_beta_compare.py b/spm/spm_beta_compare.py index 36e62837..281611ee 100644 --- a/spm/spm_beta_compare.py +++ b/spm/spm_beta_compare.py @@ -2,7 +2,7 @@ def spm_beta_compare(*args, **kwargs): - """ + r""" Compute probability that r1 > r2 FORMAT xp = spm_beta_compare(alpha1,alpha2,Nsamp) @@ -20,9 +20,12 @@ def spm_beta_compare(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_beta_compare.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_beta_compare.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_beta_compare", *args, **kwargs) diff --git a/spm/spm_betaln.py b/spm/spm_betaln.py index e2a45932..d8d73f78 100644 --- a/spm/spm_betaln.py +++ b/spm/spm_betaln.py @@ -2,7 +2,7 @@ def spm_betaln(*args, **kwargs): - """ + r""" Logarithm of the multivariate beta function of a vector FORMAT y = spm_betaln(z) y = spm_betaln(z) computes the natural logarithm of the beta function @@ -17,9 +17,12 @@ def spm_betaln(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_betaln.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_betaln.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_betaln", *args, **kwargs) diff --git a/spm/spm_bilinear.py b/spm/spm_bilinear.py index 8b26d1a2..d307659e 100644 --- a/spm/spm_bilinear.py +++ b/spm/spm_bilinear.py @@ -2,7 +2,7 @@ def spm_bilinear(*args, **kwargs): - """ + r""" Return global Volterra kernels for a MIMO Bilinear system FORMAT [H0,H1,H2] = spm_bilinear(A,B,C,D,x0,N,dt) A - (n x n) df(x(0),0)/dx - n states @@ -29,9 +29,12 @@ def spm_bilinear(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_bilinear.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_bilinear.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_bilinear", *args, **kwargs) diff --git a/spm/spm_bilinear_condition.py b/spm/spm_bilinear_condition.py index b7f8c3e6..f8076eab 100644 --- a/spm/spm_bilinear_condition.py +++ b/spm/spm_bilinear_condition.py @@ -2,16 +2,19 @@ def spm_bilinear_condition(*args, **kwargs): - """ + r""" Condition a bilinear operator by suppressing positive eigenmodes FORMAT M0 = spm_bilinear_condition(M0) M0 - bilinear operator __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_bilinear_condition.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_bilinear_condition.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_bilinear_condition", *args, **kwargs) diff --git a/spm/spm_bireduce.py b/spm/spm_bireduce.py index f23c11e9..7024d88a 100644 --- a/spm/spm_bireduce.py +++ b/spm/spm_bireduce.py @@ -2,7 +2,7 @@ def spm_bireduce(*args, **kwargs): - """ + r""" Reduction of a fully nonlinear MIMO system to Bilinear form FORMAT [M0,M1,L1,L2] = spm_bireduce(M,P) @@ -39,9 +39,12 @@ def spm_bireduce(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_bireduce.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_bireduce.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_bireduce", *args, **kwargs) diff --git a/spm/spm_bms_against_null.py b/spm/spm_bms_against_null.py index d2493b39..30951879 100644 --- a/spm/spm_bms_against_null.py +++ b/spm/spm_bms_against_null.py @@ -2,7 +2,7 @@ def spm_bms_against_null(*args, **kwargs): - """ + r""" Plot PPM showing evidence against null FORMAT spm_bms_against_null(logbf_file) @@ -13,9 +13,12 @@ def spm_bms_against_null(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_bms_against_null.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_bms_against_null.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_bms_against_null", *args, **kwargs, nargout=0) diff --git a/spm/spm_bms_anova.py b/spm/spm_bms_anova.py index f239e84e..2f33f7b9 100644 --- a/spm/spm_bms_anova.py +++ b/spm/spm_bms_anova.py @@ -2,7 +2,7 @@ def spm_bms_anova(*args, **kwargs): - """ + r""" Log Bayes factor against null for one-way ANOVA FORMAT [logBF,F] = spm_bms_anova(y,group,prior) @@ -24,9 +24,12 @@ def spm_bms_anova(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_bms_anova.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_bms_anova.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_bms_anova", *args, **kwargs) diff --git a/spm/spm_bms_anova_img.py b/spm/spm_bms_anova_img.py index 4a692af3..fb616e1d 100644 --- a/spm/spm_bms_anova_img.py +++ b/spm/spm_bms_anova_img.py @@ -2,7 +2,7 @@ def spm_bms_anova_img(*args, **kwargs): - """ + r""" Log Bayes Factor against null for ANOVA; functional imaging data FORMAT [P,g,prior] = spm_bms_anova_img(P,g,prior) @@ -14,9 +14,12 @@ def spm_bms_anova_img(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_bms_anova_img.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_bms_anova_img.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_bms_anova_img", *args, **kwargs) diff --git a/spm/spm_bms_compare_groups.py b/spm/spm_bms_compare_groups.py index d8cf117f..bdc7ae7e 100644 --- a/spm/spm_bms_compare_groups.py +++ b/spm/spm_bms_compare_groups.py @@ -2,7 +2,7 @@ def spm_bms_compare_groups(*args, **kwargs): - """ + r""" Compare BMS maps for different groups FORMAT con_image = spm_bms_compare_groups(BMSfiles,name,contrast) @@ -19,9 +19,12 @@ def spm_bms_compare_groups(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_bms_compare_groups.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_bms_compare_groups.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_bms_compare_groups", *args, **kwargs) diff --git a/spm/spm_bms_display.py b/spm/spm_bms_display.py index 020ea7f6..8df0cfb1 100644 --- a/spm/spm_bms_display.py +++ b/spm/spm_bms_display.py @@ -2,7 +2,7 @@ def spm_bms_display(*args, **kwargs): - """ + r""" Display results from BMS Maps FORMAT spm_bms_display(BMS,action) @@ -15,9 +15,12 @@ def spm_bms_display(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_bms_display.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_bms_display.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_bms_display", *args, **kwargs) diff --git a/spm/spm_bms_display_ROI.py b/spm/spm_bms_display_ROI.py index 1c676113..68ba7330 100644 --- a/spm/spm_bms_display_ROI.py +++ b/spm/spm_bms_display_ROI.py @@ -2,7 +2,7 @@ def spm_bms_display_ROI(*args, **kwargs): - """ + r""" Display results from BMS in a region of interest (ROI) FORMAT spm_bms_display_ROI (BMS,mask,method) @@ -13,9 +13,12 @@ def spm_bms_display_ROI(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_bms_display_ROI.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_bms_display_ROI.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_bms_display_ROI", *args, **kwargs, nargout=0) diff --git a/spm/spm_bms_display_vox.py b/spm/spm_bms_display_vox.py index 514b9872..68329e96 100644 --- a/spm/spm_bms_display_vox.py +++ b/spm/spm_bms_display_vox.py @@ -2,7 +2,7 @@ def spm_bms_display_vox(*args, **kwargs): - """ + r""" Display results from BMS Maps at current voxel FORMAT spm_bms_display_vox(BMS,xyz) @@ -11,9 +11,12 @@ def spm_bms_display_vox(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_bms_display_vox.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_bms_display_vox.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_bms_display_vox", *args, **kwargs, nargout=0) diff --git a/spm/spm_bms_partition.py b/spm/spm_bms_partition.py index cfdd7b0f..dd1b3336 100644 --- a/spm/spm_bms_partition.py +++ b/spm/spm_bms_partition.py @@ -2,7 +2,7 @@ def spm_bms_partition(*args, **kwargs): - """ + r""" Compute model partitioning for BMS FORMAT spm_bms_partition(BMS) @@ -15,9 +15,12 @@ def spm_bms_partition(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_bms_partition.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_bms_partition.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_bms_partition", *args, **kwargs, nargout=0) diff --git a/spm/spm_bms_test_null.py b/spm/spm_bms_test_null.py index d112031c..a0bf4567 100644 --- a/spm/spm_bms_test_null.py +++ b/spm/spm_bms_test_null.py @@ -2,7 +2,7 @@ def spm_bms_test_null(*args, **kwargs): - """ + r""" Plot PPM showing evidence for null FORMAT spm_bms_test_null(logbf_file) @@ -13,9 +13,12 @@ def spm_bms_test_null(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_bms_test_null.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_bms_test_null.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_bms_test_null", *args, **kwargs, nargout=0) diff --git a/spm/spm_bms_ttest.py b/spm/spm_bms_ttest.py index 2915243e..323cfc75 100644 --- a/spm/spm_bms_ttest.py +++ b/spm/spm_bms_ttest.py @@ -2,7 +2,7 @@ def spm_bms_ttest(*args, **kwargs): - """ + r""" Log Bayes Factor against null for one sample t-test FORMAT [logbf,t] = spm_bms_ttest(y,prior) @@ -24,9 +24,12 @@ def spm_bms_ttest(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_bms_ttest.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_bms_ttest.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_bms_ttest", *args, **kwargs) diff --git a/spm/spm_browser.py b/spm/spm_browser.py index d0a21112..0f547445 100644 --- a/spm/spm_browser.py +++ b/spm/spm_browser.py @@ -2,7 +2,7 @@ def spm_browser(*args, **kwargs): - """ + r""" Display an HTML document in a web browser FORMAT spm_browser(url,[format]) @@ -14,9 +14,12 @@ def spm_browser(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_browser.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_browser.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_browser", *args, **kwargs, nargout=0) diff --git a/spm/spm_bsplinc.py b/spm/spm_bsplinc.py index b8246224..7d5277b5 100644 --- a/spm/spm_bsplinc.py +++ b/spm/spm_bsplinc.py @@ -2,7 +2,7 @@ def spm_bsplinc(*args, **kwargs): - """ + r""" Return volume of B-spline coefficients - a compiled routine FORMAT c = spm_bsplinc(V,d) V - a structure of image volume information (from spm_vol) - or a @@ -36,9 +36,12 @@ def spm_bsplinc(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_bsplinc.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_bsplinc.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_bsplinc", *args, **kwargs) diff --git a/spm/spm_bsplins.py b/spm/spm_bsplins.py index 9a885d50..4d740af4 100644 --- a/spm/spm_bsplins.py +++ b/spm/spm_bsplins.py @@ -2,7 +2,7 @@ def spm_bsplins(*args, **kwargs): - """ + r""" Sample a volume using B-spline interpolation - a compiled routine FORMAT [f,dfx,dfy,dfz] = spm_bsplins(c,x,y,z,d) c - volume of B-spline coefficients (from spm_bsplinc) @@ -42,9 +42,12 @@ def spm_bsplins(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_bsplins.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_bsplins.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_bsplins", *args, **kwargs) diff --git a/spm/spm_bwlabel.py b/spm/spm_bwlabel.py index 2e98bf3d..f8e4273d 100644 --- a/spm/spm_bwlabel.py +++ b/spm/spm_bwlabel.py @@ -2,7 +2,7 @@ def spm_bwlabel(*args, **kwargs): - """ + r""" Label connected components in 2D or 3D binary images - a compiled routine FORMAT [L,num] = spm_bwlabel(BW,n) @@ -23,9 +23,12 @@ def spm_bwlabel(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_bwlabel.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_bwlabel.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_bwlabel", *args, **kwargs) diff --git a/spm/spm_cat.py b/spm/spm_cat.py index 6f980515..0c570c07 100644 --- a/spm/spm_cat.py +++ b/spm/spm_cat.py @@ -2,7 +2,7 @@ def spm_cat(*args, **kwargs): - """ + r""" Convert a cell array into a matrix - a compiled routine FORMAT [x] = spm_cat(x,d) x - cell array @@ -24,9 +24,12 @@ def spm_cat(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_cat.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_cat.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_cat", *args, **kwargs) diff --git a/spm/spm_cat_struct.py b/spm/spm_cat_struct.py index 8f00ec97..4c05b4c4 100644 --- a/spm/spm_cat_struct.py +++ b/spm/spm_cat_struct.py @@ -2,15 +2,18 @@ def spm_cat_struct(*args, **kwargs): - """ + r""" Concatenates structure arrays with possibly different fields FORMAT s = spm_cat_struct(s1, s2, ...) __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_cat_struct.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_cat_struct.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_cat_struct", *args, **kwargs) diff --git a/spm/spm_cell_swap.py b/spm/spm_cell_swap.py index 81b6b26b..16cd2d3d 100644 --- a/spm/spm_cell_swap.py +++ b/spm/spm_cell_swap.py @@ -2,16 +2,19 @@ def spm_cell_swap(*args, **kwargs): - """ + r""" Swap columns for cells in matrix arrays FORMAT y = spm_cell_swap(x) y{:,i}(:,j) = x{:,j}(:,i); __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_cell_swap.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_cell_swap.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_cell_swap", *args, **kwargs) diff --git a/spm/spm_changepath.py b/spm/spm_changepath.py index 30eb7f27..fbba2f74 100644 --- a/spm/spm_changepath.py +++ b/spm/spm_changepath.py @@ -2,7 +2,7 @@ def spm_changepath(*args, **kwargs): - """ + r""" Recursively replace all occurrences of a text pattern in a variable FORMAT S = spm_changepath(Sf, oldp, newp) @@ -21,9 +21,12 @@ def spm_changepath(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_changepath.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_changepath.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_changepath", *args, **kwargs) diff --git a/spm/spm_check_filename.py b/spm/spm_check_filename.py index 8ef62d36..a43dbb1d 100644 --- a/spm/spm_check_filename.py +++ b/spm/spm_check_filename.py @@ -2,7 +2,7 @@ def spm_check_filename(*args, **kwargs): - """ + r""" Check paths are valid and try to restore path names FORMAT V = spm_check_filename(V) @@ -10,9 +10,12 @@ def spm_check_filename(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_check_filename.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_check_filename.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_check_filename", *args, **kwargs) diff --git a/spm/spm_check_installation.py b/spm/spm_check_installation.py index 56b0581e..24273a42 100644 --- a/spm/spm_check_installation.py +++ b/spm/spm_check_installation.py @@ -2,7 +2,7 @@ def spm_check_installation(*args, **kwargs): - """ + r""" Check SPM installation FORMAT spm_check_installation('basic') Perform a superficial check of SPM installation [default]. @@ -13,15 +13,19 @@ def spm_check_installation(*args, **kwargs): FORMAT rev = spm_check_installation('rev') Return a lower bound of SPM SVN Revision number. + FORMAT spm_check_installation('build') Build signature of SPM distribution as used by 'full' option. (for developers) __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_check_installation.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_check_installation.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_check_installation", *args, **kwargs) diff --git a/spm/spm_check_orientations.py b/spm/spm_check_orientations.py index 66e532e4..c74f141d 100644 --- a/spm/spm_check_orientations.py +++ b/spm/spm_check_orientations.py @@ -2,7 +2,7 @@ def spm_check_orientations(*args, **kwargs): - """ + r""" Check the dimensions and orientations of the images FORMAT [sts, str] = spm_check_orientations(V [,verbose]) V - a struct array as returned by spm_vol @@ -15,9 +15,12 @@ def spm_check_orientations(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_check_orientations.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_check_orientations.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_check_orientations", *args, **kwargs) diff --git a/spm/spm_check_registration.py b/spm/spm_check_registration.py index 209105a8..da2dde81 100644 --- a/spm/spm_check_registration.py +++ b/spm/spm_check_registration.py @@ -2,7 +2,7 @@ def spm_check_registration(*args, **kwargs): - """ + r""" A visual check of image registration quality FORMAT spm_check_registration FORMAT spm_check_registration(images) @@ -15,9 +15,12 @@ def spm_check_registration(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_check_registration.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_check_registration.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_check_registration", *args, **kwargs, nargout=0) diff --git a/spm/spm_check_results.py b/spm/spm_check_results.py index 8d8407c7..4d3f1445 100644 --- a/spm/spm_check_results.py +++ b/spm/spm_check_results.py @@ -2,7 +2,7 @@ def spm_check_results(*args, **kwargs): - """ + r""" Display several MIPs in the same figure FORMAT spm_check_results(SPMs,xSPM) SPMs - char or cell array of paths to SPM.mat[s] @@ -12,9 +12,12 @@ def spm_check_results(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_check_results.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_check_results.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_check_results", *args, **kwargs, nargout=0) diff --git a/spm/spm_check_version.py b/spm/spm_check_version.py index 0306ee11..6a4836f5 100644 --- a/spm/spm_check_version.py +++ b/spm/spm_check_version.py @@ -2,7 +2,7 @@ def spm_check_version(*args, **kwargs): - """ + r""" Check a version number against a Toolbox version FORMAT tbx = spm_check_version @@ -68,9 +68,12 @@ def spm_check_version(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_check_version.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_check_version.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_check_version", *args, **kwargs) diff --git a/spm/spm_circularGraph.py b/spm/spm_circularGraph.py index 85c7f6b5..872bfd64 100644 --- a/spm/spm_circularGraph.py +++ b/spm/spm_circularGraph.py @@ -2,7 +2,7 @@ def spm_circularGraph(*args, **kwargs): - """ + r""" Plot a circular graph to illustrate connections FORMAT spm_circularGraph(A,'PropertyName',propertyvalue,...) X - symmetric (NxN) matrix of numeric or logical values @@ -16,9 +16,12 @@ def spm_circularGraph(*args, **kwargs): are drawn within the circle. - [Matlab code]( https://github.com/spm/spm/blob/main/spm_circularGraph.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_circularGraph.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_circularGraph", *args, **kwargs, nargout=0) diff --git a/spm/spm_clf.py b/spm/spm_clf.py index 8bf6dc24..ae16c451 100644 --- a/spm/spm_clf.py +++ b/spm/spm_clf.py @@ -2,7 +2,7 @@ def spm_clf(*args, **kwargs): - """ + r""" Clear specified figure of objects with visible handles FORMAT spm_clf(F) F - Figure number, or 'Tag' string of figure(s) to clear @@ -20,9 +20,12 @@ def spm_clf(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_clf.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_clf.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_clf", *args, **kwargs, nargout=0) diff --git a/spm/spm_cli.py b/spm/spm_cli.py index 2a452810..1b91cd4a 100644 --- a/spm/spm_cli.py +++ b/spm/spm_cli.py @@ -2,14 +2,17 @@ def spm_cli(*args, **kwargs): - """ + r""" Command line interface for SPM __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_cli.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_cli.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_cli", *args, **kwargs, nargout=0) diff --git a/spm/spm_clusters.py b/spm/spm_clusters.py index 08db5097..033e152f 100644 --- a/spm/spm_clusters.py +++ b/spm/spm_clusters.py @@ -2,7 +2,7 @@ def spm_clusters(*args, **kwargs): - """ + r""" Return the cluster index for a point list FORMAT A = spm_clusters(L,n) L - locations [x y x]' {in voxels} ([3 x m] matrix) @@ -18,9 +18,12 @@ def spm_clusters(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_clusters.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_clusters.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_clusters", *args, **kwargs) diff --git a/spm/spm_colourmap.py b/spm/spm_colourmap.py index cc86b110..8b2b88ea 100644 --- a/spm/spm_colourmap.py +++ b/spm/spm_colourmap.py @@ -2,7 +2,7 @@ def spm_colourmap(*args, **kwargs): - """ + r""" Colourmap multi-function FORMAT map = spm_colourmap Return the colourmap of the current figure as a three-column matrix of @@ -39,9 +39,12 @@ def spm_colourmap(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_colourmap.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_colourmap.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_colourmap", *args, **kwargs) diff --git a/spm/spm_combinations.py b/spm/spm_combinations.py index 1710e463..7bcb4f1f 100644 --- a/spm/spm_combinations.py +++ b/spm/spm_combinations.py @@ -2,18 +2,21 @@ def spm_combinations(*args, **kwargs): - """ + r""" FORMAT U = spm_combinations(Nu) - Nu - vector of dimensions + Nu - vector of dimensions (or cell array of indices) U - combinations of indices returns a matrix of all combinations of Nu __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_combinations.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_combinations.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_combinations", *args, **kwargs) diff --git a/spm/spm_compact_svd.py b/spm/spm_compact_svd.py index 7ba1ada1..690f2366 100644 --- a/spm/spm_compact_svd.py +++ b/spm/spm_compact_svd.py @@ -2,7 +2,7 @@ def spm_compact_svd(*args, **kwargs): - """ + r""" Local SVD with compact support for large matrices FORMAT U = spm_compact_svd(Y,xyz,nu) Y - matrix @@ -11,9 +11,12 @@ def spm_compact_svd(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_compact_svd.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_compact_svd.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_compact_svd", *args, **kwargs) diff --git a/spm/spm_compare_families.py b/spm/spm_compare_families.py index 4c3e3ae5..eef275ef 100644 --- a/spm/spm_compare_families.py +++ b/spm/spm_compare_families.py @@ -2,7 +2,7 @@ def spm_compare_families(*args, **kwargs): - """ + r""" Bayesian comparison of model families for group studies FORMAT [family,model] = spm_compare_families(lme,family) @@ -47,9 +47,12 @@ def spm_compare_families(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_compare_families.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_compare_families.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_compare_families", *args, **kwargs) diff --git a/spm/spm_cond_units.py b/spm/spm_cond_units.py index 20fdde39..7c3c83b8 100644 --- a/spm/spm_cond_units.py +++ b/spm/spm_cond_units.py @@ -2,7 +2,7 @@ def spm_cond_units(*args, **kwargs): - """ + r""" Scale numeric arrays by a multiple of 10^n to avoid numerical overflow FORMAT [y,scale] = spm_cond_units(y,n) y - y*scale; @@ -10,9 +10,12 @@ def spm_cond_units(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_cond_units.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_cond_units.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_cond_units", *args, **kwargs) diff --git a/spm/spm_conman.py b/spm/spm_conman.py index 0e0b90b1..c96a0f92 100644 --- a/spm/spm_conman.py +++ b/spm/spm_conman.py @@ -2,7 +2,7 @@ def spm_conman(*args, **kwargs): - """ + r""" Contrast manager: GUI for defining valid contrasts FORMAT varargout=spm_conman(varargin) - An embedded callback, multi-function function @@ -240,9 +240,12 @@ def spm_conman(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_conman.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_conman.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_conman", *args, **kwargs) diff --git a/spm/spm_contrasts.py b/spm/spm_contrasts.py index 7311befc..15ed610c 100644 --- a/spm/spm_contrasts.py +++ b/spm/spm_contrasts.py @@ -2,7 +2,7 @@ def spm_contrasts(*args, **kwargs): - """ + r""" Compute and store contrast parameters and inference SPM{.} FORMAT SPM = spm_contrasts(SPM,Ic) @@ -14,9 +14,12 @@ def spm_contrasts(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_contrasts.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_contrasts.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_contrasts", *args, **kwargs) diff --git a/spm/spm_conv.py b/spm/spm_conv.py index 11bf2183..54b11f87 100644 --- a/spm/spm_conv.py +++ b/spm/spm_conv.py @@ -2,7 +2,7 @@ def spm_conv(*args, **kwargs): - """ + r""" Gaussian convolution FORMAT [X] = spm_conv(X,sx[,sy]) X - matrix @@ -18,9 +18,12 @@ def spm_conv(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_conv.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_conv.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_conv", *args, **kwargs) diff --git a/spm/spm_conv_full.py b/spm/spm_conv_full.py index 1ddf3116..52d0a332 100644 --- a/spm/spm_conv_full.py +++ b/spm/spm_conv_full.py @@ -2,7 +2,7 @@ def spm_conv_full(*args, **kwargs): - """ + r""" Hanning convolution (return full arrays) FORMAT [X] = spm_conv_full(X,sx,sy) X - matrix @@ -17,9 +17,12 @@ def spm_conv_full(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_conv_full.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_conv_full.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_conv_full", *args, **kwargs) diff --git a/spm/spm_conv_vol.py b/spm/spm_conv_vol.py index e4857469..744a52fd 100644 --- a/spm/spm_conv_vol.py +++ b/spm/spm_conv_vol.py @@ -2,7 +2,7 @@ def spm_conv_vol(*args, **kwargs): - """ + r""" Convolve a 3D volume with a three dimensional separable function FORMAT spm_conv_vol(V,Q,fx,fy,fz,offsets) V - input volume: @@ -34,9 +34,12 @@ def spm_conv_vol(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_conv_vol.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_conv_vol.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_conv_vol", *args, **kwargs) diff --git a/spm/spm_convmtx.py b/spm/spm_convmtx.py index 0c0b200c..6c68930b 100644 --- a/spm/spm_convmtx.py +++ b/spm/spm_convmtx.py @@ -2,7 +2,7 @@ def spm_convmtx(*args, **kwargs): - """ + r""" As for convmtx but with boundary conditions FORMAT t = spm_convmtx(C,N,OPT) @@ -20,9 +20,12 @@ def spm_convmtx(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_convmtx.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_convmtx.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_convmtx", *args, **kwargs) diff --git a/spm/spm_copy.py b/spm/spm_copy.py index 99b1f84b..f36a6083 100644 --- a/spm/spm_copy.py +++ b/spm/spm_copy.py @@ -2,7 +2,7 @@ def spm_copy(*args, **kwargs): - """ + r""" Copy file(s) FORMAT spm_copy(source, dest [,opts]) source - pathnames of files or directories to be copied @@ -18,9 +18,12 @@ def spm_copy(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_copy.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_copy.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_copy", *args, **kwargs, nargout=0) diff --git a/spm/spm_coreg.py b/spm/spm_coreg.py index e1b14081..92c12846 100644 --- a/spm/spm_coreg.py +++ b/spm/spm_coreg.py @@ -2,7 +2,7 @@ def spm_coreg(*args, **kwargs): - """ + r""" Between modality coregistration using information theory FORMAT x = spm_coreg(VG,VF,flags) VG - handle for reference image (see spm_vol). @@ -50,9 +50,12 @@ def spm_coreg(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_coreg.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_coreg.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_coreg", *args, **kwargs) diff --git a/spm/spm_cov2corr.py b/spm/spm_cov2corr.py index 60c7fc34..5577dac8 100644 --- a/spm/spm_cov2corr.py +++ b/spm/spm_cov2corr.py @@ -2,15 +2,18 @@ def spm_cov2corr(*args, **kwargs): - """ + r""" Correlation matrix given the covariance matrix FORMAT R = spm_cov2corr(C) __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_cov2corr.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_cov2corr.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_cov2corr", *args, **kwargs) diff --git a/spm/spm_create_vol.py b/spm/spm_create_vol.py index 66635d97..63d8b6f0 100644 --- a/spm/spm_create_vol.py +++ b/spm/spm_create_vol.py @@ -2,16 +2,19 @@ def spm_create_vol(*args, **kwargs): - """ + r""" Create a NIfTI image volume FORMAT V = spm_create_vol(V) V - image volume information (see spm_vol.m) __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_create_vol.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_create_vol.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_create_vol", *args, **kwargs) diff --git a/spm/spm_cross.py b/spm/spm_cross.py index 3ec1e8ab..ced0019a 100644 --- a/spm/spm_cross.py +++ b/spm/spm_cross.py @@ -2,13 +2,13 @@ def spm_cross(*args, **kwargs): - """ + r""" Multidimensional cross (outer) product - FORMAT [Y] = spm_cross(X,x) + FORMAT [Y] = spm_cross(X,x,...) FORMAT [Y] = spm_cross(X) - X - numeric array - x - numeric array + X - cell or numeric array + x - cell or numeric array Y - outer product @@ -16,9 +16,12 @@ def spm_cross(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_cross.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_cross.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_cross", *args, **kwargs) diff --git a/spm/spm_csd_fmri_gu.py b/spm/spm_csd_fmri_gu.py index 0f372180..0036fc41 100644 --- a/spm/spm_csd_fmri_gu.py +++ b/spm/spm_csd_fmri_gu.py @@ -2,7 +2,7 @@ def spm_csd_fmri_gu(*args, **kwargs): - """ + r""" Spectra of neuronal fluctuations and noise FORMAT [Gu,Gn,Hz,dt] = spm_csd_fmri_gu(P,dt) @@ -14,9 +14,12 @@ def spm_csd_fmri_gu(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_csd_fmri_gu.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_csd_fmri_gu.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_csd_fmri_gu", *args, **kwargs) diff --git a/spm/spm_csd_fmri_mar.py b/spm/spm_csd_fmri_mar.py index 21956033..ce151fc6 100644 --- a/spm/spm_csd_fmri_mar.py +++ b/spm/spm_csd_fmri_mar.py @@ -2,7 +2,7 @@ def spm_csd_fmri_mar(*args, **kwargs): - """ + r""" Prediction of MAR coefficients for DCM FORMAT [y,S,K] = spm_csd_fmri_mar(P,M,U) @@ -27,9 +27,12 @@ def spm_csd_fmri_mar(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_csd_fmri_mar.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_csd_fmri_mar.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_csd_fmri_mar", *args, **kwargs) diff --git a/spm/spm_csd_fmri_mtf.py b/spm/spm_csd_fmri_mtf.py index d357de43..16b63596 100644 --- a/spm/spm_csd_fmri_mtf.py +++ b/spm/spm_csd_fmri_mtf.py @@ -2,7 +2,7 @@ def spm_csd_fmri_mtf(*args, **kwargs): - """ + r""" Spectral response of a DCM (transfer function x noise spectrum) FORMAT [y,w,S,Gu,Gn] = spm_csd_fmri_mtf(P,M,U) @@ -29,9 +29,12 @@ def spm_csd_fmri_mtf(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_csd_fmri_mtf.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_csd_fmri_mtf.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_csd_fmri_mtf", *args, **kwargs) diff --git a/spm/spm_cva.py b/spm/spm_cva.py index b8f1a820..f0b76a3e 100644 --- a/spm/spm_cva.py +++ b/spm/spm_cva.py @@ -2,7 +2,7 @@ def spm_cva(*args, **kwargs): - """ + r""" Canonical Variate Analysis FORMAT [CVA] = spm_cva(Y,X,X0,c,[U]) Y - data @@ -70,9 +70,12 @@ def spm_cva(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_cva.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_cva.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_cva", *args, **kwargs) diff --git a/spm/spm_cva_ui.py b/spm/spm_cva_ui.py index d1ba9a5c..da4494b2 100644 --- a/spm/spm_cva_ui.py +++ b/spm/spm_cva_ui.py @@ -2,7 +2,7 @@ def spm_cva_ui(*args, **kwargs): - """ + r""" VOI extraction of adjusted data and CVA FORMAT [CVA] = spm_cva_ui('specify',xSPM,SPM,CVA) @@ -85,9 +85,12 @@ def spm_cva_ui(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_cva_ui.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_cva_ui.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_cva_ui", *args, **kwargs) diff --git a/spm/spm_dartel_integrate.py b/spm/spm_dartel_integrate.py index 891181bd..cbc1ca20 100644 --- a/spm/spm_dartel_integrate.py +++ b/spm/spm_dartel_integrate.py @@ -2,7 +2,7 @@ def spm_dartel_integrate(*args, **kwargs): - """ + r""" Integrate a Dartel flow field FORMAT [Phi,DPhi] = spm_dartel_exp(U,t,K) U - name of flow field (nx x ny x nz x nt x 3) @@ -23,9 +23,12 @@ def spm_dartel_integrate(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_dartel_integrate.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_dartel_integrate.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_dartel_integrate", *args, **kwargs) diff --git a/spm/spm_data_hdr_read.py b/spm/spm_data_hdr_read.py index d695e926..16b5fecd 100644 --- a/spm/spm_data_hdr_read.py +++ b/spm/spm_data_hdr_read.py @@ -2,7 +2,7 @@ def spm_data_hdr_read(*args, **kwargs): - """ + r""" Get data information from file FORMAT V = spm_data_hdr_read(P) P - a char or cell array of filenames @@ -11,9 +11,12 @@ def spm_data_hdr_read(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_data_hdr_read.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_data_hdr_read.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_data_hdr_read", *args, **kwargs) diff --git a/spm/spm_data_hdr_write.py b/spm/spm_data_hdr_write.py index 471ff524..86a35e4a 100644 --- a/spm/spm_data_hdr_write.py +++ b/spm/spm_data_hdr_write.py @@ -2,16 +2,19 @@ def spm_data_hdr_write(*args, **kwargs): - """ + r""" Write data information to disk FORMAT V = spm_data_hdr_write(V) V - a structure array (see spm_data_hdr_read) __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_data_hdr_write.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_data_hdr_write.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_data_hdr_write", *args, **kwargs) diff --git a/spm/spm_data_id.py b/spm/spm_data_id.py index e9a923f3..6c26b059 100644 --- a/spm/spm_data_id.py +++ b/spm/spm_data_id.py @@ -2,7 +2,7 @@ def spm_data_id(*args, **kwargs): - """ + r""" Generate a specific real number in a deterministic way from any data structure FORMAT ID = spm_data_id(X) X - numeric, character, cell or structure array[s] @@ -10,9 +10,12 @@ def spm_data_id(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_data_id.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_data_id.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_data_id", *args, **kwargs) diff --git a/spm/spm_data_read.py b/spm/spm_data_read.py index 927ae50c..98df4726 100644 --- a/spm/spm_data_read.py +++ b/spm/spm_data_read.py @@ -2,7 +2,7 @@ def spm_data_read(*args, **kwargs): - """ + r""" Read data from disk [Y = V(I)] FORMAT Y = spm_data_read(V) V - a structure array (see spm_data_hdr_read) @@ -25,9 +25,12 @@ def spm_data_read(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_data_read.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_data_read.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_data_read", *args, **kwargs) diff --git a/spm/spm_data_write.py b/spm/spm_data_write.py index 75e1c6fb..8bbf285b 100644 --- a/spm/spm_data_write.py +++ b/spm/spm_data_write.py @@ -2,7 +2,7 @@ def spm_data_write(*args, **kwargs): - """ + r""" Write data to disk [V(I) = Y] FORMAT V = spm_data_write(V,Y) V - a structure array (see spm_data_hdr_read) @@ -15,9 +15,12 @@ def spm_data_write(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_data_write.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_data_write.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_data_write", *args, **kwargs) diff --git a/spm/spm_dcm_HMM.py b/spm/spm_dcm_HMM.py index 0d55a79a..8d807c10 100644 --- a/spm/spm_dcm_HMM.py +++ b/spm/spm_dcm_HMM.py @@ -2,7 +2,7 @@ def spm_dcm_HMM(*args, **kwargs): - """ + r""" PEB Inversion of a DCM under a hidden Markov model of state transitions FORMAT [HMM,CSD] = spm_dcm_HMM(DCM,N,b) FORMAT [HMM] = spm_dcm_HMM(CSD,b) @@ -51,9 +51,12 @@ def spm_dcm_HMM(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_dcm_HMM.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_dcm_HMM.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_dcm_HMM", *args, **kwargs) diff --git a/spm/spm_dcm_HMM_plot.py b/spm/spm_dcm_HMM_plot.py index 4736f59b..718f02df 100644 --- a/spm/spm_dcm_HMM_plot.py +++ b/spm/spm_dcm_HMM_plot.py @@ -2,7 +2,7 @@ def spm_dcm_HMM_plot(*args, **kwargs): - """ + r""" Plot the results of a hidden Markov model of state transitions in the DCM FORMAT spm_dcm_HMM_plot(HMM,s) @@ -23,9 +23,12 @@ def spm_dcm_HMM_plot(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_dcm_HMM_plot.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_dcm_HMM_plot.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_dcm_HMM_plot", *args, **kwargs, nargout=0) diff --git a/spm/spm_dcm_J.py b/spm/spm_dcm_J.py index c8371445..8aec0027 100644 --- a/spm/spm_dcm_J.py +++ b/spm/spm_dcm_J.py @@ -2,7 +2,7 @@ def spm_dcm_J(*args, **kwargs): - """ + r""" VOI extraction of adjusted data and Markov Blanket decomposition FORMAT [J,K] = spm_dcm_J(Y,U,X0,dt,R,I,D) @@ -71,9 +71,12 @@ def spm_dcm_J(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_dcm_J.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_dcm_J.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_dcm_J", *args, **kwargs) diff --git a/spm/spm_dcm_KL.py b/spm/spm_dcm_KL.py index 165c2c75..7ce28180 100644 --- a/spm/spm_dcm_KL.py +++ b/spm/spm_dcm_KL.py @@ -2,7 +2,7 @@ def spm_dcm_KL(*args, **kwargs): - """ + r""" Compute the distance between two models based on prior responses FORMAT [D,C,K] = spm_dcm_KL(Mi,Mj) @@ -14,9 +14,12 @@ def spm_dcm_KL(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_dcm_KL.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_dcm_KL.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_dcm_KL", *args, **kwargs) diff --git a/spm/spm_dcm_U.py b/spm/spm_dcm_U.py index ff319af0..d652b1a2 100644 --- a/spm/spm_dcm_U.py +++ b/spm/spm_dcm_U.py @@ -2,7 +2,7 @@ def spm_dcm_U(*args, **kwargs): - """ + r""" Insert new inputs into a DCM FORMAT DCM = spm_dcm_U(DCM,SPM,sess,inputs) @@ -26,9 +26,12 @@ def spm_dcm_U(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_dcm_U.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_dcm_U.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_dcm_U", *args, **kwargs) diff --git a/spm/spm_dcm_average.py b/spm/spm_dcm_average.py index cdb803b4..e8a80863 100644 --- a/spm/spm_dcm_average.py +++ b/spm/spm_dcm_average.py @@ -2,7 +2,7 @@ def spm_dcm_average(*args, **kwargs): - """ + r""" Produce an aggregate DCM model using Bayesian FFX averaging FORMAT [DCM] = spm_dcm_average(P,name,nocond,graphics) @@ -35,9 +35,12 @@ def spm_dcm_average(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_dcm_average.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_dcm_average.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_dcm_average", *args, **kwargs) diff --git a/spm/spm_dcm_bdc.py b/spm/spm_dcm_bdc.py index d0d565a3..c85a3f8c 100644 --- a/spm/spm_dcm_bdc.py +++ b/spm/spm_dcm_bdc.py @@ -2,7 +2,7 @@ def spm_dcm_bdc(*args, **kwargs): - """ + r""" Compare datasets using DCM and PEB (Bayesian data comparison) FORMAT [d,BMA,PEBs] = spm_dcm_bdc(GCMs,field,M,ynames,models,noplot) @@ -48,9 +48,12 @@ def spm_dcm_bdc(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_dcm_bdc.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_dcm_bdc.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_dcm_bdc", *args, **kwargs) diff --git a/spm/spm_dcm_bma.py b/spm/spm_dcm_bma.py index b1d80359..55ae7fbd 100644 --- a/spm/spm_dcm_bma.py +++ b/spm/spm_dcm_bma.py @@ -2,7 +2,7 @@ def spm_dcm_bma(*args, **kwargs): - """ + r""" Model-independent samples from DCM posterior FORMAT BMA = spm_dcm_bma(DCM) FORMAT bma = spm_dcm_bma(post,post_indx,subj,Nsamp,oddsr) @@ -91,9 +91,12 @@ def spm_dcm_bma(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_dcm_bma.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_dcm_bma.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_dcm_bma", *args, **kwargs) diff --git a/spm/spm_dcm_bma_results.py b/spm/spm_dcm_bma_results.py index a2017c28..0d600cb0 100644 --- a/spm/spm_dcm_bma_results.py +++ b/spm/spm_dcm_bma_results.py @@ -2,7 +2,7 @@ def spm_dcm_bma_results(*args, **kwargs): - """ + r""" Plot histograms from BMA for selected modulatory and driving input FORMAT spm_dcm_bma_results(BMS,method) BMS - BMS.mat file @@ -10,9 +10,12 @@ def spm_dcm_bma_results(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_dcm_bma_results.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_dcm_bma_results.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_dcm_bma_results", *args, **kwargs, nargout=0) diff --git a/spm/spm_dcm_bmc.py b/spm/spm_dcm_bmc.py index 6482d08c..8292a433 100644 --- a/spm/spm_dcm_bmc.py +++ b/spm/spm_dcm_bmc.py @@ -2,7 +2,7 @@ def spm_dcm_bmc(*args, **kwargs): - """ + r""" Bayesian model comparison FORMAT [post,exp_r,xp,pxp,bor,F] = spm_dcm_bmc(DCM) @@ -38,9 +38,12 @@ def spm_dcm_bmc(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_dcm_bmc.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_dcm_bmc.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_dcm_bmc", *args, **kwargs) diff --git a/spm/spm_dcm_bmc_peb.py b/spm/spm_dcm_bmc_peb.py index 3ca280f8..52d18821 100644 --- a/spm/spm_dcm_bmc_peb.py +++ b/spm/spm_dcm_bmc_peb.py @@ -2,7 +2,7 @@ def spm_dcm_bmc_peb(*args, **kwargs): - """ + r""" Hierarchical (PEB) model comparison and averaging (1st and 2nd level) FORMAT [BMC,PEB] = spm_dcm_bmc_peb(DCM,[M,field]) @@ -73,9 +73,12 @@ def spm_dcm_bmc_peb(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_dcm_bmc_peb.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_dcm_bmc_peb.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_dcm_bmc_peb", *args, **kwargs) diff --git a/spm/spm_dcm_bmr.py b/spm/spm_dcm_bmr.py index 36c3bc7a..44cb2e02 100644 --- a/spm/spm_dcm_bmr.py +++ b/spm/spm_dcm_bmr.py @@ -2,7 +2,7 @@ def spm_dcm_bmr(*args, **kwargs): - """ + r""" Bayesian model reduction (under Laplace approximation) FORMAT [RCM,BMC,BMA] = spm_dcm_bmr(P,[field]) @@ -42,9 +42,12 @@ def spm_dcm_bmr(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_dcm_bmr.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_dcm_bmr.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_dcm_bmr", *args, **kwargs) diff --git a/spm/spm_dcm_bmr_all.py b/spm/spm_dcm_bmr_all.py index dc608809..64e8ce3e 100644 --- a/spm/spm_dcm_bmr_all.py +++ b/spm/spm_dcm_bmr_all.py @@ -2,7 +2,7 @@ def spm_dcm_bmr_all(*args, **kwargs): - """ + r""" Bayesian model reduction of all permutations of model parameters FORMAT [DCM,BMR,BMA] = spm_dcm_bmr_all(DCM,field,OPT) @@ -71,9 +71,12 @@ def spm_dcm_bmr_all(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_dcm_bmr_all.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_dcm_bmr_all.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_dcm_bmr_all", *args, **kwargs) diff --git a/spm/spm_dcm_bpa.py b/spm/spm_dcm_bpa.py index 47e0de23..28be1e1c 100644 --- a/spm/spm_dcm_bpa.py +++ b/spm/spm_dcm_bpa.py @@ -2,7 +2,7 @@ def spm_dcm_bpa(*args, **kwargs): - """ + r""" Produce an aggregate DCM using Bayesian parameter averaging FORMAT [BPA] = spm_dcm_bpa(DCM,nocd) @@ -46,9 +46,12 @@ def spm_dcm_bpa(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_dcm_bpa.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_dcm_bpa.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_dcm_bpa", *args, **kwargs) diff --git a/spm/spm_dcm_check_stability.py b/spm/spm_dcm_check_stability.py index 2056a6c2..9aefcdf4 100644 --- a/spm/spm_dcm_check_stability.py +++ b/spm/spm_dcm_check_stability.py @@ -2,7 +2,7 @@ def spm_dcm_check_stability(*args, **kwargs): - """ + r""" Check stability of a DCM using Lyapunov exponent FORMAT [is_stable,eigval] = spm_dcm_check_stability(DCM) @@ -16,9 +16,12 @@ def spm_dcm_check_stability(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_dcm_check_stability.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_dcm_check_stability.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_dcm_check_stability", *args, **kwargs) diff --git a/spm/spm_dcm_compare.py b/spm/spm_dcm_compare.py index 2c7c1597..0e89f6f1 100644 --- a/spm/spm_dcm_compare.py +++ b/spm/spm_dcm_compare.py @@ -2,7 +2,7 @@ def spm_dcm_compare(*args, **kwargs): - """ + r""" Compare two or more estimated models FORMAT spm_dcm_compare(P) @@ -10,9 +10,12 @@ def spm_dcm_compare(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_dcm_compare.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_dcm_compare.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_dcm_compare", *args, **kwargs, nargout=0) diff --git a/spm/spm_dcm_connectivity_ui.py b/spm/spm_dcm_connectivity_ui.py index 88e7fe0c..301e8673 100644 --- a/spm/spm_dcm_connectivity_ui.py +++ b/spm/spm_dcm_connectivity_ui.py @@ -2,7 +2,7 @@ def spm_dcm_connectivity_ui(*args, **kwargs): - """ + r""" GUI for manually specifying connection values in a DCM FORMAT con = spm_dcm_connectivity_ui(DCM,D,title_text,defaults,enabled) @@ -19,9 +19,12 @@ def spm_dcm_connectivity_ui(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_dcm_connectivity_ui.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_dcm_connectivity_ui.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_dcm_connectivity_ui", *args, **kwargs) diff --git a/spm/spm_dcm_contrasts.py b/spm/spm_dcm_contrasts.py index f8ff2d62..096b05ff 100644 --- a/spm/spm_dcm_contrasts.py +++ b/spm/spm_dcm_contrasts.py @@ -2,7 +2,7 @@ def spm_dcm_contrasts(*args, **kwargs): - """ + r""" Make contrast vector for a DCM FORMAT con = spm_dcm_contrasts(DCM,D) @@ -13,9 +13,12 @@ def spm_dcm_contrasts(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_dcm_contrasts.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_dcm_contrasts.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_dcm_contrasts", *args, **kwargs) diff --git a/spm/spm_dcm_create.py b/spm/spm_dcm_create.py index df3c38b2..68b96a57 100644 --- a/spm/spm_dcm_create.py +++ b/spm/spm_dcm_create.py @@ -2,7 +2,7 @@ def spm_dcm_create(*args, **kwargs): - """ + r""" Create a DCM with simulated data (specified via GUI or an existing model) FORMAT spm_dcm_create(syn_model,source_model,SNR) @@ -26,9 +26,12 @@ def spm_dcm_create(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_dcm_create.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_dcm_create.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_dcm_create", *args, **kwargs, nargout=0) diff --git a/spm/spm_dcm_csd_Q.py b/spm/spm_dcm_csd_Q.py index a06134d4..8ae3422c 100644 --- a/spm/spm_dcm_csd_Q.py +++ b/spm/spm_dcm_csd_Q.py @@ -2,7 +2,7 @@ def spm_dcm_csd_Q(*args, **kwargs): - """ + r""" Precision of cross spectral density FORMAT Q = spm_dcm_csd_Q(csd) @@ -36,9 +36,12 @@ def spm_dcm_csd_Q(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_dcm_csd_Q.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_dcm_csd_Q.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_dcm_csd_Q", *args, **kwargs) diff --git a/spm/spm_dcm_delay.py b/spm/spm_dcm_delay.py index 134fed00..851a2f27 100644 --- a/spm/spm_dcm_delay.py +++ b/spm/spm_dcm_delay.py @@ -2,7 +2,7 @@ def spm_dcm_delay(*args, **kwargs): - """ + r""" Delay operator for flow and Jacobians of dynamical systems FORMAT [Q,J] = spm_dcm_delay(P,M,J,N) P - model parameters @@ -31,9 +31,12 @@ def spm_dcm_delay(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_dcm_delay.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_dcm_delay.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_dcm_delay", *args, **kwargs) diff --git a/spm/spm_dcm_diagnose.py b/spm/spm_dcm_diagnose.py index 23f29779..be418f8b 100644 --- a/spm/spm_dcm_diagnose.py +++ b/spm/spm_dcm_diagnose.py @@ -2,7 +2,7 @@ def spm_dcm_diagnose(*args, **kwargs): - """ + r""" Post hoc diagnosis of DCMs (under the Laplace approximation) FORMAT spm_dcm_diagnose(DCM,'field','field',...) @@ -37,9 +37,12 @@ def spm_dcm_diagnose(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_dcm_diagnose.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_dcm_diagnose.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_dcm_diagnose", *args, **kwargs) diff --git a/spm/spm_dcm_display.py b/spm/spm_dcm_display.py index 8cdf03be..fbee06af 100644 --- a/spm/spm_dcm_display.py +++ b/spm/spm_dcm_display.py @@ -2,7 +2,7 @@ def spm_dcm_display(*args, **kwargs): - """ + r""" Region and anatomical graph display FORMAT spm_dcm_display(xY,a,c,h) xY - cell of region structures (see spm_regions) @@ -13,9 +13,12 @@ def spm_dcm_display(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_dcm_display.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_dcm_display.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_dcm_display", *args, **kwargs, nargout=0) diff --git a/spm/spm_dcm_estimate.py b/spm/spm_dcm_estimate.py index a87643d8..bfa41475 100644 --- a/spm/spm_dcm_estimate.py +++ b/spm/spm_dcm_estimate.py @@ -2,7 +2,7 @@ def spm_dcm_estimate(*args, **kwargs): - """ + r""" Estimate parameters of a DCM (bilinear or nonlinear) for fMRI data FORMAT [DCM] = spm_dcm_estimate(DCM) DCM - DCM structure or its filename @@ -58,9 +58,12 @@ def spm_dcm_estimate(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_dcm_estimate.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_dcm_estimate.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_dcm_estimate", *args, **kwargs) diff --git a/spm/spm_dcm_evidence.py b/spm/spm_dcm_evidence.py index d9ae2284..4096f1ac 100644 --- a/spm/spm_dcm_evidence.py +++ b/spm/spm_dcm_evidence.py @@ -2,7 +2,7 @@ def spm_dcm_evidence(*args, **kwargs): - """ + r""" Compute evidence of DCM model FORMAT evidence = spm_dcm_evidence(DCM) @@ -19,9 +19,12 @@ def spm_dcm_evidence(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_dcm_evidence.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_dcm_evidence.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_dcm_evidence", *args, **kwargs) diff --git a/spm/spm_dcm_fit.py b/spm/spm_dcm_fit.py index a699c741..6462554d 100644 --- a/spm/spm_dcm_fit.py +++ b/spm/spm_dcm_fit.py @@ -2,7 +2,7 @@ def spm_dcm_fit(*args, **kwargs): - """ + r""" Bayesian inversion of DCMs using Variational Laplace FORMAT [DCM] = spm_dcm_fit(P) @@ -22,9 +22,12 @@ def spm_dcm_fit(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_dcm_fit.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_dcm_fit.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_dcm_fit", *args, **kwargs) diff --git a/spm/spm_dcm_fmri_check.py b/spm/spm_dcm_fmri_check.py index 359bfa63..16d06ef2 100644 --- a/spm/spm_dcm_fmri_check.py +++ b/spm/spm_dcm_fmri_check.py @@ -2,7 +2,7 @@ def spm_dcm_fmri_check(*args, **kwargs): - """ + r""" Post-hoc diagnostics for DCM (bilinear or nonlinear) of fMRI data FORMAT [DCM] = spm_dcm_fmri_check(DCM) DCM - DCM structure or its filename @@ -50,9 +50,12 @@ def spm_dcm_fmri_check(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_dcm_fmri_check.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_dcm_fmri_check.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_dcm_fmri_check", *args, **kwargs) diff --git a/spm/spm_dcm_fmri_csd.py b/spm/spm_dcm_fmri_csd.py index 470ddfb3..c1ad71bf 100644 --- a/spm/spm_dcm_fmri_csd.py +++ b/spm/spm_dcm_fmri_csd.py @@ -2,7 +2,7 @@ def spm_dcm_fmri_csd(*args, **kwargs): - """ + r""" Estimate parameters of a DCM using cross spectral fMRI densities FORMAT DCM = spm_dcm_fmri_csd(DCM) DCM - DCM structure @@ -43,9 +43,12 @@ def spm_dcm_fmri_csd(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_dcm_fmri_csd.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_dcm_fmri_csd.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_dcm_fmri_csd", *args, **kwargs) diff --git a/spm/spm_dcm_fmri_csd_DEM.py b/spm/spm_dcm_fmri_csd_DEM.py index c4b735bd..42a95686 100644 --- a/spm/spm_dcm_fmri_csd_DEM.py +++ b/spm/spm_dcm_fmri_csd_DEM.py @@ -2,7 +2,7 @@ def spm_dcm_fmri_csd_DEM(*args, **kwargs): - """ + r""" Estimate parameters of a DCM using cross spectral fMRI densities FORMAT DCM = spm_dcm_fmri_csd_DEM(DCM) DCM - DCM structure @@ -43,9 +43,12 @@ def spm_dcm_fmri_csd_DEM(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_dcm_fmri_csd_DEM.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_dcm_fmri_csd_DEM.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_dcm_fmri_csd_DEM", *args, **kwargs) diff --git a/spm/spm_dcm_fmri_csd_data.py b/spm/spm_dcm_fmri_csd_data.py index ca815c1d..53d30a0c 100644 --- a/spm/spm_dcm_fmri_csd_data.py +++ b/spm/spm_dcm_fmri_csd_data.py @@ -2,7 +2,7 @@ def spm_dcm_fmri_csd_data(*args, **kwargs): - """ + r""" Get cross-spectral density data-features using a VAR model FORMAT DCM = spm_dcm_fmri_csd_data(DCM) DCM - DCM structure or fMRI @@ -18,9 +18,12 @@ def spm_dcm_fmri_csd_data(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_dcm_fmri_csd_data.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_dcm_fmri_csd_data.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_dcm_fmri_csd_data", *args, **kwargs) diff --git a/spm/spm_dcm_fmri_csd_gen.py b/spm/spm_dcm_fmri_csd_gen.py index 16742e01..aa34fa32 100644 --- a/spm/spm_dcm_fmri_csd_gen.py +++ b/spm/spm_dcm_fmri_csd_gen.py @@ -2,7 +2,7 @@ def spm_dcm_fmri_csd_gen(*args, **kwargs): - """ + r""" Conversion routine for DEM inversion of DCM for CSD (fMRI) FORMAT y = spm_dcm_fmri_csd_gen(x,v,P) @@ -14,9 +14,12 @@ def spm_dcm_fmri_csd_gen(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_dcm_fmri_csd_gen.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_dcm_fmri_csd_gen.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_dcm_fmri_csd_gen", *args, **kwargs) diff --git a/spm/spm_dcm_fmri_csd_results.py b/spm/spm_dcm_fmri_csd_results.py index 0d8d8cd8..7647025d 100644 --- a/spm/spm_dcm_fmri_csd_results.py +++ b/spm/spm_dcm_fmri_csd_results.py @@ -2,7 +2,7 @@ def spm_dcm_fmri_csd_results(*args, **kwargs): - """ + r""" Review an estimated DCM for BOLD CSD FORMAT spm_dcm_fmri_csd_results(DCM,action,fig) @@ -24,9 +24,12 @@ def spm_dcm_fmri_csd_results(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_dcm_fmri_csd_results.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_dcm_fmri_csd_results.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_dcm_fmri_csd_results", *args, **kwargs, nargout=0) diff --git a/spm/spm_dcm_fmri_graph_gen.py b/spm/spm_dcm_fmri_graph_gen.py index b1a0c2e7..6c8979fc 100644 --- a/spm/spm_dcm_fmri_graph_gen.py +++ b/spm/spm_dcm_fmri_graph_gen.py @@ -2,7 +2,7 @@ def spm_dcm_fmri_graph_gen(*args, **kwargs): - """ + r""" Generate adjacency graph for spectral DCM for fMRI FORMAT g = spm_dcm_fmri_graph_gen(x,v,P) @@ -12,9 +12,12 @@ def spm_dcm_fmri_graph_gen(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_dcm_fmri_graph_gen.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_dcm_fmri_graph_gen.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_dcm_fmri_graph_gen", *args, **kwargs) diff --git a/spm/spm_dcm_fmri_image.py b/spm/spm_dcm_fmri_image.py index 4da318f8..460e418c 100644 --- a/spm/spm_dcm_fmri_image.py +++ b/spm/spm_dcm_fmri_image.py @@ -2,7 +2,7 @@ def spm_dcm_fmri_image(*args, **kwargs): - """ + r""" Image display of A, B, C and D coupling matrices FORMAT spm_dcm_fmri_image(P) @@ -10,9 +10,12 @@ def spm_dcm_fmri_image(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_dcm_fmri_image.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_dcm_fmri_image.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_dcm_fmri_image", *args, **kwargs, nargout=0) diff --git a/spm/spm_dcm_fmri_mar.py b/spm/spm_dcm_fmri_mar.py index 17c4e548..ca0d4897 100644 --- a/spm/spm_dcm_fmri_mar.py +++ b/spm/spm_dcm_fmri_mar.py @@ -2,7 +2,7 @@ def spm_dcm_fmri_mar(*args, **kwargs): - """ + r""" Estimate parameters of a DCM using a MAR model of temporal dependencies FORMAT DCM = spm_dcm_fmri_mar(DCM) DCM - DCM structure @@ -40,9 +40,12 @@ def spm_dcm_fmri_mar(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_dcm_fmri_mar.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_dcm_fmri_mar.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_dcm_fmri_mar", *args, **kwargs) diff --git a/spm/spm_dcm_fmri_mode.py b/spm/spm_dcm_fmri_mode.py index 4f7d0da7..dcdfbd09 100644 --- a/spm/spm_dcm_fmri_mode.py +++ b/spm/spm_dcm_fmri_mode.py @@ -2,7 +2,7 @@ def spm_dcm_fmri_mode(*args, **kwargs): - """ + r""" Generate modes and matrices for spectral DCM from Lyapunov exponents FORMAT [U,E,F] = spm_dcm_fmri_mode(Ev,modes) Ev - (log of negative) Lyapunov exponents or eigenvalues of Jacobian @@ -16,9 +16,12 @@ def spm_dcm_fmri_mode(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_dcm_fmri_mode.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_dcm_fmri_mode.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_dcm_fmri_mode", *args, **kwargs) diff --git a/spm/spm_dcm_fmri_mode_gen.py b/spm/spm_dcm_fmri_mode_gen.py index 617afeed..e8d886e5 100644 --- a/spm/spm_dcm_fmri_mode_gen.py +++ b/spm/spm_dcm_fmri_mode_gen.py @@ -2,7 +2,7 @@ def spm_dcm_fmri_mode_gen(*args, **kwargs): - """ + r""" Generate adjacency matrix for spectral DCM from Lyapunov exponents FORMAT [Ep,Cp] = spm_dcm_fmri_mode_gen(Ev,modes,Cv) Ev - Lyapunov exponents or eigenvalues of effective connectivity @@ -16,9 +16,12 @@ def spm_dcm_fmri_mode_gen(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_dcm_fmri_mode_gen.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_dcm_fmri_mode_gen.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_dcm_fmri_mode_gen", *args, **kwargs) diff --git a/spm/spm_dcm_fmri_nmm.py b/spm/spm_dcm_fmri_nmm.py index d5332121..e93ef6f1 100644 --- a/spm/spm_dcm_fmri_nmm.py +++ b/spm/spm_dcm_fmri_nmm.py @@ -2,7 +2,7 @@ def spm_dcm_fmri_nmm(*args, **kwargs): - """ + r""" Estimates parameters of a DCM (neural mass model) for fMRI data FORMAT [DCM] = spm_dcm_fmri_nmm(P) DCM - DCM structure or its filename @@ -54,9 +54,12 @@ def spm_dcm_fmri_nmm(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_dcm_fmri_nmm.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_dcm_fmri_nmm.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_dcm_fmri_nmm", *args, **kwargs) diff --git a/spm/spm_dcm_fmri_priors.py b/spm/spm_dcm_fmri_priors.py index 219fa996..e265dfa0 100644 --- a/spm/spm_dcm_fmri_priors.py +++ b/spm/spm_dcm_fmri_priors.py @@ -2,7 +2,7 @@ def spm_dcm_fmri_priors(*args, **kwargs): - """ + r""" Return the priors for a two-state DCM for fMRI FORMAT [pE,pC,x,vC] = spm_dcm_fmri_priors(A,B,C,D,options) @@ -31,9 +31,12 @@ def spm_dcm_fmri_priors(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_dcm_fmri_priors.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_dcm_fmri_priors.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_dcm_fmri_priors", *args, **kwargs) diff --git a/spm/spm_dcm_generate.py b/spm/spm_dcm_generate.py index 3ca1d94a..fd3ae27e 100644 --- a/spm/spm_dcm_generate.py +++ b/spm/spm_dcm_generate.py @@ -2,7 +2,7 @@ def spm_dcm_generate(*args, **kwargs): - """ + r""" Generate synthetic data from a DCM specification FORMAT [Y,x,DCM] = spm_dcm_generate(syn_model,SNR,show_graphics) @@ -25,9 +25,12 @@ def spm_dcm_generate(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_dcm_generate.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_dcm_generate.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_dcm_generate", *args, **kwargs) diff --git a/spm/spm_dcm_graph.py b/spm/spm_dcm_graph.py index 4b1938ca..feb1396f 100644 --- a/spm/spm_dcm_graph.py +++ b/spm/spm_dcm_graph.py @@ -2,7 +2,7 @@ def spm_dcm_graph(*args, **kwargs): - """ + r""" Region and anatomical graph display FORMAT spm_dcm_graph(xY,[A]) xY - cell of region structures (see spm_regions) (fMRI) @@ -11,9 +11,12 @@ def spm_dcm_graph(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_dcm_graph.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_dcm_graph.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_dcm_graph", *args, **kwargs, nargout=0) diff --git a/spm/spm_dcm_graph_functional.py b/spm/spm_dcm_graph_functional.py index d4a6cb24..c7fa2b3f 100644 --- a/spm/spm_dcm_graph_functional.py +++ b/spm/spm_dcm_graph_functional.py @@ -2,7 +2,7 @@ def spm_dcm_graph_functional(*args, **kwargs): - """ + r""" Functional graph display FORMAT spm_dcm_graph_functional(A,V) FORMAT spm_dcm_graph_functional(V) - metric MDS @@ -14,9 +14,12 @@ def spm_dcm_graph_functional(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_dcm_graph_functional.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_dcm_graph_functional.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_dcm_graph_functional", *args, **kwargs, nargout=0) diff --git a/spm/spm_dcm_identify.py b/spm/spm_dcm_identify.py index 6cfed173..2554b3a4 100644 --- a/spm/spm_dcm_identify.py +++ b/spm/spm_dcm_identify.py @@ -2,7 +2,7 @@ def spm_dcm_identify(*args, **kwargs): - """ + r""" Identify the type of DCM. Return an empty string if unknown DCM - the model to evaluate @@ -11,9 +11,12 @@ def spm_dcm_identify(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_dcm_identify.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_dcm_identify.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_dcm_identify", *args, **kwargs) diff --git a/spm/spm_dcm_load.py b/spm/spm_dcm_load.py index 4385ed7f..ea17d5c9 100644 --- a/spm/spm_dcm_load.py +++ b/spm/spm_dcm_load.py @@ -2,7 +2,7 @@ def spm_dcm_load(*args, **kwargs): - """ + r""" Load a cell array of DCM filenames into a subjects x models cell array FORMAT DCM = spm_dcm_load(P) @@ -16,9 +16,12 @@ def spm_dcm_load(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_dcm_load.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_dcm_load.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_dcm_load", *args, **kwargs) diff --git a/spm/spm_dcm_loo.py b/spm/spm_dcm_loo.py index cdce728b..2aaf494e 100644 --- a/spm/spm_dcm_loo.py +++ b/spm/spm_dcm_loo.py @@ -2,7 +2,7 @@ def spm_dcm_loo(*args, **kwargs): - """ + r""" Leave-one-out cross-validation for empirical Bayes and DCM FORMAT [qE,qC,Q] = spm_dcm_loo(DCM,M,field) @@ -36,9 +36,12 @@ def spm_dcm_loo(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_dcm_loo.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_dcm_loo.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_dcm_loo", *args, **kwargs) diff --git a/spm/spm_dcm_mdp.py b/spm/spm_dcm_mdp.py index cde8d28b..5b058636 100644 --- a/spm/spm_dcm_mdp.py +++ b/spm/spm_dcm_mdp.py @@ -2,7 +2,7 @@ def spm_dcm_mdp(*args, **kwargs): - """ + r""" MDP inversion using Variational Bayes FORMAT [DCM] = spm_dcm_mdp(DCM) @@ -37,9 +37,12 @@ def spm_dcm_mdp(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_dcm_mdp.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_dcm_mdp.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_dcm_mdp", *args, **kwargs) diff --git a/spm/spm_dcm_mtf.py b/spm/spm_dcm_mtf.py index d11efd73..e904c393 100644 --- a/spm/spm_dcm_mtf.py +++ b/spm/spm_dcm_mtf.py @@ -2,7 +2,7 @@ def spm_dcm_mtf(*args, **kwargs): - """ + r""" Compute transfer functions using the system's eigenspectrum FORMAT [S,K,s,w,t,dfdx] = spm_dcm_mtf(P,M,[U]) @@ -28,9 +28,12 @@ def spm_dcm_mtf(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_dcm_mtf.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_dcm_mtf.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_dcm_mtf", *args, **kwargs) diff --git a/spm/spm_dcm_optimise.py b/spm/spm_dcm_optimise.py index c84a5e64..e7a14715 100644 --- a/spm/spm_dcm_optimise.py +++ b/spm/spm_dcm_optimise.py @@ -2,7 +2,7 @@ def spm_dcm_optimise(*args, **kwargs): - """ + r""" Optimise the priors of a model (under Laplace approximation) FORMAT [rE,rC] = spm_dcm_optimise(qE,qC,pE,pC,priorfun,varargin) @@ -29,9 +29,12 @@ def spm_dcm_optimise(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_dcm_optimise.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_dcm_optimise.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_dcm_optimise", *args, **kwargs) diff --git a/spm/spm_dcm_peb.py b/spm/spm_dcm_peb.py index 8f659ca4..746f58d8 100644 --- a/spm/spm_dcm_peb.py +++ b/spm/spm_dcm_peb.py @@ -2,7 +2,7 @@ def spm_dcm_peb(*args, **kwargs): - """ + r""" Hierarchical (PEB) inversion of DCMs using BMR and VL FORMAT [PEB,DCM] = spm_dcm_peb(DCM,M,field) FORMAT [PEB,DCM] = spm_dcm_peb(DCM,X,field) @@ -101,9 +101,12 @@ def spm_dcm_peb(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_dcm_peb.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_dcm_peb.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_dcm_peb", *args, **kwargs) diff --git a/spm/spm_dcm_peb_bmc.py b/spm/spm_dcm_peb_bmc.py index 38a75cae..c1554214 100644 --- a/spm/spm_dcm_peb_bmc.py +++ b/spm/spm_dcm_peb_bmc.py @@ -2,7 +2,7 @@ def spm_dcm_peb_bmc(*args, **kwargs): - """ + r""" Hierarchical (PEB) model comparison and averaging (2nd level) FORMAT [BMA] = spm_dcm_peb_bmc(PEB,models) FORMAT [BMA] = spm_dcm_peb_bmc(PEB) @@ -101,9 +101,12 @@ def spm_dcm_peb_bmc(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_dcm_peb_bmc.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_dcm_peb_bmc.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_dcm_peb_bmc", *args, **kwargs) diff --git a/spm/spm_dcm_peb_bmc_fam.py b/spm/spm_dcm_peb_bmc_fam.py index bd210db3..f4a83f4c 100644 --- a/spm/spm_dcm_peb_bmc_fam.py +++ b/spm/spm_dcm_peb_bmc_fam.py @@ -2,7 +2,7 @@ def spm_dcm_peb_bmc_fam(*args, **kwargs): - """ + r""" Bayesian model selection and averaging over families of PEB models BMA - Bayesian model average (see spm_dcm_peb_bmc) @@ -43,9 +43,12 @@ def spm_dcm_peb_bmc_fam(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_dcm_peb_bmc_fam.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_dcm_peb_bmc_fam.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_dcm_peb_bmc_fam", *args, **kwargs) diff --git a/spm/spm_dcm_peb_con.py b/spm/spm_dcm_peb_con.py index c974d38f..83e0a864 100644 --- a/spm/spm_dcm_peb_con.py +++ b/spm/spm_dcm_peb_con.py @@ -2,7 +2,7 @@ def spm_dcm_peb_con(*args, **kwargs): - """ + r""" Bayesian contrast of the parameters in a PEB model or BMA FORMAT [P,c,v] = spm_dcm_peb_con(PEB, C, threshold, doplot) @@ -46,9 +46,12 @@ def spm_dcm_peb_con(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_dcm_peb_con.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_dcm_peb_con.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_dcm_peb_con", *args, **kwargs) diff --git a/spm/spm_dcm_peb_fit.py b/spm/spm_dcm_peb_fit.py index e2954eed..b04470c8 100644 --- a/spm/spm_dcm_peb_fit.py +++ b/spm/spm_dcm_peb_fit.py @@ -2,7 +2,7 @@ def spm_dcm_peb_fit(*args, **kwargs): - """ + r""" Bayesian group inversion using empirical Bayes FORMAT [DCM,PEB,M] = spm_dcm_peb_fit(DCM,M,field) @@ -75,9 +75,12 @@ def spm_dcm_peb_fit(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_dcm_peb_fit.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_dcm_peb_fit.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_dcm_peb_fit", *args, **kwargs) diff --git a/spm/spm_dcm_peb_full.py b/spm/spm_dcm_peb_full.py index 567ace23..c727b128 100644 --- a/spm/spm_dcm_peb_full.py +++ b/spm/spm_dcm_peb_full.py @@ -2,7 +2,7 @@ def spm_dcm_peb_full(*args, **kwargs): - """ + r""" Hierarchical (PEB) inversion of DCMs using BMR and VL FORMAT [PEB,DCM] = spm_dcm_peb_full(DCM,M,field) FORMAT [PEB,DCM] = spm_dcm_peb_full(DCM,X,field) @@ -76,9 +76,12 @@ def spm_dcm_peb_full(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_dcm_peb_full.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_dcm_peb_full.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_dcm_peb_full", *args, **kwargs) diff --git a/spm/spm_dcm_peb_review.py b/spm/spm_dcm_peb_review.py index 7ad2c467..957143ed 100644 --- a/spm/spm_dcm_peb_review.py +++ b/spm/spm_dcm_peb_review.py @@ -2,7 +2,7 @@ def spm_dcm_peb_review(*args, **kwargs): - """ + r""" Review tool for DCM PEB models FORMAT spm_dcm_peb_review(PEB,DCM) @@ -13,9 +13,12 @@ def spm_dcm_peb_review(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_dcm_peb_review.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_dcm_peb_review.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_dcm_peb_review", *args, **kwargs, nargout=0) diff --git a/spm/spm_dcm_peb_rnd.py b/spm/spm_dcm_peb_rnd.py index b02ea5ec..8c648d0c 100644 --- a/spm/spm_dcm_peb_rnd.py +++ b/spm/spm_dcm_peb_rnd.py @@ -2,7 +2,7 @@ def spm_dcm_peb_rnd(*args, **kwargs): - """ + r""" Re-randomisation testing for empirical Bayes and DCM FORMAT [p,P,f,F,X] = spm_dcm_peb_rnd(DCM,M,field) @@ -44,9 +44,12 @@ def spm_dcm_peb_rnd(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_dcm_peb_rnd.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_dcm_peb_rnd.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_dcm_peb_rnd", *args, **kwargs) diff --git a/spm/spm_dcm_peb_rnd_search.py b/spm/spm_dcm_peb_rnd_search.py index 7c3bcb04..3b40e304 100644 --- a/spm/spm_dcm_peb_rnd_search.py +++ b/spm/spm_dcm_peb_rnd_search.py @@ -2,7 +2,7 @@ def spm_dcm_peb_rnd_search(*args, **kwargs): - """ + r""" Re-randomisation testing for empirical Bayes and DCM FORMAT [BMC,M] = spm_dcm_peb_rnd_search(DCM,M,field) @@ -44,9 +44,12 @@ def spm_dcm_peb_rnd_search(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_dcm_peb_rnd_search.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_dcm_peb_rnd_search.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_dcm_peb_rnd_search", *args, **kwargs) diff --git a/spm/spm_dcm_peb_test.py b/spm/spm_dcm_peb_test.py index 56ac4867..007c9a5f 100644 --- a/spm/spm_dcm_peb_test.py +++ b/spm/spm_dcm_peb_test.py @@ -2,7 +2,7 @@ def spm_dcm_peb_test(*args, **kwargs): - """ + r""" BMC over first and second level models with classical hyperpriors FORMAT [BMC,M] = spm_dcm_peb_test(DCM,M,field) @@ -49,9 +49,12 @@ def spm_dcm_peb_test(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_dcm_peb_test.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_dcm_peb_test.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_dcm_peb_test", *args, **kwargs) diff --git a/spm/spm_dcm_peb_to_gcm.py b/spm/spm_dcm_peb_to_gcm.py index e999c9e4..a25c23b5 100644 --- a/spm/spm_dcm_peb_to_gcm.py +++ b/spm/spm_dcm_peb_to_gcm.py @@ -2,7 +2,7 @@ def spm_dcm_peb_to_gcm(*args, **kwargs): - """ + r""" Generate an array of DCMs based on parameters from a PEB model FORMAT [GCM,PEB] = spm_dcm_peb_to_gcm(PEB, GCM_template, options) @@ -54,9 +54,12 @@ def spm_dcm_peb_to_gcm(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_dcm_peb_to_gcm.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_dcm_peb_to_gcm.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_dcm_peb_to_gcm", *args, **kwargs) diff --git a/spm/spm_dcm_post_hoc.py b/spm/spm_dcm_post_hoc.py index 006f2013..2547e797 100644 --- a/spm/spm_dcm_post_hoc.py +++ b/spm/spm_dcm_post_hoc.py @@ -2,7 +2,7 @@ def spm_dcm_post_hoc(*args, **kwargs): - """ + r""" Post hoc optimisation of DCMs (under the Laplace approximation) FORMAT DCM = spm_dcm_post_hoc(P,fun,field,write_all) @@ -78,9 +78,12 @@ def spm_dcm_post_hoc(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_dcm_post_hoc.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_dcm_post_hoc.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_dcm_post_hoc", *args, **kwargs) diff --git a/spm/spm_dcm_post_hoc_old.py b/spm/spm_dcm_post_hoc_old.py index ec707512..656c668f 100644 --- a/spm/spm_dcm_post_hoc_old.py +++ b/spm/spm_dcm_post_hoc_old.py @@ -2,7 +2,7 @@ def spm_dcm_post_hoc_old(*args, **kwargs): - """ + r""" Post hoc optimisation of DCMs (under the Laplace approximation) FORMAT DCM = spm_dcm_post_hoc(P,fun,field,field,...) @@ -72,9 +72,12 @@ def spm_dcm_post_hoc_old(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_dcm_post_hoc_old.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_dcm_post_hoc_old.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_dcm_post_hoc_old", *args, **kwargs) diff --git a/spm/spm_dcm_ppd.py b/spm/spm_dcm_ppd.py index a8d14581..1604fb09 100644 --- a/spm/spm_dcm_ppd.py +++ b/spm/spm_dcm_ppd.py @@ -2,7 +2,7 @@ def spm_dcm_ppd(*args, **kwargs): - """ + r""" Posterior predictive density for empirical Bayes and DCM FORMAT [qE,qC,P] = spm_dcm_ppd(TEST,TRAIN,Y,X,field,i) @@ -41,9 +41,12 @@ def spm_dcm_ppd(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_dcm_ppd.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_dcm_ppd.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_dcm_ppd", *args, **kwargs) diff --git a/spm/spm_dcm_reduce.py b/spm/spm_dcm_reduce.py index a09bc432..8a1af87d 100644 --- a/spm/spm_dcm_reduce.py +++ b/spm/spm_dcm_reduce.py @@ -2,15 +2,18 @@ def spm_dcm_reduce(*args, **kwargs): - """ + r""" Reduce the posterior of DCM given new priors (rE,rC) FORMAT RCM = spm_dcm_reduce(DCM,rE,rC) __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_dcm_reduce.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_dcm_reduce.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_dcm_reduce", *args, **kwargs) diff --git a/spm/spm_dcm_review.py b/spm/spm_dcm_review.py index 8e2d4566..5e9c24d9 100644 --- a/spm/spm_dcm_review.py +++ b/spm/spm_dcm_review.py @@ -2,7 +2,7 @@ def spm_dcm_review(*args, **kwargs): - """ + r""" Review an estimated DCM FORMAT spm_dcm_review(DCM,action) @@ -22,9 +22,12 @@ def spm_dcm_review(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_dcm_review.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_dcm_review.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_dcm_review", *args, **kwargs, nargout=0) diff --git a/spm/spm_dcm_search.py b/spm/spm_dcm_search.py index b712273d..8a050021 100644 --- a/spm/spm_dcm_search.py +++ b/spm/spm_dcm_search.py @@ -2,7 +2,7 @@ def spm_dcm_search(*args, **kwargs): - """ + r""" Post hoc optimisation of DCMs (under Laplace approximation) FORMAT spm_dcm_search(P) @@ -37,9 +37,12 @@ def spm_dcm_search(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_dcm_search.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_dcm_search.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_dcm_search", *args, **kwargs, nargout=0) diff --git a/spm/spm_dcm_sessions.py b/spm/spm_dcm_sessions.py index 01f13446..b2410574 100644 --- a/spm/spm_dcm_sessions.py +++ b/spm/spm_dcm_sessions.py @@ -2,7 +2,7 @@ def spm_dcm_sessions(*args, **kwargs): - """ + r""" Apply contrast vector to multiple DCM models FORMAT spm_dcm_sessions @@ -29,9 +29,12 @@ def spm_dcm_sessions(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_dcm_sessions.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_dcm_sessions.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_dcm_sessions", *args, **kwargs, nargout=0) diff --git a/spm/spm_dcm_simulate.py b/spm/spm_dcm_simulate.py index 0cc1a02d..469d5150 100644 --- a/spm/spm_dcm_simulate.py +++ b/spm/spm_dcm_simulate.py @@ -2,7 +2,7 @@ def spm_dcm_simulate(*args, **kwargs): - """ + r""" Populate the given group DCM array (GCM) with simulated data FORMAT [GCM,gen] = spm_dcm_simulate(GCM, mode, noise, gen_idx) @@ -35,9 +35,12 @@ def spm_dcm_simulate(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_dcm_simulate.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_dcm_simulate.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_dcm_simulate", *args, **kwargs) diff --git a/spm/spm_dcm_sparse.py b/spm/spm_dcm_sparse.py index 1d8fbea7..b6aa42ef 100644 --- a/spm/spm_dcm_sparse.py +++ b/spm/spm_dcm_sparse.py @@ -2,7 +2,7 @@ def spm_dcm_sparse(*args, **kwargs): - """ + r""" Bayesian model reduction of all permutations of model parameters FORMAT [Ep,Cp] = spm_dcm_sparse(DCM,field) @@ -44,9 +44,12 @@ def spm_dcm_sparse(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_dcm_sparse.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_dcm_sparse.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_dcm_sparse", *args, **kwargs) diff --git a/spm/spm_dcm_sparse_priors.py b/spm/spm_dcm_sparse_priors.py index 03ebbcb6..3ed9a66d 100644 --- a/spm/spm_dcm_sparse_priors.py +++ b/spm/spm_dcm_sparse_priors.py @@ -2,7 +2,7 @@ def spm_dcm_sparse_priors(*args, **kwargs): - """ + r""" Return Adjacency matrices for bidirectional coupling FORMAT [A,K,k] = spm_dcm_sparse_priors(n) @@ -16,9 +16,12 @@ def spm_dcm_sparse_priors(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_dcm_sparse_priors.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_dcm_sparse_priors.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_dcm_sparse_priors", *args, **kwargs) diff --git a/spm/spm_dcm_specify.py b/spm/spm_dcm_specify.py index 55dd5ce2..09132593 100644 --- a/spm/spm_dcm_specify.py +++ b/spm/spm_dcm_specify.py @@ -2,7 +2,7 @@ def spm_dcm_specify(*args, **kwargs): - """ + r""" Specify inputs of an fMRI DCM (wrapper around spm_dcm_specify_ui) FORMAT DCM = spm_dcm_specify(SPM,xY,settings) @@ -100,9 +100,12 @@ def spm_dcm_specify(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_dcm_specify.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_dcm_specify.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_dcm_specify", *args, **kwargs) diff --git a/spm/spm_dcm_specify_ui.py b/spm/spm_dcm_specify_ui.py index 51e7b046..7cc6f47a 100644 --- a/spm/spm_dcm_specify_ui.py +++ b/spm/spm_dcm_specify_ui.py @@ -2,7 +2,7 @@ def spm_dcm_specify_ui(*args, **kwargs): - """ + r""" Interface for stepping the user through creating a DCM FORMAT DCM = spm_dcm_specify_ui(SPM,xY) @@ -33,9 +33,12 @@ def spm_dcm_specify_ui(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_dcm_specify_ui.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_dcm_specify_ui.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_dcm_specify_ui", *args, **kwargs) diff --git a/spm/spm_dcm_ui.py b/spm/spm_dcm_ui.py index 5a3111f7..450d1e6e 100644 --- a/spm/spm_dcm_ui.py +++ b/spm/spm_dcm_ui.py @@ -2,7 +2,7 @@ def spm_dcm_ui(*args, **kwargs): - """ + r""" User interface for Dynamic Causal Modelling (DCM) FORMAT spm_dcm_ui('specify') FORMAT spm_dcm_ui('estimate') @@ -70,9 +70,12 @@ def spm_dcm_ui(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_dcm_ui.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_dcm_ui.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_dcm_ui", *args, **kwargs) diff --git a/spm/spm_dcm_voi.py b/spm/spm_dcm_voi.py index 70e84e2a..50e2313b 100644 --- a/spm/spm_dcm_voi.py +++ b/spm/spm_dcm_voi.py @@ -2,7 +2,7 @@ def spm_dcm_voi(*args, **kwargs): - """ + r""" Insert new regions into a DCM FORMAT DCM = spm_dcm_voi(DCM,VOIs) @@ -18,9 +18,12 @@ def spm_dcm_voi(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_dcm_voi.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_dcm_voi.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_dcm_voi", *args, **kwargs) diff --git a/spm/spm_dctmtx.py b/spm/spm_dctmtx.py index af0bb7d6..7344650f 100644 --- a/spm/spm_dctmtx.py +++ b/spm/spm_dctmtx.py @@ -2,7 +2,7 @@ def spm_dctmtx(*args, **kwargs): - """ + r""" Create basis functions for Discrete Cosine Transform FORMAT C = spm_dctmtx(N) FORMAT C = spm_dctmtx(N,K) @@ -32,9 +32,12 @@ def spm_dctmtx(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_dctmtx.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_dctmtx.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_dctmtx", *args, **kwargs) diff --git a/spm/spm_ddiff.py b/spm/spm_ddiff.py index 9daa5ab3..eba1c78a 100644 --- a/spm/spm_ddiff.py +++ b/spm/spm_ddiff.py @@ -2,7 +2,7 @@ def spm_ddiff(*args, **kwargs): - """ + r""" Matrix high-order numerical differentiation (double stencil) FORMAT [dfdx] = spm_ddiff(f,x,...,n) FORMAT [dfdx] = spm_ddiff(f,x,...,n,V) @@ -31,9 +31,12 @@ def spm_ddiff(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_ddiff.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_ddiff.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_ddiff", *args, **kwargs) diff --git a/spm/spm_deface.py b/spm/spm_deface.py index 6ca13178..169e3872 100644 --- a/spm/spm_deface.py +++ b/spm/spm_deface.py @@ -2,7 +2,7 @@ def spm_deface(*args, **kwargs): - """ + r""" Face strip images FORMAT names = spm_deface(job) job.images - cell array of NIfTI file names @@ -14,9 +14,12 @@ def spm_deface(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_deface.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_deface.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_deface", *args, **kwargs) diff --git a/spm/spm_defaults.py b/spm/spm_defaults.py index 624ae769..a2e9f52a 100644 --- a/spm/spm_defaults.py +++ b/spm/spm_defaults.py @@ -2,7 +2,7 @@ def spm_defaults(*args, **kwargs): - """ + r""" Set the defaults which are used by SPM __________________________________________________________________________ @@ -26,9 +26,12 @@ def spm_defaults(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_defaults.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_defaults.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_defaults", *args, **kwargs, nargout=0) diff --git a/spm/spm_deformations.py b/spm/spm_deformations.py index 0b587e30..b30b0c06 100644 --- a/spm/spm_deformations.py +++ b/spm/spm_deformations.py @@ -2,7 +2,7 @@ def spm_deformations(*args, **kwargs): - """ + r""" Various deformation field utilities FORMAT out = spm_deformations(job) job - a job created via spm_cfg_deformations.m @@ -14,9 +14,12 @@ def spm_deformations(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_deformations.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_deformations.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_deformations", *args, **kwargs) diff --git a/spm/spm_dem2dcm.py b/spm/spm_dem2dcm.py index 7939e807..b3e9e2cc 100644 --- a/spm/spm_dem2dcm.py +++ b/spm/spm_dem2dcm.py @@ -2,7 +2,7 @@ def spm_dem2dcm(*args, **kwargs): - """ + r""" Reorganisation of posteriors and priors into DCM format FORMAT [DCM] = spm_dem2dcm(DEM) FORMAT [DEM] = spm_dem2dcm(DEM,DCM) @@ -22,9 +22,12 @@ def spm_dem2dcm(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_dem2dcm.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_dem2dcm.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_dem2dcm", *args, **kwargs) diff --git a/spm/spm_design_contrasts.py b/spm/spm_design_contrasts.py index f8e76b30..ec68720f 100644 --- a/spm/spm_design_contrasts.py +++ b/spm/spm_design_contrasts.py @@ -2,7 +2,7 @@ def spm_design_contrasts(*args, **kwargs): - """ + r""" Make contrasts for one, two or three-way ANOVAs FORMAT con = spm_design_contrasts(SPM) SPM - SPM structure @@ -22,9 +22,12 @@ def spm_design_contrasts(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_design_contrasts.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_design_contrasts.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_design_contrasts", *args, **kwargs) diff --git a/spm/spm_design_factorial.py b/spm/spm_design_factorial.py index a67ada8e..516282d2 100644 --- a/spm/spm_design_factorial.py +++ b/spm/spm_design_factorial.py @@ -2,7 +2,7 @@ def spm_design_factorial(*args, **kwargs): - """ + r""" Extract factorial matrix, file list and H partition of design matrix FORMAT [I,P,H,Hnames] = spm_design_factorial(fd) @@ -16,9 +16,12 @@ def spm_design_factorial(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_design_factorial.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_design_factorial.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_design_factorial", *args, **kwargs) diff --git a/spm/spm_design_flexible.py b/spm/spm_design_flexible.py index 43380cc5..2099255f 100644 --- a/spm/spm_design_flexible.py +++ b/spm/spm_design_flexible.py @@ -2,7 +2,7 @@ def spm_design_flexible(*args, **kwargs): - """ + r""" Create H partition of design matrix FORMAT [H,Hnames,B,Bnames] = spm_design_flexible(fblock,I) @@ -16,9 +16,12 @@ def spm_design_flexible(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_design_flexible.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_design_flexible.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_design_flexible", *args, **kwargs) diff --git a/spm/spm_design_within_subject.py b/spm/spm_design_within_subject.py index 8fbd9c06..d0637716 100644 --- a/spm/spm_design_within_subject.py +++ b/spm/spm_design_within_subject.py @@ -2,7 +2,7 @@ def spm_design_within_subject(*args, **kwargs): - """ + r""" Set up within-subject design when specified subject by subject FORMAT [I,P,cov] = spm_design_within_subject(fblock,cov) @@ -14,9 +14,12 @@ def spm_design_within_subject(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_design_within_subject.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_design_within_subject.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_design_within_subject", *args, **kwargs) diff --git a/spm/spm_detrend.py b/spm/spm_detrend.py index df41d225..190b0f01 100644 --- a/spm/spm_detrend.py +++ b/spm/spm_detrend.py @@ -2,7 +2,7 @@ def spm_detrend(*args, **kwargs): - """ + r""" Polynomial detrending over columns FORMAT y = spm_detrend(x,p) x - data matrix @@ -16,9 +16,12 @@ def spm_detrend(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_detrend.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_detrend.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_detrend", *args, **kwargs) diff --git a/spm/spm_dftmtx.py b/spm/spm_dftmtx.py index b121925d..68f01223 100644 --- a/spm/spm_dftmtx.py +++ b/spm/spm_dftmtx.py @@ -2,7 +2,7 @@ def spm_dftmtx(*args, **kwargs): - """ + r""" Create basis functions for Discrete Cosine Transform FORMAT C = spm_dftmtx(N,K,a) @@ -18,9 +18,12 @@ def spm_dftmtx(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_dftmtx.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_dftmtx.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_dftmtx", *args, **kwargs) diff --git a/spm/spm_diag.py b/spm/spm_diag.py index c5cc7981..e2d70fda 100644 --- a/spm/spm_diag.py +++ b/spm/spm_diag.py @@ -2,7 +2,7 @@ def spm_diag(*args, **kwargs): - """ + r""" Diagonal matrices and diagonals of a matrix SPM_DIAG generalises the function "diag" to also work with cell arrays. @@ -10,9 +10,12 @@ def spm_diag(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_diag.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_diag.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_diag", *args, **kwargs) diff --git a/spm/spm_diag_array.py b/spm/spm_diag_array.py index 9b9a8be3..d1665243 100644 --- a/spm/spm_diag_array.py +++ b/spm/spm_diag_array.py @@ -2,7 +2,7 @@ def spm_diag_array(*args, **kwargs): - """ + r""" Extract diagonal from 3-D arrays FORMAT D = spm_diag_array(X) @@ -10,9 +10,12 @@ def spm_diag_array(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_diag_array.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_diag_array.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_diag_array", *args, **kwargs) diff --git a/spm/spm_dicom_convert.py b/spm/spm_dicom_convert.py index a20c7ada..08871a2b 100644 --- a/spm/spm_dicom_convert.py +++ b/spm/spm_dicom_convert.py @@ -2,7 +2,7 @@ def spm_dicom_convert(*args, **kwargs): - """ + r""" Convert DICOM images into something that SPM can use (e.g. NIfTI) FORMAT out = spm_dicom_convert(Headers,opts,RootDirectory,format,OutputDirectory,meta) Inputs: @@ -13,7 +13,7 @@ def spm_dicom_convert(*args, **kwargs): 'standard' - standard DICOM files 'spect' - SIEMENS Spectroscopy DICOMs (some formats only) This will write out a 5D NIFTI containing real - and imaginary part of the spectroscopy time + and imaginary part of the spectroscopy time points at the position of spectroscopy voxel(s) 'raw' - convert raw FIDs (not implemented) RootDirectory - 'flat' - do not produce file tree [default] @@ -39,9 +39,12 @@ def spm_dicom_convert(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_dicom_convert.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_dicom_convert.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_dicom_convert", *args, **kwargs) diff --git a/spm/spm_dicom_essentials.py b/spm/spm_dicom_essentials.py index 6eb05b7f..d1487359 100644 --- a/spm/spm_dicom_essentials.py +++ b/spm/spm_dicom_essentials.py @@ -2,7 +2,7 @@ def spm_dicom_essentials(*args, **kwargs): - """ + r""" Remove unused fields from DICOM header FORMAT hdr1 = spm_dicom_essentials(hdr0) hdr0 - original DICOM header @@ -14,9 +14,12 @@ def spm_dicom_essentials(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_dicom_essentials.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_dicom_essentials.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_dicom_essentials", *args, **kwargs) diff --git a/spm/spm_dicom_header.py b/spm/spm_dicom_header.py index 219e196d..cc2fcfe2 100644 --- a/spm/spm_dicom_header.py +++ b/spm/spm_dicom_header.py @@ -2,7 +2,7 @@ def spm_dicom_header(*args, **kwargs): - """ + r""" Read header information from a DICOM file FORMAT Header = spm_dicom_header(DicomFilename, DicomDictionary, Options) DicomFilename - DICOM filename @@ -28,9 +28,12 @@ def spm_dicom_header(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_dicom_header.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_dicom_header.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_dicom_header", *args, **kwargs) diff --git a/spm/spm_dicom_headers.py b/spm/spm_dicom_headers.py index 7251c449..a3e7403e 100644 --- a/spm/spm_dicom_headers.py +++ b/spm/spm_dicom_headers.py @@ -2,7 +2,7 @@ def spm_dicom_headers(*args, **kwargs): - """ + r""" Read header information from DICOM files FORMAT Headers = spm_dicom_headers(DicomFilenames [,Essentials]) DicomFilenames - array of filenames @@ -18,9 +18,12 @@ def spm_dicom_headers(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_dicom_headers.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_dicom_headers.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_dicom_headers", *args, **kwargs) diff --git a/spm/spm_dicom_metadata.py b/spm/spm_dicom_metadata.py index 4d887948..d653ea22 100644 --- a/spm/spm_dicom_metadata.py +++ b/spm/spm_dicom_metadata.py @@ -2,7 +2,7 @@ def spm_dicom_metadata(*args, **kwargs): - """ + r""" Export image metadata as side-car JSON file FORMAT N = spm_dicom_metadata(N,hdr) N(input) - nifti object @@ -17,9 +17,12 @@ def spm_dicom_metadata(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_dicom_metadata.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_dicom_metadata.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_dicom_metadata", *args, **kwargs) diff --git a/spm/spm_dicom_text_to_dict.py b/spm/spm_dicom_text_to_dict.py index c9aafd80..074ccc80 100644 --- a/spm/spm_dicom_text_to_dict.py +++ b/spm/spm_dicom_text_to_dict.py @@ -2,7 +2,7 @@ def spm_dicom_text_to_dict(*args, **kwargs): - """ + r""" Create a DICOM dictionary .mat file from a text version FORMAT dict = spm_dicom_text_to_dict(textfile) OR spm_dicom_text_to_dict(textfile) @@ -23,9 +23,12 @@ def spm_dicom_text_to_dict(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_dicom_text_to_dict.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_dicom_text_to_dict.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_dicom_text_to_dict", *args, **kwargs) diff --git a/spm/spm_diff.py b/spm/spm_diff.py index b3d59b9a..c8d305c3 100644 --- a/spm/spm_diff.py +++ b/spm/spm_diff.py @@ -2,7 +2,7 @@ def spm_diff(*args, **kwargs): - """ + r""" Matrix high-order numerical differentiation FORMAT [dfdx] = spm_diff(f,x,...,n) FORMAT [dfdx] = spm_diff(f,x,...,n,V) @@ -31,9 +31,12 @@ def spm_diff(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_diff.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_diff.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_diff", *args, **kwargs) diff --git a/spm/spm_diff_dx.py b/spm/spm_diff_dx.py index 9ad0d5e2..b9dd706e 100644 --- a/spm/spm_diff_dx.py +++ b/spm/spm_diff_dx.py @@ -2,7 +2,7 @@ def spm_diff_dx(*args, **kwargs): - """ + r""" Optimisation of finite difference for numerical differentiation FORMAT [dx] = spm_diff_dx(f,x,...,n) FORMAT [dx] = spm_diff_dx(f,x,...,n,V) @@ -16,9 +16,12 @@ def spm_diff_dx(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_diff_dx.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_diff_dx.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_diff_dx", *args, **kwargs) diff --git a/spm/spm_diffeo.py b/spm/spm_diffeo.py index 8f592d46..950cec8f 100644 --- a/spm/spm_diffeo.py +++ b/spm/spm_diffeo.py @@ -2,7 +2,7 @@ def spm_diffeo(*args, **kwargs): - """ + r""" MEX function called for image registration stuff __________________________________________________________________________ @@ -457,9 +457,12 @@ def spm_diffeo(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_diffeo.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_diffeo.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_diffeo", *args, **kwargs) diff --git a/spm/spm_dilate.py b/spm/spm_dilate.py index 4ac12f32..8fd7d331 100644 --- a/spm/spm_dilate.py +++ b/spm/spm_dilate.py @@ -2,7 +2,7 @@ def spm_dilate(*args, **kwargs): - """ + r""" Perform a dilation on an image (2D or 3D) FORMAT ima = spm_dilate(ima) FORMAT ima = spm_dilate(ima,kernel) @@ -33,9 +33,12 @@ def spm_dilate(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_dilate.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_dilate.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_dilate", *args, **kwargs) diff --git a/spm/spm_dir_H.py b/spm/spm_dir_H.py new file mode 100644 index 00000000..43c8622a --- /dev/null +++ b/spm/spm_dir_H.py @@ -0,0 +1,23 @@ +from spm._runtime import Runtime + + +def spm_dir_H(*args, **kwargs): + r""" + Entropy of a Dirichlet distribution + FORMAT H = spm_dir_H(a) + a - Dirichlet parameters of a joint distribution + H - Entropy + + The entropy here pertains to the Dirichlet distribution. + __________________________________________________________________________ + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_dir_H.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("spm_dir_H", *args, **kwargs) diff --git a/spm/spm_dir_MI.py b/spm/spm_dir_MI.py index e8f59147..65243cd4 100644 --- a/spm/spm_dir_MI.py +++ b/spm/spm_dir_MI.py @@ -2,12 +2,13 @@ def spm_dir_MI(*args, **kwargs): - """ + r""" Expected information gain (i.e., mutual information) - FORMAT E = spm_dir_MI(a) + FORMAT [E] = spm_dir_MI(a,c,h) a - Dirichlet parameters of a joint distribution - C - log preferences + c - prior preferences (outcomes) + h - prior preferences (states) E - expected free energy (information gain minus cost) @@ -17,9 +18,12 @@ def spm_dir_MI(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_dir_MI.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_dir_MI.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_dir_MI", *args, **kwargs) diff --git a/spm/spm_dir_norm.py b/spm/spm_dir_norm.py index 622eef3f..a7643271 100644 --- a/spm/spm_dir_norm.py +++ b/spm/spm_dir_norm.py @@ -2,7 +2,7 @@ def spm_dir_norm(*args, **kwargs): - """ + r""" Normalisation of a (Dirichlet) conditional probability matrix FORMAT A = spm_dir_norm(a) @@ -12,9 +12,12 @@ def spm_dir_norm(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_dir_norm.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_dir_norm.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_dir_norm", *args, **kwargs) diff --git a/spm/spm_dir_sort.py b/spm/spm_dir_sort.py index 2cb3b225..fb53d18c 100644 --- a/spm/spm_dir_sort.py +++ b/spm/spm_dir_sort.py @@ -2,7 +2,7 @@ def spm_dir_sort(*args, **kwargs): - """ + r""" sorts the rows and columns of a square matrix FORMAT [A,i,j] = spm_dir_sort(A) @@ -14,9 +14,12 @@ def spm_dir_sort(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_dir_sort.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_dir_sort.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_dir_sort", *args, **kwargs) diff --git a/spm/spm_dirichlet_exceedance.py b/spm/spm_dirichlet_exceedance.py index b73c08a4..0214df61 100644 --- a/spm/spm_dirichlet_exceedance.py +++ b/spm/spm_dirichlet_exceedance.py @@ -2,7 +2,7 @@ def spm_dirichlet_exceedance(*args, **kwargs): - """ + r""" Compute exceedance probabilities for a Dirichlet distribution FORMAT xp = spm_dirichlet_exceedance(alpha,Nsamp) @@ -25,9 +25,12 @@ def spm_dirichlet_exceedance(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_dirichlet_exceedance.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_dirichlet_exceedance.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_dirichlet_exceedance", *args, **kwargs) diff --git a/spm/spm_dot.py b/spm/spm_dot.py index 484a1109..0cf40f13 100644 --- a/spm/spm_dot.py +++ b/spm/spm_dot.py @@ -2,32 +2,34 @@ def spm_dot(*args, **kwargs): - """ + r""" Multidimensional dot (inner) product FORMAT [Y] = spm_dot(X,x,[DIM]) X - numeric array - x - cell array of numeric vectors + x - numeric vector or cell array of vectors DIM - dimensions to skip [assumes ndims(X) = numel(x)] Y - inner product obtained by summing the products of X and x If DIM is not specified the leading dimensions of X are skipped. If x is - a vector the inner product is over the first matching dimension of X. + a vector, the inner product is over the first (matching) dimension of X. This means that if called with a vector valued x, the dot product will be over the first (matching) dimension. Conversely, if called with {x} the - dot product will be over the last dimension of X. + dot product will be over the last (matching) dimension of X. This version calls tensorprod.m - See also: spm_cross __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_dot.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_dot.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_dot", *args, **kwargs) diff --git a/spm/spm_dwtmtx.py b/spm/spm_dwtmtx.py index 1e58353f..46b9b990 100644 --- a/spm/spm_dwtmtx.py +++ b/spm/spm_dwtmtx.py @@ -2,7 +2,7 @@ def spm_dwtmtx(*args, **kwargs): - """ + r""" Create basis functions for Discrete (Haar) Wavelet Transform FORMAT H = spm_dwtmtx(N,K,T) @@ -17,9 +17,12 @@ def spm_dwtmtx(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_dwtmtx.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_dwtmtx.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_dwtmtx", *args, **kwargs) diff --git a/spm/spm_dx.py b/spm/spm_dx.py index b9de6843..04570fb5 100644 --- a/spm/spm_dx.py +++ b/spm/spm_dx.py @@ -2,14 +2,15 @@ def spm_dx(*args, **kwargs): - """ + r""" Returns dx(t) = (expm(dfdx*t) - I)*inv(dfdx)*f - FORMAT [dx] = spm_dx(dfdx,f,[t]) + FORMAT [dx] = spm_dx(dfdx,f,[t],[OPT]) dfdx = df/dx f = dx/dt t = integration time: (default t = Inf); if t is a cell (i.e., {t}) then t is set to: exp(t - log(diag(-dfdx)) + OPT = 'Safe' or 'Solenoidal' dx = x(t) - x(0) -------------------------------------------------------------------------- @@ -50,9 +51,12 @@ def spm_dx(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_dx.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_dx.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_dx", *args, **kwargs) diff --git a/spm/spm_dx_eig.py b/spm/spm_dx_eig.py index 11067bb5..2cfdb34e 100644 --- a/spm/spm_dx_eig.py +++ b/spm/spm_dx_eig.py @@ -2,7 +2,7 @@ def spm_dx_eig(*args, **kwargs): - """ + r""" Return dx(t) = (expm(dfdx*t) - I)*inv(dfdx)*f; using an eigensystem FORMAT [dx] = spm_dx_eig(dfdx,f,[t]) dfdx = df/dx @@ -50,9 +50,12 @@ def spm_dx_eig(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_dx_eig.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_dx_eig.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_dx_eig", *args, **kwargs) diff --git a/spm/spm_ecat2nifti.py b/spm/spm_ecat2nifti.py index ca10bb0f..007c7d2e 100644 --- a/spm/spm_ecat2nifti.py +++ b/spm/spm_ecat2nifti.py @@ -2,7 +2,7 @@ def spm_ecat2nifti(*args, **kwargs): - """ + r""" Import ECAT 7 images from CTI PET scanners FORMAT N = spm_ecat2nifti(fname,opts) fname - name of ECAT file @@ -12,9 +12,12 @@ def spm_ecat2nifti(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_ecat2nifti.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_ecat2nifti.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_ecat2nifti", *args, **kwargs) diff --git a/spm/spm_eeg_artefact.py b/spm/spm_eeg_artefact.py index 7aa3613f..78a3d708 100644 --- a/spm/spm_eeg_artefact.py +++ b/spm/spm_eeg_artefact.py @@ -2,7 +2,7 @@ def spm_eeg_artefact(*args, **kwargs): - """ + r""" Simple artefact detection, optionally with robust averaging FORMAT D = spm_eeg_artefact(S) @@ -43,9 +43,12 @@ def spm_eeg_artefact(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_eeg_artefact.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_eeg_artefact.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_eeg_artefact", *args, **kwargs) diff --git a/spm/spm_eeg_artefact_events.py b/spm/spm_eeg_artefact_events.py index 7d475bac..2457db94 100644 --- a/spm/spm_eeg_artefact_events.py +++ b/spm/spm_eeg_artefact_events.py @@ -2,7 +2,7 @@ def spm_eeg_artefact_events(*args, **kwargs): - """ + r""" Plugin for spm_eeg_artefact for rejection based on events S - input structure fields of S: @@ -20,9 +20,12 @@ def spm_eeg_artefact_events(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_eeg_artefact_events.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_eeg_artefact_events.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_eeg_artefact_events", *args, **kwargs) diff --git a/spm/spm_eeg_artefact_eyeblink.py b/spm/spm_eeg_artefact_eyeblink.py index e6ae224b..f0d3918d 100644 --- a/spm/spm_eeg_artefact_eyeblink.py +++ b/spm/spm_eeg_artefact_eyeblink.py @@ -2,7 +2,7 @@ def spm_eeg_artefact_eyeblink(*args, **kwargs): - """ + r""" Detects eyeblinks in SPM continuous data file S - input structure fields of S: @@ -21,9 +21,12 @@ def spm_eeg_artefact_eyeblink(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_eeg_artefact_eyeblink.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_eeg_artefact_eyeblink.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_eeg_artefact_eyeblink", *args, **kwargs) diff --git a/spm/spm_eeg_artefact_flat.py b/spm/spm_eeg_artefact_flat.py index 97de4380..e159b465 100644 --- a/spm/spm_eeg_artefact_flat.py +++ b/spm/spm_eeg_artefact_flat.py @@ -2,7 +2,7 @@ def spm_eeg_artefact_flat(*args, **kwargs): - """ + r""" Plugin for spm_eeg_artefact doing flat channel detection S - input structure fields of S: @@ -20,9 +20,12 @@ def spm_eeg_artefact_flat(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_eeg_artefact_flat.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_eeg_artefact_flat.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_eeg_artefact_flat", *args, **kwargs) diff --git a/spm/spm_eeg_artefact_heartbeat.py b/spm/spm_eeg_artefact_heartbeat.py index 135b781a..ba93f90c 100644 --- a/spm/spm_eeg_artefact_heartbeat.py +++ b/spm/spm_eeg_artefact_heartbeat.py @@ -2,7 +2,7 @@ def spm_eeg_artefact_heartbeat(*args, **kwargs): - """ + r""" Detects heart beats in SPM continuous data file S - input structure fields of S: @@ -22,9 +22,12 @@ def spm_eeg_artefact_heartbeat(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_eeg_artefact_heartbeat.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_eeg_artefact_heartbeat.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_eeg_artefact_heartbeat", *args, **kwargs) diff --git a/spm/spm_eeg_artefact_jump.py b/spm/spm_eeg_artefact_jump.py index 339621b0..141d3ee1 100644 --- a/spm/spm_eeg_artefact_jump.py +++ b/spm/spm_eeg_artefact_jump.py @@ -2,7 +2,7 @@ def spm_eeg_artefact_jump(*args, **kwargs): - """ + r""" Plugin for spm_eeg_artefact doing jump detection S - input structure fields of S: @@ -20,9 +20,12 @@ def spm_eeg_artefact_jump(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_eeg_artefact_jump.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_eeg_artefact_jump.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_eeg_artefact_jump", *args, **kwargs) diff --git a/spm/spm_eeg_artefact_nans.py b/spm/spm_eeg_artefact_nans.py index 8325a2b8..42589a60 100644 --- a/spm/spm_eeg_artefact_nans.py +++ b/spm/spm_eeg_artefact_nans.py @@ -2,7 +2,7 @@ def spm_eeg_artefact_nans(*args, **kwargs): - """ + r""" Plugin for spm_eeg_artefact doing NaN detection S - input structure fields of S: @@ -20,9 +20,12 @@ def spm_eeg_artefact_nans(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_eeg_artefact_nans.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_eeg_artefact_nans.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_eeg_artefact_nans", *args, **kwargs) diff --git a/spm/spm_eeg_artefact_peak2peak.py b/spm/spm_eeg_artefact_peak2peak.py index 7871face..d4f3875f 100644 --- a/spm/spm_eeg_artefact_peak2peak.py +++ b/spm/spm_eeg_artefact_peak2peak.py @@ -2,7 +2,7 @@ def spm_eeg_artefact_peak2peak(*args, **kwargs): - """ + r""" Plugin for spm_eeg_artefact doing artefact detection based on peak-to-peak amplitude S - input structure fields of S: @@ -20,9 +20,12 @@ def spm_eeg_artefact_peak2peak(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_eeg_artefact_peak2peak.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_eeg_artefact_peak2peak.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_eeg_artefact_peak2peak", *args, **kwargs) diff --git a/spm/spm_eeg_artefact_saccade.py b/spm/spm_eeg_artefact_saccade.py index ad106713..43d0e790 100644 --- a/spm/spm_eeg_artefact_saccade.py +++ b/spm/spm_eeg_artefact_saccade.py @@ -2,7 +2,7 @@ def spm_eeg_artefact_saccade(*args, **kwargs): - """ + r""" Detects eyeblinks in SPM continuous data file S - input structure fields of S: @@ -26,9 +26,12 @@ def spm_eeg_artefact_saccade(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_eeg_artefact_saccade.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_eeg_artefact_saccade.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_eeg_artefact_saccade", *args, **kwargs) diff --git a/spm/spm_eeg_artefact_threshchan.py b/spm/spm_eeg_artefact_threshchan.py index 991703c7..1cc3f660 100644 --- a/spm/spm_eeg_artefact_threshchan.py +++ b/spm/spm_eeg_artefact_threshchan.py @@ -2,7 +2,7 @@ def spm_eeg_artefact_threshchan(*args, **kwargs): - """ + r""" Plugin for spm_eeg_artefact doing artefact detection by channel thresholding S - input structure fields of S: @@ -20,9 +20,12 @@ def spm_eeg_artefact_threshchan(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_eeg_artefact_threshchan.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_eeg_artefact_threshchan.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_eeg_artefact_threshchan", *args, **kwargs) diff --git a/spm/spm_eeg_artefact_zscore.py b/spm/spm_eeg_artefact_zscore.py index ff03cd36..3ab8bfbb 100644 --- a/spm/spm_eeg_artefact_zscore.py +++ b/spm/spm_eeg_artefact_zscore.py @@ -2,7 +2,7 @@ def spm_eeg_artefact_zscore(*args, **kwargs): - """ + r""" Plugin for spm_eeg_artefact doing z-score thresholding S - input structure fields of S: @@ -20,9 +20,12 @@ def spm_eeg_artefact_zscore(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_eeg_artefact_zscore.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_eeg_artefact_zscore.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_eeg_artefact_zscore", *args, **kwargs) diff --git a/spm/spm_eeg_artefact_zscorediff.py b/spm/spm_eeg_artefact_zscorediff.py index 81ded00f..c3513180 100644 --- a/spm/spm_eeg_artefact_zscorediff.py +++ b/spm/spm_eeg_artefact_zscorediff.py @@ -2,7 +2,7 @@ def spm_eeg_artefact_zscorediff(*args, **kwargs): - """ + r""" Plugin for spm_eeg_artefact doing z-score thresholding on the diff time series S - input structure fields of S: @@ -20,9 +20,12 @@ def spm_eeg_artefact_zscorediff(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_eeg_artefact_zscorediff.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_eeg_artefact_zscorediff.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_eeg_artefact_zscorediff", *args, **kwargs) diff --git a/spm/spm_eeg_assemble_priors.py b/spm/spm_eeg_assemble_priors.py index 71f002a8..716e7992 100644 --- a/spm/spm_eeg_assemble_priors.py +++ b/spm/spm_eeg_assemble_priors.py @@ -2,7 +2,7 @@ def spm_eeg_assemble_priors(*args, **kwargs): - """ + r""" Predict sensor level impact of sources in Qp given sensor noise Qe FORMAT [LCpL,Q,sumLCpL,QE,Cy,M,Cp,Cq,Lq] = spm_eeg_assemble_priors(L,Qp,Qe,ploton,h) L - lead fields @@ -12,9 +12,12 @@ def spm_eeg_assemble_priors(*args, **kwargs): Qe and Qp (assume sensor followed by source level parameters) - [Matlab code]( https://github.com/spm/spm/blob/main/spm_eeg_assemble_priors.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_eeg_assemble_priors.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_eeg_assemble_priors", *args, **kwargs) diff --git a/spm/spm_eeg_average.py b/spm/spm_eeg_average.py index b93b420e..86a1b3a1 100644 --- a/spm/spm_eeg_average.py +++ b/spm/spm_eeg_average.py @@ -2,7 +2,7 @@ def spm_eeg_average(*args, **kwargs): - """ + r""" Average each channel over trials or trial types FORMAT D = spm_eeg_average(S) @@ -22,9 +22,12 @@ def spm_eeg_average(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_eeg_average.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_eeg_average.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_eeg_average", *args, **kwargs) diff --git a/spm/spm_eeg_average_TF.py b/spm/spm_eeg_average_TF.py index d490c403..0e003c70 100644 --- a/spm/spm_eeg_average_TF.py +++ b/spm/spm_eeg_average_TF.py @@ -2,7 +2,7 @@ def spm_eeg_average_TF(*args, **kwargs): - """ + r""" Average each channel over trials or trial types, for time-frequency data FORMAT D = spm_eeg_average_TF(S) @@ -23,9 +23,12 @@ def spm_eeg_average_TF(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_eeg_average_TF.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_eeg_average_TF.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_eeg_average_TF", *args, **kwargs) diff --git a/spm/spm_eeg_avgfreq.py b/spm/spm_eeg_avgfreq.py index 7bd021d7..9ccb3e41 100644 --- a/spm/spm_eeg_avgfreq.py +++ b/spm/spm_eeg_avgfreq.py @@ -2,7 +2,7 @@ def spm_eeg_avgfreq(*args, **kwargs): - """ + r""" Average a TF-dataset over frequency to get a time-domain dataset FORMAT D = spm_eeg_avgfreq(S) @@ -17,9 +17,12 @@ def spm_eeg_avgfreq(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_eeg_avgfreq.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_eeg_avgfreq.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_eeg_avgfreq", *args, **kwargs) diff --git a/spm/spm_eeg_avgtime.py b/spm/spm_eeg_avgtime.py index a32163f1..fd6780dd 100644 --- a/spm/spm_eeg_avgtime.py +++ b/spm/spm_eeg_avgtime.py @@ -2,7 +2,7 @@ def spm_eeg_avgtime(*args, **kwargs): - """ + r""" Average a TF-dataset over time to get a spectrum dataset FORMAT D = spm_eeg_avgtime(S) @@ -19,9 +19,12 @@ def spm_eeg_avgtime(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_eeg_avgtime.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_eeg_avgtime.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_eeg_avgtime", *args, **kwargs) diff --git a/spm/spm_eeg_bc.py b/spm/spm_eeg_bc.py index 20fa5385..4c8aecbd 100644 --- a/spm/spm_eeg_bc.py +++ b/spm/spm_eeg_bc.py @@ -2,7 +2,7 @@ def spm_eeg_bc(*args, **kwargs): - """ + r""" 'Baseline Correction' for M/EEG data FORMAT D = spm_eeg_bc(S) @@ -23,9 +23,12 @@ def spm_eeg_bc(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_eeg_bc.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_eeg_bc.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_eeg_bc", *args, **kwargs) diff --git a/spm/spm_eeg_cfc.py b/spm/spm_eeg_cfc.py index e27e8a9d..74751680 100644 --- a/spm/spm_eeg_cfc.py +++ b/spm/spm_eeg_cfc.py @@ -2,7 +2,7 @@ def spm_eeg_cfc(*args, **kwargs): - """ + r""" Compute GLM for phase-amplitude and amplitude-amplitude coupling FORMAT spm_eeg_cfc(S) @@ -23,9 +23,12 @@ def spm_eeg_cfc(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_eeg_cfc.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_eeg_cfc.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_eeg_cfc", *args, **kwargs, nargout=0) diff --git a/spm/spm_eeg_collapse_timefreq.py b/spm/spm_eeg_collapse_timefreq.py index 46e6dca0..b28d6deb 100644 --- a/spm/spm_eeg_collapse_timefreq.py +++ b/spm/spm_eeg_collapse_timefreq.py @@ -2,7 +2,7 @@ def spm_eeg_collapse_timefreq(*args, **kwargs): - """ + r""" Compute within-peristimulus time (or frequency) averages (contrasts) of M/EEG data in voxel-space FORMAT images = spm_eeg_collapse_timefreq(S) @@ -17,9 +17,12 @@ def spm_eeg_collapse_timefreq(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_eeg_collapse_timefreq.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_eeg_collapse_timefreq.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_eeg_collapse_timefreq", *args, **kwargs) diff --git a/spm/spm_eeg_combineplanar.py b/spm/spm_eeg_combineplanar.py index c5198419..f7383a18 100644 --- a/spm/spm_eeg_combineplanar.py +++ b/spm/spm_eeg_combineplanar.py @@ -2,7 +2,7 @@ def spm_eeg_combineplanar(*args, **kwargs): - """ + r""" Combine data from MEGPLANAR sensors FORMAT D = spm_eeg_combineplanar(S) @@ -24,9 +24,12 @@ def spm_eeg_combineplanar(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_eeg_combineplanar.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_eeg_combineplanar.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_eeg_combineplanar", *args, **kwargs) diff --git a/spm/spm_eeg_contrast.py b/spm/spm_eeg_contrast.py index 7e5382c0..9e22e880 100644 --- a/spm/spm_eeg_contrast.py +++ b/spm/spm_eeg_contrast.py @@ -2,7 +2,7 @@ def spm_eeg_contrast(*args, **kwargs): - """ + r""" Compute contrasts over trials or trial types FORMAT D = spm_eeg_contrast(S) @@ -30,9 +30,12 @@ def spm_eeg_contrast(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_eeg_contrast.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_eeg_contrast.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_eeg_contrast", *args, **kwargs) diff --git a/spm/spm_eeg_convert.py b/spm/spm_eeg_convert.py index 2ad9225f..afe0bfe9 100644 --- a/spm/spm_eeg_convert.py +++ b/spm/spm_eeg_convert.py @@ -2,7 +2,7 @@ def spm_eeg_convert(*args, **kwargs): - """ + r""" Convert various M/EEG formats to SPM12 format FORMAT D = spm_eeg_convert(S) S - string (filename) or struct (see below) @@ -52,9 +52,12 @@ def spm_eeg_convert(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_eeg_convert.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_eeg_convert.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_eeg_convert", *args, **kwargs) diff --git a/spm/spm_eeg_convert2images.py b/spm/spm_eeg_convert2images.py index 63d0ba04..5d02323e 100644 --- a/spm/spm_eeg_convert2images.py +++ b/spm/spm_eeg_convert2images.py @@ -2,7 +2,7 @@ def spm_eeg_convert2images(*args, **kwargs): - """ + r""" Convert M/EEG data to images for statistical analysis FORMAT [images, outroot] = spm_eeg_convert2images(S) @@ -36,9 +36,12 @@ def spm_eeg_convert2images(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_eeg_convert2images.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_eeg_convert2images.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_eeg_convert2images", *args, **kwargs) diff --git a/spm/spm_eeg_convert_ui.py b/spm/spm_eeg_convert_ui.py index 9c16e4f2..bda39156 100644 --- a/spm/spm_eeg_convert_ui.py +++ b/spm/spm_eeg_convert_ui.py @@ -2,7 +2,7 @@ def spm_eeg_convert_ui(*args, **kwargs): - """ + r""" User interface for M/EEG data conversion facility FORMAT spm_eeg_convert_ui @@ -10,9 +10,12 @@ def spm_eeg_convert_ui(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_eeg_convert_ui.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_eeg_convert_ui.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_eeg_convert_ui", *args, **kwargs, nargout=0) diff --git a/spm/spm_eeg_copy.py b/spm/spm_eeg_copy.py index 022086b1..2b8fe352 100644 --- a/spm/spm_eeg_copy.py +++ b/spm/spm_eeg_copy.py @@ -2,7 +2,7 @@ def spm_eeg_copy(*args, **kwargs): - """ + r""" Copy EEG/MEG data to new files FORMAT D = spm_eeg_copy(S) S - input struct (optional) @@ -15,9 +15,12 @@ def spm_eeg_copy(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_eeg_copy.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_eeg_copy.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_eeg_copy", *args, **kwargs) diff --git a/spm/spm_eeg_correct_sensor_data.py b/spm/spm_eeg_correct_sensor_data.py index 51d33ee5..b4e18edf 100644 --- a/spm/spm_eeg_correct_sensor_data.py +++ b/spm/spm_eeg_correct_sensor_data.py @@ -2,7 +2,7 @@ def spm_eeg_correct_sensor_data(*args, **kwargs): - """ + r""" Remove artefacts from the data based on their topography FORMAT D = spm_eeg_correct_sensor_data(S) @@ -21,9 +21,12 @@ def spm_eeg_correct_sensor_data(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_eeg_correct_sensor_data.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_eeg_correct_sensor_data.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_eeg_correct_sensor_data", *args, **kwargs) diff --git a/spm/spm_eeg_crop.py b/spm/spm_eeg_crop.py index 0a84054f..7946c68b 100644 --- a/spm/spm_eeg_crop.py +++ b/spm/spm_eeg_crop.py @@ -2,7 +2,7 @@ def spm_eeg_crop(*args, **kwargs): - """ + r""" Reduce the data size by cutting in time and frequency FORMAT D = spm_eeg_crop(S) @@ -19,9 +19,12 @@ def spm_eeg_crop(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_eeg_crop.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_eeg_crop.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_eeg_crop", *args, **kwargs) diff --git a/spm/spm_eeg_definetrial.py b/spm/spm_eeg_definetrial.py index bc05bd9d..6ef8e6cc 100644 --- a/spm/spm_eeg_definetrial.py +++ b/spm/spm_eeg_definetrial.py @@ -2,7 +2,7 @@ def spm_eeg_definetrial(*args, **kwargs): - """ + r""" Definition of trials based on events FORMAT [trl, conditionlabels, S] = spm_eeg_definetrial(S) S - input structure (optional) @@ -25,9 +25,12 @@ def spm_eeg_definetrial(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_eeg_definetrial.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_eeg_definetrial.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_eeg_definetrial", *args, **kwargs) diff --git a/spm/spm_eeg_dipoles_ui.py b/spm/spm_eeg_dipoles_ui.py index 279111dc..340f3bcf 100644 --- a/spm/spm_eeg_dipoles_ui.py +++ b/spm/spm_eeg_dipoles_ui.py @@ -2,15 +2,18 @@ def spm_eeg_dipoles_ui(*args, **kwargs): - """ + r""" Get dipole locations and orientations from the user FORMAT dipoles = spm_eeg_dipoles_ui __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_eeg_dipoles_ui.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_eeg_dipoles_ui.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_eeg_dipoles_ui", *args, **kwargs) diff --git a/spm/spm_eeg_displayECD.py b/spm/spm_eeg_displayECD.py index 49e303b7..63b1c2dc 100644 --- a/spm/spm_eeg_displayECD.py +++ b/spm/spm_eeg_displayECD.py @@ -2,7 +2,7 @@ def spm_eeg_displayECD(*args, **kwargs): - """ + r""" Plot dipole positions onto the SPM canonical mesh FORMAT [out] = spm_eeg_displayECD(Pos,Orient,Var,Names,options) @@ -23,9 +23,12 @@ def spm_eeg_displayECD(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_eeg_displayECD.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_eeg_displayECD.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_eeg_displayECD", *args, **kwargs) diff --git a/spm/spm_eeg_display_tf.py b/spm/spm_eeg_display_tf.py index 499b15f5..320e6d21 100644 --- a/spm/spm_eeg_display_tf.py +++ b/spm/spm_eeg_display_tf.py @@ -2,7 +2,7 @@ def spm_eeg_display_tf(*args, **kwargs): - """ + r""" Display TF images saved as NIfTI FORMAT spm_eeg_display_tf(files) files - list of images to display (as char or cell array of strings) @@ -10,9 +10,12 @@ def spm_eeg_display_tf(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_eeg_display_tf.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_eeg_display_tf.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_eeg_display_tf", *args, **kwargs, nargout=0) diff --git a/spm/spm_eeg_downsample.py b/spm/spm_eeg_downsample.py index 5ee80860..f378dee5 100644 --- a/spm/spm_eeg_downsample.py +++ b/spm/spm_eeg_downsample.py @@ -2,7 +2,7 @@ def spm_eeg_downsample(*args, **kwargs): - """ + r""" Downsample M/EEG data FORMAT D = spm_eeg_downsample(S) @@ -23,9 +23,12 @@ def spm_eeg_downsample(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_eeg_downsample.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_eeg_downsample.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_eeg_downsample", *args, **kwargs) diff --git a/spm/spm_eeg_epochs.py b/spm/spm_eeg_epochs.py index 40136f15..dd7ecc13 100644 --- a/spm/spm_eeg_epochs.py +++ b/spm/spm_eeg_epochs.py @@ -2,7 +2,7 @@ def spm_eeg_epochs(*args, **kwargs): - """ + r""" Epoching continuous M/EEG data FORMAT D = spm_eeg_epochs(S) @@ -52,9 +52,12 @@ def spm_eeg_epochs(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_eeg_epochs.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_eeg_epochs.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_eeg_epochs", *args, **kwargs) diff --git a/spm/spm_eeg_filter.py b/spm/spm_eeg_filter.py index 135cd0e3..4e15568e 100644 --- a/spm/spm_eeg_filter.py +++ b/spm/spm_eeg_filter.py @@ -2,7 +2,7 @@ def spm_eeg_filter(*args, **kwargs): - """ + r""" Filter M/EEG data FORMAT D = spm_eeg_filter(S) @@ -28,9 +28,12 @@ def spm_eeg_filter(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_eeg_filter.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_eeg_filter.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_eeg_filter", *args, **kwargs) diff --git a/spm/spm_eeg_firstlevel.py b/spm/spm_eeg_firstlevel.py index c1a3d2cf..f65ea6dc 100644 --- a/spm/spm_eeg_firstlevel.py +++ b/spm/spm_eeg_firstlevel.py @@ -2,7 +2,7 @@ def spm_eeg_firstlevel(*args, **kwargs): - """ + r""" Convolution modelling for M/EEG data FORMAT D = spm_eeg_firstlevel(S) @@ -14,9 +14,12 @@ def spm_eeg_firstlevel(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_eeg_firstlevel.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_eeg_firstlevel.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_eeg_firstlevel", *args, **kwargs) diff --git a/spm/spm_eeg_fixpnt.py b/spm/spm_eeg_fixpnt.py index 85352f66..1456c66d 100644 --- a/spm/spm_eeg_fixpnt.py +++ b/spm/spm_eeg_fixpnt.py @@ -2,15 +2,18 @@ def spm_eeg_fixpnt(*args, **kwargs): - """ + r""" Helper function to replace pos by pnt FORMAT data = spm_eeg_fixpnt(data, recurse) __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_eeg_fixpnt.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_eeg_fixpnt.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_eeg_fixpnt", *args, **kwargs) diff --git a/spm/spm_eeg_ft2spm.py b/spm/spm_eeg_ft2spm.py index 92d495ef..dd9469f6 100644 --- a/spm/spm_eeg_ft2spm.py +++ b/spm/spm_eeg_ft2spm.py @@ -2,15 +2,18 @@ def spm_eeg_ft2spm(*args, **kwargs): - """ + r""" Converter from FieldTrip data structures to SPM file format FORMAT D = spm_eeg_ft2spm(ftdata, filename) __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_eeg_ft2spm.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_eeg_ft2spm.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_eeg_ft2spm", *args, **kwargs) diff --git a/spm/spm_eeg_fuse.py b/spm/spm_eeg_fuse.py index a6bcf1c9..cc617abf 100644 --- a/spm/spm_eeg_fuse.py +++ b/spm/spm_eeg_fuse.py @@ -2,7 +2,7 @@ def spm_eeg_fuse(*args, **kwargs): - """ + r""" Fuse MEG and EEG datasets to create a multimodal dataset FORMAT D = spm_eeg_fuse(S) @@ -18,9 +18,12 @@ def spm_eeg_fuse(*args, **kwargs): Copyright (C) 2008-2022 Wellcome Centre for Human Neuroimaging - [Matlab code]( https://github.com/spm/spm/blob/main/spm_eeg_fuse.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_eeg_fuse.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_eeg_fuse", *args, **kwargs) diff --git a/spm/spm_eeg_grandmean.py b/spm/spm_eeg_grandmean.py index fd9927d0..1fca98fe 100644 --- a/spm/spm_eeg_grandmean.py +++ b/spm/spm_eeg_grandmean.py @@ -2,7 +2,7 @@ def spm_eeg_grandmean(*args, **kwargs): - """ + r""" Average over multiple M/EEG data sets FORMAT Do = spm_eeg_grandmean(S) @@ -29,9 +29,12 @@ def spm_eeg_grandmean(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_eeg_grandmean.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_eeg_grandmean.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_eeg_grandmean", *args, **kwargs) diff --git a/spm/spm_eeg_history.py b/spm/spm_eeg_history.py index c8fa49bb..29f1eea1 100644 --- a/spm/spm_eeg_history.py +++ b/spm/spm_eeg_history.py @@ -2,7 +2,7 @@ def spm_eeg_history(*args, **kwargs): - """ + r""" Generate a MATLAB script from the history of an M/EEG SPM data file FORMAT H = spm_eeg_history(S) @@ -25,9 +25,12 @@ def spm_eeg_history(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_eeg_history.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_eeg_history.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_eeg_history", *args, **kwargs) diff --git a/spm/spm_eeg_inv_Mesh2Voxels.py b/spm/spm_eeg_inv_Mesh2Voxels.py index dc7de3f7..e30e6644 100644 --- a/spm/spm_eeg_inv_Mesh2Voxels.py +++ b/spm/spm_eeg_inv_Mesh2Voxels.py @@ -2,7 +2,7 @@ def spm_eeg_inv_Mesh2Voxels(*args, **kwargs): - """ + r""" Convert a mesh representation of M/EEG power into a smoothed image FORMAT [D] = spm_eeg_inv_Mesh2Voxels(D,[val]) Input: @@ -31,9 +31,12 @@ def spm_eeg_inv_Mesh2Voxels(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_eeg_inv_Mesh2Voxels.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_eeg_inv_Mesh2Voxels.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_eeg_inv_Mesh2Voxels", *args, **kwargs) diff --git a/spm/spm_eeg_inv_check.py b/spm/spm_eeg_inv_check.py index 5dd25262..922b721d 100644 --- a/spm/spm_eeg_inv_check.py +++ b/spm/spm_eeg_inv_check.py @@ -2,7 +2,7 @@ def spm_eeg_inv_check(*args, **kwargs): - """ + r""" Checks that the EEG/MEG .mat file structure is loaded properly and that the particular inversion of interest has been specified @@ -16,9 +16,12 @@ def spm_eeg_inv_check(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_eeg_inv_check.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_eeg_inv_check.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_eeg_inv_check", *args, **kwargs) diff --git a/spm/spm_eeg_inv_checkdatareg.py b/spm/spm_eeg_inv_checkdatareg.py index 785b0189..9cb76600 100644 --- a/spm/spm_eeg_inv_checkdatareg.py +++ b/spm/spm_eeg_inv_checkdatareg.py @@ -2,7 +2,7 @@ def spm_eeg_inv_checkdatareg(*args, **kwargs): - """ + r""" Display of the coregistred meshes and sensor locations in MRI space FORMAT spm_eeg_inv_checkdatareg(D, val, ind) @@ -10,9 +10,12 @@ def spm_eeg_inv_checkdatareg(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_eeg_inv_checkdatareg.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_eeg_inv_checkdatareg.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_eeg_inv_checkdatareg", *args, **kwargs, nargout=0) diff --git a/spm/spm_eeg_inv_checkforward.py b/spm/spm_eeg_inv_checkforward.py index df9eb89b..9e559472 100644 --- a/spm/spm_eeg_inv_checkforward.py +++ b/spm/spm_eeg_inv_checkforward.py @@ -2,15 +2,18 @@ def spm_eeg_inv_checkforward(*args, **kwargs): - """ + r""" Check M/EEG forward model FORMAT spm_eeg_inv_checkforward(D, val, ind) __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_eeg_inv_checkforward.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_eeg_inv_checkforward.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_eeg_inv_checkforward", *args, **kwargs, nargout=0) diff --git a/spm/spm_eeg_inv_checkmeshes.py b/spm/spm_eeg_inv_checkmeshes.py index 719e70a5..9eab5629 100644 --- a/spm/spm_eeg_inv_checkmeshes.py +++ b/spm/spm_eeg_inv_checkmeshes.py @@ -2,7 +2,7 @@ def spm_eeg_inv_checkmeshes(*args, **kwargs): - """ + r""" Display tesselated surfaces of cortex, skull and scalp FORMAT [h_ctx,h_iskl,h_oskl,h_slp] = spm_eeg_inv_checkmeshes(S) S - input data struct (optional) @@ -14,9 +14,12 @@ def spm_eeg_inv_checkmeshes(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_eeg_inv_checkmeshes.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_eeg_inv_checkmeshes.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_eeg_inv_checkmeshes", *args, **kwargs) diff --git a/spm/spm_eeg_inv_custom_ui.py b/spm/spm_eeg_inv_custom_ui.py index c7e9b2eb..efd591ac 100644 --- a/spm/spm_eeg_inv_custom_ui.py +++ b/spm/spm_eeg_inv_custom_ui.py @@ -2,7 +2,7 @@ def spm_eeg_inv_custom_ui(*args, **kwargs): - """ + r""" GUI for parameters of inversion of forward model for EEG-MEG FORMAT [inverse] = spm_eeg_inv_custom_ui(D) @@ -24,9 +24,12 @@ def spm_eeg_inv_custom_ui(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_eeg_inv_custom_ui.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_eeg_inv_custom_ui.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_eeg_inv_custom_ui", *args, **kwargs) diff --git a/spm/spm_eeg_inv_datareg.py b/spm/spm_eeg_inv_datareg.py index 966fbb98..ecf59adc 100644 --- a/spm/spm_eeg_inv_datareg.py +++ b/spm/spm_eeg_inv_datareg.py @@ -2,7 +2,7 @@ def spm_eeg_inv_datareg(*args, **kwargs): - """ + r""" Co-registration of two sets of fiducials according to sets of corresponding points and (optionally) headshapes. rigid co-registration @@ -36,9 +36,12 @@ def spm_eeg_inv_datareg(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_eeg_inv_datareg.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_eeg_inv_datareg.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_eeg_inv_datareg", *args, **kwargs) diff --git a/spm/spm_eeg_inv_datareg_ui.py b/spm/spm_eeg_inv_datareg_ui.py index ebda0266..2a883eb9 100644 --- a/spm/spm_eeg_inv_datareg_ui.py +++ b/spm/spm_eeg_inv_datareg_ui.py @@ -2,7 +2,7 @@ def spm_eeg_inv_datareg_ui(*args, **kwargs): - """ + r""" User interface for EEG/MEG data coregistration within original sMRI space FORMAT D = spm_eeg_inv_datareg_ui(D,[val], [meegfid, newmrifid, useheadshape]) D - M/EEG dataset @@ -15,9 +15,12 @@ def spm_eeg_inv_datareg_ui(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_eeg_inv_datareg_ui.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_eeg_inv_datareg_ui.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_eeg_inv_datareg_ui", *args, **kwargs) diff --git a/spm/spm_eeg_inv_extract.py b/spm/spm_eeg_inv_extract.py index fdf0eb5c..ca6c6385 100644 --- a/spm/spm_eeg_inv_extract.py +++ b/spm/spm_eeg_inv_extract.py @@ -2,7 +2,7 @@ def spm_eeg_inv_extract(*args, **kwargs): - """ + r""" Exports source activity using the MAP projector FORMAT [Ds] = spm_eeg_inv_extract(D) Requires: @@ -18,9 +18,12 @@ def spm_eeg_inv_extract(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_eeg_inv_extract.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_eeg_inv_extract.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_eeg_inv_extract", *args, **kwargs) diff --git a/spm/spm_eeg_inv_extract_ui.py b/spm/spm_eeg_inv_extract_ui.py index cface031..4330b480 100644 --- a/spm/spm_eeg_inv_extract_ui.py +++ b/spm/spm_eeg_inv_extract_ui.py @@ -2,7 +2,7 @@ def spm_eeg_inv_extract_ui(*args, **kwargs): - """ + r""" GUI for contrast of evoked responses and power for an MEG-EEG model FORMAT [D] = spm_eeg_inv_extract_ui(D, val, XYZ) Sets: @@ -12,9 +12,12 @@ def spm_eeg_inv_extract_ui(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_eeg_inv_extract_ui.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_eeg_inv_extract_ui.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_eeg_inv_extract_ui", *args, **kwargs) diff --git a/spm/spm_eeg_inv_fmripriors.py b/spm/spm_eeg_inv_fmripriors.py index 4fc21a42..c9b985f8 100644 --- a/spm/spm_eeg_inv_fmripriors.py +++ b/spm/spm_eeg_inv_fmripriors.py @@ -2,7 +2,7 @@ def spm_eeg_inv_fmripriors(*args, **kwargs): - """ + r""" Generate fMRI priors for the M/EEG source reconstruction FORMAT D = spm_eeg_inv_fmripriors(S) @@ -33,9 +33,12 @@ def spm_eeg_inv_fmripriors(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_eeg_inv_fmripriors.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_eeg_inv_fmripriors.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_eeg_inv_fmripriors", *args, **kwargs) diff --git a/spm/spm_eeg_inv_forward.py b/spm/spm_eeg_inv_forward.py index bc0b00fe..1ad1af86 100644 --- a/spm/spm_eeg_inv_forward.py +++ b/spm/spm_eeg_inv_forward.py @@ -2,7 +2,7 @@ def spm_eeg_inv_forward(*args, **kwargs): - """ + r""" Compute M/EEG leadfield FORMAT D = spm_eeg_inv_forward(D,val) @@ -15,9 +15,12 @@ def spm_eeg_inv_forward(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_eeg_inv_forward.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_eeg_inv_forward.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_eeg_inv_forward", *args, **kwargs) diff --git a/spm/spm_eeg_inv_forward_ui.py b/spm/spm_eeg_inv_forward_ui.py index 0b37a4ed..2b7b2f8c 100644 --- a/spm/spm_eeg_inv_forward_ui.py +++ b/spm/spm_eeg_inv_forward_ui.py @@ -2,7 +2,7 @@ def spm_eeg_inv_forward_ui(*args, **kwargs): - """ + r""" Forward Solution user interface FORMAT D = spm_eeg_inv_forward_ui(D,val) D - input data struct (optional) @@ -16,9 +16,12 @@ def spm_eeg_inv_forward_ui(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_eeg_inv_forward_ui.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_eeg_inv_forward_ui.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_eeg_inv_forward_ui", *args, **kwargs) diff --git a/spm/spm_eeg_inv_get_vol_sens.py b/spm/spm_eeg_inv_get_vol_sens.py index a1a43c60..d310db25 100644 --- a/spm/spm_eeg_inv_get_vol_sens.py +++ b/spm/spm_eeg_inv_get_vol_sens.py @@ -2,7 +2,7 @@ def spm_eeg_inv_get_vol_sens(*args, **kwargs): - """ + r""" Retrieves data for leadfield computation from D.inv structure FORMAT data = spm_eeg_inv_get_vol_sens(D, val, space, gradsource, modality) D - @meeg object @@ -16,9 +16,12 @@ def spm_eeg_inv_get_vol_sens(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_eeg_inv_get_vol_sens.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_eeg_inv_get_vol_sens.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_eeg_inv_get_vol_sens", *args, **kwargs) diff --git a/spm/spm_eeg_inv_group.py b/spm/spm_eeg_inv_group.py index e96f1555..411acc9b 100644 --- a/spm/spm_eeg_inv_group.py +++ b/spm/spm_eeg_inv_group.py @@ -2,7 +2,7 @@ def spm_eeg_inv_group(*args, **kwargs): - """ + r""" Source reconstruction for a group ERP or ERF study FORMAT spm_eeg_inv_group(S) @@ -31,9 +31,12 @@ def spm_eeg_inv_group(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_eeg_inv_group.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_eeg_inv_group.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_eeg_inv_group", *args, **kwargs, nargout=0) diff --git a/spm/spm_eeg_inv_headcoordinates.py b/spm/spm_eeg_inv_headcoordinates.py index bbc01360..4875215d 100644 --- a/spm/spm_eeg_inv_headcoordinates.py +++ b/spm/spm_eeg_inv_headcoordinates.py @@ -2,7 +2,7 @@ def spm_eeg_inv_headcoordinates(*args, **kwargs): - """ + r""" Returns the homogeneous coordinate transformation matrix that converts the specified fiducials in any coordinate system (e.g. MRI) into the rotated and translated headccordinate system. @@ -17,9 +17,12 @@ def spm_eeg_inv_headcoordinates(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_eeg_inv_headcoordinates.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_eeg_inv_headcoordinates.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_eeg_inv_headcoordinates", *args, **kwargs) diff --git a/spm/spm_eeg_inv_icp.py b/spm/spm_eeg_inv_icp.py index 1b39ca85..e5ce3bef 100644 --- a/spm/spm_eeg_inv_icp.py +++ b/spm/spm_eeg_inv_icp.py @@ -2,7 +2,7 @@ def spm_eeg_inv_icp(*args, **kwargs): - """ + r""" Iterative Closest Point (ICP) registration algorithm Surface matching computation: registration from one 3D surface onto another 3D surface. @@ -34,9 +34,12 @@ def spm_eeg_inv_icp(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_eeg_inv_icp.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_eeg_inv_icp.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_eeg_inv_icp", *args, **kwargs) diff --git a/spm/spm_eeg_inv_imag_api.py b/spm/spm_eeg_inv_imag_api.py index 8e1ee7a6..d610941a 100644 --- a/spm/spm_eeg_inv_imag_api.py +++ b/spm/spm_eeg_inv_imag_api.py @@ -2,7 +2,7 @@ def spm_eeg_inv_imag_api(*args, **kwargs): - """ + r""" API for EEG/MEG source reconstruction interface FORMAT: FIG = SPM_EEG_INV_IMAG_API launch spm_eeg_inv_imag_api GUI. @@ -10,9 +10,12 @@ def spm_eeg_inv_imag_api(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_eeg_inv_imag_api.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_eeg_inv_imag_api.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_eeg_inv_imag_api", *args, **kwargs) diff --git a/spm/spm_eeg_inv_image_display.py b/spm/spm_eeg_inv_image_display.py index e95e83ee..52052d5b 100644 --- a/spm/spm_eeg_inv_image_display.py +++ b/spm/spm_eeg_inv_image_display.py @@ -2,7 +2,7 @@ def spm_eeg_inv_image_display(*args, **kwargs): - """ + r""" Display an interpolated 3D image or mesh of a contrast or window FORMAT D = spm_eeg_inv_image_display(D,val) @@ -11,9 +11,12 @@ def spm_eeg_inv_image_display(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_eeg_inv_image_display.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_eeg_inv_image_display.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_eeg_inv_image_display", *args, **kwargs, nargout=0) diff --git a/spm/spm_eeg_inv_mesh.py b/spm/spm_eeg_inv_mesh.py index f57180c2..e20fd39c 100644 --- a/spm/spm_eeg_inv_mesh.py +++ b/spm/spm_eeg_inv_mesh.py @@ -2,7 +2,7 @@ def spm_eeg_inv_mesh(*args, **kwargs): - """ + r""" Apply the inverse spatial deformation to the template mesh to obtain the individual cortical mesh save the individual GIFTI meshes @@ -16,9 +16,12 @@ def spm_eeg_inv_mesh(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_eeg_inv_mesh.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_eeg_inv_mesh.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_eeg_inv_mesh", *args, **kwargs) diff --git a/spm/spm_eeg_inv_mesh_spherify.py b/spm/spm_eeg_inv_mesh_spherify.py index b8581d27..55c0ad85 100644 --- a/spm/spm_eeg_inv_mesh_spherify.py +++ b/spm/spm_eeg_inv_mesh_spherify.py @@ -2,7 +2,7 @@ def spm_eeg_inv_mesh_spherify(*args, **kwargs): - """ + r""" Takes a cortical mesh and scales it so that it fits into a unit sphere. @@ -21,9 +21,12 @@ def spm_eeg_inv_mesh_spherify(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_eeg_inv_mesh_spherify.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_eeg_inv_mesh_spherify.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_eeg_inv_mesh_spherify", *args, **kwargs) diff --git a/spm/spm_eeg_inv_mesh_ui.py b/spm/spm_eeg_inv_mesh_ui.py index 87b9d19a..a20e6f25 100644 --- a/spm/spm_eeg_inv_mesh_ui.py +++ b/spm/spm_eeg_inv_mesh_ui.py @@ -2,7 +2,7 @@ def spm_eeg_inv_mesh_ui(*args, **kwargs): - """ + r""" Cortical Mesh user interface FORMAT D = spm_eeg_inv_mesh_ui(D, val, sMRI, Msize) @@ -19,9 +19,12 @@ def spm_eeg_inv_mesh_ui(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_eeg_inv_mesh_ui.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_eeg_inv_mesh_ui.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_eeg_inv_mesh_ui", *args, **kwargs) diff --git a/spm/spm_eeg_inv_prep_modes_xval.py b/spm/spm_eeg_inv_prep_modes_xval.py index 9f3c9add..7712c145 100644 --- a/spm/spm_eeg_inv_prep_modes_xval.py +++ b/spm/spm_eeg_inv_prep_modes_xval.py @@ -2,35 +2,40 @@ def spm_eeg_inv_prep_modes_xval(*args, **kwargs): - """ + r""" Prepare a spatial mode file for inversion - FORMAT [spatialmodename,Nmodes,newpctest,testchans]=spm_eeg_inv_prep_modes_xval(filenames, Nmodes, spatialmodename,Nblocks,pctest) - + [spatialmodename,Nmodes,newpctest,testchans]=spm_eeg_inv_prep_modes_xval(filenames, Nmodes,... + spatialmodename,Nblocks,pctest,gainmatfiles) this file ensures the same spatial modes are used across different files (which would contain the same data but different head-models for example) it also makes sure that the same channels groups are preserved to allow comparable cross validation and free energy metrics input a list of the M/EEG dataset names: filenames Nmodes - number of required spatial modes (if empty uses all available - channels) - channels) + channels). If zero uses svd to compute a compact U. spatialmodename- name of output file Nblocks- number of cross validation runs (optional and default 1) pctest- percentatge of channels to be used for testdata (optional and default 0) - if pctest*Nblocks=100 then will use independent MEG channels and may adjust pctest (in output) to + if pctest*Nblocks=100 then will use independent MEG channels and may adjust pctest (in output) to accommodate this. ( k-fold cross val) if pctest*Nblocks~=100 then uses random selection of pctest channels for each block (Monte-Carlo cross val) - - in output file + if gainmatfiles supplied uses these (rather than the one referenced by the spm + object) to create unbiased(to any file) spatial modes matrix + the output file (spatialmodename) will contain: megind- good meg channel indices testchans - indices to megind of channels to be turned off during training phase (and tested later) U{} - a different spatial modes matrix for each set of training channels or megind without indexed testchans or megind(setdiff(1:length(megind),testchans(b,:))) - __________________________________________________________________________ + newpctest- the percentage of MEG channels actually used (need integer number of channels) + testchans- which channels used for testing + _________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_eeg_inv_prep_modes_xval.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_eeg_inv_prep_modes_xval.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_eeg_inv_prep_modes_xval", *args, **kwargs) diff --git a/spm/spm_eeg_inv_results.py b/spm/spm_eeg_inv_results.py index b967bbdc..f16bfa1e 100644 --- a/spm/spm_eeg_inv_results.py +++ b/spm/spm_eeg_inv_results.py @@ -2,7 +2,7 @@ def spm_eeg_inv_results(*args, **kwargs): - """ + r""" Contrast of evoked responses and power for an MEG-EEG model FORMAT [D] = spm_eeg_inv_results(D) Requires: @@ -17,9 +17,12 @@ def spm_eeg_inv_results(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_eeg_inv_results.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_eeg_inv_results.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_eeg_inv_results", *args, **kwargs) diff --git a/spm/spm_eeg_inv_results_display.py b/spm/spm_eeg_inv_results_display.py index b088846c..049ce70f 100644 --- a/spm/spm_eeg_inv_results_display.py +++ b/spm/spm_eeg_inv_results_display.py @@ -2,15 +2,18 @@ def spm_eeg_inv_results_display(*args, **kwargs): - """ + r""" Displays contrast of evoked responses and power FORMAT spm_eeg_inv_results_display(D) __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_eeg_inv_results_display.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_eeg_inv_results_display.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_eeg_inv_results_display", *args, **kwargs, nargout=0) diff --git a/spm/spm_eeg_inv_results_ui.py b/spm/spm_eeg_inv_results_ui.py index fb236153..dd6d43f2 100644 --- a/spm/spm_eeg_inv_results_ui.py +++ b/spm/spm_eeg_inv_results_ui.py @@ -2,7 +2,7 @@ def spm_eeg_inv_results_ui(*args, **kwargs): - """ + r""" GUI for contrast of evoked responses and power for an MEG-EEG model FORMAT [D] = spm_eeg_inv_results_ui(D,val) Sets: @@ -12,9 +12,12 @@ def spm_eeg_inv_results_ui(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_eeg_inv_results_ui.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_eeg_inv_results_ui.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_eeg_inv_results_ui", *args, **kwargs) diff --git a/spm/spm_eeg_inv_rigidreg.py b/spm/spm_eeg_inv_rigidreg.py index bbf2663d..e77ba972 100644 --- a/spm/spm_eeg_inv_rigidreg.py +++ b/spm/spm_eeg_inv_rigidreg.py @@ -2,7 +2,7 @@ def spm_eeg_inv_rigidreg(*args, **kwargs): - """ + r""" Computes homogeneous transformation matrix based on two sets of points from two coordinate systems @@ -15,9 +15,12 @@ def spm_eeg_inv_rigidreg(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_eeg_inv_rigidreg.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_eeg_inv_rigidreg.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_eeg_inv_rigidreg", *args, **kwargs) diff --git a/spm/spm_eeg_inv_spatnorm.py b/spm/spm_eeg_inv_spatnorm.py index 311ab8b6..fe116d98 100644 --- a/spm/spm_eeg_inv_spatnorm.py +++ b/spm/spm_eeg_inv_spatnorm.py @@ -2,7 +2,7 @@ def spm_eeg_inv_spatnorm(*args, **kwargs): - """ + r""" Spatial Normalisation (using Unified Segmentation) Transforms individual sMRI into MNI space and save the [inverse] deformations that will be needed for computing the individual mesh @@ -16,9 +16,12 @@ def spm_eeg_inv_spatnorm(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_eeg_inv_spatnorm.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_eeg_inv_spatnorm.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_eeg_inv_spatnorm", *args, **kwargs) diff --git a/spm/spm_eeg_inv_transform_mesh.py b/spm/spm_eeg_inv_transform_mesh.py index c723dc39..ac32301c 100644 --- a/spm/spm_eeg_inv_transform_mesh.py +++ b/spm/spm_eeg_inv_transform_mesh.py @@ -2,7 +2,7 @@ def spm_eeg_inv_transform_mesh(*args, **kwargs): - """ + r""" Apply affine transformation to surface mesh FORMAT mesh = spm_eeg_inv_transform_mesh(M, mesh) @@ -11,9 +11,12 @@ def spm_eeg_inv_transform_mesh(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_eeg_inv_transform_mesh.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_eeg_inv_transform_mesh.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_eeg_inv_transform_mesh", *args, **kwargs) diff --git a/spm/spm_eeg_inv_transform_points.py b/spm/spm_eeg_inv_transform_points.py index ba519734..971c9182 100644 --- a/spm/spm_eeg_inv_transform_points.py +++ b/spm/spm_eeg_inv_transform_points.py @@ -2,15 +2,18 @@ def spm_eeg_inv_transform_points(*args, **kwargs): - """ + r""" Apply homogeneous transformation to a set of 3D points FORMAT new = spm_eeg_inv_transform_points(M, old) __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_eeg_inv_transform_points.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_eeg_inv_transform_points.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_eeg_inv_transform_points", *args, **kwargs) diff --git a/spm/spm_eeg_inv_vb_ecd_gui.py b/spm/spm_eeg_inv_vb_ecd_gui.py index 749c1b75..d860b32e 100644 --- a/spm/spm_eeg_inv_vb_ecd_gui.py +++ b/spm/spm_eeg_inv_vb_ecd_gui.py @@ -2,7 +2,7 @@ def spm_eeg_inv_vb_ecd_gui(*args, **kwargs): - """ + r""" GUI function for variational Bayesian ECD inversion Fills in the following fields of the inverse structure: @@ -42,9 +42,12 @@ def spm_eeg_inv_vb_ecd_gui(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_eeg_inv_vb_ecd_gui.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_eeg_inv_vb_ecd_gui.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_eeg_inv_vb_ecd_gui", *args, **kwargs) diff --git a/spm/spm_eeg_inv_vbecd.py b/spm/spm_eeg_inv_vbecd.py index d0b2b6ca..e308f6b6 100644 --- a/spm/spm_eeg_inv_vbecd.py +++ b/spm/spm_eeg_inv_vbecd.py @@ -2,7 +2,7 @@ def spm_eeg_inv_vbecd(*args, **kwargs): - """ + r""" Model inversion routine for ECDs using variational Bayesian approach FORMAT P = spm_eeg_inv_vbecd(P) @@ -34,9 +34,12 @@ def spm_eeg_inv_vbecd(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_eeg_inv_vbecd.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_eeg_inv_vbecd.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_eeg_inv_vbecd", *args, **kwargs) diff --git a/spm/spm_eeg_inv_vbecd_disp.py b/spm/spm_eeg_inv_vbecd_disp.py index 7356f038..62ed1f9e 100644 --- a/spm/spm_eeg_inv_vbecd_disp.py +++ b/spm/spm_eeg_inv_vbecd_disp.py @@ -2,7 +2,7 @@ def spm_eeg_inv_vbecd_disp(*args, **kwargs): - """ + r""" Display the dipoles as obtained from VB-ECD FORMAT spm_eeg_inv_vbecd_disp('Init',D) @@ -15,9 +15,12 @@ def spm_eeg_inv_vbecd_disp(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_eeg_inv_vbecd_disp.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_eeg_inv_vbecd_disp.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_eeg_inv_vbecd_disp", *args, **kwargs, nargout=0) diff --git a/spm/spm_eeg_inv_vbecd_getLF.py b/spm/spm_eeg_inv_vbecd_getLF.py index 44384589..3eeaaf98 100644 --- a/spm/spm_eeg_inv_vbecd_getLF.py +++ b/spm/spm_eeg_inv_vbecd_getLF.py @@ -2,7 +2,7 @@ def spm_eeg_inv_vbecd_getLF(*args, **kwargs): - """ + r""" Estimation of the leadfield matrix and its spatial derivative if required for a set of dipoles used in the VB-ECD solution Scales non-eeg data up by a fixed factor (1e8) for compatibility of @@ -21,9 +21,12 @@ def spm_eeg_inv_vbecd_getLF(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_eeg_inv_vbecd_getLF.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_eeg_inv_vbecd_getLF.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_eeg_inv_vbecd_getLF", *args, **kwargs) diff --git a/spm/spm_eeg_inv_vbecd_gui.py b/spm/spm_eeg_inv_vbecd_gui.py index 7d1b964b..7579596f 100644 --- a/spm/spm_eeg_inv_vbecd_gui.py +++ b/spm/spm_eeg_inv_vbecd_gui.py @@ -2,7 +2,7 @@ def spm_eeg_inv_vbecd_gui(*args, **kwargs): - """ + r""" GUI function for Bayesian ECD inversion - load the necessary data, if not provided - fill in all the necessary bits for the VB-ECD inversion routine, @@ -11,9 +11,12 @@ def spm_eeg_inv_vbecd_gui(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_eeg_inv_vbecd_gui.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_eeg_inv_vbecd_gui.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_eeg_inv_vbecd_gui", *args, **kwargs) diff --git a/spm/spm_eeg_inv_vbecd_mom.py b/spm/spm_eeg_inv_vbecd_mom.py index a04d945e..52328225 100644 --- a/spm/spm_eeg_inv_vbecd_mom.py +++ b/spm/spm_eeg_inv_vbecd_mom.py @@ -2,7 +2,7 @@ def spm_eeg_inv_vbecd_mom(*args, **kwargs): - """ + r""" Model inversion routine for ECDs using variational Bayesian approach FORMAT P = spm_eeg_inv_vbecd_mom(P) @@ -33,9 +33,12 @@ def spm_eeg_inv_vbecd_mom(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_eeg_inv_vbecd_mom.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_eeg_inv_vbecd_mom.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_eeg_inv_vbecd_mom", *args, **kwargs) diff --git a/spm/spm_eeg_inv_visu3D_api.py b/spm/spm_eeg_inv_visu3D_api.py index 865af88d..7ff13e60 100644 --- a/spm/spm_eeg_inv_visu3D_api.py +++ b/spm/spm_eeg_inv_visu3D_api.py @@ -2,7 +2,7 @@ def spm_eeg_inv_visu3D_api(*args, **kwargs): - """ + r""" SPM_EEG_INV_VISU3D_API M-file for spm_eeg_inv_visu3D_api.fig - FIG = SPM_EEG_INV_VISU3D_API launch spm_eeg_inv_visu3D_api GUI. - D = SPM_EEG_INV_VISU3D_API(D) open with D @@ -13,9 +13,12 @@ def spm_eeg_inv_visu3D_api(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_eeg_inv_visu3D_api.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_eeg_inv_visu3D_api.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_eeg_inv_visu3D_api", *args, **kwargs) diff --git a/spm/spm_eeg_invert.py b/spm/spm_eeg_invert.py index 7c393f50..df4ae04d 100644 --- a/spm/spm_eeg_invert.py +++ b/spm/spm_eeg_invert.py @@ -2,7 +2,7 @@ def spm_eeg_invert(*args, **kwargs): - """ + r""" ReML inversion of multiple forward models for EEG-MEG FORMAT [D] = spm_eeg_invert(D, val) ReML estimation of regularisation hyperparameters using the @@ -125,9 +125,12 @@ def spm_eeg_invert(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_eeg_invert.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_eeg_invert.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_eeg_invert", *args, **kwargs) diff --git a/spm/spm_eeg_invert_EBoptimise.py b/spm/spm_eeg_invert_EBoptimise.py index 87280100..06de19f1 100644 --- a/spm/spm_eeg_invert_EBoptimise.py +++ b/spm/spm_eeg_invert_EBoptimise.py @@ -2,7 +2,7 @@ def spm_eeg_invert_EBoptimise(*args, **kwargs): - """ + r""" function [F,M,Cq,Cp,QE,Qp] = spm_eeg_invert_EBoptimise(AY,UL,opttype,Qp,Qe,Qe0) Empirical Bayes optimization of priors Qp and Qe to fit data AY based on lead fields UL AY concatenated dimension reduced trials of M/EEG data @@ -24,9 +24,12 @@ def spm_eeg_invert_EBoptimise(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_eeg_invert_EBoptimise.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_eeg_invert_EBoptimise.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_eeg_invert_EBoptimise", *args, **kwargs) diff --git a/spm/spm_eeg_invert_bma.py b/spm/spm_eeg_invert_bma.py index 6d2a087d..384b7789 100644 --- a/spm/spm_eeg_invert_bma.py +++ b/spm/spm_eeg_invert_bma.py @@ -2,7 +2,7 @@ def spm_eeg_invert_bma(*args, **kwargs): - """ + r""" Compute Bayesian Model Average given a set of current distributions and model evidences FORMAT [Jbma,qCbma,PostMax]=spm_eeg_invert_bma(manyinverse,F) @@ -13,9 +13,12 @@ def spm_eeg_invert_bma(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_eeg_invert_bma.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_eeg_invert_bma.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_eeg_invert_bma", *args, **kwargs) diff --git a/spm/spm_eeg_invert_classic.py b/spm/spm_eeg_invert_classic.py index b8a5387b..4c005ad6 100644 --- a/spm/spm_eeg_invert_classic.py +++ b/spm/spm_eeg_invert_classic.py @@ -2,7 +2,7 @@ def spm_eeg_invert_classic(*args, **kwargs): - """ + r""" A trimmed down version of the spm_eeg_invert() routine This version only handles single subject single modality data The removal of many scaling factors makes it easier to compare between forward models @@ -63,12 +63,17 @@ def spm_eeg_invert_classic(*args, **kwargs): inverse.VE - variance explained in spatial/temporal subspaces (%) inverse.R2 - variance in subspaces accounted for by model (%) inverse.scale - scaling of data for each of j modalities + inverse.SHUFFLELEADS- zero for normal operation (default). Otherwise + a vector of indices to change channel mapping __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_eeg_invert_classic.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_eeg_invert_classic.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_eeg_invert_classic", *args, **kwargs) diff --git a/spm/spm_eeg_invert_classic_mix.py b/spm/spm_eeg_invert_classic_mix.py index 1fa4d5e3..168f9249 100644 --- a/spm/spm_eeg_invert_classic_mix.py +++ b/spm/spm_eeg_invert_classic_mix.py @@ -2,7 +2,7 @@ def spm_eeg_invert_classic_mix(*args, **kwargs): - """ + r""" FORMAT [D] = spm_eeg_invert_classic_mix(D,val,Qpriors,surfind,ugainfiles) ReML inversion of multiple posterior current variances from previous @@ -21,9 +21,12 @@ def spm_eeg_invert_classic_mix(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_eeg_invert_classic_mix.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_eeg_invert_classic_mix.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_eeg_invert_classic_mix", *args, **kwargs) diff --git a/spm/spm_eeg_invert_classic_volumetric.py b/spm/spm_eeg_invert_classic_volumetric.py index b7cfe6bc..70fcc4eb 100644 --- a/spm/spm_eeg_invert_classic_volumetric.py +++ b/spm/spm_eeg_invert_classic_volumetric.py @@ -2,7 +2,7 @@ def spm_eeg_invert_classic_volumetric(*args, **kwargs): - """ + r""" Volumetric multiple sparse priors This version only handles single subject single modality data; the removal of many scaling factors makes it easier to compare between forward models @@ -71,9 +71,12 @@ def spm_eeg_invert_classic_volumetric(*args, **kwargs): a Beamforming prior : inversion type 'EBB'. - [Matlab code]( https://github.com/spm/spm/blob/main/spm_eeg_invert_classic_volumetric.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_eeg_invert_classic_volumetric.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_eeg_invert_classic_volumetric", *args, **kwargs) diff --git a/spm/spm_eeg_invert_display.py b/spm/spm_eeg_invert_display.py index 691ba458..109d942d 100644 --- a/spm/spm_eeg_invert_display.py +++ b/spm/spm_eeg_invert_display.py @@ -2,7 +2,7 @@ def spm_eeg_invert_display(*args, **kwargs): - """ + r""" Displays conditional expectation of response (J) FORMAT spm_eeg_invert_display(D,PST,Ndip) FORMAT spm_eeg_invert_display(D,XYZ,Ndip) @@ -15,9 +15,12 @@ def spm_eeg_invert_display(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_eeg_invert_display.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_eeg_invert_display.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_eeg_invert_display", *args, **kwargs, nargout=0) diff --git a/spm/spm_eeg_invert_prepro.py b/spm/spm_eeg_invert_prepro.py index 3a1b92d6..063ce911 100644 --- a/spm/spm_eeg_invert_prepro.py +++ b/spm/spm_eeg_invert_prepro.py @@ -2,7 +2,7 @@ def spm_eeg_invert_prepro(*args, **kwargs): - """ + r""" Preprocessing for inversion stage. includes spatial and temporal dimension reduction @@ -28,9 +28,12 @@ def spm_eeg_invert_prepro(*args, **kwargs): 'EBB' for empirical bayes beamformer - [Matlab code]( https://github.com/spm/spm/blob/main/spm_eeg_invert_prepro.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_eeg_invert_prepro.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_eeg_invert_prepro", *args, **kwargs) diff --git a/spm/spm_eeg_invert_setuppatches.py b/spm/spm_eeg_invert_setuppatches.py index ea9e8614..b4bbb72a 100644 --- a/spm/spm_eeg_invert_setuppatches.py +++ b/spm/spm_eeg_invert_setuppatches.py @@ -2,7 +2,7 @@ def spm_eeg_invert_setuppatches(*args, **kwargs): - """ + r""" Set prior files for source inversion FORMAT [Qp,Qe,allpriornames] = spm_eeg_invert_setuppatches(allIp,mesh,base,priordir,Qe,UL) Each file contains number of smooth patches on cortical surface a @@ -21,9 +21,12 @@ def spm_eeg_invert_setuppatches(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_eeg_invert_setuppatches.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_eeg_invert_setuppatches.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_eeg_invert_setuppatches", *args, **kwargs) diff --git a/spm/spm_eeg_invert_ui.py b/spm/spm_eeg_invert_ui.py index 4507e5f3..033fc264 100644 --- a/spm/spm_eeg_invert_ui.py +++ b/spm/spm_eeg_invert_ui.py @@ -2,7 +2,7 @@ def spm_eeg_invert_ui(*args, **kwargs): - """ + r""" GUI for ReML inversion of forward model for EEG-MEG FORMAT [D] = spm_eeg_invert_ui(D,val) ReML estimation of regularisation hyperparameters using the @@ -19,9 +19,12 @@ def spm_eeg_invert_ui(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_eeg_invert_ui.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_eeg_invert_ui.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_eeg_invert_ui", *args, **kwargs) diff --git a/spm/spm_eeg_invertiter.py b/spm/spm_eeg_invertiter.py index 8817e99a..efd5fea3 100644 --- a/spm/spm_eeg_invertiter.py +++ b/spm/spm_eeg_invertiter.py @@ -2,7 +2,7 @@ def spm_eeg_invertiter(*args, **kwargs): - """ + r""" Function to perform several MSP type inversions with different pseudo-randomly selected priors- in this case single cortical patches @@ -16,9 +16,12 @@ def spm_eeg_invertiter(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_eeg_invertiter.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_eeg_invertiter.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_eeg_invertiter", *args, **kwargs) diff --git a/spm/spm_eeg_lapmtx.py b/spm/spm_eeg_lapmtx.py index e5762344..8c95e8c7 100644 --- a/spm/spm_eeg_lapmtx.py +++ b/spm/spm_eeg_lapmtx.py @@ -2,7 +2,7 @@ def spm_eeg_lapmtx(*args, **kwargs): - """ + r""" Laplace transform basis set for ERPs FORMAT [T] = spm_eeg_lapmtx(pst) @@ -13,9 +13,12 @@ def spm_eeg_lapmtx(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_eeg_lapmtx.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_eeg_lapmtx.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_eeg_lapmtx", *args, **kwargs) diff --git a/spm/spm_eeg_layout3D.py b/spm/spm_eeg_layout3D.py index aacf92d6..841a10c9 100644 --- a/spm/spm_eeg_layout3D.py +++ b/spm/spm_eeg_layout3D.py @@ -2,16 +2,19 @@ def spm_eeg_layout3D(*args, **kwargs): - """ + r""" Wrapper function to a fieldtrip function to project 3D locations onto a 2D plane. FORMAT [xy,label] = spm_eeg_project3D(sens, modality) __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_eeg_layout3D.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_eeg_layout3D.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_eeg_layout3D", *args, **kwargs) diff --git a/spm/spm_eeg_lgainmat.py b/spm/spm_eeg_lgainmat.py index 238aa678..e3991373 100644 --- a/spm/spm_eeg_lgainmat.py +++ b/spm/spm_eeg_lgainmat.py @@ -2,7 +2,7 @@ def spm_eeg_lgainmat(*args, **kwargs): - """ + r""" Load or compute if necessary a gain matrix FORMAT [L,D] = spm_eeg_lgainmat(D,Is,channels) D - Data structure @@ -12,9 +12,12 @@ def spm_eeg_lgainmat(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_eeg_lgainmat.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_eeg_lgainmat.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_eeg_lgainmat", *args, **kwargs) diff --git a/spm/spm_eeg_load.py b/spm/spm_eeg_load.py index bfbbdd42..49a5b62f 100644 --- a/spm/spm_eeg_load.py +++ b/spm/spm_eeg_load.py @@ -2,7 +2,7 @@ def spm_eeg_load(*args, **kwargs): - """ + r""" Load an M/EEG file in SPM format FORMAT D = spm_eeg_load(P) @@ -15,9 +15,12 @@ def spm_eeg_load(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_eeg_load.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_eeg_load.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_eeg_load", *args, **kwargs) diff --git a/spm/spm_eeg_locate_channels.py b/spm/spm_eeg_locate_channels.py index 93566890..c7c3a28d 100644 --- a/spm/spm_eeg_locate_channels.py +++ b/spm/spm_eeg_locate_channels.py @@ -2,7 +2,7 @@ def spm_eeg_locate_channels(*args, **kwargs): - """ + r""" Locate channels and generate mask for converting M/EEG data into images FORMAT [Cel, x, y] = spm_eeg_locate_channels(D, n, channels) @@ -22,9 +22,12 @@ def spm_eeg_locate_channels(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_eeg_locate_channels.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_eeg_locate_channels.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_eeg_locate_channels", *args, **kwargs) diff --git a/spm/spm_eeg_mask.py b/spm/spm_eeg_mask.py index b7ef63f6..ae1fdd68 100644 --- a/spm/spm_eeg_mask.py +++ b/spm/spm_eeg_mask.py @@ -2,7 +2,7 @@ def spm_eeg_mask(*args, **kwargs): - """ + r""" Create a mask image for scalp-level contrasts FORMAT spm_eeg_mask(S) @@ -15,9 +15,12 @@ def spm_eeg_mask(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_eeg_mask.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_eeg_mask.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_eeg_mask", *args, **kwargs, nargout=0) diff --git a/spm/spm_eeg_mask2channels.py b/spm/spm_eeg_mask2channels.py index d160b7b0..67c413ee 100644 --- a/spm/spm_eeg_mask2channels.py +++ b/spm/spm_eeg_mask2channels.py @@ -2,7 +2,7 @@ def spm_eeg_mask2channels(*args, **kwargs): - """ + r""" Make a list of channel labels based on scalp mask FORMAT chanind = spm_eeg_mask2channels(D, mask) @@ -15,9 +15,12 @@ def spm_eeg_mask2channels(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_eeg_mask2channels.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_eeg_mask2channels.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_eeg_mask2channels", *args, **kwargs) diff --git a/spm/spm_eeg_merge.py b/spm/spm_eeg_merge.py index 1bc2a871..0ab05eb9 100644 --- a/spm/spm_eeg_merge.py +++ b/spm/spm_eeg_merge.py @@ -2,7 +2,7 @@ def spm_eeg_merge(*args, **kwargs): - """ + r""" Concatenate epoched single trial files FORMAT Dout = spm_eeg_merge(S) @@ -61,9 +61,12 @@ def spm_eeg_merge(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_eeg_merge.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_eeg_merge.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_eeg_merge", *args, **kwargs) diff --git a/spm/spm_eeg_meshnative2mni.py b/spm/spm_eeg_meshnative2mni.py index 3991111f..1be44064 100644 --- a/spm/spm_eeg_meshnative2mni.py +++ b/spm/spm_eeg_meshnative2mni.py @@ -2,19 +2,19 @@ def spm_eeg_meshnative2mni(*args, **kwargs): - """ - function mnimesh=spm_eeg_meshnative2mni(nativemesh,mesh) + r""" + function nativemesh=spm_eeg_meshmni2native(mnimesh,mesh) Uses mesh ( spm mesh structure D.inv{:}.mesh ) to compute transform to - express - nativemesh(gifti filename) in native MRI space - as - mnimesh as gitfi structure in mni space + express mnimesh in native space replicates code segment from headmodel section of SPM code - [Matlab code]( https://github.com/spm/spm/blob/main/spm_eeg_meshnative2mni.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_eeg_meshnative2mni.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ - return Runtime.call("spm_eeg_meshnative2mni", *args, **kwargs) + return Runtime.call("spm_eeg_meshmni2native", *args, **kwargs) diff --git a/spm/spm_eeg_modality_ui.py b/spm/spm_eeg_modality_ui.py index edb1a507..d7801669 100644 --- a/spm/spm_eeg_modality_ui.py +++ b/spm/spm_eeg_modality_ui.py @@ -2,7 +2,7 @@ def spm_eeg_modality_ui(*args, **kwargs): - """ + r""" Attempt to determine the main modality of an MEEG object. If confused, asks the user. @@ -17,9 +17,12 @@ def spm_eeg_modality_ui(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_eeg_modality_ui.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_eeg_modality_ui.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_eeg_modality_ui", *args, **kwargs) diff --git a/spm/spm_eeg_montage.py b/spm/spm_eeg_montage.py index 016c9ad7..43d610dd 100644 --- a/spm/spm_eeg_montage.py +++ b/spm/spm_eeg_montage.py @@ -2,7 +2,7 @@ def spm_eeg_montage(*args, **kwargs): - """ + r""" Rereference EEG data to new reference channel(s) FORMAT [D, montage] = spm_eeg_montage(S) @@ -55,9 +55,12 @@ def spm_eeg_montage(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_eeg_montage.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_eeg_montage.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_eeg_montage", *args, **kwargs) diff --git a/spm/spm_eeg_montage_ui.py b/spm/spm_eeg_montage_ui.py index c10ea8fe..81240d52 100644 --- a/spm/spm_eeg_montage_ui.py +++ b/spm/spm_eeg_montage_ui.py @@ -2,7 +2,7 @@ def spm_eeg_montage_ui(*args, **kwargs): - """ + r""" GUI for EEG montage (rereference EEG data to new reference channel(s)) FORMAT montage = spm_eeg_montage_ui(montage) @@ -15,9 +15,12 @@ def spm_eeg_montage_ui(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_eeg_montage_ui.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_eeg_montage_ui.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_eeg_montage_ui", *args, **kwargs) diff --git a/spm/spm_eeg_morlet.py b/spm/spm_eeg_morlet.py index ff991d17..ed481f02 100644 --- a/spm/spm_eeg_morlet.py +++ b/spm/spm_eeg_morlet.py @@ -2,7 +2,7 @@ def spm_eeg_morlet(*args, **kwargs): - """ + r""" Generate Morlet wavelets FORMAT M = spm_eeg_morlet(Rtf, ST, f, ff) @@ -29,9 +29,12 @@ def spm_eeg_morlet(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_eeg_morlet.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_eeg_morlet.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_eeg_morlet", *args, **kwargs) diff --git a/spm/spm_eeg_planarchannelset.py b/spm/spm_eeg_planarchannelset.py index 451c547f..1c167191 100644 --- a/spm/spm_eeg_planarchannelset.py +++ b/spm/spm_eeg_planarchannelset.py @@ -2,7 +2,7 @@ def spm_eeg_planarchannelset(*args, **kwargs): - """ + r""" Define the planar gradiometer channel combinations FORMAT planar = spm_eeg_planarchannelset(data) @@ -11,9 +11,12 @@ def spm_eeg_planarchannelset(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_eeg_planarchannelset.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_eeg_planarchannelset.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_eeg_planarchannelset", *args, **kwargs) diff --git a/spm/spm_eeg_plotScalpData.py b/spm/spm_eeg_plotScalpData.py index c24a537b..b21e1deb 100644 --- a/spm/spm_eeg_plotScalpData.py +++ b/spm/spm_eeg_plotScalpData.py @@ -2,7 +2,7 @@ def spm_eeg_plotScalpData(*args, **kwargs): - """ + r""" Display M/EEG interpolated sensor data on a scalp image FORMAT [ZI,f] = spm_eeg_plotScalpData(Z,pos,ChanLabel,in) @@ -23,9 +23,12 @@ def spm_eeg_plotScalpData(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_eeg_plotScalpData.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_eeg_plotScalpData.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_eeg_plotScalpData", *args, **kwargs) diff --git a/spm/spm_eeg_prep.py b/spm/spm_eeg_prep.py index 4befeb0d..137f7f7e 100644 --- a/spm/spm_eeg_prep.py +++ b/spm/spm_eeg_prep.py @@ -2,7 +2,7 @@ def spm_eeg_prep(*args, **kwargs): - """ + r""" Prepare converted M/EEG data for further analysis FORMAT D = spm_eeg_prep(S) S - configuration structure (optional) @@ -20,9 +20,12 @@ def spm_eeg_prep(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_eeg_prep.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_eeg_prep.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_eeg_prep", *args, **kwargs) diff --git a/spm/spm_eeg_prep_ui.py b/spm/spm_eeg_prep_ui.py index 9b680db1..937aeca1 100644 --- a/spm/spm_eeg_prep_ui.py +++ b/spm/spm_eeg_prep_ui.py @@ -2,16 +2,19 @@ def spm_eeg_prep_ui(*args, **kwargs): - """ + r""" User interface for spm_eeg_prep function performing several tasks for preparation of converted MEEG data for further analysis FORMAT spm_eeg_prep_ui(callback) __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_eeg_prep_ui.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_eeg_prep_ui.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_eeg_prep_ui", *args, **kwargs, nargout=0) diff --git a/spm/spm_eeg_project3D.py b/spm/spm_eeg_project3D.py index 59cf8adf..83a24a2b 100644 --- a/spm/spm_eeg_project3D.py +++ b/spm/spm_eeg_project3D.py @@ -2,16 +2,19 @@ def spm_eeg_project3D(*args, **kwargs): - """ + r""" Wrapper function to a fieldtrip function to project 3D locations onto a 2D plane. FORMAT [xy,label] = spm_eeg_project3D(sens, modality) __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_eeg_project3D.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_eeg_project3D.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_eeg_project3D", *args, **kwargs) diff --git a/spm/spm_eeg_read_bsa.py b/spm/spm_eeg_read_bsa.py index 5910c5a7..a4cfc291 100644 --- a/spm/spm_eeg_read_bsa.py +++ b/spm/spm_eeg_read_bsa.py @@ -2,7 +2,7 @@ def spm_eeg_read_bsa(*args, **kwargs): - """ + r""" This function reads a definition of spatial confounds from a BESA *.bsa file and returns an sconfounds struct with the following fields .label - labels of channels @@ -11,9 +11,12 @@ def spm_eeg_read_bsa(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_eeg_read_bsa.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_eeg_read_bsa.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_eeg_read_bsa", *args, **kwargs) diff --git a/spm/spm_eeg_reduce.py b/spm/spm_eeg_reduce.py index 09b0d081..d09c6781 100644 --- a/spm/spm_eeg_reduce.py +++ b/spm/spm_eeg_reduce.py @@ -2,7 +2,7 @@ def spm_eeg_reduce(*args, **kwargs): - """ + r""" Apply data reduction to M/EEG dataset FORMAT D = spm_eeg_reduce(S) S - input structure @@ -28,9 +28,12 @@ def spm_eeg_reduce(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_eeg_reduce.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_eeg_reduce.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_eeg_reduce", *args, **kwargs) diff --git a/spm/spm_eeg_reduce_cva.py b/spm/spm_eeg_reduce_cva.py index b90422c7..af9b0456 100644 --- a/spm/spm_eeg_reduce_cva.py +++ b/spm/spm_eeg_reduce_cva.py @@ -2,7 +2,7 @@ def spm_eeg_reduce_cva(*args, **kwargs): - """ + r""" Plugin for data reduction using PCA FORMAT res = spm_eeg_reduce_cva(S) @@ -19,9 +19,12 @@ def spm_eeg_reduce_cva(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_eeg_reduce_cva.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_eeg_reduce_cva.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_eeg_reduce_cva", *args, **kwargs) diff --git a/spm/spm_eeg_reduce_imagcsd.py b/spm/spm_eeg_reduce_imagcsd.py index fc33fe22..085dda98 100644 --- a/spm/spm_eeg_reduce_imagcsd.py +++ b/spm/spm_eeg_reduce_imagcsd.py @@ -2,7 +2,7 @@ def spm_eeg_reduce_imagcsd(*args, **kwargs): - """ + r""" Plugin for data reduction based on the imaginary part of CSD with a reference chhannel FORMAT res = spm_eeg_reduce_imagcsd(S) @@ -20,9 +20,12 @@ def spm_eeg_reduce_imagcsd(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_eeg_reduce_imagcsd.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_eeg_reduce_imagcsd.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_eeg_reduce_imagcsd", *args, **kwargs) diff --git a/spm/spm_eeg_reduce_pca.py b/spm/spm_eeg_reduce_pca.py index e8993026..7d39e086 100644 --- a/spm/spm_eeg_reduce_pca.py +++ b/spm/spm_eeg_reduce_pca.py @@ -2,7 +2,7 @@ def spm_eeg_reduce_pca(*args, **kwargs): - """ + r""" Plugin for data reduction using PCA FORMAT res = spm_eeg_reduce_pca(S) @@ -19,9 +19,12 @@ def spm_eeg_reduce_pca(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_eeg_reduce_pca.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_eeg_reduce_pca.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_eeg_reduce_pca", *args, **kwargs) diff --git a/spm/spm_eeg_reduce_pca_adapt.py b/spm/spm_eeg_reduce_pca_adapt.py index 754b2bab..5c139fe3 100644 --- a/spm/spm_eeg_reduce_pca_adapt.py +++ b/spm/spm_eeg_reduce_pca_adapt.py @@ -2,7 +2,7 @@ def spm_eeg_reduce_pca_adapt(*args, **kwargs): - """ + r""" Plugin for data reduction using PCA FORMAT res = spm_eeg_reduce_pca(S) @@ -19,9 +19,12 @@ def spm_eeg_reduce_pca_adapt(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_eeg_reduce_pca_adapt.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_eeg_reduce_pca_adapt.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_eeg_reduce_pca_adapt", *args, **kwargs) diff --git a/spm/spm_eeg_reduce_whiten.py b/spm/spm_eeg_reduce_whiten.py index 3b719aca..20d3873a 100644 --- a/spm/spm_eeg_reduce_whiten.py +++ b/spm/spm_eeg_reduce_whiten.py @@ -2,7 +2,7 @@ def spm_eeg_reduce_whiten(*args, **kwargs): - """ + r""" Plugin for data whitening FORMAT res = spm_eeg_reduce_pca(S) @@ -19,9 +19,12 @@ def spm_eeg_reduce_whiten(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_eeg_reduce_whiten.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_eeg_reduce_whiten.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_eeg_reduce_whiten", *args, **kwargs) diff --git a/spm/spm_eeg_regressors.py b/spm/spm_eeg_regressors.py index ffc0e340..688dbdd7 100644 --- a/spm/spm_eeg_regressors.py +++ b/spm/spm_eeg_regressors.py @@ -2,7 +2,7 @@ def spm_eeg_regressors(*args, **kwargs): - """ + r""" Prepare regressors for GLM analysis of M/EEG data FORMAT regfile = spm_eeg_regressors(S) @@ -21,9 +21,12 @@ def spm_eeg_regressors(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_eeg_regressors.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_eeg_regressors.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_eeg_regressors", *args, **kwargs) diff --git a/spm/spm_eeg_regressors_chandata.py b/spm/spm_eeg_regressors_chandata.py index 4075c394..1233f203 100644 --- a/spm/spm_eeg_regressors_chandata.py +++ b/spm/spm_eeg_regressors_chandata.py @@ -2,7 +2,7 @@ def spm_eeg_regressors_chandata(*args, **kwargs): - """ + r""" Generate regressors from channel data FORMAT res = spm_eeg_regressors_chandata(S) S - input structure @@ -18,9 +18,12 @@ def spm_eeg_regressors_chandata(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_eeg_regressors_chandata.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_eeg_regressors_chandata.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_eeg_regressors_chandata", *args, **kwargs) diff --git a/spm/spm_eeg_regressors_movement_ctf.py b/spm/spm_eeg_regressors_movement_ctf.py index f1096178..48d3d770 100644 --- a/spm/spm_eeg_regressors_movement_ctf.py +++ b/spm/spm_eeg_regressors_movement_ctf.py @@ -2,7 +2,7 @@ def spm_eeg_regressors_movement_ctf(*args, **kwargs): - """ + r""" Generate movement regressors for CTF MEG data FORMAT res = spm_eeg_regressors_movement_ctf(S) S - input structure @@ -18,9 +18,12 @@ def spm_eeg_regressors_movement_ctf(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_eeg_regressors_movement_ctf.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_eeg_regressors_movement_ctf.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_eeg_regressors_movement_ctf", *args, **kwargs) diff --git a/spm/spm_eeg_regressors_tfphase.py b/spm/spm_eeg_regressors_tfphase.py index 3af993f8..407ffae1 100644 --- a/spm/spm_eeg_regressors_tfphase.py +++ b/spm/spm_eeg_regressors_tfphase.py @@ -2,7 +2,7 @@ def spm_eeg_regressors_tfphase(*args, **kwargs): - """ + r""" Generate regressors from phase in TF dataset FORMAT res = spm_eeg_regressors_tfphase(S) S - input structure @@ -18,9 +18,12 @@ def spm_eeg_regressors_tfphase(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_eeg_regressors_tfphase.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_eeg_regressors_tfphase.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_eeg_regressors_tfphase", *args, **kwargs) diff --git a/spm/spm_eeg_regressors_tfpower.py b/spm/spm_eeg_regressors_tfpower.py index 3fa21434..fbf88282 100644 --- a/spm/spm_eeg_regressors_tfpower.py +++ b/spm/spm_eeg_regressors_tfpower.py @@ -2,7 +2,7 @@ def spm_eeg_regressors_tfpower(*args, **kwargs): - """ + r""" Generate regressors from power in TF dataset FORMAT res = spm_eeg_regressors_tfpower(S) S - input structure @@ -18,9 +18,12 @@ def spm_eeg_regressors_tfpower(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_eeg_regressors_tfpower.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_eeg_regressors_tfpower.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_eeg_regressors_tfpower", *args, **kwargs) diff --git a/spm/spm_eeg_remove_bad_trials.py b/spm/spm_eeg_remove_bad_trials.py index 35656b29..c2d9738f 100644 --- a/spm/spm_eeg_remove_bad_trials.py +++ b/spm/spm_eeg_remove_bad_trials.py @@ -2,7 +2,7 @@ def spm_eeg_remove_bad_trials(*args, **kwargs): - """ + r""" Physically removes trials marked as bad from the dataset FORMAT D = spm_eeg_remove_bad_trials(S) @@ -20,9 +20,12 @@ def spm_eeg_remove_bad_trials(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_eeg_remove_bad_trials.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_eeg_remove_bad_trials.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_eeg_remove_bad_trials", *args, **kwargs) diff --git a/spm/spm_eeg_render.py b/spm/spm_eeg_render.py index e2c3c2dc..c6615ec8 100644 --- a/spm/spm_eeg_render.py +++ b/spm/spm_eeg_render.py @@ -2,7 +2,7 @@ def spm_eeg_render(*args, **kwargs): - """ + r""" Visualisation routine for the cortical surface FORMAT [out] = spm_eeg_render(m,options) @@ -36,9 +36,12 @@ def spm_eeg_render(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_eeg_render.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_eeg_render.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_eeg_render", *args, **kwargs) diff --git a/spm/spm_eeg_review.py b/spm/spm_eeg_review.py index 60b0cb78..af1b28fb 100644 --- a/spm/spm_eeg_review.py +++ b/spm/spm_eeg_review.py @@ -2,7 +2,7 @@ def spm_eeg_review(*args, **kwargs): - """ + r""" General review (display) of SPM meeg object FORMAT spm_eeg_review(D,flags,inv) @@ -14,9 +14,12 @@ def spm_eeg_review(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_eeg_review.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_eeg_review.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_eeg_review", *args, **kwargs, nargout=0) diff --git a/spm/spm_eeg_review_callbacks.py b/spm/spm_eeg_review_callbacks.py index fe43b347..f358e08a 100644 --- a/spm/spm_eeg_review_callbacks.py +++ b/spm/spm_eeg_review_callbacks.py @@ -2,14 +2,17 @@ def spm_eeg_review_callbacks(*args, **kwargs): - """ + r""" Callbacks of the M/EEG Review facility __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_eeg_review_callbacks.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_eeg_review_callbacks.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_eeg_review_callbacks", *args, **kwargs) diff --git a/spm/spm_eeg_review_switchDisplay.py b/spm/spm_eeg_review_switchDisplay.py index 0f3623c0..2361beb1 100644 --- a/spm/spm_eeg_review_switchDisplay.py +++ b/spm/spm_eeg_review_switchDisplay.py @@ -2,14 +2,17 @@ def spm_eeg_review_switchDisplay(*args, **kwargs): - """ + r""" Switch between displays in the M/EEG Review facility __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_eeg_review_switchDisplay.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_eeg_review_switchDisplay.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_eeg_review_switchDisplay", *args, **kwargs) diff --git a/spm/spm_eeg_review_uis.py b/spm/spm_eeg_review_uis.py index f24582f3..bb4403a7 100644 --- a/spm/spm_eeg_review_uis.py +++ b/spm/spm_eeg_review_uis.py @@ -2,14 +2,17 @@ def spm_eeg_review_uis(*args, **kwargs): - """ + r""" GUI of the M/EEG Review facility __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_eeg_review_uis.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_eeg_review_uis.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_eeg_review_uis", *args, **kwargs) diff --git a/spm/spm_eeg_robust_averaget.py b/spm/spm_eeg_robust_averaget.py index a6aeff32..6b7f8438 100644 --- a/spm/spm_eeg_robust_averaget.py +++ b/spm/spm_eeg_robust_averaget.py @@ -2,7 +2,7 @@ def spm_eeg_robust_averaget(*args, **kwargs): - """ + r""" Apply robust averaging routine to data sets FORMAT [B,Wf] = spm_eeg_robust_averaget(data,ks) data - data matrix to be averaged @@ -12,9 +12,12 @@ def spm_eeg_robust_averaget(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_eeg_robust_averaget.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_eeg_robust_averaget.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_eeg_robust_averaget", *args, **kwargs) diff --git a/spm/spm_eeg_select_event_ui.py b/spm/spm_eeg_select_event_ui.py index 2abc066a..cc3001f8 100644 --- a/spm/spm_eeg_select_event_ui.py +++ b/spm/spm_eeg_select_event_ui.py @@ -2,15 +2,18 @@ def spm_eeg_select_event_ui(*args, **kwargs): - """ + r""" Allow the user to select an event using GUI FORMAT selected = spm_eeg_select_event_ui(event) __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_eeg_select_event_ui.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_eeg_select_event_ui.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_eeg_select_event_ui", *args, **kwargs) diff --git a/spm/spm_eeg_simulate.py b/spm/spm_eeg_simulate.py index 5814bf8e..a1d97377 100644 --- a/spm/spm_eeg_simulate.py +++ b/spm/spm_eeg_simulate.py @@ -2,9 +2,9 @@ def spm_eeg_simulate(*args, **kwargs): - """ + r""" Simulate a number of MSP patches at specified locations on existing mesh - FORMAT [Dnew,meshsourceind]=spm_eeg_simulate(D,prefix,patchmni,simsignal,woi,whitenoise,SNRdB,trialind,mnimesh,dipfwhm); + function [Dnew,meshsourceind]=spm_eeg_simulate(D,prefix,patchmni,simsignal,ormni,woi,whitenoise,SNRdB,trialind,mnimesh,dipfwhm,nAmdipmom); D dataset prefix : prefix of new simulated dataset patchmni : patch centres in mni space or patch indices @@ -12,19 +12,23 @@ def spm_eeg_simulate(*args, **kwargs): woi: window of interest in seconds whitenoise level in rms femto Tesla or micro volts SNRdB power signal to noise ratio in dBs + if neither whitenoise nor SNRdB are specified. defaults to whitenoise=10 trialind: trials on which the simulated data will be added to the noise mnimesh : a new mesh with vertices in mni space - dipfwhm - patch smoothness in mm - + dipfwhm - patch smoothness in mm, defaults to 0 + nAmdipmom- dipole moment in nAm, defaults to 10 Outputs Dnew- new dataset meshsourceind- vertex indices of sources on the mesh __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_eeg_simulate.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_eeg_simulate.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_eeg_simulate", *args, **kwargs) diff --git a/spm/spm_eeg_simulate_frominv.py b/spm/spm_eeg_simulate_frominv.py index 34b87afc..af037dff 100644 --- a/spm/spm_eeg_simulate_frominv.py +++ b/spm/spm_eeg_simulate_frominv.py @@ -2,7 +2,7 @@ def spm_eeg_simulate_frominv(*args, **kwargs): - """ + r""" Project a source inversion solution back out to the sensor level plus some noise FORMAT [Dnew] = spm_eeg_simulate_frominv(D,prefix,val,whitenoise,SNRdB,trialind) D - original dataset @@ -15,9 +15,12 @@ def spm_eeg_simulate_frominv(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_eeg_simulate_frominv.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_eeg_simulate_frominv.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_eeg_simulate_frominv", *args, **kwargs) diff --git a/spm/spm_eeg_smoothmesh_mm.py b/spm/spm_eeg_smoothmesh_mm.py index 366c5bf0..117ea088 100644 --- a/spm/spm_eeg_smoothmesh_mm.py +++ b/spm/spm_eeg_smoothmesh_mm.py @@ -2,7 +2,7 @@ def spm_eeg_smoothmesh_mm(*args, **kwargs): - """ + r""" Compute smoothing kernel for triangle mesh in mm FORMAT [allsmoothnames] = spm_eeg_smoothmesh_mm(meshname,allfwhm,redo) @@ -11,9 +11,12 @@ def spm_eeg_smoothmesh_mm(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_eeg_smoothmesh_mm.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_eeg_smoothmesh_mm.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_eeg_smoothmesh_mm", *args, **kwargs) diff --git a/spm/spm_eeg_spatial_confounds.py b/spm/spm_eeg_spatial_confounds.py index 159bf898..e5df2152 100644 --- a/spm/spm_eeg_spatial_confounds.py +++ b/spm/spm_eeg_spatial_confounds.py @@ -2,7 +2,7 @@ def spm_eeg_spatial_confounds(*args, **kwargs): - """ + r""" This function defines spatial confounds and adds them to MEEG dataset. FORMAT D = spm_eeg_spatial_confounds(S) @@ -14,9 +14,12 @@ def spm_eeg_spatial_confounds(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_eeg_spatial_confounds.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_eeg_spatial_confounds.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_eeg_spatial_confounds", *args, **kwargs) diff --git a/spm/spm_eeg_specest_hilbert.py b/spm/spm_eeg_specest_hilbert.py index 3c3894a6..124f09eb 100644 --- a/spm/spm_eeg_specest_hilbert.py +++ b/spm/spm_eeg_specest_hilbert.py @@ -2,7 +2,7 @@ def spm_eeg_specest_hilbert(*args, **kwargs): - """ + r""" Plugin for spm_eeg_tf implementing spectral estimation using Hilbert transform FORMAT res = spm_eeg_specest_hilbert(S, data, time) @@ -26,9 +26,12 @@ def spm_eeg_specest_hilbert(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_eeg_specest_hilbert.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_eeg_specest_hilbert.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_eeg_specest_hilbert", *args, **kwargs) diff --git a/spm/spm_eeg_specest_morlet.py b/spm/spm_eeg_specest_morlet.py index 5bf9a9e3..a6827b64 100644 --- a/spm/spm_eeg_specest_morlet.py +++ b/spm/spm_eeg_specest_morlet.py @@ -2,7 +2,7 @@ def spm_eeg_specest_morlet(*args, **kwargs): - """ + r""" Plugin for spm_eeg_tf implementing Morlet wavelet transform FORMAT res = spm_eeg_specest_morlet(S, data, time) @@ -27,9 +27,12 @@ def spm_eeg_specest_morlet(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_eeg_specest_morlet.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_eeg_specest_morlet.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_eeg_specest_morlet", *args, **kwargs) diff --git a/spm/spm_eeg_specest_mtmconvol.py b/spm/spm_eeg_specest_mtmconvol.py index f7875c65..d458586e 100644 --- a/spm/spm_eeg_specest_mtmconvol.py +++ b/spm/spm_eeg_specest_mtmconvol.py @@ -2,7 +2,7 @@ def spm_eeg_specest_mtmconvol(*args, **kwargs): - """ + r""" Plugin for spm_eeg_tf implementing spectral estimation using Fieldtrip's freqanalysis_mtmconvol FORMAT res = spm_eeg_specest_mtmconvol(S, data, time) @@ -29,9 +29,12 @@ def spm_eeg_specest_mtmconvol(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_eeg_specest_mtmconvol.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_eeg_specest_mtmconvol.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_eeg_specest_mtmconvol", *args, **kwargs) diff --git a/spm/spm_eeg_specest_mtmfft.py b/spm/spm_eeg_specest_mtmfft.py index 745757d5..b79068b1 100644 --- a/spm/spm_eeg_specest_mtmfft.py +++ b/spm/spm_eeg_specest_mtmfft.py @@ -2,7 +2,7 @@ def spm_eeg_specest_mtmfft(*args, **kwargs): - """ + r""" Plugin for spm_eeg_tf implementing spectral estimation using Fieldtrip's freqanalysis_mtmconvol FORMAT res = spm_eeg_specest_mtmfft(S, data, time) @@ -26,9 +26,12 @@ def spm_eeg_specest_mtmfft(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_eeg_specest_mtmfft.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_eeg_specest_mtmfft.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_eeg_specest_mtmfft", *args, **kwargs) diff --git a/spm/spm_eeg_spmft_chan_dictionary.py b/spm/spm_eeg_spmft_chan_dictionary.py index c7bf3c4d..cd2fbcdd 100644 --- a/spm/spm_eeg_spmft_chan_dictionary.py +++ b/spm/spm_eeg_spmft_chan_dictionary.py @@ -2,15 +2,18 @@ def spm_eeg_spmft_chan_dictionary(*args, **kwargs): - """ + r""" Return a table of corresponce between SPM and FieldTrip channel types FORMAT dictionary = spm_eeg_spmft_chan_dictionary __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_eeg_spmft_chan_dictionary.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_eeg_spmft_chan_dictionary.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_eeg_spmft_chan_dictionary", *args, **kwargs) diff --git a/spm/spm_eeg_tf.py b/spm/spm_eeg_tf.py index a59892fb..7defb0b0 100644 --- a/spm/spm_eeg_tf.py +++ b/spm/spm_eeg_tf.py @@ -2,7 +2,7 @@ def spm_eeg_tf(*args, **kwargs): - """ + r""" Compute instantaneous power and phase in peri-stimulus time and frequency FORMAT [Dtf, Dtph] = spm_eeg_tf(S) @@ -47,9 +47,12 @@ def spm_eeg_tf(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_eeg_tf.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_eeg_tf.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_eeg_tf", *args, **kwargs) diff --git a/spm/spm_eeg_tf_rescale.py b/spm/spm_eeg_tf_rescale.py index be31bf2c..3fcc22c2 100644 --- a/spm/spm_eeg_tf_rescale.py +++ b/spm/spm_eeg_tf_rescale.py @@ -2,7 +2,7 @@ def spm_eeg_tf_rescale(*args, **kwargs): - """ + r""" Rescale (avg) spectrogram with nonlinear and/or difference operator FORMAT [D] = spm_eeg_tf_rescale(S) @@ -30,9 +30,12 @@ def spm_eeg_tf_rescale(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_eeg_tf_rescale.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_eeg_tf_rescale.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_eeg_tf_rescale", *args, **kwargs) diff --git a/spm/spm_eeg_wrap_dipfit_vbecd.py b/spm/spm_eeg_wrap_dipfit_vbecd.py index 871635c2..888494ed 100644 --- a/spm/spm_eeg_wrap_dipfit_vbecd.py +++ b/spm/spm_eeg_wrap_dipfit_vbecd.py @@ -2,7 +2,7 @@ def spm_eeg_wrap_dipfit_vbecd(*args, **kwargs): - """ + r""" A cost function/wrapper to sit between non-linear optimisation spm_nlsi_gn.m and dipole fit routine spm__eeg_inv_vbecd.m sens and vol structures should be passed in M, where @@ -17,9 +17,12 @@ def spm_eeg_wrap_dipfit_vbecd(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_eeg_wrap_dipfit_vbecd.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_eeg_wrap_dipfit_vbecd.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_eeg_wrap_dipfit_vbecd", *args, **kwargs) diff --git a/spm/spm_eeg_wrap_momfit_vbecd.py b/spm/spm_eeg_wrap_momfit_vbecd.py index 4e35694f..73ac0b70 100644 --- a/spm/spm_eeg_wrap_momfit_vbecd.py +++ b/spm/spm_eeg_wrap_momfit_vbecd.py @@ -2,7 +2,7 @@ def spm_eeg_wrap_momfit_vbecd(*args, **kwargs): - """ + r""" A cost function/wrapper to sit between non-linear optimisation spm_nlsi_gn.m and dipole fit routine spm_cfg_eeg_momentfit.m FORMAT [y,outside,leads] = spm_eeg_wrap_momfit_vbecd(P,M,U) @@ -18,9 +18,12 @@ def spm_eeg_wrap_momfit_vbecd(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_eeg_wrap_momfit_vbecd.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_eeg_wrap_momfit_vbecd.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_eeg_wrap_momfit_vbecd", *args, **kwargs) diff --git a/spm/spm_ekf.py b/spm/spm_ekf.py index e4c619ed..8fb17209 100644 --- a/spm/spm_ekf.py +++ b/spm/spm_ekf.py @@ -2,7 +2,7 @@ def spm_ekf(*args, **kwargs): - """ + r""" Extended Kalman Filtering for dynamic models FORMAT [x,P] = spm_ekf(M,y) M - model specification structure @@ -28,9 +28,12 @@ def spm_ekf(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_ekf.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_ekf.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_ekf", *args, **kwargs) diff --git a/spm/spm_en.py b/spm/spm_en.py index ef8184cc..7530d9bc 100644 --- a/spm/spm_en.py +++ b/spm/spm_en.py @@ -2,7 +2,7 @@ def spm_en(*args, **kwargs): - """ + r""" Euclidean normalization FORMAT [X] = spm_en(X,[p]) X - matrix @@ -14,9 +14,12 @@ def spm_en(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_en.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_en.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_en", *args, **kwargs) diff --git a/spm/spm_epharm.py b/spm/spm_epharm.py index 5738e083..162dc64d 100644 --- a/spm/spm_epharm.py +++ b/spm/spm_epharm.py @@ -2,7 +2,7 @@ def spm_epharm(*args, **kwargs): - """ + r""" basis set of prolate spheroidal harmonics for modelling magnetic interfecnce observed by point magnetometers. FORMAT harmonics = spm_epharm(v,n,a,b,L) @@ -17,9 +17,12 @@ def spm_epharm(*args, **kwargs): Copyright (C) 2023 Tim Tierney - [Matlab code]( https://github.com/spm/spm/blob/main/spm_epharm.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_epharm.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_epharm", *args, **kwargs) diff --git a/spm/spm_erode.py b/spm/spm_erode.py index 8e010bc4..965669a6 100644 --- a/spm/spm_erode.py +++ b/spm/spm_erode.py @@ -2,7 +2,7 @@ def spm_erode(*args, **kwargs): - """ + r""" Perform an erosion on an image (2D or 3D) FORMAT ima = spm_erode(ima) FORMAT ima = spm_erode(ima,kernel) @@ -33,9 +33,12 @@ def spm_erode(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_erode.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_erode.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_erode", *args, **kwargs) diff --git a/spm/spm_est_V.py b/spm/spm_est_V.py index ad18e2fd..bcb1e15c 100644 --- a/spm/spm_est_V.py +++ b/spm/spm_est_V.py @@ -2,7 +2,7 @@ def spm_est_V(*args, **kwargs): - """ + r""" Test routine to evaluate non-sphericity correction (ReML Whitening) FORMAT [h] = spm_est_V(SPM,c) SPM - structure containing generic analysis details @@ -12,9 +12,12 @@ def spm_est_V(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_est_V.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_est_V.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_est_V", *args, **kwargs) diff --git a/spm/spm_est_non_sphericity.py b/spm/spm_est_non_sphericity.py index f03fe206..5621751a 100644 --- a/spm/spm_est_non_sphericity.py +++ b/spm/spm_est_non_sphericity.py @@ -2,7 +2,7 @@ def spm_est_non_sphericity(*args, **kwargs): - """ + r""" Non-sphericity estimation using ReML FORMAT [xVi, mask] = spm_est_non_sphericity(SPM) @@ -33,9 +33,12 @@ def spm_est_non_sphericity(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_est_non_sphericity.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_est_non_sphericity.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_est_non_sphericity", *args, **kwargs) diff --git a/spm/spm_est_smoothness.py b/spm/spm_est_smoothness.py index bb765188..823e81e1 100644 --- a/spm/spm_est_smoothness.py +++ b/spm/spm_est_smoothness.py @@ -2,7 +2,7 @@ def spm_est_smoothness(*args, **kwargs): - """ + r""" Estimation of smoothness based on [residual] images FORMAT [FWHM,VRpv,R] = spm_est_smoothness(V,VM,[ndf]) @@ -56,9 +56,12 @@ def spm_est_smoothness(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_est_smoothness.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_est_smoothness.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_est_smoothness", *args, **kwargs) diff --git a/spm/spm_existfile.py b/spm/spm_existfile.py index cb8f8c7f..6120bbbc 100644 --- a/spm/spm_existfile.py +++ b/spm/spm_existfile.py @@ -2,7 +2,7 @@ def spm_existfile(*args, **kwargs): - """ + r""" Check if a file exists on disk - a compiled routine FORMAT s = spm_existfile(filename) filename - filename (can also be a relative or full pathname to a file) @@ -17,9 +17,12 @@ def spm_existfile(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_existfile.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_existfile.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_existfile", *args, **kwargs) diff --git a/spm/spm_expm.py b/spm/spm_expm.py index 8686d1cf..910c929d 100644 --- a/spm/spm_expm.py +++ b/spm/spm_expm.py @@ -2,7 +2,7 @@ def spm_expm(*args, **kwargs): - """ + r""" Approximate matrix exponential using a Taylor expansion FORMAT [y] = spm_expm(J,x) FORMAT [y] = spm_expm(J) @@ -16,9 +16,12 @@ def spm_expm(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_expm.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_expm.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_expm", *args, **kwargs) diff --git a/spm/spm_extract_files.py b/spm/spm_extract_files.py index a4562b24..3a431a09 100644 --- a/spm/spm_extract_files.py +++ b/spm/spm_extract_files.py @@ -2,16 +2,19 @@ def spm_extract_files(*args, **kwargs): - """ + r""" FORMAT spm_extract_files(P,cwd) forints files (and their subroutines) and expect them to the current directory __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_extract_files.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_extract_files.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_extract_files", *args, **kwargs, nargout=0) diff --git a/spm/spm_extrapolate_def.py b/spm/spm_extrapolate_def.py index 47c9a997..94c75254 100644 --- a/spm/spm_extrapolate_def.py +++ b/spm/spm_extrapolate_def.py @@ -2,7 +2,7 @@ def spm_extrapolate_def(*args, **kwargs): - """ + r""" Fill in non-finite values in a deformation field FORMAT Y = spm_extrapolate_def(Y,M) Y - the deformation field @@ -14,9 +14,12 @@ def spm_extrapolate_def(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_extrapolate_def.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_extrapolate_def.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_extrapolate_def", *args, **kwargs) diff --git a/spm/spm_fMRI_design.py b/spm/spm_fMRI_design.py index cbd82db8..1488f3eb 100644 --- a/spm/spm_fMRI_design.py +++ b/spm/spm_fMRI_design.py @@ -2,7 +2,7 @@ def spm_fMRI_design(*args, **kwargs): - """ + r""" Assemble a design for fMRI studies FORMAT [SPM] = spm_fMRI_design(SPM) @@ -169,9 +169,12 @@ def spm_fMRI_design(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_fMRI_design.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_fMRI_design.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_fMRI_design", *args, **kwargs) diff --git a/spm/spm_field.py b/spm/spm_field.py index e39e9536..aedc2da0 100644 --- a/spm/spm_field.py +++ b/spm/spm_field.py @@ -2,7 +2,7 @@ def spm_field(*args, **kwargs): - """ + r""" A compiled routine for various spatially regularised inverse problems __________________________________________________________________________ @@ -129,9 +129,12 @@ def spm_field(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_field.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_field.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_field", *args, **kwargs) diff --git a/spm/spm_fieldindices.py b/spm/spm_fieldindices.py index af1a0a99..c25f0207 100644 --- a/spm/spm_fieldindices.py +++ b/spm/spm_fieldindices.py @@ -2,7 +2,7 @@ def spm_fieldindices(*args, **kwargs): - """ + r""" Return the indices of fields in a structure (and vice versa) FORMAT [i] = spm_fieldindices(X,field1,field2,...) FORMAT [field] = spm_fieldindices(X,i) @@ -18,9 +18,12 @@ def spm_fieldindices(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_fieldindices.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_fieldindices.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_fieldindices", *args, **kwargs) diff --git a/spm/spm_figure.py b/spm/spm_figure.py index 53a232d3..fb76613f 100644 --- a/spm/spm_figure.py +++ b/spm/spm_figure.py @@ -2,7 +2,7 @@ def spm_figure(*args, **kwargs): - """ + r""" Setup and callback functions for Graphics window FORMAT varargout = spm_figure(varargin) @@ -48,9 +48,12 @@ def spm_figure(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_figure.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_figure.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_figure", *args, **kwargs) diff --git a/spm/spm_file.py b/spm/spm_file.py index fecb36fe..7e6790a7 100644 --- a/spm/spm_file.py +++ b/spm/spm_file.py @@ -2,7 +2,7 @@ def spm_file(*args, **kwargs): - """ + r""" Character array (or cell array of strings) handling facility FORMAT str = spm_file(str,option) str - character array, or cell array of strings @@ -57,9 +57,12 @@ def spm_file(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_file.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_file.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_file", *args, **kwargs) diff --git a/spm/spm_file_ext.py b/spm/spm_file_ext.py index a4eae74a..a073d6d4 100644 --- a/spm/spm_file_ext.py +++ b/spm/spm_file_ext.py @@ -2,7 +2,7 @@ def spm_file_ext(*args, **kwargs): - """ + r""" Return or set file extension for SPM images FORMAT ext = spm_file_ext ext - file extension (e.g. '.img' or '.nii' for NIfTI images) @@ -16,9 +16,12 @@ def spm_file_ext(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_file_ext.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_file_ext.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_file_ext", *args, **kwargs) diff --git a/spm/spm_file_merge.py b/spm/spm_file_merge.py index b8b848af..94a7beb8 100644 --- a/spm/spm_file_merge.py +++ b/spm/spm_file_merge.py @@ -2,7 +2,7 @@ def spm_file_merge(*args, **kwargs): - """ + r""" Concatenate 3D volumes into a single 4D volume FORMAT V4 = spm_file_merge(V,fname,dt,RT) V - images to concatenate (char array or spm_vol struct) @@ -21,9 +21,12 @@ def spm_file_merge(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_file_merge.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_file_merge.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_file_merge", *args, **kwargs) diff --git a/spm/spm_file_split.py b/spm/spm_file_split.py index b283a1d4..e7746bc4 100644 --- a/spm/spm_file_split.py +++ b/spm/spm_file_split.py @@ -2,7 +2,7 @@ def spm_file_split(*args, **kwargs): - """ + r""" Convert a 4D volume file into a series of 3D volume files FORMAT Vo = spm_file_split(V, odir) V - filename or spm_vol struct @@ -12,9 +12,12 @@ def spm_file_split(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_file_split.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_file_split.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_file_split", *args, **kwargs) diff --git a/spm/spm_fileparts.py b/spm/spm_fileparts.py index fa8254e8..133427a9 100644 --- a/spm/spm_fileparts.py +++ b/spm/spm_fileparts.py @@ -2,7 +2,7 @@ def spm_fileparts(*args, **kwargs): - """ + r""" Like fileparts, but separates off a comma separated list at the end FORMAT [pth,nam,ext,num] = spm_fileparts(fname) fname - original filename @@ -14,9 +14,12 @@ def spm_fileparts(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_fileparts.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_fileparts.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_fileparts", *args, **kwargs) diff --git a/spm/spm_filter.py b/spm/spm_filter.py index ab967f9d..3efa13dd 100644 --- a/spm/spm_filter.py +++ b/spm/spm_filter.py @@ -2,7 +2,7 @@ def spm_filter(*args, **kwargs): - """ + r""" Removes low frequency confounds X0 FORMAT [Y] = spm_filter(K,Y) FORMAT [K] = spm_filter(K) @@ -29,9 +29,12 @@ def spm_filter(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_filter.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_filter.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_filter", *args, **kwargs) diff --git a/spm/spm_find_pC.py b/spm/spm_find_pC.py index e5dc1ca9..cf3a6485 100644 --- a/spm/spm_find_pC.py +++ b/spm/spm_find_pC.py @@ -2,7 +2,7 @@ def spm_find_pC(*args, **kwargs): - """ + r""" Utility routine that finds the indices of non-zero covariance FORMAT [i,pC,pE,Np] = spm_find_pC(pC,pE,fields) FORMAT [i,pC,pE,Np] = spm_find_pC(DCM,fields) @@ -23,9 +23,12 @@ def spm_find_pC(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_find_pC.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_find_pC.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_find_pC", *args, **kwargs) diff --git a/spm/spm_flip_analyze_images.py b/spm/spm_flip_analyze_images.py index 7fa98f56..e6cfeacc 100644 --- a/spm/spm_flip_analyze_images.py +++ b/spm/spm_flip_analyze_images.py @@ -2,7 +2,7 @@ def spm_flip_analyze_images(*args, **kwargs): - """ + r""" Do Analyze format images need to be left-right flipped? The default behaviour is to have the indices of the voxels stored as left-handed and interpret the mm coordinates within a right-handed coordinate system. @@ -12,9 +12,12 @@ def spm_flip_analyze_images(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_flip_analyze_images.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_flip_analyze_images.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_flip_analyze_images", *args, **kwargs) diff --git a/spm/spm_fmin.py b/spm/spm_fmin.py index 3e8a8717..39ec49c9 100644 --- a/spm/spm_fmin.py +++ b/spm/spm_fmin.py @@ -2,7 +2,7 @@ def spm_fmin(*args, **kwargs): - """ + r""" Objective function minimisation FORMAT [P,F] = spm_fmin('fun',P,C,varargin) @@ -27,9 +27,12 @@ def spm_fmin(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_fmin.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_fmin.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_fmin", *args, **kwargs) diff --git a/spm/spm_fmri_concatenate.py b/spm/spm_fmri_concatenate.py index 882685e7..fbe5988a 100644 --- a/spm/spm_fmri_concatenate.py +++ b/spm/spm_fmri_concatenate.py @@ -2,7 +2,7 @@ def spm_fmri_concatenate(*args, **kwargs): - """ + r""" Adjust an SPM.mat which has concatenated sessions FORMAT spm_fmri_concatenate(P, scans) Session regressors are added and the high-pass filter and non-sphericity @@ -25,9 +25,12 @@ def spm_fmri_concatenate(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_fmri_concatenate.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_fmri_concatenate.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_fmri_concatenate", *args, **kwargs) diff --git a/spm/spm_fmri_spm_ui.py b/spm/spm_fmri_spm_ui.py index fa075ffe..8a3273f3 100644 --- a/spm/spm_fmri_spm_ui.py +++ b/spm/spm_fmri_spm_ui.py @@ -2,7 +2,7 @@ def spm_fmri_spm_ui(*args, **kwargs): - """ + r""" Setting up the general linear model for fMRI time-series FORMAT [SPM] = spm_fmri_spm_ui(SPM) @@ -175,9 +175,12 @@ def spm_fmri_spm_ui(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_fmri_spm_ui.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_fmri_spm_ui.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_fmri_spm_ui", *args, **kwargs) diff --git a/spm/spm_fn_reml.py b/spm/spm_fn_reml.py index dca4ce14..b1d76a7b 100644 --- a/spm/spm_fn_reml.py +++ b/spm/spm_fn_reml.py @@ -2,7 +2,7 @@ def spm_fn_reml(*args, **kwargs): - """ + r""" ReML estimation of covariance components from y*y' FORMAT [C,h,Ph,F] = spm_fn_reml(YY,X,Q,N,hE,K); @@ -25,9 +25,12 @@ def spm_fn_reml(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_fn_reml.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_fn_reml.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_fn_reml", *args, **kwargs) diff --git a/spm/spm_fp.py b/spm/spm_fp.py index b7fc8685..374683f3 100644 --- a/spm/spm_fp.py +++ b/spm/spm_fp.py @@ -2,7 +2,7 @@ def spm_fp(*args, **kwargs): - """ + r""" Fokker-Planck operators and equilibrium density for dynamic systems FORMAT [M0,q0,X,x,f,M1,L] = spm_fp(M,x,u) -------------------------------------------------------------------------- @@ -28,9 +28,12 @@ def spm_fp(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_fp.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_fp.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_fp", *args, **kwargs) diff --git a/spm/spm_fp_display_density.py b/spm/spm_fp_display_density.py index 49344d9b..5e3c7fbd 100644 --- a/spm/spm_fp_display_density.py +++ b/spm/spm_fp_display_density.py @@ -2,7 +2,7 @@ def spm_fp_display_density(*args, **kwargs): - """ + r""" Quiver plot of flow and equilibrium density FORMAT [F,X] = spm_fp_display_density(M,x) @@ -14,9 +14,12 @@ def spm_fp_display_density(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_fp_display_density.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_fp_display_density.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_fp_display_density", *args, **kwargs) diff --git a/spm/spm_fp_display_nullclines.py b/spm/spm_fp_display_nullclines.py index a1d0233e..8bb819ea 100644 --- a/spm/spm_fp_display_nullclines.py +++ b/spm/spm_fp_display_nullclines.py @@ -2,7 +2,7 @@ def spm_fp_display_nullclines(*args, **kwargs): - """ + r""" Nullcline plot of flow and sample trajectory FORMAT spm_fp_display_nullclines(M,x) @@ -13,9 +13,12 @@ def spm_fp_display_nullclines(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_fp_display_nullclines.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_fp_display_nullclines.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_fp_display_nullclines", *args, **kwargs) diff --git a/spm/spm_fp_fmin.py b/spm/spm_fp_fmin.py index 518aefe0..1f5ed9d1 100644 --- a/spm/spm_fp_fmin.py +++ b/spm/spm_fp_fmin.py @@ -2,7 +2,7 @@ def spm_fp_fmin(*args, **kwargs): - """ + r""" Optimise the parameters with respect to an equilibrium density FORMAT [P] = spm_fp_fmin(M) @@ -18,9 +18,12 @@ def spm_fp_fmin(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_fp_fmin.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_fp_fmin.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_fp_fmin", *args, **kwargs) diff --git a/spm/spm_fp_fun.py b/spm/spm_fp_fun.py index 43895c0f..e3a4fabc 100644 --- a/spm/spm_fp_fun.py +++ b/spm/spm_fp_fun.py @@ -2,7 +2,7 @@ def spm_fp_fun(*args, **kwargs): - """ + r""" Return the predicted diffusion for Fokker Planck optimisation FORMAT [y] = spm_fp_fun(P,M,U) @@ -18,9 +18,12 @@ def spm_fp_fun(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_fp_fun.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_fp_fun.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_fp_fun", *args, **kwargs) diff --git a/spm/spm_fs_fmri_csd.py b/spm/spm_fs_fmri_csd.py index cdf16c31..f5315b86 100644 --- a/spm/spm_fs_fmri_csd.py +++ b/spm/spm_fs_fmri_csd.py @@ -2,7 +2,7 @@ def spm_fs_fmri_csd(*args, **kwargs): - """ + r""" Spectral feature selection for a CSD DCM FORMAT [y] = spm_fs_fmri_csd(y,M) y - CSD @@ -16,9 +16,12 @@ def spm_fs_fmri_csd(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_fs_fmri_csd.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_fs_fmri_csd.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_fs_fmri_csd", *args, **kwargs) diff --git a/spm/spm_funcheck.py b/spm/spm_funcheck.py index 679abbe4..7e4ab796 100644 --- a/spm/spm_funcheck.py +++ b/spm/spm_funcheck.py @@ -2,7 +2,7 @@ def spm_funcheck(*args, **kwargs): - """ + r""" Convert strings and inline objects to function handles FORMAT [h] = spm_funcheck(f) @@ -11,9 +11,12 @@ def spm_funcheck(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_funcheck.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_funcheck.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_funcheck", *args, **kwargs) diff --git a/spm/spm_funfun.py b/spm/spm_funfun.py index 2ce2431e..bfac627e 100644 --- a/spm/spm_funfun.py +++ b/spm/spm_funfun.py @@ -2,7 +2,7 @@ def spm_funfun(*args, **kwargs): - """ + r""" Utility function to evaluate functionals FORMAT [F] = spm_funfun({f1,x11,x12,..f2,x22,...) @@ -14,9 +14,12 @@ def spm_funfun(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_funfun.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_funfun.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_funfun", *args, **kwargs) diff --git a/spm/spm_fx_NESS.py b/spm/spm_fx_NESS.py new file mode 100644 index 00000000..07645b6c --- /dev/null +++ b/spm/spm_fx_NESS.py @@ -0,0 +1,64 @@ +from spm._runtime import Runtime + + +def spm_fx_NESS(*args, **kwargs): + r""" + Generate flow (f) at locations x + FORMAT f = spm_fx_NESS(x,u,P,M) + -------------------------------------------------------------------------- + x - latent states + u - exogenous input + P.Qp - polynomial coefficients for solenoidal operator + P.Sp - polynomial coefficients for kernel (suprisal) + P.Rp - polynomial coefficients for mean (suprisal) + P.W - precision of random fluctuations + + f - polynomial approximation to flow + S - surprisal or negative (log NESS density) + Q - flow operator (R + G) with solenoidal and symmetric parts + L - correction term for derivatives of solenoidal flow + H - Hessian + + U = spm_NESS_U(x) + -------------------------------------------------------------------------- + U.b - polynomial basis + U.D - derivative operator + U.dbQdp - gradients of bQ w.r.t. flow parameters + + flow (Jacobian J = df/dx) + -------------------------------------------------------------------------- + S = -ln(p(x)) = x*H*x'/2; + dS/dx = H*x + f = -(R + G)*dS/dx = -Q*dS/dx = -Q*H*x + df/dx = -(R + G)*H = -Q*H = J + H = K'*K + G = inv(W)/2; + + This routine returns the flow or dynamics of a nonequilibrium + steady-state model, parameterised under the Helmholtz-Hodge decomposition + (up to 2nd order) in terms of flow operators Q and surprisal gradients. + The flow has solenoidal (R) and dissipative (G) parts, while the + surprisal S or self-information is parameterised to 2nd order, with the + proviso that the requisite Hessian (i.e., precision of the nonequilibrium + steady-state density) is itself state-dependent to 1st order (by + parameterising the Hessian in terms of the outer product of a surprisal + kernel with itself H = K’*K. The underlying surprisal or log Ness + density, the flow operators and the Hessian can also be returned by + increasing the number of output arguments. + + NB: these output arguments are suppressed in the current code because the + accompanying inversion schemes expect the Jacobian to be returned as the + second argument. And the Jacobian is most simply evaluated numerically, + or with automatic differentiation. + __________________________________________________________________________ + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_fx_NESS.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("spm_fx_NESS", *args, **kwargs) diff --git a/spm/spm_fx_fmri.py b/spm/spm_fx_fmri.py index 783403f6..dc6c37e3 100644 --- a/spm/spm_fx_fmri.py +++ b/spm/spm_fx_fmri.py @@ -2,7 +2,7 @@ def spm_fx_fmri(*args, **kwargs): - """ + r""" State equation for a dynamic [bilinear/nonlinear/Balloon] model of fMRI responses FORMAT [f,dfdx,D,dfdu] = spm_fx_fmri(x,u,P,M) @@ -37,9 +37,12 @@ def spm_fx_fmri(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_fx_fmri.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_fx_fmri.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_fx_fmri", *args, **kwargs) diff --git a/spm/spm_fx_fmri_linear.py b/spm/spm_fx_fmri_linear.py index 4727b432..54d70faf 100644 --- a/spm/spm_fx_fmri_linear.py +++ b/spm/spm_fx_fmri_linear.py @@ -2,7 +2,7 @@ def spm_fx_fmri_linear(*args, **kwargs): - """ + r""" State equation for a dynamic model of fMRI (linear version) responses FORMAT [y] = spm_fx_fmri_linear(x,u,P,M) x - state vector @@ -33,9 +33,12 @@ def spm_fx_fmri_linear(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_fx_fmri_linear.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_fx_fmri_linear.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_fx_fmri_linear", *args, **kwargs) diff --git a/spm/spm_fx_hdm.py b/spm/spm_fx_hdm.py index 111a3c2d..04b78e2c 100644 --- a/spm/spm_fx_hdm.py +++ b/spm/spm_fx_hdm.py @@ -2,7 +2,7 @@ def spm_fx_hdm(*args, **kwargs): - """ + r""" State equation for the hemodynamic model FORMAT [f] = spm_fx_hdm(x,u,P,M) x - state vector @@ -30,9 +30,12 @@ def spm_fx_hdm(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_fx_hdm.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_fx_hdm.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_fx_hdm", *args, **kwargs) diff --git a/spm/spm_fx_lz.py b/spm/spm_fx_lz.py index 1619e522..bde01c68 100644 --- a/spm/spm_fx_lz.py +++ b/spm/spm_fx_lz.py @@ -2,7 +2,7 @@ def spm_fx_lz(*args, **kwargs): - """ + r""" flow for Lorenz attractor FORMAT [y] = spm_fx_lz(x,u,P) x - state @@ -11,9 +11,12 @@ def spm_fx_lz(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_fx_lz.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_fx_lz.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_fx_lz", *args, **kwargs) diff --git a/spm/spm_fx_poly.py b/spm/spm_fx_poly.py index ab480663..97d5c620 100644 --- a/spm/spm_fx_poly.py +++ b/spm/spm_fx_poly.py @@ -2,7 +2,7 @@ def spm_fx_poly(*args, **kwargs): - """ + r""" Normal (bilinear) form equation of motion FORMAT [f] = spm_fx_poly(x,v,P) x - state vector @@ -13,9 +13,12 @@ def spm_fx_poly(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_fx_poly.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_fx_poly.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_fx_poly", *args, **kwargs) diff --git a/spm/spm_gamrnd.py b/spm/spm_gamrnd.py index 638c4655..f3451732 100644 --- a/spm/spm_gamrnd.py +++ b/spm/spm_gamrnd.py @@ -2,7 +2,7 @@ def spm_gamrnd(*args, **kwargs): - """ + r""" Random arrays from gamma distribution - a compiled routine FORMAT r = spm_gamrnd(a,b,m,n,...) @@ -22,9 +22,12 @@ def spm_gamrnd(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_gamrnd.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_gamrnd.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_gamrnd", *args, **kwargs) diff --git a/spm/spm_gen_fmri.py b/spm/spm_gen_fmri.py index 17bc0b5e..37d7bc22 100644 --- a/spm/spm_gen_fmri.py +++ b/spm/spm_gen_fmri.py @@ -2,7 +2,7 @@ def spm_gen_fmri(*args, **kwargs): - """ + r""" Generate a prediction of (multimodal) source activity FORMAT [y,lfp,csd,w] = spm_gen_fmri(P,M,U) @@ -33,9 +33,12 @@ def spm_gen_fmri(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_gen_fmri.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_gen_fmri.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_gen_fmri", *args, **kwargs) diff --git a/spm/spm_getSPM.py b/spm/spm_getSPM.py index b61b76de..d8ef7d04 100644 --- a/spm/spm_getSPM.py +++ b/spm/spm_getSPM.py @@ -2,7 +2,7 @@ def spm_getSPM(*args, **kwargs): - """ + r""" Compute a specified and thresholded SPM/PPM following estimation FORMAT [SPM,xSPM] = spm_getSPM; Query SPM in interactive mode. @@ -185,9 +185,12 @@ def spm_getSPM(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_getSPM.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_getSPM.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_getSPM", *args, **kwargs) diff --git a/spm/spm_get_anatomical_layout.py b/spm/spm_get_anatomical_layout.py index fb3fc116..63d9e50c 100644 --- a/spm/spm_get_anatomical_layout.py +++ b/spm/spm_get_anatomical_layout.py @@ -2,7 +2,7 @@ def spm_get_anatomical_layout(*args, **kwargs): - """ + r""" Produce anatomically valid 2D representation of 3D sensor positions FORMAT [lay] = spm_get_anatomical_layout(sensor_positions, sensor_labels, head_positions, fiducials, plot_output) @@ -19,13 +19,16 @@ def spm_get_anatomical_layout(*args, **kwargs): fiducials.INI = [1 x 3] - Optional Note, if fiducials.INI is not specified it will be estimated. - plot_output: A logical value indicating whether to generate a + plot_output: (optional) A logical value indicating whether to generate a plot of measurements taken in 3D, as well as the output layout. + unit: (optional) A string, e.g. 'mm', will be estimated otherwise. + sensor_orientations: (optional) An nx3 matrix of orientation vectors of n + sensors Output: lay: A structure representing the anatomical sensor layout in the - FieldTrip style. It contains the following fields: + FieldTrip style. It contains the following fields: lay.pos: A nx2 matrix representing the 2D coordinates of the sensors in the layout. Each column contains the [x, y] coordinates of a sensor relative to the @@ -34,12 +37,15 @@ def spm_get_anatomical_layout(*args, **kwargs): lay.outline: A cell array of matrices representing the 2D coordinates of the head surface outline, ears and nose. - lay.mask: A cell array containing a matrix of positions which + lay.mask: A cell array containing a matrix of positions which draw a convex hull around lay.pos to mask grid positions which would otherwise be extrapolated to when plotting. To allow extrapolation to a full circle, try: lay.mask{1} = lay.outline{1}. + lay.ori: If sensor_orientations are provided then equivalent + 2D orientations are calculated. + __________________________________________________________________________ Further help: @@ -48,8 +54,8 @@ def spm_get_anatomical_layout(*args, **kwargs): according to the approximate polar grid used to place electrodes in the 10-20 system. The method then measures the position of on-scalp sensors in relation to this polar grid (angle and eccentricity) and applies this - to a standard 2D polar grid. For full details see Alexander et al (in - preparation). + to a standard 2D polar grid. For full details, or to cite this method see + Alexander et al (2025) available here: https://doi.org/10.1111/ejn.70060. The function performs the following steps: @@ -80,12 +86,23 @@ def spm_get_anatomical_layout(*args, **kwargs): the position of each sensor is reproduced on a 2D polar grid. This is then formatted as a FieldTrip style layout structure with a nose, ears, outline and mask. + + (optional) Represent Sensor Orientations in 2D: + A tangential basis is defined in both 3D and 2D as an line (across the + scalp) from RPA to LPA, passing through the sensor position. The + local direction of the arc at the sensor position defined the primary + tangential axis. Radial is defined as a vector towards the origin. + Secondary primary axis as the cross product of primary and radial + axes. In 2D, magnitude is scaled by radial similarity. _________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_get_anatomical_layout.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_get_anatomical_layout.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_get_anatomical_layout", *args, **kwargs) diff --git a/spm/spm_get_bbox.py b/spm/spm_get_bbox.py index 040fe72c..d0d110eb 100644 --- a/spm/spm_get_bbox.py +++ b/spm/spm_get_bbox.py @@ -2,7 +2,7 @@ def spm_get_bbox(*args, **kwargs): - """ + r""" Compute volume's bounding box, for full field of view or object bounds FORMAT [BB,vx] = spm_get_bbox(V, thr) V - mapped image volume(s) (from spm_vol) or filename (empty for GUI) @@ -16,9 +16,12 @@ def spm_get_bbox(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_get_bbox.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_get_bbox.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_get_bbox", *args, **kwargs) diff --git a/spm/spm_get_bf.py b/spm/spm_get_bf.py index 0e2614b5..9c960614 100644 --- a/spm/spm_get_bf.py +++ b/spm/spm_get_bf.py @@ -2,7 +2,7 @@ def spm_get_bf(*args, **kwargs): - """ + r""" Fill in basis function structure FORMAT [xBF] = spm_get_bf(xBF) @@ -32,9 +32,12 @@ def spm_get_bf(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_get_bf.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_get_bf.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_get_bf", *args, **kwargs) diff --git a/spm/spm_get_closest_affine.py b/spm/spm_get_closest_affine.py index c84e0477..4ca593d1 100644 --- a/spm/spm_get_closest_affine.py +++ b/spm/spm_get_closest_affine.py @@ -2,7 +2,7 @@ def spm_get_closest_affine(*args, **kwargs): - """ + r""" Determine the affine transform mapping x to y FORMAT [M,R] = spm_get_closest_affine(X,Y,W) X - n1*n2*n3*3 array of floats representing coordinates. @@ -27,9 +27,12 @@ def spm_get_closest_affine(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_get_closest_affine.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_get_closest_affine.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_get_closest_affine", *args, **kwargs) diff --git a/spm/spm_get_data.py b/spm/spm_get_data.py index a238ac60..2a7187ba 100644 --- a/spm/spm_get_data.py +++ b/spm/spm_get_data.py @@ -2,7 +2,7 @@ def spm_get_data(*args, **kwargs): - """ + r""" Get data from image files at specified locations FORMAT [Y] = spm_get_data(V,XYZ,check) @@ -16,9 +16,12 @@ def spm_get_data(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_get_data.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_get_data.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_get_data", *args, **kwargs) diff --git a/spm/spm_get_dataset.py b/spm/spm_get_dataset.py index f1ab0a20..77bbf236 100644 --- a/spm/spm_get_dataset.py +++ b/spm/spm_get_dataset.py @@ -2,7 +2,7 @@ def spm_get_dataset(*args, **kwargs): - """ + r""" Download a dataset from an online repository FORMAT spm_get_dataset(repo, name, outdir) repo - name of repository, one of ['spm', 'openfmri'] @@ -12,9 +12,12 @@ def spm_get_dataset(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_get_dataset.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_get_dataset.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_get_dataset", *args, **kwargs, nargout=0) diff --git a/spm/spm_get_defaults.py b/spm/spm_get_defaults.py index 204399d6..a06d66c0 100644 --- a/spm/spm_get_defaults.py +++ b/spm/spm_get_defaults.py @@ -2,7 +2,7 @@ def spm_get_defaults(*args, **kwargs): - """ + r""" Get/set the defaults values associated with an identifier FORMAT defaults = spm_get_defaults Return the global "defaults" variable defined in spm_defaults.m. @@ -22,9 +22,12 @@ def spm_get_defaults(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_get_defaults.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_get_defaults.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_get_defaults", *args, **kwargs) diff --git a/spm/spm_get_lm.py b/spm/spm_get_lm.py index 710ad963..e36b7f05 100644 --- a/spm/spm_get_lm.py +++ b/spm/spm_get_lm.py @@ -2,7 +2,7 @@ def spm_get_lm(*args, **kwargs): - """ + r""" Identification of local maxima in 3(or 2)D volume - a compiled routine FORMAT idx = spm_get_lm(vol,list,n) @@ -24,9 +24,12 @@ def spm_get_lm(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_get_lm.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_get_lm.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_get_lm", *args, **kwargs) diff --git a/spm/spm_get_matdim.py b/spm/spm_get_matdim.py index 78aeb408..f5e082ec 100644 --- a/spm/spm_get_matdim.py +++ b/spm/spm_get_matdim.py @@ -2,7 +2,7 @@ def spm_get_matdim(*args, **kwargs): - """ + r""" Voxel-to-world matrix and image dimensions from image or bbox and vox-dim FORMAT [mat, dim] = spm_get_matdim(img, vx, bb) @@ -23,9 +23,12 @@ def spm_get_matdim(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_get_matdim.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_get_matdim.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_get_matdim", *args, **kwargs) diff --git a/spm/spm_get_ons.py b/spm/spm_get_ons.py index aafc4fb5..70bda053 100644 --- a/spm/spm_get_ons.py +++ b/spm/spm_get_ons.py @@ -2,7 +2,7 @@ def spm_get_ons(*args, **kwargs): - """ + r""" Return input [designed effects] structure FORMAT [U] = spm_get_ons(SPM,s) @@ -41,9 +41,12 @@ def spm_get_ons(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_get_ons.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_get_ons.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_get_ons", *args, **kwargs) diff --git a/spm/spm_get_space.py b/spm/spm_get_space.py index 115f29a5..7b09b145 100644 --- a/spm/spm_get_space.py +++ b/spm/spm_get_space.py @@ -2,7 +2,7 @@ def spm_get_space(*args, **kwargs): - """ + r""" Get/set the voxel-to-world mapping of an image FORMAT M = spm_get_space(P) spm_get_space(P,M) @@ -11,9 +11,12 @@ def spm_get_space(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_get_space.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_get_space.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_get_space", *args, **kwargs) diff --git a/spm/spm_get_vc.py b/spm/spm_get_vc.py index 0a5dee16..95383d5d 100644 --- a/spm/spm_get_vc.py +++ b/spm/spm_get_vc.py @@ -2,7 +2,7 @@ def spm_get_vc(*args, **kwargs): - """ + r""" Generate error covariance components for factorial designs FORMAT Vi = spm_get_vc(I,factor) I - n x m matrix of factor level indicators @@ -30,9 +30,12 @@ def spm_get_vc(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_get_vc.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_get_vc.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_get_vc", *args, **kwargs) diff --git a/spm/spm_get_volumes.py b/spm/spm_get_volumes.py index f8263d1e..a5e3c323 100644 --- a/spm/spm_get_volumes.py +++ b/spm/spm_get_volumes.py @@ -2,7 +2,7 @@ def spm_get_volumes(*args, **kwargs): - """ + r""" Compute total volumes from tissue segmentations FORMAT gl = spm_get_volumes(P) P - a matrix of image filenames @@ -10,9 +10,12 @@ def spm_get_volumes(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_get_volumes.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_get_volumes.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_get_volumes", *args, **kwargs) diff --git a/spm/spm_glass.py b/spm/spm_glass.py index cf7e0c49..463a3878 100644 --- a/spm/spm_glass.py +++ b/spm/spm_glass.py @@ -2,7 +2,7 @@ def spm_glass(*args, **kwargs): - """ + r""" Glass brain plot FORMAT fig = spm_glass(X,pos,S) X - (REQUIRED) values to be painted @@ -24,9 +24,12 @@ def spm_glass(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_glass.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_glass.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_glass", *args, **kwargs) diff --git a/spm/spm_global.py b/spm/spm_global.py index 11ea6a4c..7fdc6b9a 100644 --- a/spm/spm_global.py +++ b/spm/spm_global.py @@ -2,7 +2,7 @@ def spm_global(*args, **kwargs): - """ + r""" Compute the global mean for a volume image - a compiled routine FORMAT GX = spm_global(V) V - image handle structure @@ -17,9 +17,12 @@ def spm_global(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_global.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_global.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_global", *args, **kwargs) diff --git a/spm/spm_gn_fmin.py b/spm/spm_gn_fmin.py index 5ebe4d8b..fd2fb9c9 100644 --- a/spm/spm_gn_fmin.py +++ b/spm/spm_gn_fmin.py @@ -2,7 +2,7 @@ def spm_gn_fmin(*args, **kwargs): - """ + r""" Objective function minimisation using Gauss-Newton line searches FORMAT [P,F] = spm_gn_fmin(fun,Q,C,varargin) @@ -19,9 +19,12 @@ def spm_gn_fmin(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_gn_fmin.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_gn_fmin.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_gn_fmin", *args, **kwargs) diff --git a/spm/spm_graph.py b/spm/spm_graph.py index af96d7a1..7cb00d50 100644 --- a/spm/spm_graph.py +++ b/spm/spm_graph.py @@ -2,7 +2,7 @@ def spm_graph(*args, **kwargs): - """ + r""" Return adjusted data for a given voxel location FORMAT [Y,y,beta,Bcov,G] = spm_graph(SPM,XYZ,xG) @@ -27,9 +27,12 @@ def spm_graph(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_graph.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_graph.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_graph", *args, **kwargs) diff --git a/spm/spm_graph_ui.py b/spm/spm_graph_ui.py index def0c260..f0180f9f 100644 --- a/spm/spm_graph_ui.py +++ b/spm/spm_graph_ui.py @@ -2,7 +2,7 @@ def spm_graph_ui(*args, **kwargs): - """ + r""" Graphical display of adjusted data FORMAT [Y,y,beta,Bcov] = spm_graph_ui(xSPM,SPM,hReg) @@ -71,9 +71,12 @@ def spm_graph_ui(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_graph_ui.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_graph_ui.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_graph_ui", *args, **kwargs) diff --git a/spm/spm_grid.py b/spm/spm_grid.py index 251122cc..d4ada74c 100644 --- a/spm/spm_grid.py +++ b/spm/spm_grid.py @@ -2,7 +2,7 @@ def spm_grid(*args, **kwargs): - """ + r""" Superimpose a Talairach and Tournoux grid FORMAT O = spm_grid(I) I - image matrix @@ -14,9 +14,12 @@ def spm_grid(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_grid.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_grid.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_grid", *args, **kwargs) diff --git a/spm/spm_gx_fmri.py b/spm/spm_gx_fmri.py index 3a391045..f6eab4b5 100644 --- a/spm/spm_gx_fmri.py +++ b/spm/spm_gx_fmri.py @@ -2,7 +2,7 @@ def spm_gx_fmri(*args, **kwargs): - """ + r""" Simulated BOLD response to input FORMAT [g,dgdx] = spm_gx_fmri(x,u,P,M) g - BOLD response (%) @@ -18,9 +18,12 @@ def spm_gx_fmri(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_gx_fmri.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_gx_fmri.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_gx_fmri", *args, **kwargs) diff --git a/spm/spm_gx_fmri_linear.py b/spm/spm_gx_fmri_linear.py index 1cc86ea2..6b6720c6 100644 --- a/spm/spm_gx_fmri_linear.py +++ b/spm/spm_gx_fmri_linear.py @@ -2,7 +2,7 @@ def spm_gx_fmri_linear(*args, **kwargs): - """ + r""" Simulated BOLD response to input (linear version) FORMAT [y] = spm_gx_fmri_linear(x,u,P,M) y - BOLD response (%) @@ -18,9 +18,12 @@ def spm_gx_fmri_linear(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_gx_fmri_linear.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_gx_fmri_linear.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_gx_fmri_linear", *args, **kwargs) diff --git a/spm/spm_gx_hdm.py b/spm/spm_gx_hdm.py index 9a79262d..4565d04e 100644 --- a/spm/spm_gx_hdm.py +++ b/spm/spm_gx_hdm.py @@ -2,7 +2,7 @@ def spm_gx_hdm(*args, **kwargs): - """ + r""" Simulated BOLD response to input FORMAT [y] = spm_gx_hdm(x,u,P,M) y - BOLD response (%) @@ -17,9 +17,12 @@ def spm_gx_hdm(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_gx_hdm.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_gx_hdm.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_gx_hdm", *args, **kwargs) diff --git a/spm/spm_gx_state_fmri.py b/spm/spm_gx_state_fmri.py index e5f610bd..6c93cc98 100644 --- a/spm/spm_gx_state_fmri.py +++ b/spm/spm_gx_state_fmri.py @@ -2,7 +2,7 @@ def spm_gx_state_fmri(*args, **kwargs): - """ + r""" Simulated BOLD response and copied state vector FORMAT [y] = spm_gx_state_fmri(x,u,P,M) y - BOLD response and copied state vector @@ -19,9 +19,12 @@ def spm_gx_state_fmri(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_gx_state_fmri.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_gx_state_fmri.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_gx_state_fmri", *args, **kwargs) diff --git a/spm/spm_hanning.py b/spm/spm_hanning.py index c506e40a..dc154094 100644 --- a/spm/spm_hanning.py +++ b/spm/spm_hanning.py @@ -2,7 +2,7 @@ def spm_hanning(*args, **kwargs): - """ + r""" Return the n-point Hanning window in a column vector FORMAT H = spm_hanning(n) n - length of hanning function @@ -10,9 +10,12 @@ def spm_hanning(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_hanning.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_hanning.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_hanning", *args, **kwargs) diff --git a/spm/spm_hdm_priors.py b/spm/spm_hdm_priors.py index 1622a87f..3e013725 100644 --- a/spm/spm_hdm_priors.py +++ b/spm/spm_hdm_priors.py @@ -2,7 +2,7 @@ def spm_hdm_priors(*args, **kwargs): - """ + r""" Return priors for a hemodynamic dynamic causal model FORMAT [pE,pC] = spm_hdm_priors(m,[h]) m - number of inputs @@ -27,9 +27,12 @@ def spm_hdm_priors(*args, **kwargs): ___________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_hdm_priors.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_hdm_priors.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_hdm_priors", *args, **kwargs) diff --git a/spm/spm_hdm_ui.py b/spm/spm_hdm_ui.py index a543df38..e6984c92 100644 --- a/spm/spm_hdm_ui.py +++ b/spm/spm_hdm_ui.py @@ -2,7 +2,7 @@ def spm_hdm_ui(*args, **kwargs): - """ + r""" User interface for hemodynamic model estimation FORMAT [Ep,Cp,K1,K2] = spm_hdm_ui(xSPM,SPM,hReg @@ -18,9 +18,12 @@ def spm_hdm_ui(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_hdm_ui.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_hdm_ui.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_hdm_ui", *args, **kwargs) diff --git a/spm/spm_help.py b/spm/spm_help.py index 332fdc13..05f1e7da 100644 --- a/spm/spm_help.py +++ b/spm/spm_help.py @@ -2,7 +2,7 @@ def spm_help(*args, **kwargs): - """ + r""" SPM help and manual facilities FORMAT spm_help @@ -59,9 +59,12 @@ def spm_help(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_help.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_help.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_help", *args, **kwargs) diff --git a/spm/spm_hilbert.py b/spm/spm_hilbert.py index 995901d9..ff03ce01 100644 --- a/spm/spm_hilbert.py +++ b/spm/spm_hilbert.py @@ -2,7 +2,7 @@ def spm_hilbert(*args, **kwargs): - """ + r""" Computes analytic signal FORMAT [x] = spm_hilbert(xr) @@ -11,9 +11,12 @@ def spm_hilbert(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_hilbert.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_hilbert.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_hilbert", *args, **kwargs) diff --git a/spm/spm_hist.py b/spm/spm_hist.py index dfcc0e5c..fcfa7409 100644 --- a/spm/spm_hist.py +++ b/spm/spm_hist.py @@ -2,7 +2,7 @@ def spm_hist(*args, **kwargs): - """ + r""" Generate a weighted histogram - a compiled routine FORMAT h = spm_hist(ind,val) ind - indices (unsigned byte) @@ -10,9 +10,12 @@ def spm_hist(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_hist.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_hist.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_hist", *args, **kwargs) diff --git a/spm/spm_hist2.py b/spm/spm_hist2.py index 6c878a9f..419b84c5 100644 --- a/spm/spm_hist2.py +++ b/spm/spm_hist2.py @@ -2,7 +2,7 @@ def spm_hist2(*args, **kwargs): - """ + r""" Create 2D scatter-plot of two images after affine transformation FORMAT H = spm_hist2(G,F,M,s) G - unsigned 8 bit 3D array representing the first volume @@ -22,9 +22,12 @@ def spm_hist2(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_hist2.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_hist2.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_hist2", *args, **kwargs) diff --git a/spm/spm_hist_smooth.py b/spm/spm_hist_smooth.py index 1894a5dc..6f671bbe 100644 --- a/spm/spm_hist_smooth.py +++ b/spm/spm_hist_smooth.py @@ -2,7 +2,7 @@ def spm_hist_smooth(*args, **kwargs): - """ + r""" Histogram smoothing (graph Laplacian) FORMAT x = spm_hist_smooth(x,s) x - data vector @@ -10,9 +10,12 @@ def spm_hist_smooth(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_hist_smooth.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_hist_smooth.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_hist_smooth", *args, **kwargs) diff --git a/spm/spm_hrf.py b/spm/spm_hrf.py index 300bcd87..d3532c94 100644 --- a/spm/spm_hrf.py +++ b/spm/spm_hrf.py @@ -2,7 +2,7 @@ def spm_hrf(*args, **kwargs): - """ + r""" Haemodynamic response function FORMAT [hrf,p] = spm_hrf(RT,p,T) RT - scan repeat time @@ -35,9 +35,12 @@ def spm_hrf(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_hrf.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_hrf.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_hrf", *args, **kwargs) diff --git a/spm/spm_image.py b/spm/spm_image.py index 14f79770..1c484aa2 100644 --- a/spm/spm_image.py +++ b/spm/spm_image.py @@ -2,7 +2,7 @@ def spm_image(*args, **kwargs): - """ + r""" Image and header display FORMAT spm_image FORMAT spm_image('Display',fname) @@ -51,9 +51,12 @@ def spm_image(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_image.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_image.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_image", *args, **kwargs, nargout=0) diff --git a/spm/spm_imatrix.py b/spm/spm_imatrix.py index 8cd07ee6..296438ee 100644 --- a/spm/spm_imatrix.py +++ b/spm/spm_imatrix.py @@ -2,7 +2,7 @@ def spm_imatrix(*args, **kwargs): - """ + r""" Return the parameters for creating an affine transformation matrix FORMAT P = spm_imatrix(M) M - Affine transformation matrix @@ -13,9 +13,12 @@ def spm_imatrix(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_imatrix.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_imatrix.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_imatrix", *args, **kwargs) diff --git a/spm/spm_imcalc.py b/spm/spm_imcalc.py index 7bfc5ad3..1373bb46 100644 --- a/spm/spm_imcalc.py +++ b/spm/spm_imcalc.py @@ -2,7 +2,7 @@ def spm_imcalc(*args, **kwargs): - """ + r""" Perform algebraic functions on images FORMAT Vo = spm_imcalc(Vi, Vo, f [,flags [,extra_vars...]]) Vi - struct array (from spm_vol) of images to work on @@ -85,9 +85,12 @@ def spm_imcalc(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_imcalc.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_imcalc.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_imcalc", *args, **kwargs) diff --git a/spm/spm_ind2sub.py b/spm/spm_ind2sub.py index f3bbcc97..cd1a3c8e 100644 --- a/spm/spm_ind2sub.py +++ b/spm/spm_ind2sub.py @@ -2,7 +2,7 @@ def spm_ind2sub(*args, **kwargs): - """ + r""" IND2SUB Multiple subscripts from linear index. IND2SUB is used to determine the equivalent subscript values corresponding to a given single index into an array. @@ -24,9 +24,12 @@ def spm_ind2sub(*args, **kwargs): See also SUB2IND, FIND. - [Matlab code]( https://github.com/spm/spm/blob/main/spm_ind2sub.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_ind2sub.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_ind2sub", *args, **kwargs) diff --git a/spm/spm_inline2func.py b/spm/spm_inline2func.py index bbd3e66d..bdd490df 100644 --- a/spm/spm_inline2func.py +++ b/spm/spm_inline2func.py @@ -2,15 +2,18 @@ def spm_inline2func(*args, **kwargs): - """ + r""" Convert an inline object to a function handle FORMAT [h] = spm_inline2func(f) __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_inline2func.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_inline2func.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_inline2func", *args, **kwargs) diff --git a/spm/spm_input.py b/spm/spm_input.py index 38b529e8..7541eaa2 100644 --- a/spm/spm_input.py +++ b/spm/spm_input.py @@ -2,7 +2,7 @@ def spm_input(*args, **kwargs): - """ + r""" Comprehensive graphical and command line input function FORMATs (given in Programmers Help) _______________________________________________________________________ @@ -174,9 +174,12 @@ def spm_input(*args, **kwargs): _______________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_input.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_input.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_input", *args, **kwargs) diff --git a/spm/spm_int.py b/spm/spm_int.py index cb0d8ead..a7349265 100644 --- a/spm/spm_int.py +++ b/spm/spm_int.py @@ -2,7 +2,7 @@ def spm_int(*args, **kwargs): - """ + r""" Integrate a MIMO bilinear system dx/dt = f(x,u) = A*x + B*x*u + Cu + D; FORMAT [y] = spm_int(P,M,U) P - model parameters @@ -58,9 +58,12 @@ def spm_int(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_int.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_int.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_int", *args, **kwargs) diff --git a/spm/spm_int_B.py b/spm/spm_int_B.py index 2d56b008..e7fb986c 100644 --- a/spm/spm_int_B.py +++ b/spm/spm_int_B.py @@ -2,7 +2,7 @@ def spm_int_B(*args, **kwargs): - """ + r""" Integrate a MIMO nonlinear system using a bilinear Jacobian FORMAT [y] = spm_int_B(P,M,U) P - model parameters @@ -62,9 +62,12 @@ def spm_int_B(*args, **kwargs): ___________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_int_B.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_int_B.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_int_B", *args, **kwargs) diff --git a/spm/spm_int_D.py b/spm/spm_int_D.py index bf337791..739460bc 100644 --- a/spm/spm_int_D.py +++ b/spm/spm_int_D.py @@ -2,7 +2,7 @@ def spm_int_D(*args, **kwargs): - """ + r""" integrates a MIMO bilinear system dx/dt = f(x,u) = A*x + B*x*u + Cu + D; FORMAT [y] = spm_int_D(P,M,U) P - model parameters @@ -60,9 +60,12 @@ def spm_int_D(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_int_D.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_int_D.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_int_D", *args, **kwargs) diff --git a/spm/spm_int_E.py b/spm/spm_int_E.py index 29b0c0f3..04acefb7 100644 --- a/spm/spm_int_E.py +++ b/spm/spm_int_E.py @@ -2,7 +2,7 @@ def spm_int_E(*args, **kwargs): - """ + r""" Integrate a MIMO nonlinear system using a bilinear eigenreduced Jacobian FORMAT [y] = spm_int_E(P,M,U) P - model parameters @@ -61,9 +61,12 @@ def spm_int_E(*args, **kwargs): ___________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_int_E.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_int_E.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_int_E", *args, **kwargs) diff --git a/spm/spm_int_J.py b/spm/spm_int_J.py index f6a4a169..3060017f 100644 --- a/spm/spm_int_J.py +++ b/spm/spm_int_J.py @@ -2,7 +2,7 @@ def spm_int_J(*args, **kwargs): - """ + r""" Integrate a MIMO nonlinear system using the Jacobian FORMAT [y] = spm_int_J(P,M,U) P - model parameters @@ -64,9 +64,12 @@ def spm_int_J(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_int_J.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_int_J.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_int_J", *args, **kwargs) diff --git a/spm/spm_int_L.py b/spm/spm_int_L.py index d0821d47..754d84b5 100644 --- a/spm/spm_int_L.py +++ b/spm/spm_int_L.py @@ -2,7 +2,7 @@ def spm_int_L(*args, **kwargs): - """ + r""" Integrate a MIMO nonlinear system using a fixed Jacobian: J(x(0)) FORMAT [y] = spm_int_L(P,M,U,[N]) P - model parameters @@ -63,9 +63,12 @@ def spm_int_L(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_int_L.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_int_L.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_int_L", *args, **kwargs) diff --git a/spm/spm_int_ode.py b/spm/spm_int_ode.py index ab6c44af..c996a5c3 100644 --- a/spm/spm_int_ode.py +++ b/spm/spm_int_ode.py @@ -2,7 +2,7 @@ def spm_int_ode(*args, **kwargs): - """ + r""" Integrate a MIMO nonlinear system (using classical ODE solvers) FORMAT [y] = spm_int_ode(P,M,U) P - model parameters @@ -63,9 +63,12 @@ def spm_int_ode(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_int_ode.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_int_ode.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_int_ode", *args, **kwargs) diff --git a/spm/spm_int_sde.py b/spm/spm_int_sde.py index 65deb765..b1778724 100644 --- a/spm/spm_int_sde.py +++ b/spm/spm_int_sde.py @@ -2,7 +2,7 @@ def spm_int_sde(*args, **kwargs): - """ + r""" Integrate a stochastic MIMO nonlinear system using the Jacobian FORMAT [y] = spm_int_sde(P,M,U) P - model parameters @@ -64,9 +64,12 @@ def spm_int_sde(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_int_sde.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_int_sde.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_int_sde", *args, **kwargs) diff --git a/spm/spm_interp.py b/spm/spm_interp.py index 0c497b5e..1add5af2 100644 --- a/spm/spm_interp.py +++ b/spm/spm_interp.py @@ -2,7 +2,7 @@ def spm_interp(*args, **kwargs): - """ + r""" 1 or 2-D array interpolation FORMAT [x] = spm_interp(x,r) x - array @@ -10,9 +10,12 @@ def spm_interp(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_interp.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_interp.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_interp", *args, **kwargs) diff --git a/spm/spm_inv.py b/spm/spm_inv.py index 6f228ed7..25249040 100644 --- a/spm/spm_inv.py +++ b/spm/spm_inv.py @@ -2,7 +2,7 @@ def spm_inv(*args, **kwargs): - """ + r""" Inverse for ill-conditioned matrices FORMAT X = spm_inv(A,TOL) @@ -15,9 +15,12 @@ def spm_inv(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_inv.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_inv.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_inv", *args, **kwargs) diff --git a/spm/spm_invBcdf.py b/spm/spm_invBcdf.py index 864934bd..3f9c0687 100644 --- a/spm/spm_invBcdf.py +++ b/spm/spm_invBcdf.py @@ -2,7 +2,7 @@ def spm_invBcdf(*args, **kwargs): - """ + r""" Inverse Cumulative Distribution Function (CDF) of Beta distribution FORMAT x = spm_invBcdf(F,v,w,tol) @@ -53,9 +53,12 @@ def spm_invBcdf(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_invBcdf.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_invBcdf.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_invBcdf", *args, **kwargs) diff --git a/spm/spm_invFcdf.py b/spm/spm_invFcdf.py index cf3fcbee..8dab9b01 100644 --- a/spm/spm_invFcdf.py +++ b/spm/spm_invFcdf.py @@ -2,7 +2,7 @@ def spm_invFcdf(*args, **kwargs): - """ + r""" Inverse Cumulative Distribution (CDF) of F (Fisher-Snedecor) distribution FORMAT x = spm_invFcdf(F,df) FORMAT x = spm_invFcdf(F,v,w) @@ -64,9 +64,12 @@ def spm_invFcdf(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_invFcdf.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_invFcdf.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_invFcdf", *args, **kwargs) diff --git a/spm/spm_invGcdf.py b/spm/spm_invGcdf.py index 36e11f00..ad3023f3 100644 --- a/spm/spm_invGcdf.py +++ b/spm/spm_invGcdf.py @@ -2,7 +2,7 @@ def spm_invGcdf(*args, **kwargs): - """ + r""" Inverse Cumulative Distribution Function (CDF) of Gamma distribution FORMAT x = spm_invGcdf(p,h,l,tol) @@ -57,9 +57,12 @@ def spm_invGcdf(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_invGcdf.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_invGcdf.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_invGcdf", *args, **kwargs) diff --git a/spm/spm_invIcdf.py b/spm/spm_invIcdf.py index ebfe04b9..207dde40 100644 --- a/spm/spm_invIcdf.py +++ b/spm/spm_invIcdf.py @@ -2,7 +2,7 @@ def spm_invIcdf(*args, **kwargs): - """ + r""" Inverse Cumulative Distribution Function (CDF) of Binomial distribution FORMAT r = spm_invIcdf(F,n,p) @@ -50,9 +50,12 @@ def spm_invIcdf(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_invIcdf.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_invIcdf.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_invIcdf", *args, **kwargs) diff --git a/spm/spm_invNcdf.py b/spm/spm_invNcdf.py index e4c4f132..24d5d0d3 100644 --- a/spm/spm_invNcdf.py +++ b/spm/spm_invNcdf.py @@ -2,7 +2,7 @@ def spm_invNcdf(*args, **kwargs): - """ + r""" Inverse Cumulative Distribution Function (CDF) for univariate Normal FORMAT x = spm_invNcdf(F,u,v) @@ -65,9 +65,12 @@ def spm_invNcdf(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_invNcdf.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_invNcdf.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_invNcdf", *args, **kwargs) diff --git a/spm/spm_invPcdf.py b/spm/spm_invPcdf.py index e2c5251a..f2ee83fa 100644 --- a/spm/spm_invPcdf.py +++ b/spm/spm_invPcdf.py @@ -2,7 +2,7 @@ def spm_invPcdf(*args, **kwargs): - """ + r""" Inverse Cumulative Distribution Function (CDF) of Poisson distribution FORMAT x = spm_invPcdf(F,l) @@ -49,9 +49,12 @@ def spm_invPcdf(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_invPcdf.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_invPcdf.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_invPcdf", *args, **kwargs) diff --git a/spm/spm_invTcdf.py b/spm/spm_invTcdf.py index d0e3fa1e..48a179c2 100644 --- a/spm/spm_invTcdf.py +++ b/spm/spm_invTcdf.py @@ -2,7 +2,7 @@ def spm_invTcdf(*args, **kwargs): - """ + r""" Inverse Cumulative Distribution Function (CDF) of Students t distribution FORMAT x = spm_invTcdf(F,v) @@ -67,9 +67,12 @@ def spm_invTcdf(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_invTcdf.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_invTcdf.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_invTcdf", *args, **kwargs) diff --git a/spm/spm_invXcdf.py b/spm/spm_invXcdf.py index b4ac6b5a..323c4ead 100644 --- a/spm/spm_invXcdf.py +++ b/spm/spm_invXcdf.py @@ -2,7 +2,7 @@ def spm_invXcdf(*args, **kwargs): - """ + r""" Inverse Cumulative Distribution Function (CDF) of Chi-squared distribution FORMAT x = spm_invXcdf(F,v) @@ -49,9 +49,12 @@ def spm_invXcdf(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_invXcdf.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_invXcdf.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_invXcdf", *args, **kwargs) diff --git a/spm/spm_inv_phi.py b/spm/spm_inv_phi.py index 1f71fb44..c5dbc1e6 100644 --- a/spm/spm_inv_phi.py +++ b/spm/spm_inv_phi.py @@ -2,7 +2,7 @@ def spm_inv_phi(*args, **kwargs): - """ + r""" Inverse logistic function FORMAT [y] = spm_inv_phi(x) @@ -10,9 +10,12 @@ def spm_inv_phi(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_inv_phi.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_inv_phi.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_inv_phi", *args, **kwargs) diff --git a/spm/spm_inv_spd.py b/spm/spm_inv_spd.py index 8ca592ce..2ae1feed 100644 --- a/spm/spm_inv_spd.py +++ b/spm/spm_inv_spd.py @@ -2,7 +2,7 @@ def spm_inv_spd(*args, **kwargs): - """ + r""" Inverse for symmetric positive (semi)definite matrices FORMAT X = spm_inv_spd(A,TOL) @@ -13,9 +13,12 @@ def spm_inv_spd(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_inv_spd.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_inv_spd.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_inv_spd", *args, **kwargs) diff --git a/spm/spm_ipharm.py b/spm/spm_ipharm.py index e367daf1..f408eefe 100644 --- a/spm/spm_ipharm.py +++ b/spm/spm_ipharm.py @@ -2,7 +2,7 @@ def spm_ipharm(*args, **kwargs): - """ + r""" basis set of prolate spheroidal harmonics for modelling neuronal signals observed by point magnetometers. FORMAT harmonics = spm_ipharm(v,n,a,b,L) @@ -17,9 +17,12 @@ def spm_ipharm(*args, **kwargs): Copyright (C) 2023 Tim Tierney - [Matlab code]( https://github.com/spm/spm/blob/main/spm_ipharm.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_ipharm.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_ipharm", *args, **kwargs) diff --git a/spm/spm_iwft.py b/spm/spm_iwft.py index d259782d..a7e130f9 100644 --- a/spm/spm_iwft.py +++ b/spm/spm_iwft.py @@ -2,7 +2,7 @@ def spm_iwft(*args, **kwargs): - """ + r""" Inverse windowed Fourier transform - continuous synthesis FORMAT [s] = spm_iwft(C,k,n); s - 1-D time-series @@ -12,9 +12,12 @@ def spm_iwft(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_iwft.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_iwft.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_iwft", *args, **kwargs) diff --git a/spm/spm_jobman.py b/spm/spm_jobman.py index ace01e21..7a990cc3 100644 --- a/spm/spm_jobman.py +++ b/spm/spm_jobman.py @@ -2,7 +2,7 @@ def spm_jobman(*args, **kwargs): - """ + r""" Main interface for SPM Batch System This function provides a compatibility layer between SPM and matlabbatch. @@ -59,9 +59,12 @@ def spm_jobman(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_jobman.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_jobman.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_jobman", *args, **kwargs) diff --git a/spm/spm_jsonread.py b/spm/spm_jsonread.py index 0f81127c..0b1165da 100644 --- a/spm/spm_jsonread.py +++ b/spm/spm_jsonread.py @@ -2,7 +2,7 @@ def spm_jsonread(*args, **kwargs): - """ + r""" JSON (JavaScript Object Notation) parser - a compiled routine FORMAT json = spm_jsonread(filename, opts) filename - name of a JSON file or JSON string @@ -21,9 +21,12 @@ def spm_jsonread(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_jsonread.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_jsonread.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_jsonread", *args, **kwargs) diff --git a/spm/spm_jsonwrite.py b/spm/spm_jsonwrite.py index 63992572..87d791ac 100644 --- a/spm/spm_jsonwrite.py +++ b/spm/spm_jsonwrite.py @@ -2,7 +2,7 @@ def spm_jsonwrite(*args, **kwargs): - """ + r""" Serialize a JSON (JavaScript Object Notation) structure FORMAT spm_jsonwrite(filename,json) filename - JSON filename @@ -27,9 +27,12 @@ def spm_jsonwrite(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_jsonwrite.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_jsonwrite.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_jsonwrite", *args, **kwargs) diff --git a/spm/spm_kernels.py b/spm/spm_kernels.py index 366f7b3c..c25c6d3b 100644 --- a/spm/spm_kernels.py +++ b/spm/spm_kernels.py @@ -2,7 +2,7 @@ def spm_kernels(*args, **kwargs): - """ + r""" Return global Volterra kernels for a MIMO Bilinear system FORMAT [K0,K1,K2] = spm_kernels(M,P,N,dt) - output kernels FORMAT [K0,K1,K2] = spm_kernels(M0,M1,N,dt) - state kernels @@ -37,9 +37,12 @@ def spm_kernels(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_kernels.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_kernels.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_kernels", *args, **kwargs) diff --git a/spm/spm_kl_dirichlet.py b/spm/spm_kl_dirichlet.py index 307dd83e..4debd270 100644 --- a/spm/spm_kl_dirichlet.py +++ b/spm/spm_kl_dirichlet.py @@ -2,7 +2,7 @@ def spm_kl_dirichlet(*args, **kwargs): - """ + r""" KL divergence between two Dirichlet densities FORMAT [d] = spm_kl_dirichlet(lambda_q,lambda_p,log_tilde_pi) @@ -16,9 +16,12 @@ def spm_kl_dirichlet(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_kl_dirichlet.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_kl_dirichlet.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_kl_dirichlet", *args, **kwargs) diff --git a/spm/spm_kl_gamma.py b/spm/spm_kl_gamma.py index c465519e..c98fc3bd 100644 --- a/spm/spm_kl_gamma.py +++ b/spm/spm_kl_gamma.py @@ -2,7 +2,7 @@ def spm_kl_gamma(*args, **kwargs): - """ + r""" KL divergence between two Gamma densities FORMAT [d] = spm_kl_gamma(b_q,c_q,b_p,c_p) @@ -13,9 +13,12 @@ def spm_kl_gamma(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_kl_gamma.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_kl_gamma.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_kl_gamma", *args, **kwargs) diff --git a/spm/spm_kl_normal.py b/spm/spm_kl_normal.py index 3757119b..6a7eb1d3 100644 --- a/spm/spm_kl_normal.py +++ b/spm/spm_kl_normal.py @@ -2,7 +2,7 @@ def spm_kl_normal(*args, **kwargs): - """ + r""" KL divergence between two multivariate normal densities FORMAT [d] = spm_kl_normal(m_q,c_q,m_p,c_p) @@ -15,9 +15,12 @@ def spm_kl_normal(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_kl_normal.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_kl_normal.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_kl_normal", *args, **kwargs) diff --git a/spm/spm_kl_normald.py b/spm/spm_kl_normald.py index 5288c1e5..40994469 100644 --- a/spm/spm_kl_normald.py +++ b/spm/spm_kl_normald.py @@ -2,7 +2,7 @@ def spm_kl_normald(*args, **kwargs): - """ + r""" KL divergence between two Gaussians with, possibly, diagonal covariances FORMAT [d] = spm_kl_normald(m_q,c_q,m_p,c_p) @@ -17,9 +17,12 @@ def spm_kl_normald(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_kl_normald.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_kl_normald.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_kl_normald", *args, **kwargs) diff --git a/spm/spm_kl_wishart.py b/spm/spm_kl_wishart.py index 076d750c..79994723 100644 --- a/spm/spm_kl_wishart.py +++ b/spm/spm_kl_wishart.py @@ -2,7 +2,7 @@ def spm_kl_wishart(*args, **kwargs): - """ + r""" KL divergence between two Wishart densities FORMAT [kl] = spm_kl_wishart(q,Q,p,P) @@ -14,9 +14,12 @@ def spm_kl_wishart(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_kl_wishart.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_kl_wishart.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_kl_wishart", *args, **kwargs) diff --git a/spm/spm_kron.py b/spm/spm_kron.py index fd868549..28273eba 100644 --- a/spm/spm_kron.py +++ b/spm/spm_kron.py @@ -2,7 +2,7 @@ def spm_kron(*args, **kwargs): - """ + r""" Kronecker tensor product with sparse outputs FORMAT K = spm_kron(A,B) K = spm_kron(A) @@ -20,9 +20,12 @@ def spm_kron(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_kron.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_kron.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_kron", *args, **kwargs) diff --git a/spm/spm_krutil.py b/spm/spm_krutil.py index 9fce9d3e..ece21dca 100644 --- a/spm/spm_krutil.py +++ b/spm/spm_krutil.py @@ -2,7 +2,7 @@ def spm_krutil(*args, **kwargs): - """ + r""" Kronecker Tensor Products utility functions This is a multi-format function where the number of input and output @@ -50,9 +50,12 @@ def spm_krutil(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_krutil.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_krutil.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_krutil", *args, **kwargs) diff --git a/spm/spm_large_dcm_reduce.py b/spm/spm_large_dcm_reduce.py index cfca6c0f..5f7c2e60 100644 --- a/spm/spm_large_dcm_reduce.py +++ b/spm/spm_large_dcm_reduce.py @@ -2,7 +2,7 @@ def spm_large_dcm_reduce(*args, **kwargs): - """ + r""" Optimise the number of prior connectivity eigenmodes FORMAT [DCM,S] = spm_large_dcm_reduce(DCM) DCM - DCM structure @@ -20,9 +20,12 @@ def spm_large_dcm_reduce(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_large_dcm_reduce.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_large_dcm_reduce.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_large_dcm_reduce", *args, **kwargs) diff --git a/spm/spm_length.py b/spm/spm_length.py index bdb853fc..bf4f05e2 100644 --- a/spm/spm_length.py +++ b/spm/spm_length.py @@ -2,7 +2,7 @@ def spm_length(*args, **kwargs): - """ + r""" Length of a vectorised numeric, cell or structure array FORMAT [n] = spm_length(X) X - numeric, cell or structure array[s] @@ -16,9 +16,12 @@ def spm_length(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_length.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_length.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_length", *args, **kwargs) diff --git a/spm/spm_lg_gamma.py b/spm/spm_lg_gamma.py index c90ffc29..523cab7f 100644 --- a/spm/spm_lg_gamma.py +++ b/spm/spm_lg_gamma.py @@ -2,7 +2,7 @@ def spm_lg_gamma(*args, **kwargs): - """ + r""" Log of generalised gamma function FORMAT [lng] = spm_lg_gamma(p,b) @@ -16,9 +16,12 @@ def spm_lg_gamma(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_lg_gamma.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_lg_gamma.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_lg_gamma", *args, **kwargs) diff --git a/spm/spm_list.py b/spm/spm_list.py index 832361d9..2d5f5329 100644 --- a/spm/spm_list.py +++ b/spm/spm_list.py @@ -2,7 +2,7 @@ def spm_list(*args, **kwargs): - """ + r""" Display an analysis of SPM{.} FORMAT TabDat = spm_list('List',xSPM,hReg,[Num,Dis,Str]) Summary list of local maxima for entire volume of interest @@ -117,9 +117,12 @@ def spm_list(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_list.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_list.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_list", *args, **kwargs) diff --git a/spm/spm_load.py b/spm/spm_load.py index 9f8aea40..dbe8bdba 100644 --- a/spm/spm_load.py +++ b/spm/spm_load.py @@ -2,7 +2,7 @@ def spm_load(*args, **kwargs): - """ + r""" Load text and numeric data from file FORMAT x = spm_load(f,v,hdr) f - filename (can be gzipped) {txt,mat,csv,tsv,json,npy} @@ -14,9 +14,12 @@ def spm_load(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_load.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_load.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_load", *args, **kwargs) diff --git a/spm/spm_load_priors8.py b/spm/spm_load_priors8.py index 04c76927..bf149a9c 100644 --- a/spm/spm_load_priors8.py +++ b/spm/spm_load_priors8.py @@ -2,7 +2,7 @@ def spm_load_priors8(*args, **kwargs): - """ + r""" Load the tissue probability maps for segmentation FORMAT tpm = spm_load_priors8(V) V - structures of image volume information (or filenames) @@ -15,9 +15,12 @@ def spm_load_priors8(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_load_priors8.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_load_priors8.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_load_priors8", *args, **kwargs) diff --git a/spm/spm_log.py b/spm/spm_log.py index 78200d4b..f1bfd416 100644 --- a/spm/spm_log.py +++ b/spm/spm_log.py @@ -2,15 +2,18 @@ def spm_log(*args, **kwargs): - """ + r""" Log of numeric array plus a small constant FORMAT A = spm_log(A) __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_log.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_log.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_log", *args, **kwargs) diff --git a/spm/spm_log_evidence.py b/spm/spm_log_evidence.py index b5502f4b..375f7c73 100644 --- a/spm/spm_log_evidence.py +++ b/spm/spm_log_evidence.py @@ -2,7 +2,7 @@ def spm_log_evidence(*args, **kwargs): - """ + r""" Return the log-evidence of a reduced model (under Laplace approximation) FORMAT [F,sE,sC] = spm_log_evidence(qE,qC,pE,pC,rE,rC) FORMAT [F,sE,sC] = spm_log_evidence(qE,qC,pE,pC,priorfun,varargin) @@ -32,9 +32,12 @@ def spm_log_evidence(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_log_evidence.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_log_evidence.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_log_evidence", *args, **kwargs) diff --git a/spm/spm_log_evidence_reduce.py b/spm/spm_log_evidence_reduce.py index f23ebfb0..8bbe7896 100644 --- a/spm/spm_log_evidence_reduce.py +++ b/spm/spm_log_evidence_reduce.py @@ -2,7 +2,7 @@ def spm_log_evidence_reduce(*args, **kwargs): - """ + r""" Return the log-evidence of a reduced model (under Laplace approximation) FORMAT [F,sE,sC] = spm_log_evidence_reduce(qE,qC,pE,pC,rE,rC) @@ -27,9 +27,12 @@ def spm_log_evidence_reduce(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_log_evidence_reduce.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_log_evidence_reduce.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_log_evidence_reduce", *args, **kwargs) diff --git a/spm/spm_logdet.py b/spm/spm_logdet.py index bee9e801..3fbcfb3a 100644 --- a/spm/spm_logdet.py +++ b/spm/spm_logdet.py @@ -2,7 +2,7 @@ def spm_logdet(*args, **kwargs): - """ + r""" Compute the log of the determinant of positive (semi-)definite matrix C FORMAT H = spm_logdet(C) H = log(det(C)) @@ -13,9 +13,12 @@ def spm_logdet(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_logdet.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_logdet.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_logdet", *args, **kwargs) diff --git a/spm/spm_logo.py b/spm/spm_logo.py index 7ce563f0..0af0d256 100644 --- a/spm/spm_logo.py +++ b/spm/spm_logo.py @@ -1,27 +1,31 @@ -from mpython import Runtime +from spm._runtime import Runtime def spm_logo(*args, **kwargs): - """ - Generate SPM's new logo - FORMAT h = spm_logo(S) - - S - input structure - Optional fields of S: - S.ver - Set the version number, defaults to current SPM version - S.altm - Which style of M to use? False for M and True for m. - S.width - 2x1 array to set widths of the text of logo. - S.colour - Text colour - S.background - background colour - S.angle - Angle (in degrees) of the isometric progection - - h - Handle figure - __________________________________________________________________________ - - - [Matlab code]( https://github.com/spm/spm/blob/main/spm_logo.m ) - - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + r""" + Generate SPM's new logo + FORMAT h = spm_logo(S) + + S - input structure + Optional fields of S: + S.ver - Set the version number, defaults to current SPM version + S.altm - Which style of M to use? False for M and True for m. + S.width - 2x1 array to set widths of the text of logo. + S.colour - Text colour + S.background - background colour + S.angle - Angle (in degrees) of the isometric progection + S.save - If true, generates image files for re-use + + h - Handle figure + __________________________________________________________________________ + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_logo.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_logo", *args, **kwargs) diff --git a/spm/spm_lorenz_k.py b/spm/spm_lorenz_k.py index 0a1ade93..a466a42d 100644 --- a/spm/spm_lorenz_k.py +++ b/spm/spm_lorenz_k.py @@ -2,7 +2,7 @@ def spm_lorenz_k(*args, **kwargs): - """ + r""" Equations of motion for coupled Lorenz attractors FORMAT [f] = spm_lorenz_k(x,v,P) x - hidden states (3 x N) @@ -13,9 +13,12 @@ def spm_lorenz_k(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_lorenz_k.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_lorenz_k.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_lorenz_k", *args, **kwargs) diff --git a/spm/spm_lotka_volterra.py b/spm/spm_lotka_volterra.py index c0310366..77bddf89 100644 --- a/spm/spm_lotka_volterra.py +++ b/spm/spm_lotka_volterra.py @@ -2,7 +2,7 @@ def spm_lotka_volterra(*args, **kwargs): - """ + r""" Equations of motion for Lotka-Volterra dynamics FORMAT [f] = spm_lotka_volterra(x,v,P) FORMAT [f] = spm_lotka_volterra(x,v) @@ -21,9 +21,12 @@ def spm_lotka_volterra(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_lotka_volterra.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_lotka_volterra.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_lotka_volterra", *args, **kwargs) diff --git a/spm/spm_mac_permissions.py b/spm/spm_mac_permissions.py new file mode 100644 index 00000000..00243b49 --- /dev/null +++ b/spm/spm_mac_permissions.py @@ -0,0 +1,25 @@ +from spm._runtime import Runtime + + +def spm_mac_permissions(*args, **kwargs): + r""" + SPM_MAC_PERMISSIONS Helper to fix macOS quarantine issues (Gatekeeper) + + This function detects if SPM's MEX files are tainted with the macOS + "com.apple.quarantine" attribute (common when downloading ZIPs from the + web). If detected, it attempts to self-repair by removing the attribute. + + This function is called automatically at startup by spm.m. + __________________________________________________________________________ + Copyright (C) 2024 Wellcome Centre for Human Neuroimaging + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_mac_permissions.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("spm_mac_permissions", *args, **kwargs, nargout=0) diff --git a/spm/spm_maff8.py b/spm/spm_maff8.py index b3fe63b7..c309d1a8 100644 --- a/spm/spm_maff8.py +++ b/spm/spm_maff8.py @@ -2,7 +2,7 @@ def spm_maff8(*args, **kwargs): - """ + r""" Affine registration to MNI space using mutual information FORMAT [M,ll,h] = spm_maff8(P,samp,fwhm,tpm,M0,regtyp) P - filename or structure handle of image @@ -23,9 +23,12 @@ def spm_maff8(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_maff8.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_maff8.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_maff8", *args, **kwargs) diff --git a/spm/spm_make_contrasts.py b/spm/spm_make_contrasts.py index f42c41a3..47b926ae 100644 --- a/spm/spm_make_contrasts.py +++ b/spm/spm_make_contrasts.py @@ -2,7 +2,7 @@ def spm_make_contrasts(*args, **kwargs): - """ + r""" Make contrasts for one, two or three-way ANOVAs FORMAT Con = spm_make_contrasts(k) @@ -29,9 +29,12 @@ def spm_make_contrasts(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_make_contrasts.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_make_contrasts.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_make_contrasts", *args, **kwargs) diff --git a/spm/spm_marginal.py b/spm/spm_marginal.py index 00699e16..c737c266 100644 --- a/spm/spm_marginal.py +++ b/spm/spm_marginal.py @@ -2,7 +2,7 @@ def spm_marginal(*args, **kwargs): - """ + r""" Marginal densities over a multidimensional array of probabilities FORMAT [Y] = spm_marginal(X) X - numeric array of probabilities @@ -13,9 +13,12 @@ def spm_marginal(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_marginal.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_marginal.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_marginal", *args, **kwargs) diff --git a/spm/spm_mask.py b/spm/spm_mask.py index 7bc3729e..6655769c 100644 --- a/spm/spm_mask.py +++ b/spm/spm_mask.py @@ -2,7 +2,7 @@ def spm_mask(*args, **kwargs): - """ + r""" Mask images FORMAT spm_mask(P1, P2, thresh) P1 - matrix of input image filenames from which @@ -24,9 +24,12 @@ def spm_mask(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_mask.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_mask.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_mask", *args, **kwargs, nargout=0) diff --git a/spm/spm_match_str.py b/spm/spm_match_str.py index e13eeca4..4db16114 100644 --- a/spm/spm_match_str.py +++ b/spm/spm_match_str.py @@ -2,7 +2,7 @@ def spm_match_str(*args, **kwargs): - """ + r""" MATCH_STR looks for matching labels in two listst of strings and returns the indices into both the 1st and 2nd list of the matches. They will be ordered according to the first input argument. @@ -14,9 +14,12 @@ def spm_match_str(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_match_str.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_match_str.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_match_str", *args, **kwargs) diff --git a/spm/spm_matrix.py b/spm/spm_matrix.py index 665978da..6d055cba 100644 --- a/spm/spm_matrix.py +++ b/spm/spm_matrix.py @@ -2,7 +2,7 @@ def spm_matrix(*args, **kwargs): - """ + r""" Return an affine transformation matrix FORMAT [A] = spm_matrix(P [,order]) P(1) - x translation @@ -47,9 +47,12 @@ def spm_matrix(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_matrix.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_matrix.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_matrix", *args, **kwargs) diff --git a/spm/spm_max.py b/spm/spm_max.py index 63051afc..4c205109 100644 --- a/spm/spm_max.py +++ b/spm/spm_max.py @@ -2,7 +2,7 @@ def spm_max(*args, **kwargs): - """ + r""" Sizes, maxima and locations of local excursion sets FORMAT [N Z M A XYZ] = spm_max(X,L) X - values of 3-D field @@ -26,9 +26,12 @@ def spm_max(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_max.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_max.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_max", *args, **kwargs) diff --git a/spm/spm_mb_ui.py b/spm/spm_mb_ui.py index b28fe63b..05ea0c61 100644 --- a/spm/spm_mb_ui.py +++ b/spm/spm_mb_ui.py @@ -2,7 +2,7 @@ def spm_mb_ui(*args, **kwargs): - """ + r""" VOI extraction of adjusted data and Markov Blanket decomposition FORMAT [MB] = spm_mb_ui('specify',SPM) FORMAT [MB] = spm_mb_ui('blocking',MB) @@ -128,9 +128,12 @@ def spm_mb_ui(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_mb_ui.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_mb_ui.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_mb_ui", *args, **kwargs) diff --git a/spm/spm_meanby.py b/spm/spm_meanby.py index e7194260..689c44a1 100644 --- a/spm/spm_meanby.py +++ b/spm/spm_meanby.py @@ -2,7 +2,7 @@ def spm_meanby(*args, **kwargs): - """ + r""" Means of data in columns by group FORMAT [M,Mi,i] = spm_meanby(Y,I) Y - Data matrix, data in columns. (Row vector Y also accepted.) @@ -21,9 +21,12 @@ def spm_meanby(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_meanby.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_meanby.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_meanby", *args, **kwargs) diff --git a/spm/spm_mesh.py b/spm/spm_mesh.py index 2f421ea4..9fdfd19a 100644 --- a/spm/spm_mesh.py +++ b/spm/spm_mesh.py @@ -2,7 +2,7 @@ def spm_mesh(*args, **kwargs): - """ + r""" Load mesh file(s) into memory as patch structure FORMAT M = spm_mesh(meshfilename1,meshfilename2,...) @@ -10,9 +10,12 @@ def spm_mesh(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_mesh.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_mesh.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_mesh", *args, **kwargs) diff --git a/spm/spm_mesh_adjacency.py b/spm/spm_mesh_adjacency.py index 13e0b2cf..f6f1a157 100644 --- a/spm/spm_mesh_adjacency.py +++ b/spm/spm_mesh_adjacency.py @@ -2,7 +2,7 @@ def spm_mesh_adjacency(*args, **kwargs): - """ + r""" Compute the adjacency matrix of a triangle mesh FORMAT A = spm_mesh_adjacency(F) F - a [fx3] faces array or a patch structure @@ -11,9 +11,12 @@ def spm_mesh_adjacency(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_mesh_adjacency.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_mesh_adjacency.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_mesh_adjacency", *args, **kwargs) diff --git a/spm/spm_mesh_area.py b/spm/spm_mesh_area.py index eeef037c..1379254c 100644 --- a/spm/spm_mesh_area.py +++ b/spm/spm_mesh_area.py @@ -2,7 +2,7 @@ def spm_mesh_area(*args, **kwargs): - """ + r""" Compute the surface area of a triangle mesh FORMAT A = spm_mesh_area(M,P) M - patch structure: vertices and faces must be mx3 and nx3 arrays @@ -18,9 +18,12 @@ def spm_mesh_area(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_mesh_area.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_mesh_area.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_mesh_area", *args, **kwargs) diff --git a/spm/spm_mesh_borders.py b/spm/spm_mesh_borders.py index 2f097daa..525daa4a 100644 --- a/spm/spm_mesh_borders.py +++ b/spm/spm_mesh_borders.py @@ -2,7 +2,7 @@ def spm_mesh_borders(*args, **kwargs): - """ + r""" Return borders of a triangle mesh FORMAT [B,C] = spm_mesh_borders(M) M - a [nx3] faces array or a patch handle/structure @@ -12,9 +12,12 @@ def spm_mesh_borders(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_mesh_borders.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_mesh_borders.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_mesh_borders", *args, **kwargs) diff --git a/spm/spm_mesh_bounding_volume.py b/spm/spm_mesh_bounding_volume.py index 22b132e6..1bd0e943 100644 --- a/spm/spm_mesh_bounding_volume.py +++ b/spm/spm_mesh_bounding_volume.py @@ -2,7 +2,7 @@ def spm_mesh_bounding_volume(*args, **kwargs): - """ + r""" Bounding volume of a triangle mesh FORMAT bv = spm_mesh_bounding_volume(M,t) M - a patch structure or GIfTI object @@ -15,9 +15,12 @@ def spm_mesh_bounding_volume(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_mesh_bounding_volume.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_mesh_bounding_volume.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_mesh_bounding_volume", *args, **kwargs) diff --git a/spm/spm_mesh_calc.py b/spm/spm_mesh_calc.py index 9da4170a..f87125cb 100644 --- a/spm/spm_mesh_calc.py +++ b/spm/spm_mesh_calc.py @@ -2,7 +2,7 @@ def spm_mesh_calc(*args, **kwargs): - """ + r""" Evaluate a function on a mesh's data FORMAT Mo = spm_mesh_calc(Mi,Mo,f,opts) Mi - input filenames (char array or cellstr) @@ -16,9 +16,12 @@ def spm_mesh_calc(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_mesh_calc.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_mesh_calc.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_mesh_calc", *args, **kwargs) diff --git a/spm/spm_mesh_clusters.py b/spm/spm_mesh_clusters.py index 4d2f2671..0eb634f2 100644 --- a/spm/spm_mesh_clusters.py +++ b/spm/spm_mesh_clusters.py @@ -2,7 +2,7 @@ def spm_mesh_clusters(*args, **kwargs): - """ + r""" Label connected components of surface mesh data FORMAT [C, N] = spm_mesh_clusters(M,T) M - a [mx3] faces array or a patch structure @@ -13,9 +13,12 @@ def spm_mesh_clusters(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_mesh_clusters.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_mesh_clusters.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_mesh_clusters", *args, **kwargs) diff --git a/spm/spm_mesh_contour.py b/spm/spm_mesh_contour.py index dd661049..dd43aef8 100644 --- a/spm/spm_mesh_contour.py +++ b/spm/spm_mesh_contour.py @@ -2,7 +2,7 @@ def spm_mesh_contour(*args, **kwargs): - """ + r""" Compute contour lines of a triangular mesh FORMAT S = spm_mesh_contour(M,z) M - a GIfTI object or patch structure @@ -28,9 +28,12 @@ def spm_mesh_contour(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_mesh_contour.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_mesh_contour.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_mesh_contour", *args, **kwargs) diff --git a/spm/spm_mesh_cube.py b/spm/spm_mesh_cube.py index a158c084..0f99820f 100644 --- a/spm/spm_mesh_cube.py +++ b/spm/spm_mesh_cube.py @@ -2,7 +2,7 @@ def spm_mesh_cube(*args, **kwargs): - """ + r""" Triangle mesh of a unit cube FORMAT M = spm_mesh_cube M - patch structure @@ -13,9 +13,12 @@ def spm_mesh_cube(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_mesh_cube.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_mesh_cube.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_mesh_cube", *args, **kwargs) diff --git a/spm/spm_mesh_curvature.py b/spm/spm_mesh_curvature.py index ce567fb7..eab985ab 100644 --- a/spm/spm_mesh_curvature.py +++ b/spm/spm_mesh_curvature.py @@ -2,7 +2,7 @@ def spm_mesh_curvature(*args, **kwargs): - """ + r""" Compute a crude approximation of the curvature of a surface mesh FORMAT C = spm_mesh_curvature(M) M - a patch structure @@ -11,9 +11,12 @@ def spm_mesh_curvature(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_mesh_curvature.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_mesh_curvature.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_mesh_curvature", *args, **kwargs) diff --git a/spm/spm_mesh_detect.py b/spm/spm_mesh_detect.py index cdb65dea..6593d6ce 100644 --- a/spm/spm_mesh_detect.py +++ b/spm/spm_mesh_detect.py @@ -2,7 +2,7 @@ def spm_mesh_detect(*args, **kwargs): - """ + r""" True for valid representation of a mesh FORMAT s = spm_mesh_detect(F) F - variable to query: filename, vol structure, patch structure @@ -10,9 +10,12 @@ def spm_mesh_detect(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_mesh_detect.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_mesh_detect.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_mesh_detect", *args, **kwargs) diff --git a/spm/spm_mesh_dist.py b/spm/spm_mesh_dist.py index 464e36e5..45a351e4 100644 --- a/spm/spm_mesh_dist.py +++ b/spm/spm_mesh_dist.py @@ -2,7 +2,7 @@ def spm_mesh_dist(*args, **kwargs): - """ + r""" Compute signed or unsigned distance from a point to a triangle mesh FORMAT D = spm_mesh_dist(M, XYZ, S) M - a patch structure with fields 'faces' and 'vertices' @@ -19,9 +19,12 @@ def spm_mesh_dist(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_mesh_dist.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_mesh_dist.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_mesh_dist", *args, **kwargs) diff --git a/spm/spm_mesh_distmtx.py b/spm/spm_mesh_distmtx.py index c8e7451e..40926830 100644 --- a/spm/spm_mesh_distmtx.py +++ b/spm/spm_mesh_distmtx.py @@ -2,7 +2,7 @@ def spm_mesh_distmtx(*args, **kwargs): - """ + r""" Compute the distance matrix of a triangle mesh FORMAT D = spm_mesh_distmtx(M,order) M - patch structure @@ -14,9 +14,12 @@ def spm_mesh_distmtx(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_mesh_distmtx.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_mesh_distmtx.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_mesh_distmtx", *args, **kwargs) diff --git a/spm/spm_mesh_edges.py b/spm/spm_mesh_edges.py index 0e56e0aa..c9a39234 100644 --- a/spm/spm_mesh_edges.py +++ b/spm/spm_mesh_edges.py @@ -2,7 +2,7 @@ def spm_mesh_edges(*args, **kwargs): - """ + r""" Return edges of a surface mesh FORMAT [E,L] = spm_mesh_edges(M) M - a [nx3] faces array or a patch handle/structure @@ -13,9 +13,12 @@ def spm_mesh_edges(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_mesh_edges.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_mesh_edges.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_mesh_edges", *args, **kwargs) diff --git a/spm/spm_mesh_euler.py b/spm/spm_mesh_euler.py index 0f8cfbb6..1e82116d 100644 --- a/spm/spm_mesh_euler.py +++ b/spm/spm_mesh_euler.py @@ -2,7 +2,7 @@ def spm_mesh_euler(*args, **kwargs): - """ + r""" Compute the Euler characteristic of a triangle mesh M - patch structure @@ -19,9 +19,12 @@ def spm_mesh_euler(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_mesh_euler.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_mesh_euler.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_mesh_euler", *args, **kwargs) diff --git a/spm/spm_mesh_geodesic.py b/spm/spm_mesh_geodesic.py index 520b9dc0..ffb4f32c 100644 --- a/spm/spm_mesh_geodesic.py +++ b/spm/spm_mesh_geodesic.py @@ -2,7 +2,7 @@ def spm_mesh_geodesic(*args, **kwargs): - """ + r""" Compute geodesic distances on a triangle mesh - a compiled routine FORMAT [D,L,P] = spm_mesh_geodesic(M,i,d,s) M - a patch structure with n vertices @@ -27,9 +27,12 @@ def spm_mesh_geodesic(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_mesh_geodesic.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_mesh_geodesic.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_mesh_geodesic", *args, **kwargs) diff --git a/spm/spm_mesh_get_lm.py b/spm/spm_mesh_get_lm.py index 69629655..533b855e 100644 --- a/spm/spm_mesh_get_lm.py +++ b/spm/spm_mesh_get_lm.py @@ -2,7 +2,7 @@ def spm_mesh_get_lm(*args, **kwargs): - """ + r""" Identification of local maxima on a textured surface mesh FORMAT L = spm_mesh_get_lm(M,T) M - a [nx3] faces array or a patch structure or a [nxn] adjacency @@ -13,9 +13,12 @@ def spm_mesh_get_lm(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_mesh_get_lm.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_mesh_get_lm.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_mesh_get_lm", *args, **kwargs) diff --git a/spm/spm_mesh_inflate.py b/spm/spm_mesh_inflate.py index fecdfc2a..8af76eac 100644 --- a/spm/spm_mesh_inflate.py +++ b/spm/spm_mesh_inflate.py @@ -2,7 +2,7 @@ def spm_mesh_inflate(*args, **kwargs): - """ + r""" Surface mesh inflation FORMAT M = spm_mesh_inflate(M,T,S) @@ -13,9 +13,12 @@ def spm_mesh_inflate(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_mesh_inflate.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_mesh_inflate.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_mesh_inflate", *args, **kwargs) diff --git a/spm/spm_mesh_inside.py b/spm/spm_mesh_inside.py index f90ab0db..53d208e1 100644 --- a/spm/spm_mesh_inside.py +++ b/spm/spm_mesh_inside.py @@ -2,7 +2,7 @@ def spm_mesh_inside(*args, **kwargs): - """ + r""" Test whether a point is inside or outside a watertight triangle mesh FORMAT T = spm_mesh_inside(M,XYZ) M - a patch structure or GIfTI object @@ -34,9 +34,12 @@ def spm_mesh_inside(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_mesh_inside.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_mesh_inside.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_mesh_inside", *args, **kwargs) diff --git a/spm/spm_mesh_isoline.py b/spm/spm_mesh_isoline.py index aedcce8c..4442be18 100644 --- a/spm/spm_mesh_isoline.py +++ b/spm/spm_mesh_isoline.py @@ -2,7 +2,7 @@ def spm_mesh_isoline(*args, **kwargs): - """ + r""" Compute isolines on a triangular mesh FORMAT C = spm_mesh_isoline(M, T, t) M - a GIfTI object or patch structure @@ -31,9 +31,12 @@ def spm_mesh_isoline(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_mesh_isoline.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_mesh_isoline.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_mesh_isoline", *args, **kwargs) diff --git a/spm/spm_mesh_isosurface.py b/spm/spm_mesh_isosurface.py index 00074b58..a840dc97 100644 --- a/spm/spm_mesh_isosurface.py +++ b/spm/spm_mesh_isosurface.py @@ -2,7 +2,7 @@ def spm_mesh_isosurface(*args, **kwargs): - """ + r""" Compute isosurface geometry from volume data FORMAT M = spm_mesh_isosurface(V, t, s) V - volume data @@ -16,9 +16,12 @@ def spm_mesh_isosurface(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_mesh_isosurface.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_mesh_isosurface.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_mesh_isosurface", *args, **kwargs) diff --git a/spm/spm_mesh_join.py b/spm/spm_mesh_join.py index f79f6496..f79259b8 100644 --- a/spm/spm_mesh_join.py +++ b/spm/spm_mesh_join.py @@ -2,7 +2,7 @@ def spm_mesh_join(*args, **kwargs): - """ + r""" Join a list of surface meshes into a single one FORMAT [M, I] = spm_mesh_join(Ms) Ms - a patch structure array or list of scalar patch structures @@ -14,9 +14,12 @@ def spm_mesh_join(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_mesh_join.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_mesh_join.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_mesh_join", *args, **kwargs) diff --git a/spm/spm_mesh_label.py b/spm/spm_mesh_label.py index 729502cc..43f33b50 100644 --- a/spm/spm_mesh_label.py +++ b/spm/spm_mesh_label.py @@ -2,7 +2,7 @@ def spm_mesh_label(*args, **kwargs): - """ + r""" Label connected components of a surface mesh FORMAT C = spm_mesh_label(M) M - a [nx3] faces array or a patch structure @@ -15,9 +15,12 @@ def spm_mesh_label(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_mesh_label.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_mesh_label.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_mesh_label", *args, **kwargs) diff --git a/spm/spm_mesh_laplacian.py b/spm/spm_mesh_laplacian.py index a002b0de..108b8086 100644 --- a/spm/spm_mesh_laplacian.py +++ b/spm/spm_mesh_laplacian.py @@ -2,7 +2,7 @@ def spm_mesh_laplacian(*args, **kwargs): - """ + r""" Compute the graph or (cotangent) mesh Laplacian M - patch structure: vertices and faces must be mx3 and nx3 arrays T - {'graph','mesh'} [Default: 'graph'] @@ -16,9 +16,12 @@ def spm_mesh_laplacian(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_mesh_laplacian.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_mesh_laplacian.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_mesh_laplacian", *args, **kwargs) diff --git a/spm/spm_mesh_mass_matrix.py b/spm/spm_mesh_mass_matrix.py index 8d2b0a69..d8b12092 100644 --- a/spm/spm_mesh_mass_matrix.py +++ b/spm/spm_mesh_mass_matrix.py @@ -2,7 +2,7 @@ def spm_mesh_mass_matrix(*args, **kwargs): - """ + r""" Compute the mass matrix of a triangle mesh M - patch structure: vertices and faces must be mx3 and nx3 arrays @@ -10,9 +10,12 @@ def spm_mesh_mass_matrix(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_mesh_mass_matrix.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_mesh_mass_matrix.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_mesh_mass_matrix", *args, **kwargs) diff --git a/spm/spm_mesh_max.py b/spm/spm_mesh_max.py index 01be3746..49379415 100644 --- a/spm/spm_mesh_max.py +++ b/spm/spm_mesh_max.py @@ -2,7 +2,7 @@ def spm_mesh_max(*args, **kwargs): - """ + r""" Sizes, local maxima and locations of excursion sets on a surface mesh FORMAT [N,Z,M,A,XYZ] = spm_mesh_max(X,L,G) X - a [nx1] array of stat values @@ -20,9 +20,12 @@ def spm_mesh_max(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_mesh_max.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_mesh_max.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_mesh_max", *args, **kwargs) diff --git a/spm/spm_mesh_neighbours.py b/spm/spm_mesh_neighbours.py index 3e2b51f2..c2a25bb5 100644 --- a/spm/spm_mesh_neighbours.py +++ b/spm/spm_mesh_neighbours.py @@ -2,7 +2,7 @@ def spm_mesh_neighbours(*args, **kwargs): - """ + r""" Return first-order neighbours of all vertices of a surface mesh FORMAT N = spm_mesh_neighbours(M,order) M - a patch structure or an adjacency matrix @@ -14,9 +14,12 @@ def spm_mesh_neighbours(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_mesh_neighbours.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_mesh_neighbours.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_mesh_neighbours", *args, **kwargs) diff --git a/spm/spm_mesh_normals.py b/spm/spm_mesh_normals.py index 551eba52..f7cd37a9 100644 --- a/spm/spm_mesh_normals.py +++ b/spm/spm_mesh_normals.py @@ -2,7 +2,7 @@ def spm_mesh_normals(*args, **kwargs): - """ + r""" Compute (unit) normals of a surface mesh FORMAT [Nv, Nf] = spm_mesh_normals(M, unit) M - a patch structure or a handle to a patch @@ -13,9 +13,12 @@ def spm_mesh_normals(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_mesh_normals.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_mesh_normals.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_mesh_normals", *args, **kwargs) diff --git a/spm/spm_mesh_polyhedron.py b/spm/spm_mesh_polyhedron.py index ecad2162..77fa80d7 100644 --- a/spm/spm_mesh_polyhedron.py +++ b/spm/spm_mesh_polyhedron.py @@ -2,7 +2,7 @@ def spm_mesh_polyhedron(*args, **kwargs): - """ + r""" Return one of the Platonic solids with triangle faces FORMAT M = spm_mesh_polyhedron(name) name - polyhedron name @@ -15,9 +15,12 @@ def spm_mesh_polyhedron(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_mesh_polyhedron.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_mesh_polyhedron.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_mesh_polyhedron", *args, **kwargs) diff --git a/spm/spm_mesh_project.py b/spm/spm_mesh_project.py index f1eff956..ef64e70e 100644 --- a/spm/spm_mesh_project.py +++ b/spm/spm_mesh_project.py @@ -2,7 +2,7 @@ def spm_mesh_project(*args, **kwargs): - """ + r""" Project volumetric data onto a mesh FORMAT P = spm_mesh_project(M, dat, method) M - a patch structure, a handle to a patch @@ -19,9 +19,12 @@ def spm_mesh_project(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_mesh_project.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_mesh_project.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_mesh_project", *args, **kwargs) diff --git a/spm/spm_mesh_ray_intersect.py b/spm/spm_mesh_ray_intersect.py index eef13d86..66e3acb5 100644 --- a/spm/spm_mesh_ray_intersect.py +++ b/spm/spm_mesh_ray_intersect.py @@ -2,7 +2,7 @@ def spm_mesh_ray_intersect(*args, **kwargs): - """ + r""" Compute the intersection of ray(s) and triangle(s) FORMAT [I, P, t] = spm_mesh_ray_intersect(M, R) M - a GIfTI object or patch structure or numeric array [v1;v2;v3] @@ -33,9 +33,12 @@ def spm_mesh_ray_intersect(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_mesh_ray_intersect.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_mesh_ray_intersect.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_mesh_ray_intersect", *args, **kwargs) diff --git a/spm/spm_mesh_ray_triangle.py b/spm/spm_mesh_ray_triangle.py index 3b41bc32..53975bcd 100644 --- a/spm/spm_mesh_ray_triangle.py +++ b/spm/spm_mesh_ray_triangle.py @@ -2,7 +2,7 @@ def spm_mesh_ray_triangle(*args, **kwargs): - """ + r""" Compute the intersection of ray(s) and triangle(s) FORMAT [I, t] = spm_mesh_ray_triangle(V, R) V - double precision matrix of triangles [v1;v2;v3] [9xNV] @@ -25,9 +25,12 @@ def spm_mesh_ray_triangle(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_mesh_ray_triangle.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_mesh_ray_triangle.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_mesh_ray_triangle", *args, **kwargs) diff --git a/spm/spm_mesh_reduce.py b/spm/spm_mesh_reduce.py index a118993e..cf1d3986 100644 --- a/spm/spm_mesh_reduce.py +++ b/spm/spm_mesh_reduce.py @@ -2,7 +2,7 @@ def spm_mesh_reduce(*args, **kwargs): - """ + r""" Reduce the number of triangles in a mesh FORMAT M = spm_mesh_reduce(M,f) M - a patch structure @@ -28,9 +28,12 @@ def spm_mesh_reduce(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_mesh_reduce.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_mesh_reduce.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_mesh_reduce", *args, **kwargs) diff --git a/spm/spm_mesh_refine.py b/spm/spm_mesh_refine.py index f25cedfb..b36c43c2 100644 --- a/spm/spm_mesh_refine.py +++ b/spm/spm_mesh_refine.py @@ -2,7 +2,7 @@ def spm_mesh_refine(*args, **kwargs): - """ + r""" Refine a triangle mesh FORMAT M = spm_mesh_refine(M) M - a patch structure or gifti object @@ -18,9 +18,12 @@ def spm_mesh_refine(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_mesh_refine.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_mesh_refine.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_mesh_refine", *args, **kwargs) diff --git a/spm/spm_mesh_render.py b/spm/spm_mesh_render.py index 47b9998d..5128c0a0 100644 --- a/spm/spm_mesh_render.py +++ b/spm/spm_mesh_render.py @@ -2,7 +2,7 @@ def spm_mesh_render(*args, **kwargs): - """ + r""" Display a surface mesh & various utilities FORMAT H = spm_mesh_render('Disp',M,'PropertyName',propertyvalue) M - a GIfTI filename/object or patch structure @@ -42,9 +42,12 @@ def spm_mesh_render(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_mesh_render.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_mesh_render.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_mesh_render", *args, **kwargs) diff --git a/spm/spm_mesh_resels.py b/spm/spm_mesh_resels.py index caed3580..1706e1eb 100644 --- a/spm/spm_mesh_resels.py +++ b/spm/spm_mesh_resels.py @@ -2,7 +2,7 @@ def spm_mesh_resels(*args, **kwargs): - """ + r""" Return the RESEL counts of a search volume on a surface mesh FORMAT R = spm_mesh_resels(M,T,[S]) M - a patch structure or [nx3] faces array (#faces = n) @@ -24,9 +24,12 @@ def spm_mesh_resels(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_mesh_resels.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_mesh_resels.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_mesh_resels", *args, **kwargs) diff --git a/spm/spm_mesh_sdf.py b/spm/spm_mesh_sdf.py index da6d0482..bda8e63e 100644 --- a/spm/spm_mesh_sdf.py +++ b/spm/spm_mesh_sdf.py @@ -2,7 +2,7 @@ def spm_mesh_sdf(*args, **kwargs): - """ + r""" Compute the signed distance field (SDF) to a triangle mesh FORMAT D = spm_mesh_sdf(M, V, m) M - a patch structure with fields 'faces' and 'vertices' @@ -36,9 +36,12 @@ def spm_mesh_sdf(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_mesh_sdf.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_mesh_sdf.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_mesh_sdf", *args, **kwargs) diff --git a/spm/spm_mesh_select.py b/spm/spm_mesh_select.py index 9be74066..6f285ad0 100644 --- a/spm/spm_mesh_select.py +++ b/spm/spm_mesh_select.py @@ -2,7 +2,7 @@ def spm_mesh_select(*args, **kwargs): - """ + r""" Select vertices interactively on a triangle mesh FORMAT P = spm_mesh_select(M,N) M - a mesh filename or GIfTI object or patch structure @@ -13,9 +13,12 @@ def spm_mesh_select(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_mesh_select.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_mesh_select.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_mesh_select", *args, **kwargs) diff --git a/spm/spm_mesh_smooth.py b/spm/spm_mesh_smooth.py index fb59a3a9..ac316677 100644 --- a/spm/spm_mesh_smooth.py +++ b/spm/spm_mesh_smooth.py @@ -2,7 +2,7 @@ def spm_mesh_smooth(*args, **kwargs): - """ + r""" Perform Gaussian smoothing on data lying on a surface mesh FORMAT K = spm_mesh_smooth(M) M - patch structure @@ -15,9 +15,12 @@ def spm_mesh_smooth(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_mesh_smooth.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_mesh_smooth.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_mesh_smooth", *args, **kwargs) diff --git a/spm/spm_mesh_sphere.py b/spm/spm_mesh_sphere.py index 1b2d1d93..d36cd281 100644 --- a/spm/spm_mesh_sphere.py +++ b/spm/spm_mesh_sphere.py @@ -2,7 +2,7 @@ def spm_mesh_sphere(*args, **kwargs): - """ + r""" Return a triangle mesh of a unit sphere N - number of subdivision iterations [Default: 5] M - initial triangle mesh [Default: 'icosahedron'] @@ -15,9 +15,12 @@ def spm_mesh_sphere(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_mesh_sphere.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_mesh_sphere.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_mesh_sphere", *args, **kwargs) diff --git a/spm/spm_mesh_split.py b/spm/spm_mesh_split.py index 50e3d345..38be0b6c 100644 --- a/spm/spm_mesh_split.py +++ b/spm/spm_mesh_split.py @@ -2,7 +2,7 @@ def spm_mesh_split(*args, **kwargs): - """ + r""" Split a surface mesh into its connected components FORMAT MS = spm_mesh_split(M, C) M - a [nx3] faces array or a patch structure @@ -13,9 +13,12 @@ def spm_mesh_split(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_mesh_split.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_mesh_split.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_mesh_split", *args, **kwargs) diff --git a/spm/spm_mesh_to_grid.py b/spm/spm_mesh_to_grid.py index 1dda50de..0940dce6 100644 --- a/spm/spm_mesh_to_grid.py +++ b/spm/spm_mesh_to_grid.py @@ -2,7 +2,7 @@ def spm_mesh_to_grid(*args, **kwargs): - """ + r""" Non-linear interpolation of surface-based data onto a regular grid FORMAT R = spm_mesh_to_grid(M, V, T) M - a patch structure with fields 'faces' and 'vertices' @@ -13,9 +13,12 @@ def spm_mesh_to_grid(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_mesh_to_grid.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_mesh_to_grid.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_mesh_to_grid", *args, **kwargs) diff --git a/spm/spm_mesh_transform.py b/spm/spm_mesh_transform.py index ecd6a0f3..50180269 100644 --- a/spm/spm_mesh_transform.py +++ b/spm/spm_mesh_transform.py @@ -2,7 +2,7 @@ def spm_mesh_transform(*args, **kwargs): - """ + r""" Apply a spatial transformation to vertices of a surface mesh FORMAT M = spm_mesh_transform(M,T,def) M - a patch structure or a gifti object or [nv x 3] array @@ -11,9 +11,12 @@ def - a deformation field (nifti object or filename) [default: none] __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_mesh_transform.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_mesh_transform.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_mesh_transform", *args, **kwargs) diff --git a/spm/spm_mesh_utils.py b/spm/spm_mesh_utils.py index 43733288..cbc4d3bd 100644 --- a/spm/spm_mesh_utils.py +++ b/spm/spm_mesh_utils.py @@ -2,7 +2,7 @@ def spm_mesh_utils(*args, **kwargs): - """ + r""" A gateway function for surface mesh-related compiled algorithms FORMAT [N, D] = spm_mesh_utils('neighbours',A) @@ -19,9 +19,12 @@ def spm_mesh_utils(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_mesh_utils.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_mesh_utils.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_mesh_utils", *args, **kwargs) diff --git a/spm/spm_mesh_volume.py b/spm/spm_mesh_volume.py index 810e2281..bef62688 100644 --- a/spm/spm_mesh_volume.py +++ b/spm/spm_mesh_volume.py @@ -2,7 +2,7 @@ def spm_mesh_volume(*args, **kwargs): - """ + r""" Compute the volume of a closed surface mesh FORMAT V = spm_mesh_volume(M) M - a patch structure @@ -11,9 +11,12 @@ def spm_mesh_volume(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_mesh_volume.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_mesh_volume.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_mesh_volume", *args, **kwargs) diff --git a/spm/spm_mesh_voxelise.py b/spm/spm_mesh_voxelise.py index 82682edf..78d427b3 100644 --- a/spm/spm_mesh_voxelise.py +++ b/spm/spm_mesh_voxelise.py @@ -2,7 +2,7 @@ def spm_mesh_voxelise(*args, **kwargs): - """ + r""" Voxelise a triangle mesh on a regular grid FORMAT [R, V] = spm_mesh_voxelise(M, V) M - a patch structure or GIfTI object @@ -23,9 +23,12 @@ def spm_mesh_voxelise(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_mesh_voxelise.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_mesh_voxelise.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_mesh_voxelise", *args, **kwargs) diff --git a/spm/spm_mfx.py b/spm/spm_mfx.py index 038b6e40..f123d66e 100644 --- a/spm/spm_mfx.py +++ b/spm/spm_mfx.py @@ -2,7 +2,7 @@ def spm_mfx(*args, **kwargs): - """ + r""" Convert a 1st-level design specification into a MFX specification FORMAT [SPM] = spm_mfx(SPM,c) SPM {in} - design and estimation structure after a 1st-level analysis @@ -81,9 +81,12 @@ def spm_mfx(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_mfx.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_mfx.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_mfx", *args, **kwargs) diff --git a/spm/spm_minmax.py b/spm/spm_minmax.py index efd8f4d6..317866e5 100644 --- a/spm/spm_minmax.py +++ b/spm/spm_minmax.py @@ -2,7 +2,7 @@ def spm_minmax(*args, **kwargs): - """ + r""" Compute a suitable range of intensities for VBM preprocessing stuff FORMAT [mnv,mxv] = spm_minmax(g) g - array of data @@ -16,9 +16,12 @@ def spm_minmax(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_minmax.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_minmax.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_minmax", *args, **kwargs) diff --git a/spm/spm_mip.py b/spm/spm_mip.py index 36d8c38b..42ee84b5 100644 --- a/spm/spm_mip.py +++ b/spm/spm_mip.py @@ -2,7 +2,7 @@ def spm_mip(*args, **kwargs): - """ + r""" SPM Maximum Intensity Projection FORMAT mip = spm_mip(Z,XYZ,M,units) Z - vector point list of SPM values for MIP @@ -39,9 +39,12 @@ def spm_mip(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_mip.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_mip.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_mip", *args, **kwargs) diff --git a/spm/spm_mip_ui.py b/spm/spm_mip_ui.py index bc390c86..6fe00ac5 100644 --- a/spm/spm_mip_ui.py +++ b/spm/spm_mip_ui.py @@ -2,7 +2,7 @@ def spm_mip_ui(*args, **kwargs): - """ + r""" GUI for displaying MIPs with interactive pointers FORMAT hMIPax = spm_mip_ui(Z,XYZ,M,DIM,F,units) Z - {1 x ?} vector point list of SPM values for MIP @@ -72,9 +72,12 @@ def spm_mip_ui(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_mip_ui.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_mip_ui.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_mip_ui", *args, **kwargs) diff --git a/spm/spm_mkdir.py b/spm/spm_mkdir.py index ae922a1c..3d8a49fd 100644 --- a/spm/spm_mkdir.py +++ b/spm/spm_mkdir.py @@ -2,7 +2,7 @@ def spm_mkdir(*args, **kwargs): - """ + r""" Make new directory trees FORMAT sts = spm_mkdir(dir,...) dir - character array, or cell array of strings @@ -12,9 +12,12 @@ def spm_mkdir(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_mkdir.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_mkdir.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_mkdir", *args, **kwargs) diff --git a/spm/spm_mldivide.py b/spm/spm_mldivide.py index ef211e88..05955c41 100644 --- a/spm/spm_mldivide.py +++ b/spm/spm_mldivide.py @@ -2,7 +2,7 @@ def spm_mldivide(*args, **kwargs): - """ + r""" Regularised variant of mldivide(A, B) or A \ B, similar to spm_inv(A) * B FORMAT D = spm_mldivide(A, B) @@ -18,9 +18,12 @@ def spm_mldivide(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_mldivide.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_mldivide.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_mldivide", *args, **kwargs) diff --git a/spm/spm_mnc2nifti.py b/spm/spm_mnc2nifti.py index 26818b8f..4bb4b08a 100644 --- a/spm/spm_mnc2nifti.py +++ b/spm/spm_mnc2nifti.py @@ -2,7 +2,7 @@ def spm_mnc2nifti(*args, **kwargs): - """ + r""" Import MINC images into NIfTI FORMAT spm_mnc2nifti(fname) fname - a MINC filename @@ -19,9 +19,12 @@ def spm_mnc2nifti(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_mnc2nifti.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_mnc2nifti.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_mnc2nifti", *args, **kwargs) diff --git a/spm/spm_morlet.py b/spm/spm_morlet.py index d292d2f8..bd60f890 100644 --- a/spm/spm_morlet.py +++ b/spm/spm_morlet.py @@ -2,7 +2,7 @@ def spm_morlet(*args, **kwargs): - """ + r""" Morlet wavelet transform (time-frequency analysis) FORMAT [C] = spm_morlet(s,k,wnum) @@ -18,9 +18,12 @@ def spm_morlet(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_morlet.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_morlet.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_morlet", *args, **kwargs) diff --git a/spm/spm_morlet_conv.py b/spm/spm_morlet_conv.py index 47e43c2c..e49638d7 100644 --- a/spm/spm_morlet_conv.py +++ b/spm/spm_morlet_conv.py @@ -2,7 +2,7 @@ def spm_morlet_conv(*args, **kwargs): - """ + r""" Temporal convolution of complex spectral responses with Morlet envelope FORMAT [G] = spm_morlet_conv(G,w,dt,wnum) @@ -19,9 +19,12 @@ def spm_morlet_conv(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_morlet_conv.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_morlet_conv.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_morlet_conv", *args, **kwargs) diff --git a/spm/spm_mrdivide.py b/spm/spm_mrdivide.py index 4aef75d2..fe902cc6 100644 --- a/spm/spm_mrdivide.py +++ b/spm/spm_mrdivide.py @@ -2,7 +2,7 @@ def spm_mrdivide(*args, **kwargs): - """ + r""" Regularised variant of mrdivide(A, B) or A / B, similar to B * spm_inv(A) FORMAT D = spm_mrdivide(A, B) @@ -18,9 +18,12 @@ def spm_mrdivide(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_mrdivide.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_mrdivide.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_mrdivide", *args, **kwargs) diff --git a/spm/spm_mrf.py b/spm/spm_mrf.py index e974be76..45a15f16 100644 --- a/spm/spm_mrf.py +++ b/spm/spm_mrf.py @@ -2,7 +2,7 @@ def spm_mrf(*args, **kwargs): - """ + r""" Markov Random Field Code - a compiled routine _______________________________________________________________________ @@ -47,9 +47,12 @@ def spm_mrf(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_mrf.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_mrf.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_mrf", *args, **kwargs) diff --git a/spm/spm_mtx_cos.py b/spm/spm_mtx_cos.py index d2da524b..4d36779f 100644 --- a/spm/spm_mtx_cos.py +++ b/spm/spm_mtx_cos.py @@ -2,7 +2,7 @@ def spm_mtx_cos(*args, **kwargs): - """ + r""" returns the cosine of the angle between A and B FORMAT c = spm_mtx_cos(A,B) @@ -12,9 +12,12 @@ def spm_mtx_cos(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_mtx_cos.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_mtx_cos.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_mtx_cos", *args, **kwargs) diff --git a/spm/spm_multrnd.py b/spm/spm_multrnd.py index a02e62d7..ad3fe68a 100644 --- a/spm/spm_multrnd.py +++ b/spm/spm_multrnd.py @@ -2,7 +2,7 @@ def spm_multrnd(*args, **kwargs): - """ + r""" Sample from multinomial distribution FORMAT [m] = spm_multrnd(p,N) @@ -13,9 +13,12 @@ def spm_multrnd(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_multrnd.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_multrnd.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_multrnd", *args, **kwargs) diff --git a/spm/spm_mvNpdf.py b/spm/spm_mvNpdf.py index 82d3cb14..12038cb3 100644 --- a/spm/spm_mvNpdf.py +++ b/spm/spm_mvNpdf.py @@ -2,7 +2,7 @@ def spm_mvNpdf(*args, **kwargs): - """ + r""" Probability Density Function (PDF) of multivariate Normal distribution FORMAT pdf = spm_Npdf(z,Mu,V) @@ -27,9 +27,12 @@ def spm_mvNpdf(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_mvNpdf.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_mvNpdf.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_mvNpdf", *args, **kwargs) diff --git a/spm/spm_mvb.py b/spm/spm_mvb.py index a18ff489..4aa40134 100644 --- a/spm/spm_mvb.py +++ b/spm/spm_mvb.py @@ -2,7 +2,7 @@ def spm_mvb(*args, **kwargs): - """ + r""" Bayesian optimisation of a multivariate linear model with a greedy search FORMAT model = spm_mvb(X,Y,X0,U,V,nG,sG) @@ -72,9 +72,12 @@ def spm_mvb(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_mvb.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_mvb.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_mvb", *args, **kwargs) diff --git a/spm/spm_mvb_G.py b/spm/spm_mvb_G.py index 42d31552..368d2afa 100644 --- a/spm/spm_mvb_G.py +++ b/spm/spm_mvb_G.py @@ -2,7 +2,7 @@ def spm_mvb_G(*args, **kwargs): - """ + r""" Multivariate Bayesian inversion of a linear model FORMAT model = spm_mvb_G(X,L,X0,G,V); X - contrast or target vector @@ -41,9 +41,12 @@ def spm_mvb_G(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_mvb_G.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_mvb_G.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_mvb_G", *args, **kwargs) diff --git a/spm/spm_mvb_R2.py b/spm/spm_mvb_R2.py index a532ab42..48f86129 100644 --- a/spm/spm_mvb_R2.py +++ b/spm/spm_mvb_R2.py @@ -2,7 +2,7 @@ def spm_mvb_R2(*args, **kwargs): - """ + r""" Return the proportion of variance explained by the (MVB) MAP estimates FORMAT [R2,X,P] = spm_mvb_R2(MVB) @@ -11,9 +11,12 @@ def spm_mvb_R2(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_mvb_R2.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_mvb_R2.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_mvb_R2", *args, **kwargs) diff --git a/spm/spm_mvb_U.py b/spm/spm_mvb_U.py index 21c4b1cc..bdf9bb33 100644 --- a/spm/spm_mvb_U.py +++ b/spm/spm_mvb_U.py @@ -2,7 +2,7 @@ def spm_mvb_U(*args, **kwargs): - """ + r""" Construct patterns U for Multivariate Bayesian inversion of a linear model FORMAT U = spm_mvb_U(Y,priors,X0,xyz,vox,nu) Y - data-feature matrix @@ -22,9 +22,12 @@ def spm_mvb_U(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_mvb_U.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_mvb_U.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_mvb_U", *args, **kwargs) diff --git a/spm/spm_mvb_bmc.py b/spm/spm_mvb_bmc.py index 8bbb9c75..3474f930 100644 --- a/spm/spm_mvb_bmc.py +++ b/spm/spm_mvb_bmc.py @@ -2,7 +2,7 @@ def spm_mvb_bmc(*args, **kwargs): - """ + r""" Multivariate Bayesian model comparison (Baysian decoding of a contrast) FORMAT [F,P,MVB] = spm_mvb_bmc(mvb) @@ -13,9 +13,12 @@ def spm_mvb_bmc(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_mvb_bmc.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_mvb_bmc.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_mvb_bmc", *args, **kwargs) diff --git a/spm/spm_mvb_cvk.py b/spm/spm_mvb_cvk.py index e787e721..c47683d7 100644 --- a/spm/spm_mvb_cvk.py +++ b/spm/spm_mvb_cvk.py @@ -2,7 +2,7 @@ def spm_mvb_cvk(*args, **kwargs): - """ + r""" K-fold cross validation of a multivariate Bayesian model FORMAT [p_value,percent,R2] = spm_mvb_cvk(MVB,k) @@ -19,9 +19,12 @@ def spm_mvb_cvk(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_mvb_cvk.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_mvb_cvk.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_mvb_cvk", *args, **kwargs) diff --git a/spm/spm_mvb_cvk2.py b/spm/spm_mvb_cvk2.py index e4cd4d01..3af08f52 100644 --- a/spm/spm_mvb_cvk2.py +++ b/spm/spm_mvb_cvk2.py @@ -2,7 +2,7 @@ def spm_mvb_cvk2(*args, **kwargs): - """ + r""" k-fold cross validation of a multivariate Bayesian model FORMAT [p_value,percent,R2] = spm_mvb_cvk(MVB,k) @@ -20,9 +20,12 @@ def spm_mvb_cvk2(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_mvb_cvk2.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_mvb_cvk2.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_mvb_cvk2", *args, **kwargs) diff --git a/spm/spm_mvb_cvk_display.py b/spm/spm_mvb_cvk_display.py index 6ed21f8f..0cfa2b90 100644 --- a/spm/spm_mvb_cvk_display.py +++ b/spm/spm_mvb_cvk_display.py @@ -2,16 +2,19 @@ def spm_mvb_cvk_display(*args, **kwargs): - """ + r""" Model display for MVB with cross-validation FORMAT spm_mvb_cvk_display(MVB) MVB - multivariate Bayes structure, select one if not provided __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_mvb_cvk_display.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_mvb_cvk_display.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_mvb_cvk_display", *args, **kwargs, nargout=0) diff --git a/spm/spm_mvb_display.py b/spm/spm_mvb_display.py index e824a458..a7615c2b 100644 --- a/spm/spm_mvb_display.py +++ b/spm/spm_mvb_display.py @@ -2,16 +2,19 @@ def spm_mvb_display(*args, **kwargs): - """ + r""" Model display for MVB FORMAT spm_mvb_display(MVB) MVB - multivariate Bayes structure, select one if not provided __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_mvb_display.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_mvb_display.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_mvb_display", *args, **kwargs, nargout=0) diff --git a/spm/spm_mvb_estimate.py b/spm/spm_mvb_estimate.py index 769c8061..ffa08b0d 100644 --- a/spm/spm_mvb_estimate.py +++ b/spm/spm_mvb_estimate.py @@ -2,7 +2,7 @@ def spm_mvb_estimate(*args, **kwargs): - """ + r""" [re]estimate a multivariate Bayes model (Bayesian decoding of a contrast) FORMAT [MVB] = spm_mvb_estimate(MVB) @@ -70,9 +70,12 @@ def spm_mvb_estimate(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_mvb_estimate.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_mvb_estimate.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_mvb_estimate", *args, **kwargs) diff --git a/spm/spm_mvb_p.py b/spm/spm_mvb_p.py index 3ecfdc16..766bb1d3 100644 --- a/spm/spm_mvb_p.py +++ b/spm/spm_mvb_p.py @@ -2,7 +2,7 @@ def spm_mvb_p(*args, **kwargs): - """ + r""" Classical p-value for MVB using null distribution of log-odds ratio FORMAT [p] = spm_mvb_p(MVB,k) @@ -18,9 +18,12 @@ def spm_mvb_p(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_mvb_p.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_mvb_p.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_mvb_p", *args, **kwargs) diff --git a/spm/spm_mvb_ui.py b/spm/spm_mvb_ui.py index 0f76ff6c..f7594847 100644 --- a/spm/spm_mvb_ui.py +++ b/spm/spm_mvb_ui.py @@ -2,7 +2,7 @@ def spm_mvb_ui(*args, **kwargs): - """ + r""" Multivariate Bayes (Bayesian decoding of a contrast) FORMAT [MVB] = spm_mvb_ui(xSPM,SPM,MVB) @@ -80,9 +80,12 @@ def spm_mvb_ui(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_mvb_ui.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_mvb_ui.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_mvb_ui", *args, **kwargs) diff --git a/spm/spm_nCr.py b/spm/spm_nCr.py index cf3e0547..a303ba0d 100644 --- a/spm/spm_nCr.py +++ b/spm/spm_nCr.py @@ -2,7 +2,7 @@ def spm_nCr(*args, **kwargs): - """ + r""" Combinatorics: n choose r, nCr FORMAT c = spm_nCr(n,r) @@ -63,9 +63,12 @@ def spm_nCr(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_nCr.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_nCr.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_nCr", *args, **kwargs) diff --git a/spm/spm_ncFcdf.py b/spm/spm_ncFcdf.py index 5c3050fb..d5f56f83 100644 --- a/spm/spm_ncFcdf.py +++ b/spm/spm_ncFcdf.py @@ -2,7 +2,7 @@ def spm_ncFcdf(*args, **kwargs): - """ + r""" Cumulative Distribution Function (CDF) of non-central F-distribution FORMAT f = spm_ncFcdf(x,df,d) x - F-variate (F has range [0,Inf) ) @@ -15,9 +15,12 @@ def spm_ncFcdf(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_ncFcdf.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_ncFcdf.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_ncFcdf", *args, **kwargs) diff --git a/spm/spm_ncFpdf.py b/spm/spm_ncFpdf.py index 16b54e9d..0103f423 100644 --- a/spm/spm_ncFpdf.py +++ b/spm/spm_ncFpdf.py @@ -2,7 +2,7 @@ def spm_ncFpdf(*args, **kwargs): - """ + r""" Probability Density Function (PDF) of non-central F-distribution FORMAT f = spm_ncFpdf(x,df,d) x - F-variate (F has range [0,Inf) ) @@ -20,9 +20,12 @@ def spm_ncFpdf(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_ncFpdf.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_ncFpdf.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_ncFpdf", *args, **kwargs) diff --git a/spm/spm_ncTcdf.py b/spm/spm_ncTcdf.py index 4c6016b2..b05de718 100644 --- a/spm/spm_ncTcdf.py +++ b/spm/spm_ncTcdf.py @@ -2,7 +2,7 @@ def spm_ncTcdf(*args, **kwargs): - """ + r""" Cumulative Distribution Function (CDF) of non-central t-distribution FORMAT F = spm_ncTcdf(x,v,d) x - T-variate (Student's t has range (-Inf,Inf)) @@ -19,9 +19,12 @@ def spm_ncTcdf(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_ncTcdf.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_ncTcdf.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_ncTcdf", *args, **kwargs) diff --git a/spm/spm_ncTpdf.py b/spm/spm_ncTpdf.py index dc5669d0..fe5a385e 100644 --- a/spm/spm_ncTpdf.py +++ b/spm/spm_ncTpdf.py @@ -2,7 +2,7 @@ def spm_ncTpdf(*args, **kwargs): - """ + r""" Probability Density Function (PDF) of non-central t-distribution FORMAT f = spm_ncTpdf(x,v,d) x - t-ordinates @@ -20,9 +20,12 @@ def spm_ncTpdf(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_ncTpdf.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_ncTpdf.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_ncTpdf", *args, **kwargs) diff --git a/spm/spm_ndgrid.py b/spm/spm_ndgrid.py index 77c2b58d..9658dc90 100644 --- a/spm/spm_ndgrid.py +++ b/spm/spm_ndgrid.py @@ -2,7 +2,7 @@ def spm_ndgrid(*args, **kwargs): - """ + r""" Return a matrix of grid points in the domain specified by x FORMAT [X,x] = spm_ndgrid(x) @@ -14,9 +14,12 @@ def spm_ndgrid(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_ndgrid.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_ndgrid.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_ndgrid", *args, **kwargs) diff --git a/spm/spm_ness.py b/spm/spm_ness.py index 1c38518e..b1797eb7 100644 --- a/spm/spm_ness.py +++ b/spm/spm_ness.py @@ -2,7 +2,7 @@ def spm_ness(*args, **kwargs): - """ + r""" Evaluation of hessian and solenoidal operators at NESS FORMAT [H,R] = spm_ness(J,G) FORMAT [H,R,J,G] = spm_ness(J,G) %%%% complex @@ -36,9 +36,12 @@ def spm_ness(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_ness.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_ness.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_ness", *args, **kwargs) diff --git a/spm/spm_ness_GN.py b/spm/spm_ness_GN.py index 51dfead7..c5e48428 100644 --- a/spm/spm_ness_GN.py +++ b/spm/spm_ness_GN.py @@ -2,7 +2,7 @@ def spm_ness_GN(*args, **kwargs): - """ + r""" Nonequilibrium steady-state under a Helmholtz decomposition FORMAT [NESS] = spm_ness_GN(M,x) -------------------------------------------------------------------------- @@ -30,9 +30,12 @@ def spm_ness_GN(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_ness_GN.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_ness_GN.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_ness_GN", *args, **kwargs) diff --git a/spm/spm_ness_J.py b/spm/spm_ness_J.py index cfa3fc49..b36a8acb 100644 --- a/spm/spm_ness_J.py +++ b/spm/spm_ness_J.py @@ -2,15 +2,18 @@ def spm_ness_J(*args, **kwargs): - """ + r""" Return the Jacobian given a polynomial parameterisation FORMAT J = spm_ness_J(P,M,X) __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_ness_J.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_ness_J.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_ness_J", *args, **kwargs) diff --git a/spm/spm_ness_Lap.py b/spm/spm_ness_Lap.py index f9328aff..dc61e60f 100644 --- a/spm/spm_ness_Lap.py +++ b/spm/spm_ness_Lap.py @@ -2,7 +2,7 @@ def spm_ness_Lap(*args, **kwargs): - """ + r""" Nonequilibrium steady-state under a Helmholtz decomposition FORMAT [NESS] = spm_ness_Lap(M,x) -------------------------------------------------------------------------- @@ -30,9 +30,12 @@ def spm_ness_Lap(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_ness_Lap.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_ness_Lap.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_ness_Lap", *args, **kwargs) diff --git a/spm/spm_ness_N2Sp.py b/spm/spm_ness_N2Sp.py index 36d3959c..68f352fe 100644 --- a/spm/spm_ness_N2Sp.py +++ b/spm/spm_ness_N2Sp.py @@ -2,7 +2,7 @@ def spm_ness_N2Sp(*args, **kwargs): - """ + r""" Convert a Gaussian density into polynomial potential parameters FORMAT Sp = spm_ness_N2Sp(m,C,[K]) -------------------------------------------------------------------------- @@ -11,9 +11,12 @@ def spm_ness_N2Sp(*args, **kwargs): K - Order of polynomial expansion (K = 3 corresponds to quadratic) - [Matlab code]( https://github.com/spm/spm/blob/main/spm_ness_N2Sp.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_ness_N2Sp.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_ness_N2Sp", *args, **kwargs) diff --git a/spm/spm_ness_Sp2N.py b/spm/spm_ness_Sp2N.py index 6992fd0e..e0134032 100644 --- a/spm/spm_ness_Sp2N.py +++ b/spm/spm_ness_Sp2N.py @@ -2,7 +2,7 @@ def spm_ness_Sp2N(*args, **kwargs): - """ + r""" Convert polynomial potential parameters into a Gaussian density FORMAT [m,C] = spm_ness_Sp2N(Sp,[n,K]) -------------------------------------------------------------------------- @@ -15,9 +15,12 @@ def spm_ness_Sp2N(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_ness_Sp2N.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_ness_Sp2N.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_ness_Sp2N", *args, **kwargs) diff --git a/spm/spm_ness_Sp2p.py b/spm/spm_ness_Sp2p.py index 4f708f01..a170c69e 100644 --- a/spm/spm_ness_Sp2p.py +++ b/spm/spm_ness_Sp2p.py @@ -2,7 +2,7 @@ def spm_ness_Sp2p(*args, **kwargs): - """ + r""" Convert a density into polynomial potential parameters FORMAT p = spm_ness_Sp2p(Sp,x,[K]) -------------------------------------------------------------------------- @@ -14,9 +14,12 @@ def spm_ness_Sp2p(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_ness_Sp2p.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_ness_Sp2p.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_ness_Sp2p", *args, **kwargs) diff --git a/spm/spm_ness_U.py b/spm/spm_ness_U.py index 2d8c4a09..5f56042c 100644 --- a/spm/spm_ness_U.py +++ b/spm/spm_ness_U.py @@ -2,8 +2,8 @@ def spm_ness_U(*args, **kwargs): - """ - Nonequilibrium steady-state under a Helmholtz decomposition + r""" + basis functions for NESS under a Helmholtz decomposition FORMAT U = spm_ness_U(M,x) -------------------------------------------------------------------------- M - model specification structure @@ -13,7 +13,8 @@ def spm_ness_U(*args, **kwargs): M.x - (n x 1) = x(0) = expansion point M.W - (n x n) - precision matrix of random fluctuations M.X - sample points - M.K - order of polynomial expansion + M.K - order of polynomial expansion (suprisal) + M.L - order of polynomial expansion (solenoidal) x - sample points @@ -24,6 +25,7 @@ def spm_ness_U(*args, **kwargs): U.b - polynomial basis U.D - derivative operator U.G - amplitude of random fluctuations + U.H - Hessian operator U.dQdp - gradients of flow operator Q w.r.t. flow parameters U.dbQdp - gradients of bQ w.r.t. flow parameters U.dLdp - gradients of L w.r.t. flow parameters @@ -32,9 +34,12 @@ def spm_ness_U(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_ness_U.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_ness_U.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_ness_U", *args, **kwargs) diff --git a/spm/spm_ness_cond.py b/spm/spm_ness_cond.py index 46d8bc80..a894080b 100644 --- a/spm/spm_ness_cond.py +++ b/spm/spm_ness_cond.py @@ -2,7 +2,7 @@ def spm_ness_cond(*args, **kwargs): - """ + r""" Conditional moments of a Gaussian density (polynomial parameterisation) FORMAT [m,C] = spm_ness_cond(n,K,Sp,ni,x) -------------------------------------------------------------------------- @@ -18,9 +18,12 @@ def spm_ness_cond(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_ness_cond.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_ness_cond.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_ness_cond", *args, **kwargs) diff --git a/spm/spm_ness_cond_inv.py b/spm/spm_ness_cond_inv.py new file mode 100644 index 00000000..83c0d5c2 --- /dev/null +++ b/spm/spm_ness_cond_inv.py @@ -0,0 +1,24 @@ +from spm._runtime import Runtime + + +def spm_ness_cond_inv(*args, **kwargs): + r""" + Returns polynomial parameterisation (sP)of a Gaussian density + FORMAT [Sp,o] = spm_ness_cond_inv(m,C) + -------------------------------------------------------------------------- + m - mean + C - covariance + + Sp - Polynomial coefficients; i.e., parameters of log density + __________________________________________________________________________ + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_ness_cond_inv.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("spm_ness_cond_inv", *args, **kwargs) diff --git a/spm/spm_ness_flows.py b/spm/spm_ness_flows.py index b74d2fcc..abeda3e0 100644 --- a/spm/spm_ness_flows.py +++ b/spm/spm_ness_flows.py @@ -2,7 +2,7 @@ def spm_ness_flows(*args, **kwargs): - """ + r""" Nonequilibrium steady-state under a Helmholtz decomposition FORMAT spm_ness_flows(M,x) -------------------------------------------------------------------------- @@ -14,9 +14,12 @@ def spm_ness_flows(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_ness_flows.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_ness_flows.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_ness_flows", *args, **kwargs, nargout=0) diff --git a/spm/spm_ness_hd.py b/spm/spm_ness_hd.py index eae8782c..f8b35aeb 100644 --- a/spm/spm_ness_hd.py +++ b/spm/spm_ness_hd.py @@ -2,7 +2,7 @@ def spm_ness_hd(*args, **kwargs): - """ + r""" Nonequilibrium steady-state under a Helmholtz decomposition FORMAT NESS = spm_ness_hd(M,x) -------------------------------------------------------------------------- @@ -14,6 +14,7 @@ def spm_ness_hd(*args, **kwargs): M.W - (n x n) - precision matrix of random fluctuations x - cell array of vectors specifying evaluation grid + NESS.Ep - parameters of log NESS NESS.p0 - nonequilibrium steady-state NESS.X - evaluation points of state space NESS.F - expected flow @@ -25,14 +26,24 @@ def spm_ness_hd(*args, **kwargs): NESS.H2 - expected Euclidean norm of Hessian NESS.J2 - expected Euclidean norm of Jacobian NESS.D2 - correlation dimension - NESS.bS - p0 = spm_softmax(spm_dctmtx(nx,nb)*bS); - NESS.nb - number of basis functions + NESS.o - parameter orders + + This routine returns the polynomial coefficients of a Laplace + approximation to nonequilibrium steady-state dynamics given some + equations of motion, which themselves could be based upon a Helmholtz + decomposition with a different polynomial expansion. In other words, it + converts a more or less expressive parameterisation of density dynamics + into a second order Laplace approximation that is suitable for solving + density dynamics. __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_ness_hd.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_ness_hd.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_ness_hd", *args, **kwargs) diff --git a/spm/spm_ness_m2S.py b/spm/spm_ness_m2S.py index dc88a038..3bba00ad 100644 --- a/spm/spm_ness_m2S.py +++ b/spm/spm_ness_m2S.py @@ -2,7 +2,7 @@ def spm_ness_m2S(*args, **kwargs): - """ + r""" Conditional moments of a Gaussian density (polynomial parameterisation) FORMAT [p0,X,F,f,NESS] = spm_ness_hd(M,x) -------------------------------------------------------------------------- @@ -13,9 +13,12 @@ def spm_ness_m2S(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_ness_m2S.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_ness_m2S.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_ness_m2S", *args, **kwargs) diff --git a/spm/spm_ness_p2Sp.py b/spm/spm_ness_p2Sp.py index 6e00e148..2acf34da 100644 --- a/spm/spm_ness_p2Sp.py +++ b/spm/spm_ness_p2Sp.py @@ -2,7 +2,7 @@ def spm_ness_p2Sp(*args, **kwargs): - """ + r""" Convert a density into polynomial potential parameters FORMAT Sp = spm_ness_p2Sp(p,x,K)) -------------------------------------------------------------------------- @@ -14,9 +14,12 @@ def spm_ness_p2Sp(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_ness_p2Sp.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_ness_p2Sp.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_ness_p2Sp", *args, **kwargs) diff --git a/spm/spm_nlsi.py b/spm/spm_nlsi.py index bf22ed95..2242c126 100644 --- a/spm/spm_nlsi.py +++ b/spm/spm_nlsi.py @@ -2,7 +2,7 @@ def spm_nlsi(*args, **kwargs): - """ + r""" Nonlinear system identification of a MIMO system FORMAT [Ep,Cp,Eh,K0,K1,K2,M0,M1,L1,L2] = spm_nlsi(M,U,Y) FORMAT [K0,K1,K2,M0,M1,L1,L2] = spm_nlsi(M) @@ -92,9 +92,12 @@ def spm_nlsi(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_nlsi.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_nlsi.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_nlsi", *args, **kwargs) diff --git a/spm/spm_nlsi_AI.py b/spm/spm_nlsi_AI.py index cb7434c4..a1d9b01b 100644 --- a/spm/spm_nlsi_AI.py +++ b/spm/spm_nlsi_AI.py @@ -2,7 +2,7 @@ def spm_nlsi_AI(*args, **kwargs): - """ + r""" Bayesian inversion of a linear-nonlinear model of the form F(p)*G(g)' FORMAT [Ep,Eg,Cp,Cg,S,F,L]= spm_nlsi_N(M,U,Y) @@ -87,9 +87,12 @@ def spm_nlsi_AI(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_nlsi_AI.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_nlsi_AI.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_nlsi_AI", *args, **kwargs) diff --git a/spm/spm_nlsi_GN.py b/spm/spm_nlsi_GN.py index e7c52159..6bb44e86 100644 --- a/spm/spm_nlsi_GN.py +++ b/spm/spm_nlsi_GN.py @@ -2,7 +2,7 @@ def spm_nlsi_GN(*args, **kwargs): - """ + r""" Bayesian inversion of nonlinear models - Gauss-Newton/Variational Laplace FORMAT [Ep,Cp,Eh,F,L,dFdp,dFdpp] = spm_nlsi_GN(M,U,Y) @@ -99,9 +99,12 @@ def spm_nlsi_GN(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_nlsi_GN.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_nlsi_GN.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_nlsi_GN", *args, **kwargs) diff --git a/spm/spm_nlsi_GN_H.py b/spm/spm_nlsi_GN_H.py index 55c5055f..f7f777d3 100644 --- a/spm/spm_nlsi_GN_H.py +++ b/spm/spm_nlsi_GN_H.py @@ -2,7 +2,7 @@ def spm_nlsi_GN_H(*args, **kwargs): - """ + r""" Bayesian inversion of a nonlinear model with hierarchical optimisation FORMAT [Ep,Cp,Eh,F] = spm_nlsi_GN_H(M,U,Y) @@ -62,9 +62,12 @@ def spm_nlsi_GN_H(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_nlsi_GN_H.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_nlsi_GN_H.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_nlsi_GN_H", *args, **kwargs) diff --git a/spm/spm_nlsi_LS.py b/spm/spm_nlsi_LS.py index 7935889a..f10e3bad 100644 --- a/spm/spm_nlsi_LS.py +++ b/spm/spm_nlsi_LS.py @@ -2,7 +2,7 @@ def spm_nlsi_LS(*args, **kwargs): - """ + r""" Bayesian inversion of a nonlinear model using (Laplacian) sampling FORMAT [Ep,Cp,Eh,F] = spm_nlsi_LS(M,U,Y) @@ -88,9 +88,12 @@ def spm_nlsi_LS(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_nlsi_LS.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_nlsi_LS.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_nlsi_LS", *args, **kwargs) diff --git a/spm/spm_nlsi_N.py b/spm/spm_nlsi_N.py index a8f61987..65be83f0 100644 --- a/spm/spm_nlsi_N.py +++ b/spm/spm_nlsi_N.py @@ -2,7 +2,7 @@ def spm_nlsi_N(*args, **kwargs): - """ + r""" Bayesian inversion of a linear-nonlinear model of the form F(p)*G(g)' FORMAT [Ep,Eg,Cp,Cg,S,F,L]= spm_nlsi_N(M,U,Y) @@ -87,9 +87,12 @@ def spm_nlsi_N(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_nlsi_N.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_nlsi_N.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_nlsi_N", *args, **kwargs) diff --git a/spm/spm_nlsi_Newton.py b/spm/spm_nlsi_Newton.py index d4966464..1b271ac8 100644 --- a/spm/spm_nlsi_Newton.py +++ b/spm/spm_nlsi_Newton.py @@ -2,7 +2,7 @@ def spm_nlsi_Newton(*args, **kwargs): - """ + r""" Variational Lapalce for nonlinear models - Newton's method FORMAT [Ep,Cp,F] = spm_nlsi_Newton(M,U,Y) @@ -49,9 +49,12 @@ def spm_nlsi_Newton(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_nlsi_Newton.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_nlsi_Newton.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_nlsi_Newton", *args, **kwargs) diff --git a/spm/spm_non_sphericity.py b/spm/spm_non_sphericity.py index 28c13dce..4042c1a5 100644 --- a/spm/spm_non_sphericity.py +++ b/spm/spm_non_sphericity.py @@ -2,7 +2,7 @@ def spm_non_sphericity(*args, **kwargs): - """ + r""" Return error covariance constraints for basic ANOVA designs FORMAT [xVi] = spm_non_sphericity(xVi) @@ -60,9 +60,12 @@ def spm_non_sphericity(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_non_sphericity.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_non_sphericity.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_non_sphericity", *args, **kwargs) diff --git a/spm/spm_normrnd.py b/spm/spm_normrnd.py index 43e69cbc..08272403 100644 --- a/spm/spm_normrnd.py +++ b/spm/spm_normrnd.py @@ -2,7 +2,7 @@ def spm_normrnd(*args, **kwargs): - """ + r""" Random samples from Gaussian distribution FORMAT x = spm_normrnd(m, C, N) m - [d x 1] mean @@ -14,9 +14,12 @@ def spm_normrnd(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_normrnd.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_normrnd.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_normrnd", *args, **kwargs) diff --git a/spm/spm_opm_amm.py b/spm/spm_opm_amm.py index e9d111fc..510e461b 100644 --- a/spm/spm_opm_amm.py +++ b/spm/spm_opm_amm.py @@ -2,7 +2,7 @@ def spm_opm_amm(*args, **kwargs): - """ + r""" models brain signal and interference as a set of geometrically adaptive multipole moments FORMAT D = spm_opm_amm(S) @@ -21,9 +21,12 @@ def spm_opm_amm(*args, **kwargs): Copyright Tim Tierney - [Matlab code]( https://github.com/spm/spm/blob/main/spm_opm_amm.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_opm_amm.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_opm_amm", *args, **kwargs) diff --git a/spm/spm_orientations.py b/spm/spm_orientations.py index b7752c2f..444f9a29 100644 --- a/spm/spm_orientations.py +++ b/spm/spm_orientations.py @@ -2,7 +2,7 @@ def spm_orientations(*args, **kwargs): - """ + r""" Show the orientations that SPM assumes that the data are stored in. Standard Analyze format axial images will normally be reported as 'RPI Left-handed'. Some people @@ -50,9 +50,12 @@ def spm_orientations(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_orientations.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_orientations.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_orientations", *args, **kwargs, nargout=0) diff --git a/spm/spm_orth.py b/spm/spm_orth.py index 059fee59..6c8b19bb 100644 --- a/spm/spm_orth.py +++ b/spm/spm_orth.py @@ -2,7 +2,7 @@ def spm_orth(*args, **kwargs): - """ + r""" Recursive Gram-Schmidt orthogonalisation of basis functions FORMAT X = spm_orth(X,OPT) @@ -18,9 +18,12 @@ def spm_orth(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_orth.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_orth.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_orth", *args, **kwargs) diff --git a/spm/spm_orthpoly.py b/spm/spm_orthpoly.py index 343721c3..ce7e4b66 100644 --- a/spm/spm_orthpoly.py +++ b/spm/spm_orthpoly.py @@ -2,7 +2,7 @@ def spm_orthpoly(*args, **kwargs): - """ + r""" Create orthonormal polynomial basis functions FORMAT C = spm_orthpoly(N,[K]) N - dimension @@ -14,9 +14,12 @@ def spm_orthpoly(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_orthpoly.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_orthpoly.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_orthpoly", *args, **kwargs) diff --git a/spm/spm_orthviews.py b/spm/spm_orthviews.py index 48bbca7d..e46be58d 100644 --- a/spm/spm_orthviews.py +++ b/spm/spm_orthviews.py @@ -2,7 +2,7 @@ def spm_orthviews(*args, **kwargs): - """ + r""" Display orthogonal views of a set of images FORMAT H = spm_orthviews('Image',filename[,area[,F]]) filename - name of image to display @@ -154,9 +154,12 @@ def spm_orthviews(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_orthviews.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_orthviews.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_orthviews", *args, **kwargs) diff --git a/spm/spm_padarray.py b/spm/spm_padarray.py index 26b07dbb..e5d259e4 100644 --- a/spm/spm_padarray.py +++ b/spm/spm_padarray.py @@ -2,7 +2,7 @@ def spm_padarray(*args, **kwargs): - """ + r""" FORMAT Y = spm_padarray(X, padsize, [method], [direction]) X - numeric array padsize - padding size along each dimension of the array (>= 0) @@ -17,9 +17,12 @@ def spm_padarray(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_padarray.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_padarray.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_padarray", *args, **kwargs) diff --git a/spm/spm_parrec2nifti.py b/spm/spm_parrec2nifti.py index 361aa856..835a6b0f 100644 --- a/spm/spm_parrec2nifti.py +++ b/spm/spm_parrec2nifti.py @@ -2,7 +2,7 @@ def spm_parrec2nifti(*args, **kwargs): - """ + r""" Import PAR/REC images from Philips scanners into NIfTI FORMAT N = spm_parrec2nifti(parfile,opts) parfile - name of PAR file @@ -14,9 +14,12 @@ def spm_parrec2nifti(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_parrec2nifti.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_parrec2nifti.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_parrec2nifti", *args, **kwargs) diff --git a/spm/spm_peb_ppi.py b/spm/spm_peb_ppi.py index 856dd3f4..b3a2aad0 100644 --- a/spm/spm_peb_ppi.py +++ b/spm/spm_peb_ppi.py @@ -2,7 +2,7 @@ def spm_peb_ppi(*args, **kwargs): - """ + r""" Bold deconvolution to create physio- or psycho-physiologic interactions FORMAT PPI = spm_peb_ppi(SPMname,ppiflag,VOI,Uu,ppiname,showGraphics) @@ -50,9 +50,12 @@ def spm_peb_ppi(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_peb_ppi.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_peb_ppi.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_peb_ppi", *args, **kwargs) diff --git a/spm/spm_percentile.py b/spm/spm_percentile.py index c313e4e8..b5ac21dd 100644 --- a/spm/spm_percentile.py +++ b/spm/spm_percentile.py @@ -2,7 +2,7 @@ def spm_percentile(*args, **kwargs): - """ + r""" Compute one or more percentiles from data FORMAT [y] = spm_percentile(data, p) data - arbitrarily sized input data (from which NaNs will be excluded) @@ -19,9 +19,12 @@ def spm_percentile(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_percentile.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_percentile.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_percentile", *args, **kwargs) diff --git a/spm/spm_perm_mtx.py b/spm/spm_perm_mtx.py index aca79977..ea25931f 100644 --- a/spm/spm_perm_mtx.py +++ b/spm/spm_perm_mtx.py @@ -2,7 +2,7 @@ def spm_perm_mtx(*args, **kwargs): - """ + r""" Return a matrix of indices permuted over n FORMAT [K] = spm_perm_mtx(n) n - (scalar) number of indices @@ -13,9 +13,12 @@ def spm_perm_mtx(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_perm_mtx.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_perm_mtx.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_perm_mtx", *args, **kwargs) diff --git a/spm/spm_permute_kron.py b/spm/spm_permute_kron.py index 08479bc5..664b5f36 100644 --- a/spm/spm_permute_kron.py +++ b/spm/spm_permute_kron.py @@ -2,7 +2,7 @@ def spm_permute_kron(*args, **kwargs): - """ + r""" Permutation of a Kronecker tensor product FORMAT A = spm_permute_kron(A,dim,order) A - 2-dimensional array (A1 x A2 x ... @@ -11,9 +11,12 @@ def spm_permute_kron(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_permute_kron.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_permute_kron.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_permute_kron", *args, **kwargs) diff --git a/spm/spm_pf.py b/spm/spm_pf.py index 0936b411..ce01349d 100644 --- a/spm/spm_pf.py +++ b/spm/spm_pf.py @@ -2,7 +2,7 @@ def spm_pf(*args, **kwargs): - """ + r""" Particle Filtering for dynamic models FORMAT [qx,qP,qD,xhist] = spm_pf(M,y) M - model specification structure @@ -30,9 +30,12 @@ def spm_pf(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_pf.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_pf.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_pf", *args, **kwargs) diff --git a/spm/spm_phase_shuffle.py b/spm/spm_phase_shuffle.py index 2bb393a2..907b20b9 100644 --- a/spm/spm_phase_shuffle.py +++ b/spm/spm_phase_shuffle.py @@ -2,7 +2,7 @@ def spm_phase_shuffle(*args, **kwargs): - """ + r""" Phase-shuffling of a vector FORMAT [y] = spm_phase_shuffle(x,[n]) x - data matrix (time-series in columns) @@ -10,9 +10,12 @@ def spm_phase_shuffle(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_phase_shuffle.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_phase_shuffle.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_phase_shuffle", *args, **kwargs) diff --git a/spm/spm_phi.py b/spm/spm_phi.py index 480c5564..2bacc671 100644 --- a/spm/spm_phi.py +++ b/spm/spm_phi.py @@ -2,7 +2,7 @@ def spm_phi(*args, **kwargs): - """ + r""" Logistic function FORMAT [y] = spm_phi(x) @@ -10,9 +10,12 @@ def spm_phi(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_phi.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_phi.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_phi", *args, **kwargs) diff --git a/spm/spm_phi_dot.py b/spm/spm_phi_dot.py index 7d3c4045..103b79a1 100644 --- a/spm/spm_phi_dot.py +++ b/spm/spm_phi_dot.py @@ -2,16 +2,19 @@ def spm_phi_dot(*args, **kwargs): - """ + r""" Return the derivative of the logistic function FORMAT [y] = spm_phi_dot(x) see spm_phi and spm_inv_phi __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_phi_dot.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_phi_dot.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_phi_dot", *args, **kwargs) diff --git a/spm/spm_pinv.py b/spm/spm_pinv.py index 659dd670..93eff5b8 100644 --- a/spm/spm_pinv.py +++ b/spm/spm_pinv.py @@ -2,7 +2,7 @@ def spm_pinv(*args, **kwargs): - """ + r""" Pseudo-inverse for sparse matrices FORMAT X = spm_pinv(A,TOL) @@ -12,9 +12,12 @@ def spm_pinv(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_pinv.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_pinv.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_pinv", *args, **kwargs) diff --git a/spm/spm_platform.py b/spm/spm_platform.py index b0999cf5..a2e3a3bf 100644 --- a/spm/spm_platform.py +++ b/spm/spm_platform.py @@ -2,7 +2,7 @@ def spm_platform(*args, **kwargs): - """ + r""" Platform specific configuration parameters FORMAT ans = spm_platform(param) @@ -16,6 +16,8 @@ def spm_platform(*args, **kwargs): - 'host' - return system's host name - 'tempdir' - return name of temp directory - 'desktop' - return whether or not the Desktop is in use + - 'runtime' - return the name of the runtime environment + (MATLAB, Octave, ...) FORMAT PlatFontNames = spm_platform('fonts') Return structure with fields named after the generic (UNIX) fonts, the @@ -44,9 +46,12 @@ def spm_platform(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_platform.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_platform.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_platform", *args, **kwargs) diff --git a/spm/spm_plot_ci.py b/spm/spm_plot_ci.py index 1a9b032b..712fe271 100644 --- a/spm/spm_plot_ci.py +++ b/spm/spm_plot_ci.py @@ -2,14 +2,14 @@ def spm_plot_ci(*args, **kwargs): - """ + r""" Plot mean and conditional confidence intervals FORMAT spm_plot_ci(E,C,x,j,s) E - expectation (structure or array) C - variance or covariance (structure or array) x - domain j - rows of E to plot - s - string to specify plot type:e.g. '--r' or 'exp', 'log' etc + s - string to specify plot type:e.g. '--r' or 'exp', 'log', 'plot', etc ------------------------------------------------------------------------- The style of plot depends on the dimensions of the arguments provided: @@ -30,9 +30,12 @@ def spm_plot_ci(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_plot_ci.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_plot_ci.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_plot_ci", *args, **kwargs, nargout=0) diff --git a/spm/spm_plot_convergence.py b/spm/spm_plot_convergence.py index 472c58de..ba97d3bc 100644 --- a/spm/spm_plot_convergence.py +++ b/spm/spm_plot_convergence.py @@ -2,7 +2,7 @@ def spm_plot_convergence(*args, **kwargs): - """ + r""" Display a plot showing convergence of an optimisation routine. FORMAT spm_plot_convergence('Init',title,ylabel,xlabel) Initialise the plot in the 'Interactive' window. @@ -15,9 +15,12 @@ def spm_plot_convergence(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_plot_convergence.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_plot_convergence.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_plot_convergence", *args, **kwargs, nargout=0) diff --git a/spm/spm_polymtx.py b/spm/spm_polymtx.py index d4df1d6a..d7696987 100644 --- a/spm/spm_polymtx.py +++ b/spm/spm_polymtx.py @@ -2,7 +2,7 @@ def spm_polymtx(*args, **kwargs): - """ + r""" Create basis functions for polynomial expansion FORMAT [b,D,H,o] = spm_polymtx(x,K,FUN) @@ -22,9 +22,12 @@ def spm_polymtx(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_polymtx.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_polymtx.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_polymtx", *args, **kwargs) diff --git a/spm/spm_powell.py b/spm/spm_powell.py index e67521f3..fbfebf4f 100644 --- a/spm/spm_powell.py +++ b/spm/spm_powell.py @@ -2,7 +2,7 @@ def spm_powell(*args, **kwargs): - """ + r""" Powell optimisation method FORMAT [p,f] = spm_powell(p,xi,tolsc,func,varargin) p - Starting parameter values @@ -21,9 +21,12 @@ def spm_powell(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_powell.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_powell.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_powell", *args, **kwargs) diff --git a/spm/spm_preproc.py b/spm/spm_preproc.py index 84bfe134..bff3a848 100644 --- a/spm/spm_preproc.py +++ b/spm/spm_preproc.py @@ -2,7 +2,7 @@ def spm_preproc(*args, **kwargs): - """ + r""" Combined Segmentation and Spatial Normalisation FORMAT results = spm_preproc(V,opts) @@ -20,9 +20,12 @@ def spm_preproc(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_preproc.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_preproc.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_preproc", *args, **kwargs) diff --git a/spm/spm_preproc8.py b/spm/spm_preproc8.py index 95795f58..6045871d 100644 --- a/spm/spm_preproc8.py +++ b/spm/spm_preproc8.py @@ -2,7 +2,7 @@ def spm_preproc8(*args, **kwargs): - """ + r""" Combined Segmentation and Spatial Normalisation FORMAT results = spm_preproc8(obj) @@ -75,9 +75,12 @@ def spm_preproc8(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_preproc8.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_preproc8.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_preproc8", *args, **kwargs) diff --git a/spm/spm_preproc_run.py b/spm/spm_preproc_run.py index 4acb4960..ecf80b7e 100644 --- a/spm/spm_preproc_run.py +++ b/spm/spm_preproc_run.py @@ -2,7 +2,7 @@ def spm_preproc_run(*args, **kwargs): - """ + r""" Segment a bunch of images FORMAT spm_preproc_run(job) job.channel(n).vols{m} @@ -31,9 +31,12 @@ def spm_preproc_run(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_preproc_run.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_preproc_run.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_preproc_run", *args, **kwargs) diff --git a/spm/spm_preproc_write8.py b/spm/spm_preproc_write8.py index 4b3b5c59..f2dd8f6a 100644 --- a/spm/spm_preproc_write8.py +++ b/spm/spm_preproc_write8.py @@ -2,15 +2,18 @@ def spm_preproc_write8(*args, **kwargs): - """ + r""" Write out VBM preprocessed data FORMAT [cls,M1] = spm_preproc_write8(res,tc,bf,df,mrf,cleanup,bb,vx,odir) __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_preproc_write8.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_preproc_write8.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_preproc_write8", *args, **kwargs) diff --git a/spm/spm_print.py b/spm/spm_print.py index 65573abb..81022e40 100644 --- a/spm/spm_print.py +++ b/spm/spm_print.py @@ -2,7 +2,7 @@ def spm_print(*args, **kwargs): - """ + r""" Print figure FORMAT spm_print(fname,F,opts) fname - output filename [Default: 'spm_'] @@ -15,9 +15,12 @@ def spm_print(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_print.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_print.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_print", *args, **kwargs) diff --git a/spm/spm_progress_bar.py b/spm/spm_progress_bar.py index a1f0af8c..5c309747 100644 --- a/spm/spm_progress_bar.py +++ b/spm/spm_progress_bar.py @@ -2,7 +2,7 @@ def spm_progress_bar(*args, **kwargs): - """ + r""" Display a 'Progress Bar' in the 'Interactive' window FORMAT spm_progress_bar('Init',height,xlabel,ylabel,flgs) Initialise the bar in the 'Interactive' window. @@ -23,9 +23,12 @@ def spm_progress_bar(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_progress_bar.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_progress_bar.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_progress_bar", *args, **kwargs, nargout=0) diff --git a/spm/spm_project.py b/spm/spm_project.py index 1651c9cf..7babea6e 100644 --- a/spm/spm_project.py +++ b/spm/spm_project.py @@ -2,7 +2,7 @@ def spm_project(*args, **kwargs): - """ + r""" Form maximum intensity projections - a compiled routine FORMAT SPM = spm_project(X,L,dims,[DXYZ,CXYZ]) X - a matrix of voxel values @@ -24,9 +24,12 @@ def spm_project(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_project.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_project.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_project", *args, **kwargs) diff --git a/spm/spm_psi.py b/spm/spm_psi.py index 1816c081..98893ddb 100644 --- a/spm/spm_psi.py +++ b/spm/spm_psi.py @@ -2,21 +2,23 @@ def spm_psi(*args, **kwargs): - """ - Normalisation of a Dirichlet probability matrix (columns) + r""" + log normalised Dirichlet probability matrix (columns) FORMAT [A] = spm_psi(a) a - Dirichlet parameter tensor - This can be regarded as log(spm_dir_norm(a)). More formally, it - corresponds to the expectation of the log marginals: E[log(X)]: X(i) - ~ Beta(a(i),a0 - a(i)). See also: psi.m + This routine returns the expectation of log marginals: E[log(X)]: X(i) ~ + Beta(a(i),a0 - a(i)), for a > 1. See also: psi.m __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_psi.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_psi.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_psi", *args, **kwargs) diff --git a/spm/spm_rand_mar.py b/spm/spm_rand_mar.py index b961ceaa..40a2cac6 100644 --- a/spm/spm_rand_mar.py +++ b/spm/spm_rand_mar.py @@ -2,7 +2,7 @@ def spm_rand_mar(*args, **kwargs): - """ + r""" Generate random variates from an autoregressive process FORMAT [y] = spm_rand_mar(m,n,a) m - time bins @@ -13,9 +13,12 @@ def spm_rand_mar(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_rand_mar.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_rand_mar.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_rand_mar", *args, **kwargs) diff --git a/spm/spm_rand_power_law.py b/spm/spm_rand_power_law.py index aad24b29..895972e2 100644 --- a/spm/spm_rand_power_law.py +++ b/spm/spm_rand_power_law.py @@ -2,7 +2,7 @@ def spm_rand_power_law(*args, **kwargs): - """ + r""" Generate random variates with a power law spectral density FORMAT [y,K] = spm_rand_power_law(csd,Hz,dt,N) csd - spectral densities (one per column) @@ -17,9 +17,12 @@ def spm_rand_power_law(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_rand_power_law.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_rand_power_law.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_rand_power_law", *args, **kwargs) diff --git a/spm/spm_read_netcdf.py b/spm/spm_read_netcdf.py index a5771abc..8af5d943 100644 --- a/spm/spm_read_netcdf.py +++ b/spm/spm_read_netcdf.py @@ -2,7 +2,7 @@ def spm_read_netcdf(*args, **kwargs): - """ + r""" Read the header information from a NetCDF file into a data structure FORMAT cdf = spm_read_netcdf(fname) fname - name of NetCDF file @@ -12,9 +12,12 @@ def spm_read_netcdf(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_read_netcdf.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_read_netcdf.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_read_netcdf", *args, **kwargs) diff --git a/spm/spm_read_vols.py b/spm/spm_read_vols.py index 935b9c89..52234f6b 100644 --- a/spm/spm_read_vols.py +++ b/spm/spm_read_vols.py @@ -2,7 +2,7 @@ def spm_read_vols(*args, **kwargs): - """ + r""" Read in entire image volumes FORMAT [Y,XYZmm] = spm_read_vols(V,mask) V - vector of mapped image volumes to read in (from spm_vol) @@ -18,9 +18,12 @@ def spm_read_vols(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_read_vols.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_read_vols.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_read_vols", *args, **kwargs) diff --git a/spm/spm_realign.py b/spm/spm_realign.py index 555f365a..4b8eb474 100644 --- a/spm/spm_realign.py +++ b/spm/spm_realign.py @@ -2,7 +2,7 @@ def spm_realign(*args, **kwargs): - """ + r""" Estimation of within modality rigid body movement parameters FORMAT P = spm_realign(P,flags) @@ -89,9 +89,12 @@ def spm_realign(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_realign.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_realign.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_realign", *args, **kwargs) diff --git a/spm/spm_regions.py b/spm/spm_regions.py index 93ecff3f..c3e772a0 100644 --- a/spm/spm_regions.py +++ b/spm/spm_regions.py @@ -2,7 +2,7 @@ def spm_regions(*args, **kwargs): - """ + r""" VOI time-series extraction of adjusted data (& local eigenimage analysis) FORMAT [Y,xY] = spm_regions(xSPM,SPM,hReg,[xY]) @@ -53,9 +53,12 @@ def spm_regions(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_regions.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_regions.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_regions", *args, **kwargs) diff --git a/spm/spm_reml.py b/spm/spm_reml.py index fc482061..ae41a587 100644 --- a/spm/spm_reml.py +++ b/spm/spm_reml.py @@ -2,7 +2,7 @@ def spm_reml(*args, **kwargs): - """ + r""" ReML estimation of [improper] covariance components from y*y' FORMAT [C,h,Ph,F,Fa,Fc] = spm_reml(YY,X,Q,N,t,hE,hP) @@ -40,9 +40,12 @@ def spm_reml(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_reml.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_reml.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_reml", *args, **kwargs) diff --git a/spm/spm_reml_A.py b/spm/spm_reml_A.py index 1d7b6c63..67ff5951 100644 --- a/spm/spm_reml_A.py +++ b/spm/spm_reml_A.py @@ -2,7 +2,7 @@ def spm_reml_A(*args, **kwargs): - """ + r""" ReML estimation of covariance components from y*y' - factored components FORMAT [C,h,Ph,F,Fa,Fc] = spm_reml_A(YY,X,Q,N,[hE,hC,V]) @@ -38,9 +38,12 @@ def spm_reml_A(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_reml_A.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_reml_A.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_reml_A", *args, **kwargs) diff --git a/spm/spm_reml_ancova.py b/spm/spm_reml_ancova.py index 4a0ccf14..2329297d 100644 --- a/spm/spm_reml_ancova.py +++ b/spm/spm_reml_ancova.py @@ -2,7 +2,7 @@ def spm_reml_ancova(*args, **kwargs): - """ + r""" Classical inference for [hierarchial] linear models using ReML FORMAT [F,df,xX,xCon,beta,V] = spm_reml_ancova(y,P,Fc); @@ -34,9 +34,12 @@ def spm_reml_ancova(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_reml_ancova.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_reml_ancova.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_reml_ancova", *args, **kwargs) diff --git a/spm/spm_reml_sc.py b/spm/spm_reml_sc.py index e29f378a..c5eacf21 100644 --- a/spm/spm_reml_sc.py +++ b/spm/spm_reml_sc.py @@ -2,7 +2,7 @@ def spm_reml_sc(*args, **kwargs): - """ + r""" ReML estimation of covariance components from y*y' - proper components FORMAT [C,h,Ph,F,Fa,Fc,Eh,Ch,hE,hC,Q] = spm_reml_sc(YY,X,Q,N,[hE,hC,V]) @@ -47,9 +47,12 @@ def spm_reml_sc(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_reml_sc.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_reml_sc.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_reml_sc", *args, **kwargs) diff --git a/spm/spm_render.py b/spm/spm_render.py index 6e7a9ff9..8d3180b8 100644 --- a/spm/spm_render.py +++ b/spm/spm_render.py @@ -2,7 +2,7 @@ def spm_render(*args, **kwargs): - """ + r""" Render blobs on surface of a 'standard' brain FORMAT spm_render(dat,brt,rendfile) @@ -36,9 +36,12 @@ def spm_render(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_render.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_render.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_render", *args, **kwargs) diff --git a/spm/spm_render_vol.py b/spm/spm_render_vol.py index db9af569..11512bac 100644 --- a/spm/spm_render_vol.py +++ b/spm/spm_render_vol.py @@ -2,7 +2,7 @@ def spm_render_vol(*args, **kwargs): - """ + r""" Surface render a memory mapped 8 bit image - a compiled routine FORMAT [REN, ZBUF, X, Y, Z] = spm_render_vol(V, A, [i j], [u n]) V - is the memory mapped volume @@ -32,9 +32,12 @@ def spm_render_vol(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_render_vol.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_render_vol.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_render_vol", *args, **kwargs) diff --git a/spm/spm_reorder_contrasts.py b/spm/spm_reorder_contrasts.py index 122071cd..8a6ccd59 100644 --- a/spm/spm_reorder_contrasts.py +++ b/spm/spm_reorder_contrasts.py @@ -2,7 +2,7 @@ def spm_reorder_contrasts(*args, **kwargs): - """ + r""" Recompute contrasts allowing for permutation and deletion FORMAT batch = spm_reorder_contrasts(SPM,order) SPM - SPM data structure @@ -12,9 +12,12 @@ def spm_reorder_contrasts(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_reorder_contrasts.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_reorder_contrasts.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_reorder_contrasts", *args, **kwargs) diff --git a/spm/spm_resels.py b/spm/spm_resels.py index 4f5c5c5f..abdf4392 100644 --- a/spm/spm_resels.py +++ b/spm/spm_resels.py @@ -2,7 +2,7 @@ def spm_resels(*args, **kwargs): - """ + r""" Return the RESEL counts of a search volume FORMAT [R] = spm_resels(FWHM,L,SPACE) FWHM - smoothness of the component fields {FWHM - voxels} @@ -28,9 +28,12 @@ def spm_resels(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_resels.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_resels.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_resels", *args, **kwargs) diff --git a/spm/spm_resels_vol.py b/spm/spm_resels_vol.py index 5e4a8222..b2d23483 100644 --- a/spm/spm_resels_vol.py +++ b/spm/spm_resels_vol.py @@ -2,7 +2,7 @@ def spm_resels_vol(*args, **kwargs): - """ + r""" Compute the number of resels in a volume - a compiled routine FORMAT R = spm_resels_vol(V,W) V - is a memory mapped image volume. @@ -24,9 +24,12 @@ def spm_resels_vol(*args, **kwargs): _______________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_resels_vol.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_resels_vol.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_resels_vol", *args, **kwargs) diff --git a/spm/spm_reslice.py b/spm/spm_reslice.py index 7771953d..9d5e8691 100644 --- a/spm/spm_reslice.py +++ b/spm/spm_reslice.py @@ -2,7 +2,7 @@ def spm_reslice(*args, **kwargs): - """ + r""" Rigid body reslicing of images FORMAT spm_reslice(P,flags) @@ -62,9 +62,12 @@ def spm_reslice(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_reslice.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_reslice.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_reslice", *args, **kwargs, nargout=0) diff --git a/spm/spm_results_nidm.py b/spm/spm_results_nidm.py index 199aab95..1799f874 100644 --- a/spm/spm_results_nidm.py +++ b/spm/spm_results_nidm.py @@ -2,7 +2,7 @@ def spm_results_nidm(*args, **kwargs): - """ + r""" Export SPM stats results using the Neuroimaging Data Model (NIDM) FORMAT [nidmfile, prov] = spm_results_nidm(SPM,xSPM,TabDat,opts) SPM - structure containing analysis details (see spm_spm.m) @@ -26,9 +26,12 @@ def spm_results_nidm(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_results_nidm.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_results_nidm.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_results_nidm", *args, **kwargs) diff --git a/spm/spm_results_ui.py b/spm/spm_results_ui.py index 4475dded..633f1abf 100644 --- a/spm/spm_results_ui.py +++ b/spm/spm_results_ui.py @@ -2,7 +2,7 @@ def spm_results_ui(*args, **kwargs): - """ + r""" User interface for SPM/PPM results: Display and analysis of regional effects FORMAT [hReg,xSPM,SPM] = spm_results_ui('Setup',[xSPM]) @@ -127,9 +127,12 @@ def spm_results_ui(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_results_ui.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_results_ui.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_results_ui", *args, **kwargs) diff --git a/spm/spm_rmpath.py b/spm/spm_rmpath.py index b27c8e2f..8bb8b9ef 100644 --- a/spm/spm_rmpath.py +++ b/spm/spm_rmpath.py @@ -2,7 +2,7 @@ def spm_rmpath(*args, **kwargs): - """ + r""" Recursively remove SPM paths from the MATLAB path SPM_RMPATH checks if the file spm.m is found and removes the path to that file and any subdirectories below it from the MATLAB @@ -20,9 +20,12 @@ def spm_rmpath(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_rmpath.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_rmpath.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_rmpath", *args, **kwargs) diff --git a/spm/spm_robust_average.py b/spm/spm_robust_average.py index ee1fec45..f64c92f9 100644 --- a/spm/spm_robust_average.py +++ b/spm/spm_robust_average.py @@ -2,7 +2,7 @@ def spm_robust_average(*args, **kwargs): - """ + r""" Apply robust averaging routine to X sets FORMAT [Y,W] = spm_robust_averaget(X, dim, ks) X - data matrix to be averaged @@ -13,9 +13,12 @@ def spm_robust_average(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_robust_average.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_robust_average.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_robust_average", *args, **kwargs) diff --git a/spm/spm_robust_glm.py b/spm/spm_robust_glm.py index f457b2ac..9e936be3 100644 --- a/spm/spm_robust_glm.py +++ b/spm/spm_robust_glm.py @@ -2,7 +2,7 @@ def spm_robust_glm(*args, **kwargs): - """ + r""" Apply robust GLM FORMAT [B, W] = spm_robust_glm(Y, X, dim, ks) Y - data matrix @@ -21,9 +21,12 @@ def spm_robust_glm(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_robust_glm.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_robust_glm.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_robust_glm", *args, **kwargs) diff --git a/spm/spm_s2csd.py b/spm/spm_s2csd.py index c9c0c78f..5d7e6fab 100644 --- a/spm/spm_s2csd.py +++ b/spm/spm_s2csd.py @@ -2,7 +2,7 @@ def spm_s2csd(*args, **kwargs): - """ + r""" Convert eigenspectrum to cross spectral density FORMAT [csd,Hz] = spm_s2csd(s,Hz) @@ -13,9 +13,12 @@ def spm_s2csd(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_s2csd.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_s2csd.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_s2csd", *args, **kwargs) diff --git a/spm/spm_sample_priors8.py b/spm/spm_sample_priors8.py index 5350c54d..aa15d098 100644 --- a/spm/spm_sample_priors8.py +++ b/spm/spm_sample_priors8.py @@ -2,7 +2,7 @@ def spm_sample_priors8(*args, **kwargs): - """ + r""" Sample prior probability maps FORMAT [s,ds1,ds2,ds3] = spm_sample_priors8(tpm,x1,x2,x3) b - a cell array containing the tissue probability @@ -18,9 +18,12 @@ def spm_sample_priors8(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_sample_priors8.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_sample_priors8.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_sample_priors8", *args, **kwargs) diff --git a/spm/spm_sample_vol.py b/spm/spm_sample_vol.py index 1b2325ae..00d26252 100644 --- a/spm/spm_sample_vol.py +++ b/spm/spm_sample_vol.py @@ -2,7 +2,7 @@ def spm_sample_vol(*args, **kwargs): - """ + r""" Return voxel values from an image volume - a compiled routine FORMAT X = spm_sample_vol(V,x,y,z,hold) V - spm_vol structure @@ -31,9 +31,12 @@ def spm_sample_vol(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_sample_vol.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_sample_vol.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_sample_vol", *args, **kwargs) diff --git a/spm/spm_save.py b/spm/spm_save.py index 25e0588b..91af831a 100644 --- a/spm/spm_save.py +++ b/spm/spm_save.py @@ -2,7 +2,7 @@ def spm_save(*args, **kwargs): - """ + r""" Save text and numeric data to file FORMAT spm_save(f,var,opts,...) f - filename (can be gzipped) {csv,tsv,json,txt,mat,npy} @@ -11,9 +11,12 @@ def spm_save(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_save.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_save.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_save", *args, **kwargs, nargout=0) diff --git a/spm/spm_sde_dx.py b/spm/spm_sde_dx.py index f5c9a94d..61a083b5 100644 --- a/spm/spm_sde_dx.py +++ b/spm/spm_sde_dx.py @@ -2,7 +2,7 @@ def spm_sde_dx(*args, **kwargs): - """ + r""" Return dx(t) = (expm(dfdx*t) - I)*inv(dfdx)*f + w for SDEs FORMAT [dx] = spm_sde_dx(dfdx,dfdw,f,t) dfdx = df/dx - x: states @@ -32,9 +32,12 @@ def spm_sde_dx(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_sde_dx.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_sde_dx.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_sde_dx", *args, **kwargs) diff --git a/spm/spm_sdot.py b/spm/spm_sdot.py index c8bf2e23..30b45ab1 100644 --- a/spm/spm_sdot.py +++ b/spm/spm_sdot.py @@ -2,7 +2,7 @@ def spm_sdot(*args, **kwargs): - """ + r""" Sparse multidimensional dot (inner) product FORMAT [Y] = spm_sdot(X,x,[DIM]) @@ -19,9 +19,12 @@ def spm_sdot(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_sdot.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_sdot.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_sdot", *args, **kwargs) diff --git a/spm/spm_searchlight.py b/spm/spm_searchlight.py index 53f5f44d..0c5a6ccf 100644 --- a/spm/spm_searchlight.py +++ b/spm/spm_searchlight.py @@ -2,7 +2,7 @@ def spm_searchlight(*args, **kwargs): - """ + r""" Local mass-multivariate (c.f., searchlight) facility FORMAT R = spm_searchlight(SPM,searchopt,fun,varargin) SPM - structure with fields: @@ -37,9 +37,12 @@ def spm_searchlight(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_searchlight.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_searchlight.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_searchlight", *args, **kwargs) diff --git a/spm/spm_sections.py b/spm/spm_sections.py index a59c0b84..eb427ab8 100644 --- a/spm/spm_sections.py +++ b/spm/spm_sections.py @@ -2,7 +2,7 @@ def spm_sections(*args, **kwargs): - """ + r""" Rendering of regional effects [SPM{.}] on orthogonal sections FORMAT spm_sections(xSPM,hReg,img) @@ -17,9 +17,12 @@ def spm_sections(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_sections.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_sections.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_sections", *args, **kwargs, nargout=0) diff --git a/spm/spm_select.py b/spm/spm_select.py index 7caed80f..3207fbef 100644 --- a/spm/spm_select.py +++ b/spm/spm_select.py @@ -2,7 +2,7 @@ def spm_select(*args, **kwargs): - """ + r""" File selector FORMAT [t,sts] = spm_select(n,typ,mesg,sel,wd,filt,frames) n - number of files [Default: Inf] @@ -64,9 +64,12 @@ def spm_select(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_select.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_select.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_select", *args, **kwargs) diff --git a/spm/spm_sepmul3d.py b/spm/spm_sepmul3d.py index 21d9c647..688e3d48 100644 --- a/spm/spm_sepmul3d.py +++ b/spm/spm_sepmul3d.py @@ -2,7 +2,7 @@ def spm_sepmul3d(*args, **kwargs): - """ + r""" Compute t = kron(B3,kron(B2,B1))*T(:) FORMAT t = spm_sepmul3d(B1,B2,B3,T) @@ -20,9 +20,12 @@ def spm_sepmul3d(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_sepmul3d.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_sepmul3d.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_sepmul3d", *args, **kwargs) diff --git a/spm/spm_setmeshpaths.py b/spm/spm_setmeshpaths.py new file mode 100644 index 00000000..f82d786f --- /dev/null +++ b/spm/spm_setmeshpaths.py @@ -0,0 +1,18 @@ +from spm._runtime import Runtime + + +def spm_setmeshpaths(*args, **kwargs): + r""" + function D=spm_setmeshpaths(D,newpath,val) + update paths in spm mesh structure + + + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_setmeshpaths.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL + """ + + return Runtime.call("spm_setmeshpaths", *args, **kwargs) diff --git a/spm/spm_shp_get_model.py b/spm/spm_shp_get_model.py index 2b3700d0..54d9628a 100644 --- a/spm/spm_shp_get_model.py +++ b/spm/spm_shp_get_model.py @@ -2,7 +2,7 @@ def spm_shp_get_model(*args, **kwargs): - """ + r""" Get the path to a Shape PCA model file, install/download if needed. FORMAT path = spm_get_model(name) @@ -14,9 +14,12 @@ def spm_shp_get_model(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_shp_get_model.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_shp_get_model.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_shp_get_model", *args, **kwargs) diff --git a/spm/spm_shp_get_transforms.py b/spm/spm_shp_get_transforms.py index 6c6646d4..e4397bfb 100644 --- a/spm/spm_shp_get_transforms.py +++ b/spm/spm_shp_get_transforms.py @@ -2,7 +2,7 @@ def spm_shp_get_transforms(*args, **kwargs): - """ + r""" Transform MRI to model space and compute its latent code FORMAT spm_shp_get_transforms(path_mri,[folder_out],[folder_shp]) @@ -25,9 +25,12 @@ def spm_shp_get_transforms(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_shp_get_transforms.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_shp_get_transforms.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_shp_get_transforms", *args, **kwargs) diff --git a/spm/spm_shp_install.py b/spm/spm_shp_install.py index ad3a8689..404fd1c9 100644 --- a/spm/spm_shp_install.py +++ b/spm/spm_shp_install.py @@ -2,16 +2,19 @@ def spm_shp_install(*args, **kwargs): - """ + r""" Download files required for Shape PCA model FORMAT datadir = spm_shp_install(datadir,[force=true]) __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_shp_install.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_shp_install.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_shp_install", *args, **kwargs) diff --git a/spm/spm_shp_project_velocity.py b/spm/spm_shp_project_velocity.py index 3195e760..557b995f 100644 --- a/spm/spm_shp_project_velocity.py +++ b/spm/spm_shp_project_velocity.py @@ -2,7 +2,7 @@ def spm_shp_project_velocity(*args, **kwargs): - """ + r""" Project a velocity (= a 4D volume) onto a subspace (= a 5D volume) to compute its latent code (a 1D vector). @@ -17,9 +17,12 @@ def spm_shp_project_velocity(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_shp_project_velocity.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_shp_project_velocity.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_shp_project_velocity", *args, **kwargs) diff --git a/spm/spm_shp_sample_brains.py b/spm/spm_shp_sample_brains.py index 586cb17b..0afb5a21 100644 --- a/spm/spm_shp_sample_brains.py +++ b/spm/spm_shp_sample_brains.py @@ -2,7 +2,7 @@ def spm_shp_sample_brains(*args, **kwargs): - """ + r""" FORMAT [z,z0,mesh] = spm_shp_sample_brains(mesh, K, ...) Positional @@ -23,7 +23,8 @@ def spm_shp_sample_brains(*args, **kwargs): r2n - Subject's import to native transform [default: identity] can - If true: center samples about canonical brain (z=0) If false: center samples about subject's brain (z=z0) - + RandSeed - the random seed used to make this brain (used only to neaten directory structure) + WriteClean - removes random seed directory if it exists Returns ------- z - (M x K) Sampled latent codes @@ -36,9 +37,12 @@ def spm_shp_sample_brains(*args, **kwargs): ______________________________ ____________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_shp_sample_brains.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_shp_sample_brains.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_shp_sample_brains", *args, **kwargs) diff --git a/spm/spm_shp_sample_deformation.py b/spm/spm_shp_sample_deformation.py index 043c35a5..6d1dc750 100644 --- a/spm/spm_shp_sample_deformation.py +++ b/spm/spm_shp_sample_deformation.py @@ -2,7 +2,7 @@ def spm_shp_sample_deformation(*args, **kwargs): - """ + r""" FORMAT [iy,y,z] = spm_shp_sample_deformation(z,U,v0,z0) z - (M x 1) Latent code [NaN] @@ -20,9 +20,12 @@ def spm_shp_sample_deformation(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_shp_sample_deformation.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_shp_sample_deformation.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_shp_sample_deformation", *args, **kwargs) diff --git a/spm/spm_shp_transform_mesh.py b/spm/spm_shp_transform_mesh.py index 5f9e6566..488d49e5 100644 --- a/spm/spm_shp_transform_mesh.py +++ b/spm/spm_shp_transform_mesh.py @@ -2,7 +2,7 @@ def spm_shp_transform_mesh(*args, **kwargs): - """ + r""" Apply a transformation field to a mesh FORMAT wf = spm_shp_transform_mesh(f, iy, [M]) @@ -23,9 +23,12 @@ def spm_shp_transform_mesh(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_shp_transform_mesh.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_shp_transform_mesh.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_shp_transform_mesh", *args, **kwargs) diff --git a/spm/spm_shp_transform_volume.py b/spm/spm_shp_transform_volume.py index 14f567e0..817699ae 100644 --- a/spm/spm_shp_transform_volume.py +++ b/spm/spm_shp_transform_volume.py @@ -2,7 +2,7 @@ def spm_shp_transform_volume(*args, **kwargs): - """ + r""" FORMAT wf = spm_shp_transform_volume(f, y, [itrp], [bnd]) f - Input volume [Nx Ny Nz ...] @@ -19,9 +19,12 @@ def spm_shp_transform_volume(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_shp_transform_volume.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_shp_transform_volume.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_shp_transform_volume", *args, **kwargs) diff --git a/spm/spm_shp_warps.py b/spm/spm_shp_warps.py index dc97cdbf..b1495779 100644 --- a/spm/spm_shp_warps.py +++ b/spm/spm_shp_warps.py @@ -2,7 +2,7 @@ def spm_shp_warps(*args, **kwargs): - """ + r""" __________________________________________________________________________ Collection of tools for manipulating non-linear transformations (warps). @@ -20,9 +20,12 @@ def spm_shp_warps(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_shp_warps.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_shp_warps.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_shp_warps", *args, **kwargs) diff --git a/spm/spm_sixel.py b/spm/spm_sixel.py index 90d36869..0e37bb99 100644 --- a/spm/spm_sixel.py +++ b/spm/spm_sixel.py @@ -2,7 +2,7 @@ def spm_sixel(*args, **kwargs): - """ + r""" Display or export images in sixel format FORMAT spm_sixel(img,col,[filename]) img - m x n indexed image or m x n x 3 RGB image @@ -20,9 +20,12 @@ def spm_sixel(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_sixel.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_sixel.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_sixel", *args, **kwargs, nargout=0) diff --git a/spm/spm_slice_timing.py b/spm/spm_slice_timing.py index 191cd897..2e282a86 100644 --- a/spm/spm_slice_timing.py +++ b/spm/spm_slice_timing.py @@ -2,7 +2,7 @@ def spm_slice_timing(*args, **kwargs): - """ + r""" Correct differences in slice acquisition times FORMAT spm_slice_timing(P, sliceorder, refslice, timing, prefix) P - char array of image filenames @@ -92,9 +92,12 @@ def spm_slice_timing(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_slice_timing.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_slice_timing.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_slice_timing", *args, **kwargs, nargout=0) diff --git a/spm/spm_slice_vol.py b/spm/spm_slice_vol.py index e4e17116..454d567a 100644 --- a/spm/spm_slice_vol.py +++ b/spm/spm_slice_vol.py @@ -2,7 +2,7 @@ def spm_slice_vol(*args, **kwargs): - """ + r""" Return a section through an image volume - a compiled routine FORMAT X = spm_slice_vol(V,A,dim,hold) V - spm_vol structure @@ -28,9 +28,12 @@ def spm_slice_vol(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_slice_vol.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_slice_vol.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_slice_vol", *args, **kwargs) diff --git a/spm/spm_slm.py b/spm/spm_slm.py index fafebfca..c4731dad 100644 --- a/spm/spm_slm.py +++ b/spm/spm_slm.py @@ -2,7 +2,7 @@ def spm_slm(*args, **kwargs): - """ + r""" basis set of spehrical harmonics and their (optional) angular derivatives as observed by point magnetometers. FORMAT [slm,dslmdphi,dslmdtheta] = spm_slm(theta,phi,li) @@ -17,9 +17,12 @@ def spm_slm(*args, **kwargs): Copyright (C) 2023 Tim Tierney - [Matlab code]( https://github.com/spm/spm/blob/main/spm_slm.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_slm.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_slm", *args, **kwargs) diff --git a/spm/spm_smohist.py b/spm/spm_smohist.py index 0bc51e44..cbde166a 100644 --- a/spm/spm_smohist.py +++ b/spm/spm_smohist.py @@ -2,7 +2,7 @@ def spm_smohist(*args, **kwargs): - """ + r""" Smooth a histogram FORMAT [sig,alpha] = spm_smohist(t,lam) t - a column vector, or matrix of column vectors containing @@ -20,9 +20,12 @@ def spm_smohist(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_smohist.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_smohist.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_smohist", *args, **kwargs) diff --git a/spm/spm_smooth.py b/spm/spm_smooth.py index e98ab7a6..d29d9c9f 100644 --- a/spm/spm_smooth.py +++ b/spm/spm_smooth.py @@ -2,7 +2,7 @@ def spm_smooth(*args, **kwargs): - """ + r""" 3 dimensional convolution of an image FORMAT spm_smooth(P,Q,s,dtype) P - image(s) to be smoothed (or 3D array) @@ -25,9 +25,12 @@ def spm_smooth(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_smooth.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_smooth.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_smooth", *args, **kwargs, nargout=0) diff --git a/spm/spm_smoothkern.py b/spm/spm_smoothkern.py index 6bc358ce..3963aff5 100644 --- a/spm/spm_smoothkern.py +++ b/spm/spm_smoothkern.py @@ -2,7 +2,7 @@ def spm_smoothkern(*args, **kwargs): - """ + r""" Generate a Gaussian smoothing kernel FORMAT krn = spm_smoothkern(fwhm,x,t) fwhm - full width at half maximum @@ -28,9 +28,12 @@ def spm_smoothkern(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_smoothkern.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_smoothkern.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_smoothkern", *args, **kwargs) diff --git a/spm/spm_smoothto8bit.py b/spm/spm_smoothto8bit.py index 5c866699..913d048b 100644 --- a/spm/spm_smoothto8bit.py +++ b/spm/spm_smoothto8bit.py @@ -2,7 +2,7 @@ def spm_smoothto8bit(*args, **kwargs): - """ + r""" 3 dimensional convolution of an image to 8bit data in memory FORMAT VO = spm_smoothto8bit(V,fwhm) V - mapped image to be smoothed @@ -12,9 +12,12 @@ def spm_smoothto8bit(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_smoothto8bit.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_smoothto8bit.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_smoothto8bit", *args, **kwargs) diff --git a/spm/spm_softmax.py b/spm/spm_softmax.py index 4d69d020..0c608e49 100644 --- a/spm/spm_softmax.py +++ b/spm/spm_softmax.py @@ -2,7 +2,7 @@ def spm_softmax(*args, **kwargs): - """ + r""" Softmax (e.g., neural transfer) function over columns FORMAT [y] = spm_softmax(x,k) @@ -16,9 +16,12 @@ def spm_softmax(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_softmax.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_softmax.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_softmax", *args, **kwargs) diff --git a/spm/spm_soreduce.py b/spm/spm_soreduce.py index 706509a6..08c602cb 100644 --- a/spm/spm_soreduce.py +++ b/spm/spm_soreduce.py @@ -2,7 +2,7 @@ def spm_soreduce(*args, **kwargs): - """ + r""" Reduction of a fully nonlinear MIMO system to second-order form FORMAT [M0,M1,M2,L1,L2] = spm_soreduce(M,P); @@ -35,9 +35,12 @@ def spm_soreduce(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_soreduce.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_soreduce.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_soreduce", *args, **kwargs) diff --git a/spm/spm_sp.py b/spm/spm_sp.py index 8a938a15..3b46924d 100644 --- a/spm/spm_sp.py +++ b/spm/spm_sp.py @@ -2,7 +2,7 @@ def spm_sp(*args, **kwargs): - """ + r""" Orthogonal (design) matrix space setting & manipulation FORMAT varargout = spm_spc(action,varargin) @@ -182,9 +182,12 @@ def spm_sp(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_sp.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_sp.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_sp", *args, **kwargs) diff --git a/spm/spm_sp_reml.py b/spm/spm_sp_reml.py index 7d85c33a..bb9799a3 100644 --- a/spm/spm_sp_reml.py +++ b/spm/spm_sp_reml.py @@ -2,7 +2,7 @@ def spm_sp_reml(*args, **kwargs): - """ + r""" ReML estimation of covariance components from y*y' (for sparse patterns) FORMAT [C,h,Ph,F,Fa,Fc] = spm_sp_reml(YY,X,Q,N); @@ -37,9 +37,12 @@ def spm_sp_reml(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_sp_reml.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_sp_reml.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_sp_reml", *args, **kwargs) diff --git a/spm/spm_sparse_regression.py b/spm/spm_sparse_regression.py index be0bd096..1b7919a7 100644 --- a/spm/spm_sparse_regression.py +++ b/spm/spm_sparse_regression.py @@ -2,7 +2,7 @@ def spm_sparse_regression(*args, **kwargs): - """ + r""" Sparse (logistic) regression using Bayesian model reduction FORMAT RCM = spm_sparse_regression(y,X,X0) y - univariate response variable @@ -26,9 +26,12 @@ def spm_sparse_regression(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_sparse_regression.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_sparse_regression.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_sparse_regression", *args, **kwargs) diff --git a/spm/spm_speye.py b/spm/spm_speye.py index 79e418df..b467285a 100644 --- a/spm/spm_speye.py +++ b/spm/spm_speye.py @@ -2,20 +2,24 @@ def spm_speye(*args, **kwargs): - """ + r""" Sparse leading diagonal matrix - FORMAT [D] = spm_speye(m,n,k,c) + FORMAT [D] = spm_speye(m,n,k,c,o) - returns an m x n matrix with ones along the k-th leading diagonal. If + Returns an m x n matrix with ones along the k-th leading diagonal. If called with an optional fourth argument c = 1, a wraparound sparse matrix is returned. If c = 2, then empty rows or columns are filled in on the - leading diagonal. + leading diagonal. The final (order) argument (o) returns D^o. The default + value is o = 1. __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_speye.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_speye.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_speye", *args, **kwargs) diff --git a/spm/spm_spm.py b/spm/spm_spm.py index ab07233b..e33c6808 100644 --- a/spm/spm_spm.py +++ b/spm/spm_spm.py @@ -2,7 +2,7 @@ def spm_spm(*args, **kwargs): - """ + r""" [Re]ML Estimation of a General Linear Model FORMAT SPM = spm_spm(SPM) @@ -271,9 +271,12 @@ def spm_spm(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_spm.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_spm.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_spm", *args, **kwargs) diff --git a/spm/spm_spm_Bayes.py b/spm/spm_spm_Bayes.py index df72349b..77bdfb33 100644 --- a/spm/spm_spm_Bayes.py +++ b/spm/spm_spm_Bayes.py @@ -2,7 +2,7 @@ def spm_spm_Bayes(*args, **kwargs): - """ + r""" Conditional parameter estimation of a General Linear Model FORMAT [SPM] = spm_spm_Bayes(SPM) __________________________________________________________________________ @@ -68,9 +68,12 @@ def spm_spm_Bayes(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_spm_Bayes.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_spm_Bayes.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_spm_Bayes", *args, **kwargs) diff --git a/spm/spm_spm_Bayes_CY.py b/spm/spm_spm_Bayes_CY.py index 08005d3c..a4433d69 100644 --- a/spm/spm_spm_Bayes_CY.py +++ b/spm/spm_spm_Bayes_CY.py @@ -2,7 +2,7 @@ def spm_spm_Bayes_CY(*args, **kwargs): - """ + r""" Estimation of the average sample covariance of whole-brain data. SPM - Structure (see spm_spm.m) @@ -16,9 +16,12 @@ def spm_spm_Bayes_CY(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_spm_Bayes_CY.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_spm_Bayes_CY.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_spm_Bayes_CY", *args, **kwargs) diff --git a/spm/spm_spm_Bayes_specify.py b/spm/spm_spm_Bayes_specify.py index 37a7b1f9..07e0b7ee 100644 --- a/spm/spm_spm_Bayes_specify.py +++ b/spm/spm_spm_Bayes_specify.py @@ -2,7 +2,7 @@ def spm_spm_Bayes_specify(*args, **kwargs): - """ + r""" Specification of a PEB model for a voxel with empirical priors SPM - standard SPM structure (see spm_spm.m) @@ -23,9 +23,12 @@ def spm_spm_Bayes_specify(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_spm_Bayes_specify.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_spm_Bayes_specify.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_spm_Bayes_specify", *args, **kwargs) diff --git a/spm/spm_sptop.py b/spm/spm_sptop.py index f8d73ff5..ad11b094 100644 --- a/spm/spm_sptop.py +++ b/spm/spm_sptop.py @@ -2,7 +2,7 @@ def spm_sptop(*args, **kwargs): - """ + r""" Sparse Toeplitz convolution matrix given convolution kernel FORMAT [K] = spm_sptop(sigma,q,c) @@ -23,9 +23,12 @@ def spm_sptop(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_sptop.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_sptop.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_sptop", *args, **kwargs) diff --git a/spm/spm_spy.py b/spm/spm_spy.py index b46c4b83..96b949a1 100644 --- a/spm/spm_spy.py +++ b/spm/spm_spy.py @@ -2,7 +2,7 @@ def spm_spy(*args, **kwargs): - """ + r""" Pretty version of spy FORMAT spm_spy(X,Markersize,m) X - sparse {m x n} matrix @@ -11,9 +11,12 @@ def spm_spy(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_spy.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_spy.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_spy", *args, **kwargs, nargout=0) diff --git a/spm/spm_sqrtm.py b/spm/spm_sqrtm.py index 6f6bb22e..71587fe4 100644 --- a/spm/spm_sqrtm.py +++ b/spm/spm_sqrtm.py @@ -2,7 +2,7 @@ def spm_sqrtm(*args, **kwargs): - """ + r""" Matrix square root for sparse symmetric positive semi-definite matrices FORMAT [K] = spm_sqrtm(V) @@ -12,9 +12,12 @@ def spm_sqrtm(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_sqrtm.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_sqrtm.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_sqrtm", *args, **kwargs) diff --git a/spm/spm_squeeze.py b/spm/spm_squeeze.py index 78260707..e14dcc37 100644 --- a/spm/spm_squeeze.py +++ b/spm/spm_squeeze.py @@ -2,15 +2,18 @@ def spm_squeeze(*args, **kwargs): - """ + r""" Version of squeeze with the possibility to select the dimensions to remove FORMAT B = spm_squeeze(A, dim) __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_squeeze.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_squeeze.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_squeeze", *args, **kwargs) diff --git a/spm/spm_ssm2s.py b/spm/spm_ssm2s.py index 80363654..bd7a6e17 100644 --- a/spm/spm_ssm2s.py +++ b/spm/spm_ssm2s.py @@ -2,7 +2,7 @@ def spm_ssm2s(*args, **kwargs): - """ + r""" Convert state-space (M) representation to eigenspectrum FORMAT [s,u] = spm_ssm2s(P,M,TOL) @@ -17,9 +17,12 @@ def spm_ssm2s(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_ssm2s.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_ssm2s.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_ssm2s", *args, **kwargs) diff --git a/spm/spm_standalone.py b/spm/spm_standalone.py index 0ce269c6..800609c1 100644 --- a/spm/spm_standalone.py +++ b/spm/spm_standalone.py @@ -2,7 +2,7 @@ def spm_standalone(*args, **kwargs): - """ + r""" Gateway function for standalone SPM References: @@ -14,9 +14,12 @@ def spm_standalone(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_standalone.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_standalone.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_standalone", *args, **kwargs, nargout=0) diff --git a/spm/spm_str_manip.py b/spm/spm_str_manip.py index de1e0ef3..0bb58c67 100644 --- a/spm/spm_str_manip.py +++ b/spm/spm_str_manip.py @@ -2,7 +2,7 @@ def spm_str_manip(*args, **kwargs): - """ + r""" Miscellaneous string manipulation options FORMAT string_out = spm_str_manip(string_in,options) string_in - input string, string matrix, or cell array of strings @@ -35,7 +35,7 @@ def spm_str_manip(*args, **kwargs): 'v' - delete non valid filename characters Valid are '.a..zA..Z01..9_-: ' & filesep 'x' - escape TeX special characters - 'p' - canonicalise pathname (see spm_select('CPath',...)) + 'p' - canonicalise pathname (see spm_file(...,'CPath')) 'c' - remove leading components common to all strings returns leading component as a second output argument 'C' - returns single string compressed version of a @@ -51,9 +51,12 @@ def spm_str_manip(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_str_manip.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_str_manip.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_str_manip", *args, **kwargs) diff --git a/spm/spm_subfun.py b/spm/spm_subfun.py index fe90f6f4..f80e73f2 100644 --- a/spm/spm_subfun.py +++ b/spm/spm_subfun.py @@ -2,7 +2,7 @@ def spm_subfun(*args, **kwargs): - """ + r""" Enable calling local functions FORMAT [o1,o2,...] = spm_subfun(localfunctions,action,i1,i2,...) @@ -13,9 +13,12 @@ def spm_subfun(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_subfun.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_subfun.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_subfun", *args, **kwargs) diff --git a/spm/spm_sum.py b/spm/spm_sum.py index b5bb1a3f..a7d00f9b 100644 --- a/spm/spm_sum.py +++ b/spm/spm_sum.py @@ -2,7 +2,7 @@ def spm_sum(*args, **kwargs): - """ + r""" Sum of elements FORMAT S = spm_sum(X,vecdim) @@ -10,9 +10,12 @@ def spm_sum(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_sum.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_sum.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_sum", *args, **kwargs) diff --git a/spm/spm_summarise.py b/spm/spm_summarise.py index 5dd4d8d7..49848812 100644 --- a/spm/spm_summarise.py +++ b/spm/spm_summarise.py @@ -2,7 +2,7 @@ def spm_summarise(*args, **kwargs): - """ + r""" Summarise data within a Region of Interest FORMAT [Y, xY] = spm_summarise(V,xY,fhandle) V - [1 x n] vector of mapped image volumes to read (from spm_vol) @@ -28,9 +28,12 @@ def spm_summarise(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_summarise.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_summarise.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_summarise", *args, **kwargs) diff --git a/spm/spm_surf.py b/spm/spm_surf.py index 9e8e25b6..f8319ae2 100644 --- a/spm/spm_surf.py +++ b/spm/spm_surf.py @@ -2,7 +2,7 @@ def spm_surf(*args, **kwargs): - """ + r""" Surface extraction FORMAT spm_surf(P,mode,thresh) @@ -56,9 +56,12 @@ def spm_surf(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_surf.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_surf.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_surf", *args, **kwargs) diff --git a/spm/spm_svd.py b/spm/spm_svd.py index 1de6cbc0..d0b6d849 100644 --- a/spm/spm_svd.py +++ b/spm/spm_svd.py @@ -2,7 +2,7 @@ def spm_svd(*args, **kwargs): - """ + r""" Computationally efficient SVD (that can handle sparse arguments) FORMAT [U,S,V] = spm_svd(X,u) X - (m x n) matrix @@ -15,9 +15,12 @@ def spm_svd(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_svd.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_svd.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_svd", *args, **kwargs) diff --git a/spm/spm_swarp.py b/spm/spm_swarp.py index 6bd996a8..d761be94 100644 --- a/spm/spm_swarp.py +++ b/spm/spm_swarp.py @@ -2,7 +2,7 @@ def spm_swarp(*args, **kwargs): - """ + r""" Warp surface FORMAT that = spm_swarp(this,def) this - a gifti object @@ -17,9 +17,12 @@ def - a deformation field (nx*ny*nz*1*3) __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_swarp.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_swarp.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_swarp", *args, **kwargs) diff --git a/spm/spm_t2z.py b/spm/spm_t2z.py index 070a879b..45d6a252 100644 --- a/spm/spm_t2z.py +++ b/spm/spm_t2z.py @@ -2,7 +2,7 @@ def spm_t2z(*args, **kwargs): - """ + r""" Student's t to standard Normal (z-score) distribution FORMAT [z,t1,z1] = spm_t2z(t,df,Tol) t - t values @@ -56,9 +56,12 @@ def spm_t2z(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_t2z.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_t2z.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_t2z", *args, **kwargs) diff --git a/spm/spm_tests.py b/spm/spm_tests.py index 34d3aecd..80e94c4e 100644 --- a/spm/spm_tests.py +++ b/spm/spm_tests.py @@ -2,7 +2,7 @@ def spm_tests(*args, **kwargs): - """ + r""" Unit Testing Framework FORMAT results = spm_tests(name,value,...) name,value - pairs of optional parameter names and values: @@ -19,9 +19,12 @@ def spm_tests(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_tests.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_tests.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_tests", *args, **kwargs) diff --git a/spm/spm_timeseries_resample.py b/spm/spm_timeseries_resample.py index 30c26e84..65cc02a9 100644 --- a/spm/spm_timeseries_resample.py +++ b/spm/spm_timeseries_resample.py @@ -2,7 +2,7 @@ def spm_timeseries_resample(*args, **kwargs): - """ + r""" Basic resample function (when no Signal Proc. Toolbox) FORMAT [Y,alpha] = spm_timeseries_resample(X,alpha) X - (n x m) matrix of n time series of length m @@ -16,9 +16,12 @@ def spm_timeseries_resample(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_timeseries_resample.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_timeseries_resample.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_timeseries_resample", *args, **kwargs) diff --git a/spm/spm_trace.py b/spm/spm_trace.py index 4133cebb..9e60ad33 100644 --- a/spm/spm_trace.py +++ b/spm/spm_trace.py @@ -2,7 +2,7 @@ def spm_trace(*args, **kwargs): - """ + r""" Fast trace for large matrices: C = spm_trace(A,B) = trace(A*B) FORMAT [C] = spm_trace(A,B) @@ -10,9 +10,12 @@ def spm_trace(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_trace.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_trace.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_trace", *args, **kwargs) diff --git a/spm/spm_transverse.py b/spm/spm_transverse.py index 3ac7d520..ab6bc845 100644 --- a/spm/spm_transverse.py +++ b/spm/spm_transverse.py @@ -2,7 +2,7 @@ def spm_transverse(*args, **kwargs): - """ + r""" Rendering of regional effects [SPM{T/F}] on transverse sections FORMAT spm_transverse('set',SPM,hReg) FORMAT spm_transverse('setcoords',xyzmm) @@ -38,9 +38,12 @@ def spm_transverse(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_transverse.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_transverse.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_transverse", *args, **kwargs, nargout=0) diff --git a/spm/spm_type.py b/spm/spm_type.py index b46a414d..7f40d408 100644 --- a/spm/spm_type.py +++ b/spm/spm_type.py @@ -2,7 +2,7 @@ def spm_type(*args, **kwargs): - """ + r""" Translate data type specifiers between SPM & MATLAB representations FORMAT T = spm_type(x, arg) x - specifier @@ -27,9 +27,12 @@ def spm_type(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_type.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_type.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_type", *args, **kwargs) diff --git a/spm/spm_u.py b/spm/spm_u.py index 8a07590c..a7d144ad 100644 --- a/spm/spm_u.py +++ b/spm/spm_u.py @@ -2,7 +2,7 @@ def spm_u(*args, **kwargs): - """ + r""" Uncorrected critical height threshold at a specified significance level FORMAT [u] = spm_u(a,df,STAT) a - critical probability - {alpha} @@ -22,9 +22,12 @@ def spm_u(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_u.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_u.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_u", *args, **kwargs) diff --git a/spm/spm_uc.py b/spm/spm_uc.py index e2e9aef9..62880ce7 100644 --- a/spm/spm_uc.py +++ b/spm/spm_uc.py @@ -2,7 +2,7 @@ def spm_uc(*args, **kwargs): - """ + r""" Corrected critical height threshold at a specified significance level FORMAT [u] = spm_uc(a,df,STAT,R,n,S) a - critical probability - {alpha} @@ -26,9 +26,12 @@ def spm_uc(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_uc.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_uc.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_uc", *args, **kwargs) diff --git a/spm/spm_uc_Bonf.py b/spm/spm_uc_Bonf.py index 464dc575..ce39f2cf 100644 --- a/spm/spm_uc_Bonf.py +++ b/spm/spm_uc_Bonf.py @@ -2,7 +2,7 @@ def spm_uc_Bonf(*args, **kwargs): - """ + r""" Corrected critical height threshold at a specified significance level FORMAT [u] = spm_uc_Bonf(a,df,STAT,S,n) a - critical probability - {alpha} @@ -25,9 +25,12 @@ def spm_uc_Bonf(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_uc_Bonf.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_uc_Bonf.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_uc_Bonf", *args, **kwargs) diff --git a/spm/spm_uc_FDR.py b/spm/spm_uc_FDR.py index 4ba88ea1..9e0600bc 100644 --- a/spm/spm_uc_FDR.py +++ b/spm/spm_uc_FDR.py @@ -2,7 +2,7 @@ def spm_uc_FDR(*args, **kwargs): - """ + r""" False Discovery critical height threshold FORMAT [u,Ps,Ts] = spm_uc_FDR(q,df,STAT,n,Vs[,Vm]) @@ -82,9 +82,12 @@ def spm_uc_FDR(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_uc_FDR.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_uc_FDR.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_uc_FDR", *args, **kwargs) diff --git a/spm/spm_uc_RF.py b/spm/spm_uc_RF.py index 2a95a641..99a4b7b3 100644 --- a/spm/spm_uc_RF.py +++ b/spm/spm_uc_RF.py @@ -2,7 +2,7 @@ def spm_uc_RF(*args, **kwargs): - """ + r""" Corrected critical height threshold at a specified significance level FORMAT [u] = spm_uc_RF(a,df,STAT,R,n) a - critical probability - {alpha} @@ -25,9 +25,12 @@ def spm_uc_RF(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_uc_RF.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_uc_RF.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_uc_RF", *args, **kwargs) diff --git a/spm/spm_uc_clusterFDR.py b/spm/spm_uc_clusterFDR.py index 4feeaf5e..19451163 100644 --- a/spm/spm_uc_clusterFDR.py +++ b/spm/spm_uc_clusterFDR.py @@ -2,7 +2,7 @@ def spm_uc_clusterFDR(*args, **kwargs): - """ + r""" Cluster False Discovery critical extent threshold FORMAT [u, Ps, ue] = spm_uc_clusterFDR(q,df,STAT,R,n,Z,XYZ,ui[,G]) @@ -40,9 +40,12 @@ def spm_uc_clusterFDR(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_uc_clusterFDR.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_uc_clusterFDR.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_uc_clusterFDR", *args, **kwargs) diff --git a/spm/spm_uc_peakFDR.py b/spm/spm_uc_peakFDR.py index 3b2e35e0..d930baf0 100644 --- a/spm/spm_uc_peakFDR.py +++ b/spm/spm_uc_peakFDR.py @@ -2,7 +2,7 @@ def spm_uc_peakFDR(*args, **kwargs): - """ + r""" Peak False Discovery critical height threshold FORMAT [u, Ps] = spm_uc_peakFDR(q,df,STAT,R,n,Z,XYZ,ui[,G]) @@ -38,9 +38,12 @@ def spm_uc_peakFDR(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_uc_peakFDR.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_uc_peakFDR.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_uc_peakFDR", *args, **kwargs) diff --git a/spm/spm_uitab.py b/spm/spm_uitab.py index 32e03a69..63719d32 100644 --- a/spm/spm_uitab.py +++ b/spm/spm_uitab.py @@ -2,7 +2,7 @@ def spm_uitab(*args, **kwargs): - """ + r""" Create tabs in a figure FORMAT [handles] = spm_uitab(hparent,labels,callbacks,tag,active,height,tab_height) This function creates tabs in the SPM graphics window. @@ -28,9 +28,12 @@ def spm_uitab(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_uitab.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_uitab.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_uitab", *args, **kwargs) diff --git a/spm/spm_uncat.py b/spm/spm_uncat.py index 64f9207e..f924a870 100644 --- a/spm/spm_uncat.py +++ b/spm/spm_uncat.py @@ -2,7 +2,7 @@ def spm_uncat(*args, **kwargs): - """ + r""" Convert a matrix into an array FORMAT [a] = spm_uncat(x,a) x - matrix @@ -14,9 +14,12 @@ def spm_uncat(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_uncat.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_uncat.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_uncat", *args, **kwargs) diff --git a/spm/spm_unlink.py b/spm/spm_unlink.py index cde144ca..073f5803 100644 --- a/spm/spm_unlink.py +++ b/spm/spm_unlink.py @@ -2,7 +2,7 @@ def spm_unlink(*args, **kwargs): - """ + r""" Silently delete files on disk - a compiled routine FORMAT spm_unlink('file1','file2','file3','file4',...) @@ -10,9 +10,12 @@ def spm_unlink(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_unlink.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_unlink.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_unlink", *args, **kwargs, nargout=0) diff --git a/spm/spm_unvec.py b/spm/spm_unvec.py index 44bd3124..11adc403 100644 --- a/spm/spm_unvec.py +++ b/spm/spm_unvec.py @@ -2,7 +2,7 @@ def spm_unvec(*args, **kwargs): - """ + r""" Unvectorise a vectorised array - a compiled routine FORMAT [varargout] = spm_unvec(vX,varargin) varargin - numeric, cell or structure array @@ -15,9 +15,12 @@ def spm_unvec(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_unvec.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_unvec.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_unvec", *args, **kwargs) diff --git a/spm/spm_update.py b/spm/spm_update.py index 26834590..41c15b6a 100644 --- a/spm/spm_update.py +++ b/spm/spm_update.py @@ -2,7 +2,7 @@ def spm_update(*args, **kwargs): - """ + r""" Check (and install) SPM updates from the FIL server FORMAT spm_update This function will contact the FIL server, compare the version number of @@ -24,9 +24,12 @@ def spm_update(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_update.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_update.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_update", *args, **kwargs) diff --git a/spm/spm_uw_apply.py b/spm/spm_uw_apply.py index 9bf73c12..e59c75a0 100644 --- a/spm/spm_uw_apply.py +++ b/spm/spm_uw_apply.py @@ -2,7 +2,7 @@ def spm_uw_apply(*args, **kwargs): - """ + r""" Reslice images volume by volume FORMAT spm_uw_apply(ds,[flags]) or @@ -121,9 +121,12 @@ def spm_uw_apply(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_uw_apply.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_uw_apply.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_uw_apply", *args, **kwargs) diff --git a/spm/spm_uw_estimate.py b/spm/spm_uw_estimate.py index 91132982..bd57581c 100644 --- a/spm/spm_uw_estimate.py +++ b/spm/spm_uw_estimate.py @@ -2,7 +2,7 @@ def spm_uw_estimate(*args, **kwargs): - """ + r""" Estimation of partial derivatives of EPI deformation fields FORMAT [ds] = spm_uw_estimate((P),(par)) @@ -83,9 +83,12 @@ def spm_uw_estimate(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_uw_estimate.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_uw_estimate.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_uw_estimate", *args, **kwargs) diff --git a/spm/spm_uw_get_image_def.py b/spm/spm_uw_get_image_def.py index d0cd9aa5..484618a6 100644 --- a/spm/spm_uw_get_image_def.py +++ b/spm/spm_uw_get_image_def.py @@ -2,7 +2,7 @@ def spm_uw_get_image_def(*args, **kwargs): - """ + r""" Estimation of deformation field (and optionally Jacobian field) FORMAT [def] = spm_uw_get_image_def(i,ds,[defa]) or @@ -39,9 +39,12 @@ def - Deformation field for file given by P, or by ds.P(i). __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_uw_get_image_def.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_uw_get_image_def.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_uw_get_image_def", *args, **kwargs) diff --git a/spm/spm_uw_show.py b/spm/spm_uw_show.py index b6668c94..647b5003 100644 --- a/spm/spm_uw_show.py +++ b/spm/spm_uw_show.py @@ -2,7 +2,7 @@ def spm_uw_show(*args, **kwargs): - """ + r""" Manage graphical output for spm_uw_estimate FORMAT spm_uw_show(mode,p1,...) @@ -13,9 +13,12 @@ def spm_uw_show(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_uw_show.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_uw_show.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_uw_show", *args, **kwargs, nargout=0) diff --git a/spm/spm_vb_F.py b/spm/spm_vb_F.py index 4e2989d3..f153e5d5 100644 --- a/spm/spm_vb_F.py +++ b/spm/spm_vb_F.py @@ -2,7 +2,7 @@ def spm_vb_F(*args, **kwargs): - """ + r""" Compute lower bound on evidence, F, for VB-GLM-AR models FORMAT [F,Lav,KL] = spm_vb_F(Y,block) @@ -18,9 +18,12 @@ def spm_vb_F(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_vb_F.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_vb_F.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_vb_F", *args, **kwargs) diff --git a/spm/spm_vb_Fn.py b/spm/spm_vb_Fn.py index b6f5c695..23276624 100644 --- a/spm/spm_vb_Fn.py +++ b/spm/spm_vb_Fn.py @@ -2,7 +2,7 @@ def spm_vb_Fn(*args, **kwargs): - """ + r""" Compute voxel-wise contributions to model evidence FORMAT [F,L,KL] = spm_vb_Fn(Y,block) @@ -20,9 +20,12 @@ def spm_vb_Fn(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_vb_Fn.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_vb_Fn.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_vb_Fn", *args, **kwargs) diff --git a/spm/spm_vb_a.py b/spm/spm_vb_a.py index e64c607c..f3f968d7 100644 --- a/spm/spm_vb_a.py +++ b/spm/spm_vb_a.py @@ -2,7 +2,7 @@ def spm_vb_a(*args, **kwargs): - """ + r""" Update AR coefficients in VB GLM-AR model FORMAT [block] = spm_vb_a(Y,block) @@ -11,9 +11,12 @@ def spm_vb_a(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_vb_a.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_vb_a.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_vb_a", *args, **kwargs) diff --git a/spm/spm_vb_adjacency.py b/spm/spm_vb_adjacency.py index 91c0277c..a3a059e5 100644 --- a/spm/spm_vb_adjacency.py +++ b/spm/spm_vb_adjacency.py @@ -2,7 +2,7 @@ def spm_vb_adjacency(*args, **kwargs): - """ + r""" (Weighted) adjacency (or weight) matrix of a graph FORMAT W = spm_vb_adjacency(edges,weights,N) @@ -15,9 +15,12 @@ def spm_vb_adjacency(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_vb_adjacency.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_vb_adjacency.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_vb_adjacency", *args, **kwargs) diff --git a/spm/spm_vb_alpha.py b/spm/spm_vb_alpha.py index 34f4c069..f0c061d5 100644 --- a/spm/spm_vb_alpha.py +++ b/spm/spm_vb_alpha.py @@ -2,7 +2,7 @@ def spm_vb_alpha(*args, **kwargs): - """ + r""" Variational Bayes for GLM-AR models - Update alpha FORMAT [block] = spm_vb_alpha(Y,block) @@ -11,9 +11,12 @@ def spm_vb_alpha(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_vb_alpha.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_vb_alpha.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_vb_alpha", *args, **kwargs) diff --git a/spm/spm_vb_beta.py b/spm/spm_vb_beta.py index e5836e95..212d0934 100644 --- a/spm/spm_vb_beta.py +++ b/spm/spm_vb_beta.py @@ -2,7 +2,7 @@ def spm_vb_beta(*args, **kwargs): - """ + r""" Variational Bayes for GLM-AR modelling in a block - Update beta FORMAT [block] = spm_vb_beta(Y,block) @@ -11,9 +11,12 @@ def spm_vb_beta(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_vb_beta.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_vb_beta.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_vb_beta", *args, **kwargs) diff --git a/spm/spm_vb_contrasts.py b/spm/spm_vb_contrasts.py index 456e421e..3b9ff4f3 100644 --- a/spm/spm_vb_contrasts.py +++ b/spm/spm_vb_contrasts.py @@ -2,7 +2,7 @@ def spm_vb_contrasts(*args, **kwargs): - """ + r""" Compute and write posterior standard deviation image of given contrast FORMAT SPM = spm_vb_contrasts(SPM,XYZ,xCon,ic) @@ -16,9 +16,12 @@ def spm_vb_contrasts(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_vb_contrasts.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_vb_contrasts.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_vb_contrasts", *args, **kwargs) diff --git a/spm/spm_vb_edgeweights.py b/spm/spm_vb_edgeweights.py index 7dfedbb9..ae4367a6 100644 --- a/spm/spm_vb_edgeweights.py +++ b/spm/spm_vb_edgeweights.py @@ -2,7 +2,7 @@ def spm_vb_edgeweights(*args, **kwargs): - """ + r""" Compute edge set and edge weights of a graph FORMAT [edges,weights]= spm_vb_edgeweights(vxyz,img) @@ -13,9 +13,12 @@ def spm_vb_edgeweights(*args, **kwargs): at neighbouring nodes - [Matlab code]( https://github.com/spm/spm/blob/main/spm_vb_edgeweights.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_vb_edgeweights.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_vb_edgeweights", *args, **kwargs) diff --git a/spm/spm_vb_gamma.py b/spm/spm_vb_gamma.py index 47582d63..5c4b1818 100644 --- a/spm/spm_vb_gamma.py +++ b/spm/spm_vb_gamma.py @@ -2,7 +2,7 @@ def spm_vb_gamma(*args, **kwargs): - """ + r""" Variational Bayes for GLMAR model - Update gamma and get w_dev, wk_mean FORMAT [block] = spm_vb_gamma(Y,block) @@ -11,9 +11,12 @@ def spm_vb_gamma(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_vb_gamma.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_vb_gamma.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_vb_gamma", *args, **kwargs) diff --git a/spm/spm_vb_get_Ab.py b/spm/spm_vb_get_Ab.py index a115263a..f8e141fb 100644 --- a/spm/spm_vb_get_Ab.py +++ b/spm/spm_vb_get_Ab.py @@ -2,7 +2,7 @@ def spm_vb_get_Ab(*args, **kwargs): - """ + r""" Get A and b quantities - average prediction errors from AR model FORMAT [voxel] = spm_vb_get_Ab(Y,slice) @@ -17,9 +17,12 @@ def spm_vb_get_Ab(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_vb_get_Ab.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_vb_get_Ab.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_vb_get_Ab", *args, **kwargs) diff --git a/spm/spm_vb_get_Gn.py b/spm/spm_vb_get_Gn.py index 7e940dfe..74e938b9 100644 --- a/spm/spm_vb_get_Gn.py +++ b/spm/spm_vb_get_Gn.py @@ -2,7 +2,7 @@ def spm_vb_get_Gn(*args, **kwargs): - """ + r""" Compute Gn for VB-GLM-AR modelling FORMAT [G,G1,G2,G3] = spm_vb_get_Gn(Y,slice,n) @@ -12,9 +12,12 @@ def spm_vb_get_Gn(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_vb_get_Gn.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_vb_get_Gn.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_vb_get_Gn", *args, **kwargs) diff --git a/spm/spm_vb_get_R.py b/spm/spm_vb_get_R.py index e8e5c54d..3ca392ff 100644 --- a/spm/spm_vb_get_R.py +++ b/spm/spm_vb_get_R.py @@ -2,7 +2,7 @@ def spm_vb_get_R(*args, **kwargs): - """ + r""" Get posterior correlation matrix for regression coefficients FORMAT [R] = spm_vb_get_R(slice,h0) @@ -12,9 +12,12 @@ def spm_vb_get_R(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_vb_get_R.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_vb_get_R.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_vb_get_R", *args, **kwargs) diff --git a/spm/spm_vb_glmar.py b/spm/spm_vb_glmar.py index 32f00020..fb6ef4dd 100644 --- a/spm/spm_vb_glmar.py +++ b/spm/spm_vb_glmar.py @@ -2,7 +2,7 @@ def spm_vb_glmar(*args, **kwargs): - """ + r""" Variational Bayes for GLM-AR modelling in a block of fMRI FORMAT [block] = spm_vb_glmar (Y,block) @@ -78,9 +78,12 @@ def spm_vb_glmar(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_vb_glmar.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_vb_glmar.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_vb_glmar", *args, **kwargs) diff --git a/spm/spm_vb_graphcut.py b/spm/spm_vb_graphcut.py index 24e9f9c6..b8a8ab4b 100644 --- a/spm/spm_vb_graphcut.py +++ b/spm/spm_vb_graphcut.py @@ -2,7 +2,7 @@ def spm_vb_graphcut(*args, **kwargs): - """ + r""" Recursive bi-partition of a graph using the isoperimetric algorithm FORMAT labels = spm_vb_graphcut(labels,index,I,W,depth,grnd_type,CUTOFF,DIM) @@ -28,9 +28,12 @@ def spm_vb_graphcut(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_vb_graphcut.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_vb_graphcut.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_vb_graphcut", *args, **kwargs) diff --git a/spm/spm_vb_incidence.py b/spm/spm_vb_incidence.py index 831169c7..8f3555d5 100644 --- a/spm/spm_vb_incidence.py +++ b/spm/spm_vb_incidence.py @@ -2,7 +2,7 @@ def spm_vb_incidence(*args, **kwargs): - """ + r""" Edge-node incidence matrix of a graph FORMAT A = spm_vb_incidence(edges,N) @@ -16,9 +16,12 @@ def spm_vb_incidence(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_vb_incidence.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_vb_incidence.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_vb_incidence", *args, **kwargs) diff --git a/spm/spm_vb_init_block.py b/spm/spm_vb_init_block.py index 9716b77a..d4b0c029 100644 --- a/spm/spm_vb_init_block.py +++ b/spm/spm_vb_init_block.py @@ -2,7 +2,7 @@ def spm_vb_init_block(*args, **kwargs): - """ + r""" Initialise Variational Bayes for GLM-AR models FORMAT [block] = spm_vb_init_block(Y,block) @@ -11,9 +11,12 @@ def spm_vb_init_block(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_vb_init_block.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_vb_init_block.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_vb_init_block", *args, **kwargs) diff --git a/spm/spm_vb_lambda.py b/spm/spm_vb_lambda.py index 89699333..9e606957 100644 --- a/spm/spm_vb_lambda.py +++ b/spm/spm_vb_lambda.py @@ -2,7 +2,7 @@ def spm_vb_lambda(*args, **kwargs): - """ + r""" Variational Bayes for GLM-AR models - Update lambda FORMAT [block] = spm_vb_lambda(Y,block) @@ -11,9 +11,12 @@ def spm_vb_lambda(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_vb_lambda.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_vb_lambda.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_vb_lambda", *args, **kwargs) diff --git a/spm/spm_vb_logbf.py b/spm/spm_vb_logbf.py index b016027e..60fb138d 100644 --- a/spm/spm_vb_logbf.py +++ b/spm/spm_vb_logbf.py @@ -2,7 +2,7 @@ def spm_vb_logbf(*args, **kwargs): - """ + r""" Compute and write log Bayes factor image FORMAT [xCon,SPM] = spm_vb_logbf(SPM,XYZ,xCon,ic) @@ -13,9 +13,12 @@ def spm_vb_logbf(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_vb_logbf.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_vb_logbf.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_vb_logbf", *args, **kwargs) diff --git a/spm/spm_vb_models.py b/spm/spm_vb_models.py index 587d4afe..80531029 100644 --- a/spm/spm_vb_models.py +++ b/spm/spm_vb_models.py @@ -2,7 +2,7 @@ def spm_vb_models(*args, **kwargs): - """ + r""" Specify models for ANOVAs FORMAT [model] = spm_vb_models(SPM,factor) @@ -15,9 +15,12 @@ def spm_vb_models(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_vb_models.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_vb_models.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_vb_models", *args, **kwargs) diff --git a/spm/spm_vb_neighbors.py b/spm/spm_vb_neighbors.py index c7b5ef35..95435067 100644 --- a/spm/spm_vb_neighbors.py +++ b/spm/spm_vb_neighbors.py @@ -2,7 +2,7 @@ def spm_vb_neighbors(*args, **kwargs): - """ + r""" Create list of neighbors of voxels to be analysed FORMAT vxyz = spm_vb_neighbors (xyz,vol) @@ -20,9 +20,12 @@ def spm_vb_neighbors(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_vb_neighbors.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_vb_neighbors.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_vb_neighbors", *args, **kwargs) diff --git a/spm/spm_vb_ppm_anova.py b/spm/spm_vb_ppm_anova.py index 1ae1d72a..a7f2f0a7 100644 --- a/spm/spm_vb_ppm_anova.py +++ b/spm/spm_vb_ppm_anova.py @@ -2,7 +2,7 @@ def spm_vb_ppm_anova(*args, **kwargs): - """ + r""" Bayesian ANOVA using model comparison FORMAT spm_vb_ppm_anova(SPM) @@ -32,9 +32,12 @@ def spm_vb_ppm_anova(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_vb_ppm_anova.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_vb_ppm_anova.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_vb_ppm_anova", *args, **kwargs, nargout=0) diff --git a/spm/spm_vb_regionF.py b/spm/spm_vb_regionF.py index c2bef512..96c5b408 100644 --- a/spm/spm_vb_regionF.py +++ b/spm/spm_vb_regionF.py @@ -2,7 +2,7 @@ def spm_vb_regionF(*args, **kwargs): - """ + r""" Get log model evidence over a region of data for a GLM FORMAT [F] = spm_vb_regionF (Y,xY,SPM) @@ -27,9 +27,12 @@ def spm_vb_regionF(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_vb_regionF.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_vb_regionF.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_vb_regionF", *args, **kwargs) diff --git a/spm/spm_vb_robust.py b/spm/spm_vb_robust.py index 74a34337..d44ea554 100644 --- a/spm/spm_vb_robust.py +++ b/spm/spm_vb_robust.py @@ -2,7 +2,7 @@ def spm_vb_robust(*args, **kwargs): - """ + r""" Robust GLM modelling in a slice of fMRI FORMAT [slice] = spm_vb_robust (Y,slice) @@ -19,9 +19,12 @@ def spm_vb_robust(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_vb_robust.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_vb_robust.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_vb_robust", *args, **kwargs) diff --git a/spm/spm_vb_roi_anova.py b/spm/spm_vb_roi_anova.py index b1d0b4a9..9a3bb556 100644 --- a/spm/spm_vb_roi_anova.py +++ b/spm/spm_vb_roi_anova.py @@ -2,7 +2,7 @@ def spm_vb_roi_anova(*args, **kwargs): - """ + r""" Bayesian ANOVA for a region of interest FORMAT [post,model] = spm_vb_roi_anova (VOI_fname,SPM,factor) @@ -21,9 +21,12 @@ def spm_vb_roi_anova(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_vb_roi_anova.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_vb_roi_anova.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_vb_roi_anova", *args, **kwargs) diff --git a/spm/spm_vb_roi_basis.py b/spm/spm_vb_roi_basis.py index d96dda3d..e859af29 100644 --- a/spm/spm_vb_roi_basis.py +++ b/spm/spm_vb_roi_basis.py @@ -2,7 +2,7 @@ def spm_vb_roi_basis(*args, **kwargs): - """ + r""" Compare Hemodynamic Basis sets for a cluster of interest FORMAT [F,pm] = spm_vb_roi_basis (VOI_fnames,SPM,bases,model) @@ -50,9 +50,12 @@ def spm_vb_roi_basis(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_vb_roi_basis.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_vb_roi_basis.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_vb_roi_basis", *args, **kwargs) diff --git a/spm/spm_vb_set_priors.py b/spm/spm_vb_set_priors.py index c5fab0b1..ccdd398d 100644 --- a/spm/spm_vb_set_priors.py +++ b/spm/spm_vb_set_priors.py @@ -2,7 +2,7 @@ def spm_vb_set_priors(*args, **kwargs): - """ + r""" Set up precision parameters and optimisation options to correspond to priors FORMAT [block] = spm_vb_set_priors(block,priors,vxyz) @@ -34,9 +34,12 @@ def spm_vb_set_priors(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_vb_set_priors.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_vb_set_priors.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_vb_set_priors", *args, **kwargs) diff --git a/spm/spm_vb_spatial_precision.py b/spm/spm_vb_spatial_precision.py index 308860be..55e272b5 100644 --- a/spm/spm_vb_spatial_precision.py +++ b/spm/spm_vb_spatial_precision.py @@ -2,7 +2,7 @@ def spm_vb_spatial_precision(*args, **kwargs): - """ + r""" Compute spatial precision matrix appropriate to prior FORMAT [S] = spm_vb_spatial_precision(prior_type,vxyz,img) @@ -15,9 +15,12 @@ def spm_vb_spatial_precision(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_vb_spatial_precision.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_vb_spatial_precision.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_vb_spatial_precision", *args, **kwargs) diff --git a/spm/spm_vb_taylor_R.py b/spm/spm_vb_taylor_R.py index 3576b368..dff4545a 100644 --- a/spm/spm_vb_taylor_R.py +++ b/spm/spm_vb_taylor_R.py @@ -2,7 +2,7 @@ def spm_vb_taylor_R(*args, **kwargs): - """ + r""" Get Taylor series approximation to posterior correlation matrices FORMAT [slice] = spm_vb_taylor_R(Y,slice) @@ -13,9 +13,12 @@ def spm_vb_taylor_R(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_vb_taylor_R.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_vb_taylor_R.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_vb_taylor_R", *args, **kwargs) diff --git a/spm/spm_vb_w.py b/spm/spm_vb_w.py index fd7495e6..2bda8cc6 100644 --- a/spm/spm_vb_w.py +++ b/spm/spm_vb_w.py @@ -2,7 +2,7 @@ def spm_vb_w(*args, **kwargs): - """ + r""" Variational Bayes for GLM-AR modelling in a block - update w FORMAT [block] = spm_vb_w (Y,block) @@ -11,9 +11,12 @@ def spm_vb_w(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_vb_w.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_vb_w.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_vb_w", *args, **kwargs) diff --git a/spm/spm_vec.py b/spm/spm_vec.py index 0b0dee48..c41d7051 100644 --- a/spm/spm_vec.py +++ b/spm/spm_vec.py @@ -2,7 +2,7 @@ def spm_vec(*args, **kwargs): - """ + r""" Vectorise a numeric, cell or structure array - a compiled routine FORMAT [vX] = spm_vec(X) X - numeric, cell or structure array[s] @@ -16,9 +16,12 @@ def spm_vec(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_vec.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_vec.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_vec", *args, **kwargs) diff --git a/spm/spm_vecfun.py b/spm/spm_vecfun.py index 79ec602e..1977d785 100644 --- a/spm/spm_vecfun.py +++ b/spm/spm_vecfun.py @@ -2,7 +2,7 @@ def spm_vecfun(*args, **kwargs): - """ + r""" Apply a function to the numeric elements of a cell or structure array FORMAT [X] = spm_vecfun(X,fun) X - numeric, cell or stucture array @@ -13,9 +13,12 @@ def spm_vecfun(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_vecfun.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_vecfun.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_vecfun", *args, **kwargs) diff --git a/spm/spm_vol.py b/spm/spm_vol.py index 6b7cf073..a80db3c2 100644 --- a/spm/spm_vol.py +++ b/spm/spm_vol.py @@ -2,7 +2,7 @@ def spm_vol(*args, **kwargs): - """ + r""" Get header information for images FORMAT V = spm_vol(P) P - a char or cell array of filenames @@ -34,9 +34,12 @@ def spm_vol(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_vol.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_vol.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_vol", *args, **kwargs) diff --git a/spm/spm_vol_nifti.py b/spm/spm_vol_nifti.py index ea0f2041..d1777db9 100644 --- a/spm/spm_vol_nifti.py +++ b/spm/spm_vol_nifti.py @@ -2,7 +2,7 @@ def spm_vol_nifti(*args, **kwargs): - """ + r""" Get header information for a NIFTI-1 image FORMAT V = spm_vol_nifti(P,n) P - filename or NIfTI object @@ -12,9 +12,12 @@ def spm_vol_nifti(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_vol_nifti.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_vol_nifti.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_vol_nifti", *args, **kwargs) diff --git a/spm/spm_voronoi.py b/spm/spm_voronoi.py index 722631fb..4db94863 100644 --- a/spm/spm_voronoi.py +++ b/spm/spm_voronoi.py @@ -2,7 +2,7 @@ def spm_voronoi(*args, **kwargs): - """ + r""" Geodesic Discrete Voronoi Diagram - a compiled routine FORMAT [vor, dist] = spm_voronoi(img, seeds, distance) @@ -22,9 +22,12 @@ def spm_voronoi(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_voronoi.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_voronoi.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_voronoi", *args, **kwargs) diff --git a/spm/spm_wft.py b/spm/spm_wft.py index 484e5fb1..f00846fd 100644 --- a/spm/spm_wft.py +++ b/spm/spm_wft.py @@ -2,19 +2,24 @@ def spm_wft(*args, **kwargs): - """ + r""" Windowed fourier wavelet transform (time-frequency analysis) FORMAT [C] = spm_wft(s,k,n) - s - (t X n) time-series + s - (T X N) time-series k - Frequencies (cycles per window) n - window length - C - (w X t X n) coefficients (complex) + C - (w X T X N) coefficients (complex) + + see also: spm_iwft __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_wft.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_wft.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_wft", *args, **kwargs) diff --git a/spm/spm_write_filtered.py b/spm/spm_write_filtered.py index d5212d59..db622f43 100644 --- a/spm/spm_write_filtered.py +++ b/spm/spm_write_filtered.py @@ -2,7 +2,7 @@ def spm_write_filtered(*args, **kwargs): - """ + r""" Write the filtered SPM as an image FORMAT Vo = spm_write_filtered(Z,XYZ,DIM,M,descrip,F) Z - {1 x ?} vector point list of SPM values for MIP @@ -27,9 +27,12 @@ def spm_write_filtered(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_write_filtered.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_write_filtered.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_write_filtered", *args, **kwargs) diff --git a/spm/spm_write_plane.py b/spm/spm_write_plane.py index 10881eec..602028ea 100644 --- a/spm/spm_write_plane.py +++ b/spm/spm_write_plane.py @@ -2,7 +2,7 @@ def spm_write_plane(*args, **kwargs): - """ + r""" Write transverse plane(s) of image data FORMAT V = spm_write_plane(V,dat,n) V - data structure containing image information (see spm_vol) @@ -17,9 +17,12 @@ def spm_write_plane(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_write_plane.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_write_plane.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_write_plane", *args, **kwargs) diff --git a/spm/spm_write_residuals.py b/spm/spm_write_residuals.py index cd7f4f5e..b68c7adb 100644 --- a/spm/spm_write_residuals.py +++ b/spm/spm_write_residuals.py @@ -2,7 +2,7 @@ def spm_write_residuals(*args, **kwargs): - """ + r""" Write residual images FORMAT Vres = spm_write_residuals(SPM,Ic) SPM - structure containing generic analysis details @@ -13,9 +13,12 @@ def spm_write_residuals(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_write_residuals.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_write_residuals.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_write_residuals", *args, **kwargs) diff --git a/spm/spm_write_vol.py b/spm/spm_write_vol.py index 751ab90b..a5a5c862 100644 --- a/spm/spm_write_vol.py +++ b/spm/spm_write_vol.py @@ -2,7 +2,7 @@ def spm_write_vol(*args, **kwargs): - """ + r""" Write an image volume to disk, setting scales and offsets as appropriate FORMAT V = spm_write_vol(V,Y) V (input) - a structure containing image volume information (see spm_vol) @@ -15,9 +15,12 @@ def spm_write_vol(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_write_vol.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_write_vol.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_write_vol", *args, **kwargs) diff --git a/spm/spm_z2p.py b/spm/spm_z2p.py index e76dc0dc..a0458015 100644 --- a/spm/spm_z2p.py +++ b/spm/spm_z2p.py @@ -2,7 +2,7 @@ def spm_z2p(*args, **kwargs): - """ + r""" Compute the p-value of a test statistic FORMAT P = spm_z2p(Z,df,STAT,n) @@ -19,9 +19,12 @@ def spm_z2p(*args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_z2p.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_z2p.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_z2p", *args, **kwargs) diff --git a/spm/spm_zeros.py b/spm/spm_zeros.py index 7d93f0d9..54340d07 100644 --- a/spm/spm_zeros.py +++ b/spm/spm_zeros.py @@ -2,16 +2,19 @@ def spm_zeros(*args, **kwargs): - """ + r""" Fill a cell or structure array with zeros FORMAT [X] = spm_zeros(X) X - numeric, cell or structure array[s] __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/spm_zeros.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/spm_zeros.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("spm_zeros", *args, **kwargs) diff --git a/spm/xmltree.py b/spm/xmltree.py index f895bbcc..02a613cd 100644 --- a/spm/xmltree.py +++ b/spm/xmltree.py @@ -4,7 +4,7 @@ class xmltree(RuntimeMixin, MatlabClass): def __init__(self, *args, **kwargs): - """ + r""" XMLTREE/XMLTREE Constructor of the XMLTree class FORMAT tree = xmltree(varargin) @@ -28,15 +28,18 @@ def __init__(self, *args, **kwargs): - [Matlab code]( https://github.com/spm/spm/blob/main/@xmltree/xmltree.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/@xmltree/xmltree.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ super().__init__() def add(self, *args, **kwargs): - """ + r""" XMLTREE/ADD Method (add children to elements of an XML Tree) FORMAT vararout = add(tree,uid,type,parameter) @@ -60,15 +63,18 @@ def add(self, *args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/@xmltree/add.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/@xmltree/add.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("add", self._as_matlab_object(), *args, **kwargs) def attributes(self, *args, **kwargs): - """ + r""" XMLTREE/ATTRIBUTES Method (handle attributes of an element node) FORMAT varargout = attributes(varargin) @@ -94,15 +100,18 @@ def attributes(self, *args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/@xmltree/attributes.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/@xmltree/attributes.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("attributes", self._as_matlab_object(), *args, **kwargs) def branch(self, *args, **kwargs): - """ + r""" XMLTREE/BRANCH Branch Method FORMAT uid = parent(tree,uid) @@ -115,15 +124,18 @@ def branch(self, *args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/@xmltree/branch.m ) + Generated from SPM26.10.01. - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/@xmltree/branch.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("branch", self._as_matlab_object(), *args, **kwargs) def char(self, *args, **kwargs): - """ + r""" XMLTREE/CHAR Converter function from XMLTree to a description string FORMAT s = char(tree) @@ -136,15 +148,18 @@ def char(self, *args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/@xmltree/char.m ) + Generated from SPM26.10.01. - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/@xmltree/char.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("char", self._as_matlab_object(), *args, **kwargs) def children(self, *args, **kwargs): - """ + r""" XMLTREE/CHILDREN Return children's UIDs of node uid FORMAT child = children(tree,uid) @@ -157,15 +172,18 @@ def children(self, *args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/@xmltree/children.m ) + Generated from SPM26.10.01. - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/@xmltree/children.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("children", self._as_matlab_object(), *args, **kwargs) def convert(self, *args, **kwargs): - """ + r""" XMLTREE/CONVERT Convert an XML tree into a structure tree - XMLTree object @@ -187,15 +205,18 @@ def convert(self, *args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/@xmltree/convert.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/@xmltree/convert.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("convert", self._as_matlab_object(), *args, **kwargs) def copy(self, *args, **kwargs): - """ + r""" XMLTREE/COPY Copy Method (copy a subtree in another branch) FORMAT tree = copy(tree,subuid,uid) @@ -209,15 +230,18 @@ def copy(self, *args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/@xmltree/copy.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/@xmltree/copy.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("copy", self._as_matlab_object(), *args, **kwargs) def delete(self, *args, **kwargs): - """ + r""" XMLTREE/DELETE Delete (delete a subtree given its UID) tree - XMLTree object @@ -229,15 +253,18 @@ def delete(self, *args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/@xmltree/delete.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/@xmltree/delete.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("delete", self._as_matlab_object(), *args, **kwargs) def display(self, *args, **kwargs): - """ + r""" XMLTREE/DISPLAY Command window display of an XMLTree FORMAT display(tree) @@ -249,15 +276,18 @@ def display(self, *args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/@xmltree/display.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/@xmltree/display.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("display", self._as_matlab_object(), *args, **kwargs, nargout=0) def editor(self, *args, **kwargs): - """ + r""" XMLTREE/EDITOR A Graphical User Interface for an XML tree EDITOR(TREE) opens a new figure displaying the xmltree object TREE. H = EDITOR(TREE) also returns the figure handle H. @@ -268,15 +298,18 @@ def editor(self, *args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/@xmltree/editor.m ) + Generated from SPM26.10.01. - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/@xmltree/editor.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("editor", self._as_matlab_object(), *args, **kwargs, nargout=0) def find(self, *args, **kwargs): - """ + r""" XMLTREE/FIND Find elements in a tree with specified characteristics FORMAT list = find(varargin) @@ -300,15 +333,18 @@ def find(self, *args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/@xmltree/find.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/@xmltree/find.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("find", self._as_matlab_object(), *args, **kwargs) def flush(self, *args, **kwargs): - """ + r""" XMLTREE/FLUSH Flush (Clear a subtree given its UID) tree - XMLTree object @@ -321,15 +357,18 @@ def flush(self, *args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/@xmltree/flush.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/@xmltree/flush.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("flush", self._as_matlab_object(), *args, **kwargs) def get(self, *args, **kwargs): - """ + r""" XMLTREE/GET Get Method (get object properties) FORMAT value = get(tree,uid,parameter) @@ -343,15 +382,18 @@ def get(self, *args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/@xmltree/get.m ) + Generated from SPM26.10.01. - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/@xmltree/get.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("get", self._as_matlab_object(), *args, **kwargs) def getfilename(self, *args, **kwargs): - """ + r""" XMLTREE/GETFILENAME Get filename method FORMAT filename = getfilename(tree) @@ -364,15 +406,18 @@ def getfilename(self, *args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/@xmltree/getfilename.m ) + Generated from SPM26.10.01. - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/@xmltree/getfilename.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("getfilename", self._as_matlab_object(), *args, **kwargs) def isfield(self, *args, **kwargs): - """ + r""" XMLTREE/ISFIELD Is parameter a field of tree{uid} ? FORMAT F = isfield(tree,uid,parameter) @@ -386,15 +431,18 @@ def isfield(self, *args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/@xmltree/isfield.m ) + Generated from SPM26.10.01. - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/@xmltree/isfield.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("isfield", self._as_matlab_object(), *args, **kwargs) def length(self, *args, **kwargs): - """ + r""" XMLTREE/LENGTH Length Method FORMAT l = length(tree,r) @@ -408,15 +456,18 @@ def length(self, *args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/@xmltree/length.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/@xmltree/length.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("length", self._as_matlab_object(), *args, **kwargs) def move(self, *args, **kwargs): - """ + r""" XMLTREE/MOVE Move (move a subtree inside a tree from A to B) tree - XMLTree object @@ -429,15 +480,18 @@ def move(self, *args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/@xmltree/move.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/@xmltree/move.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("move", self._as_matlab_object(), *args, **kwargs) def parent(self, *args, **kwargs): - """ + r""" XMLTREE/PARENT Parent Method FORMAT uid = parent(tree,uid) @@ -450,15 +504,18 @@ def parent(self, *args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/@xmltree/parent.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/@xmltree/parent.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("parent", self._as_matlab_object(), *args, **kwargs) def root(self, *args, **kwargs): - """ + r""" XMLTREE/ROOT Root Method FORMAT uid = root(tree) @@ -470,15 +527,18 @@ def root(self, *args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/@xmltree/root.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/@xmltree/root.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("root", self._as_matlab_object(), *args, **kwargs) def save(self, *args, **kwargs): - """ + r""" XMLTREE/SAVE Save an XML tree in an XML file FORMAT varargout = save(tree,filename) @@ -492,15 +552,18 @@ def save(self, *args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/@xmltree/save.m ) + Generated from SPM26.10.01. - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/@xmltree/save.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("save", self._as_matlab_object(), *args, **kwargs) def set_(self, *args, **kwargs): - """ + r""" XMLTREE/SET Method (set object properties) FORMAT tree = set(tree,uid,parameter,value) @@ -515,15 +578,18 @@ def set_(self, *args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/@xmltree/set.m ) + Generated from SPM26.10.01. - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/@xmltree/set.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("set", self._as_matlab_object(), *args, **kwargs) def setfilename(self, *args, **kwargs): - """ + r""" XMLTREE/SETFILENAME Set filename method FORMAT tree = setfilename(tree,filename) @@ -535,15 +601,18 @@ def setfilename(self, *args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/@xmltree/setfilename.m ) + Generated from SPM26.10.01. - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/@xmltree/setfilename.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("setfilename", self._as_matlab_object(), *args, **kwargs) def view(self, *args, **kwargs): - """ + r""" XMLTREE/VIEW View Method (deprecated) FORMAT view(tree) @@ -556,15 +625,18 @@ def view(self, *args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/@xmltree/view.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/@xmltree/view.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("view", self._as_matlab_object(), *args, **kwargs, nargout=0) def _struct2xml(self, *args, **kwargs): - """ + r""" STRUCT2XML Convert a structure to an XML tree object FORMAT tree = struct2xml(s,rootname) @@ -582,15 +654,18 @@ def _struct2xml(self, *args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/@xmltree/private/struct2xml.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/@xmltree/private/struct2xml.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("struct2xml", self._as_matlab_object(), *args, **kwargs) def _xml_findstr(self, *args, **kwargs): - """ + r""" XML_FINDSTR Find one string within another K = XML_FINDSTR(TEXT,PATTERN) returns the starting indices of any occurrences of the string PATTERN in the string TEXT. @@ -614,15 +689,18 @@ def _xml_findstr(self, *args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/@xmltree/private/xml_findstr.m ) + Generated from SPM26.10.01. - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/@xmltree/private/xml_findstr.m ) + + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("xml_findstr", self._as_matlab_object(), *args, **kwargs) def _xml_parser(self, *args, **kwargs): - """ + r""" XML (eXtensible Markup Language) Processor FORMAT tree = xml_parser(xmlstr) @@ -639,9 +717,12 @@ def _xml_parser(self, *args, **kwargs): __________________________________________________________________________ - [Matlab code]( https://github.com/spm/spm/blob/main/@xmltree/private/xml_parser.m ) + Generated from SPM26.10.01. + + [Source Matlab code]( https://github.com/spm/spm/blob/26.10.01/@xmltree/private/xml_parser.m ) - Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL + Copyright (C) 1995-2026 Functional Imaging Laboratory, + Department of Imaging Neuroscience, UCL """ return Runtime.call("xml_parser", self._as_matlab_object(), *args, **kwargs) From 34e93e7bfc9bc4670ffe9c056d51929aa3e2529b Mon Sep 17 00:00:00 2001 From: Johan Medrano Date: Wed, 4 Nov 2026 09:55:36 -0500 Subject: [PATCH 04/22] [MNT] Bump _version.py and pyproject.toml --- pyproject.toml | 39 +++++++++++++++++++++------------------ spm/_version.py | 2 +- 2 files changed, 22 insertions(+), 19 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index d0e50253..18cf5ea6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -20,7 +20,7 @@ authors = [ {name = "Peter Zeidman"}, {name = "Olivia Kowalczyk"}, ] -requires-python = ">=3.6,<3.14" +requires-python = ">=3.6,<3.15" classifiers = [ "Development Status :: 5 - Production/Stable", "License :: OSI Approved :: GNU General Public License v2 (GPLv2)", @@ -32,29 +32,32 @@ classifiers = [ "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", + "Programming Language :: Python :: 3.14", ] dependencies = [ "mpython-core>=25.4rc1", - "spm-runtime-r2025b >= 25.1.2 ; python_version >= '3.10'", - "spm-runtime-r2025a == 25.1.2 ; python_version == '3.9'", - "spm-runtime-r2023a == 25.1.2 ; python_version == '3.8'", - "spm-runtime-r2021b == 25.1.2 ; python_version == '3.7'", - "spm-runtime-r2020b == 25.1.2 ; python_version == '3.6'", + "spm-runtime-r2026b >= 26.10.1 ; python_version >= '3.10'", + "spm-runtime-r2025a == 26.10.1 ; python_version == '3.9'", + "spm-runtime-r2023a == 26.10.1 ; python_version == '3.8'", + "spm-runtime-r2021b == 26.10.1 ; python_version == '3.7'", + "spm-runtime-r2020b == 26.10.1 ; python_version == '3.6'", ] [project.optional-dependencies] -latest = ["spm-runtime == 25.1.2"] -R2025b = ["spm-runtime-R2025b == 25.1.2"] -R2025a = ["spm-runtime-R2025a == 25.1.2"] -R2024b = ["spm-runtime-R2024b == 25.1.2"] -R2024a = ["spm-runtime-R2024a == 25.1.2"] -R2023b = ["spm-runtime-R2023b == 25.1.2"] -R2023a = ["spm-runtime-R2023a == 25.1.2"] -R2022b = ["spm-runtime-R2022b == 25.1.2"] -R2022a = ["spm-runtime-R2022a == 25.1.2"] -R2021b = ["spm-runtime-R2021b == 25.1.2"] -R2021a = ["spm-runtime-R2021a == 25.1.2"] -R2020b = ["spm-runtime-R2020b == 25.1.2"] +latest = ["spm-runtime == 26.10.1"] +R2026b = ["spm-runtime-R2026b == 26.10.1"] +R2026a = ["spm-runtime-R2026a == 26.10.1"] +R2025b = ["spm-runtime-R2025b == 26.10.1"] +R2025a = ["spm-runtime-R2025a == 26.10.1"] +R2024b = ["spm-runtime-R2024b == 26.10.1"] +R2024a = ["spm-runtime-R2024a == 26.10.1"] +R2023b = ["spm-runtime-R2023b == 26.10.1"] +R2023a = ["spm-runtime-R2023a == 26.10.1"] +R2022b = ["spm-runtime-R2022b == 26.10.1"] +R2022a = ["spm-runtime-R2022a == 26.10.1"] +R2021b = ["spm-runtime-R2021b == 26.10.1"] +R2021a = ["spm-runtime-R2021a == 26.10.1"] +R2020b = ["spm-runtime-R2020b == 26.10.1"] [project.urls] Repository = "https://github.com/spm/spm-python" diff --git a/spm/_version.py b/spm/_version.py index cbcd4675..75e5c032 100644 --- a/spm/_version.py +++ b/spm/_version.py @@ -1 +1 @@ -__version__ = "25.1.2.post2" +__version__ = "26.10.1" From 2f9a83db4989e2a684042fef833a43a010d426d2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ya=C3=ABl=20Balbastre?= Date: Thu, 5 Nov 2026 10:07:00 +0000 Subject: [PATCH 05/22] Apply suggestion from @balbasty --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 5ad4dff7..61fa0b46 100644 --- a/README.md +++ b/README.md @@ -78,7 +78,7 @@ By default, spm-python uses: ``` 2. Run the installer ```shell - install_matlab_runtime --version R2025b --yes + install_matlab_runtime --version R2026b --yes ``` - **Advantages** From 71dbed8bea5a526455a32f6e0d256fa521d23ccb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ya=C3=ABl=20Balbastre?= Date: Thu, 5 Nov 2026 10:07:14 +0000 Subject: [PATCH 06/22] Apply suggestion from @balbasty --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 61fa0b46..039065e5 100644 --- a/README.md +++ b/README.md @@ -36,7 +36,7 @@ By default, spm-python uses: - Python 3.7: R2021b - Python 3.8: R2023a - Python 3.9: R2025a -- Python 3.10 - 3.13: R2025b +- Python 3.10 - 3.14: R2026b ### Option 1 - Install the MATLAB runtime on first use From a526b3d7b84c76cf64f927909dc07f53c457bda6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ya=C3=ABl=20Balbastre?= Date: Thu, 5 Nov 2026 10:22:11 +0000 Subject: [PATCH 07/22] Bump matlab version in unit test --- .github/workflows/run_unit_tests.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/run_unit_tests.yml b/.github/workflows/run_unit_tests.yml index a6d6191c..f9092ba6 100644 --- a/.github/workflows/run_unit_tests.yml +++ b/.github/workflows/run_unit_tests.yml @@ -19,9 +19,9 @@ jobs: strategy: fail-fast: False matrix: - matlab: ["R2025b"] + matlab: ["R2026b"] os: [ubuntu-latest, macos-13, macos-latest, windows-latest] - python-version: ["3.10", "3.11", "3.12", "3.13"] + python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"] include: - os: ubuntu-latest os_name: Linux From 33c6da02e4017c73e660e57606d8e8e10e1b982e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ya=C3=ABl=20Balbastre?= Date: Thu, 5 Nov 2026 10:22:28 +0000 Subject: [PATCH 08/22] Update spm/__init__.py --- spm/__init__.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/spm/__init__.py b/spm/__init__.py index e1ae476f..7dab82a1 100644 --- a/spm/__init__.py +++ b/spm/__init__.py @@ -1,4 +1,6 @@ -from mpython import Runtime, MatlabClass, MatlabFunction, Cell, Struct, Array, SparseArray +from spm._runtime import Runtime +from spm._version import __version__ +from mpython importMatlabClass, MatlabFunction, Cell, Struct, Array, SparseArray from .file_array import file_array from .gifti import gifti from .meeg import meeg From 9b1229761439ec924bd7e65952329c9a59584663 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ya=C3=ABl=20Balbastre?= Date: Thu, 5 Nov 2026 10:24:42 +0000 Subject: [PATCH 09/22] Accept all post versions of spm-runtime Updated version constraints for spm-runtime dependencies to allow patch versions. --- pyproject.toml | 38 +++++++++++++++++++------------------- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 18cf5ea6..1928b1f9 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -36,28 +36,28 @@ classifiers = [ ] dependencies = [ "mpython-core>=25.4rc1", - "spm-runtime-r2026b >= 26.10.1 ; python_version >= '3.10'", - "spm-runtime-r2025a == 26.10.1 ; python_version == '3.9'", - "spm-runtime-r2023a == 26.10.1 ; python_version == '3.8'", - "spm-runtime-r2021b == 26.10.1 ; python_version == '3.7'", - "spm-runtime-r2020b == 26.10.1 ; python_version == '3.6'", + "spm-runtime-r2026b >= 26.10.1.* ; python_version >= '3.10'", + "spm-runtime-r2025a == 26.10.1.* ; python_version == '3.9'", + "spm-runtime-r2023a == 26.10.1.* ; python_version == '3.8'", + "spm-runtime-r2021b == 26.10.1.* ; python_version == '3.7'", + "spm-runtime-r2020b == 26.10.1.* ; python_version == '3.6'", ] [project.optional-dependencies] -latest = ["spm-runtime == 26.10.1"] -R2026b = ["spm-runtime-R2026b == 26.10.1"] -R2026a = ["spm-runtime-R2026a == 26.10.1"] -R2025b = ["spm-runtime-R2025b == 26.10.1"] -R2025a = ["spm-runtime-R2025a == 26.10.1"] -R2024b = ["spm-runtime-R2024b == 26.10.1"] -R2024a = ["spm-runtime-R2024a == 26.10.1"] -R2023b = ["spm-runtime-R2023b == 26.10.1"] -R2023a = ["spm-runtime-R2023a == 26.10.1"] -R2022b = ["spm-runtime-R2022b == 26.10.1"] -R2022a = ["spm-runtime-R2022a == 26.10.1"] -R2021b = ["spm-runtime-R2021b == 26.10.1"] -R2021a = ["spm-runtime-R2021a == 26.10.1"] -R2020b = ["spm-runtime-R2020b == 26.10.1"] +latest = ["spm-runtime == 26.10.1.*"] +R2026b = ["spm-runtime-R2026b == 26.10.1.*"] +R2026a = ["spm-runtime-R2026a == 26.10.1.*"] +R2025b = ["spm-runtime-R2025b == 26.10.1.*"] +R2025a = ["spm-runtime-R2025a == 26.10.1.*"] +R2024b = ["spm-runtime-R2024b == 26.10.1.*"] +R2024a = ["spm-runtime-R2024a == 26.10.1.*"] +R2023b = ["spm-runtime-R2023b == 26.10.1.*"] +R2023a = ["spm-runtime-R2023a == 26.10.1.*"] +R2022b = ["spm-runtime-R2022b == 26.10.1.*"] +R2022a = ["spm-runtime-R2022a == 26.10.1.*"] +R2021b = ["spm-runtime-R2021b == 26.10.1.*"] +R2021a = ["spm-runtime-R2021a == 26.10.1.*"] +R2020b = ["spm-runtime-R2020b == 26.10.1.*"] [project.urls] Repository = "https://github.com/spm/spm-python" From 487863d904af295953af2156a002dcc901ed4de2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ya=C3=ABl=20Balbastre?= Date: Thu, 5 Nov 2026 10:25:56 +0000 Subject: [PATCH 10/22] Change spm-runtime-r2026b dependency to exact version --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 1928b1f9..dad3d880 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -36,7 +36,7 @@ classifiers = [ ] dependencies = [ "mpython-core>=25.4rc1", - "spm-runtime-r2026b >= 26.10.1.* ; python_version >= '3.10'", + "spm-runtime-r2026b == 26.10.1.* ; python_version >= '3.10'", "spm-runtime-r2025a == 26.10.1.* ; python_version == '3.9'", "spm-runtime-r2023a == 26.10.1.* ; python_version == '3.8'", "spm-runtime-r2021b == 26.10.1.* ; python_version == '3.7'", From c78d1228aa10ba8ff0dba7a25b9498c711031ee2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ya=C3=ABl=20Balbastre?= Date: Thu, 5 Nov 2026 10:27:39 +0000 Subject: [PATCH 11/22] Typo --- spm/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spm/__init__.py b/spm/__init__.py index 7dab82a1..9639024c 100644 --- a/spm/__init__.py +++ b/spm/__init__.py @@ -1,6 +1,6 @@ from spm._runtime import Runtime from spm._version import __version__ -from mpython importMatlabClass, MatlabFunction, Cell, Struct, Array, SparseArray +from mpython import MatlabClass, MatlabFunction, Cell, Struct, Array, SparseArray from .file_array import file_array from .gifti import gifti from .meeg import meeg From a2b7457616a1a2241f773f39c1e85d49baa809ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ya=C3=ABl=20Balbastre?= Date: Thu, 5 Nov 2026 10:35:06 +0000 Subject: [PATCH 12/22] Update mpython-core dependency version --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index dad3d880..4c251505 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -35,7 +35,7 @@ classifiers = [ "Programming Language :: Python :: 3.14", ] dependencies = [ - "mpython-core>=25.4rc1", + "mpython-core>=26.11", "spm-runtime-r2026b == 26.10.1.* ; python_version >= '3.10'", "spm-runtime-r2025a == 26.10.1.* ; python_version == '3.9'", "spm-runtime-r2023a == 26.10.1.* ; python_version == '3.8'", From dee20bc8f4d329fbb40862ca8176a0c74d0092f9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ya=C3=ABl=20Balbastre?= Date: Thu, 5 Nov 2026 10:39:11 +0000 Subject: [PATCH 13/22] Add PIP_NO_CACHE_DIR environment variable --- .github/workflows/run_unit_tests.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/run_unit_tests.yml b/.github/workflows/run_unit_tests.yml index f9092ba6..1bee3239 100644 --- a/.github/workflows/run_unit_tests.yml +++ b/.github/workflows/run_unit_tests.yml @@ -12,6 +12,7 @@ on: env: MLM_LICENSE_TOKEN: ${{ secrets.MATLAB_BATCH_TOKEN }} + PIP_NO_CACHE_DIR: "1" jobs: run-unit-tests: @@ -47,6 +48,7 @@ jobs: - name: Install SPM Python run: | + python -m pip install --upgrade pip python -m pip install mpython-core python -m pip install -e . From 7d36e58f4b76fcc22ea0dcd237fa595de1d16f91 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ya=C3=ABl=20Balbastre?= Date: Tue, 10 Nov 2026 13:16:07 +0000 Subject: [PATCH 14/22] Bump version floor (post1 / mpython 26.11.1) These are needed to include the fix for "cell of empty arrays" on MATLAB R2026b. --- pyproject.toml | 40 ++++++++++++++++++++-------------------- 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 4c251505..6daf6f56 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -35,29 +35,29 @@ classifiers = [ "Programming Language :: Python :: 3.14", ] dependencies = [ - "mpython-core>=26.11", - "spm-runtime-r2026b == 26.10.1.* ; python_version >= '3.10'", - "spm-runtime-r2025a == 26.10.1.* ; python_version == '3.9'", - "spm-runtime-r2023a == 26.10.1.* ; python_version == '3.8'", - "spm-runtime-r2021b == 26.10.1.* ; python_version == '3.7'", - "spm-runtime-r2020b == 26.10.1.* ; python_version == '3.6'", + "mpython-core>=26.11.1", + "spm-runtime-r2026b ~= 26.10.1.post1 ; python_version >= '3.10'", + "spm-runtime-r2025a ~= 26.10.1.post1 ; python_version == '3.9'", + "spm-runtime-r2023a ~= 26.10.1.post1 ; python_version == '3.8'", + "spm-runtime-r2021b ~= 26.10.1.post1 ; python_version == '3.7'", + "spm-runtime-r2020b ~= 26.10.1.post1 ; python_version == '3.6'", ] [project.optional-dependencies] -latest = ["spm-runtime == 26.10.1.*"] -R2026b = ["spm-runtime-R2026b == 26.10.1.*"] -R2026a = ["spm-runtime-R2026a == 26.10.1.*"] -R2025b = ["spm-runtime-R2025b == 26.10.1.*"] -R2025a = ["spm-runtime-R2025a == 26.10.1.*"] -R2024b = ["spm-runtime-R2024b == 26.10.1.*"] -R2024a = ["spm-runtime-R2024a == 26.10.1.*"] -R2023b = ["spm-runtime-R2023b == 26.10.1.*"] -R2023a = ["spm-runtime-R2023a == 26.10.1.*"] -R2022b = ["spm-runtime-R2022b == 26.10.1.*"] -R2022a = ["spm-runtime-R2022a == 26.10.1.*"] -R2021b = ["spm-runtime-R2021b == 26.10.1.*"] -R2021a = ["spm-runtime-R2021a == 26.10.1.*"] -R2020b = ["spm-runtime-R2020b == 26.10.1.*"] +latest = ["spm-runtime ~= 26.10.1.post1"] +R2026b = ["spm-runtime-R2026b ~= 26.10.1.post1"] +R2026a = ["spm-runtime-R2026a ~= 26.10.1.post1"] +R2025b = ["spm-runtime-R2025b ~= 26.10.1.post1"] +R2025a = ["spm-runtime-R2025a ~= 26.10.1.post1"] +R2024b = ["spm-runtime-R2024b ~= 26.10.1.post1"] +R2024a = ["spm-runtime-R2024a ~= 26.10.1.post1"] +R2023b = ["spm-runtime-R2023b ~= 26.10.1.post1"] +R2023a = ["spm-runtime-R2023a ~= 26.10.1.post1"] +R2022b = ["spm-runtime-R2022b ~= 26.10.1.post1"] +R2022a = ["spm-runtime-R2022a ~= 26.10.1.post1"] +R2021b = ["spm-runtime-R2021b ~= 26.10.1.post1"] +R2021a = ["spm-runtime-R2021a ~= 26.10.1.post1"] +R2020b = ["spm-runtime-R2020b ~= 26.10.1.post1"] [project.urls] Repository = "https://github.com/spm/spm-python" From 065a92ee23d29ec11f8b7cdfe09b483f03c634ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ya=C3=ABl=20Balbastre?= Date: Tue, 10 Nov 2026 15:12:40 +0000 Subject: [PATCH 15/22] Update macos-intel runner in CI --- .github/workflows/run_unit_tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/run_unit_tests.yml b/.github/workflows/run_unit_tests.yml index 1bee3239..d3bdd1c4 100644 --- a/.github/workflows/run_unit_tests.yml +++ b/.github/workflows/run_unit_tests.yml @@ -27,7 +27,7 @@ jobs: - os: ubuntu-latest os_name: Linux platform: Linux - - os: macos-13 + - os: macos-15-intel os_name: macOS_Intel platform: Mac - os: macos-latest From ce69c4819fd1c00741b80855b370784f228a38fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ya=C3=ABl=20Balbastre?= Date: Tue, 10 Nov 2026 15:13:02 +0000 Subject: [PATCH 16/22] Update macos-intel runner in CI --- .github/workflows/test-setup-matlab.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test-setup-matlab.yml b/.github/workflows/test-setup-matlab.yml index 59a0bd12..41c57c72 100644 --- a/.github/workflows/test-setup-matlab.yml +++ b/.github/workflows/test-setup-matlab.yml @@ -15,7 +15,7 @@ jobs: - os: ubuntu-latest os_name: Linux platform: Linux - - os: macos-13 + - os: macos-15-intel os_name: macOS_Intel platform: Mac - os: macos-latest From 2b37d933e374f7a54d569e91b8dff04643ee6d01 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ya=C3=ABl=20Balbastre?= Date: Tue, 10 Nov 2026 16:10:05 +0000 Subject: [PATCH 17/22] Update run_unit_tests.yml --- .github/workflows/run_unit_tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/run_unit_tests.yml b/.github/workflows/run_unit_tests.yml index d3bdd1c4..e782fc93 100644 --- a/.github/workflows/run_unit_tests.yml +++ b/.github/workflows/run_unit_tests.yml @@ -21,7 +21,7 @@ jobs: fail-fast: False matrix: matlab: ["R2026b"] - os: [ubuntu-latest, macos-13, macos-latest, windows-latest] + os: [ubuntu-latest, macos-15-intel, macos-latest, windows-latest] python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"] include: - os: ubuntu-latest From f740edb2213daebe87746bf4d1b91fe80bd8ec52 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ya=C3=ABl=20Balbastre?= Date: Tue, 10 Nov 2026 16:10:18 +0000 Subject: [PATCH 18/22] Update test-setup-matlab.yml --- .github/workflows/test-setup-matlab.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test-setup-matlab.yml b/.github/workflows/test-setup-matlab.yml index 41c57c72..b869a0a8 100644 --- a/.github/workflows/test-setup-matlab.yml +++ b/.github/workflows/test-setup-matlab.yml @@ -9,7 +9,7 @@ jobs: strategy: fail-fast: False matrix: - os: [ubuntu-latest, macos-13, macos-latest, windows-latest] + os: [ubuntu-latest, macos-15-intel, macos-latest, windows-latest] python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"] include: - os: ubuntu-latest From a6566c613ad700e2389db83c7d78c7c345625f41 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ya=C3=ABl=20Balbastre?= Date: Tue, 10 Nov 2026 20:16:27 +0000 Subject: [PATCH 19/22] Use older matlab on macos intel --- .github/workflows/run_unit_tests.yml | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/.github/workflows/run_unit_tests.yml b/.github/workflows/run_unit_tests.yml index e782fc93..9bb2403b 100644 --- a/.github/workflows/run_unit_tests.yml +++ b/.github/workflows/run_unit_tests.yml @@ -30,12 +30,16 @@ jobs: - os: macos-15-intel os_name: macOS_Intel platform: Mac + matlab: R2025b - os: macos-latest os_name: macOS_Apple_Silicon platform: Mac - os: windows-latest os_name: Windows platform: Windows + exclude: + - os: macos-15-intel + matlab: R2026b steps: - name: Set up Python ${{ matrix.python-version }} @@ -47,11 +51,19 @@ jobs: uses: actions/checkout@v4 - name: Install SPM Python + if: ${{ matrix.os_name != 'macOS_Intel' }} run: | python -m pip install --upgrade pip - python -m pip install mpython-core python -m pip install -e . + - name: Install SPM Python (macos intel) + if: ${{ matrix.os_name == 'macOS_Intel' }} + env: + MATLAB_VERSION: ${{ matrix.matlab }} + run: | + python -m pip install --upgrade pip + python -m pip install -e ".[${MATLAB_VERSION}]" + # Setup MATLAB and Runtime - name: Set up MATLAB uses: matlab-actions/setup-matlab@v2 From 35da04c8929685fea66a83b052ddedd45ac88f44 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ya=C3=ABl=20Balbastre?= Date: Wed, 11 Nov 2026 09:13:36 +0000 Subject: [PATCH 20/22] Fix CI matrix --- .github/workflows/run_unit_tests.yml | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/.github/workflows/run_unit_tests.yml b/.github/workflows/run_unit_tests.yml index 9bb2403b..11888396 100644 --- a/.github/workflows/run_unit_tests.yml +++ b/.github/workflows/run_unit_tests.yml @@ -20,26 +20,28 @@ jobs: strategy: fail-fast: False matrix: - matlab: ["R2026b"] os: [ubuntu-latest, macos-15-intel, macos-latest, windows-latest] python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"] include: - os: ubuntu-latest os_name: Linux platform: Linux + matlab: R2026b + - os: windows-latest + os_name: Windows + platform: Windows + matlab: R2026b + - os: macos-latest + os_name: macOS_Apple_Silicon + platform: Mac + matlab: R2026b - os: macos-15-intel os_name: macOS_Intel platform: Mac matlab: R2025b - - os: macos-latest - os_name: macOS_Apple_Silicon - platform: Mac - - os: windows-latest - os_name: Windows - platform: Windows exclude: - - os: macos-15-intel - matlab: R2026b + - matlab: R2025b + python-version: "3.14" steps: - name: Set up Python ${{ matrix.python-version }} From 17e918179fb714fdf027824a12590803818247c7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ya=C3=ABl=20Balbastre?= Date: Wed, 11 Nov 2026 09:36:57 +0000 Subject: [PATCH 21/22] Update exclusion criteria for macOS in CI workflow --- .github/workflows/run_unit_tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/run_unit_tests.yml b/.github/workflows/run_unit_tests.yml index 11888396..989f16b7 100644 --- a/.github/workflows/run_unit_tests.yml +++ b/.github/workflows/run_unit_tests.yml @@ -40,7 +40,7 @@ jobs: platform: Mac matlab: R2025b exclude: - - matlab: R2025b + - os: macos-15-intel python-version: "3.14" steps: From 3fcb138f38e76838312029c2ae0626c12897d28e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ya=C3=ABl=20Balbastre?= Date: Wed, 11 Nov 2026 09:42:18 +0000 Subject: [PATCH 22/22] R2025b is < 3.13 --- .github/workflows/run_unit_tests.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/run_unit_tests.yml b/.github/workflows/run_unit_tests.yml index 989f16b7..13452473 100644 --- a/.github/workflows/run_unit_tests.yml +++ b/.github/workflows/run_unit_tests.yml @@ -42,6 +42,8 @@ jobs: exclude: - os: macos-15-intel python-version: "3.14" + - os: macos-15-intel + python-version: "3.13" steps: - name: Set up Python ${{ matrix.python-version }}