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 | PALMsiever/palm-siever-master | logger.m | .m | palm-siever-master/lib/logger.m | 1,263 | utf_8 | aa1d89a9801ed340b06eef51682cb217 | % Logger function
%
function logger(varargin)
if nargin==0
logger_();
else
for arg = varargin
logger_(arg{1});
end
end
function logger_(str)
if isappdata(0,'logger') && nargin>0
l = getappdata(0,'logger');
h = l(1);
textArea = l(2);
h.setVisible(true... |
github | PALMsiever/palm-siever-master | fetch.m | .m | palm-siever-master/lib/fetch.m | 278 | utf_8 | 07bf0f13f930aa2b524ba8bad80aecae | % Fetch variables from the workspace by name
function varargout = fetch(varargin)
% Fetch variables from the workspace by name
%
% varargin : list of variables to read
%
% varargout : the requested variables
for i=1:nargin
varargout{i} = evalin('base',varargin{i});
end
|
github | PALMsiever/palm-siever-master | quantile.m | .m | palm-siever-master/lib/quantile.m | 326 | utf_8 | 97ddc8d0a65a626765fb167a9055d1fd | % QUANTILE
function q = quantile(data,quantiles)
% Linearize
data = data(:);
d = sort(data);
q = (1:length(d))/length(d);
[d1 id1f] = unique(d,'first');
[d2 id2l] = unique(d,'last');
q = q(id1f)*.5+q(id2l)*.5;
if length(q)>1
q = interp1(q,d1,quantiles,'spline','extrap');
else
q = repmat(q,size(quantiles));... |
github | PALMsiever/palm-siever-master | fsize.m | .m | palm-siever-master/lib/fsize.m | 297 | utf_8 | 2ff2ee91d938c44f6d93d077a00b1f28 | % Get file size.
function siz = fsize(filename)
% Get file size.
%
% siz = fsize(filename)
%
% This software is released under the GPL v3. It is provided AS-IS and no
% warranty is given.
%
% Author: Thomas Pengo, 2012
fd = fopen(filename,'r');
fseek(fd,0,'eof');
siz = ftell(fd);
fclose(fd);
|
github | PALMsiever/palm-siever-master | q90.m | .m | palm-siever-master/lib/q90.m | 52 | utf_8 | e07d7e79eb50d4ae69216998f04c0ae2 | % q90
function q = q90(x)
q = quantile(x,.9);
|
github | PALMsiever/palm-siever-master | getAllBounds.m | .m | palm-siever-master/lib/getAllBounds.m | 201 | utf_8 | 352879b74152628c9f09e5d975c13ba5 | %get the bounds for all variables
function [bounds rowName]= getAllBounds(handles)
rowName = get(handles.tParameters,'RowName');
data = get(handles.tParameters,'Data');
bounds = data(:,1:2);
|
github | PALMsiever/palm-siever-master | q95.m | .m | palm-siever-master/lib/q95.m | 53 | utf_8 | aa2006d84e4d5db87825d18879b2af96 | % q95
function q = q95(x)
q = quantile(x,.95);
|
github | PALMsiever/palm-siever-master | calcFIREh.m | .m | palm-siever-master/lib/calcFIREh.m | 332 | utf_8 | f85a3c3622804d806025ac44282672f0 | % Calculate the FIRE fetching the parameters from the GUI
function [ frcprofile linx ] = calcFIREh(handles, nTrials)
X = getX(handles); Y = getY(handles);
ss0=getSubset(handles); res = getRes(handles);
[minX maxX minY maxY] = getBounds(handles);
[ frcprofile linx ] = calcFIRE(X(ss0), Y(ss0), res, minX, maxX, minY, maxY... |
github | PALMsiever/palm-siever-master | getGamma.m | .m | palm-siever-master/lib/getGamma.m | 204 | utf_8 | 18256f0a306f9f2ff940608b25983070 | % Get the current gamma
function gamma = getGamma(handles);
try
gamma=str2double(get(handles.tGamma,'String'));
catch
warning('Unreadable gamma value, defaulting to 1')
gamma=1;
end
|
github | PALMsiever/palm-siever-master | sumsqr.m | .m | palm-siever-master/lib/sumsqr.m | 221 | utf_8 | a62ba0b28532f12997fd15b55d837efc | % Elementwise sum of squares.
%
% function [s,n] = sumsqr(x)
% s : sum of squares of x
% n : number of elements of x
%
function [s,n] = sumsqr(x)
s = sum(x(:).^2);
if nargout>1
n = numel(x);
end
|
github | PALMsiever/palm-siever-master | fileIoAscii.m | .m | palm-siever-master/lib/fileIoAscii.m | 6,830 | utf_8 | a769e893610b7622f20c25fd10f49199 | %%% Internal function for the import infrastructure
function [varargout] = fileIoAscii(fileSpec,ioMode, varargin)
% function fileIoAscii(fileSpec,varargin)
% Parses a fileSpec ini file, and uses it to read in PALM data
%***************
% ioMode: 'ReturnVarNames','Import', 'Export','FileType'
%For import:
% Input argum... |
github | PALMsiever/palm-siever-master | crossCorrect3D.m | .m | palm-siever-master/lib/crossCorrect3D.m | 1,541 | utf_8 | 0e377c237c52fc6021eea9e540a158d0 | %%% Internal function for the drift correction plugin
function [xc,yc,tDrift,xDrift,yDrift,zc,zDrift] = crossCorrect3D(stormData, minImPointPerArea,minFrame,stormPixSize,SccfWindowArea,plotOn)
if ~exist('plotOn','var')
plotOn = false;
end
t = stormData(:,1);
x = stormData(:,2);
y = stormData(:,3);
is3d = false;
if... |
github | PALMsiever/palm-siever-master | dbscan.m | .m | palm-siever-master/lib/dbscan.m | 4,356 | utf_8 | fc8f0df10fb2044e84c8fb05f3bbc3c4 | % Clustering the data with Density-Based Scan Algorithm with Noise (DBSCAN)
function [class,type]=dbscan(x,k,Eps)
% -------------------------------------------------------------------------
% Function: [class,type]=dbscan(x,k,Eps)
% -------------------------------------------------------------------------
% Aim:
% Clu... |
github | PALMsiever/palm-siever-master | matrix2html.m | .m | palm-siever-master/lib/matrix2html.m | 332 | utf_8 | c280c9aa2db2f6f3f76dd92729545403 | % Matrix to HTML table
function str = matrix2html(M,precision)
if nargin<2
precision = 1e4;
end
str = '<table>';
for r = 1:size(M,1)
str = [str '<tr>'];
for c = 1:size(M,2)
str = [str '<td>' num2str(M(r,c),precision) '</td>'];
end
str = [str '</tr>'];
end
str = [str '</t... |
github | PALMsiever/palm-siever-master | correctDrift.m | .m | palm-siever-master/lib/correctDrift.m | 1,784 | utf_8 | 741a16e9afc06f31f5e6a8bf959ac0b4 | %%% Internal function for the drift correction plugin
function [xc,yc,tDrift,xDrift,yDrift,zc,zDrift] = correctDrift(driftTracks,nSpline,t, x,y, z)
if isfield(driftTracks{1},'z')
isCorrectZ = true;
else
isCorrectZ = false;
end
tUn = unique(sort(t));
tDrift=tUn;
%get cell of driftTracks from driftTracks
if ~isC... |
github | PALMsiever/palm-siever-master | q05.m | .m | palm-siever-master/lib/q05.m | 52 | utf_8 | ea08f01e4f68a7b31057d34f1711f241 | % q05
function q = q05(x)
q = quantile(x,.05);
|
github | PALMsiever/palm-siever-master | calcHistogram_.m | .m | palm-siever-master/lib/calcHistogram_.m | 1,475 | utf_8 | a78a96f56882a49b5e822585d4dd5a38 | % Calculates the histogram from the two vectors, within the specified bounds and with 'res' number of bins.
function [density n m X Y] = calcHistogram_(XPosition, YPosition, res, minX, maxX, minY, maxY)
% [density n m X Y] = calcHistogram_(XPosition, YPosition, res, minX, maxX, minY, maxY)
% or
% [density n m X Y] = c... |
github | PALMsiever/palm-siever-master | setFramebounds.m | .m | palm-siever-master/lib/setFramebounds.m | 772 | utf_8 | dacca6b46d9e87e1c2d65f1f7d8bddf8 | % Sets the Frame bounds
%
% handles = setFrameBounds(handles, bounds)
% handles the handles to the figure
% bounds a 2-element vector [minFrame maxFrame]
%
% Note: you need to use guidata to actually modify the figure's values
%
% This software is released under the GPL v3. It is provided... |
github | PALMsiever/palm-siever-master | setBounds.m | .m | palm-siever-master/lib/setBounds.m | 868 | utf_8 | eba98f24231c9847794db7a78f1f4f1a | % Sets the X,Y bounds
%
% handles = setBounds(handles, bounds)
% handles the handles to the figure
% bounds a 4-element vector [minX maxX minY maxY]
%
% Note: you need to use guidata to actually modify the figure's values
%
% This software is released under the GPL v3. It is provided AS-I... |
github | PALMsiever/palm-siever-master | quantization.m | .m | palm-siever-master/lib/quantization.m | 671 | utf_8 | db506e4ad861a8c1c35eaa0e80f078ce | % Quantization of signal x between xmin and xmax in N segments, indexed
% from 1 to N.
%
% function [i X] = quantization(x,xmin,xmax,N)
%
% x - the input signal (may be a vector or a matrix)
% xmin - the minimum of the signal range
% xmax - the maximum of the signal range
% N - the number of segments
%... |
github | PALMsiever/palm-siever-master | jhist.m | .m | palm-siever-master/lib/jhist.m | 856 | utf_8 | 24aa42e48fa2358626ef7bf7b197c460 | % Jittered histogram
% [H b H2]= jhist(data,nbins,amount,N)
%
% data the vector to be analyzed
% nbins the number of bins in the histogram
% amount amount of jittering, expressed as the sigma of a zero-mean
% Gaussian
% N number of averages
%
% This software is released unde... |
github | PALMsiever/palm-siever-master | add_colorbar.m | .m | palm-siever-master/lib/add_colorbar.m | 1,371 | utf_8 | 65c01e4076ecb54616f8c4bd4cd180ab | % Add colorbar
function add_colorbar(handles, col)
str = getSelectedRendering(handles);
if ~is3DRendering(handles)
axes(handles.axes1)
colorbar('location','East','XColor',col,'YColor',col)
else
% Draw 2D Colorbar
% Draw box
w = .05; margX = .025;
h = .85; margY = .1;
[minX, ma... |
github | PALMsiever/palm-siever-master | limit80.m | .m | palm-siever-master/lib/limit80.m | 208 | utf_8 | b3bf8998fabc83fb391d403daf5bd76a | % Limits to central 80% of the data
function limit80(handles, variable)
v = fetch(variable);
m = quantile(v,.1);
M = quantile(v,.9);
setMin(handles, variable, m);
setMax(handles, variable, M);
|
github | PALMsiever/palm-siever-master | dg_fit.m | .m | palm-siever-master/lib/dg_fit.m | 1,490 | utf_8 | 91f2f0019ec7f4803581a0d6d5189b9c | % Performs a double-gaussian fit on the x and y vectors, with an optional initial estimation of the width w0.
function [fitresult, gof] = dg_fit(x, y, w0)
%CREATEFIT(X,Y)
% Create a fit.
%
% Data for 'Double Gaussian' fit:
% X Input : x
% Y Output: y
% Output:
% fitresult : a fit object representing t... |
github | PALMsiever/palm-siever-master | trace.m | .m | palm-siever-master/lib/trace.m | 2,744 | utf_8 | be628281cc3cc2217114a46a6fca36e5 | % Tracing algorithm
%
% function Trace = trace(X,Y,P0,dir0,r0,step)
%
% X,Y the data to be traced
% P0 coordinates to the first point in the trace
% dir0 initial direction of movement
% r0 initial radius of the estimation region
% step step size
%
% The al... |
github | PALMsiever/palm-siever-master | render_histogram.m | .m | palm-siever-master/lib/render_histogram.m | 854 | utf_8 | 9de99758200aea94e965f2a556c6a193 | % Render a histogram of the current view
function [density X Y] = render_histogram(handles)
subset = getSubset(handles);
XPosition = getX(handles);
YPosition = getY(handles);
res = getRes(handles);
gamma = getGamma(handles);
[minX maxX minY maxY] = getBounds(handles);
n=linspace(minX,maxX,res);
m=linspace(... |
github | PALMsiever/palm-siever-master | setAllBounds.m | .m | palm-siever-master/lib/setAllBounds.m | 176 | utf_8 | 511f584667e219b716efce24032f27c3 | %set the bounds for all variables
function setAllBounds(handles,bounds)
data = get(handles.tParameters,'Data');
data(:,1:2)=bounds;
set(handles.tParameters,'Data',data);
|
github | PALMsiever/palm-siever-master | getStormDrift3.m | .m | palm-siever-master/lib/getStormDrift3.m | 14,037 | utf_8 | 90d0530556919b84cce3a8bb3a38e247 | function [drift corAmplitude ] = getStormDrift3(stormData,minImPointPerArea,minFrame,stormPixSize,SccfWindowArea,imSize)
% [drift corAmplitude correctedStormData correctedStormImage oldStormImage h] = getStormDrift2(stormData,minImPointPerArea,stormPixSize,SccfWindowArea,imSize)
% [drift corAmplitude correctedStormD... |
github | PALMsiever/palm-siever-master | gaussian_fit_1D_plot.m | .m | palm-siever-master/lib/gaussian_fit_1D_plot.m | 502 | utf_8 | bfe79f5b1358c36e7f4138272c4202f3 | % Plots a gaussian fit for datapoints (xs,ys) in a new figure and returns
% the handle
%
% Thomas Pengo, 2013
%
function f=gaussian_fit_1D_plot(xs,ys);
xs=xs(:);ys=ys(:);
f=figure;
[mu sigma gof fits] = gaussian_fit_1D(xs,ys);
stem(xs,ys);
hold;
plot(xs,fits,'r');
set(f, 'Paper... |
github | PALMsiever/palm-siever-master | autoIso.m | .m | palm-siever-master/lib/autoIso.m | 639 | utf_8 | 0310e4aad20f2cd0d8322dcb9cdcd67e | % Automatic calculation of iso-surface value for volumetric data using Otsu's method
function isoVal = autoIso(vol)
vol= double(vol);
%nBins = freedmanDiaconis(vol(:)); this gives ridiculous nBins for large datasets
nBins = sqrt(numel(vol(:))); % Sturges' formula - seems to work reliably
%from the multiOtsu m-file
[h... |
github | PALMsiever/palm-siever-master | trace_collect.m | .m | palm-siever-master/lib/trace_collect.m | 1,152 | utf_8 | 0cca2056d3111032c1e9749a85384536 | % Straighten and collect points along trace
%
% [ sX sY visited ] = trace_collect(Trace, X, Y, r, overlap)
%
% Trace the trace to be straightened
% X,Y the data points
% r the waist of the trace
% overlap how much should the steps of the trace overlap
%
% This software ... |
github | PALMsiever/palm-siever-master | setZbounds.m | .m | palm-siever-master/lib/setZbounds.m | 766 | utf_8 | 24a03e6ccbaf980a9d9a93ffe5a0fc86 | % Sets the Z bounds
%
% handles = setBounds(handles, bounds)
% handles the handles to the figure
% bounds a 4-element vector [minZ maxZ]
%
% Note: you need to use guidata to actually modify the figure's values
%
% This software is released under the GPL v3. It is provided AS-IS and no
% ... |
github | PALMsiever/palm-siever-master | kde2d.m | .m | palm-siever-master/lib/kde2d.m | 7,468 | utf_8 | a5b908b0f18afbc622b1f5a90b45bc99 | function [bandwidth,density,X,Y]=kde2d(data,n,MIN_XY,MAX_XY)
% fast and accurate state-of-the-art
% bivariate kernel density estimator
% with diagonal bandwidth matrix.
% The kernel is assumed to be Gaussian.
% The two bandwidth parameters are
% chosen optimally without ever
% using/assuming a parametric model f... |
github | PALMsiever/palm-siever-master | setYbounds.m | .m | palm-siever-master/lib/setYbounds.m | 767 | utf_8 | 0d239dc8a8c5f4e233bd650af7f58511 | % Sets the Y bounds
%
% handles = setYBounds(handles, bounds)
% handles the handles to the figure
% bounds a 2-element vector [minY maxY]
%
% Note: you need to use guidata to actually modify the figure's values
%
% This software is released under the GPL v3. It is provided AS-IS and no
%... |
github | PALMsiever/palm-siever-master | calcHistogram.m | .m | palm-siever-master/lib/calcHistogram.m | 303 | utf_8 | 1cae2286ac48f0d4180a88ea374985fd | % Calculate histogram
function [density n m X Y] = calcHistogram(handles)
res = getRes(handles);
X = getX(handles);
Y = getY(handles);
[minX, maxX, minY, maxY] = getBounds(handles);
subset = getSubset(handles);
[density n m X Y] = calcHistogram_(X(subset), Y(subset), res, minX, maxX, minY, maxY);
|
github | PALMsiever/palm-siever-master | freedmanDiaconis.m | .m | palm-siever-master/lib/freedmanDiaconis.m | 816 | utf_8 | b09e9eb67e9d180201bea349cf73a270 | % Calculates the Freedman-Diaconis choice for the bin width. 'data' is assumed to be a single column vector.
function nBins= freedmanDiaconis(data)
% 1 Use Freedman-Diaconis' choice (1981)doi:10.1007/BF01025868
% to calculate the common bin width, h
n = numel(data);
h1 = 2*myIQR(data)/n^(1/3);
% 2. caclulate the vecto... |
github | PALMsiever/palm-siever-master | getRadius.m | .m | palm-siever-master/lib/getRadius.m | 109 | utf_8 | b05088f0bc15c3981b7184b95a4176be | % Get the current radius
function R = getRadius(handles);
R=str2double(get(handles.radius,'String'));
|
github | PALMsiever/palm-siever-master | getRes.m | .m | palm-siever-master/lib/getRes.m | 323 | utf_8 | 4ae3aac7a9457d5381d10b269902d7c3 | % This function gets the chosen image size in the resolution box
%
% Note: this function is quite tied to the GUI, so only change it if you
% know what you're doing.
%
% Author: Thomas Pengo
% GPL-3
function res = getRes(handles);
res = 2^(get(handles.pResolution,'Value')+7); %CAREFUL CHANGING VALS IN CTRL!!!
... |
github | PALMsiever/palm-siever-master | Export_PALM_Movie_or_Stack.m | .m | palm-siever-master/lib/Export_PALM_Movie_or_Stack.m | 7,639 | utf_8 | 7b54b36005d10650cf8cac445aeea782 | function varargout = Export_PALM_Movie_or_Stack(varargin)
% EXPORT_PALM_MOVIE_OR_STACK MATLAB code for Export_PALM_Movie_or_Stack.fig
% EXPORT_PALM_MOVIE_OR_STACK, by itself, creates a new EXPORT_PALM_MOVIE_OR_STACK or raises the existing
% singleton*.
%
% H = EXPORT_PALM_MOVIE_OR_STACK returns the handl... |
github | PALMsiever/palm-siever-master | trace_sigmas.m | .m | palm-siever-master/lib/trace_sigmas.m | 1,168 | utf_8 | 45df7ef05f34dd7888ba00251042967b | % Calculate sigmas along trace
%
% [ sigmas means gofs ns sigmas_outliers] = trace_sigmas(A, centers)
% A a Nx2 matrix of points
% centers
%
% This software is released under the GPL v3. It is provided AS-IS and no
% warranty is given.
%
% Author: Thomas Pengo, 2012
function [ sigmas means... |
github | PALMsiever/palm-siever-master | getZbounds.m | .m | palm-siever-master/lib/getZbounds.m | 673 | utf_8 | b85b2cac6490aa9ee99612be5135f231 | % Given the figure's handles, the function returns the minimum and maximum values for the Z variable.
function [minZ maxZ] = getZbounds(handles)
% [minZ maxZ] = getZbounds(handles)
%
% Given the figure's handles, the function returns the minimum and
% maximum values for the Z variable.
%
% This software is released... |
github | PALMsiever/palm-siever-master | q10.m | .m | palm-siever-master/lib/q10.m | 52 | utf_8 | d7ba8f9ce01eeb675ae4c410d6c5ef19 | % q10
function q = q10(x)
q = quantile(x,.1);
|
github | PALMsiever/palm-siever-master | importprm.m | .m | palm-siever-master/lib/importprm.m | 2,400 | utf_8 | a21250ee331482355909b56c790bc1dc | % importprm(filename,delim)
%
% Fast import of comma-separated or tab-separated values files.
%
% filename the file to be imported
% delim the delimiter character
%
% This function needs a java class PRMUtils.class. You can provide the
% location at the first call.
%
% It generates a... |
github | PALMsiever/palm-siever-master | get_static_plugins.m | .m | palm-siever-master/lib/get_static_plugins.m | 395 | utf_8 | fb93403f503a96f2b86f1bee89557cfc | % Returns a list of plugins which should be
function plugins = get_static_plugins
plugins = [...
struct('name','toNanometers.m'),...
struct('name','pspectrum.m'),...
struct('name','plot3D.m'),...
struct('name','density_plot.m'),...
struct('name','density_column.m'),...
struct('name','a... |
github | PALMsiever/palm-siever-master | removeAxisDrift.m | .m | palm-siever-master/lib/removeAxisDrift.m | 633 | utf_8 | 8ab944ee3d43c5c57f87e81598db76e3 | %-----------------------------------------------------
function xc = removeAxisDrift(x,t,xDrift,tUn);
%first, sort x,t in time
%then unsort at end
[tSort ix]= sort(t);
xSort=x(ix);
kk=1;
tCur = tUn(kk);
for ii = 1:numel(tSort)
while tSort(ii)~=tCur
kk = kk+1;
tCur = tUn(kk);
end
... |
github | PALMsiever/palm-siever-master | Wobble_correction.m | .m | palm-siever-master/plugin-test/Wobble_correction.m | 23,119 | utf_8 | 640c3980df3115279811df501351c0a8 | function varargout = Wobble_correction(varargin)
% WOBBLE_CORRECTION MATLAB code for Wobble_correction.fig
% WOBBLE_CORRECTION, by itself, creates a new WOBBLE_CORRECTION or raises the existing
% singleton*.
%
% H = WOBBLE_CORRECTION returns the handle to a new WOBBLE_CORRECTION or the handle to
% t... |
github | PALMsiever/palm-siever-master | Drift_correction_prePostImages.m | .m | palm-siever-master/plugin-test/Drift_correction_prePostImages.m | 13,672 | utf_8 | 725156c75caab6fe0c58b9494515ccc0 | function varargout = Drift_correction_prePostImages(varargin)
% DRIFT_CORRECTION_PREPOSTIMAGES MATLAB code for Drift_correction_prePostImages.fig
% DRIFT_CORRECTION_PREPOSTIMAGES, by itself, creates a new DRIFT_CORRECTION_PREPOSTIMAGES or raises the existing
% singleton*.
%
% H = DRIFT_CORRECTION_PREPOST... |
github | lizj3624/TeamTalk-master | FMSearchTokenField.m | .m | TeamTalk-master/mac/TeamTalk/interface/mainWindow/FMSearchTokenField.m | 4,519 | utf_8 | 2a89df28133e0c91280b5daf58944c94 | //
// FMSearchTokenField.m
// Duoduo
//
// Created by zuoye on 13-12-23.
// Copyright (c) 2013年 zuoye. All rights reserved.
//
#import "FMSearchTokenField.h"
#import "FMSearchTokenFieldCell.h"
@implementation FMSearchTokenField
@synthesize sendActionWhenEditing=_sendActionWhenEditing;
@synthesize alwaysSendAction... |
github | lizj3624/TeamTalk-master | DDNinePartImage.m | .m | TeamTalk-master/mac/TeamTalk/interface/mainWindow/searchField/DDNinePartImage.m | 6,722 | utf_8 | 6dac0c29b80d07b31ccfd0b48ec932de | //
// DDNinePartImage.m
// Duoduo
//
// Created by zuoye on 14-1-20.
// Copyright (c) 2014年 zuoye. All rights reserved.
//
#import "DDNinePartImage.h"
@implementation DDNinePartImage
-(id)initWithNSImage:(NSImage *)image leftPartWidth:(CGFloat)leftWidth rightPartWidth:(CGFloat)rightWidth topPartHeight:(CGFloat)t... |
github | lizj3624/TeamTalk-master | echo_diagnostic.m | .m | TeamTalk-master/win-client/3rdParty/src/libspeex/libspeex/echo_diagnostic.m | 2,076 | utf_8 | 8d5e7563976fbd9bd2eda26711f7d8dc | % Attempts to diagnose AEC problems from recorded samples
%
% out = echo_diagnostic(rec_file, play_file, out_file, tail_length)
%
% Computes the full matrix inversion to cancel echo from the
% recording 'rec_file' using the far end signal 'play_file' using
% a filter length of 'tail_length'. The output is saved to 'o... |
github | lizj3624/TeamTalk-master | echo_diagnostic.m | .m | TeamTalk-master/android/app/src/main/jni/libspeex/echo_diagnostic.m | 2,076 | utf_8 | 8d5e7563976fbd9bd2eda26711f7d8dc | % Attempts to diagnose AEC problems from recorded samples
%
% out = echo_diagnostic(rec_file, play_file, out_file, tail_length)
%
% Computes the full matrix inversion to cancel echo from the
% recording 'rec_file' using the far end signal 'play_file' using
% a filter length of 'tail_length'. The output is saved to 'o... |
github | qqyoungqq/export_fig-master | pdftops.m | .m | export_fig-master/pdftops.m | 3,186 | utf_8 | 6d98bc96a6c451245ad6400431e8bee1 | function varargout = pdftops(cmd)
%PDFTOPS Calls a local pdftops executable with the input command
%
% Example:
% [status result] = pdftops(cmd)
%
% Attempts to locate a pdftops executable, finally asking the user to
% specify the directory pdftops was installed into. The resulting path is
% stored for futur... |
github | qqyoungqq/export_fig-master | crop_borders.m | .m | export_fig-master/crop_borders.m | 3,150 | utf_8 | 7a4e0147bc44a93b075fb837862f4d50 | %CROP_BORDERS Crop the borders of an image or stack of images
%
% [B, vA, vB, bb_rel] = crop_borders(A, bcol, [padding])
%
%IN:
% A - HxWxCxN stack of images.
% bcol - Cx1 background colour vector.
% padding - scalar indicating how much padding to have in relation to
% the cropped-image-size... |
github | qqyoungqq/export_fig-master | isolate_axes.m | .m | export_fig-master/isolate_axes.m | 3,787 | utf_8 | 453f95309059c464d4388c2e6c56d249 | %ISOLATE_AXES Isolate the specified axes in a figure on their own
%
% Examples:
% fh = isolate_axes(ah)
% fh = isolate_axes(ah, vis)
%
% This function will create a new figure containing the axes/uipanels
% specified, and also their associated legends and colorbars. The objects
% specified must all be in th... |
github | qqyoungqq/export_fig-master | im2gif.m | .m | export_fig-master/im2gif.m | 6,234 | utf_8 | 8ee74d7d94e524410788276aa41dd5f1 | %IM2GIF Convert a multiframe image to an animated GIF file
%
% Examples:
% im2gif infile
% im2gif infile outfile
% im2gif(A, outfile)
% im2gif(..., '-nocrop')
% im2gif(..., '-nodither')
% im2gif(..., '-ncolors', n)
% im2gif(..., '-loops', n)
% im2gif(..., '-delay', n)
%
% This function c... |
github | qqyoungqq/export_fig-master | read_write_entire_textfile.m | .m | export_fig-master/read_write_entire_textfile.m | 961 | utf_8 | 775aa1f538c76516c7fb406a4f129320 | %READ_WRITE_ENTIRE_TEXTFILE Read or write a whole text file to/from memory
%
% Read or write an entire text file to/from memory, without leaving the
% file open if an error occurs.
%
% Reading:
% fstrm = read_write_entire_textfile(fname)
% Writing:
% read_write_entire_textfile(fname, fstrm)
%
%IN:
% fn... |
github | qqyoungqq/export_fig-master | pdf2eps.m | .m | export_fig-master/pdf2eps.m | 1,522 | utf_8 | 4c8f0603619234278ed413670d24bdb6 | %PDF2EPS Convert a pdf file to eps format using pdftops
%
% Examples:
% pdf2eps source dest
%
% This function converts a pdf file to eps format.
%
% This function requires that you have pdftops, from the Xpdf suite of
% functions, installed on your system. This can be downloaded from:
% http://www.foolabs.c... |
github | qqyoungqq/export_fig-master | print2array.m | .m | export_fig-master/print2array.m | 9,004 | utf_8 | ba5776846eae96aa203d3e2a7de92c74 | %PRINT2ARRAY Exports a figure to an image array
%
% Examples:
% A = print2array
% A = print2array(figure_handle)
% A = print2array(figure_handle, resolution)
% A = print2array(figure_handle, resolution, renderer)
% A = print2array(figure_handle, resolution, renderer, gs_options)
% [A bcol] = print2... |
github | qqyoungqq/export_fig-master | append_pdfs.m | .m | export_fig-master/append_pdfs.m | 2,759 | utf_8 | 9b52be41aff48bea6f27992396900640 | %APPEND_PDFS Appends/concatenates multiple PDF files
%
% Example:
% append_pdfs(output, input1, input2, ...)
% append_pdfs(output, input_list{:})
% append_pdfs test.pdf temp1.pdf temp2.pdf
%
% This function appends multiple PDF files to an existing PDF file, or
% concatenates them into a PDF file if the o... |
github | qqyoungqq/export_fig-master | using_hg2.m | .m | export_fig-master/using_hg2.m | 475 | utf_8 | 91dfa42a4a730ea66e667add3b208c4b | %USING_HG2 Determine if the HG2 graphics pipeline is used
%
% tf = using_hg2(fig)
%
%IN:
% fig - handle to the figure in question.
%
%OUT:
% tf - boolean indicating whether the HG2 graphics pipeline is being used
% (true) or not (false).
function tf = using_hg2(fig)
try
if nargin < 1, fi... |
github | qqyoungqq/export_fig-master | eps2pdf.m | .m | export_fig-master/eps2pdf.m | 7,148 | utf_8 | 69c685c9fae100d350f5835966043c93 | %EPS2PDF Convert an eps file to pdf format using ghostscript
%
% Examples:
% eps2pdf source dest
% eps2pdf(source, dest, crop)
% eps2pdf(source, dest, crop, append)
% eps2pdf(source, dest, crop, append, gray)
% eps2pdf(source, dest, crop, append, gray, quality)
% eps2pdf(source, dest, crop, append,... |
github | qqyoungqq/export_fig-master | copyfig.m | .m | export_fig-master/copyfig.m | 1,382 | utf_8 | 56efb8b48b1f348a48e1d5a64b357bf8 | %COPYFIG Create a copy of a figure, without changing the figure
%
% Examples:
% fh_new = copyfig(fh_old)
%
% This function will create a copy of a figure, but not change the figure,
% as copyobj sometimes does, e.g. by changing legends.
%
% IN:
% fh_old - The handle of the figure to be copied. Default: gc... |
github | qqyoungqq/export_fig-master | user_string.m | .m | export_fig-master/user_string.m | 2,460 | utf_8 | e8aa836a5140410546fceccb4cca47aa | %USER_STRING Get/set a user specific string
%
% Examples:
% string = user_string(string_name)
% saved = user_string(string_name, new_string)
%
% Function to get and set a string in a system or user specific file. This
% enables, for example, system specific paths to binaries to be saved.
%
% IN:
% string_name - ... |
github | qqyoungqq/export_fig-master | export_fig.m | .m | export_fig-master/export_fig.m | 44,611 | utf_8 | 827904dc7acf89fa294a06c2f8566149 | %EXPORT_FIG Exports figures in a publication-quality format
%
% Examples:
% imageData = export_fig
% [imageData, alpha] = export_fig
% export_fig filename
% export_fig filename -format1 -format2
% export_fig ... -nocrop
% export_fig ... -transparent
% export_fig ... -native
% export_fig ... -... |
github | qqyoungqq/export_fig-master | ghostscript.m | .m | export_fig-master/ghostscript.m | 7,135 | utf_8 | cbbeb57eb0e1a62a23ba0b8574785d04 | %GHOSTSCRIPT Calls a local GhostScript executable with the input command
%
% Example:
% [status result] = ghostscript(cmd)
%
% Attempts to locate a ghostscript executable, finally asking the user to
% specify the directory ghostcript was installed into. The resulting path
% is stored for future reference.
% ... |
github | qqyoungqq/export_fig-master | fix_lines.m | .m | export_fig-master/fix_lines.m | 6,441 | utf_8 | ffda929ebad8144b1e72d528fa5d9460 | %FIX_LINES Improves the line style of eps files generated by print
%
% Examples:
% fix_lines fname
% fix_lines fname fname2
% fstrm_out = fixlines(fstrm_in)
%
% This function improves the style of lines in eps files generated by
% MATLAB's print function, making them more similar to those seen on
% scre... |
github | terrykong/LaTeX-Decompiler-master | findPageMarginsDemo.m | .m | LaTeX-Decompiler-master/Preprocessing/findPageMarginsDemo.m | 2,337 | utf_8 | d23bf53c369a48e052950d09cc04575e | function [ output_image ] = findPageMarginsDemo( input_image )
% Assuming that the background is darker, there should be large horizontal
% and vertical streaks of black. Use this information and find the longest
% such streaks (this locates edges)
%
% This also assumes there are no characters or pertinent structures t... |
github | terrykong/LaTeX-Decompiler-master | oCCReduce.m | .m | LaTeX-Decompiler-master/whiteRectEnum/oCCReduce.m | 2,936 | utf_8 | 1f40c50fe8d1ad1430e3d1a3e6ee8442 | %% Output
%
% reducedBoxTopLeft (is downsampled by downFactor)
% reducedBoxTop (is downsampled by downFactor)
% figmask (= 1 for big bounding boxes (likely figures))
% (@ original resolution not downsampled))
% boundingBox (is downsampled by downFactor)
% CCLoc ... |
github | terrykong/LaTeX-Decompiler-master | findPageMarginsDemo.m | .m | LaTeX-Decompiler-master/Demo (Server Side)/Preprocessing/findPageMarginsDemo.m | 2,337 | utf_8 | d23bf53c369a48e052950d09cc04575e | function [ output_image ] = findPageMarginsDemo( input_image )
% Assuming that the background is darker, there should be large horizontal
% and vertical streaks of black. Use this information and find the longest
% such streaks (this locates edges)
%
% This also assumes there are no characters or pertinent structures t... |
github | terrykong/LaTeX-Decompiler-master | oCCReduce.m | .m | LaTeX-Decompiler-master/Demo (Server Side)/whiteRectEnum/oCCReduce.m | 3,279 | utf_8 | ff2d472caba07d7ecab445fb803d65e7 | %% Output
%
% reducedBoxTopLeft (is downsampled by downFactor)
% reducedBoxTop (is downsampled by downFactor)
% figmask (= 1 for big bounding boxes (likely figures))
% (@ original resolution not downsampled))
% boundingBox (is downsampled by downFactor)
% CCLoc ... |
github | terrykong/LaTeX-Decompiler-master | oCCReduce.m | .m | LaTeX-Decompiler-master/Demo (Server Side)/Classification/oCCReduce.m | 2,936 | utf_8 | 1f40c50fe8d1ad1430e3d1a3e6ee8442 | %% Output
%
% reducedBoxTopLeft (is downsampled by downFactor)
% reducedBoxTop (is downsampled by downFactor)
% figmask (= 1 for big bounding boxes (likely figures))
% (@ original resolution not downsampled))
% boundingBox (is downsampled by downFactor)
% CCLoc ... |
github | terrykong/LaTeX-Decompiler-master | classifyText.m | .m | LaTeX-Decompiler-master/Demo (Server Side)/Classification/classifyText.m | 8,016 | utf_8 | c05f9282b0ec8c3eb759e02398a1a75d | function [blockType, textLines, classifyReason] = classifyText(CCpixels,im,figmask,plotFlag)
% Input:
% - CCpixels = list of pixels for 1 connected component
% - im = binary image
% - figmask = figure mask (shouldn't be necessary but helps classify
%
% Output:
% - blocktype = string that identifies the p... |
github | terrykong/LaTeX-Decompiler-master | oCCReduce.m | .m | LaTeX-Decompiler-master/Classification/oCCReduce.m | 2,936 | utf_8 | 1f40c50fe8d1ad1430e3d1a3e6ee8442 | %% Output
%
% reducedBoxTopLeft (is downsampled by downFactor)
% reducedBoxTop (is downsampled by downFactor)
% figmask (= 1 for big bounding boxes (likely figures))
% (@ original resolution not downsampled))
% boundingBox (is downsampled by downFactor)
% CCLoc ... |
github | terrykong/LaTeX-Decompiler-master | classifyText.m | .m | LaTeX-Decompiler-master/Classification/classifyText.m | 8,016 | utf_8 | c05f9282b0ec8c3eb759e02398a1a75d | function [blockType, textLines, classifyReason] = classifyText(CCpixels,im,figmask,plotFlag)
% Input:
% - CCpixels = list of pixels for 1 connected component
% - im = binary image
% - figmask = figure mask (shouldn't be necessary but helps classify
%
% Output:
% - blocktype = string that identifies the p... |
github | StochSS/StochKit-master | StochKitGUI.m | .m | StochKit-master/tools/MATLAB/StochKitGUI.m | 23,482 | utf_8 | 354eb08fe63771a824c0d86b31e282b4 | function varargout = StochKitGUI(varargin)
% STOCHKITGUI M-file for StochKitGUI.fig
% STOCHKITGUI, by itself, creates a new STOCHKITGUI or raises the existing
% singleton*.
%
% H = STOCHKITGUI returns the handle to a new STOCHKITGUI or the handle to
% the existing singleton*.
%
% STOCHKITGUI('C... |
github | gremau/NMEG_FluxProc-master | create_flux_matlab_binaries.m | .m | NMEG_FluxProc-master/create_flux_matlab_binaries.m | 6,646 | utf_8 | e8919b47488a573e74ab1baeb37e76a7 | function success = create_flux_matlab_binaries( ameriflux, fluxall )
% CREATE_FLUX_MATLAB_BINARIES - create matlab binary .mat files for all UNM
% site-years for Ameriflux files or fluxall files.
%
% These binary files load into matlab much more quickly than their text
% representations.
%
% USAGE
% success = create_... |
github | gremau/NMEG_FluxProc-master | soil_data_averager.m | .m | NMEG_FluxProc-master/soil_data_averager.m | 10,373 | utf_8 | 6c7243eabdd9683bb7062a7469cbf905 | function [ avg_soil_data, avg_by_cover, avg_by_depth ] = ...
soil_data_averager( soil_data, varargin )
% SOIL_DATA_AVERAGER - calculates average soil data (moisture or temperature)
% within cover type, depth groups. Also computes average by cover type.
%
% USAGE:
% [ avg_soil_data, avg_by_cover, avg_by_depth... |
github | gremau/NMEG_FluxProc-master | get_site_name.m | .m | NMEG_FluxProc-master/get_site_name.m | 2,596 | utf_8 | 6adbd38e5688f27e34b0fdfaece1e7fe | function [ site_name ] = get_site_name( this_site_code, varargin )
% GET_SITE_NAME - return the site name abbreviation for a specified integer site
% code.
%
% Issues error and displays a list of valid site name - site code pairs if input
% argument is not a valid site code.
%
% USAGE
% [ site_name ] = get_site_n... |
github | gremau/NMEG_FluxProc-master | UNM_parse_reddyproc_output.m | .m | NMEG_FluxProc-master/UNM_parse_reddyproc_output.m | 4,075 | utf_8 | dd536b437bbdf77a04c1c8e1ef3de839 | function tbl_gf_pt = UNM_parse_reddyproc_output( sitecode, year )
% UNM_PARSE_REDDYPROC_OUTPUT - parse the output of ReddyProc
% gapfilling/partitioning tool (local) into Matlab dataset array.
%
% In January 2012 Jena updated the online tool to merge the old
% DatasetAfterGapfill.txt into DataSetAfterPartition_GL2010... |
github | gremau/NMEG_FluxProc-master | UNM_WPLMassman.m | .m | NMEG_FluxProc-master/UNM_WPLMassman.m | 2,727 | utf_8 | ccd3c4ffe66eb6eb0b825041e0c0a4cf | function [Uz_co2_c,Uz_h2o_c,Uz_Ts_c,Fc_c,LE_c,Hs_wet_c,Hs_dry_c,H_wet_c,James_water_term,James_heat_term,zoL,Uz_rhov_c]= ...
UNM_WPLMassman(uvw,Uz_Ts_rot,Uz_h2o_rot,Uz_co2_rot,CO2,TD,RHO,USTAR,hsout,sep2,angle,z_CSAT,pair_Pa,H2O,Lv,h_canopy,wrhovmax2);
% no e in UNM Matlab code since that is output from HMP45C in... |
github | gremau/NMEG_FluxProc-master | concatenate_all_PPine_soil_data.m | .m | NMEG_FluxProc-master/concatenate_all_PPine_soil_data.m | 12,998 | utf_8 | 4b1ba5d5b260913e19482d5ff72e0cf9 | function tbl = concatenate_all_PPine_soil_data()
% CONCATENATE_ALL_PPINE_SOIL_DATA - parses soil data for PPine from several
% different sources and combines into one tab-delimited file.
%
% The files read and combined are:
% PP_Site_2008_2009_soil112.csv
% PP_Site_2009_2010_soil111.csv
% all .DAT files in t... |
github | gremau/NMEG_FluxProc-master | echo_SWC_T_correction_GLand.m | .m | NMEG_FluxProc-master/echo_SWC_T_correction_GLand.m | 6,024 | utf_8 | 9b364b5f967f70f9a207eaf4443fd01d | function VWC_Tc = echo_SWC_T_correction_GLand( VWC, T, pcp, tstamp, year, ...
debug_plots )
% echo_SWC_T_correction_GLand: applies temperature correction for ECH2O soil
% water content probes installed at GLand between May 2010 and June 2011.
%
% For details of the tempera... |
github | gremau/NMEG_FluxProc-master | UNM_Ameriflux_prepare_soil_met.m | .m | NMEG_FluxProc-master/UNM_Ameriflux_prepare_soil_met.m | 32,111 | utf_8 | 7b72e593541726cae98219d3a8b61c9a | function ds_out = UNM_Ameriflux_prepare_soil_met( sitecode, year, ...
data, ds_qc )
% UNM_AMERIFLUX_PREPARE_SOIL_MET -
%
% contains the section of UNM_Ameriflux_file_maker.m as of 15 Aug 2011 that
% gathers/calculates all the soil met properties. By modularizing i... |
github | gremau/NMEG_FluxProc-master | cs616_period2vwc.m | .m | NMEG_FluxProc-master/cs616_period2vwc.m | 11,771 | utf_8 | 89783ca46667f4e2519a4d4d85476068 | function vwc = cs616_period2vwc( raw_swc, varargin )
% CS616_PERIOD2VWC - apply Campbell Scientific CS616 conversion equation to
% convert cs616 period (in microseconds) to volumetric water content
% (fraction).
%
% Returns temperature-corrected or non-temperature-corrected VWC.
%
% USAGE:
% vwc = cs616_period2vwc... |
github | gremau/NMEG_FluxProc-master | UNM_assign_soil_data_labels.m | .m | NMEG_FluxProc-master/UNM_assign_soil_data_labels.m | 27,483 | utf_8 | f3a44d73095e67572c4e2abd65b97cb3 | function fluxall = UNM_assign_soil_data_labels( sitecode, year, fluxall )
% UNM_ASSIGN_SOIL_DATA_LABELS - assign labels to soil measurements.
%
% Labels are of the format soilT_cover_index_depth_*, where cover, index, and
% depth are character strings. e.g. "soilT_O_2_12.5_avg" denotes cover type
% open, index (... |
github | gremau/NMEG_FluxProc-master | fill_soil_water_gaps.m | .m | NMEG_FluxProc-master/fill_soil_water_gaps.m | 5,023 | utf_8 | fa420871a4a530c4302c06cdd6735e0c | function swc = fill_soil_water_gaps( swc, pcp, draw_plots )
% FILL_SOIL_WATER_GAPS - fills gaps in soil water content time series by linear
% interpolation.
%
% Gaps are filled by linear interpolation where no precipitation occurred during
% the gap. Where precipitation occured during the gap, the last valid soil
% wa... |
github | gremau/NMEG_FluxProc-master | flux7500freeman_lag.m | .m | NMEG_FluxProc-master/flux7500freeman_lag.m | 30,298 | utf_8 | a484a98f7aebf556dbb35779e0c036b6 | %function [CO2OUT,H2OOUT,FCO2,FH2O,HSENSIBLE,HLATENT,RHOM,Lv,COVCHT,AGCSTATS]=flux7500marcy(uvw,SONDIAG,CO2,H2O,TD,RHO,irgadiag,flag);
function [CO2OUT,H2OOUT,FCO2,FH2O,HSENSIBLE,HLATENT,RHOM,TDRY,OKNUM,zoL]=flux7500freeman_lag(year_ts,month_ts,uvw,uvwmean,USTAR,SONDIAG,CO2,H2O,TD,RHO,idiag,irgadiag,rotation,site,sitec... |
github | gremau/NMEG_FluxProc-master | UNM_run_gapfiller.m | .m | NMEG_FluxProc-master/UNM_run_gapfiller.m | 17,035 | utf_8 | c201ecbc61cca6fbf6d078004c586cdd | function gf_data_outfile = UNM_run_gapfiller( sitecode, year, varargin )
% UNM_RUN_GAPFILLER - run the MPI gapfiller/partitioner for the specified site year.
%
% This is the main wrapper function to use the Max Planck Institute's (MPI) eddy
% covariance flux gapfiller/partitioner to gapfill and partition a specifie... |
github | gremau/NMEG_FluxProc-master | fill_30min_flux_processor.m | .m | NMEG_FluxProc-master/fill_30min_flux_processor.m | 36,339 | utf_8 | 047e96624572a38259b326fc5b479e66 | %Program to read 30-min data in from flux_all files, make corrections, and
%write the corrected fluxes back to the flux_all files. This is used only
%when the ts data are not available for time periods but the 30-min data
%are
%Written by John DeLong summer 2008
% Edited by Mike Fuller, July 2011
% This version was ... |
github | gremau/NMEG_FluxProc-master | calculate_heat_flux.m | .m | NMEG_FluxProc-master/calculate_heat_flux.m | 5,008 | utf_8 | 5395d2c583b6e1dac8bd9740238633cd | function SHF_with_storage = calculate_heat_flux( TCAV, ...
VWC, ...
SHF_pars, ...
SHF, ...
SHF_conv_factor )
% CALCULATE_HEA... |
github | gremau/NMEG_FluxProc-master | FLUXALL_data.m | .m | NMEG_FluxProc-master/FLUXALL_data.m | 40,289 | utf_8 | 106cbdb4c4dd92ae8801488313fa456d | classdef FLUXALL_data
% Class to represent UNM annual FLUXALL file data.
%
% this class is meant to unify the Matlab representation of data in the
% (pre-2012) Excel spreadsheet fluxall files and the 2012-present delimited
% ASCII fluxall files. It is a work in progress (As of Aug 2013). The idea is
% to provide stor... |
github | gremau/NMEG_FluxProc-master | amend_gapfilling_and_partitioning.m | .m | NMEG_FluxProc-master/amend_gapfilling_and_partitioning.m | 14,864 | utf_8 | 796a891e97ea6407e035949c3cbd5031 | function data_amended = amend_gapfilling_and_partitioning( site, yr, data_in )
% AMEND_GAPFILLING_AND_PARTITIONING - fix or remove periods where
% gapfilled and partitioned fluxes fail or are ridiculous
%
% FIXME: documentation
%
% Called from Ameriflux File Maker
%
% INPUTS
% site: UNM_sites object; which site?
... |
github | gremau/NMEG_FluxProc-master | UNM_RemoveBadData.m | .m | NMEG_FluxProc-master/UNM_RemoveBadData.m | 98,141 | utf_8 | 6f53f9b02f5b9f5cf45a17cf71854428 | function [] = UNM_RemoveBadData( sitecode, year, varargin )
% UNM_REMOVEBADDATA - remove bogus observations from UNM flux data and write
% filtered data to delimited ASCII files FOR SITE-YEARS 2012 AND LATER.
%
% This program was created by Krista Anderson Teixeira in July 2007
% Modified by John DeLong 2008 through 20... |
github | gremau/NMEG_FluxProc-master | UNM_Ameriflux_Data_Viewer.m | .m | NMEG_FluxProc-master/UNM_Ameriflux_Data_Viewer.m | 11,328 | utf_8 | 8257ebd819a6b6a6de2269e8a16065f6 | function UNM_Ameriflux_Data_Viewer( sitecode, year, varargin )
% UNM_Ameriflux_Data_Viewer -- a graphical user interface to view and compare
% gapfilled and non-gapfilled Ameriflux data
%
% Creates new figure window and plots each variable from gapfilled (upper panel)
% and with-gaps (lower panel) Ameriflux file. Prev... |
github | gremau/NMEG_FluxProc-master | UNM_coordrot.m | .m | NMEG_FluxProc-master/UNM_coordrot.m | 1,877 | utf_8 | 9bf48d1b1324e36c18df6e8b60b16e68 | %function [Urot,alpha,beta]=coordrot(U,IFLAG)
function [Urot,uvwmeanrot]=UNM_coordrot(U,SONDIAG)
%modified Jan 08 by K. Anderson-Teixeira to implement planar fit technique
%
%as described in Wilczak et al. 2001.
%program retains ability to do double or triple rotation.
%Marcy's code:
% 1/21/2001 - modi... |
github | gremau/NMEG_FluxProc-master | get_MCon_SAHRA_data.m | .m | NMEG_FluxProc-master/get_MCon_SAHRA_data.m | 8,146 | utf_8 | e4005c67bf3c035d85bef21d5a1f462b | function Tmain = get_MCon_SAHRA_data( year )
% GET_MCON_SAHRA_DATA - parse data collected at MCon by SAHRA station.
%
% There was a SAHRA station at the MCon site that collected data between
% 2006 and 2013. These data include from met, sapflow, and (1) soil
% profile sensors. These data are parsed from
% $FLUXROOT/Sit... |
github | gremau/NMEG_FluxProc-master | script_precip_analysis.m | .m | NMEG_FluxProc-master/scripts/script_precip_analysis.m | 16,662 | utf_8 | 19976bbb3622a796a3a3492101aa139d | function [] = script_precip_analysis()
% sitelist = {UNM_sites.MCon, UNM_sites.PJ,...
% UNM_sites.PPine, , UNM_sites.PJ_girdle, UNM_sites.SLand, UNM_sites.JSav, UNM_sites.GLand};
sitelist = {UNM_sites.GLand};
yearlist = 2007;
count = 1;
this_soildat = []
for i = 1:length(sitelist)
for j = 1:length(yearlist)
... |
github | gremau/NMEG_FluxProc-master | UNM_30min_flux_processor_071610.m | .m | NMEG_FluxProc-master/deprecated_code/UNM_30min_flux_processor_071610.m | 35,664 | utf_8 | fac69fc915a0a1c330a5541b4eb108e3 | %Program to read 30-min data in from flux_all files, make corrections, and
%write the corrected fluxes back to the flux_all files. This is used only
%when the ts data are not available for time periods but the 30-min data
%are
%Written by John DeLong summer 2008
%UNM_30min_flux_processor_v2
function [] = UNM_30min_... |
github | gremau/NMEG_FluxProc-master | UNM_30min_flux_processor.m | .m | NMEG_FluxProc-master/deprecated_code/UNM_30min_flux_processor.m | 22,274 | utf_8 | dc92f675a00aea1710e1a1af75d73d37 | %Program to read 30-min data in from flux_all files, make corrections, and
%write the corrected fluxes back to the flux_all files. This is used only
%when the ts data are not available for time periods but the 30-min data
%are
%Written by John DeLong summer 2008
function [] = UNM_30min_flux_processor(sitecode,year,f... |
github | gremau/NMEG_FluxProc-master | concatenate_all_MCon_soil_data.m | .m | NMEG_FluxProc-master/deprecated_code/concatenate_all_MCon_soil_data.m | 4,039 | utf_8 | b9588965cfcf02a17422daee24eac41e | function ds = concatenate_all_MCon_soil_data()
% CONCATENATE_ALL_MCON_SOIL_DATA - concatenate all .dat files from the working directory into a single MCon soil dataset object
%
% FIXME - deprecated file, replaced by parse_MCon_SAHRA_data.m
%
ds = parse_MCon_soil_DAT_file( 'MCon_soil_data_20070101_20130814.dat' );
%... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.