plateform
stringclasses
1 value
repo_name
stringlengths
13
113
name
stringlengths
3
74
ext
stringclasses
1 value
path
stringlengths
12
229
size
int64
23
843k
source_encoding
stringclasses
9 values
md5
stringlengths
32
32
text
stringlengths
23
843k
github
PavelTrutman/FocalNet-master
ddg.m
.m
FocalNet-master/deepag/bin/lib/utils/ddg.m
1,071
utf_8
5fe44ee27029e0a04af9d9410117cf3f
%DDG Pajdla: Convolves 1-D signal with the 2nd derivative of a gaussian % % function [ddsignal,filter]=ddg(signal,s) % % signal = input signal % s = sigma % ddsignal= output signal % filter = sampled filter % % See also: CONV, CONV2. % Author: Tomas Pajdla, Tomas.Pajdla@esat.kuleuven.ac.be ...
github
PavelTrutman/FocalNet-master
ltdetect.m
.m
FocalNet-master/deepag/bin/lib/utils/ltdetect.m
9,074
utf_8
340bba272517bdc8de8c83656cab4165
%ltdetect - Laser trace subpixel detection (columnwise). % % function [sx,ix,nx] = ltdetect(im,par,iv,xs) % % im = image % par = [bt dbt dp df fi] % % bt = belief threshold, only maximas > bt are valid % if bt<0, returns all ignoring all other conditions % dbt = minimal difference ...
github
PavelTrutman/FocalNet-master
e2sval.m
.m
FocalNet-master/deepag/bin/lib/utils/e2sval.m
521
utf_8
e1de3f4df88a8973440d302da004f983
% a = e2sval(E) - Edge list E to symmetric vertex adjacency list % % E = n x 2 matrix [[v1,v2], ...] with vertice v1, v2 % a = {[v1 v2 v3 ...], ...} cellaray of lists of sjacent vertices % 2015-09-06 pajdla@cmp.felk.cvut.cz function a = e2sval(E) E = unique(E,'rows','sorted'); % remove multiplicities and so...
github
PavelTrutman/FocalNet-master
thrgui.m
.m
FocalNet-master/deepag/bin/lib/utils/thrgui.m
2,180
utf_8
2a878ad35c6ff4c76d3ee26dc377e912
% thrgui(t) - Thresholding GUI % % Assumes a figure with an image. Modifies colormap set to 256 levels % between the minimal and maximal intensities. % % Uparrow ... threshold = threshold + 1 % Downrrow ... threshold = threshold + 1 % Ctrl+ ... 10 * increment % T. Pajdla, pajdla@neovision.cz % 18 May ...
github
PavelTrutman/FocalNet-master
digiplot.m
.m
FocalNet-master/deepag/bin/lib/utils/digiplot.m
1,231
utf_8
7ec9591a4c7b50cea33e813623a96316
%DIGIPLOT Pajdla: Plots binary digital signal stored in matrix columns % % % function [psig,f]=digiplot(dsig,plotstr) % % dsig = binary digitaal signal stored on matrix columns % plotstr = plot string, see PLOT % % See also: PLOT, ROLLPLOT, GEC2BIN, BIN2DEC. % Author: Tomas Pajdla, Tomas.Pajdla@esa...
github
PavelTrutman/FocalNet-master
plot3d.m
.m
FocalNet-master/deepag/bin/lib/utils/plot3d.m
469
utf_8
f603a03963ef6e951148e26166880fc7
%h = plot3d(X,pars) - single matrix 3 x N plot in 3D % % X ... single matrix 3 x N % pars ... other plot3 pars % % See also PLOT3 % (c) T.Pajdla, pajdla@cmp.felk.cvut.cz % 5 May 2008 function h = plot3d(varargin) X = varargin{1}; if size(X,1)==3 h0 = plot3(X(1,:),X(2,:),X(3,:),varargin{2:end}); else...
github
PavelTrutman/FocalNet-master
gausmix.m
.m
FocalNet-master/deepag/bin/lib/utils/gausmix.m
1,165
utf_8
368343003ff64658dac5e15bf640b4d6
%GAUSMIX Pajdla: Creates a vector of samples from a gaussian PDF mixure % % % function r = gausmix(len,X,S,noiseS) % % len = length of the row % X = vector of mean values for G. PDF % S = vector of sigma for G. PDF % noiseS = sigma for bacgroung Gaussian noise % additive noise % % The vector is construct...
github
PavelTrutman/FocalNet-master
imgprfil.m
.m
FocalNet-master/deepag/bin/lib/utils/imgprfil.m
1,446
utf_8
010587ae3c6753779355ed49a566d1e9
%IMGPRFIL Pajdla: Shows horizontal and vertical profiles in an image % % function imgprfil(m,f1) % % m = image matrix % f1 = figure with the image displayed % % See also: RCPROFIL. % Author: Tomas Pajdla, Tomas.Pajdla@esat.kuleuven.ac.be % pajdla@vision.felk.cvut.cz % 04/15/95 ESAT-MI2...
github
PavelTrutman/FocalNet-master
e2gam.m
.m
FocalNet-master/deepag/bin/lib/utils/e2gam.m
482
utf_8
60975978afbeb9e07ec6fc8546039198
% A = E2gAM(E) - Edge list E to graph non-symmetric adjacency matrix A % % E = n x 2(3) matrix [[v1,v2,w12], ...] with vertice v1, v2 and weight w12 % wij are set to one for n x 2 matrix % 2015-09-06 pajdla@cmp.felk.cvut.cz function A = e2gam(E) if size(E,2)<3 E(:,3) = ones(size(E,1),1); end n = ma...
github
PavelTrutman/FocalNet-master
valfind.m
.m
FocalNet-master/deepag/bin/lib/utils/valfind.m
376
utf_8
c0cfa7e51f9f5833025c1af93d9d5ece
% ix = valfind(v,x) find posiiton index of occurences of elements of v in x % v ... a vector of n values % x ... a vector of m values % ix ... {[i,j],{k},} n cells, ix{i} are positions of v(1) in x % Tomas Pajdla (pajdla@ciirc.cvut.cz) % 2013-11-01 function ix = valfind(v,x) ix = cell(1,numel(v)); for i=1...
github
PavelTrutman/FocalNet-master
adprintf.m
.m
FocalNet-master/deepag/bin/lib/utils/adprintf.m
208
utf_8
407196657a3d984742fc1c7a577650d6
% S = adprintf(S,s) - fprintf s and append to celarray S % % S = cellarray of strings % s = string % 2015-08-23 pajdla@cmp.felk.cvut.cz function S = adprintf(S,s) fprintf(s); S{end+1}=s; drawnow;
github
PavelTrutman/FocalNet-master
imaqplot.m
.m
FocalNet-master/deepag/bin/lib/utils/imaqplot.m
4,325
utf_8
6d44b38f677d2093f7e45bf080513d4b
function imagehandle = imaqplot(obj, event, himage) %IMAQPLOT Create and update an image acquisition plot display. % % IMAQPLOT(OBJ, EVENT) creates and updates a live image % acquisition plot display using video input object OBJ. EVENT is used % to allow IMAQPLOT to be used as a function handle callbac...
github
PavelTrutman/FocalNet-master
colorlist.m
.m
FocalNet-master/deepag/bin/lib/utils/colorlist.m
1,160
utf_8
dbb19d3193d6721c76145d3fcff15f38
% c = colorlist(t,i) - colors for plotting % % t = type of output % 'txt' ... c ={'r','g',...} (missing) % 'rgb' ... c ={[0 0 1],...} % 'rnd' ... c ={[. . .],...} of 64 same randomly chosen colors % i = index color modulo the color size % number ... returns color % vector ... returns cell ar...
github
PavelTrutman/FocalNet-master
WorkerObjWrapper.m
.m
FocalNet-master/deepag/bin/lib/utils/WorkerObjWrapper.m
7,904
utf_8
99dcc0157911f73b6393ddea077c52bb
% WorkerObjWrapper - manage persistent state on MATLABPOOL workers % % The WorkerObjWrapper is designed for situations where a piece of data is % needed multiple times inside the body of a PARFOR loop or an SPMD block, and % this piece of data is both expensive to create, and does not need to be % re-created multiple t...
github
PavelTrutman/FocalNet-master
refprintf.m
.m
FocalNet-master/deepag/bin/lib/utils/refprintf.m
632
utf_8
eaefb7c786459756c0fae93be01b26f5
% nbytes = refprintf(vargin) - rewrite fprintf over % % varargin, nbytes ... nbytes = fprintf(varargin) % 2015-05-10 pajdla@cmp.felk.cvut.cz function nbytes = refprintf(varargin) switch nargin case 1 fprintf(repmat('\b',1,length(varargin{1}))); if nargout>0 nbytes = fprintf(...
github
PavelTrutman/FocalNet-master
rmprintf.m
.m
FocalNet-master/deepag/bin/lib/utils/rmprintf.m
319
utf_8
0f8721487f561fc46d7a2795998451c1
% S = rmprintf(S) - delete last string in celarray S from stdout % % S = cellarray of strings % 2015-08-23 pajdla@cmp.felk.cvut.cz function S = rmprintf(S) if numel(S)>0 fprintf(repmat('\b',1,length(sprintf(S{end})))); if numel(S)>1 S = S(1:end-1); else S = {}; end end
github
PavelTrutman/FocalNet-master
cgplot.m
.m
FocalNet-master/deepag/bin/lib/utils/cgplot.m
761
utf_8
cb01402c17a0bc89bec2c0e113730b34
% [h,X] = cgplot(A[,X,lc,lb]) - gplot with vertices X or uniformly dostributed on a unit circle % % A = n x n graph adjacency matrix or 2 x m edges of the graph % X = 2(s) x n coordinates of vertices (on circle if missing) % lc = {line color, line style}, {'b','-'} if missing % lb = vertex labels % h = handles re...
github
PavelTrutman/FocalNet-master
chrfill.m
.m
FocalNet-master/deepag/bin/lib/utils/chrfill.m
689
utf_8
9c20227893d2b316d44e5a972bb6c48d
%CHRFILL Pajdla: Creates and fills the matrix with a given character % % % function cm = chrfill(siz,ch) % % siz = 1 x 2 size matrix % ch = chracter or an integer % cm = string matrix of size "siz" % % See also ABS, SETSTR, REPLICA. % Author: Tomas Pajdla, Tomas.Pajdla@esat.kuleuven.ac.be ...
github
PavelTrutman/FocalNet-master
sec2hms.m
.m
FocalNet-master/deepag/bin/lib/utils/sec2hms.m
252
utf_8
ef305e0feb4dc6baaa1b8e0338114653
% hms = sec2hms(s) - seconds s to 'h/m/s' string hms % 2015-05-10 pajdla@cmp.felk.cvut.cz function hms = sec2hms(s) s = round(s); h = fix(s/3600); s = rem(s,3600); m = fix(s/60); s = rem(s,60); hms = sprintf('%02d h %02d m %02d s',h,m,s);
github
PavelTrutman/FocalNet-master
cmcgrad.m
.m
FocalNet-master/deepag/bin/lib/utils/cmcgrad.m
569
utf_8
f376716904644de021c470f3fa4f40a2
% g = cmcgrad(imx,diffMask) % % Gradient for camcheck % % See CAMCHECK % T. Pajdla, pajdla@neovision.cz % 30 Dec 2006 function g = cmcgrad(imx,diffMask) % border size s = floor(length(diffMask)/2); % gradient magnitude g = sqrt(conv2(imx,diffMask,'same').^2 + conv2(imx,diffMask','same').^2)/(sum(abs(...
github
PavelTrutman/FocalNet-master
polylinx.m
.m
FocalNet-master/deepag/bin/lib/utils/polylinx.m
7,469
utf_8
025dfc915dabb1bd22c7ca4499d897f7
%polylinx - Pajdla: Coordinates of points sampled from a polyline % % function x = polylinx(v,d,m) % % v = [ [x y ... z , w ]' ; ...] , size(v)=[k+1 n], % [k-dim vertex , validity ]' ; ...] % w = 1 ... valid % 0 ... invalid % % On...
github
PavelTrutman/FocalNet-master
ridx.m
.m
FocalNet-master/deepag/bin/lib/utils/ridx.m
775
utf_8
26c3e02e5e6bda777013876c642cbd2b
%RIDX Pajdla: Non-integer reindexing % % function oidx = ridx(I,i) % % I = m x 2 matrix ~ [ii oi ; ...] % i = input index % oidx = oi(closest(i,ii)) % % See also: VIDX,MATIMAT. % Author: Tomas Pajdla, Tomas.Pajdla@esat.kuleuven.ac.be % pajdla@vision.felk.cvut.cz % 02/06/95 ESAT-...
github
PavelTrutman/FocalNet-master
plottab.m
.m
FocalNet-master/deepag/bin/lib/utils/plottab.m
3,298
utf_8
28e08499116c9e63949445dc61558420
%PLOTTAB Pajdla: Plots values from a matrix into a rectangular table % % % function f = plottab(a,rLabel,cLabel,hLabel,format,fontSize) % % a = matrix to be plotted % rLabel = matrix of strings to label rows of the table, % default = ' ' % cLabel = matrix of strings to label columns of the table, i ...
github
PavelTrutman/FocalNet-master
e3fit.m
.m
FocalNet-master/deepag/bin/lib/utils/e3fit.m
5,462
utf_8
b272a4ec5d257050eb56caa9b62f49f0
%E3FIT Pajdla: Finds E(3) transformation minimizing LMSq/LSQ distance between two data sets % % % function [E,Ve,rW,res,rs,rres,dX] = e3fit(X1,X2,W,mode,par) % % X1,X2 = two registered cloud of 3-D points, one point ~ one row % W = a vector of weights, if missingt, ones are used % mode = 0 or missi...
github
PavelTrutman/FocalNet-master
strsplit.m
.m
FocalNet-master/deepag/bin/lib/utils/strsplit.m
291
utf_8
cb2d813d07806d01a8d0cb6eedb5233b
% sp = strsplit(s,d) - split a string into substrings delimited by d % % s ... a string % d ... a delimitor see strtok % sp ... a cell array of substrings function sp = strsplit(s,d) for i=1:length(s) [si, s] = strtok(s,d); if isempty(si), break; end sp{i} = si; end
github
PavelTrutman/FocalNet-master
trandn.m
.m
FocalNet-master/deepag/bin/lib/utils/trandn.m
894
utf_8
376165a0bcb9f57d687f0729a1aa91ad
% v = trandn(sz,sigma,min,max[,nit]) - truncated randn generator such that min <= c <= max % % sz = array of sizes passed to randn(size) % sigma = sigma used as sigma*randn(size) % min, max = truncation limits % nit = number of itterations % v = random number matrix of size sz % (c) T.Pa...
github
PavelTrutman/FocalNet-master
sdiv.m
.m
FocalNet-master/deepag/bin/lib/utils/sdiv.m
614
utf_8
251af3e3170f3c5f740b67ecb43f20e1
%SDIV Pajdla: Element-wise division with 1/0 replaced by 0 % % function d = sdiv(x,y) % % d = x ./ y <=> y != 0 % = 0 otherwise % % See also ./ % Author: Tomas Pajdla, Tomas.Pajdla@esat.kuleuven.ac.be % pajdla@vision.felk.cvut.cz % 04/09/94 ESAT-MI2, KU Leuven ...
github
PavelTrutman/FocalNet-master
vec2lbls.m
.m
FocalNet-master/deepag/bin/lib/utils/vec2lbls.m
1,580
utf_8
c6d579f8074eed14a8f21468d25aad9c
%VEC2LBLS Pajdla: Converts vector elements into a string matrix % % % function lbl = vec2lbls(vec,format) % % vec = vector of numbers ( integers ) % lbl = matrix having strings of the same length stored in rows. % It can be combined with the imgtext(_,_,lbl) to label % pixels in an ima...
github
PavelTrutman/FocalNet-master
dtctspot-v1.m
.m
FocalNet-master/deepag/bin/lib/utils/dtctspot-v1.m
4,553
utf_8
c19b0a702e98280f8bc28327d2c1cbd1
% [iml,l,imt] = dtctspot(im,decim,dthrprc,minR,maxR,dThr,doShow) - detect bright spots % % im ... m x n x 1 image % decim ... 1:decim:end image decimation % dthrprc... thereshold 0<1 ... percentile % >=1 ... absolute value % minR ... bright center outer radius % maxR ... dark p...
github
PavelTrutman/FocalNet-master
sampleq.m
.m
FocalNet-master/deepag/bin/lib/utils/sampleq.m
710
utf_8
854abd1f13d95599bb9619bd0f72544a
% x = sampleq(q[,N]) - sample conic q % % q ... 3x3 conic % N ... number of points on the conic (100 inplicit) % x ... 3xN points on the conic (homogneous coords, % use h2a to get affine coords) % = [] if no real points % (c) T.Pajdla, www.neovision.cz, Oct 25, 2004 function [x,e,V] = sampl...
github
PavelTrutman/FocalNet-master
cellfunuo.m
.m
FocalNet-master/deepag/bin/lib/utils/cellfunuo.m
289
utf_8
c7ce9be358cd4703596d50fa3c10ed7c
% o = cellfunuo(varargin) => o = cellfun(varargin,'UniformOutput',false) % % @f = reference to a function f % c = cell % o = cellfun(varargin,'UniformOutput',false) % pajdla@cvut.cz, 2016-04-22 function o = cellfunuo(varargin) o = cellfun(varargin{:},'UniformOutput',false);
github
PavelTrutman/FocalNet-master
robustgfit.m
.m
FocalNet-master/deepag/bin/lib/utils/robustgfit.m
1,620
utf_8
1aa9f7169d1e8d76c62700f8fdc129a7
% [m,s,d,j] = robustgfit(t,x,n,mi,si,tol,sim) - Robust Guassian distribution fit % % t ... samples % x ... abscisa % n ... frequencies % mi ... initial mean % si ... imitial std % tol ... tolerance (to multiply s) % sim ... {'Likelihood','DistrDiff'} % m ... mean % s ... sigma %...
github
PavelTrutman/FocalNet-master
detsum.m
.m
FocalNet-master/deepag/bin/lib/utils/detsum.m
1,954
utf_8
70e92a0698162d51bae738e577bc8598
%function [d,m] = detsum(a,A) - determinant of a matrix pencil % % a ... pencil variables a(i) = 0 ... free variable % a(i) =\= 0 ... a(i) evaluated % A(:,:,i) ... matrices of the pencil % d ... coefficients of the polynomial det(sum_i a(i)*A(:,:,i)) % with monomials of free variab...
github
PavelTrutman/FocalNet-master
str2ix.m
.m
FocalNet-master/deepag/bin/lib/utils/str2ix.m
290
utf_8
04e29bc11bc4a3d3721ad6477f676a81
% function i = str2ix(c,s) - index of string occurences in a celarray % c = celarray of strings % s = celarray of strings % i = celarray of indices of occurences of elements of s in c function i = str2ix(c,s) for j=1:length(s) i{j} = find(~cellfun(@isempty,strfind(c,s{j}))); end
github
PavelTrutman/FocalNet-master
plotline.m
.m
FocalNet-master/deepag/bin/lib/utils/plotline.m
2,356
utf_8
efe8ffef8dfbb8a2d4aa77a144add48e
% h = plotline(l[,rect]) - Line plotting clipped by a rectangle % % l ... 3 x n line vectors % rect ... clipping rectangle [minx maxx miny maxy] % obtained from axis if missing, uses the first two coordinates % h ... line hadles % % See also LINE, AXIS % (c) T.Pajdla, www.ne...
github
PavelTrutman/FocalNet-master
cellfoldl.m
.m
FocalNet-master/deepag/bin/lib/utils/cellfoldl.m
448
utf_8
5e4508362183789d5579ad467676e703
% o = cellfoldl(@f,c) - f(c{1}, ... f(c{end-2},f(c{end-1},c{end}))) % % @f = reference to a function f % c = cell with at least 2 elements % o = f(c{1}, ... f(c{end-2},f(c{end-1},c{end}))) (by reccurent calls) % pajdla@cmp.felk.cvut.cz, 2015-05-08 function o = cellfoldl(f,c) if numel(c)==2 o = f(c{1},...
github
PavelTrutman/FocalNet-master
imagescrgb.m
.m
FocalNet-master/deepag/bin/lib/utils/imagescrgb.m
249
utf_8
9bfef1158f4076fe49abd1e85d1cc34f
% h = imagescrgb(im) - Imagesc for RGB image % % im ... image % h ... handle to image object % (c) T.Pajdla % Aug 9, 2004 function h = imagescrgb(im) im = double(im); im = im - min(im(:)); im = im / max(im(:)); h = imagesc(im);
github
PavelTrutman/FocalNet-master
corton.m
.m
FocalNet-master/deepag/bin/lib/utils/corton.m
1,461
utf_8
2298c1d3197fce7e6e845abe7045351b
%CORTON Pajdla: Closest ortonormal matrix with one defined row % % function [S,fe] = corton(R,n) % % R = 3-D rotation matrix % n = 3-D vector % S = rotation matrix, S = [s1 s2 n] % norm(R(:,1:2)-S(:,1:2),'frobenius') -> min for all S \in SO(3) % fe = frobenius...
github
PavelTrutman/FocalNet-master
gsam2e.m
.m
FocalNet-master/deepag/bin/lib/utils/gsam2e.m
169
utf_8
bcf482683894d0faf0fdb42dd30689b6
% E = gSAM2E(A) - Graph symmetric adjacency matrix A to edge list E % 2015-05-10 pajdla@cmp.felk.cvut.cz function E = gSAM2E(A) [i,j] = find(triu(A)); E = [i j];
github
PavelTrutman/FocalNet-master
imslider.m
.m
FocalNet-master/deepag/bin/lib/utils/imslider.m
1,049
utf_8
21fd8fa0802fe9eca0895a106cbfeca7
% imslider(im,lbl,n) - image slider % % im = {} of images % lbl = {} of text labels to be ploted under images, can be omitted or [] % n = the number of visible images, default = 3 % T. Pajdla, pajdla@cmp.felk.cvut.cz % 3 Nov 2009 function imslider(im,lbl,n) if nargin<3 n=3; end if nargin<2 || ise...
github
PavelTrutman/FocalNet-master
geplot.m
.m
FocalNet-master/deepag/bin/lib/utils/geplot.m
1,875
utf_8
b3a89b7e6b5ede2e49506b541bca8dae
% geplot(A[,X,L,opt])- plot a graph % % A = n x n edge weight matrix, i.e. A(i,j) = weight of edge i-j % X = 2(3) x n vertex coordinates, regular n-gon if =[] or missing % L = labels matrix of strings or a vector of numbers, can be omited % opt = string of vertex plot options % T. Pajdla, pajdla@cmp.felk.cvut....
github
PavelTrutman/FocalNet-master
replica.m
.m
FocalNet-master/deepag/bin/lib/utils/replica.m
669
utf_8
acb57e0faeda4f02d4d7f9332113d0c4
%REPLICA Pajdla: Replicates a matrix according to the pattern % % % function rv = replica(v,p) % % v = input matrix % p = replication pattern matrix % rv = replicated matrix % % See also: KRON, CHRFILL. % Author: Tomas Pajdla, Tomas.Pajdla@esat.kuleuven.ac.be % pajdla@vision.fel...
github
PavelTrutman/FocalNet-master
line3d.m
.m
FocalNet-master/deepag/bin/lib/utils/line3d.m
609
utf_8
6fcd856f9fc436a594ea582706bdbe76
%h = line3d(X,L,pars) - single matrix 3 x N line plot in 3D % % X ... single matrix 3 x N % L ... 2 x M indices of lines [[start1; end1], ...] into X % % See also LINE % pajdla@cmp.felk.cvut.cz, 2015-09-26 function h = line3d(varargin) X = varargin{1}; L = varargin{2}; if size(X,1)==3 h0 = lin...
github
PavelTrutman/FocalNet-master
shape2d.m
.m
FocalNet-master/deepag/bin/lib/utils/shape2d.m
1,350
utf_8
4193cf9cb5851f84ef36530cff368b86
%SHAPE2D Pajdla: Computes a shape from unorganized points in 2D % % function e = shape2d(x) % % x = coordinates of vertices of triangulation [x1,y1 ; x2,y2 ; ...] % e = edges ~ pairs of indices into x % % See also: DEALUNAY % Author: ...
github
PavelTrutman/FocalNet-master
chi2cmp.m
.m
FocalNet-master/deepag/bin/lib/utils/chi2cmp.m
2,062
utf_8
4c94913f03ef6d9f6e53f8e32b6585c5
%CHI2CMP Pajdla: Compares a distribution of squared residuals with a chi2 distribution % % function chi2cmp(res2,ni) % % res = column vector of squared residuals res2 = res.^2 % ni = degrres of freedom for chi^2 distribution % % See also: CHI2RND, QQPLOT, CUMHIST. % Author: Tomas Pajdla, Tomas.Pajdl...
github
PavelTrutman/FocalNet-master
subscreen.m
.m
FocalNet-master/deepag/bin/lib/utils/subscreen.m
626
utf_8
60abb84c743f3766dc3a6bbd6395e3ff
% i = subscreen(r,c,rs,cs,is) - subfig helper: index i into r x c screen from index is into rs([1 2]) x cs([1 2]) subscreen range % pajdla@cmp.felj.cvut.cz 2015-09-16 function i = subscreen(r,c,rs,cs,is) if ~all(rs>0 & rs<=r) || ~all(cs>0 & cs<=c), error('rs, cs out of range'); end sz = [diff(rs)+1 diff(cs)+1];...
github
PavelTrutman/FocalNet-master
gesymix.m
.m
FocalNet-master/deepag/bin/lib/utils/gesymix.m
571
utf_8
9984befc525d81ee727a9d9fd5dbe20b
% i = gesymix(e) - Match symetric edges of a graph % % e = edges - n x 2 matrix of vertex numbers % i = n x 2 index = [i1 i2] such that e(i1,[1 2]) = e(i2,[2 1]), sorted lex i(1)>i(2) % 2015-08-16 pajdla@cmp.felk.cvut.cz function ix = gesymix(e) s = max(e(:))*[1 1]; % size of the adjacency matrix i1 = sub2in...
github
PavelTrutman/FocalNet-master
gpos.m
.m
FocalNet-master/deepag/bin/lib/utils/gpos.m
6,775
utf_8
0d1e959038487d1eca2ae24e30d2298b
function [out1,out2,out3] = ginput(arg1) %GINPUT Graphical input from mouse. % [X,Y] = GINPUT(N) gets N points from the current axes and returns % the X- and Y-coordinates in length N vectors X and Y. The cursor % can be positioned using a mouse. Data points are entered by pressing % a mouse button or any k...
github
PavelTrutman/FocalNet-master
fullurl.m
.m
FocalNet-master/deepag/bin/lib/utils/fullurl.m
146
utf_8
59142a698bcf0378fe1e9e7a2e7e6b19
%url = fullurl(varargin) - fullurl consruction (see fullfile) function u = fullurl(varargin) u = fullfile(varargin{:}); u = strrep(u,'\','/');
github
PavelTrutman/FocalNet-master
vidx.m
.m
FocalNet-master/deepag/bin/lib/utils/vidx.m
1,005
utf_8
bab2a27015e6e8a16b5205ebffaeff6c
%VIDX Pajdla: Indexes matrices by a vector % % function b = vidx(a,i[,j]) % % a = input matrix % i,j = index vectors, must have the same size % or % i = index of size m x n, m ... dimension of a % n ... length of the index % b = a(i,j) % or % b...
github
PavelTrutman/FocalNet-master
findr.m
.m
FocalNet-master/deepag/bin/lib/utils/findr.m
391
utf_8
f00b554785beb95f16f4918f4131be72
% ix = findr(A,r) - find row r in a matrix (cellarray od vectors) A % % A = m x n matrix % r = 1 x n vector % ix = index such that A(ix,:)==ones(size(ix,1),1)*r % 2015-09-06 pajdla@cmp.felk.cvut.cz function ix = findr(A,r) if iscell(A) r = r(:); ix = cellfun(@(x) all(x(:)==r),A); else r = r(:...
github
PavelTrutman/FocalNet-master
trckspot.m
.m
FocalNet-master/deepag/bin/lib/utils/trckspot.m
6,799
utf_8
925c2dfc0c9dd5b0dd89fbff67c81027
% [mx,nx,x,A,o,l,il] = trckspot(im,decim,dthrprc,minR,maxR,dThr,doShow) - detect bright spots % % im ... m x n x 1 image % decim ... 1:decim:end image decimation % dthrprc... thereshold 0<1 ... percentile % >=1 ... absolute value % minR ... bright center outer radius % maxR ......
github
PavelTrutman/FocalNet-master
genp.m
.m
FocalNet-master/deepag/bin/lib/utils/genp.m
1,450
utf_8
0d0e9c065258576ce36e7df0ae6d0fe4
% [B,d] = genp(A[,tol]) - Gaussian elimination - no pivoting % % A ... matrix % tol ... tollerance, max(size(A))*eps(class(A))*norm(A,'inf') implicit % B ... eliminated matrix % d ... removed rows % % See also RREF % T. Pajdla, 13 June 2006 % pajdla@neovision.cz function [B,d] = genp(A,tol) [m,n] =...
github
PavelTrutman/FocalNet-master
smplgaus.m
.m
FocalNet-master/deepag/bin/lib/utils/smplgaus.m
779
utf_8
cf894fcbfb7abf3a0c1294bedbf5cfa1
%SMPLGAUS Pajdla: Values from the Gaussian distribution function % % function g = smplgaus(x,mu,s) % % x = abscisae vector % mu = mean value % s = sigma % % See also: GAUSMIX, RANDN. % Author: Tomas Pajdla, Tomas.Pajdla@esat.kuleuven.ac.be % pa...
github
PavelTrutman/FocalNet-master
vlist.m
.m
FocalNet-master/deepag/bin/lib/utils/vlist.m
427
utf_8
56bd575937efc263a16495a5221ea223
% L = vlist(v) - Celarray of indices of occurences of different positive integer values in v % % v = a vector of positive integres (index) % L = {[i1 i2 i3 ...], ...} cellaray of lists of occurenves of values in v L{i} = find(v==i) % 2015-09-06 pajdla@cmp.felk.cvut.cz function L = vlist(v) mV = max(v(:)); % ...
github
PavelTrutman/FocalNet-master
cumhist.m
.m
FocalNet-master/deepag/bin/lib/utils/cumhist.m
1,405
utf_8
989a64f6b125f7b30f7d361d856fe4d5
%CUMHIST Pajdla: Plots a histogram and a cummulative histogram % % function [N,X,cX,f]=cumhist(mat,hnum,mode) % % mat = 1-D or 2-D matrix % hnum = number of bins % mode = 0 ... normalize histogram so that the maximum = 1 (implicit) % 1 ... normalize histogram so that the area = 1 % ...
github
PavelTrutman/FocalNet-master
imaqcam.m
.m
FocalNet-master/deepag/bin/lib/utils/imaqcam.m
3,224
utf_8
7809ec9b2c3a6b9cbcba6f29ca87273c
% h = imaqcam(varargin) - Live camera GUI % % h = imaqcam(cam[,mode,cmd]) ... creates the live camera gui and opens % the camera in a given 'mode' % [implicit if missing or ''] % cmd ... {'preview','close'} % % ...
github
PavelTrutman/FocalNet-master
digicirc.m
.m
FocalNet-master/deepag/bin/lib/utils/digicirc.m
345
utf_8
ce87e9c308dbe686a9db643a42e6079e
% im=digicirc(r[,mr]) - Binary image of a digital circle % % r ... radius % mr ... window radius % im ... image of the circle % T. Pajdla, pajdla@neovision.cz, 2005 Aug 4 function im=digicirc(r,mr) if nargin<2 mr=r; end D = 2*mr+1; x = -mr:mr; A = ones(D,1) * (x.^2) + (x.^2)' * ones(1,D); im ...
github
PavelTrutman/FocalNet-master
subfig.m
.m
FocalNet-master/deepag/bin/lib/utils/subfig.m
1,811
utf_8
7c3f7df5264dad30a0b87c0d7c8aeb75
%SUBFIG Pajdla: Opens figure in the specified part of the screen % % function f = subfig(rows,cols,ord,f) % [left bottom height width] % % rows = number of row figures per screen % cols = number of column figures per screen % ord = order of figure (row oriented index), see SUBP...
github
PavelTrutman/FocalNet-master
plotx2y.m
.m
FocalNet-master/deepag/bin/lib/utils/plotx2y.m
1,294
utf_8
ab6f9bac404350a2e44e3825b2191a30
% h = plotx2y(x,y[,s,xp,yp,vp]) - plot a difference fied from x to y % % x,y ... 2 x n real matrix % s ... scale (implicit = 1) % xp ... x plot string ([] to ignore, implicit blue dot) % yp ... y plot string ([] to ignore, implicit green dot) % vp ... y-x plot string ([] to ignore, implicit red line) % (...
github
PavelTrutman/FocalNet-master
gam2e.m
.m
FocalNet-master/deepag/bin/lib/utils/gam2e.m
165
utf_8
01204c86b05f0319517ce3ee43806c78
% E = gAM2E(A) - Graph non-symmetric adjacency matrix A to edge list E % 2015-05-10 pajdla@cmp.felk.cvut.cz function E = gAM2E(A) [i,j] = find(A); E = [i j];
github
PavelTrutman/FocalNet-master
text3d.m
.m
FocalNet-master/deepag/bin/lib/utils/text3d.m
525
utf_8
9d4d9dd094b3a9564229133740678fc3
%h = text3d(X,T,pars) - single matrix 3 x N text in 3D % % X ... single matrix 3 x N % T ... text labels, cellarray or padded matrix with a string per row % pars ... other text pars % % See also text % pajdla@cmp.felk.cvut.cz, 2015-09-26 function h = text3d(varargin) X = varargin{1}; if size(X,1)==...
github
PavelTrutman/FocalNet-master
ioutofn.m
.m
FocalNet-master/deepag/bin/lib/utils/ioutofn.m
389
utf_8
e7dd95c6b0c42c18894f552feebe415e
% s = ioutofn(i,n[,maxn]) - fprintf '[i/n]' % % i = current value % n = out of n % maxn = maximal value of n to determine the width of printing (= n if missing) % s = string % 2015-05-10 pajdla@cmp.felk.cvut.cz function s = ioutofn(i,n,maxn) if nargin<3 maxn = n; end N = length(sprintf('%d',maxn)); % max n...
github
PavelTrutman/FocalNet-master
defprintf.m
.m
FocalNet-master/deepag/bin/lib/utils/defprintf.m
429
utf_8
22308f04a5614cf1773218cda183ac4f
% nbytes = refprintf(vargin) - delete space for fprintf % % varargin, nbytes ... nbytes = fprintf(varargin) % 2015-08-23 pajdla@cmp.felk.cvut.cz function nbytes = defprintf(varargin) switch nargin case 1 nbytes = length(varargin{1}); fprintf(repmat('\b',1,nbytes)); otherwise ...
github
PavelTrutman/FocalNet-master
sirpi.m
.m
FocalNet-master/deepag/bin/lib/utils/sirpi.m
6,349
utf_8
b55b9f344632534a67d5b84bdfcd23d4
%sirpi - pei: Shift invariant representation of a panoramic image. % % function [ir,fi,fir,e] = sirpi(im [,method,arg1,arg2,arg3]) % % im = image. Must be of odd size. If the size is % even, the last row and column are cutted % off. % ir = shift invariant representation % f...
github
PavelTrutman/FocalNet-master
m2v.m
.m
FocalNet-master/deepag/bin/lib/utils/m2v.m
167
utf_8
421b0c6da047faf6be9965c78d41087e
% v = m2v(M) => vectorization of M: v = M(:) % % M = mutlidimensional matrix % v = column vector % pajdla@cvut.cz, 2016-04-24 function v = m2v(M) v = M(:);
github
PavelTrutman/FocalNet-master
dtctspot.m
.m
FocalNet-master/deepag/bin/lib/utils/dtctspot.m
3,593
utf_8
190bf9377c45d324ad205134c953d15b
% [o,A,x] = dtctspot(im,decim,dthrprc,minR,maxR,dThr,msk,doShow) - detect bright spots % % im ... m x n x 1 image % decim ... 1:decim:end image decimation % dthrprc... thereshold 0<1 ... percentile % >=1 ... absolute value % minR ... bright center outer radius % maxR ... dark p...
github
PavelTrutman/FocalNet-master
imnorm.m
.m
FocalNet-master/deepag/bin/lib/utils/imnorm.m
239
utf_8
cda9d612526b96dd31329ba4e1ff3058
% imn = imnorm(im) - Normalize im for imagesc % % im ... image % imn ... normalized 0<=imn<=1, double % (c) T.Pajdla % June 30, 2007 function im = imnorm(im) im = double(im); im = im - min(im(:)); im = im / max(im(:));
github
PavelTrutman/FocalNet-master
plotq.m
.m
FocalNet-master/deepag/bin/lib/utils/plotq.m
596
utf_8
f4be1fe2233364f5d29c193b3a36cfeb
% f = plotq(q[,opts]) - plot conic q % % q ... 3x3 conic % f ... figure handle returned by plot % opts ... = [] ... f = point coordinates % otherwise ... plot options plot(...,...,opts) % (c) T.Pajdla, www.neovision.cz, Oct 25, 2004 function f = plotq(q,opts) if nargin < 2 opts...
github
PavelTrutman/FocalNet-master
gpcreate.m
.m
FocalNet-master/deepag/bin/lib/utils/gpcreate.m
1,677
utf_8
0e2b2385193989dbf32a6f2e9d5379c0
%GPCREATE Pajdla: Creates a Gaussian pyramid % % p = gpcreate(im,levels,flt) % % Each level of the pyramid p is created by the subsampling of the previous % level convolved with the filter flt. % % im = input image % flt = filter matrix, implicitly flt = [1/4 1/2 1/4]' * [1/4 1/2 1/4]; % levels = number of ...
github
PavelTrutman/FocalNet-master
e2gsam.m
.m
FocalNet-master/deepag/bin/lib/utils/e2gsam.m
176
utf_8
abdfc54939095ff2973820c914d82c60
% A = E2gSAM(E) - Edge list E to graph symmetric adjacency matrix A % 2015-09-06 pajdla@cmp.felk.cvut.cz function A = e2gsam(E) A = e2gam(E); A = A+A'-diag(diag(A));
github
PavelTrutman/FocalNet-master
e2svel.m
.m
FocalNet-master/deepag/bin/lib/utils/e2svel.m
421
utf_8
4c46d547854a8678c1085bd91dbb1f1d
% e = e2svel(E) - Edge list E to symmetric vertex edge list % % E = n x 2 matrix [[v1,v2], ...] with vertice v1, v2 % e = {[e1 e2 e3 ...], ...} cellaray of lists of edges ids incident to a vertex % 2015-09-06 pajdla@cmp.felk.cvut.cz function e = e2svel(E) mV = max(E(:)); % maximal vertex id e = cell(mV,1); ...
github
PavelTrutman/FocalNet-master
APT_compile.m
.m
FocalNet-master/deepag/bin/lib/APT/APT_compile.m
8,732
utf_8
d652f0df8d667c85399fa6b1ac8117ab
function APT_compile(varargin) global APT_PARAMS; if isempty(APT_PARAMS) APT_params(); end %====================================================================== params = struct('NoJVM', 1, ... 'SingleThread', 1, ... 'Ignore', {{}}); ...
github
PavelTrutman/FocalNet-master
APT_params.m
.m
FocalNet-master/deepag/bin/lib/APT/APT_params.m
11,917
utf_8
dcd708f92cb96c277b891acf0c9a05f7
function APT_params() global APT_PARAMS; %!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!% %!! !!% %!! This file is not loaded twice: if you modify it, run !!% %!! 'APT_params' to update the par...
github
PavelTrutman/FocalNet-master
APT_run_fake.m
.m
FocalNet-master/deepag/bin/lib/APT/APT_run_fake.m
6,696
utf_8
4483aa005e6165557b9859e914ecfedd
function varargout = APT_run(task, varargin) %====================================================================== params = struct( ... 'CombineArgs', 0, ... 'Libs', {{}}, ... 'ShellVar', {{}}, ... ... ...
github
PavelTrutman/FocalNet-master
APT_run.m
.m
FocalNet-master/deepag/bin/lib/APT/APT_run.m
47,906
utf_8
2a201e3e3fdae928a0f3516d9d4531de
function varargout = APT_run(task, varargin) global APT_PARAMS JOB_INFO; if isempty(APT_PARAMS) APT_params(); end %====================================================================== params = struct( ... 'ClusterID', 0, ... ...
github
PavelTrutman/FocalNet-master
APT_entry_point.m
.m
FocalNet-master/deepag/bin/lib/APT/APT_entry_point.m
9,258
utf_8
e41dae1b95d16c680e75c3454f891424
function APT_entry_point(task_id, job_id, fun, clusterID) global APT_PARAMS JOB_INFO; APT_params(); clusterID = str2double(clusterID); drive = get_drive_path(clusterID); args_dir = fullfile(drive, APT_PARAMS.temp_dir, task_id, 'args'); res_dir = fullfile(drive, APT_PARAMS.temp_d...
github
PavelTrutman/FocalNet-master
pargui.m
.m
FocalNet-master/deepag/bin/lib/pargui/pargui.m
6,996
utf_8
6bdf8b0787cabf2ff00371ed3b3dc43c
% psg = pargui(ps,parname,gsz,xname,fname) - GUI for experiments % % ps ... structure with ps.ParName1, ps.ParName2, ... % parname ... the name of the structure as a string % gsz ... the size of the grid for buttons [rnum cnum] % xname ... callback function name % fname ... callback butt...
github
bethany/o2model-master
hfbulktc.m
.m
o2model-master/SAS1A_alldata RCP 8.5/Mylake_v12/air_sea/hfbulktc.m
11,877
utf_8
f57ca3e55e72511e31eb4247c8151775
function A=hfbulktc(ur,zr,Ta,zt,rh,zq,Pa,Ts,sal,dlw,dsw,nsw) % HFBULKTC: computes sensible and latent heat fluxes and other variables. % A=HFBULKTC(ur,zr,Ta,zt,rh,zq,Pa,Ts,sal,dlw,dsw,nsw) computes the following: % % Hs = sensible heat flux INTO ocean [W/m^2] % Hl = latent heat flux INTO o...
github
bethany/o2model-master
cool_skin.m
.m
o2model-master/SAS1A_alldata RCP 8.5/Mylake_v12/air_sea/cool_skin.m
7,518
utf_8
c498431a06857156738bb02881093d6b
function [delta,Dter,Dqer] = cool_skin(sal,Tw,rhoa,cpa,Pa, ... U_star,T_star,Q_star, ... dlw,dsw,nsw,delta,g,Rgas, ... CtoK,Qsat_coeff) % COOL_SKIN: compute the cool-skin parameters. % COOL_...
github
bethany/o2model-master
hfbulktc_speed.m
.m
o2model-master/SAS1A_alldata RCP 8.5/Mylake_v12/air_sea/hfbulktc_speed.m
12,258
utf_8
58921b3e65881e9bc27ce88e3a96436d
% As hfbulktc.m but in order to speed up the function, the iteration loop is % changed from "if" to "while" structure by TSA 05.09.03 function A=hfbulktc_speed(ur,zr,Ta,zt,rh,zq,Pa,Ts,sal,dlw,dsw,nsw) % HFBULKTC: computes sensible and latent heat fluxes and other variables. % A=HFBULKTC(ur,zr,Ta,zt,rh,zq,Pa,Ts,sa...
github
bethany/o2model-master
reedcf.m
.m
o2model-master/SAS1A_alldata RCP 8.5/Mylake_v12/air_sea/reedcf.m
3,943
utf_8
a868371ec818451f13265398804019c4
function c = reedcf(yd,lat,dsw); % REEDCF: computes daily mean cloud cover following Reed (1977). % c = REEDCF(yd,lat,dsw) computes daily averaged cloud cover c from % yearday, latitude, and measured insolation following Reed (1977), J. Phys. % Oceanog., 7, 482-485. Assumes hourly input series are either both ...
github
bethany/o2model-master
modelinputs_v12.m
.m
o2model-master/SAS1A_alldata RCP 8.5/Mylake_v12/v12/modelinputs_v12.m
6,853
utf_8
f2f8ca11ae6207d5c802738438d47dce
% === MyLake model, version 1.2, 15.03.05 === % by Tom Andersen & Tuomo Saloranta, NIVA 2005 % % Module for reading input data and parameters % Code checked by TSA, xx.03.2005 % Last modified by TSA, 15.08.2006 (Az replaced by In_Az 10.03.06; Possibility to have NaN in Global rad. series, 15.08.06) fu...
github
bethany/o2model-master
IOflow_v11.m
.m
o2model-master/SAS1A_alldata RCP 8.5/Mylake_v12/v12/IOflow_v11.m
1,836
utf_8
3fd8e614c653ec3dc38eb09d0a96c19c
% === MyLake model, version 1.1, 16.03.04 === % by Tom Andersen & Tuomo Saloranta, NIVA 2004 % % Module for calculating river inflow and its effect on profiles of temperature and other state variables % Code checked by TSA, 16.3.2004 % INPUTS: % vertical arrays: z is model grid, Vz is layer volume, Tz la...
github
bethany/o2model-master
heatflux_v12.m
.m
o2model-master/SAS1A_alldata RCP 8.5/Mylake_v12/v12/heatflux_v12.m
3,866
utf_8
c2ac59002c564b594507ca488a499d58
% === MyLake model, version 1.2, 15.03.05 === % by Tom Andersen & Tuomo Saloranta, NIVA 2005 % % Module for calculating heat fluxes and other physical parameters % Code checked by TSA, 03.03.2005 % Last modified by TSA, 03.03.2005 function [Qsw,Qlw,Qsl,tau,Dayfrac,Dayfracheating] = heatflux_v12(t,GR,CC,Ta,Ra,P...
github
bethany/o2model-master
solvemodel_v12.m
.m
o2model-master/SAS1A_alldata RCP 8.5/Mylake_v12/v12/solvemodel_v12.m
60,047
utf_8
75927e7e66ca36798d8207467775b362
% === MyLake model, version 1.2, 15.03.05 === % by Tom Andersen & Tuomo Saloranta, NIVA 2005 % % Main module % Code checked by TSA, xx.03.2005 % Last modified by TSA, 15.08.2006 (temperature profile sent to convection.m, Thermocline-bug corrected) function [zz,Az,Vz,tt,Qst,Kzt,Tzt,Czt,Szt,Pzt,Chlzt,PPzt,DOPzt...
github
bethany/o2model-master
sedimentheat_v11.m
.m
o2model-master/SAS1A_alldata RCP 8.5/Mylake_v12/v12/sedimentheat_v11.m
957
utf_8
651aaf0bdc6f47d157c158f80f7f0d6b
% === MyLake model, version 1.1, 16.03.04 === % by Tom Andersen & Tuomo Saloranta, NIVA 2004 % % Module for calculating new temperature profile in sediments % Code checked by TSA, 16.03.2004 function [Tzy_sed_updated] = sedimentheat_v11(Tzy_sed, K_sed, dt) % Grid resolution in sediment is 0.2 m in the 0-2 lay...
github
bethany/o2model-master
convection_v12_1a.m
.m
o2model-master/SAS1A_alldata RCP 8.5/Mylake_v12/v12/convection_v12_1a.m
4,678
utf_8
ee28d5983f6a9c5e5efdd548047b73b6
% === MyLake model, version 1.2, 15.03.05 === % by Tom Andersen & Tuomo Saloranta, NIVA 2004 % VERSION 1.2.1a, based on convection_v12 (with three modified lines of code, marked with NEW!!!) % Convection module % Code checked by TSA, 07.03.05 % Last modified by TSA, 17.07.07 function [Tz,Cz,Sz,Pz,Chlz,PPz,D...
github
bethany/o2model-master
convection_v12_1a.m
.m
o2model-master/SAS1A_alldata RCP 8.5/Mylake_v12/v12_1/convection_v12_1a.m
4,672
utf_8
1087d9c9e1b8a1e06675c40303b57baa
% === MyLake model, version 1.2, 15.03.05 === % by Tom Andersen & Tuomo Saloranta, NIVA 2004 % VERSION 1.2.1a, based on convection_v12 (with three modified lines of code, marked with NEW!!!) % Convection module % Code checked by TSA, 07.03.05 % Last modified by TSA, 17.07.07 function [Tz,Cz,Sz,Pz,Chlz,PPz,D...
github
bethany/o2model-master
solvemodel_v12_1b_ut.m
.m
o2model-master/SAS1A_alldata RCP 8.5/Mylake_v12/v12_1/solvemodel_v12_1b_ut.m
56,687
utf_8
8f54a141697b1c96494feb0d71369d88
% === MyLake model, version 1.2, 15.03.05 === % by Tom Andersen & Tuomo Saloranta, NIVA 2005 % % VERSION 1.2.1 (two phytoplankton groups are included; variable Cz denotes % this second group now. Frazil ice included + some small bug-fixes and code rearrangements. Using convection_v12_1a.m code) % % Main module %...
github
bethany/o2model-master
hfbulktc.m
.m
o2model-master/SAS1A_2layer/Mylake_v12/air_sea/hfbulktc.m
11,877
utf_8
f57ca3e55e72511e31eb4247c8151775
function A=hfbulktc(ur,zr,Ta,zt,rh,zq,Pa,Ts,sal,dlw,dsw,nsw) % HFBULKTC: computes sensible and latent heat fluxes and other variables. % A=HFBULKTC(ur,zr,Ta,zt,rh,zq,Pa,Ts,sal,dlw,dsw,nsw) computes the following: % % Hs = sensible heat flux INTO ocean [W/m^2] % Hl = latent heat flux INTO o...
github
bethany/o2model-master
cool_skin.m
.m
o2model-master/SAS1A_2layer/Mylake_v12/air_sea/cool_skin.m
7,518
utf_8
c498431a06857156738bb02881093d6b
function [delta,Dter,Dqer] = cool_skin(sal,Tw,rhoa,cpa,Pa, ... U_star,T_star,Q_star, ... dlw,dsw,nsw,delta,g,Rgas, ... CtoK,Qsat_coeff) % COOL_SKIN: compute the cool-skin parameters. % COOL_...
github
bethany/o2model-master
hfbulktc_speed.m
.m
o2model-master/SAS1A_2layer/Mylake_v12/air_sea/hfbulktc_speed.m
12,258
utf_8
58921b3e65881e9bc27ce88e3a96436d
% As hfbulktc.m but in order to speed up the function, the iteration loop is % changed from "if" to "while" structure by TSA 05.09.03 function A=hfbulktc_speed(ur,zr,Ta,zt,rh,zq,Pa,Ts,sal,dlw,dsw,nsw) % HFBULKTC: computes sensible and latent heat fluxes and other variables. % A=HFBULKTC(ur,zr,Ta,zt,rh,zq,Pa,Ts,sa...
github
bethany/o2model-master
reedcf.m
.m
o2model-master/SAS1A_2layer/Mylake_v12/air_sea/reedcf.m
3,943
utf_8
a868371ec818451f13265398804019c4
function c = reedcf(yd,lat,dsw); % REEDCF: computes daily mean cloud cover following Reed (1977). % c = REEDCF(yd,lat,dsw) computes daily averaged cloud cover c from % yearday, latitude, and measured insolation following Reed (1977), J. Phys. % Oceanog., 7, 482-485. Assumes hourly input series are either both ...
github
bethany/o2model-master
modelinputs_v12.m
.m
o2model-master/SAS1A_2layer/Mylake_v12/v12/modelinputs_v12.m
6,853
utf_8
f2f8ca11ae6207d5c802738438d47dce
% === MyLake model, version 1.2, 15.03.05 === % by Tom Andersen & Tuomo Saloranta, NIVA 2005 % % Module for reading input data and parameters % Code checked by TSA, xx.03.2005 % Last modified by TSA, 15.08.2006 (Az replaced by In_Az 10.03.06; Possibility to have NaN in Global rad. series, 15.08.06) fu...
github
bethany/o2model-master
IOflow_v11.m
.m
o2model-master/SAS1A_2layer/Mylake_v12/v12/IOflow_v11.m
1,836
utf_8
3fd8e614c653ec3dc38eb09d0a96c19c
% === MyLake model, version 1.1, 16.03.04 === % by Tom Andersen & Tuomo Saloranta, NIVA 2004 % % Module for calculating river inflow and its effect on profiles of temperature and other state variables % Code checked by TSA, 16.3.2004 % INPUTS: % vertical arrays: z is model grid, Vz is layer volume, Tz la...
github
bethany/o2model-master
heatflux_v12.m
.m
o2model-master/SAS1A_2layer/Mylake_v12/v12/heatflux_v12.m
3,866
utf_8
c2ac59002c564b594507ca488a499d58
% === MyLake model, version 1.2, 15.03.05 === % by Tom Andersen & Tuomo Saloranta, NIVA 2005 % % Module for calculating heat fluxes and other physical parameters % Code checked by TSA, 03.03.2005 % Last modified by TSA, 03.03.2005 function [Qsw,Qlw,Qsl,tau,Dayfrac,Dayfracheating] = heatflux_v12(t,GR,CC,Ta,Ra,P...
github
bethany/o2model-master
solvemodel_v12.m
.m
o2model-master/SAS1A_2layer/Mylake_v12/v12/solvemodel_v12.m
63,537
utf_8
d2c9f44d5e4bfdc87ec5788b8e30da15
% === MyLake model, version 1.2, 15.03.05 === % by Tom Andersen & Tuomo Saloranta, NIVA 2005 % % Main module % Code checked by TSA, xx.03.2005 % Last modified by TSA, 15.08.2006 (temperature profile sent to convection.m, Thermocline-bug corrected) function [zz,Az,Vz,tt,Qst,Kzt,Tzt,Czt,Szt,Pzt,Chlzt,PPzt,DOPzt...
github
bethany/o2model-master
sedimentheat_v11.m
.m
o2model-master/SAS1A_2layer/Mylake_v12/v12/sedimentheat_v11.m
957
utf_8
651aaf0bdc6f47d157c158f80f7f0d6b
% === MyLake model, version 1.1, 16.03.04 === % by Tom Andersen & Tuomo Saloranta, NIVA 2004 % % Module for calculating new temperature profile in sediments % Code checked by TSA, 16.03.2004 function [Tzy_sed_updated] = sedimentheat_v11(Tzy_sed, K_sed, dt) % Grid resolution in sediment is 0.2 m in the 0-2 lay...
github
bethany/o2model-master
convection_v12_1a.m
.m
o2model-master/SAS1A_2layer/Mylake_v12/v12/convection_v12_1a.m
4,678
utf_8
e94636301a8b5e1e69f8658c854900ca
% === MyLake model, version 1.2, 15.03.05 === % by Tom Andersen & Tuomo Saloranta, NIVA 2004 % VERSION 1.2.1a, based on convection_v12 (with three modified lines of code, marked with NEW!!!) % Convection module % Code checked by TSA, 07.03.05 % Last modified by TSA, 17.07.07 function [Tz,Cz,Sz,Pz,Chlz,PPz,D...