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
marcospaul/GPIS-master
testBadSinTest.m
.m
GPIS-master/dependencies/matlab_visualization_scripts/matlab_xunit_3_1_1/doc/examples_general/testBadSinTest.m
238
utf_8
d77906f41f7e994cf556571bc9098649
function test_suite = testBadSinTest % Copyright 2013 The MathWorks, Inc. initTestSuite; function testSinPi % Example of a failing test case. The test writer should have used % assertAlmostEqual here. assertEqual(sin(pi), 0);
github
marcospaul/GPIS-master
testCos.m
.m
GPIS-master/dependencies/matlab_visualization_scripts/matlab_xunit_3_1_1/doc/examples_general/testCos.m
173
utf_8
4621d5fdc646df10de671f12f5547933
function test_suite = testCos % Copyright 2013 The MathWorks, Inc. initTestSuite; function testTooManyInputs assertExceptionThrown(@() cos(1, 2), 'MATLAB:maxrhs');
github
marcospaul/GPIS-master
test_that.m
.m
GPIS-master/dependencies/matlab_visualization_scripts/matlab_xunit_3_1_1/doc/+abc_tests/test_that.m
161
utf_8
97300fd8d3adec69102d836a63110ca5
% Do-nothing test used in the examples for organizing tests inside packages. % % Steven L. Eddins % Copyright 2010 The MathWorks, Inc. function test_that
github
marcospaul/GPIS-master
test_this.m
.m
GPIS-master/dependencies/matlab_visualization_scripts/matlab_xunit_3_1_1/doc/+abc_tests/test_this.m
161
utf_8
fa26021122fc1ebe7ff54a143d85c458
% Do-nothing test used in the examples for organizing tests inside packages. % % Steven L. Eddins % Copyright 2010 The MathWorks, Inc. function test_this
github
marcospaul/GPIS-master
TestRunDisplay.m
.m
GPIS-master/dependencies/matlab_visualization_scripts/matlab_xunit_3_1_1/xunit/TestRunDisplay.m
10,030
utf_8
24f4a694479ffe2dcf3e7255bd249bef
classdef TestRunDisplay < TestRunMonitor %TestRunDisplay Print test suite execution results. % TestRunDisplay is a subclass of TestRunMonitor. If a TestRunDisplay % object is passed to the run method of a TestComponent, such as a % TestSuite or a TestCase, it will print information to the Command % Window...
github
marcospaul/GPIS-master
TestSuite.m
.m
GPIS-master/dependencies/matlab_visualization_scripts/matlab_xunit_3_1_1/xunit/TestSuite.m
13,487
utf_8
4a3e72035a673d0511e4d6386689a4a8
%TestSuite Collection of TestComponent objects % The TestSuite class defines a collection of TestComponent objects. % % TestSuite methods: % TestSuite - Constructor % add - Add test component to test suite % print - Display test suite summary to ...
github
marcospaul/GPIS-master
runtests.m
.m
GPIS-master/dependencies/matlab_visualization_scripts/matlab_xunit_3_1_1/xunit/runtests.m
5,001
utf_8
3bb41e64615af58cf99651fbefef9971
function out = runtests(varargin) %runtests Run unit tests % runtests runs all the test cases that can be found in the current directory % and summarizes the results in the Command Window. % % Test cases can be found in the following places in the current directory: % % * An M-file function whose nam...
github
marcospaul/GPIS-master
isTestCaseSubclass.m
.m
GPIS-master/dependencies/matlab_visualization_scripts/matlab_xunit_3_1_1/xunit/+xunit/+utils/isTestCaseSubclass.m
933
utf_8
1a1ee7cece4bd3d76c9823737c53c81b
function tf = isTestCaseSubclass(name) %isTestCaseSubclass True for name of a TestCase subclass % tf = isTestCaseSubclass(name) returns true if the string name is the name of % a TestCase subclass on the MATLAB path. % Steven L. Eddins % Copyright 2008-2009 The MathWorks, Inc. tf = false; class_met...
github
marcospaul/GPIS-master
arrayToString.m
.m
GPIS-master/dependencies/matlab_visualization_scripts/matlab_xunit_3_1_1/xunit/+xunit/+utils/arrayToString.m
3,068
utf_8
a26e49f162e838cae6baa458ce8a3272
function s = arrayToString(A) %arrayToString Convert array to string for display. % S = arrayToString(A) converts the array A into a string suitable for % including in assertion messages. Small arrays are converted using disp(A). % Large arrays are displayed similar to the way structure field values display ...
github
marcospaul/GPIS-master
compareFloats.m
.m
GPIS-master/dependencies/matlab_visualization_scripts/matlab_xunit_3_1_1/xunit/+xunit/+utils/compareFloats.m
4,504
utf_8
8e53c740ecedcf9e986479cd7c359a73
function result = compareFloats(varargin) %compareFloats Compare floating-point arrays using tolerance. % result = compareFloats(A, B, compare_type, tol_type, tol, floor_tol) % compares the floating-point arrays A and B using a tolerance. compare_type % is either 'elementwise' or 'vector'. tol_type is eithe...
github
marcospaul/GPIS-master
testIsAlmostEqual.m
.m
GPIS-master/dependencies/matlab_visualization_scripts/matlab_xunit_3_1_1/obsolete/tests/testIsAlmostEqual.m
1,280
utf_8
1ba7369398f316f90d543c04b32e8765
function test_suite = testIsAlmostEqual %testIsAlmostEqual Unit tests for isAlmostEqual % Steven L. Eddins % Copyright 2008 The MathWorks, Inc. initTestSuite; function testExactlyEqual A = [1 2; 3 4]; B = [1 2; 3 4]; assertTrue(mtest.utils.isAlmostEqual(A, B)); function testDefaultTolerance assert...
github
marcospaul/GPIS-master
testAssertAlmostEqual.m
.m
GPIS-master/dependencies/matlab_visualization_scripts/matlab_xunit_3_1_1/obsolete/tests/testAssertAlmostEqual.m
1,102
utf_8
ba66ade4b38bb11cf47cf991b39c852e
function test_suite = testAssertAlmostEqual %testAssertAlmostEqual Unit tests for assertAlmostEqual % Steven L. Eddins % Copyright 2008 The MathWorks, Inc. initTestSuite; function testEqual assertAlmostEqual(1, 1); function testEqualWithThreeInputs assertAlmostEqual(1, 1.1, 0.2); function testEqu...
github
marcospaul/GPIS-master
testSubfunctions.m
.m
GPIS-master/dependencies/matlab_visualization_scripts/matlab_xunit_3_1_1/obsolete/tests/cwd_test/testSubfunctions.m
229
utf_8
d40e59204ad52a0350ef36b9ea09a883
function test_cases = testSubfunctions %testSubfunctions Contains two passing subfunction tests % Steven L. Eddins % Copyright 2008 The MathWorks, Inc. findSubfunctionTests; function testSub1 function testSub2
github
marcospaul/GPIS-master
isTestCaseSubclass.m
.m
GPIS-master/dependencies/matlab_visualization_scripts/matlab_xunit_3_1_1/obsolete/+mtest/+utils/isTestCaseSubclass.m
933
utf_8
1a1ee7cece4bd3d76c9823737c53c81b
function tf = isTestCaseSubclass(name) %isTestCaseSubclass True for name of a TestCase subclass % tf = isTestCaseSubclass(name) returns true if the string name is the name of % a TestCase subclass on the MATLAB path. % Steven L. Eddins % Copyright 2008-2009 The MathWorks, Inc. tf = false; class_met...
github
marcospaul/GPIS-master
compareFloats.m
.m
GPIS-master/dependencies/matlab_visualization_scripts/matlab_xunit_3_1_1/obsolete/+mtest/+utils/compareFloats.m
3,598
utf_8
6a545c961c56d5c60a5d1688e6a397b7
function result = compareFloats(varargin) %compareFloats Compare floating-point arrays using tolerance. % result = compareFloats(A, B, compare_type, tol_type, tol, floor_tol) % compares the floating-point arrays A and B using a tolerance. compare_type % is either 'elementwise' or 'vector'. tol_type is eithe...
github
marcospaul/GPIS-master
parseFloatAssertInputs.m
.m
GPIS-master/dependencies/matlab_visualization_scripts/matlab_xunit_3_1_1/obsolete/+mtest/+utils/parseFloatAssertInputs.m
2,025
utf_8
885cace1b16bb740872e6c94927a46e5
function params = parseFloatAssertInputs(varargin) %parseFloatAssertInputs Parse inputs for floating-point assertion functions. % params = parseFloatAssertInputs(varargin) parses the input arguments for % assertElementsAlmostEqual, assertVectorsAlmostEqual, and compareFcn. It % returns a parameter struct cont...
github
marcospaul/GPIS-master
test_assertVectorsAlmostEqual.m
.m
GPIS-master/dependencies/matlab_visualization_scripts/matlab_xunit_3_1_1/tests/test_assertVectorsAlmostEqual.m
2,560
utf_8
b1ef6ae242bc4a17b51413303ce8c424
function suite = test_assertVectorsAlmostEqual % Copyright 2013 The MathWorks, Inc. initTestSuite; %=============================================================================== function test_happyCase A = [1 1e10]; B = [2 1e10]; % All code here should execute with no error. assertVectorsAlmostEqual(A...
github
marcospaul/GPIS-master
test_arrayToString.m
.m
GPIS-master/dependencies/matlab_visualization_scripts/matlab_xunit_3_1_1/tests/test_arrayToString.m
505
utf_8
8d56541f1f4e3cd3cc1c455e50a732eb
function test_suite = test_arrayToString %test_arrayToString Unit test for arrayToString. % Steven L. Eddins % Copyright 2009 The MathWorks, Inc. initTestSuite; function test_smallInput A = [1 2 3]; assertEqual(strtrim(xunit.utils.arrayToString(A)), '1 2 3'); function test_largeInput A = ze...
github
marcospaul/GPIS-master
test_assertFilesEqual.m
.m
GPIS-master/dependencies/matlab_visualization_scripts/matlab_xunit_3_1_1/tests/test_assertFilesEqual.m
1,071
utf_8
000206d5e281d7c86139439735d57e66
function test_suite = test_assertFilesEqual %test_assertFilesEqual Unit test for assertFilesEqual % Steven L. Eddins % Copyright 2009 The MathWorks, Inc. initTestSuite; function test_equal assertFilesEqual('black.tif', 'black.tif'); function test_differentSize assertExceptionThrown(@() assertFilesEq...
github
marcospaul/GPIS-master
test_parseFloatAssertInputs.m
.m
GPIS-master/dependencies/matlab_visualization_scripts/matlab_xunit_3_1_1/tests/test_parseFloatAssertInputs.m
3,993
utf_8
ad336af65158ca5e050a62b8172be617
function suite = test_parseFloatAssertInputs % Copyright 2013 The MathWorks, Inc. initTestSuite; %=============================================================================== function test_tooFewInputs() assertExceptionThrown(@() xunit.utils.parseFloatAssertInputs(), ... 'MATLAB:nargchk:notEnoughInpu...
github
marcospaul/GPIS-master
test_TestSuiteInDir.m
.m
GPIS-master/dependencies/matlab_visualization_scripts/matlab_xunit_3_1_1/tests/test_TestSuiteInDir.m
685
utf_8
68c757319cff3826ffbcf5b9c9f2ccaf
function test_suite = test_TestSuiteInDir %test_TestSuiteInDir Unit test for TestSuiteInDir class. % Steven L. Eddins % Copyright 2009 The MathWorks, Inc. initTestSuite; function test_constructor this_test_path = fileparts(which(mfilename)); cwd_test_dir = fullfile(this_test_path, 'cwd_test'); suite =...
github
marcospaul/GPIS-master
testAssertFalse.m
.m
GPIS-master/dependencies/matlab_visualization_scripts/matlab_xunit_3_1_1/tests/testAssertFalse.m
836
utf_8
83d408335838b3c7588fef242c41417e
function test_suite = testAssertFalse %testAssertFalse Unit tests for assertFalse % Steven L. Eddins % Copyright 2008 The MathWorks, Inc. initTestSuite; function testAssertFalseHappyCase assertFalse(false); function testAssertFalseHappyCaseWithTwoArgs assertFalse(false, '1.e4 e5 2.Nf3 Nc6'); func...
github
marcospaul/GPIS-master
testAssertTrue.m
.m
GPIS-master/dependencies/matlab_visualization_scripts/matlab_xunit_3_1_1/tests/testAssertTrue.m
817
utf_8
2f016e5ff969597d9b2dc259ad2568c5
function test_suite = testAssertTrue %testAssertTrue Unit tests for assertTrue % Steven L. Eddins % Copyright 2008 The MathWorks, Inc. initTestSuite; function testAssertTrueHappyCase assertTrue(true); function testAssertTrueHappyCaseWithTwoArgs assertTrue(true, '1.e4 e5 2.Nf3 Nc6'); function test...
github
marcospaul/GPIS-master
testRuntestsWithDirectoryName.m
.m
GPIS-master/dependencies/matlab_visualization_scripts/matlab_xunit_3_1_1/tests/testRuntestsWithDirectoryName.m
382
utf_8
05bd9d742965b9f5617d558e5d0c6750
function test_suite = testRuntestsWithDirectoryName %testRuntestsWithDirectoryName Unit test for mtest('dirname') syntax. % Copyright 2013 The MathWorks, Inc. initTestSuite; function testDirName current_dir = pwd; target_dir = fullfile(fileparts(which(mfilename)), 'cwd_test'); [T, did_pass] = evalc('runtests(target_...
github
marcospaul/GPIS-master
testIsTestString.m
.m
GPIS-master/dependencies/matlab_visualization_scripts/matlab_xunit_3_1_1/tests/testIsTestString.m
617
utf_8
017171162606d826ffb3b96ed5108e7a
function test_suite = testIsTestString %testIsTestString Unit tests for isTestString % Steven L. Eddins % Copyright 2008 The MathWorks, Inc. initTestSuite; function testOneStringIs assertTrue(xunit.utils.isTestString('testFoobar')); assertTrue(xunit.utils.isTestString('Test_foobar')); function testO...
github
marcospaul/GPIS-master
test_compareFloats.m
.m
GPIS-master/dependencies/matlab_visualization_scripts/matlab_xunit_3_1_1/tests/test_compareFloats.m
3,394
utf_8
422251422591b5c2f6acc9381486d46b
function suite = test_compareFloats % Copyright 2013 The MathWorks, Inc. initTestSuite; %=============================================================================== function test_elementwiseRelativeTolerance tol = 0.1; floor_tol = 0.01; assertTrue(xunit.utils.compareFloats([10 20], [11 20], 'elemen...
github
marcospaul/GPIS-master
testAssertEqual.m
.m
GPIS-master/dependencies/matlab_visualization_scripts/matlab_xunit_3_1_1/tests/testAssertEqual.m
1,406
utf_8
4e69b6a932e343f517a69fa31701260d
function test_suite = testAssertEqual %testAssertEqual Unit tests for assertEqual % Steven L. Eddins % Copyright 2008 The MathWorks, Inc. initTestSuite; function testAssertEqualHappyCase assertEqual(5, 5); function testAssertEqualWithThreeInputs assertEqual(5, 5, 'Scandinavian Defense'); function...
github
marcospaul/GPIS-master
test_assertElementsAlmostEqual.m
.m
GPIS-master/dependencies/matlab_visualization_scripts/matlab_xunit_3_1_1/tests/test_assertElementsAlmostEqual.m
1,837
utf_8
6becf996e29ee40904e486e9cbbb0671
function suite = test_assertElementsAlmostEqual % Copyright 2013 The MathWorks, Inc. initTestSuite; %=============================================================================== function test_happyCase % All code here should execute with no error. assertElementsAlmostEqual(1, 1 + sqrt(eps)/10); assert...
github
marcospaul/GPIS-master
testContainsRegexp.m
.m
GPIS-master/dependencies/matlab_visualization_scripts/matlab_xunit_3_1_1/tests/testContainsRegexp.m
616
utf_8
4e61703bd3c92d6740bf5f37f1e19726
function test_suite = testContainsRegexp %testContainsRegexp Unit tests for containsRegexp % Steven L. Eddins % Copyright 2008 The MathWorks, Inc. initTestSuite; function testOneStringContains assertTrue(xunit.utils.containsRegexp('MATLAB is great', '[A-Z]')); function testOneStringDoesntContain ass...
github
marcospaul/GPIS-master
testAssertExceptionThrown.m
.m
GPIS-master/dependencies/matlab_visualization_scripts/matlab_xunit_3_1_1/tests/testAssertExceptionThrown.m
693
utf_8
9de19aebb86cdc2008d307e8ea6d7afd
function test_suite = testAssertExceptionThrown %testAssertExceptionThrown Unit tests for assertExceptionThrown % Steven L. Eddins % Copyright 2008 The MathWorks, Inc. initTestSuite; function test_happyCase assertExceptionThrown(... @() error('MyProd:MyFun:MyId', 'my message'), 'MyProd:MyFun:MyId')...
github
marcospaul/GPIS-master
test_stringToCellArray.m
.m
GPIS-master/dependencies/matlab_visualization_scripts/matlab_xunit_3_1_1/tests/test_stringToCellArray.m
688
utf_8
71cf479ac7b08d8106cbda2784853cf1
function test_suite = test_stringToCellArray %test_stringToCellArray Unit test for stringToCellArray % Steven L. Eddins % Copyright 2009 The MathWorks, Inc. initTestSuite; function test_happyCase s = sprintf('Hello\nWorld'); assertEqual(xunit.utils.stringToCellArray(s), {'Hello' ; 'World'}); functio...
github
marcospaul/GPIS-master
testIsTearDownString.m
.m
GPIS-master/dependencies/matlab_visualization_scripts/matlab_xunit_3_1_1/tests/testIsTearDownString.m
605
utf_8
d2accbeba9903f309ad00dd70f4f4572
function test_suite = testIsTearDownString %testIsTearDownString Unit tests for isTearDownString % Steven L. Eddins % Copyright 2008 The MathWorks, Inc. initTestSuite; function testOneStringIs assertTrue(xunit.utils.isTearDownString('teardownfoobar')); assertTrue(xunit.utils.isTearDownString('TearDown_...
github
marcospaul/GPIS-master
test_packageName.m
.m
GPIS-master/dependencies/matlab_visualization_scripts/matlab_xunit_3_1_1/tests/test_packageName.m
1,036
utf_8
64b15a6a77cec200b22f03ab9ec58645
function test_suite = test_packageName % Copyright 2013 The MathWorks, Inc. initTestSuite; function test_happyCase suite = TestSuite.fromPackageName('xunit.mocktests'); assertEqual(numel(suite.TestComponents), 5); assertEqual(numel(suite.TestComponents{1}.TestComponents), 1); assertEqual(suite.TestCompon...
github
marcospaul/GPIS-master
test_comparisonMessage.m
.m
GPIS-master/dependencies/matlab_visualization_scripts/matlab_xunit_3_1_1/tests/test_comparisonMessage.m
557
utf_8
604a04180cabe74c4cc4546e3f808648
function test_suite = test_comparisonMessage %test_comparisonMessage Unit test for comparisonMessage. % Steven L. Eddins % Copyright 2009 The MathWorks, Inc. initTestSuite; function test_happyCase s = xunit.utils.comparisonMessage('user message', 'assertion message', ... [1 2 3], 'hello'); c = xun...
github
marcospaul/GPIS-master
testIsSetUpString.m
.m
GPIS-master/dependencies/matlab_visualization_scripts/matlab_xunit_3_1_1/tests/testIsSetUpString.m
563
utf_8
c960957ff15551a2ba968f1264198bc6
function test_suite = testIsSetUpString %testIsSetUpString Unit tests for isSetUpString % Steven L. Eddins % Copyright 2008 The MathWorks, Inc. initTestSuite; function testOneStringIs assertTrue(xunit.utils.isSetUpString('setup')); assertTrue(xunit.utils.isSetUpString('setUp_fixture')); function tes...
github
marcospaul/GPIS-master
testIsTestCaseSubclass.m
.m
GPIS-master/dependencies/matlab_visualization_scripts/matlab_xunit_3_1_1/tests/testIsTestCaseSubclass.m
438
utf_8
fbdaf5ad8bc6b856f66b1c8ee23fe722
function test_suite = testIsTestCaseSubclass %testIsTestCaseSubclass Unit tests for isTestCaseSubclass % Steven L. Eddins % Copyright 2008 The MathWorks, Inc. initTestSuite; function testTestCase assertTrue(xunit.utils.isTestCaseSubclass('TestCase')); function testSubclass assertTrue(xunit.utils.isT...
github
marcospaul/GPIS-master
testSubfunctions.m
.m
GPIS-master/dependencies/matlab_visualization_scripts/matlab_xunit_3_1_1/tests/cwd_test/testSubfunctions.m
222
utf_8
6cf5104a1d3b62a50992ed21df09c61f
function test_suite = testSubfunctions %testSubfunctions Contains two passing subfunction tests % Steven L. Eddins % Copyright 2008 The MathWorks, Inc. initTestSuite; function testSub1 function testSub2
github
marcospaul/GPIS-master
testFunctionHandlesC.m
.m
GPIS-master/dependencies/matlab_visualization_scripts/matlab_xunit_3_1_1/tests/helper_classes/testFunctionHandlesC.m
544
utf_8
c19c253bb3da5c2ee4b9b28220005566
function test_suite = testFunctionHandlesC %testFunctionHandlesC Test file used by TestFunctionHandlesTest % Contains two passing tests that use a test fixture containing an intentional % error. % Steven L. Eddins % Copyright 2008 The MathWorks, Inc. initTestSuite; function testData = setUpFcn tes...
github
marcospaul/GPIS-master
testFunctionHandlesE.m
.m
GPIS-master/dependencies/matlab_visualization_scripts/matlab_xunit_3_1_1/tests/helper_classes/testFunctionHandlesE.m
308
utf_8
03e1c696776541e1abb5b4db8fd7c166
function test_suite = testFunctionHandlesA %testFunctionHandlesE Test file used by TestFunctionHandlesTest % Contains one failing test. % Steven L. Eddins % Copyright 2008 The MathWorks, Inc. initTestSuite; function testA error('testFunctionHandlesA:expectedFailure', 'Bogus message');
github
marcospaul/GPIS-master
testFunctionHandlesA.m
.m
GPIS-master/dependencies/matlab_visualization_scripts/matlab_xunit_3_1_1/tests/helper_classes/testFunctionHandlesA.m
260
utf_8
b0ac7dbb35e22e369df2187b6a1b5ee6
function test_suite = testFunctionHandlesA %testFunctionHandlesA Test file used by TestFunctionHandlesTest % Contains two passing tests. % Steven L. Eddins % Copyright 2008 The MathWorks, Inc. initTestSuite; function testA function testB
github
marcospaul/GPIS-master
testFunctionHandlesB.m
.m
GPIS-master/dependencies/matlab_visualization_scripts/matlab_xunit_3_1_1/tests/helper_classes/testFunctionHandlesB.m
466
utf_8
b5fa9f7591d956cd540b9f097310f8ab
function test_suite = testFunctionHandlesB %testFunctionHandlesB Test file used by TestFunctionHandlesTest % Contains two passing tests that use a test fixture. % Steven L. Eddins % Copyright 2008 The MathWorks, Inc. initTestSuite; function testData = setUpFcn testData = 5; function testA(testData...
github
marcospaul/GPIS-master
testFunctionHandlesD.m
.m
GPIS-master/dependencies/matlab_visualization_scripts/matlab_xunit_3_1_1/tests/helper_classes/testFunctionHandlesD.m
477
utf_8
cfcdffb571117bd9ef1d231e1dbb329e
function test_suite = testFunctionHandlesD %testFunctionHandlesD Test file used by TestFunctionHandlesTest % Contains two passing tests that use a test fixture with no test data. % Steven L. Eddins % Copyright 2008 The MathWorks, Inc. initTestSuite; function setUpFcn function testA(varargin) ass...
github
marcospaul/GPIS-master
notTestString.m
.m
GPIS-master/dependencies/matlab_visualization_scripts/matlab_xunit_3_1_1/tests/helper_classes/notTestString.m
289
utf_8
ee042ab6a26e39b92aaaf25a5e2ec37b
% Copyright 2013 The MathWorks, Inc. function suite = notTestString % This function exists to help test that the TestSuite.fromPwd() method does not % pick up function-handle test files that do not match the naming convention. initTestSuite; function testA function testB
github
marcospaul/GPIS-master
testFunctionHandlesTeardownNoSetup.m
.m
GPIS-master/dependencies/matlab_visualization_scripts/matlab_xunit_3_1_1/tests/helper_classes/testFunctionHandlesTeardownNoSetup.m
278
utf_8
fd4fea8d67e878a3ff9accc0fd7400a5
% Copyright 2013 The MathWorks, Inc. function suite = testFunctionHandlesTeardownNoSetup % Verify that test file works if it has a teardown function but no setup % function. initTestSuite; function teardown close all function test_normalCase assertEqual(1, 1);
github
marcospaul/GPIS-master
test_thatFails.m
.m
GPIS-master/dependencies/matlab_visualization_scripts/matlab_xunit_3_1_1/tests/dir2/test_thatFails.m
138
utf_8
f903b79c5fa0a3297d8c6d40b543bf2a
function test_suite = test_thatFails % Copyright 2013 The MathWorks, Inc. initTestSuite; function test_case assertTrue(false);
github
marcospaul/GPIS-master
test_thatPasses.m
.m
GPIS-master/dependencies/matlab_visualization_scripts/matlab_xunit_3_1_1/tests/dir1/test_thatPasses.m
138
utf_8
69c8c791e752e6b8a71934b0d8fa6d05
function test_suite = test_thatPasses % Copyright 2013 The MathWorks, Inc. initTestSuite; function test_case assertTrue(true);
github
marcospaul/GPIS-master
test_that.m
.m
GPIS-master/dependencies/matlab_visualization_scripts/matlab_xunit_3_1_1/tests/+xunit/+mocktests/test_that.m
214
utf_8
769f2509c194950873e1f4c019912e5b
% test_that.m is a subfunction test file. % % Copyright 2013 The MathWorks, Inc. function test_suite = test_this initTestSuite function test_the_other a = magic(3); function test_nifty b = magic(5);
github
marcospaul/GPIS-master
test_this.m
.m
GPIS-master/dependencies/matlab_visualization_scripts/matlab_xunit_3_1_1/tests/+xunit/+mocktests/test_this.m
107
utf_8
649fbc6f1064432335f1a522d362f7c4
% test_this.m is a function-file test case. % Copyright 2013 The MathWorks, Inc. function test_this
github
marcospaul/GPIS-master
helper_that.m
.m
GPIS-master/dependencies/matlab_visualization_scripts/matlab_xunit_3_1_1/tests/+xunit/+mocktests/helper_that.m
114
utf_8
9941eef48a8a99836c747ef37f483878
% helper_that is not a test file. function y = helper_that(x) y = x; % Copyright 2013 The MathWorks, Inc.
github
marcospaul/GPIS-master
test_a_bit.m
.m
GPIS-master/dependencies/matlab_visualization_scripts/matlab_xunit_3_1_1/tests/+xunit/+mocktests/+subpkg/test_a_bit.m
135
utf_8
72eb72575f706ab265ffe27258521329
function test_suite = test_a_bit % Copyright 2013 The MathWorks, Inc. initTestSuite function test_now function test_later
github
marcospaul/GPIS-master
standardtestsXML.m
.m
GPIS-master/dependencies/TacoPig_withTortilla/+tacopig/+tests/standardtestsXML.m
49,082
utf_8
02c6da50ea31fee05b06c54b22990f95
% This function provides a standard testing suite % New contributions to the covariance functions, mean functions or noise functions % will be tested automatically for the basics below. Other contributions % may need new code for testing. % The usage is given by: % tacopig.tests.standardtestsXML('filename.xml') % If...
github
marcospaul/GPIS-master
approxequal.m
.m
GPIS-master/dependencies/TacoPig_withTortilla/+tacopig/+tests/approxequal.m
506
utf_8
9aae8d440a4be58038ce8e364ab9f9a9
% Compares two outputs returning a positive score that increases with % discrepancy. A heuristic based on correlation and mean difference. % Usage: % score = approxequal(K1,K2) function score = approxequal(K1,K2) if ((size(K1,1) ~=size(K2,1))||(size(K1,2) ~=size(K2,2))) score = inf; % not comparable...
github
marcospaul/GPIS-master
CrossVal.m
.m
GPIS-master/dependencies/TacoPig_withTortilla/+tacopig/+objectivefn/CrossVal.m
4,915
utf_8
d9e0440dc70ee766f1efb90e28d774b9
% The cross validation objective function. % It withholds a prespecified portion of the data (default is 1/5) and % trains on the remainder. The performance of the model with the parameters % is evaluated on the withheld set. This is repeated with a different portion of the data withheld % each time until each data po...
github
marcospaul/GPIS-master
NLML.m
.m
GPIS-master/dependencies/TacoPig_withTortilla/+tacopig/+objectivefn/NLML.m
3,732
utf_8
858441f19ac810fb1ea1b76e344f2fa9
% The negative log marginal likelihood function % [nlml, nlmlg] = GP.objectivefn.NLML(parvec) % Inputs: parvec = a concatinated vector of the mean function, covariance % function and noise funtion's parameters/hyperparameters. % Outputs: nlml = the negative log marginal likelihood % nlmlg = the gradien...
github
marcospaul/GPIS-master
demo3D_ErrorAnalysis.m
.m
GPIS-master/dependencies/TacoPig_withTortilla/+tacopig/+demos/demo3D_ErrorAnalysis.m
6,128
utf_8
3a7ad3dc04894700ed0782920e488634
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % Gaussian Process Demo 3D Error Analysis % Plots errors graphics in IRO 2013 paper %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %Add optimization folder % p = pwd(); slash = p(1); % addpath(genpath...
github
marcospaul/GPIS-master
WolfeLineSearch.m
.m
GPIS-master/dependencies/TacoPig_withTortilla/optimization/minFunc/WolfeLineSearch.m
10,590
utf_8
f962bc5ae0a1e9f80202a9aaab106dab
function [t,f_new,g_new,funEvals,H] = WolfeLineSearch(... x,t,d,f,g,gtd,c1,c2,LS_interp,LS_multi,maxLS,progTol,debug,doPlot,saveHessianComp,funObj,varargin) % % Bracketing Line Search to Satisfy Wolfe Conditions % % Inputs: % x: starting location % t: initial step size % d: descent direction % f: function v...
github
marcospaul/GPIS-master
minFunc_processInputOptions.m
.m
GPIS-master/dependencies/TacoPig_withTortilla/optimization/minFunc/minFunc_processInputOptions.m
4,103
utf_8
8822581c3541eabe5ce7c7927a57c9ab
function [verbose,verboseI,debug,doPlot,maxFunEvals,maxIter,optTol,progTol,method,... corrections,c1,c2,LS_init,cgSolve,qnUpdate,cgUpdate,initialHessType,... HessianModify,Fref,useComplex,numDiff,LS_saveHessianComp,... Damped,HvFunc,bbType,cycle,... HessianIter,outputFcn,useMex,useNegCurv,precFunc...
github
marcospaul/GPIS-master
GP_SR_LMLG.m
.m
GPIS-master/dependencies/TacoPig_withTortilla/TacoPig_October/GPCore/GP_SR_LMLG.m
3,360
utf_8
1c71567b4355ad0694b82e90f4eff6f6
% Gaussian Process LMLG function for subset of regressors % note: there is is a matlab bug causing this to behave as a class member % function... function [nlml, nlmlg] = GP_SR_LMLG(this, parvec) % a dummy gradient nlml = zeros(size(parvec)); % unpack the hyperparameter vector D = size(this.X,1...
github
marcospaul/GPIS-master
GP_MT_LMLG_FN.m
.m
GPIS-master/dependencies/TacoPig_withTortilla/TacoPig_October/GPCore/GP_MT_LMLG_FN.m
10,597
utf_8
01c8263dea393b27c91eba5611d8f166
% Log marginal likelihood gradient for Multi-Task GPs % (C) Alistair Reid & NICTA Sept 2012 function [nlml, nlmlg] = GP_MT_LMLG_FN(GP, parvec) % Special case: Multi-task if ~isa(GP,'GP_MultiTask') error('Please use GP_LMLG_FN instead.'); end ...
github
marcospaul/GPIS-master
rsvd.m
.m
GPIS-master/dependencies/TacoPig_withTortilla/TacoPig_October/Tools/rsvd.m
3,472
utf_8
0f389569cbaf238b16a79f8b9fae7ffc
% % Computes the SVD decomposition of a low-rank square matrix % % Follows the algorithm described in % Finding structure with randomness: Stochastic algorithms % for constructing approximate matrix decompositions % N. Halko, P.G. Martinsson, J. Tropp | arXiv.org report 0909.4061. % % [U,S,V] = rsvd(A, k, alg) ...
github
marcospaul/GPIS-master
expbasisfun.m
.m
GPIS-master/dependencies/TacoPig_withTortilla/TacoPig_October/Tools/expbasisfun.m
1,011
utf_8
90bfc310801136b1d54f095198233caa
% Sum of gaussian basis functions % weights = [w0 w1 w2 ... meanexp1dim1 meanexp1dim2.... % meanexp2dim1 meanexp2dim2.... % lengthexp1dim1 lengthexp1dim2 ... lengthexp2dim1...] function y = expbasisfun(x,NumBasFun,params) [D N] = size(x); % Return the required number of weights if none are supplied i...
github
marcospaul/GPIS-master
SolveCholesky.m
.m
GPIS-master/dependencies/TacoPig_withTortilla/TacoPig_October/Tools/SolveCholesky.m
1,082
utf_8
02ff900538f4f123f33e199dcc7d3856
% solve_chol - solve linear equations from the Cholesky factorization. % Solve A*X = B for X, where A is square, symmetric, positive definite. The % input to the function is R the Cholesky decomposition of A and the matrix B. % Example: X = solve_chol(chol(A),B); % % NOTE: The program code is written in the C lang...
github
marcospaul/GPIS-master
sq_dist.m
.m
GPIS-master/dependencies/TacoPig_withTortilla/TacoPig_October/Tools/sq_dist.m
2,017
utf_8
d44c244399198462bea04c87f3ddd208
% sq_dist - a function to compute a matrix of all pairwise squared distances % between two sets of vectors, stored in the columns of the two matrices, a % (of size D by n) and b (of size D by m). If only a single argument is given % or the second matrix is empty, the missing matrix is taken to be identical % to the...
github
marcospaul/GPIS-master
gaussbasisfun.m
.m
GPIS-master/dependencies/TacoPig_withTortilla/TacoPig_October/Tools/gaussbasisfun.m
660
utf_8
aaffb0274131eb66fe8e1a069a035c5a
% Single multi-variate gaussian basis function % x = D x N where D is dimension number and N is number of points % params = [mean1dim1 mean1dim2 ...length1dim1 length1dim2... mean2dim1 mean2dim2 ...length2dim1 length2dim2...] function y = gaussbasisfun(x,params) [D N] = size(x); % Return the required number...
github
marcospaul/GPIS-master
expmultbasisfun.m
.m
GPIS-master/dependencies/TacoPig_withTortilla/TacoPig_October/Tools/expmultbasisfun.m
977
utf_8
869856a856a3a5db53d2b97334da7362
% Sum of gaussian basis functions % weights = [w0 w1 w2 ... mean1 meandim1exp1 mean2 ... lengthdim1exp1 lengthdim2exp1 ... lengthdim1exp2...] function y = expmultbasisfun(x,NumBasFun,params) [D N] = size(x); % Return the required number of weights if none are supplied if nargin <3 if numel(NumBasF...
github
marcospaul/GPIS-master
stepchange1DTransitions.m
.m
GPIS-master/dependencies/TacoPig_withTortilla/TacoPig_October/Tools/stepchange1DTransitions.m
789
utf_8
d84f884a507b67f66cd5980ac53d7674
% Sum of gaussian basis functions % weights = [Border1 Border2 ... Lengthscale1 Lengthscale2 Lengthscale3...] function y = stepchange1DTransitions(x,NumTrans,params) [D N] = size(x); % Return the required number of weights if none are supplied if nargin <3 if numel(NumTrans) ~=1 error('NumB...
github
marcospaul/GPIS-master
nonlinfun.m
.m
GPIS-master/dependencies/TacoPig_withTortilla/TacoPig_October/Tools/nonlinfun.m
71
utf_8
d2c0108a5f0d6a521c70f0ded2d43d6e
function f = nonlinfun(x) f = 5*erf(x*4)+2*x+ 6*erf(x+3)+8*erf(x-5);
github
marcospaul/GPIS-master
stepchange1D.m
.m
GPIS-master/dependencies/TacoPig_withTortilla/TacoPig_October/Tools/stepchange1D.m
696
utf_8
e23400528f700cc6af2ed80816bf5ca3
% Sum of gaussian basis functions % weights = [Border1 Border2 ... Lengthscale1 Lengthscale2 Lengthscale3...] function y = stepchange1D(x,NumBorders,params) [D N] = size(x); % Return the required number of weights if none are supplied if nargin <3 if numel(NumBorders) ~=1 error('NumBasFun m...
github
marcospaul/GPIS-master
retroproject_beam.m
.m
GPIS-master/dependencies/TacoPig_withTortilla/Marcos_tools/retroproject_beam.m
686
utf_8
fcf3e526186a8aef0d99e5a29d2590e1
function [pointout pointin] =retroproject_beam (X,nav,index) deltas = X(index,:) - nav(index,:); % with respect to X ma = sqrt( deltas(:,1).^2 + deltas(:,2).^2 + deltas(:,3).^2); magnitude=repmat(ma,1,3); theta=acosd(deltas./magnitude); %result= nav(index,:) + (cosd(theta) .* (magnitude+0.5)); % or result= X(index,:)...
github
marcospaul/GPIS-master
setdownsampledfiles.m
.m
GPIS-master/dependencies/TacoPig_withTortilla/Marcos_tools/setdownsampledfiles.m
1,526
utf_8
6d1d925065bb38cebe24eb56b9a09aa0
%% Generating Sampled Files ... %clear all; clc; %object='fence'; %type='laser'; % note: we need to be at ./Marcos_tools to use this function function setdownsampledfiles(object,type) %laser_path='./ErrorAnalysis/datasets/originals/tcalib_compresor_withnav.csv'; if (strcmp(type,'radar')) laser_path=sprintf('./Error...
github
marcospaul/GPIS-master
knnsearch.m
.m
GPIS-master/dependencies/TacoPig_withTortilla/Marcos_tools/knnsearch.m
4,176
utf_8
656ec5e1f689fe531394492eacc96480
function [idx,D]=knnsearch(varargin) % KNNSEARCH Linear k-nearest neighbor (KNN) search % IDX = knnsearch(Q,R,K) searches the reference data set R (n x d array % representing n points in a d-dimensional space) to find the k-nearest % neighbors of each query point represented by eahc row of Q (m x d array). % The...
github
marcospaul/GPIS-master
write_ply.m
.m
GPIS-master/dependencies/TacoPig_withTortilla/Marcos_tools/write_ply.m
1,400
utf_8
ba4695d9cdf0de7381b716ae519a779a
% pty generator ... function write_ply (filename,M) % Generates a *.ply file based on a matrix M % example of usage %write_pty('test.ply',t) %note for laser files i will be the upper confidence uncertainty level and % confidece will be the lower band of confidence ... :S % Calling the function example: % write_pt...
github
marcospaul/GPIS-master
write_pty.m
.m
GPIS-master/dependencies/TacoPig_withTortilla/Marcos_tools/write_pty.m
1,149
utf_8
90dac88ffcdd15ccc461197c498a3c17
% pty generator ... function write_pty (filename,M) % Generates a ply % confidece will be the lower band of confidence ... :S % Calling the function example: % t= [posx(npos) posy(npos) posz(npos) abs(f(npos))]; % write_pty(filename,t') % Where filemane may be e.g. 'file.ply' % posx,posy and posz are the x,y,z posi...
github
marcospaul/GPIS-master
generate_gpnames.m
.m
GPIS-master/dependencies/TacoPig_withTortilla/Marcos_tools/generate_gpnames.m
1,052
utf_8
7f9a463be2603645e0219c86ef60d1b5
%% Generating Sampled Files ... %clear all; clc; %object='fence'; %type='laser'; % note: we need to be at ./Marcos_tools to use this function function generate_gpnames(object,type,Vpct) %laser_path='./ErrorAnalysis/datasets/originals/tcalib_compresor_withnav.csv'; %res=150; ck=1; % counter for kernels vector cp=1;% cou...
github
marcospaul/GPIS-master
generate_lasernames.m
.m
GPIS-master/dependencies/TacoPig_withTortilla/Marcos_tools/generate_lasernames.m
1,016
utf_8
21504e2c1134c00cf74804ff6cec2f50
%% Generating Sampled Files ... %clear all; clc; %object='fence'; %type='laser'; % note: we need to be at ./Marcos_tools to use this function function setdownsampledfiles_mod(object,type,Vpct) %laser_path='./ErrorAnalysis/datasets/originals/tcalib_compresor_withnav.csv'; res=150; ck=1; % counter for kernels vector cp=1...
github
marcospaul/GPIS-master
setdownsampledfiles_mod.m
.m
GPIS-master/dependencies/TacoPig_withTortilla/Marcos_tools/setdownsampledfiles_mod.m
1,536
utf_8
0e660c779ab130e6c10b30f35272d0c2
%% Generating Sampled Files ... %clear all; clc; %object='fence'; %type='laser'; % note: we need to be at ./Marcos_tools to use this function function setdownsampledfiles_mod(object,type,Vpct) %laser_path='./ErrorAnalysis/datasets/originals/tcalib_compresor_withnav.csv'; if (strcmp(type,'radar')) laser_path=sprintf...
github
marcospaul/GPIS-master
artificialcontrains.m
.m
GPIS-master/dependencies/TacoPig_withTortilla/Marcos_tools/artificialcontrains.m
554
utf_8
3cdd9a7afa368f5e011d5ccc5d74f080
function boundaries = artificialcontrains (minx, maxx, minth,maxth) %th: positive threshold for points outside, negative for points inside %minx: minimum boundaries for 3D points clouds in x,y,z %maxx: maximum boundaries for 3D points clouds in x,y,z minx= minx-minth; maxx = maxx+maxth; boundaries= [repmat(minx(...
github
tarmiziAdam2005/myMatlabCode-master
ALMTV.m
.m
myMatlabCode-master/Image Processing/ALMTV.m
3,631
utf_8
851a3ad28f21c38f5e3f578a58556e48
function [f, relchg] = ALMTV(g,H,lam,rho,Nit,tol) %% %==========Anisotropic Total variation using Augmented Lagrangian==== % ALMTV: Augmented Lagrangian Method Total Variation % The original paper [1] Takes into account image and video restorations. % This code is a little modification for just gray scale image restora...
github
tarmiziAdam2005/myMatlabCode-master
TVD_Img.m
.m
myMatlabCode-master/Image Processing/TVD_Img.m
2,304
utf_8
29432bf8f16a0b39e83db57b90302370
function [x, err] = TVD_Img(y, lam, Nit) % Created by Tarmizi Adam 2/09/2015. A program to do Total variation % Denoising (TVD) % Output: % x : Denoised image (Display this) % err: Error at each iteration (Plot this to see convergence) % Input: % y : Noisy Image (Observed Image) % ...
github
tarmiziAdam2005/myMatlabCode-master
ADMM.m
.m
myMatlabCode-master/Image Processing/ADMM Image Denoising/ADMM.m
4,289
utf_8
bc9e13cc65d98df809ebf30b42678f01
function out = ADMM(y,Img,lam,rho,Nit,tol,regType) % created by Tarmizi Adam 16/5/2016 %Update: 26/5/2016 %Update: 15/6/2016 added rho updating for accelerating convergence. % rho updating reference: % - Chan, Stanley H., Ramsin Khoshabeh, Kristofor B. Gibson, Philip E. Gill, and % Truong Q. ...
github
tarmiziAdam2005/myMatlabCode-master
splitBreg.m
.m
myMatlabCode-master/Image Processing/Split Bregman Deblurring/splitBreg.m
2,909
utf_8
d1649c1abea755f83e0dbdeaf0b3c733
function out = splitBreg(g,Img,H,lam,mu,Nit,tol) %% % The program solves the following core objective function % using Split Bregman method % % min_f mu/2*||Hf - g||^2 + ||Df||_1 % % where ||DF||_1 is |D_h*f| + |D_v*f| % References: % [1] Goldstein, Tom, and Stanley Osher. "The split Bregman method for L1-regul...
github
tarmiziAdam2005/myMatlabCode-master
ADMM.m
.m
myMatlabCode-master/Image Processing/ADMM Color Image Denoising/ADMM.m
4,198
utf_8
f68dfc8dfa3d4e040cfef4fbc851a9b6
function out = ADMM(y,Img,lam,rho,Nit,tol,regType) % created by Tarmizi Adam 16/5/2016 %Update: 26/5/2016 %Update: 15/6/2016 added rho updating for accelerating convergence. % rho updating reference: % - Chan, Stanley H., Ramsin Khoshabeh, Kristofor B. Gibson, Philip E. Gill, and % Truong Q. ...
github
tarmiziAdam2005/myMatlabCode-master
ADMM_1D.m
.m
myMatlabCode-master/Image Processing/ADMM 1D Denoising/ADMM_1D.m
2,049
utf_8
80c2a13c111f2cc03bcb576130f01837
function out = ADMM_1D(f,lam,rho, Nit) % Created by Tarmizi Adam on 5/3/2017 %This is a simple program for 1D Signal denoising using total variation % denoising. The iterative algorithm used in this program is the % Alternating Direction Methods of Multiplier (ADMM) which is a splitting % version of the classical Augm...
github
tarmiziAdam2005/myMatlabCode-master
ADMM_1D_HOTV.m
.m
myMatlabCode-master/Image Processing/ADMM 1D Denoising/ADMM_1D_HOTV.m
2,190
utf_8
bb1b928002d2377a47dd5718880d2360
function out = ADMM_1D_HOTV(f,lam,rho, Nit) % Created by Tarmizi Adam on 7/3/2017 %This is a simple program for 1D Signal denoising using total variation % denoising using second 2nd order difference operator (Higher Order TV). % The iterative algorithm used in this program is the % Alternating Direction Methods of M...
github
tarmiziAdam2005/myMatlabCode-master
lpALM.m
.m
myMatlabCode-master/Image Processing/NonConvex_Lp ADMM/lpALM.m
3,291
utf_8
52612298cbe996eb2c8efbf90dba9a97
function out = lpALM(y, Img, H, mu, rho, Nit,p, tol) %Created by Tarmizi on 11/02/ 2016 % Non-convex lp total variation deblurring.... % the total variation deblurring in this code uses non-convex penalty % function which is the lp norm where 0 < p < 1. % This code minimizes the objective function: % % 1/...
github
tarmiziAdam2005/myMatlabCode-master
lpALM_rhoUpdate.m
.m
myMatlabCode-master/Image Processing/NonConvex_Lp ADMM/lpALM_rhoUpdate.m
3,944
utf_8
e9a3349c13b5fb7fa893476ae17a7c16
function out = lpALM(y, Img, H, mu, rho, Nit,p, tol) %Created by Tarmizi on 11/02/ 2016 %Update: 17/6/2016. Added rho updating in each iteration. % to speed up the convergence rate % Non-convex lp total variation deblurring.... % the total variation deblurring in this code uses non-convex penalty % function wh...
github
tarmiziAdam2005/myMatlabCode-master
Feature_Extraction.m
.m
myMatlabCode-master/Plot WCC/Feature_Extraction.m
2,681
utf_8
7f9d594a63d3bea04eb49c8eeea562d4
% This function extracts the MFCC from the ".wav" file and converts the % the feature into a (1 x N) feature vector. % This function also calls the ZeroPadding function to perform zero % padding of the features %========================================================================= % This function extra...
github
alucchi/structured_prediction_for_segmentation-master
imseg.m
.m
structured_prediction_for_segmentation-master/lib/slic/imseg.m
1,047
utf_8
de228a48e40fdd7cd7219a574a7bb29e
%% IMSEG plots an image with its superpixel segmentation % % I = imseg(I, L) % See also NLFILTER % Copyright © 2009 Computer Vision Lab, % École Polytechnique Fédérale de Lausanne (EPFL), Switzerland. % All rights reserved. % % Authors: Kevin Smith http://cvlab.epfl.ch/~ksmith/ % ...
github
mclaffey/claffey_matlab-master
dir_no_hidden.m
.m
claffey_matlab-master/misc/dir_no_hidden.m
417
utf_8
ee200d92b5769044431137c9f23066ea
%% usage [output] = dir_no_hidden(input) % Lists the contents of the directory and excludes hidden files such as ./, % ../ or .DS_store. This is useful for listing files in a directory which % need to all be used and you do not have a reasonable wildcard operator. function [contents] = dir_no_hidden(input_directory) ...
github
mclaffey/claffey_matlab-master
whats.m
.m
claffey_matlab-master/misc/whats.m
3,995
utf_8
e8a5d88ef1cb00d29ada8c1dbf6cadc0
function [] = whats(pth) %WHATS(DIR) Lists Matlab files in directory DIR, with hypertext. % If DIR is not specified, the current directory will be used. % WHATS is meant to do what WHAT does, which is list the M-Files and % MAT-Files in the specified directory, with the addition of listing the % FIG-Files. The differ...
github
mclaffey/claffey_matlab-master
awaitbar.m
.m
claffey_matlab-master/misc/awaitbar.m
10,311
utf_8
82ab6a5905042df3481cd07498996590
function fout = awaitbar(x,whichbar,varargin) % AWAITBAR displays waitbar with abort button % % Clicking on the ABORT or the CLOSE button of the waitbar % figure will abort the loop and close the waitbar. % % USAGE: % H = awaitbar(x,message) creates and displays a waitbar of fractional length X % with the ...
github
mclaffey/claffey_matlab-master
drawing_functions.m
.m
claffey_matlab-master/psychExtend/drawing_functions.m
6,602
utf_8
d97b54c7839fb14753117c66b129fbf6
% Various functions for frequent drawing routines % Many of these functions are dependent on one another, so it may be % advisable to copy the entire code into the calling function % all functions use the 'w' as the screen pointer function drawing_functions(varagin) %#ok<INUSD> if nargin < 1 menu_text = ...
github
mclaffey/claffey_matlab-master
errorSurface.m
.m
claffey_matlab-master/graphing/errorSurface.m
3,214
utf_8
77544fef9698e8cee9d4e54182b2acb1
% errorSurface - error surface plot. % % h_ = errorSurface(x, y, e, [surfaceColor], [surfaceAlpha]) % % plots color surface instead of errorbars. looks more % attractive in ds's opinion. the surface covers [y-e] to [y+e], % i.e. these are symmetrical errorbars. Returns the handles to % the graphics objects....
github
mclaffey/claffey_matlab-master
errorPlot.m
.m
claffey_matlab-master/graphing/errorPlot.m
645
utf_8
f9bd2f40d28aa595da9cf9a76f1885d9
% errorPlot - combine errorsurface and line into an elegant plot % % h = errorplot(x, y, e, [plotColor], [ebColor], [ebAlpha]) % % For example, % % x = 0:0.2:(2*pi); % y = 2.*x+randn(size(x)); % e = 0.2.*y; % figure, errorPlot(x,y,e, [1 0 0], 0.5*[1 1 1]) % % ds 07-27-2004 function h = errorPlot(x...
github
mclaffey/claffey_matlab-master
logindlg.m
.m
claffey_matlab-master/borrowed/logindlg.m
7,457
utf_8
891f044db213c650abff89df753a745c
% LOGINDLG Dialog for visually secure login. % Examples: % [login password] = logindlg('Title','Login Title'); % Returns the login and % password with the dialog title 'Login Title'. % % password = logindlg; % Returns only the password with a default % dialog title. % % passwor...
github
mclaffey/claffey_matlab-master
applyhatch.m
.m
claffey_matlab-master/borrowed/hatchpattern/applyhatch.m
3,421
utf_8
c6ca801ab1987e57f0ac212a25e1509f
function applyhatch(h,patterns,colorlist) %APPLYHATCH Apply hatched patterns to a figure % APPLYHATCH(H,PATTERNS) creates a new figure from the figure H by % replacing distinct colors in H with the black and white % patterns in PATTERNS. The format for PATTERNS can be % a string of the characters '/', '\', '|', '...
github
HyeonwooNoh/DeconvNet-master
cache_FCN8s_results.m
.m
DeconvNet-master/inference/cache_FCN8s_results.m
1,908
utf_8
eaecd21d27e1be1d3467aef809e6d344
function cache_FCN8s_results(config) fprintf('start caching FCN-8s restuls and score\n'); %% initialization load(config.cmap); init_VOC2012_TEST; %% initialize caffe addpath(fullfile(config.Path.CNN.caffe_root, 'matlab/caffe')); fprintf('initializing caffe..\n'); if caffe('is_initialized') caffe('reset') end ca...
github
pelkmanslab/ImageBasedTranscriptomics-master
getIlluminationReference.m
.m
ImageBasedTranscriptomics-master/SetupSpotDetection/private/getIlluminationReference.m
2,364
utf_8
7ac5abfd9787da484a91ec22a9f72d2a
function [matMeanImage matStdImage hasIlluminationCorrection] = getIlluminationReference(strBatchDir,iChannel,cacheInRam) if nargin < 3 cacheInRam = false; end strPathToCurrentIllumination = fullfile(strBatchDir,... sprintf('Measurements_batch_illcor_channel%03d_zstack000.mat',iChannel)); matMeanImage...
github
pelkmanslab/ImageBasedTranscriptomics-master
npc.m
.m
ImageBasedTranscriptomics-master/SetupSpotDetection/private/npc.m
19,941
utf_8
cbb0eb9122e049e3cf114c854f06241e
function localPath = npc(networkPath) %NPC is a network path conversion function mapping remote path to its local %counterpart. % % This version contian a patch by Thomas: % x Does not give constant misleading warnings % x Uses same optional settings file as npc % % Network Path Conversion function is used to w...
github
pelkmanslab/ImageBasedTranscriptomics-master
nnpc.m
.m
ImageBasedTranscriptomics-master/SetupSpotDetection/private/nnpc.m
19,545
utf_8
7d41f96c79ed31ccd49d9838590f1d37
function localPath = nnpc(networkPath) %NNPC is a network path conversion function mapping remote path to its local %counterpart. % % It reflects a branching off from the main npc by Thomas. % x Does not give constant misleading warnings % x Uses same optional settings file as npc % % Network Path Conversion fu...