sha256
stringlengths
64
64
language
stringclasses
28 values
size
int32
1
491k
lines
int32
1
23.2k
content
stringlengths
1
200k
b1df7554e6131d769d47aa6ff9a278e0d7f94ed0021253aa40e8b31dd7fb1efc
MATLAB
52
3
function xN = getArrayElem(x, n) xN = x(n); end
13eda7fd0fbb8330a6611f4c80f0582894babb1db14ce3f71b7e6557f483bcbb
MATLAB
60
3
function out = getVarName(var) out = inputname(1); end
fe527ab7b64cfb3b54c47716604b8fab86b5955c91f48640c231d53f555f3e72
MATLAB
64
3
function ppm = getPPM(MRSIStruct) ppm = MRSIStruct.ppm; end
30d65ee0dad3454a6f9e9d9804a7f5ee61e51c771c2d6438907b130bda2de0aa
MATLAB
68
3
function [Pos] = LoadPos(FileName); Pos = dlmread(FileName); end
5a567b906970b195492cc51617108d5ca18dd9db7395aa668f52b94a6c166838
MATLAB
68
3
function referencePPM = getReferencePPM referencePPM = 4.65; end
c973ab3e6644df47e6380461aa6f3ef180355be27cc37c1fe7c00aadd0af77c1
MATLAB
68
3
function data = getData(MRSIStruct) data = MRSIStruct.data; end
10c8e38d4265b87f141a54ae89cdafc9a2d32851fb0ff5dc340e7211fb7421d9
MATLAB
71
2
function se = stderror(X) se = nanstd(X,0,1)./sqrt(sum(~isnan(X),1));
03dffee55864585a702b4d0c0583c999a50bbff4032ebbd9f837f6ab9a6ae709
MATLAB
74
3
function dataSize = getSize(MRSIStruct) dataSize = MRSIStruct.sz; end
2f67f0910fd5ea6434ce9dc29fbb21a2d525b4bdce1be936fe818ad3d2430f5a
MATLAB
77
5
function B = inf2nan(A) %changes Inf to NaN B = A; B(isinf(A)) = NaN; end
d602a006f96639d4ab0e7a7867e3f3b87952d12e93ac44c0bca7a02cc6b5f634
MATLAB
77
3
function allDims = getAllDims(MRSIStruct) allDims = MRSIStruct.dims; end
bb04a09d2c8a3c2555acdbabbee1ba0393d765138dad7cd0c51445cedcfce2b2
MATLAB
79
3
function adcTime = getAdcTime(MRSIStruct) adcTime = MRSIStruct.adcTime; end
864208a5c449a2da2bb99987cbec1c3a2124716f76a33291cd1d096796065563
MATLAB
82
3
function MRSIStruct = setPPM(MRSIStruct, newPPM) MRSIStruct.ppm = newPPM; end
291bd7eb447ae79c61dd0258b79a0641a1b0d94e75ce350cb9d5b4fc8982ba33
MATLAB
83
4
function result = kwd_parent() import zapit.yaml.*; result = 'parent'; end
2dfff5c84d1935f5c6633da8a39e91aee516c3b6973035421350a9b62346917e
MATLAB
83
3
function MRSIStruct = setSize(MRSIStruct, newSize) MRSIStruct.sz = newSize; end
00824dc11684cc997afeaaebe0d87ef8d324a164c2d249783abbbcdc9f252ecd
MATLAB
84
3
function time = getSpectralTime(MRSIStruct) time = MRSIStruct.spectralTime; end
3c400a609212b0c446feaa3300f0cf3e62638914e3b9584294cd4f7801a27dae
MATLAB
85
4
function myKNNClassifierTrain(trainSet, validCells, nClasses) probeInd = randpemr(
a4f9b1246f38f773bd97ceae7301c92b08dd830f40380325987375ec88090ad7
MATLAB
85
7
%% check_sample check_hsn_tree check_hss_tree check_sample2_tree check_sample_tree
28fca86fb2e31b4354c709678abe35b24f9e78a8bc03b80cdc34f5401a221cf9
MATLAB
87
3
function MRSIStruct = setAdcTime(MRSIStruct, value) MRSIStruct.adcTime = value; end
26f68b4fd9a225bc23ab6a41febca5041d1393d56ca6d90939abd4b8df9960e3
MATLAB
94
3
function runNumber = GetRunNumber(x) runNumber = str2double(x(strfind(x, 'run')+3:end)); end
47db7b558f25096a46ced68fd045a9f06a8f7586ec9009cf920e65732859252a
MATLAB
94
3
function MRSIStruct = setImageOrigin(MRSIStruct, value) MRSIStruct.imageOrgin = value; end
9a4b4ef6605220433396c59fe3c4c9dbc93a6893cd995ce48ee79721e3136c1d
MATLAB
96
6
function sendUhOh() global ws out.EVENTTYPE = 'UHOH'; ws.send(jsonencode(out))
c1a5a50b1e04fbe23f1183f2c59c2838e799a0c9d526c759041748068c5e48c9
MATLAB
96
6
function [ out ] = ColumnVector( in ) % convert vector to column shape out = in(:); end
d205c0c3c4b73ef5851993f78363d27d8de8314a902ddee0986521d55091599d
MATLAB
96
4
function result = issingle(obj) import zapit.yaml.*; result = all(size(obj) == 1) ; end
e3926229afb290eff9980fa142c7af976ffb795f47e86a6116ed9b30adad121a
MATLAB
96
5
function [yfit]= p2fit(x,y,xfit) [p,S] = polyfit(x,y,2); yfit = polyval(p,xfit,S); end
01f6dea6b7b00f3c7d30aec52e1dd31fd225ed2749a9fd43a432e39e3c54e324
MATLAB
97
5
function B = num2nan(A) %This function changes -1.2 to NaNs... A(A == -1.2) = NaN; B = A; end
9115b45b73ba3eda1f61d3c3c41890ba09cbb4acef88eacb6b9b411934a6c03f
MATLAB
97
3
function MRSIStruct = setAdcDwellTime(MRSIStruct, value) MRSIStruct.adcDwellTime = value; end
8745918634399133b326b747faa9c576e877b2fe19658a1b6c3d781b1d9ebaaf
MATLAB
98
8
% Perform all unit tests % % (c) Corey Baron nufftOp; rcvrOp; mrSampFunc; sampHighOrder;
34eef106d5d81466e5b3f623fad7c716a2dfc9a49994cd5798381877995539b6
MATLAB
99
3
function adcDwellTime = getAdcDwellTime(MRSIStruct) adcDwellTime = MRSIStruct.adcDwellTime; end
a9996bff633a478b0a7f08635f2c77c5807f388f56436a2a01cdb7ec43588875
MATLAB
99
3
function MRSIStruct = setSpectralWidth(MRSIStruct, value) MRSIStruct.spectralWidth = value; end
e83beb3d467ecbe7cfe3eaf74e41db4a0a9d1c85eceeecb8f08877dc2ed2925b
MATLAB
99
4
function result = isord(obj) import zapit.yaml.*; result = ~iscell(obj) && any(size(obj) > 1); end
2c97529798733aee73ef382eaf41fb56b6b8a157b6d6c2772fc13e4e59445b94
MATLAB
100
4
%% ccc script to close, and clear everything, including the command line. close all; clear all; clc;
e633b0aa74911e2c222cf169b64257ce4acb419d93634f8aea02f861d1f64d22
MATLAB
100
3
function affineMatrix = getAffineMatrix(MRSIStruct) affineMatrix = MRSIStruct.affineMatrix; end
d62f5eaa4ff7f3c8f307316c04e6d9f8e1312ccbdc0351850cfbdc7ca5bc1293
MATLAB
102
3
function MRSIStruct = setSpectralTime(MRSIStruct, newTime) MRSIStruct.spectralTime = newTime; end
3e45dd493c63d58dc24e56c46589cf2bb80bd7b1d62e6b4bd2aec41166674b60
MATLAB
103
4
%% ccc script to close, and clear everything, including the command line. close all; clear all; clc;
db502ecf7452d9a82792535ed5b7df0eed7eab9607d96be3cfd12daed510e71d
MATLAB
103
4
function colors = getONOFFXYColors colors = brewermap(4, 'BrBG'); colors = colors([4 3 1 2], :); end
e47c3c397fd55ff9188f1da96b771c6fd17eeb5a1efda4160955f5824ba932fb
MATLAB
103
3
function spectralWidth = getSpectralWidth(MRSIStruct) spectralWidth = MRSIStruct.spectralWidth; end
59cb45585b3e77a07d0c1d0ffe782fce0f25939ce4e5cd1b3f9979cfc1f5cedd
MATLAB
104
3
function x = uniform_sample_in_range(range_min,range_max) x = (range_max - range_min)*rand + range_min;
074a8e61fc874b5bd5adf34b71b62e17a186ea033244d14922328b646c5ff910
MATLAB
105
7
clear; clc; subs=1:1:30; parfor ss=1:length(subs) sub=subs(ss); snr=savefor_Figure7(sub); end
5ac9521c8e1c5af0205b4e20ed7c34eb6483e7769d4ef1d4863ea60d26790b81
MATLAB
105
4
function MRSIStruct = op_CSIComplexConj(MRSIStruct) MRSIStruct.data = conj(MRSIStruct.data); end
8376b51412f415dda9e76477a6f8e329aca431945f2cb7bb69644fea1c9fbd22
MATLAB
106
1
function rad = deg2rad(deg) % function rad = deg2rad(deg) % Convert degrees to radians rad = pi*deg/180;
3aecb3e4b28f02c8177a1aba0a9ffe3b15b8bf5c2cfcfe50d64342a8575c6045
MATLAB
108
5
function r = boundUniformRand(bound,n) a = bound(1); b = bound(2); r = a + (b-a).*rand(n,1); end
fef4a11827175d8fbf3d2114ae36f34a6bb7e9bfc31f50affed5b412333d5e26
MATLAB
113
8
function inNum = nearZerotoZero(inNum,tol) if nargin == 1 tol = 1e-2; end inNum( abs(inNum) < tol) = 0; end
43719b025580bd760b8836dd9867dc85ea7f29766ebf8018953cca8d51638c5c
MATLAB
114
6
function live2pSessionDone(src, evt, varargin) global ws out.EVENTTYPE = 'SESSIONDONE'; ws.send(jsonencode(out))
5f228c94ef5f66eedb505516504c49371eb555ae13bbbfd6349f404549c0b03a
MATLAB
115
4
function result = ismymatrix(obj) import zapit.yaml.*; result = ndims(obj) == 2 && all(size(obj) > 1); end
60aa8596630ebe0eaf3b436d0bea92619a415bb7d467c7eafee1c53981b06bcd
MATLAB
117
7
function dispPath = getDisplayPath() % % dispPath = getDisplayPath % dispPath = fileparts(which(mfilename)); return;
c3a75cc399b0621305a9f68d5c368f22b810d5dfaae8ce6da4f567753288299c
MATLAB
118
3
function MRSIStruct = setAffineMatrix(MRSIStruct, newAffineMatrix) MRSIStruct.affineMatrix = newAffineMatrix; end
4b403810e08404c36a03ba6638364e2601069fabcf68e6ef4d07b99591102afe
MATLAB
120
7
function s = sem2(data, dim) if nargin < 2 dim = 1; end s = nanstd(data, [], dim)./(sqrt(sum(~isnan(data), dim)));
4ab55d07abc5f9ed56ed155ed8b8e6c66f5375d2c7ba0dd2afff348ab40cac00
MATLAB
121
11
clear clc close all subs=30; parfor sub=1:subs subnum=sub; [Downsdata]=Downsampling(subnum); end
e225ab15431d7a161a3e521a6e6d5b25e2e15dc9e07dae8fc9a6c2ffdda825cb
MATLAB
124
5
function data = file_read(fname, format) fid = fopen(fname); data_ = textscan(fid, format); data = data_{:}; end
081857ad828f4fc3a7118537997ba1e7e717b40669fc57b7225acdc1b8cead04
MATLAB
125
13
%% check_gauss %% test 1 %% test 2 tprint ('./panels/_tree1', ... '-jpg -HR', [10 10]);
2443e9e12be49c45c91073527233d6474eefee5b74da248173ac187c3c35c560
MATLAB
125
13
%% check_shine %% test 1 %% test 2 tprint ('./panels/_tree1', ... '-jpg -HR', [10 10]);
66342dcb7972d64f9a9f71b6d8aace72ce541eae69a9c6836a26661ef9bfccae
MATLAB
126
13
%% check_tprint %% test 1 %% test 2 tprint ('./panels/_tree1', ... '-jpg -HR', [10 10]);
4d868c32d79177a96cd24a74194ae8c5c646d83887190bbbfabd3627d7b6f0db
MATLAB
127
13
%% check_bezahlt %% test 1 %% test 2 tprint ('./panels/_tree1', ... '-jpg -HR', [10 10]);
5235753d97588ad2dc83182efad1cd9ccc93eda46d07b3ef0f0ed78d4d67f5ce
MATLAB
127
13
%% check_pov_tree %% test 1 %% test 2 tprint ('./panels/_tree1', ... '-jpg -HR', [10 10]);
71bd3d62426c891fbb3db64e8aac966bc8ff8a726369ed90f6c23dcde412e778
MATLAB
127
13
%% check_ver_tree %% test 1 %% test 2 tprint ('./panels/_tree1', ... '-jpg -HR', [10 10]);
8b23f03dd89f313d5dadc746bae33b146c8d54a562058a0332901971192f52b1
MATLAB
127
13
%% check_x3d_tree %% test 1 %% test 2 tprint ('./panels/_tree1', ... '-jpg -HR', [10 10]);
cc61fe31c716fd4370aba6c5ad02b7b9755615280ca2e429ad39a1ca757e19d2
MATLAB
127
13
%% check_rad2deg %% test 1 %% test 2 tprint ('./panels/_tree1', ... '-jpg -HR', [10 10]);
f033d5c16bd77f513ad7c2b93d36f1b1c5f6332d6f3597137b1edbf1f920012b
MATLAB
127
13
%% check_swc_tree %% test 1 %% test 2 tprint ('./panels/_tree1', ... '-jpg -HR', [10 10]);
f0a83520332af79e35ce1c5b473d60adffbc85d2458ab357a6ea4b690bcda608
MATLAB
127
13
%% check_deg2rad %% test 1 %% test 2 tprint ('./panels/_tree1', ... '-jpg -HR', [10 10]);
f2edd383599e656f6e943f0da2684fdf963072e5d18917085362420e63cdb064
MATLAB
127
13
%% check_eucdist %% test 1 %% test 2 tprint ('./panels/_tree1', ... '-jpg -HR', [10 10]);
78b8d7b53522c18f26208c72a3e61e87dd96f225a7b564545bad3f2ec452dc25
MATLAB
128
13
%% check_tran_tree %% test 1 %% test 2 tprint ('./panels/_tree1', ... '-jpg -HR', [10 10]);
7c3f17a58a46e91ff0891b253bd15d128e4398c0c1bf6e55f00144ee48a1a479
MATLAB
128
13
%% check_gifmaker %% test 1 %% test 2 tprint ('./panels/_tree1', ... '-jpg -HR', [10 10]);
8b2606d048dacb923c6ec4f005df1d80a6dfbd80ab8506a9a678a4dc0efd9369
MATLAB
128
13
%% check_hsn_tree %% test 1 %% test 2 tprint ('./panels/_tree1', ... '-jpg -HR', [10 10]);
976b903a912d062b70d7f8100bee20f0c4448a56b8526aeb2bafa62d9d02e4ca
MATLAB
128
13
%% check_save_tree %% test 1 %% test 2 tprint ('./panels/_tree1', ... '-jpg -HR', [10 10]);
97876f0aaa22168284c0b33d92999fe9166c304c1d5f577d0b7b85e4e2e513e0
MATLAB
128
13
%% check_scalebar %% test 1 %% test 2 tprint ('./panels/_tree1', ... '-jpg -HR', [10 10]);
c1339ba2c4aade6179294e300f763c71ca9c153d9a9ca4eb242959402e279b3d
MATLAB
128
13
%% check_hss_tree %% test 1 %% test 2 tprint ('./panels/_tree1', ... '-jpg -HR', [10 10]);
11b3414ebf3320b94059565e51bbb1b3af269ec7b5424e2ae2cee47763d8a705
MATLAB
129
13
%% check_save_stack %% test 1 %% test 2 tprint ('./panels/_tree1', ... '-jpg -HR', [10 10]);
49c7752466e4d75e06ff2d5a906b876efc2dc279d86fc2fbb90fede45b27f3eb
MATLAB
129
13
%% check_stats_tree %% test 1 %% test 2 tprint ('./panels/_tree1', ... '-jpg -HR', [10 10]);
4dcfde35298315911b9504e9056cfb499f3039b98fcac4e66af6a91ac952bfe0
MATLAB
129
13
%% check_sholl_tree %% test 1 %% test 2 tprint ('./panels/_tree1', ... '-jpg -HR', [10 10]);
5a5654a3e86163c8a676f88ea2b946ded048e4f29a0d3214aa654dd33fe44c3a
MATLAB
129
4
function MRSIStruct = setData(MRSIStruct, data) MRSIStruct.data = data; MRSIStruct = setSize(MRSIStruct, size(data)); end
79374687062179cdc022afabb89b6f8d4d52f0e5fcbcc539ba016675ea369e3e
MATLAB
129
13
%% check_zcorr_tree %% test 1 %% test 2 tprint ('./panels/_tree1', ... '-jpg -HR', [10 10]);
85884e3502e50b297f273e2b5f939e737f172de61caa04d8a01b48fefe1bca08
MATLAB
129
13
%% check_show_stack %% test 1 %% test 2 tprint ('./panels/_tree1', ... '-jpg -HR', [10 10]);
fc17effe2da28718378c4e8956452da56eb97f71f3c43c356a3461c294d4e50e
MATLAB
129
13
%% check_skel_stack %% test 1 %% test 2 tprint ('./panels/_tree1', ... '-jpg -HR', [10 10]);
fc29065c753d0616197bd28bea588f8e00bd717bf69531376034b4ef2b41294e
MATLAB
129
13
%% check_roundshow %% test 1 %% test 2 tprint ('./panels/_tree1', ... '-jpg -HR', [10 10]);
82342aba0ea1f106a32f428090d8d6d6c5f83c9d81c6faefa81599d36a786d97
MATLAB
130
13
%% check_neuron_tree %% test 1 %% test 2 tprint ('./panels/_tree1', ... '-jpg -HR', [10 10]);
a185b83ce1b24874788207028a2bb5d570e8129dc0ed4bf00a971eab71bd19e7
MATLAB
130
13
%% check_dstats_tree %% test 1 %% test 2 tprint ('./panels/_tree1', ... '-jpg -HR', [10 10]);
6918baf54687b09642b9a40d347f968f3dd9370b85d4129c829b57bbfc13c763
MATLAB
131
13
%% check_sample_tree %% test 1 %% test 2 tprint ('./panels/_tree1', ... '-jpg -HR', [10 10]);
7ad59609cf2f5f5163d4f9f65f9717a9ff362fa26ec8d5ee828536f48ec14da7
MATLAB
131
13
%% check_imload_stack %% test 1 %% test 2 tprint ('./panels/_tree1', ... '-jpg -HR', [10 10]);
b8c89d1367841d1bee309a9897ceb60ffea6adac78b8d194f5429a4d455e3941
MATLAB
132
13
%% check_sample2_tree %% test 1 %% test 2 tprint ('./panels/_tree1', ... '-jpg -HR', [10 10]);
e9e8094906a5e2a5e6f0a29aab4253a7ddde6c51399bd6c3d668f0b38d8e46a9
MATLAB
132
13
%% check_neuroml_tree %% test 1 %% test 2 tprint ('./panels/_tree1', ... '-jpg -HR', [10 10]);
f7d5edfbc82290a10091acbc3bc97ca80d8eae6e05c5447484d534e8fab2c65e
MATLAB
132
13
%% check_loaddir_stack %% test 1 %% test 2 tprint ('./panels/_tree1', ... '-jpg -HR', [10 10]);
95fb9707d9f94873b670cd6c1ca1bca1137f3a178b1ea07b6a909de5e7784aae
MATLAB
133
4
function frequency = getHzFromPPM(shifts, b0) gamma = getGamma("overTwoPi", true); frequency = shifts * gamma * b0 / 1e6; end
bd762eb2c37848db7efbe4892b62b46e8546196f91ede1a3934d82384c0dc56d
MATLAB
134
1
function ang=pix2angle(display,n) %PIX2ANGLE %ang=pix2angle(display,n) ang=2*180*atan(display.pixelSize*(n/2)/display.distance)/pi;
b0d39ff6a46942160db768ec7d68ecd31ecf58cdd43b67a30d1ea345d130b9df
MATLAB
135
13
%% check_neurolucida_tree %% test 1 %% test 2 tprint ('./panels/_tree1', ... '-jpg -HR', [10 10]);
d28c0a08ac6fab716ddc482c510b37f3d16f0ab0678dc954303dd86b3d08a8e0
MATLAB
135
13
%% check_rotation_matrix %% test 1 %% test 2 tprint ('./panels/_tree1', ... '-jpg -HR', [10 10]);
3341d530c3f6a204e4da3c73eda41ee7c02d19498754857beb916adb0c830675
MATLAB
137
3
function MRSIStruct = setSpectralDwellTime(MRSIStruct, newSpectralDwellTime) MRSIStruct.spectralDwellTime = newSpectralDwellTime; end
cd222308b3ca5ff43a1bcda61d8223637824b4831227c9a993351000e5911def
MATLAB
139
13
%% check_neuron_template_tree %% test 1 %% test 2 tprint ('./panels/_tree1', ... '-jpg -HR', [10 10]);
2856ddd52e2b7b936b88c37a2d3174b437beabc236e8ed762d0e7cf6c1a385d6
MATLAB
143
8
function s = shrinkageOp(z,lmbd) %% Author: % Vivek Boominathan % Rice University % vivekb@rice.edu %% s = max(abs(z)-lmbd,0).*sign(z);
396216c925ffa873a0373ef3d5c086eca5d26d6217ae7338af3cf229cf7f40e4
MATLAB
144
6
function [transformed_data] = stabiliser(data,reference) transformed_data=inv(sqrtm(reference))*data*inv(sqrtm(reference))'; end
9a1a2955bfe71e20abf54fceb51d582c5b58c1a9a812159961517753ba13995b
MATLAB
145
4
function X = naninterp(X) % Interpolate over NaNs X(isnan(X)) = interp1(find(~isnan(X)), X(~isnan(X)), find(isnan(X)), 'pchip'); %cubic return
b4c3fe3422e22e128ba12f3e6b6951acfab3140a3a21d233cfcfd9c51e280465
MATLAB
145
6
function testCB(x, type) %TESTCB Summary of this function goes here % Detailed explanation goes here disp([upper(type) ': ' num2str(x)]); end
579fb0606829922dccf22b65c25a8ba640199612ea4b397e42508a0c15a4491e
MATLAB
149
4
function oris = idx2ori(stimIdxs, orientations) % can include nans, just has to be the same length oris = arrayfun(@(x) orientations(x), stimIdxs);
4172ce5f9060ae970903b1693d4f1e513038564f38addeef5f4f1d5bc0f1e33b
MATLAB
150
8
function ste = ste(dat) % function ste = ste(dat) for i= 1:size(dat,2) ste(i) = nanstd(dat(:,i))/ sqrt(sum(~isnan(dat(:,i)))); end return
9d328c5f55f4753beb46300c31b58b60e43557be18605efa0e0f284ab9db13ca
MATLAB
150
4
function result = isrowvector(obj) import zapit.yaml.*; result = isvector(obj) && size(obj,1) == 1 && size(obj,2) > 1 && ndims(obj) == 2; end
ce93fd9765f64c32de94056a75f497a8ddfdde3efe663bc5b271869d78d37e17
MATLAB
153
4
function result = iscolumnvector(obj) import zapit.yaml.*; result = isvector(obj) && size(obj,2) == 1 && size(obj,1) > 1 && ndims(obj) == 2; end
8cb99979e4ebeedc1ca51188fc17601af4abb87480a5c62957d5da5e6395c333
MATLAB
158
6
function dbpath = getIAPS % dbpath = getIAPS dbpath = '//Users/danbang/Dropbox/ego/Matlab/ucl/fbri_dbs_econ/Scripts/UG_MSSM_HvsC/Repository/'; end
63cb55995135f235c50406be47a2655db454cfc43c9cb8ec4ba353541a43ffb8
MATLAB
160
8
function varexp = calculateR2(raw,prediction) res = raw' - prediction'; res_var = sum(res .^ 2) ./ sum((raw' - mean(raw')) .^ 2); varexp = 1 - res_var; end
f74aaf89348d14f744146e62b27e3d04eb46dc50e5507c61f76492733c4e5f87
MATLAB
160
10
%% Acknowledgements % % The contents of the file ACKNOWLEDGEMENTS.txt is listed below. % % <include>ACKNOWLEDGEMENTS.txt</include> % %% % % <./index.html Home>
ac37a913658ff37608dac01cb0d9e554cc02da48892af43fd1160eab30f22653
MATLAB
161
10
function [Ang] = LoadAng(FileName); Fp = fopen(FileName, 'r'); if Fp==-1 error(['Could not open file ' FileName]); end Ang = fscanf(Fp, '%f'); fclose(Fp);
7a3d6d944dabae3e4b3a9727be29c5c3af6e9b27d7cfa9b290bf0243a8249099
MATLAB
162
10
%% check_stacks check_fitD_stack check_imload_stack check_load_stack check_loaddir_stack check_loadtifs_stack check_save_stack check_show_stack check_skel_stack