This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --- | |
| title: "Quarto Proto Doc" | |
| author: | |
| - name: Y.R. Name | |
| orcid: XXXX-XXXX-XXXX-XXXX | |
| email: yr.name@yr.inst.edu | |
| affiliation: | |
| - name: University of Universities | |
| date: last-modified | |
| bibliography: Proto_wRefs.bib |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @article{spearmanProofMeasurementAssociation1904, | |
| title = {The {{Proof}} and {{Measurement}} of {{Association}} between {{Two Things}}}, | |
| author = {Spearman, C.}, | |
| year = {1904}, | |
| month = jan, | |
| journal = {The American Journal of Psychology}, | |
| volume = {15}, | |
| number = {1}, | |
| eprint = {1412159}, | |
| eprinttype = {jstor}, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --- | |
| title: "Quarto Proto Doc" | |
| author: | |
| - name: Y.R. Name | |
| orcid: XXXX-XXXX-XXXX-XXXX | |
| email: yr.name@yr.inst.edu | |
| affiliation: | |
| - name: University of Universities | |
| date: last-modified | |
| toc: true |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # | |
| # 1st level, subject-space, FSL-stlye naming | |
| # | |
| AnatImg=highres2example_func | |
| EffectImg=cope1 | |
| StatImg=zstat1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| library(lme4) | |
| N=100 | |
| K=10 | |
| rho=0.8 | |
| Yiid = rnorm(N*K) | |
| Subj = factor(rep(1:N,each=K)) | |
| Ycs = Yiid; | |
| Y0 = rnorm(N) | |
| for (i in 1:N) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function varargout=snpm(Action) | |
| % SnPM: nonParametric statistical analysis toolbox for SPM | |
| %_______________________________________________________________________ | |
| % ___ ____ __ __ | |
| % / __) ___ ( _ \( \/ ) Statistical nonParametric Mapping toolbox | |
| % \__ \( _ ) )___/ ) ( The Wellcome Department of Cognitive Neurology | |
| % (___/(_)_)(__) (_/\/\_) SnPM8 | |
| %_______________________________________________________________________ | |
| % | |
| % This is SnPM8, the beta release of the nonParametric toolbox for SPM |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| mySizeX=100; | |
| mySizeY=100; | |
| myNumOfRealizations=500; | |
| mySmoothRandomFields = zeros(mySizeX,mySizeY,myNumOfRealizations); | |
| %%% Sam: Insert your smoothing RF sim code here... return a 3D image, | |
| %%% each 2D slice smoothed according to desired FWHM, slices independent, | |
| %%% for different realisations | |
| mySmoothRandomFields = %<BLAH>% |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /************************************************************************************** | |
| * * | |
| **************************************************************************************/ | |
| bool | |
| EulerCharacteristics2D::computeFieldDerivatives () | |
| { | |
| try | |
| { | |
| // NULL conditions | |
| if (myRandomFields == NULL || myNumOfRealizations <= 0 || myRealizationSize <= 0) throw "myRandomFields not allocated"; |