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
mehta-lab/Instantaneous-PolScope-master
nucleiDetectionProcessGUI.m
.m
Instantaneous-PolScope-master/MehtaetalPNAS2016/contrib/u-track-2.1.3/software/nucleiDetectionProcessGUI.m
7,045
utf_8
9739f37fd2f90691d1951528581099cd
function varargout = nucleiDetectionProcessGUI(varargin) % nucleiDetectionProcessGUI M-file for nucleiDetectionProcessGUI.fig % nucleiDetectionProcessGUI, by itself, creates a new nucleiDetectionProcessGUI or raises the existing % singleton*. % % H = nucleiDetectionProcessGUI returns the handle to a new ...
github
mehta-lab/Instantaneous-PolScope-master
fitGaussians2D.m
.m
Instantaneous-PolScope-master/MehtaetalPNAS2016/contrib/u-track-2.1.3/software/fitGaussians2D.m
7,593
utf_8
513d8a065b094059546a78abd0fda5e7
% pStruct = fitGaussians2D(img, x, y, A, sigma, c, mode, varargin) % % Inputs: img : input image % x : initial (or fixed) x-positions % y : initial (or fixed) y-positions % A : initial (or fixed) amplitudes % s : initial (or fixed) Gaussian PSF standard deviations % ...
github
mehta-lab/Instantaneous-PolScope-master
plusTipGroupAnalysisGUI.m
.m
Instantaneous-PolScope-master/MehtaetalPNAS2016/contrib/u-track-2.1.3/software/plusTipGroupAnalysisGUI.m
8,132
utf_8
40f61ae979266c3cb5c4afed08624583
function varargout = plusTipGroupAnalysisGUI(varargin) % plusTipGroupAnalysisGUI M-file for plusTipGroupAnalysisGUI.fig % plusTipGroupAnalysisGUI, by itself, creates a new plusTipGroupAnalysisGUI or raises the existing % singleton*. % % H = plusTipGroupAnalysisGUI returns the handle to a new plusTipGroup...
github
mehta-lab/Instantaneous-PolScope-master
userfcn_checkAllMovies.m
.m
Instantaneous-PolScope-master/MehtaetalPNAS2016/contrib/u-track-2.1.3/software/userfcn_checkAllMovies.m
2,874
utf_8
a98e78bc49340218e28cbdcf47bf4341
function userfcn_checkAllMovies(procID, value, handles) if get(handles.checkbox_all, 'Value') userData = get(handles.figure1, 'UserData'); for x = setdiff(1:length(userData.MD), userData.id) % Recalls the userData that may have been updated by the % checkAllMovies function % % Copyright (C...
github
mehta-lab/Instantaneous-PolScope-master
movieSelectorGUI.m
.m
Instantaneous-PolScope-master/MehtaetalPNAS2016/contrib/u-track-2.1.3/software/movieSelectorGUI.m
21,130
utf_8
d0588976a362aa866f6160327e354d6b
function varargout = movieSelectorGUI(varargin) % MOVIESELECTORGUI M-file for movieSelectorGUI.fig % MOVIESELECTORGUI, by itself, creates a new MOVIESELECTORGUI or raises the existing % singleton*. % % H = MOVIESELECTORGUI returns the handle to a new MOVIESELECTORGUI or the handle to % the existing ...
github
mehta-lab/Instantaneous-PolScope-master
omeroLoginGUI.m
.m
Instantaneous-PolScope-master/MehtaetalPNAS2016/contrib/u-track-2.1.3/software/omeroLoginGUI.m
9,632
utf_8
c690ef742750cb9158a55665c3a013d0
function varargout = omeroLoginGUI(varargin) % OMEROLOGINGUI MATLAB code for omeroLoginGUI.fig % OMEROLOGINGUI, by itself, creates a new OMEROLOGINGUI or raises the existing % singleton*. % % H = OMEROLOGINGUI returns the handle to a new OMEROLOGINGUI or the handle to % the existing singleton*. % % ...
github
mehta-lab/Instantaneous-PolScope-master
rotateXTickLabels.m
.m
Instantaneous-PolScope-master/MehtaetalPNAS2016/contrib/u-track-2.1.3/software/rotateXTickLabels.m
3,735
utf_8
4cb3ba94d05825020b320669d2b73f77
%ROTATEXTICKLABELS rotates the labels on the x-axis % % INPUTS: ha : axis handle of the plot to be modified % 'Angle' : rotation in degrees. Default: 45 % % Copyright (C) 2014 LCCB % % This file is part of u-track. % % u-track is free software: you can redistribute it and/or modify % it under the terms o...
github
mehta-lab/Instantaneous-PolScope-master
costMatRandomDirectedSwitchingMotionLinkGUI.m
.m
Instantaneous-PolScope-master/MehtaetalPNAS2016/contrib/u-track-2.1.3/software/costMatRandomDirectedSwitchingMotionLinkGUI.m
10,941
utf_8
5508ccd4d85addedfb517fcd5b4e97d5
function varargout = costMatRandomDirectedSwitchingMotionLinkGUI(varargin) % COSTMATRANDOMDIRECTEDSWITCHINGMOTIONLINKGUI M-file for costMatRandomDirectedSwitchingMotionLinkGUI.fig % COSTMATRANDOMDIRECTEDSWITCHINGMOTIONLINKGUI, by itself, creates a new COSTMATRANDOMDIRECTEDSWITCHINGMOTIONLINKGUI or raises the exist...
github
mehta-lab/Instantaneous-PolScope-master
discriminationMatrix.m
.m
Instantaneous-PolScope-master/MehtaetalPNAS2016/contrib/u-track-2.1.3/software/discriminationMatrix.m
8,257
utf_8
cd1061252d13a1613adf40e4f2cad450
function compMatrices = discriminationMatrix(dataStructure,testStructure) %DISCRIMINATIONMATRIX generates discriminationMatrices comparing means and distributions of lists of values in the input data structures % % SYNOPSIS compMatrices = discriminationMatrix(dataStructure) % % INPUT dataStructure : n-by-1 structure...
github
mehta-lab/Instantaneous-PolScope-master
cometDetectionProcessGUI.m
.m
Instantaneous-PolScope-master/MehtaetalPNAS2016/contrib/u-track-2.1.3/software/cometDetectionProcessGUI.m
8,543
utf_8
3ef50498580c765caa0521bdab2239cb
function varargout = cometDetectionProcessGUI(varargin) % cometDetectionProcessGUI M-file for cometDetectionProcessGUI.fig % cometDetectionProcessGUI, by itself, creates a new cometDetectionProcessGUI or raises the existing % singleton*. % % H = cometDetectionProcessGUI returns the handle to a new cometD...
github
mehta-lab/Instantaneous-PolScope-master
plusTipCostMatLinearMotionLinkGUI.m
.m
Instantaneous-PolScope-master/MehtaetalPNAS2016/contrib/u-track-2.1.3/software/plusTipCostMatLinearMotionLinkGUI.m
8,348
utf_8
ef058bad2e121077bd52e5d1262d257e
function varargout = plusTipCostMatLinearMotionLinkGUI(varargin) % PLUSTIPCOSTMATLINEARMOTIONLINKGUI M-file for plusTipCostMatLinearMotionLinkGUI.fig % PLUSTIPCOSTMATLINEARMOTIONLINKGUI, by itself, creates a new PLUSTIPCOSTMATLINEARMOTIONLINKGUI or raises the existing % singleton*. % % H = PLUSTIPCOSTMAT...
github
mehta-lab/Instantaneous-PolScope-master
trackMSSAnalysis.m
.m
Instantaneous-PolScope-master/MehtaetalPNAS2016/contrib/u-track-2.1.3/software/trackMSSAnalysis.m
107,740
utf_8
4ed3a94d70b08446a794a81bc358b8a9
function [trackClass,mssSlope,genDiffCoef,scalingPower,normDiffCoef] ... = trackMSSAnalysis(tracks,probDim,momentOrders,alphaMSS) %TRACKMSSANALYSIS classifies trajectories based on their moment scaling spectrum % % Copyright (C) 2014 LCCB % % This file is part of u-track. % % u-track is free software: you can red...
github
mehta-lab/Instantaneous-PolScope-master
movieViewer.m
.m
Instantaneous-PolScope-master/MehtaetalPNAS2016/contrib/u-track-2.1.3/software/movieViewer.m
54,923
utf_8
c1ba064b9ee8edd24181bce7b51e7b7a
function mainFig = movieViewer(MO,varargin) %MOVIEVIEWER creates a graphical interface to display the analysis output of a MovieObject % % h = movieViewer(MD) % movieViewer(MD, [1 2]); % h = movieViewer(ML, 'movieIndex', 3); % % This function reads the components of a MovieObject including all % drawable anlaysis resu...
github
mehta-lab/Instantaneous-PolScope-master
extendedColors.m
.m
Instantaneous-PolScope-master/MehtaetalPNAS2016/contrib/u-track-2.1.3/software/extendedColors.m
6,641
utf_8
7c12bb63818f2066ec5edba247205fbf
function color = extendedColors(colorSwitch,drawTable,betaTable) %extendedColors gives a more extensive set of possible colors than the normal color switch % %SYNOPSIS color = extendedColors(colorSwitch, drawTable, betaTable) % %INPUT colorSwitch: can be any char from list 'rgbymcadefhijlnpqstuvzkw' or a % ...
github
mehta-lab/Instantaneous-PolScope-master
kalmanInitializationGUI.m
.m
Instantaneous-PolScope-master/MehtaetalPNAS2016/contrib/u-track-2.1.3/software/kalmanInitializationGUI.m
8,453
utf_8
e224b15b4633cb3c4ced2464d02f99cc
function varargout = kalmanInitializationGUI(varargin) % KALMANINITIALIZATIONGUI M-file for kalmanInitializationGUI.fig % KALMANINITIALIZATIONGUI, by itself, creates a new KALMANINITIALIZATIONGUI or raises the existing % singleton*. % % H = KALMANINITIALIZATIONGUI returns the handle to a new KALMANINITIA...
github
mehta-lab/Instantaneous-PolScope-master
graphViewer.m
.m
Instantaneous-PolScope-master/MehtaetalPNAS2016/contrib/u-track-2.1.3/software/graphViewer.m
12,427
utf_8
95719cc6341e559b786efdbd1ba49c2b
function graphFig = graphViewer(mainFig, graphProc, graphProcId, checkedId) %GRAPHVIEWER creates a graphical interface to display the graph output of a MovieObject % % This function creates a list of checkboxes for all graph processes which % output can be displayed in a standalone figure. It is called by % movieViewer...
github
mehta-lab/Instantaneous-PolScope-master
plusTipCostMatCloseGaps.m
.m
Instantaneous-PolScope-master/MehtaetalPNAS2016/contrib/u-track-2.1.3/software/plusTipCostMatCloseGaps.m
37,213
utf_8
1c55797419c9da78410cc5ee7d41d19b
function [costMat,nonlinkMarker,indxMerge,numMerge,indxSplit,numSplit,... errFlag] = plusTipCostMatCloseGaps(trackedFeatInfo,... trackedFeatIndx,trackStartTime,trackEndTime,costMatParam,gapCloseParam,... kalmanFilterInfo,nnDistLinkedFeat,probDim,movieInfo) %COSTMATLINEARMOTIONCLOSEGAPS provides a cost matri...
github
mehta-lab/Instantaneous-PolScope-master
dataPreparationGUI.m
.m
Instantaneous-PolScope-master/MehtaetalPNAS2016/contrib/u-track-2.1.3/software/dataPreparationGUI.m
29,233
utf_8
9fc08eb42e3bf3903fbdb663bd993eed
function varargout = dataPreparationGUI(varargin) % DATAPREPARATIONGUI M-file for dataPreparationGUI.fig % DATAPREPARATIONGUI, by itself, creates a new DATAPREPARATIONGUI or raises the existing % singleton*. % % H = DATAPREPARATIONGUI returns the handle to a new DATAPREPARATIONGUI or the handle to % ...
github
mehta-lab/Instantaneous-PolScope-master
progressText.m
.m
Instantaneous-PolScope-master/MehtaetalPNAS2016/contrib/u-track-2.1.3/software/progressText.m
5,109
utf_8
169b0a5dad48dba34c507abd1d6a74a3
function progressText(fractionDone,text) %PROGRESSTEXT shows progress of a loop as text on the screen % % SYNOPSIS: progressText(fractionDone,text) % % INPUT fractionDone: fraction of loop done (0-1) % text (opt): {yourTexthere} : XX% done xx:xx:xx remaining % Note: text can be changed for every call...
github
mehta-lab/Instantaneous-PolScope-master
getMultiplicity.m
.m
Instantaneous-PolScope-master/MehtaetalPNAS2016/contrib/u-track-2.1.3/software/getMultiplicity.m
1,713
utf_8
1ff95e962c1943b3db814735b84e7a35
% [r, udata, sdata] = getMultiplicity(data) returns the occurrences/Multiplicity of the elements of 'data' % % Inputs: % data : n-dimensional input array % % Outputs: % rep : # of occurrences for each element of 'data' % udata : sorted 1-D array of unique values in 'data' % sdata : sorte...
github
mehta-lab/Instantaneous-PolScope-master
readIXMHTDFileM.m
.m
Instantaneous-PolScope-master/MehtaetalPNAS2016/contrib/u-track-2.1.3/software/readIXMHTDFileM.m
3,478
utf_8
27632e6a934397be1be7145c0c4a7d57
function [wellFlags,siteFlags,wavelengthNames,hcsPlatestack]=readIXMHTDFileM(inputPath) % locate the HTD file % % Copyright (C) 2014 LCCB % % This file is part of u-track. % % u-track is free software: you can redistribute it and/or modify % it under the terms of the GNU General Public License as published by % the ...
github
mehta-lab/Instantaneous-PolScope-master
packageGUI_RunFcn.m
.m
Instantaneous-PolScope-master/MehtaetalPNAS2016/contrib/u-track-2.1.3/software/packageGUI_RunFcn.m
9,238
utf_8
a58d65798ec676fa520ea6512eb24195
function packageGUI_RunFcn(hObject,eventdata,handles) % Run the selected processes in the packageGUI interface % % This is a common section of code called by pushbutton_run_Callback % when user click the "Run" button on package control panels. % % Copyright (C) 2014 LCCB % % This file is part of u-track. % % u-track ...
github
mehta-lab/Instantaneous-PolScope-master
TracksDisplay.m
.m
Instantaneous-PolScope-master/MehtaetalPNAS2016/contrib/u-track-2.1.3/software/TracksDisplay.m
10,460
utf_8
6d2510617ad57c883a53ffbdabee9435
classdef TracksDisplay < MovieDataDisplay %Conrete class for displaying flow % % Copyright (C) 2014 LCCB % % This file is part of u-track. % % u-track is free software: you can redistribute it and/or modify % it under the terms of the GNU General Public License as published by % the Free Software Foundation, eith...
github
mehta-lab/Instantaneous-PolScope-master
GaussFitND.m
.m
Instantaneous-PolScope-master/MehtaetalPNAS2016/contrib/u-track-2.1.3/software/GaussFitND.m
23,268
utf_8
16617d7108993175ed8823c81033305b
function [parameters,sigmaParameters,Q,chiSquared,degreesOfFreedom,... residualImage,resAndGauss] = GaussFitND(intensities, coordList, ... fitParameters, parameters, isNormed, fitOptions) %GAUSSFITND fits one or several N-D Gaussians to an input intensity distribution % % SYNOPSIS: [parameters,sigmaParameters,Q...
github
mehta-lab/Instantaneous-PolScope-master
fitGaussianMixtures2D.m
.m
Instantaneous-PolScope-master/MehtaetalPNAS2016/contrib/u-track-2.1.3/software/fitGaussianMixtures2D.m
9,530
utf_8
d8f05a5e90ee9768227c3838d6aed570
% pStruct = fitGaussianMixtures2D(img, x, y, A, sigma, c, mode, varargin) % % Inputs: img : input image % x : initial (or fixed) x-positions % y : initial (or fixed) y-positions % A : initial (or fixed) amplitudes % s : initial (or fixed) Gaussian PSF standard deviation...
github
mehta-lab/Instantaneous-PolScope-master
abstractProcessGUI.m
.m
Instantaneous-PolScope-master/MehtaetalPNAS2016/contrib/u-track-2.1.3/software/abstractProcessGUI.m
6,533
utf_8
bfb6f0a72786910f9b8d6fae847543b7
function varargout = abstractProcessGUI(varargin) %ABSTRACTPROCESSGUI M-file for abstractProcessGUI.fig % ABSTRACTPROCESSGUI, by itself, creates a new ABSTRACTPROCESSGUI or raises the existing % singleton*. % % H = ABSTRACTPROCESSGUI returns the handle to a new ABSTRACTPROCESSGUI or the handle to % ...
github
mehta-lab/Instantaneous-PolScope-master
naFromLensID.m
.m
Instantaneous-PolScope-master/MehtaetalPNAS2016/contrib/u-track-2.1.3/software/naFromLensID.m
3,469
utf_8
2697834078098bf83f70f4ebdbbe386e
function [NA,mag] = naFromLensID(lensID,ask) %NAFROMLENSID is a lookup table to find the NA for a given lensID % % SYNOPSIS [NA,mag] = naFromLensID(lensID,ask) % % INPUT lensID : ID of the lens according to deltaVision % ask : Whether or not to ask for lensID if not found in list % ...
github
mehta-lab/Instantaneous-PolScope-master
pointSourceDetectionProcessGUI.m
.m
Instantaneous-PolScope-master/MehtaetalPNAS2016/contrib/u-track-2.1.3/software/pointSourceDetectionProcessGUI.m
28,298
utf_8
342372247e7d42dfc0ea2f0a7e5af5f5
function varargout = pointSourceDetectionProcessGUI(varargin) % anisoGaussianDetectionProcessGUI M-file for anisoGaussianDetectionProcessGUI.fig % anisoGaussianDetectionProcessGUI, by itself, creates a new anisoGaussianDetectionProcessGUI or raises the existing % singleton*. % % H = anisoGaussianDetectio...
github
mehta-lab/Instantaneous-PolScope-master
packageGUI.m
.m
Instantaneous-PolScope-master/MehtaetalPNAS2016/contrib/u-track-2.1.3/software/packageGUI.m
10,583
utf_8
3d8400f8615c3cd846444d403f0378cb
function varargout = packageGUI(varargin) % PACKAGEGUI M-file for packageGUI.fig % PACKAGEGUI, by itself, creates a new PACKAGEGUI or raises the existing % singleton*. % % H = PACKAGEGUI returns the handle to a new PACKAGEGUI or the handle to % the existing singleton*. % % PACKAGEGUI('CALLBACK'...
github
mehta-lab/Instantaneous-PolScope-master
getGaussianPSFsigma.m
.m
Instantaneous-PolScope-master/MehtaetalPNAS2016/contrib/u-track-2.1.3/software/getGaussianPSFsigma.m
3,287
utf_8
1bc6d7a33a0c071253b338643cab911f
%[sigma] = getGaussianPSFsigma(NA, M, pixelSize, lambda) returns the s.d. of the Gaussian PSF approximation % % Inputs NA : numerical aperture of the objective % M : magnification of the objective % pixelSize : physical pixel size of the CCD in [m] % lambda : emiss...
github
mehta-lab/Instantaneous-PolScope-master
addMovieROIGUI.m
.m
Instantaneous-PolScope-master/MehtaetalPNAS2016/contrib/u-track-2.1.3/software/addMovieROIGUI.m
11,173
utf_8
99046aa8e67f15ba9f3beb2966033c0e
function varargout = addMovieROIGUI(varargin) % addMovieROIGUI M-file for addMovieROIGUI.fig % addMovieROIGUI, by itself, creates a new addMovieROIGUI or raises the existing % singleton*. % % H = addMovieROIGUI returns the handle to a new addMovieROIGUI or the handle to % the existing singleton*. % ...
github
mehta-lab/Instantaneous-PolScope-master
trackingProcessGUI.m
.m
Instantaneous-PolScope-master/MehtaetalPNAS2016/contrib/u-track-2.1.3/software/trackingProcessGUI.m
16,305
utf_8
55317020c14298cee6e4d87fb6d56a40
function varargout = trackingProcessGUI(varargin) % TRACKINGPROCESSGUI M-file for trackingProcessGUI.fig % TRACKINGPROCESSGUI, by itself, creates a new TRACKINGPROCESSGUI or raises the existing % singleton*. % % H = TRACKINGPROCESSGUI returns the handle to a new TRACKINGPROCESSGUI or the handle to % ...
github
mehta-lab/Instantaneous-PolScope-master
packageGUI_OpeningFcn.m
.m
Instantaneous-PolScope-master/MehtaetalPNAS2016/contrib/u-track-2.1.3/software/packageGUI_OpeningFcn.m
14,244
utf_8
6220495595ec1b14ec4939661efd30d0
function packageGUI_OpeningFcn(hObject,eventdata,handles,packageName,varargin) % Callback called at the opening of packageGUI % % packageGUI_OpeningFcn(packageName,MD) MD: MovieData object % % % Copyright (C) 2014 LCCB % % This file is part of u-track. % % u-track is free software: you can redistribute it and/or mo...
github
mehta-lab/Instantaneous-PolScope-master
postProcessMovieComets.m
.m
Instantaneous-PolScope-master/MehtaetalPNAS2016/contrib/u-track-2.1.3/software/postProcessMovieComets.m
6,990
utf_8
0ac022ca6d0a09fb798c3f1ef7dab229
function postProcessMovieComets(movieData,varargin) % Track features in a movie which has been processed by a detection method % % Sebastien Besson, Feb 2012 % % Copyright (C) 2014 LCCB % % This file is part of u-track. % % u-track is free software: you can redistribute it and/or modify % it under the terms of the GN...
github
mehta-lab/Instantaneous-PolScope-master
omeroDataSelectionGUI.m
.m
Instantaneous-PolScope-master/MehtaetalPNAS2016/contrib/u-track-2.1.3/software/omeroDataSelectionGUI.m
13,227
utf_8
fc19b4145a74fe363555711ba2415a13
function varargout = omeroDataSelectionGUI(varargin) % OMERODATASELECTIONGUI MATLAB code for omeroDataSelectionGUI.fig % OMERODATASELECTIONGUI, by itself, creates a new OMERODATASELECTIONGUI or raises the existing % singleton*. % % H = OMERODATASELECTIONGUI returns the handle to a new OMERODATASELECTIONG...
github
mehta-lab/Instantaneous-PolScope-master
bfCheckJavaPath.m
.m
Instantaneous-PolScope-master/MehtaetalPNAS2016/contrib/u-track-2.1.3/software/bioformats/bfCheckJavaPath.m
3,237
utf_8
a8204822a04672d090a16a10d4e3bf12
function [status, version] = bfCheckJavaPath(varargin) % bfCheckJavaPath check Bio-Formats is included in the Java class path % % SYNOPSIS bfCheckJavaPath() % status = bfCheckJavaPath(autoloadBioFormats) % [status, version] = bfCheckJavaPath() % % Input % % autoloadBioFormats - Optional. A boole...
github
mehta-lab/Instantaneous-PolScope-master
createMinimalOMEXMLMetadata.m
.m
Instantaneous-PolScope-master/MehtaetalPNAS2016/contrib/u-track-2.1.3/software/bioformats/createMinimalOMEXMLMetadata.m
3,882
utf_8
5fca909f328b98da9546c3bbcb5eaefa
function metadata = createMinimalOMEXMLMetadata(I, varargin) % CREATEMINIMALOMEXMLMETADATA Create an OME-XML metadata object from an input matrix % % createMinimalOMEXMLMetadata(I) creates an OME-XML metadata object from % an input 5-D array. Minimal metadata information is stored such as the % pixels dimensio...
github
mehta-lab/Instantaneous-PolScope-master
bfsave.m
.m
Instantaneous-PolScope-master/MehtaetalPNAS2016/contrib/u-track-2.1.3/software/bioformats/bfsave.m
4,860
utf_8
4a3e7594e4db8454876906cad376fb5d
function bfsave(I, outputPath, varargin) % BFSAVE Save a 5D matrix into an OME-TIFF using Bio-Formats library % % bfsave(I, outputPath) writes the input 5D matrix into a new file % specified by outputPath. % % bfsave(I, outputPath, dimensionOrder) specifies the dimension order of % the input matrix. Default...
github
mehta-lab/Instantaneous-PolScope-master
strsetmatch.m
.m
Instantaneous-PolScope-master/MehtaetalPNAS2016/contrib/PropertyGrid/strsetmatch.m
928
utf_8
73f5541ad337bbbc7179cf71004b7062
% Indicator of which elements of a universal set are in a particular set. % % Input arguments: % strset: % the particular set as a cell array of strings % struniversal: % the universal set as a cell array of strings, all elements in the % particular set are expected to be in the universal set % % Output argume...
github
mehta-lab/Instantaneous-PolScope-master
helptext.m
.m
Instantaneous-PolScope-master/MehtaetalPNAS2016/contrib/PropertyGrid/helptext.m
1,593
utf_8
bd49205fc50aeae5a909c8b58a47be6d
% Help text associated with a function, class, property or method. % Spaces are removed as necessary. % % See also: helpdialog % Copyright 2008-2010 Levente Hunyadi function text = helptext(obj) if ischar(obj) text = gethelptext(obj); else text = gethelptext(class(obj)); end text = texttrim(text); function t...
github
mehta-lab/Instantaneous-PolScope-master
javaclass.m
.m
Instantaneous-PolScope-master/MehtaetalPNAS2016/contrib/PropertyGrid/javaclass.m
3,635
utf_8
7165e1fd27bd4f5898132023dc04662b
% Return java.lang.Class instance for MatLab type. % % Input arguments: % mtype: % the MatLab name of the type for which to return the java.lang.Class % instance % ndims: % the number of dimensions of the MatLab data type % % See also: class % Copyright 2009-2010 Levente Hunyadi function jclass = javaclass(mt...
github
mehta-lab/Instantaneous-PolScope-master
helpdialog.m
.m
Instantaneous-PolScope-master/MehtaetalPNAS2016/contrib/PropertyGrid/helpdialog.m
3,397
utf_8
f16f23c1b608a247bc5298f5ebc6d321
% Displays a dialog to give help information on an object. % % Examples: % helpdialog char % gives information of character arrays % helpdialog plot % gives help on the plot command % helpdialog(obj) % gives help on the MatLab object obj % % See also: helptext, msgbox % Copyright 2008-2010 Levente Hunyadi fun...
github
mehta-lab/Instantaneous-PolScope-master
getdependentproperties.m
.m
Instantaneous-PolScope-master/MehtaetalPNAS2016/contrib/PropertyGrid/getdependentproperties.m
907
utf_8
5f87bb7115d9bcacd8556d89a4492c44
% Publicly accessible dependent properties of an object. % % See also: meta.property % Copyright 2010 Levente Hunyadi function dependent = getdependentproperties(obj) dependent = {}; if isstruct(obj) % structures have no dependent properties return; end try clazz = metaclass(obj); catch %#ok<CTCH> retur...
github
mehta-lab/Instantaneous-PolScope-master
strjoin.m
.m
Instantaneous-PolScope-master/MehtaetalPNAS2016/contrib/PropertyGrid/strjoin.m
938
utf_8
63425068d4fd2fd0543aa9e5b46eca84
% Concatenates a cell array of strings. % % Input arguments: % adjoiner: % string separating each neighboring element % strings: % a cell array of strings to join % % See also: strsplit, cell2mat % Copyright 2008-2009 Levente Hunyadi function string = strjoin(adjoiner, strings) validateattributes(adjoiner, {'ch...
github
mehta-lab/Instantaneous-PolScope-master
strsplit.m
.m
Instantaneous-PolScope-master/MehtaetalPNAS2016/contrib/PropertyGrid/strsplit.m
553
utf_8
81fa1c544a57b6a796400f39aedf3d44
% Splits a string into a cell array of strings. % % Input arguments: % string: % a string to split into a cell array % adjoiner: % string separating each neighboring element % % See also: strjoin % Copyright 2008-2009 Levente Hunyadi function strings = strsplit(string, adjoiner) if nargin < 2 adjoiner = spr...
github
mehta-lab/Instantaneous-PolScope-master
nestedfetch.m
.m
Instantaneous-PolScope-master/MehtaetalPNAS2016/contrib/PropertyGrid/nestedfetch.m
1,000
utf_8
1f3b58597c8ee6879bc2650defb0799d
% Fetches the value of the named property of an object or structure. % This function can deal with nested properties. % % Input arguments: % obj: % the handle or value object the value should be assigned to % name: % a property name with dot (.) separating property names at % different hierarchy levels % value...
github
mehta-lab/Instantaneous-PolScope-master
findobjuser.m
.m
Instantaneous-PolScope-master/MehtaetalPNAS2016/contrib/PropertyGrid/findobjuser.m
1,186
utf_8
7bd275f50be4d4907288de44fab8fade
% Find handle graphics object with user data check. % Retrieves those handle graphics objects (HGOs) that have the specified % Tag property and whose UserData property satisfies the given predicate. % % Input arguments: % fcn: % a predicate (a function that returns a logical value) to test against % the HGO's Use...
github
mehta-lab/Instantaneous-PolScope-master
javaStringArray.m
.m
Instantaneous-PolScope-master/MehtaetalPNAS2016/contrib/PropertyGrid/javaStringArray.m
628
utf_8
fe0389e3b0d1933d49c1a78c416a279c
% Converts a MatLab cell array of strings into a java.lang.String array. % % Input arguments: % str: % a cell array of strings (i.e. a cell array of char row vectors) % % Output arguments: % arr: % a java.lang.String array instance (i.e. java.lang.String[]) % % See also: javaArray % Copyright 2009-2010 Levente H...
github
mehta-lab/Instantaneous-PolScope-master
var2str.m
.m
Instantaneous-PolScope-master/MehtaetalPNAS2016/contrib/PropertyGrid/var2str.m
441
utf_8
5588acb0d18dcfac8183caf10a3b5675
% Textual representation of any MatLab value. % Copyright 2009 Levente Hunyadi function s = var2str(value) if islogical(value) || isnumeric(value) s = num2str(value); elseif ischar(value) && isvector(value) s = reshape(value, 1, numel(value)); elseif isjava(value) s = char(value); % calls java.lang.Objec...
github
mehta-lab/Instantaneous-PolScope-master
getclassfield.m
.m
Instantaneous-PolScope-master/MehtaetalPNAS2016/contrib/PropertyGrid/getclassfield.m
376
utf_8
e3b87866af8da4dd40243e750a7e53f6
% Field value of each object in an array or cell array. % % See also: getfield % Copyright 2010 Levente Hunyadi function values = getclassfield(objects, field) values = cell(size(objects)); if iscell(objects) for k = 1 : numel(values) values{k} = objects{k}.(field); end else for k = 1 : numel(valu...
github
mehta-lab/Instantaneous-PolScope-master
arrayfilter.m
.m
Instantaneous-PolScope-master/MehtaetalPNAS2016/contrib/PropertyGrid/arrayfilter.m
488
utf_8
a2649b876169e3d850372917e57a8b68
% Filter elements of array that meet a condition. % Copyright 2010 Levente Hunyadi function array = arrayfilter(fun, array) validateattributes(fun, {'function_handle'}, {'scalar'}); if isobject(array) filter = false(size(array)); for k = 1 : numel(filter) filter(k) = fun(array(k)); end else f...
github
mehta-lab/Instantaneous-PolScope-master
constructor.m
.m
Instantaneous-PolScope-master/MehtaetalPNAS2016/contrib/PropertyGrid/constructor.m
2,078
utf_8
c67e647ec8055710896666c9e83b45e0
% Sets public properties of a MatLab object using a name-value list. % Properties are traversed in the order they occur in the class definition. % Copyright 2008-2009 Levente Hunyadi function obj = constructor(obj, varargin) assert(isobject(obj), ... 'Function operates on MatLab new-style objects only.'); if nar...
github
mehta-lab/Instantaneous-PolScope-master
nestedassign.m
.m
Instantaneous-PolScope-master/MehtaetalPNAS2016/contrib/PropertyGrid/nestedassign.m
1,457
utf_8
12d661bb4df3c64a0707a06f7e3e6afc
% Assigns the given value to the named property of an object or structure. % This function can deal with nested properties. % % Input arguments: % obj: % the structure, handle or value object the value should be assigned to % name: % a property name with dot (.) separating property names at % different hierarc...
github
mehta-lab/Instantaneous-PolScope-master
javaArrayList.m
.m
Instantaneous-PolScope-master/MehtaetalPNAS2016/contrib/PropertyGrid/javaArrayList.m
647
utf_8
f2dfbe065497f86c285230bc35bf381c
% Converts a MatLab array into a java.util.ArrayList. % % Input arguments: % array: % a MatLab row or column vector (with elements of any type) % % Output arguments: % list: % a java.util.ArrayList instance % % See also: javaArray % Copyright 2010 Levente Hunyadi function list = javaArrayList(array) assert(isve...
github
mehta-lab/Instantaneous-PolScope-master
tracking.m
.m
Instantaneous-PolScope-master/MehtaetalPNAS2016/contrib/GUI Layout Toolbox 2.3.1/layout/+uix/tracking.m
5,760
utf_8
0a5cc1ec12e0f3d0ff2fe76e2c686f9a
function varargout = tracking( varargin ) %tracking Track anonymized usage data % % tracking(p,v,id) tracks usage to the property p for the product version % v and identifier id. No personally identifiable information is tracked. % % r = tracking(...) returns the server response r, for debugging purposes. % % tra...
github
mehta-lab/Instantaneous-PolScope-master
Text.m
.m
Instantaneous-PolScope-master/MehtaetalPNAS2016/contrib/GUI Layout Toolbox 2.3.1/layout/+uix/Text.m
14,906
utf_8
c37ac7f47e68e43733564dd25304a3dc
classdef Text < matlab.mixin.SetGet %uix.Text Text control % % t = uix.Text(p1,v1,p2,v2,...) constructs a text control and sets % parameter p1 to value v1, etc. % % A text control adds functionality to a uicontrol of Style text: % * Set VerticalAlignment to 'top', 'middle' or 'bottom' ...
github
mehta-lab/Instantaneous-PolScope-master
loadIcon.m
.m
Instantaneous-PolScope-master/MehtaetalPNAS2016/contrib/GUI Layout Toolbox 2.3.1/layout/+uix/loadIcon.m
3,127
utf_8
38f0cd83643a54e6cdfb1bf63a443c44
function cdata = loadIcon( filename, bgcol ) %loadIcon Load an icon and set the transparent color % % cdata = uix.loadIcon(filename) loads the icon from the specified % filename. For PNG files with transparency, the transparent pixels are % set to NaN. For other files, pixels that are pure green are set to % ...
github
mehta-lab/Instantaneous-PolScope-master
ChildObserver.m
.m
Instantaneous-PolScope-master/MehtaetalPNAS2016/contrib/GUI Layout Toolbox 2.3.1/layout/+uix/ChildObserver.m
8,831
utf_8
cc3553df755d4fc3dd119136aa17fe95
classdef ( Hidden, Sealed ) ChildObserver < handle %uix.ChildObserver Child observer % % co = uix.ChildObserver(o) creates a child observer for the graphics % object o. A child observer raises events when objects are added to % and removed from the property Children of o. % % See also:...
github
mehta-lab/Instantaneous-PolScope-master
Empty.m
.m
Instantaneous-PolScope-master/MehtaetalPNAS2016/contrib/GUI Layout Toolbox 2.3.1/layout/+uix/Empty.m
2,629
utf_8
baef0f4e364966ead829a37218b4ad5d
function obj = Empty( varargin ) %uix.Empty Create an empty space % % obj = uix.Empty() creates an empty space that can be used to add gaps % between elements in layouts. % % obj = uix.Empty(param,value,...) also sets one or more property % values. % % See the <a href="matlab:doc uix.Empty">documentation</a>...
github
mehta-lab/Instantaneous-PolScope-master
guideApp.m
.m
Instantaneous-PolScope-master/MehtaetalPNAS2016/contrib/GUI Layout Toolbox 2.3.1/layoutdoc/Examples/guideApp.m
4,073
utf_8
f1e03beaed00662522eda571d8c8f409
function varargout = guideApp(varargin) % GUIDEAPP MATLAB code for guideApp.fig % GUIDEAPP, by itself, creates a new GUIDEAPP or raises the existing % singleton*. % % H = GUIDEAPP returns the handle to a new GUIDEAPP or the handle to % the existing singleton*. % % GUIDEAPP('CALLBACK',hObject,ev...
github
mehta-lab/Instantaneous-PolScope-master
colorspace.m
.m
Instantaneous-PolScope-master/MehtaetalPNAS2016/contrib/colorspace/colorspace.m
16,178
utf_8
2ca0aee9ae4d0f5c12a7028c45ef2b8d
function varargout = colorspace(Conversion,varargin) %COLORSPACE Transform a color image between color representations. % B = COLORSPACE(S,A) transforms the color representation of image A % where S is a string specifying the conversion. The input array A % should be a real full double array of size Mx3 or MxN...
github
mehta-lab/Instantaneous-PolScope-master
display.m
.m
Instantaneous-PolScope-master/MehtaetalPNAS2016/contrib/panel_2.10/@panel/display.m
685
utf_8
d40ca5f83673dfa9d60822d651eca66f
function display(p) % disp([10 'panel: (' num2str(p.fig) ', ' int2str(p.id) ')' 10]) disp([10 '(Panel Object)']) if isnumeric(p.fig) && isscalar(p.fig) && ishandle(p.fig) && strcmp(get(p.fig,'type'), 'figure') [P, panelroot] = getpanel(p); sect('Figure Properties'); disp(panelroot) sect('Panel Logical Proper...
github
mehta-lab/Instantaneous-PolScope-master
subrender.m
.m
Instantaneous-PolScope-master/MehtaetalPNAS2016/contrib/panel_2.10/@panel/private/subrender.m
7,009
utf_8
a6638f6f21594918bd93a00354a88a44
%% SUBRENDER function subrender(p, P, renderer) % get specific margin if P.panel.axis margin = subsref(p, 'axismargin'); else margin = subsref(p, 'parentmargin'); end % root has extra margin if ~P.panel.parent rootmargin = subsref(p, 'rootmargin'); margin = margin + rootmargin; end % get fractional margin s...
github
mehta-lab/Instantaneous-PolScope-master
overlayPositionOrientationV2.m
.m
Instantaneous-PolScope-master/MehtaetalPNAS2016/TrackingScripts/overlayPositionOrientationV2.m
9,961
utf_8
63d7fa169443d4cb324fd1510f2d5332
function [movOrient,LineXstart,LineYstart,LineXend,LineYend]=overlayPositionOrientationV2(xPart,yPart,anisoPart,orientPart,intPart,drawParticlesOn,varargin) % [movOrient,hAxisOverlay,hAxisIntensity,xstart,ystart,xend,yend]=overlayPositionOrientation(xPart,yPart,anisoPart,orientPart,intPart,drawParticlesOn,varargin) % S...
github
mehta-lab/Instantaneous-PolScope-master
checkRTFP.m
.m
Instantaneous-PolScope-master/MehtaetalPNAS2016/@instantPolGUI/checkRTFP.m
6,894
utf_8
b431e574bf27bbccf599756a0860707a
function checkRTFP(me,eventType,I0in,I45in,I90in,I135in,Anisotropyin,Orientationin,Averagein,varargin) persistent I0 I45 I90 I135 Anisotropy Orientation Average; % If error occurs in the very first call to the funciton (when file is selected), these persistent % variables are not set. % Also when this file is modifie...
github
CheckPointSW/labeless-master
member_pointer_runme.m
.m
labeless-master/3rdparty/swigwin-3.0.2/Examples/test-suite/octave/member_pointer_runme.m
922
utf_8
5d65cb03abdda4efc4dd89ee739e27b6
# Example using pointers to member functions member_pointer function check(what,expected,actual) if (expected != actual) error ("Failed: %s, Expected: %f, Actual: %f",what,expected,actual); endif end # Get the pointers area_pt = areapt; perim_pt = perimeterpt; # Create some objects s = Square(10); # Do s...
github
CheckPointSW/labeless-master
director_basic_runme.m
.m
labeless-master/3rdparty/swigwin-3.0.2/Examples/test-suite/octave/director_basic_runme.m
1,734
utf_8
b6b47f50cd7b79dce886ca9a71659d86
director_basic function self=OctFoo() global director_basic; self=subclass(director_basic.Foo()); self.ping=@OctFoo_ping; end function string=OctFoo_ping(self) string="OctFoo::ping()"; end a = OctFoo(); if (!strcmp(a.ping(),"OctFoo::ping()")) error(a.ping()) endif if (!strcmp(a.pong(),"Foo::pong();OctFoo...
github
CheckPointSW/labeless-master
director_string_runme.m
.m
labeless-master/3rdparty/swigwin-3.0.2/Examples/test-suite/octave/director_string_runme.m
456
utf_8
253061c50e9f69d1d7f90b0bf7c64b21
director_string function out=get_first(self) out = strcat(self.A.get_first()," world!"); end function process_text(self,string) self.A.process_text(string); self.smem = "hello"; end B=@(string) subclass(A(string),'get_first',@get_first,'process_text',@process_text); b = B("hello"); b.get(0); if (!strcmp(b.ge...
github
CheckPointSW/labeless-master
voidtest_runme.m
.m
labeless-master/3rdparty/swigwin-3.0.2/Examples/test-suite/octave/voidtest_runme.m
489
utf_8
e8f18ed9dcf24d5fabce570c881dde59
voidtest voidtest.globalfunc(); f = voidtest.Foo(); f.memberfunc(); voidtest.Foo_staticmemberfunc(); function fvoid() end try a = f.memberfunc(); catch end_try_catch try a = fvoid(); catch end_try_catch v1 = voidtest.vfunc1(f); v2 = voidtest.vfunc2(f); if (swig_this(v1) != swig_this(v2)) error endif v3 =...
github
CheckPointSW/labeless-master
director_detect_runme.m
.m
labeless-master/3rdparty/swigwin-3.0.2/Examples/test-suite/octave/director_detect_runme.m
659
utf_8
ed20d6fcffc7c81a27de292afc945862
director_detect global MyBar=@(val=2) \ subclass(director_detect.Bar(),'val',val,@get_value,@get_class,@just_do_it,@clone); function val=get_value(self) self.val = self.val + 1; val = self.val; end function ptr=get_class(self) global director_detect; self.val = self.val + 1; ptr=director_detect.A();...
github
CheckPointSW/labeless-master
preproc_constants_runme.m
.m
labeless-master/3rdparty/swigwin-3.0.2/Examples/test-suite/octave/preproc_constants_runme.m
533
utf_8
917a1bdadc03d5ce92d7468e9c4c81b2
preproc_constants assert(CONST_INT1, 10) assert(CONST_DOUBLE3, 12.3) assert(CONST_BOOL1, true) assert(CONST_CHAR, 'x') assert(CONST_STRING1, "const string") # Test global constants can be seen within functions function test_global() global CONST_INT1 global CONST_DOUBLE3 global CONST_BOOL1 global CO...
github
CheckPointSW/labeless-master
director_classic_runme.m
.m
labeless-master/3rdparty/swigwin-3.0.2/Examples/test-suite/octave/director_classic_runme.m
2,411
utf_8
168e96aff7298695046a230adc01e911
director_classic TargetLangPerson=@() subclass(Person(),'id',@(self) "TargetLangPerson"); TargetLangChild=@() subclass(Child(),'id',@(self) "TargetLangChild"); TargetLangGrandChild=@() subclass(GrandChild(),'id',@(self) "TargetLangGrandChild"); # Semis - don't override id() in target language TargetLangSemiPerson=@()...
github
CheckPointSW/labeless-master
li_std_vector_enum_runme.m
.m
labeless-master/3rdparty/swigwin-3.0.2/Examples/test-suite/octave/li_std_vector_enum_runme.m
376
utf_8
3915e1d2851c46706f5ee2878da627c4
li_std_vector_enum function check(a, b) if (a != b) error("incorrect match"); endif end ev = EnumVector(); check(ev.nums(0), 10); check(ev.nums(1), 20); check(ev.nums(2), 30); it = ev.nums.begin(); v = it.value(); check(v, 10); it.next(); v = it.value(); check(v, 20); #expected = 10 #ev.nums.each do|val| ...
github
CheckPointSW/labeless-master
exception_order_runme.m
.m
labeless-master/3rdparty/swigwin-3.0.2/Examples/test-suite/octave/exception_order_runme.m
898
utf_8
a9559c0998ed1178eef715d5314f32e1
exception_order function check_lasterror(expected) if (!strcmp(lasterror.message, expected)) # Take account of older versions prefixing with "error: " and adding a newline at the end if (!strcmp(regexprep(lasterror.message, 'error: (.*)\n$', '$1'), expected)) error(["Bad exception order. Expected: \"",...
github
CheckPointSW/labeless-master
director_abstract_runme.m
.m
labeless-master/3rdparty/swigwin-3.0.2/Examples/test-suite/octave/director_abstract_runme.m
993
utf_8
010e2a8f3e12a660ec6f6b89f629f5fd
director_abstract MyFoo=@() subclass(director_abstract.Foo(),@ping); function out=ping(self) out="MyFoo::ping()"; end a = MyFoo(); if (!strcmp(a.ping(),"MyFoo::ping()")) error(a.ping()) endif if (!strcmp(a.pong(),"Foo::pong();MyFoo::ping()")) error(a.pong()) endif MyExample1=@() subclass(director_abstract....
github
CheckPointSW/labeless-master
runme.m
.m
labeless-master/3rdparty/swigwin-3.0.2/Examples/octave/class/runme.m
1,017
utf_8
402733d5ff5c5f0ec147a476914de00a
# file: runme.m # This file illustrates the proxy class C++ interface generated # by SWIG. swigexample # ----- Object creation ----- printf("Creating some objects:\n"); c = swigexample.Circle(10) s = swigexample.Square(10) # ----- Access a static member ----- printf("\nA total of %i shapes were created\n", swigex...
github
CheckPointSW/labeless-master
runme.m
.m
labeless-master/3rdparty/swigwin-3.0.2/Examples/octave/module_load/runme.m
1,662
utf_8
383122eccc45eeee51c841b36eab5129
# file: runme_args.m # load module clear all; swigexample; assert(cvar.ivar == ifunc); assert(exist("swigexample","var")); clear all swigexample; assert(cvar.ivar == ifunc); assert(exist("swigexample","var")); clear all # load module in a function globally before base context clear all; function testme swigexample;...
github
fquitin/energy_detection_system-master
read_int_binary.m
.m
energy_detection_system-master/Matlab/matlab_utils-master/read_int_binary.m
1,206
utf_8
ad5f11d74e447e5a86fc682db3eba8f3
% % Copyright 2001,2002 Free Software Foundation, Inc. % % This file is part of GNU Radio % % GNU Radio is free software; you can redistribute it and/or modify % it under the terms of the GNU General Public License as published by % the Free Software Foundation; either version 3, or (at your option) % any later version...
github
fquitin/energy_detection_system-master
read_short_binary.m
.m
energy_detection_system-master/Matlab/matlab_utils-master/read_short_binary.m
1,203
utf_8
074f9adf08a57572fff63418fe78ee9b
% % Copyright 2001 Free Software Foundation, Inc. % % This file is part of GNU Radio % % GNU Radio is free software; you can redistribute it and/or modify % it under the terms of the GNU General Public License as published by % the Free Software Foundation; either version 3, or (at your option) % any later version. % %...
github
fquitin/energy_detection_system-master
write_char_binary.m
.m
energy_detection_system-master/Matlab/matlab_utils-master/write_char_binary.m
314
utf_8
7d86f60d5b9f759312a2bb9f087e02f4
% % % Adam Gannon - 2014 function v = write_char_binary (data, filename) % usage: write_char_binary (data, filename) % % open filename and write data to it as 8 bit chars % f = fopen (filename, 'wb'); if (f < 0) v = 0; else v = fwrite (f, data, 'char'); fclose (f); end end
github
fquitin/energy_detection_system-master
read_char_binary.m
.m
energy_detection_system-master/Matlab/matlab_utils-master/read_char_binary.m
1,193
utf_8
2533746db69e6dbbb238d70666393254
% % Copyright 2001 Free Software Foundation, Inc. % % This file is part of GNU Radio % % GNU Radio is free software; you can redistribute it and/or modify % it under the terms of the GNU General Public License as published by % the Free Software Foundation; either version 3, or (at your option) % any later version. % %...
github
fquitin/energy_detection_system-master
read_byte_binary.m
.m
energy_detection_system-master/Matlab/matlab_utils-master/read_byte_binary.m
1,185
utf_8
e27639238ea59610b43bddd1a5800856
% % Copyright 2001 Free Software Foundation, Inc. % % This file is part of GNU Radio % % GNU Radio is free software; you can redistribute it and/or modify % it under the terms of the GNU General Public License as published by % the Free Software Foundation; either version 3, or (at your option) % any later version. % %...
github
fquitin/energy_detection_system-master
write_int_binary.m
.m
energy_detection_system-master/Matlab/matlab_utils-master/write_int_binary.m
315
utf_8
f9d2275d36cf037a6885986b114b9f61
% % % Adam Gannon - 2014 function v = write_int_binary (data, filename) % usage: write_int_binary (data, filename) % % open filename and write data to it as signed integers % f = fopen (filename, 'wb'); if (f < 0) v = 0; else v = fwrite (f, data, 'int'); fclose (f); end end
github
fquitin/energy_detection_system-master
read_complex_binary.m
.m
energy_detection_system-master/Matlab/matlab_utils-master/read_complex_binary.m
1,304
utf_8
66da98f4761fa283039a67c2ce01c499
% % Copyright 2001 Free Software Foundation, Inc. % % This file is part of GNU Radio % % GNU Radio is free software; you can redistribute it and/or modify % it under the terms of the GNU General Public License as published by % the Free Software Foundation; either version 3, or (at your option) % any later version. % %...
github
fquitin/energy_detection_system-master
write_short_binary.m
.m
energy_detection_system-master/Matlab/matlab_utils-master/write_short_binary.m
327
utf_8
45a92300b9500b033e43717fa3c83aa2
% % % Adam Gannon - 2014 function v = write_short_binary (data, filename) % usage: write_short_binary (data, filename) % % open filename and write data to it as signed short integers % f = fopen (filename, 'wb'); if (f < 0) v = 0; else v = fwrite (f, data, 'short'); fclose (f); en...
github
fquitin/energy_detection_system-master
write_float_binary.m
.m
energy_detection_system-master/Matlab/matlab_utils-master/write_float_binary.m
1,072
utf_8
e5192508304227befdf8383e37067596
% % Copyright 2001 Free Software Foundation, Inc. % % This file is part of GNU Radio % % GNU Radio is free software; you can redistribute it and/or modify % it under the terms of the GNU General Public License as published by % the Free Software Foundation; either version 3, or (at your option) % any later version. % %...
github
fquitin/energy_detection_system-master
write_complex_binary.m
.m
energy_detection_system-master/Matlab/matlab_utils-master/write_complex_binary.m
1,224
utf_8
644708692f6c221368c5bb62ca270819
% % Copyright 2001 Free Software Foundation, Inc. % % This file is part of GNU Radio % % GNU Radio is free software; you can redistribute it and/or modify % it under the terms of the GNU General Public License as published by % the Free Software Foundation; either version 2, or (at your option) % any later version. %...
github
fquitin/energy_detection_system-master
plotdat.m
.m
energy_detection_system-master/Matlab/matlab_utils-master/plotdat.m
258
utf_8
9d31ac3cefebeb526ef71988ce083bbd
% % % Plot a complex vector versus its index (default is I vs Q) function handle = plotdat(vec,plotIm) if (nargin<2) plotIm = false; end handle = figure; if (plotIm) plot(1:length(vec),imag(vec)); else plot(1:length(vec),real(vec)); end end
github
fquitin/energy_detection_system-master
read_float_binary.m
.m
energy_detection_system-master/Matlab/matlab_utils-master/read_float_binary.m
1,195
utf_8
5bd133b4dc06135dd9a04eeb712c75aa
% % Copyright 2001 Free Software Foundation, Inc. % % This file is part of GNU Radio % % GNU Radio is free software; you can redistribute it and/or modify % it under the terms of the GNU General Public License as published by % the Free Software Foundation; either version 3, or (at your option) % any later version. % %...
github
fquitin/energy_detection_system-master
read_complex_binary_2.m
.m
energy_detection_system-master/Matlab/matlab_utils-master/read_complex_binary_2.m
1,306
utf_8
1c70e8baea6a2f3193e8337dccd3ea24
% % Copyright 2001 Free Software Foundation, Inc. % % This file is part of GNU Radio % % GNU Radio is free software; you can redistribute it and/or modify % it under the terms of the GNU General Public License as published by % the Free Software Foundation; either version 3, or (at your option) % any later version. % %...
github
fquitin/energy_detection_system-master
write_byte_binary.m
.m
energy_detection_system-master/Matlab/matlab_utils-master/write_byte_binary.m
314
utf_8
e0af62efb365031dec60b7b849b2675d
% % % Adam Gannon - 2014 function v = write_byte_binary (data, filename) % usage: write_byte_binary (data, filename) % % open filename and write data to it as 8 bit unsigned ints % f = fopen (filename, 'wb'); if (f < 0) v = 0; else v = fwrite (f, data); fclose (f); end end
github
CohenBerkeleyLab/WRF_Utils-master
wrf_winds_transform.m
.m
WRF_Utils-master/wrf_winds_transform.m
2,001
utf_8
7b27a9803d7f086b8483ce948779a4b0
function [ Ue, Ve ] = wrf_winds_transform( U, V, COSALPHA, SINALPHA ) % WRF_WINDS_TRANSFORM Transform winds to earth-relative orientation % Function that will correctly calculate U and V wind components of % winds given the COSALPHA and SINALPHA variables from WRF output, % handling the conversion from grid-relat...
github
CohenBerkeleyLab/WRF_Utils-master
compute_wrf_trop_columns.m
.m
WRF_Utils-master/compute_wrf_trop_columns.m
3,101
utf_8
117f2ba49b7a0816863ea741dce10310
function [ trop_no2 ] = compute_wrf_trop_columns( wrf_filename, integration_mode, tropopause ) %COMPUTE_WRF_TROP_COLUMNS Calculate WRF-Chem tropospheric NO2 columns % TROP_NO2 = COMPUTE_WRF_TROP_COLUMNS( WRF_FILENAME ) calculates NO2 % tropospheric columns in molec./cm^3 for WRF_FILENAME (a path to a WRF % file t...
github
CohenBerkeleyLab/WRF_Utils-master
get_wrf_array_size.m
.m
WRF_Utils-master/get_wrf_array_size.m
1,452
utf_8
871dea0d25f6d15df728782fee8df7da
function [ sz ] = get_wrf_array_size( wrffile ) %GET_WRF_ARRAY_SIZE Gets unstaggered array sizes in WRF output file % SZ = GET_WRF_ARRAY_SIZE( WRFFILE ) Returns a 1x4 vector SZ which % contains the length of unstagger WRF arrays in the given file along the % west_east, south_north, bottom_top, and Time dimensions...
github
CohenBerkeleyLab/WRF_Utils-master
compare_wrfout.m
.m
WRF_Utils-master/compare_wrfout.m
7,250
utf_8
de7b66d8d6da0c7d432ea37eed66a9eb
function [ ] = compare_wrfout( old_dir, new_dir, varargin ) %COMPARE_WRFOUT Compare several variables from two sets of WRF-Chem output % COMPARE_WRFOUT( OLD_DIR, NEW_DIR ) Reads wrfout_d* files from OLD_DIR % and NEW_DIR and plots the average absolute and percent difference in % no, no2, o3, U, and V across all ...
github
CohenBerkeleyLab/WRF_Utils-master
wrf_grid_area.m
.m
WRF_Utils-master/wrf_grid_area.m
2,725
utf_8
e6543109062ae647aa804ccab90b90f8
function [ grid_area ] = wrf_grid_area( xlon, xlat, varargin ) %WRF_GRID_AREA Estimates the area of each WRF grid cell % GRID_AREA = WRF_GRID_AREA( XLON, XLAT ) takes the grid center longitude % (XLON) and latitude (XLAT) and returns the areas of the grid cells in % kilometers (GRID_AREA). This uses wrf_grid_corn...
github
CohenBerkeleyLab/WRF_Utils-master
wrf_grid_corners.m
.m
WRF_Utils-master/wrf_grid_corners.m
4,076
utf_8
f07b77d1d96566f77ba0e842912f5547
function [ xloncorn, xlatcorn ] = wrf_grid_corners( xlon, xlat ) %WRF_GRID_CORNERS Computes corners of WRF grid cells. % [ XLONCORN, XLATCORN ] = WRF_GRID_CORNERS( XLON, XLAT ) % Takes as input the grid center points XLON and XLAT. Returns the % 4-by-m-by-n arrays XLONCORN and XLATCORN where m and n are t...
github
CohenBerkeleyLab/WRF_Utils-master
match_wrf2aircraft.m
.m
WRF_Utils-master/ChemComparison/match_wrf2aircraft.m
15,900
utf_8
aa6bc3161ea89982262416c2dbb3ef0c
function [ Match ] = match_wrf2aircraft( Raw, wrf_dirs, wrf_prof_mode ) %MATCH_WRF2AIRCRAFT Generates a structure matching WRF output to aircraft data % MATCH = MATCH_WRF2AIRCRAFT( RAW, WRF_DIRS ) Matches the aircraft data % contained in RAW to the WRF data in wrfout_* files contained in % WRF_DIRS. RAW must be a...
github
CohenBerkeleyLab/WRF_Utils-master
parse_noaa_isd.m
.m
WRF_Utils-master/MetComparison/parse_noaa_isd.m
4,301
utf_8
4c0940a33b30c3307a5c1c77e56f13f7
function [ Site ] = parse_noaa_isd( file, lonlim, latlim, datelim ) %PARSE_NOAA_ISD Parse a NOAA integrate surface database file % PARSE_NOAA_ISD( FILE ) parses the NOAA ISD file at path FILE and % returns a NOAAISDSite object. % % PARSE_NOAA_ISD( FILE, LONLIM, LATLIM ) will parse the file if the site % falls w...
github
CohenBerkeleyLab/WRF_Utils-master
wrf_met_comp_plots.m
.m
WRF_Utils-master/MetComparison/wrf_met_comp_plots.m
25,618
utf_8
12cd35eb0367d1da22ff22eb9ad01dd9
function [ varargout ] = wrf_met_comp_plots( plottype, varargin ) %WRF_MET_COMP_PLOTS Collection of plots for comparing WRF output meteorology against references. E = JLLErrors; noaa_match_dir = '/Users/Josh/Documents/MATLAB/BEHR/Workspaces/WRF/NOAA ISD Obs Comparison/'; switch lower(plottype) case 'spatial' ...