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 | SMASHtoolbox/release-master | preview.m | .m | release-master/+SMASH/+SignalAnalysis/@STFT/development/preview.m | 1,990 | utf_8 | c79b2d780e18ad4ebf96427be6447ce9 | % preview Generate/display previews
%
% This method generates and displays preview images for STFT objects.
% These images are low to moderate resolution power spectra used in
% visualization and region of interest selection. They are generated by
% the analyze method using the current FFT settings.
%
% To generate a ... |
github | SMASHtoolbox/release-master | uitable_test.m | .m | release-master/+SMASH/+SignalAnalysis/@STFT/development/uitable_test.m | 1,515 | utf_8 | 0448ea22b354f2db41169cc4ef17a624 | % UNDER CONSTRUCTION
function uitable_test(data,label)
% handle input
if (nargin<1) || isempty(data)
data=randn(100,4);
temp=1:size(data,1);
data(:,1)=temp(:);
end
columns=size(data,2);
if (nargin<2) || isempty(label);
label=cell(1,columns);
for m=1:columns
label{m}=sprintf('Column %d',m);... |
github | SMASHtoolbox/release-master | fixDoc.m | .m | release-master/+SMASH/+System/fixDoc.m | 2,974 | utf_8 | 7f7ba4807fe862515d1a0b59a1c39169 | % fixDoc Fix custom documentation display
%
% This function changes how MATLAB displays custom documentation. Prior to
% release 2013b, function/class/package documentation produced outside of
% the MathWorks was displayed in the MATLAB web browser. More recent
% releases display custom documentation in MATLAB's help... |
github | SMASHtoolbox/release-master | scanLAN.m | .m | release-master/+SMASH/+System/scanLAN.m | 1,355 | utf_8 | 09224ebc7a8736b969d7d0fab8d134fa | % scanLAN Scan local area network
%
% This function scans a local area network, returning a list of addresses
% that respond to a ping request.
% list=scanLAN(); % full range
% list=scanLAN(pattern); % partial range, e.g. '101-110'
% The output "list" is a cell array of IP addresses.
%
% See also SMASH.System, pi... |
github | SMASHtoolbox/release-master | showDocumentation.m | .m | release-master/+SMASH/+System/showDocumentation.m | 1,501 | utf_8 | c24d6dc5ca91467777b599ec18d25678 | % UNDER CONSTRUCTION
% showDocumentation Show published documentation
%
% This function shows formatted documentation associated with the SMASH
% toolbox. Documentation files are scripts displayed in HTML format. These
% files are always located in a subdirectory name "doc" within the relevant
% package/class director... |
github | SMASHtoolbox/release-master | localhost.m | .m | release-master/+SMASH/+System/localhost.m | 1,241 | utf_8 | 6dbcdc5c0ca1ea6e57b9c0ac00d1feee | % localhost Determine local IP address
%
% This function determines the local IP address, regardless of the current
% operating system.
% address=localhost();
%
% See also System, listIP4, ping
%
%
% created April 26, 2017 by Daniel Dolan (Sandia National Laboratories)
%
function address=localhost()
if ispc
[~... |
github | SMASHtoolbox/release-master | bash.m | .m | release-master/+SMASH/+System/bash.m | 1,893 | utf_8 | 3950b6ff9d0e02444e804c51fe3af3f2 | % bash Bash shell mode
%
% This function starts Bash shell mode, where all input typed into the
% MATLAB command window is passed directly to Unix.
% bash();
% Bash mode persists until the user types "stop" on an otherwise empty line.
%
% Shell processes with interactive control may not properly with this
% function... |
github | SMASHtoolbox/release-master | showExample.m | .m | release-master/+SMASH/+System/showExample.m | 2,143 | utf_8 | e0c90516ef09d9c1ef5216fa833b17eb | % showExample Show example script
%
% This function shows an example script associated with the SMASH. Script
% files are always located in a subdirectory named "examples" within
% the relevant package/class directory.
% showExample(name); % [smashroot]/examples
% showExample(name,location) % [smashroot]/[locati... |
github | SMASHtoolbox/release-master | deploy.m | .m | release-master/+SMASH/+System/deploy.m | 1,634 | utf_8 | 6dd3eebfde58a6ce7d5a5039226d1921 | % deploy Collect MATLAB code for deployment
%
%
%
function deploy(source,destination)
% manage input
if (nargin < 1) || isempty(source)
source=pwd;
end
assert(logical(exist(source,'file')),'ERROR: invalid source');
if (nargin < 2) || isempty(destination)
destination=fullfile(pwd,'deploy');
end
% analyze so... |
github | SMASHtoolbox/release-master | runShell.m | .m | release-master/+SMASH/+System/runShell.m | 2,350 | utf_8 | e8bf36671716ea6ed00bb3e0941f1e72 | % runShell Run commands in an operating system shell
%
% This function passes commands to an operating system shell:
% Windows : DOS
% Macintosh : bash (typically)
% Linux : bash/csh/tcsh (depending on configuration)
% The function can be used on any operating system, but caution
% is needed when moving ... |
github | SMASHtoolbox/release-master | callMATLAB.m | .m | release-master/+SMASH/+System/callMATLAB.m | 5,529 | utf_8 | 5b90253280d17f723b7d28a29cbd8043 | % callMATLAB Allow MATLAB calls from command shell
%
% This function allows MATLAB commands to be passed from an external
% command shell. Turning this capability on:
% callMATLAB('on');
% creates a shell script "callMATLAB.sh" in the current directory.
% Executing that script in an external script passes commands ... |
github | SMASHtoolbox/release-master | verifyFileName.m | .m | release-master/+SMASH/+System/verifyFileName.m | 747 | utf_8 | 3c4e7bc14b53fff5b4024cd173139590 | % verifyFileName Verify file name
%
% This function determines if a text string is a valid file name.
% result=verifyFileName(name);
% The output "result" is a logical value.
%
% See also System
%
%
%
%
function result=verifyFileName(name)
% manage input
assert(nargin > 0,'ERROR: no name specified');
% perform te... |
github | SMASHtoolbox/release-master | username.m | .m | release-master/+SMASH/+System/username.m | 489 | utf_8 | 835e2ac7daddd3c99ad3f73a12699d24 | % username Determine user name
%
% This function returns the name of the current MATLAB user.
% value=username();
%
% See also hostID, userdir, userpath
%
%
% created May 9, 2018 by Daniel Dolan (Sandia National Laboratories)
%
function value=username()
if isunix % Mac and Linux
command='whoami';
else % Window... |
github | SMASHtoolbox/release-master | hostID.m | .m | release-master/+SMASH/+System/hostID.m | 598 | utf_8 | a5aebc3a70edf9ec22ddfee08086b202 | % hostID Determine computer's host ID
%
% This function determines the host ID of the computer running MATLAB by
% probing the operating system.
% value=hostID;
%
% See also userdir, username
%
% created February 24, 2013 by Daniel Dolan (Sandia National Laboratories)
function value=hostID()
if isunix
[~,re... |
github | SMASHtoolbox/release-master | checkMemory.m | .m | release-master/+SMASH/+System/checkMemory.m | 2,883 | utf_8 | 688670bc1fc77e506910867e9f1cee3e | % checkMemory Check memory use
%
% This function checks the memory used by MATLAB.
% report=checkMemory();
% checkMemory();
% The first command returns memory information in a structure, while the
% second command prints this information in the command window.
%
% Memory used by the current MATLAB process is expr... |
github | SMASHtoolbox/release-master | getPreference.m | .m | release-master/+SMASH/+System/getPreference.m | 1,895 | utf_8 | 45b6c8c2b453575002934a24a3ac2657 | % getPreference Get toolbox preferences
%
% This function gets preferences associated with the SMASH toolbox.
% Specific preferences are accessed by name.
% value=getPreference(name);
% Omitting the name returns a structure containing all preferences
% value=getPreference();
%
% Preference values are displayed in... |
github | SMASHtoolbox/release-master | listIP4.m | .m | release-master/+SMASH/+System/listIP4.m | 2,609 | utf_8 | 16037032931b3b1c0f23db778ca99d9b | % listIP4 Generate a list of private IP4 addresses
%
% This function generates a list of private IP4 addresses. Full address
% specification uses four blocks, separated by periods, with integers,
% integer ranges, or wildcards.
% address=listIP4('192.168.0.*'); everything in 192.168.0
% address=listIP4('192.168.0... |
github | SMASHtoolbox/release-master | userdir.m | .m | release-master/+SMASH/+System/userdir.m | 406 | utf_8 | 1b4e50d092ae75603789ad1b9bf13d3c | % userdir Determine user directory
%
% This function returns the home directory of the current user.
% location=userdir();
%
% See also hostID, username, userpath
%
%
% created July 12, 2018 by Daniel Dolan (Sandia National Laboratories)
%
function location=userdir()
if isunix % Mac and Linux
location=getenv('... |
github | SMASHtoolbox/release-master | shutdownWindows.m | .m | release-master/+SMASH/+System/shutdownWindows.m | 1,969 | utf_8 | 8e5dd62d8ad16614d193521e696f1473 | % shutdownWindows Send Windows shutdown command
%
% This function sends a Windows shutdown command to an IP address.
% shutdownWindows(password,address);
% The first argument "password" must be the Administrator password for the
% machine at the specified "address" (e.g., '192.168.85.1'). Multiple
% addresses can b... |
github | SMASHtoolbox/release-master | setPreference.m | .m | release-master/+SMASH/+System/setPreference.m | 1,936 | utf_8 | 1e0fbb1d20e9a92e96eb0f80354472ce | % setPreference Set toolbox preference(s)
%
% This function sets preferences used by the SMASH toolbox.
% setPreference(name,value);
% The input "name" must be a valid variable name: character strings
% beginning with a letter containing letters, numbers, and underscores only
% (case sensitive). The input "value" c... |
github | SMASHtoolbox/release-master | userpath.m | .m | release-master/+SMASH/+System/userpath.m | 947 | utf_8 | 3b0c27f94fa73b2bd2aa1e2fb586278d | % userpath Determine user path
%
% This function determines the directories accessible to MATLAB that are
% not part of MATLAB itself.
% list=userpath();
% The output "list" is a cell array of text strings showing the current
% user path. This list is considerably shorter than the results from
% MATLAB's path comma... |
github | SMASHtoolbox/release-master | simulateMouse.m | .m | release-master/+SMASH/+System/simulateMouse.m | 1,116 | utf_8 | 098a1e20cc8cb96284652747082043d4 | % simulateMouse Simulate mouse action
%
% This function simulates a mouse action.
% simulateMouse('press'); % simulate primary button click
% simulateMouse('release'); % simulate primary button release
%
% See also SMASH.System
%
%
% created April 8, 2018 by Daniel Dolan (Sandia National Laboratories)
%
functi... |
github | SMASHtoolbox/release-master | tone.m | .m | release-master/+SMASH/+System/tone.m | 1,378 | utf_8 | a66df3932c12295e775a2fc85b56be5c | % tone Generate an audio tone
%
% This function generates an audio tone.
% tone(frequency,duration);
% The default frequency is 700 Hz and the default duration is 0.1 seconds.
%
% There is a slight delay, typically less than a second, between
% the function call and sound production. This delay is returned as an
... |
github | SMASHtoolbox/release-master | isParallel.m | .m | release-master/+SMASH/+System/isParallel.m | 901 | utf_8 | 1e6ab19bd20786227f51df00e4fbd1ce | % isParallel Determine if parallel processing is available
%
% This function determines if parallel processing is available on the
% current system.
% [result,workers]=isParallel();
% The output "result" is true when the Parallel Processing Toolbox is
% present *and* multiple workers are enabled. The number of acti... |
github | SMASHtoolbox/release-master | checkCPU.m | .m | release-master/+SMASH/+System/checkCPU.m | 1,168 | utf_8 | ce73b7e4f2c46fe4f6cccc7d8068fa17 | % checkCPU Check number of processors
%
% This functions checks the number of *physical* processors on the current
% system.
% N=checkCPU();
% If no output is requested, the result is printed on the command window.
%
% See also SMASH.System
%
%
% created June 10, 2019 by Daniel Dolan (Sandia National Laboratories)
... |
github | SMASHtoolbox/release-master | ping.m | .m | release-master/+SMASH/+System/ping.m | 2,588 | utf_8 | 93c68da1118d9cfe216a850817fc96fa | % ping Send network ping to an IP address
%
% This function sends a network ping to a specified address.
% delay=ping(address);
% If no address is specified, the ping is sent to the local host machine.
% The output "delay" is the delay time in milliseconds; NaN values
% indicate that the ping was unsuccessful, i.e. ... |
github | SMASHtoolbox/release-master | checkInternet.m | .m | release-master/+SMASH/+System/checkInternet.m | 1,218 | utf_8 | 57cb8a4eb5388959514e8852502a4ac2 | % checkInternet Determine Internet status
%
% This function returns a logical flag indicating if an Internet connection
% is available.
% available=checkInternet();
% Requesting a second output:
% [available,firewall]=checkInternet();
% returns another logical flag indicating if a firewall is present.
% NOTE: Th... |
github | SMASHtoolbox/release-master | live2script.m | .m | release-master/+SMASH/+System/+convert/live2script.m | 1,551 | utf_8 | fdfb1d827f88036a7d44384db8ed5cb9 | % live2script Convert live script to a script file
%
% This function converts a live script file (*.mlx) to a standar script
% file.
% live2script(source,destination);
% Omitting the input "source" prompts the user to select a live script.
% Omitting the second file generates the standard script in the same
% locati... |
github | SMASHtoolbox/release-master | script2live.m | .m | release-master/+SMASH/+System/+convert/script2live.m | 1,549 | utf_8 | ec4b3e1107ad916e74bd4f719424ff7f | % script2live Convert script file to a live script
%
% This function converts a standard script file (*.m) to a live script
% (*.mlx).
% script2live(source,destination);
% Omitting the input "source" prompts the user to select a script file.
% Omitting the second file generates the live script in the same location
%... |
github | SMASHtoolbox/release-master | app2class.m | .m | release-master/+SMASH/+System/+convert/app2class.m | 1,657 | utf_8 | dd9b27170a58c169ba04f9e601ee1b68 | % app2class Convert App Designer file to a class definition
%
% This function converts a *.mlapp file (as created by the App Designer) to
% a *.m class definition.
% app2class(source);
% Omitting the input "source" prompts the user to select a *.mlapp file.
%
% The converted class file is saved in the current direc... |
github | SMASHtoolbox/release-master | selectTab.m | .m | release-master/+SMASH/+System/@WebBrowser/selectTab.m | 659 | utf_8 | 1dd85d5d4f32dbfdddde114efc51d865 | % selectTab Select browser tab
%
% This method selects a particular tab in the web browser.
% selectTab(object); % command window selection
% selectTab(object,index);
%
% See also WebBrowser, createTab, probeTab
%
%
% created April 20, 2018 by Daniel Dolan (Sandia National Laboratories)
%
function selectTab(obje... |
github | SMASHtoolbox/release-master | probeTab.m | .m | release-master/+SMASH/+System/@WebBrowser/probeTab.m | 933 | utf_8 | 20cc3821fe03f6e6f611b781143bc948 | % probeTab Extract data from a browser tab
%
% This method extracts inforamtion from the current browser tab.
% address=probeTab(object); % URL only
% [address,content]=probeTab(object); % URL and all HTML content
%
% Passing a second input extracts data from a specific tab.
% [...]=probeTab(object,index);
%
%... |
github | SMASHtoolbox/release-master | updateTab.m | .m | release-master/+SMASH/+System/@WebBrowser/updateTab.m | 827 | utf_8 | 8bd383e10afd219235956e1b54e5e77e | % updateTab Update browser tab
%
% This method updates the current browser tab.
% updateTab(object,address);
% If no address is specified, the current location is reloaded.
%
% Passing a third input updates a specific browser tab.
% updateTab(object,address,index)
%
% See also WebBrowser, createTab, probeTab
%
... |
github | SMASHtoolbox/release-master | rehash.m | .m | release-master/+SMASH/+System/@WebBrowser/rehash.m | 1,900 | utf_8 | 0856248e558bcb7d5929931ebd65a3c0 | % rehash Scan browser contents
%
% This method scans MATLAB's web browser, looking for changes that may have
% occured outside of the WebBrowser object's control
% rehash(object);
%
% See also WebBrowser
%
%
% created April 20, 2018 by Daniel Dolan (Sandia National Laboratories)
%
function rehash(object)
[~,browse... |
github | SMASHtoolbox/release-master | closeTab.m | .m | release-master/+SMASH/+System/@WebBrowser/closeTab.m | 684 | utf_8 | bcc2eb2a4e6312079064b6f9c6e27926 | % closeTab Close browser tab
%
% This method closes a web browser tab.
% closeTab(object); % close current tab
% closeTab(object,index); % close specified tab
%
% See also WebBrowser, createTab
%
%
% created April 20, 2018 by Daniel Dolan (Sandia National Laboratories)
%
function closeTab(object,index)
% manage... |
github | SMASHtoolbox/release-master | createTab.m | .m | release-master/+SMASH/+System/@WebBrowser/createTab.m | 460 | utf_8 | e940b3949c7fd742c9a1589c248d1376 | % createTab Create new browser tab
%
% This method creates a new tab in the web browser.
% createTab(object); % empty tab
% createTab(object,address); % open tab at a specified address
%
% See also WebBrowser, closeTab
%
%
% created April 20, 2018 by Daniel Dolan (Sandia National Laboratories)
%
function createT... |
github | SMASHtoolbox/release-master | getPosition.m | .m | release-master/+SMASH/+System/@WebBrowser/old/getPosition.m | 245 | utf_8 | 329122d4f94a99c39d4fdf349d22ab13 | % UNDER CONSTRUCTION
function value=getPosition()
master=getMaster();
x0=master.getX();
y0=master.getY();
temp=master.getSize();
Lx=temp.getWidth();
Ly=temp.getHeight();
pos=get(groot,'ScreenSize');
y0=pos(4)-y0-Ly;
value=[x0 y0 Lx Ly];
end |
github | SMASHtoolbox/release-master | setPosition.m | .m | release-master/+SMASH/+System/@WebBrowser/old/setPosition.m | 960 | utf_8 | 5d1cc090a716b409dadcc0b11bdf9b37 | % UNDER CONSTRUCTION
function setPosition(value)
persistent getPosition
if isempty(getPosition)
getPosition=@() SMASH.System.WebBrowser.getPosition();
end
% manage input
if isnumeric(value)
switch numel(value)
case 2
pos=object.Position;
pos(1:2)=value;
value=pos;
... |
github | SMASHtoolbox/release-master | setAddress.m | .m | release-master/+SMASH/+System/@WebBrowser/old/setAddress.m | 151 | utf_8 | 541872f475afb4c728df15599acf0604 | % UNDER CONSTRUCTION
%
% WebBrowser.setAddress(url);
% WebBrowser.setAddress(index,url);
function setAddress(varargin)
url=varargin{1};
web(url);
end |
github | SMASHtoolbox/release-master | listTabs.m | .m | release-master/+SMASH/+System/@WebBrowser/old/listTabs.m | 797 | utf_8 | 4efda9a740ea21d06ab9ecb3767f968f | % UNDER CONSTRUCTION
% WebBrowser.listTabs() % prints report to the command window
% tab=WebBrowser.listTabs(); % "tab" is a structure array
%
% [tab,browser]=WebBrowser.listTabs();
function varargout=listTabs()
master=getMaster();
report=[];
list=matchClass(master,'Tabs\$Tab');
for n=1:numel(list)
temp=char(l... |
github | SMASHtoolbox/release-master | getAddress.m | .m | release-master/+SMASH/+System/@WebBrowser/old/getAddress.m | 291 | utf_8 | ad8cde68143e2bf425d48229fc98d822 | % UNDER CONSTRUCTION
function value=getAddress(object)
if (nargin < 1) || isempty(index)
browser=getBrowser();
elseif SMASH.General.testNumber(browser,'positive','integer','notzero')
else
% TO DO
end
list=matchClass(browser,'TextField');
value=char(list{1}.getText());
end |
github | SMASHtoolbox/release-master | reset.m | .m | release-master/+SMASH/+System/@Log/reset.m | 1,088 | utf_8 | a9f30fde883c58b793544d58b416b210 | % reset Reset log target(s)
%
% This method resets the list of targets where log messages are sent.
% reset(object,target1,...);
% Valid targets include:
% -'-stdout' and '-stderr' for the command window
% -Text file names
% -List box handles
% The default target, if none are specified, is '-stdout'.
%
% Se... |
github | SMASHtoolbox/release-master | purge.m | .m | release-master/+SMASH/+System/@Log/purge.m | 1,949 | utf_8 | b264323ec69fef8b8332bfe0275cbc49 | % purge Purge log entries
%
% This method purges messages from one or more log targets.
% purge(object);
% Log files and list boxes are automatically purged by default, leaving the
% command window untouched.
%
% Specific log types can be purged with additional input arguments.
% purge(object,target,...);
% Val... |
github | SMASHtoolbox/release-master | write.m | .m | release-master/+SMASH/+System/@Log/write.m | 2,366 | utf_8 | 7a7ee2205e4b52d23693dfdfefe2355e | % write Write log message
%
% This method writes messages to all log targets. Messages can be a cell
% array of strings:
% write(object,message);
% or a format statement with optional arguments.
% write(object,format,arg1,...);
% Format operators and special characters can be used in the latter case.
%
% Due to... |
github | SMASHtoolbox/release-master | WorkspacePreference.m | .m | release-master/+SMASH/+System/private/WorkspacePreference.m | 824 | utf_8 | c18192c323f484dc1e36584f714375f2 | % WorkspacePreference(name,value); % set
% value=WorkspacePreference(name); % get
%
% data=WorkspacePreference(); % reveal settings
% WorkspacePreference(name,[],'remove'); % remove setting
function varargout=WorkspacePreference(varargin)
persistent data
if isempty(data)
data=struct();
end
% reveal mode
if nargi... |
github | SMASHtoolbox/release-master | PermanentPreference.m | .m | release-master/+SMASH/+System/private/PermanentPreference.m | 911 | utf_8 | 09e1126b347d7e63eb55b7f4d4aa4608 | % PermanentPreference(name,value); % set
% value=PermanentPreference(name); % get
%
% data=PermanentPreference(); % reveal settings
% PermanentPreference(name,[],'remove'); % remove setting
function varargout=PermanentPreference(varargin)
% reveal mode
if nargin==0
varargout{1}=getpref('SMASHtoolbox');
if ise... |
github | SMASHtoolbox/release-master | SessionPreference.m | .m | release-master/+SMASH/+System/private/SessionPreference.m | 820 | utf_8 | a1937086b055c7c8f72207609a0cfa52 | % SessionPreference(name,value); % set
% value=SessionPreference(name); % get
%
% data=SessionPreference(); % reveal settings
% SessionPreference(name,[],'remove'); % remove setting
function varargout=SessionPreference(varargin)
persistent data
if isempty(data)
data=struct();
end
mlock
% reveal mode
if nargin==0... |
github | SMASHtoolbox/release-master | restoreDPI.m | .m | release-master/+SMASH/+System/private/old/restoreDPI.m | 603 | utf_8 | a33aa7e73dd6802151930cba4662d956 | %
function restoreDPI()
% locate log file
pathname=fileparts(mfilename('fullpath'));
filename=fullfile(pathname,'DPI.log');
if ~exist(filename,'file')
error('ERROR: no screen calibration exists for this system');
end
% read log file
ID=mui.tools.hostID;
fid=fopen(filename,'r');
[~]=fgetl(fid); % read header
whil... |
github | SMASHtoolbox/release-master | isScript.m | .m | release-master/+SMASH/+System/old/@Script/isScript.m | 877 | utf_8 | 0740ace847a28b4d99b3d33f6c3198c8 | % isScript Determine if file is a MATLAB script
%
% This method determines if a specified file is a MATLAB script.
% value=isScript(filename)
% The output "value" is true for traditional script files ('*.m') and live
% script files ('*.mlx'). Function/class definitions and any other file
% type (including invalid/m... |
github | SMASHtoolbox/release-master | insertExample.m | .m | release-master/+SMASH/+System/old/@Script/insertExample.m | 1,929 | utf_8 | 22a08f4bb77f31380a0e15e81ffcff5c | % insertExample Insert example into toolbox
%
% This method inserts a MATLAB script into the "examples" directory of the
% SMASH toolbox.
% Script.insertExample(filename);
% The input "filename" must be a standard or live script file. Live
% scripts are automatically converted to standard scripts during insertion.
... |
github | SMASHtoolbox/release-master | convert.m | .m | release-master/+SMASH/+System/old/@Script/convert.m | 2,937 | utf_8 | 4b97633d5d437aaddc09c7f8f735bc4c | % convert Convert between standard and live scripts
%
% This methods converts between standard and live script files.
% The general syntax is:
% script.convert(source,target);
% The input "source" must be the name of a MATLAB script file. Standard
% scripts (*.m) are converted to live scripts (*.mlx) and vice versa... |
github | SMASHtoolbox/release-master | extractExample.m | .m | release-master/+SMASH/+System/old/@Script/extractExample.m | 2,567 | utf_8 | 5ac779be3c950dfc5e30cd0ed4033eb8 | % extractExample Extract examples from toolbox
%
% This method extracts MATLAB scripts(s) from the "examples" directory of
% the SMASH toolbox and copies them to a local subdirectory.
% Script.extractExample(); % extract all scripts
% Script.extractExample(subdir); % extract script from one subdirectory
% Example... |
github | SMASHtoolbox/release-master | readFolder.m | .m | release-master/+SMASH/+ImageAnalysis/@GatedImage/readFolder.m | 4,108 | utf_8 | 1db06bf9f0dd840479a8ea26f87d536a | % UNDER CONTRUCTION
% readFolder Read image folder
%
function data=readFolder(location)
data=struct();
if nargin < 0
location=uigetdir(pwd,'Select image folder');
if isnumeric(location)
return
end
else
assert(ischar(location) && isfolder(location),...
'ERROR: invalid image fol... |
github | SMASHtoolbox/release-master | readFile.m | .m | release-master/+SMASH/+ImageAnalysis/@GatedImage/readFile.m | 1,633 | utf_8 | ec1e28b624568a9d8e65427530a69115 | % UNDER CONTRUCTION
% *.spe
% *.hdf
function data=readFile(source)
data=struct();
if nargin < 1
location=uigetfile({'*.*' 'All files'},'Select image file');
if isnumeric(location)
return
end
else
assert(ischar(source),'ERROR: invalid file name');
if contains(source,'*')
... |
github | SMASHtoolbox/release-master | apply.m | .m | release-master/+SMASH/+ImageAnalysis/@DistortionGrid/apply.m | 2,928 | utf_8 | e6b9f8d39617dabfe336aa48aa1784dc | % APPLY Remove distortion from an Image object
%
% This method removes geometric distortion from a target object using the
% information stored in a Distortion object.
% >> result=apply(object,target);
% The second input "target" can be an object of the Image class or any
% subclass of Image.
%
% Local Jacobian corr... |
github | SMASHtoolbox/release-master | rotate.m | .m | release-master/+SMASH/+ImageAnalysis/@DistortionGrid/rotate.m | 1,672 | utf_8 | f5fb0a2429800817e981ad2bb134e830 | % rotate Rotate measured image
%
% This method rotates step wedge measurement. The image can be rotated by
% a specified angle (in degrees):
% >> object=rotate(object,theta);
% or automatically.
% >> object=rotate(object);
% Automatic rotation forces the image's longest dimension to be horiztonal,
% with incre... |
github | SMASHtoolbox/release-master | blurGlobal.m | .m | release-master/+SMASH/+ImageAnalysis/@DistortionGrid/blurGlobal.m | 1,400 | utf_8 | 9b9e452bca65c6ba3a169e93dedc3123 | %
% created January 10, 2014 by Daniel Dolan (Sandia National Laboratories)
%
function object=blurGlobal(object,order)
% handle input
if (nargin<2) || isempty(order)
order=1;
end
assert(isnumeric(order),'ERROR: order must be numeric');
if numel(order)==1
order=repmat(order,[1 2]);
else
order=order(1:2);
en... |
github | SMASHtoolbox/release-master | blur.m | .m | release-master/+SMASH/+ImageAnalysis/@DistortionGrid/blur.m | 1,101 | utf_8 | a15efd60da22c1957992ba69f5a5773b | % BLUR Reduce sharp isomesh variations
%
% This method "blurs" the isomesh of a Distortion object, reducing
% high-frequency spatial variations. Two types of blurring are supported.
% >> new=blur(object,'local'); % default choice
% >> new=blur(object,'global',[order]);
% Local blurring replaces each mesh point b... |
github | SMASHtoolbox/release-master | clean.m | .m | release-master/+SMASH/+ImageAnalysis/@DistortionGrid/clean.m | 808 | utf_8 | 5f07d62bb3ef032875188582bf3f02e4 | % clean Remove local artifacts
%
% This method "cleans" distortion grid measurements. Local artifacts are
% removed from a specified neighborhood via a median filter.
% >> object=clean(object); % default neighborhood is 9x9 pixels
% >> object=clean(object,nhood);
% Neighborhoods are specified by one or two num... |
github | SMASHtoolbox/release-master | blurLocal.m | .m | release-master/+SMASH/+ImageAnalysis/@DistortionGrid/blurLocal.m | 1,403 | utf_8 | f7ff1f092007d3828d5f51c3c4c3f661 | %
% created January 10, 2014 by Daniel Dolan (Sandia National Laboratories)
%
function object=blurLocal(object)
Xold=object.IsoMesh1;
Xnew=Xold;
Yold=object.IsoMesh2;
Ynew=Yold;
[N,M]=size(Xold);
for n=2:(N-1)
for m=2:(M-1)
x=[Xold(n,m-1) Xold(n+1,m) Xold(n,m+1) Xold(n-1,m)];
y=[Yold(n,m-1) Yold(n+1,... |
github | SMASHtoolbox/release-master | crop.m | .m | release-master/+SMASH/+ImageAnalysis/@DistortionGrid/crop.m | 755 | utf_8 | 4faa88c8aa126ab9d8747477d5c49247 | % crop Crop step wedge measurement
%
% This method crops the measured step wedge image. Cropping can be
% selected interactively:
% >> object=crop(object);
% >> object=crop(object,'manual');
% or by specifying horizontal and vertical ranges.
% >> object=crop(object,hrange,vrange);
%
% NOTE: images should b... |
github | SMASHtoolbox/release-master | remesh.m | .m | release-master/+SMASH/+ImageAnalysis/@DistortionGrid/remesh.m | 1,559 | utf_8 | d8529a6638c41c1ed26a627eaee43d29 | % REMESH Generate corrected mesh arrays
%
% This method generates corrected mesh arrays from the isomesh arrays in a
% Distortion object.
% >> object=remesh(object);
%
% See also Distortion, apply, blur, visualize
%
%
% created January 13, 2014 by Daniel Dolan (Sandia National Laboratories)
%
function object=remes... |
github | SMASHtoolbox/release-master | locate.m | .m | release-master/+SMASH/+ImageAnalysis/@DistortionGrid/locate.m | 6,024 | utf_8 | 04c7c3f0a9fe700cae87a8e95fee2794 | % LOCATE Define isopoints in a Distortion object.
%
% This method defines isopoints--locations that should have a common grid
% value--in a Distortion object. These points are used to construct a
% mesh that controls distortion removal.
%
% Isopoints may be
% selected interactively:
% >> object=locate(object);
% or... |
github | SMASHtoolbox/release-master | center.m | .m | release-master/+SMASH/+ImageAnalysis/@DistortionGrid/center.m | 65 | utf_8 | 150236f3586a7eb2115057fbc23601f5 | % under construction
function object=center(object,varargin)
end |
github | SMASHtoolbox/release-master | create.m | .m | release-master/+SMASH/+ImageAnalysis/@DistortionGrid/create.m | 1,007 | utf_8 | e76a76baa50d37d411c4b5b57337ab6d | % This method fills in the Settings and Results property during object
% creation
function object=create(object)
% general set up
object.Measurement.GraphicOptions.Title='Distortion grid';
% % set up settings structure
% settings=struct();
%
% settings.ID=object.DefaultID;
%
% settings.StepLevels = object.DefaultSt... |
github | SMASHtoolbox/release-master | extend.m | .m | release-master/+SMASH/+ImageAnalysis/@DistortionGrid/extend.m | 1,212 | utf_8 | fbd9fbf9ac5f6249b5181dabf00e7640 | % EXTEND Extend isomesh by one point in each direction
%
% This method adds new mesh points to an existing Distrotion object, extending
% the mesh boundaries vertically and horizontally.
%
% Usage:
% >> object=extend(object);
%
% See also Distortion, apply, locate, visualize
%
% created January 13, 2014 by Daniel Do... |
github | SMASHtoolbox/release-master | restore.m | .m | release-master/+SMASH/+ImageAnalysis/@DistortionGrid/restore.m | 272 | utf_8 | 5f99760881752619af0387e09a069abc | % restore Restore DistortionGrid object from an archive
function object=restore(data)
object=SMASH.ImageAnalysis.DistortionGrid('-empty');
name=fieldnames(data);
for n=1:numel(name)
if isprop(object,name{n})
object.(name{n})=data.(name{n});
end
end
end |
github | SMASHtoolbox/release-master | view.m | .m | release-master/+SMASH/+ImageAnalysis/@DistortionGrid/view.m | 3,137 | utf_8 | de78cf5ca9ff870c531764dc9c9c228a | % view Distortion grid visualization
%
% This method displays distortion grid information. The default
% visualization is the measured image.
% view(object);
% view(object,'measurement');
% Alternate visualizations may also be chosen.
% view(object,'isopoints');
% view(object,'isomesh');
% view(object,'... |
github | SMASHtoolbox/release-master | mesh.m | .m | release-master/+SMASH/+ImageAnalysis/@DistortionGrid/mesh.m | 2,411 | utf_8 | 0dfa673ff0dc6fcfe0332ebf83122f71 | % MESH Generate isomesh arrays
%
% This method generates isomesh arrays from the isopoints in a Distortion
% object.
% >> object=mesh(object);
%
% See also Distortion, apply, blur, visualize
%
%
% created January 7, 2014 by Daniel Dolan (Sandia National Laboratories)
%
function object=mesh(object)
% extract iso... |
github | SMASHtoolbox/release-master | vmsort.m | .m | release-master/+SMASH/+ImageAnalysis/@DistortionGrid/private/vmsort.m | 2,567 | utf_8 | 4377d9b943854d7564f15175e968d13f | % VMSORT Sort table based on vector magnitude
%
% This function sorts (x,y) data stored as columns in a table. Data is
% sorted sequentially after the second row in the table. Subsequent rows
% are associated with the nearest sorted row. The new row is inserted
% before or after the nearest point based on the most c... |
github | SMASHtoolbox/release-master | vdsort.m | .m | release-master/+SMASH/+ImageAnalysis/@DistortionGrid/private/old/vdsort.m | 1,578 | utf_8 | 2c992aad8df1af4c4211eef55b37f2ab | % VDSORT Sort table based on vector direction
%
% This function sorts a two-dimensional table to maintain consistent
% vector directions.
% >> table=vdsort([x(:) y(:)]);
% After sorting is complete, any vector pair created from
% three adjacent rows in the table will point in the same general
% direction, i.e. their... |
github | SMASHtoolbox/release-master | sortTable.m | .m | release-master/+SMASH/+ImageAnalysis/@DistortionGrid/private/old/sortTable.m | 748 | utf_8 | d749a50927134d7e2bb2f40d09044e8b | % sortTable Sort [x y] table based on distance and direction
%
%
function table=sortTable(table,start)
% handle input
assert(nargin>0,'ERROR: no table specified');
[rows,columns]=size(table);
if columns ~= 2
error('ERROR: table must be two-dimensional');
end
if nargin<2
start=[];
elseif strcmpi(start,'last'... |
github | SMASHtoolbox/release-master | remesh.m | .m | release-master/+SMASH/+ImageAnalysis/@DistortionGrid/old/remesh.m | 219 | utf_8 | 12474ddfac3b790f36f8ba9c222e9b6c | % UNDER CONSTRUCTION
%
% See also Distortion, apply, blur, visualize
%
%
% created January 7, 2014 by Daniel Dolan (Sandia National Laboratories)
%
function [IsoMesh1,IsoMesh2,ArcMesh1,ArcMesh2]=remesh(object)
end
|
github | SMASHtoolbox/release-master | restore.m | .m | release-master/+SMASH/+ImageAnalysis/@DistortionGrid/old/restore.m | 260 | utf_8 | 23ca40b8742ab4b2ee939ddcba3d5266 | % restore Restore Image object from an archive
function object=restore(data)
object=SMASH.ImageAnalysis.Distortion([],[],NaN);
name=fieldnames(data);
for n=1:numel(name)
if isprop(object,name{n})
object.(name{n})=data.(name{n});
end
end
end |
github | SMASHtoolbox/release-master | view.m | .m | release-master/+SMASH/+ImageAnalysis/@DistortionGrid/old/view.m | 3,704 | utf_8 | df27b6a862fff50dfcec45c53ce84daa | % view Distortion grid visualization
%
% This method visually displays step wedge information. The default
% visualization is the measured image.
% >> view(object);
% >> view(object,'Measurement');
% Analysis results can also be displayed.
% >> view(object,'Results');
%
% See also StepWedge, clean, crop, r... |
github | SMASHtoolbox/release-master | apply.m | .m | release-master/+SMASH/+ImageAnalysis/@StepWedge/apply.m | 1,193 | utf_8 | ce04e0886204c29df505ea1ffe1ddc26 | % apply Apply step wedge to an image
%
% This method linearizes an image using results from step wedge analysis.
% >> new=apply(object,target);
% The target is an Image that is linearized to produce a new Image.
% Linearization can only be performed after the StepWedge object is
% analyzed!
%
% See also SMASH.Image... |
github | SMASHtoolbox/release-master | rotate.m | .m | release-master/+SMASH/+ImageAnalysis/@StepWedge/rotate.m | 1,907 | utf_8 | 6b40e35a68659ce12775d625164dc337 | % rotate Rotate measured image
%
% This method rotates step wedge measurement. The image can be rotated by
% a specified angle (in degrees):
% object=rotate(object,theta);
% or automatically.
% object=rotate(object,'auto');
% Automatic rotation forces the image's longest dimension to be horiztonal,
% with increa... |
github | SMASHtoolbox/release-master | clean.m | .m | release-master/+SMASH/+ImageAnalysis/@StepWedge/clean.m | 795 | utf_8 | 4257a5f676de3a87a3b0ed07b53ea4b4 | % clean Remove local artifacts
%
% This method "cleans" step wedge measurements. Local artifacts are
% removed from a specified neighborhood via a median filter.
% >> object=clean(object); % default neighborhood is 9x9 pixels
% >> object=clean(object,nhood);
% Neighborhoods are specified by one or two numbers:... |
github | SMASHtoolbox/release-master | configure.m | .m | release-master/+SMASH/+ImageAnalysis/@StepWedge/configure.m | 3,789 | utf_8 | 147d2add889e3c0a2dfb1360015b6644 | % configure Configure analysis settings
%
% This method configures settings used by the analysis method.
% Configurations are specified by name/value pairs.
% >> object=configure(object,name1,value1,...);
% Valid settings include:
% StepLevels : array of optical densities for the step wedge
% StepOffsets ... |
github | SMASHtoolbox/release-master | crop.m | .m | release-master/+SMASH/+ImageAnalysis/@StepWedge/crop.m | 755 | utf_8 | 4faa88c8aa126ab9d8747477d5c49247 | % crop Crop step wedge measurement
%
% This method crops the measured step wedge image. Cropping can be
% selected interactively:
% >> object=crop(object);
% >> object=crop(object,'manual');
% or by specifying horizontal and vertical ranges.
% >> object=crop(object,hrange,vrange);
%
% NOTE: images should b... |
github | SMASHtoolbox/release-master | locate.m | .m | release-master/+SMASH/+ImageAnalysis/@StepWedge/locate.m | 4,300 | utf_8 | b6f1867924a4d8ba4009bc031072e486 | % locate Locate step wedge regions
%
% This method locates constant regions in step wedge measurement. The
% number of regions is determined by the StepLevels and StepOffsets
% settings. Step transitions are determined by numerical differentiation,
% which is controlled by the DerivativeParams setting. HorizontalMar... |
github | SMASHtoolbox/release-master | generate.m | .m | release-master/+SMASH/+ImageAnalysis/@StepWedge/generate.m | 1,301 | utf_8 | 2d1f05ce7b571d21903fe0914ee697b9 | % generate Generate exposure table
%
%
% created February 5, 2016 by Daniel Dolan (Sandia National Laboratories)
%
function object=generate(object)
% generate exposure table
N=numel(object.Settings.StepOffsets);
OD=sort(object.Settings.StepLevels);
OD=OD(end:-1:1);
OD=repmat(OD,[N 1]);
offset=sort(object.Settings.St... |
github | SMASHtoolbox/release-master | analyze.m | .m | release-master/+SMASH/+ImageAnalysis/@StepWedge/analyze.m | 7,826 | utf_8 | 766f5646e7468b24549043656fd2f60e | % analyze Analyze step wedge
%
% This method analyzes the step wedge image to determine how
% measured optical density maps to film exposure.
% object=analyze(object);
% Analysis must be performed before the apply method can be used.
%
% Step wedge analysis several intermediate steps.
% -The user is prompted to... |
github | SMASHtoolbox/release-master | create.m | .m | release-master/+SMASH/+ImageAnalysis/@StepWedge/create.m | 814 | utf_8 | 04b22e83fdafe2fe8491067de8af1a5a | % This method fills in the Settings and Results property during object
% creation
function object=create(object)
% general set up
object.Measurement.GraphicOptions.Title='Step wedge';
% set up settings structure
settings=struct();
settings.ID='AI-11-0004';
settings.StepLevels = [0.08 0.20 0.35 0.51 0.64 0.78 0.94... |
github | SMASHtoolbox/release-master | restore.m | .m | release-master/+SMASH/+ImageAnalysis/@StepWedge/restore.m | 262 | utf_8 | 161c23e829d69555cac1c081862b778e | % restore Restore StepWedge object from an archive
function object=restore(data)
object=SMASH.ImageAnalysis.StepWedge('-empty');
name=fieldnames(data);
for n=1:numel(name)
if isprop(object,name{n})
object.(name{n})=data.(name{n});
end
end
end |
github | SMASHtoolbox/release-master | view.m | .m | release-master/+SMASH/+ImageAnalysis/@StepWedge/view.m | 2,730 | utf_8 | d469677b1729583cee9da880d751d5b1 | % view Step wedge visualization
%
% This method visually displays step wedge information. The default
% visualization is the measured image.
% view(object);
% view(object,'measurement');
% Analysis results can also be displayed.
% view(object,'results');
%
% See also StepWedge, clean, crop, rotate
%
%
% crea... |
github | SMASHtoolbox/release-master | tweak.m | .m | release-master/+SMASH/+ImageAnalysis/@StepWedge/tweak.m | 1,147 | utf_8 | 460f5b484e1cb31532dc871e49e6db51 | % tweak Automatically adjust step offsets
%
% This method automatically adjusts offset values on a step wedge for
% best overlap in the transfer curve.
% object=tweak(object);
%
% See also StepWedge, analyze, clean, crop
%
%
% created February 5, 2016 by Daniel Dolan (Sandia National Laboatories)
%
function object... |
github | SMASHtoolbox/release-master | slice.m | .m | release-master/+SMASH/+ImageAnalysis/@ImageGroup/slice.m | 5,009 | utf_8 | 1e769baa21d2978ef3e275f109a67bb2 | % SLICE Generate slices (lineouts) of ImageGroup objects
%
% This function slices an Image object at a specified grid location.
% >> result=slice(object,coordinate,value);
% The input "coordinate" should be 'Grid1' or 'Grid2'; "value" can only be
% one location within that grid (at the moment). If these inputs ar... |
github | SMASHtoolbox/release-master | rotate.m | .m | release-master/+SMASH/+ImageAnalysis/@ImageGroup/rotate.m | 3,074 | utf_8 | 46823c8d5937da2a4055e805399d74a3 | % ROTATE Rotate an ImageGroup object
%
% This method rotates the data and grid in an ImageGroup object.
% The default call opens an interactive GUI (at the moment, the first image
% is always called for the GUI).
% object=rotate(object) or object=rotate(object,'gui');
%
% Specific calls can also be made:
% obje... |
github | SMASHtoolbox/release-master | flip.m | .m | release-master/+SMASH/+ImageAnalysis/@ImageGroup/flip.m | 1,033 | utf_8 | db232eae5edfc0e060a4ea0c4c9d761b | % FLIP Flip object Data along a specified coordinate
%
% Usage:
% >> object=flip(object,coordinate);
% "coordinate" may be 'Grid1' or 'Grid2'
%
% See also IMAGEGROUP, rotate
%
%
% created November 25, 2013 by Daniel Dolan (Sandia National Laboratories)
% modified for ImageGroup February 11, 2016 by Sean Grant (SNL/... |
github | SMASHtoolbox/release-master | showSnapshot.m | .m | release-master/+SMASH/+ImageAnalysis/@ImageGroup/showSnapshot.m | 3,895 | utf_8 | 91fc04f460b05cf38b1af4625530e9c7 | % SHOWSNAPSHOT View showing ImageGroup objects with one Image brought to prominance
%
% This view method brings up one of the Image objects within the ImageGroup
% to the primary plot, while the others are contained in a smaller slide
% of thumbnails.
%
% Selecting one of the Images from the thumbnails will bring that... |
github | SMASHtoolbox/release-master | differentiate.m | .m | release-master/+SMASH/+ImageAnalysis/@ImageGroup/differentiate.m | 1,447 | utf_8 | f2ecbd6db57e10529ed2fc90631710f9 | % DIFFERENTIATE calculate ImageGroup derivatives
%
% This method calculates derivatives of ImageGroup Data. Local
% polynomial smoothing (Savitzky-Golay method) is used to reduce the
% effects of noise. The coordinate and smoothing parameters
% are specified as input arguments.
% >> result=derivative(object,coordin... |
github | SMASHtoolbox/release-master | import.m | .m | release-master/+SMASH/+ImageAnalysis/@ImageGroup/import.m | 4,758 | utf_8 | 8a9137a87e1d0341c960e75b2eee0d2b |
function object=import(object,data)
object.Name='ImageGroup object';
object.GraphicOptions=SMASH.General.GraphicOptions;
object.GraphicOptions.Title='ImageGroup object';
object.GraphicOptions.YDir='reverse';
% multiple files
if numel(data)>1
for k=1:numel(data)
if k==1
object=import(object... |
github | SMASHtoolbox/release-master | bin.m | .m | release-master/+SMASH/+ImageAnalysis/@ImageGroup/bin.m | 1,409 | utf_8 | 8ff159d2aed25170612d180f4374970e | % BIN Reduce ImageGroup resolution by binning
%
% The same binning is performed on each Image within the ImageGroup.
%
% Binning is a form of smoothing, where local groups of M x N pixels are
% collected into a set of "superpixels" formed by summation over the
% original image. The binned object spans the same grid ra... |
github | SMASHtoolbox/release-master | shuffle.m | .m | release-master/+SMASH/+ImageAnalysis/@ImageGroup/shuffle.m | 283 | utf_8 | 2a9975aafd5024ed5f803d2a896cfede | % UNDER CONSTRUCTION
% shuffle Shuffle image order
%
%
function out=shuffle(object,index)
% manage input
valid=1:object.NumberImages;
% split and regather
temp=cell(1,object.NumberImages);
[temp{:}]=split(object);
temp=temp(index);
out=SMASH.ImageAnalysis.ImageGroup(temp{:});
end |
github | SMASHtoolbox/release-master | map.m | .m | release-master/+SMASH/+ImageAnalysis/@ImageGroup/map.m | 1,656 | utf_8 | ad5f9e27fe43407352c903c1f25eedd5 | %MAP Map ImageGroup coordinate to a new representation
%
% This method applies a mapping function to one or both coordinate
% arrays in ImageGroup object. It is intended for advanced users only.
% For simple transformations, use the shift and scale methods. Many data
% transformations can be performed directly.
% ... |
github | SMASHtoolbox/release-master | gather.m | .m | release-master/+SMASH/+ImageAnalysis/@ImageGroup/gather.m | 2,047 | utf_8 | f6b4584103c59180bd91435069cac930 | % GATHER Combine objects into a ImageGroup
%
% This method combines ImageGroup (and Image) objects into a new ImageGroup
% object with a common Grid.
% >> new=gather(object1,object2,...)
%
% See also ImageGroup, split
%
%
% created January 7, 2015 by Sean Grant (Sandia National Laboratories/UT)
%
function object=g... |
github | SMASHtoolbox/release-master | histogram.m | .m | release-master/+SMASH/+ImageAnalysis/@ImageGroup/histogram.m | 1,512 | utf_8 | 4c07601ccda61bed8359c0167b936ad4 | % HISTOGRAM Histogram of Image data
%
% This method performs the histogram method on one of the Images within an
% ImageGroup.
%
% This method provide a graphical representation of the distribution of
% Image data. Elements in data are sorted into 'nbins' of equally spaced
% bins along the x-axis between the minimum... |
github | SMASHtoolbox/release-master | lookup.m | .m | release-master/+SMASH/+ImageAnalysis/@ImageGroup/lookup.m | 759 | utf_8 | 5047750cabb9e0088684646ec2184419 | % LOOKUP Look up data values at specific grid locations
%
% This method returns interpolated data values for specified grid
% locations.
% >> z=lookup(object,x,y);
%
% See also ImageGroup, regrid
%
%
% created November 15, 2013 by Daniel Dolan (Sandia National Laboratories)
% modified for ImageGroup February 11, 2... |
github | SMASHtoolbox/release-master | showMosaic.m | .m | release-master/+SMASH/+ImageAnalysis/@ImageGroup/showMosaic.m | 736 | utf_8 | 471fad1cbc1f09b2d9649e0e7bff02f3 | % SHOWMOSAIC Standard view showing ImageGroup object as a mosaic of images
%
% See also ImageGroup, view, showSingle
% created January 28, 2016 by Sean Grant (Sandia National Laboratories/UT)
%
function varargout=showMosaic(object,target)
% Handle inputs
if (nargin<2) || isempty(target)
h=basic_figure;
h.axes... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.