sha256 stringlengths 64 64 | language stringclasses 28
values | size int32 1 491k | lines int32 1 23.2k | content stringlengths 1 200k |
|---|---|---|---|---|
610a07a15c8ba36b52df02f5d15083c0d3ed2bf859216076a476b9a15d8cdffb | License | 3,613 | 102 | Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
Copyright 2026 Hongyu Sun
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
U... |
e3a994d82e644b03a792a930f574002658412f62407f5fee083f2555c5f23118 | License | 7,652 | 165 | GNU LESSER GENERAL PUBLIC LICENSE
Version 3, 29 June 2007
Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
This version of the GNU ... |
88d7f7c4a0c4b5a5dd01f7032eb6c6b0c9f52159e238534048cd52fdda7ad8c6 | License | 7,707 | 168 | Copyright (c) 2015, Robbert Harms
All rights reserved.
GNU LESSER GENERAL PUBLIC LICENSE
Version 3, 29 June 2007
Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
Everyone is permitted to copy and distribute verbatim copies
of this license document, but c... |
f1f9247fa8807679e8efecdf8e930421bc2e46ccf761c97c32653e954972f3c3 | License | 8,946 | 191 | The Artistic License 2.0
Copyright (c) 2000-2006, The Perl Foundation.
Everyone is permitted to copy and distribute verbatim copies of this
license document, but changing it is not allowed.
Preamble
This license establishes the terms under which a given free software
Package may be copied, modified, distributed, an... |
85a859e04b7706429fef3e1ca4db916a23197edb43456c937018668eb5174dd3 | License | 9,240 | 176 | Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1. Definitions.
"License" shall mean the terms and conditions for use, reproduction,
and distribution as defined by Sections 1 through 9 of this document.
"Licensor" shall mean the c... |
015f0b63f315cac2f89d94e4fafa74fcb7f7e7ccddf67c2eb203f8d92811f273 | License | 10,760 | 194 | Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1. Definitions.
"License" shall mean the terms and conditions for use, reproduction,
... |
283ea6cc2997a1a70da0049e09adf9317bb60ca1b51279b65196b83a69e1996b | License | 11,323 | 201 | Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1. Definitions.
"License" shall mean the terms and conditions for use, reproduction,
and distribution as defined b... |
f860fed35fa34e7209179ac167afafa99b161d77752ce31781b02f0d6a712c58 | License | 11,338 | 201 | Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1. Definitions.
"License" shall mean the terms and conditions for use, reproduction,
... |
750a76418c3d7c365dbc220df975a09c0287055eb1bf99faaedf4aca695ddb8f | License | 11,341 | 201 | Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1. Definitions.
"License" shall mean the terms and conditions for use, reproduction,
... |
22a7ae47da760f8fbf95318f1d57302a7044429e260ae0963fa07b66a997c3f4 | License | 11,345 | 202 |
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1. Definitions.
"License" shall mean the terms and conditions for use, reproduction,
... |
c5accbbd8546e94c34aed24afe689a617627d18eed5a6c48277e48db57c23851 | License | 11,356 | 201 | Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1. Definitions.
"License" shall mean the terms and conditions for use, reproduction,
... |
7da9f2ddeda836a891f537104530230a7b2318f61ea4c57b05e3dd46a9ae27fd | License | 11,427 | 201 | Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1. Definitions.
"License" shall mean the terms and conditions for use, reproduction,
... |
97276e5574e41d01ee6c5ec4ba047beee3ed7db6864ca4802c54488da6a04cc4 | License | 11,453 | 202 | Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1. Definitions.
"License" shall mean the terms and conditions for use, reproduction,
... |
f7ffbe9a6b66cf1126fd1e20ca89f7de77b16e41021bedf1889d0119946b540d | License | 12,521 | 227 | Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1. Definitions.
"License" shall mean the terms and conditions for use, reproduction,
... |
c6c20b11fc8d35f783770faf0d0926089d42ea09613c7e262b9e3684752f5db0 | License | 13,597 | 96 |
## [CC BY-NC 4.0 License](https://creativecommons.org/licenses/by-nc/4.0/?ref=chooser-v1)
<b> Copyright © 2026 by The Board of Trustees of the Leland Stanford Junior University
Contact the Stanford Office of Technology Licensing (otl.stanford.edu) for commercial license inquiries </b>
Attribution-NonCommercial 4.0... |
2684098cbd7501a84c93cd947f3b32ad01eb955b20a43ad62ab4455eed4d1410 | License | 13,829 | 291 | EUROPEAN UNION PUBLIC LICENCE v. 1.2
EUPL © the European Union 2007, 2016
This European Union Public Licence (the ‘EUPL’) applies to the Work (as
defined below) which is provided under the terms of this Licence. Any use of
the Work, other than as authorised under this Licenc... |
514f452edac28edb27b7390088de3031c608e105091afa469a5c75abd075e33f | License | 13,869 | 91 | Copyright (c) 2021 LEAP Lab, Indian Institute of Science, Bangalore, India
Creative Commons Attribution 4.0 International Public License
By exercising the Licensed Rights (defined below), You accept and agree to be bound by the terms and conditions of this Creative Commons Attribution 4.0 International Public License ... |
86fcfd4be39f2a49527074a3808b2e4cb78a4e2104d2a1f5951bdded2eb4729d | License | 14,378 | 322 | Oxford Nanopore Technologies PLC. Public License Version 1.0
=============================================================
1. Definitions
--------------
1.1. "Contributor"
means each individual or legal entity that creates, contributes to
the creation of, or owns Covered Software.
1.2. "Contributor Version"
... |
419896aea50c15d6e40c5b4baf4bd346f78223b9a354c7357ad00262afdc08ec | License | 14,527 | 317 | Creative Commons Attribution 4.0 International Public License
By exercising the Licensed Rights (defined below), You accept and agree
to be bound by the terms and conditions of this Creative Commons
Attribution 4.0 International Public License ("Public License"). To the
extent this Public License may be interpreted as... |
639b04c1d456760ff86f57db9f1f8049eb2b1c62ade03c8414664811f0afd00a | License | 15,746 | 361 | This Source Code Form is subject to the terms of the Mozilla Public
License, v. 2.0. If a copy of the MPL was not distributed with this
file, You can obtain one at http://mozilla.org/MPL/2.0/.
Mozilla Public License Version 2.0
==================================
### 1. Definitions
**1.1. “Contributor”**
means e... |
c6887845f9e0c6f85880ebc531dbb39b1f2e8b957451289001900f50ac80a732 | License | 16,404 | 66 | nextpresso: next generation sequencing expression analysis pipeline.
Copyright (C) since 2015 Osvaldo Graña.
nextpresso by Osvaldo Graña is licensed under a Creative Commons Attribution-NonCommercial-NoDerivs 3.0 Unported License (http://creativecommons.org/licenses/by-nc-nd/3.0/).
Contact: ograna@cnio.es
License
... |
db296f2f7f35bca3a174efb0eb392b3b17bd94b341851429a3dff411b1c2fc73 | License | 18,046 | 339 | GNU GENERAL PUBLIC LICENSE
Version 2, June 1991
Copyright (C) 1989, 1991 Free Software Foundation, Inc., <http://fsf.org/>
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
Everyone is permitted to copy and distribute verbatim copies
of this license document, but... |
b1629970da3b8327f6a1dc1564eb9e24552a9d75cf4cda47ba4b237f522ebfdb | License | 18,760 | 399 | Creative Commons Legal Code
CC BY
Attribution 4.0 International
=======================================================================
Creative Commons Corporation ("Creative Commons") is not a law firm and
does not provide legal services or... |
b0bd28e08a7020378a12e57af17e9b8999fc397eb9c8e6026325b80000e7c374 | License | 19,951 | 354 | Copyright (c) 2025 Luke Vano
Creative Commons Attribution-NonCommercial 4.0 International
Creative Commons Corporation ("Creative Commons") is not a law firm and
does not provide legal services or legal advice. Distribution of
Creative Commons public licenses does not create a lawyer-client or
other relationship. Cre... |
405e857a501b372cf3e9b7b224ea85868e95f7822790b1a38f4b9c26c8808413 | License | 20,132 | 427 | Attribution-ShareAlike 4.0 International
=======================================================================
Creative Commons Corporation ("Creative Commons") is not a law firm and
does not provide legal services or legal advice. Distribution of
Creative Commons public licenses does not create a lawyer-client or
... |
ec7befde9377dfda78705aa695f1351bcc00c29498b97e44d7e92c562c8ab44c | License | 21,805 | 517 | CeCILL FREE SOFTWARE LICENSE AGREEMENT
Copyright (c) Institut Curie
Version 2.1 dated 2013-06-21
Notice
This Agreement is a Free Software license agreement that is the result
of discussions between its authors in order to ensure compliance with
the two main principles guiding its drafting:
* firstly, complian... |
5bb5812fc2bfb2d777fe5621767172f8ef30be62ad719c87e0f10832336a99e0 | License | 25,780 | 467 | Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1. Definitions.
"License" shall mean the terms and conditions for use, reproduction,
... |
dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 | License | 26,530 | 502 | GNU LESSER GENERAL PUBLIC LICENSE
Version 2.1, February 1999
Copyright (C) 1991, 1999 Free Software Foundation, Inc.
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
Everyone is permitted to copy and distribute verbatim copies
of this license document, but chang... |
0ba958926378431979ec74e917a67e9282d508bd37a001be704d944479935379 | License | 32,442 | 621 | GNU GENERAL PUBLIC LICENSE
Version 3, 29 June 2007
Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
Preamb... |
7f8f48e4266aa8fd3033dfaa4bb7f6e83a60c6e099f82d4959b81de90e67cd8f | License | 34,503 | 661 | GNU AFFERO GENERAL PUBLIC LICENSE
Version 3, 19 November 2007
Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
Preamble
Th... |
db577a83cb12a0be806cd166a31fa86335768c7981424181028a1a1bfbac0c62 | License | 34,600 | 219 | GNU GENERAL PUBLIC LICENSE
Version 3, 29 June 2007
Copyright © 2007 Free Software Foundation, Inc. <https://fsf.org/>
Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed.
Preamble
The GNU General Public License is a free, copyleft license for software... |
782ea738efeda1c64b6f7f034cada3b809a3e44c03e16fcef7cf9d9d81a86028 | License | 34,819 | 219 | GNU GENERAL PUBLIC LICENSE
Version 3, 29 June 2007
Copyright © 2007 Free Software Foundation, Inc. <https://fsf.org/>
Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed.
Preamble
The GNU General Public License is a free, copyleft license for ... |
5fe652093e1b63e57f523bbbdba5d1921170b0ffe41edd798f3ae36cb0434f01 | License | 34,911 | 633 |
GNU GENERAL PUBLIC LICENSE
Version 3, 29 June 2007
Copyright © 2007 Free Software Foundation, Inc. <https://fsf.org/>
Everyone is permitted to copy and distribute verbatim copies of this license
document, but changing it is not allowed.
Preamble
The GNU General Public License is a free, copyleft license for softw... |
2a1cd1c518b360c3589b697ad3e7b091075d86c1386f205f9d48fd2c99fe78a1 | License | 35,106 | 673 | GNU GENERAL PUBLIC LICENSE
Version 3, 29 June 2007
Copyright (c) 2023 Tencent Inc. This copyright and license covers both the source code and model
weights referenced for download in the README file.
Preamble
The GNU General Public License is a... |
605e9047a563c5c8396ffb18232aa4304ec56586aee537c45064c6fb425e44ad | License | 35,129 | 674 | GNU GENERAL PUBLIC LICENSE
Version 3, 29 June 2007
Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
Preamble
The GNU Gener... |
acceb79b03b7d4ffdf15a32c2d1594d665de7ba5b7ff33daf1c72200a59a8b7d | License | 35,142 | 674 | GNU GENERAL PUBLIC LICENSE
Version 3, 29 June 2007
Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
Pream... |
8b1ba204bb69a0ade2bfcf65ef294a920f6bb361b317dba43c7ef29d96332b9b | License | 35,148 | 674 | GNU GENERAL PUBLIC LICENSE
Version 3, 29 June 2007
Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
Pream... |
230184f60bae2feaf244f10a8bac053c8ff33a183bcc365b4d8b876d2b7f4809 | License | 35,823 | 674 | GNU GENERAL PUBLIC LICENSE
Version 3, 29 June 2007
Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
... |
1bbcaccbcfd0dca56031c7c629a32ee9d267728861289afd4a2ec180a8d000d3 | License | 49,125 | 858 | Lead-DBS (c) 2014 – (the "Software")
GNU GENERAL PUBLIC LICENSE
Version 3, 29 June 2007
Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
... |
cf5f2bed44fe22a20c8b2d641644e3ea1625179e842d166847cf0a62fe6073f7 | MATLAB | 12 | 1 | !rm */*.mex* |
086aee4f04638b65880debf39ec6b496a5bd8cd5eae15abcd19d4900f3b2daf5 | MATLAB | 21 | 1 | tb.RefreshToolbar();
|
3e4f60cd46202fcc1f0b0932a31e7154936a259361082a85c0454d308e5d6a64 | MATLAB | 21 | 1 | mcc -m roi2roi_correl |
7581170efef6dd871f247775c41495214ecc8d72a21cf476f0ab38fb6de4e993 | MATLAB | 22 | 1 | addpath(genpath(pwd)); |
9647190bbc1038067d65b1096cfc419c63d8ba02b3e158a85f5d595a8b4a1a08 | MATLAB | 25 | 1 | %A dummy file for Yalmip. |
d815178212403a0b134b393aae830eeefbe33a2da63352d22b14746d53a6e298 | MATLAB | 32 | 3 | function a = double(a);
return; |
7c55d1e937c62b017923721c5009dc4722a698ffc8260ec8ab8f00233562fed7 | MATLAB | 35 | 2 | function CBIG_wo_MIT_license()
end
|
040fa03354f81156df67014dce7180e566a406c78366df41a0e19f5d2718b890 | MATLAB | 36 | 2 | function rng_default
rng default;
|
3e4c981878ad38b715d1565af068cf0f7c54ec7347a89235e38d6ecd26a3c8d1 | MATLAB | 36 | 2 | function rng_shuffle
rng shuffle;
|
923e18e8a243254edbb91c713f729ff6eac74f74d69f017e391e9719db889b1d | MATLAB | 37 | 3 | function s = msize(a);
asdfdsa;
|
a2fd13a40235722cc261550d51ab6b2330159dd2f5882f61487e89c6f3eea492 | MATLAB | 37 | 2 | function res = error_bc
res = false;
|
591272de408a57f80bf8105f21f231dbd9bc8d1ffa01b45d6dec12813c927cb3 | MATLAB | 41 | 1 | need to write this for the jump task....
|
d2574d0f265bae2effd4e0e57646ad7db8eb1383a73030a98bb45d946b768bca | MATLAB | 43 | 3 | function encoderClose(encoderHandle)
end |
79fb6a0f5a14f967982c102b7201863aa8d748a72b0d7f36be086d0f85d3fd92 | MATLAB | 44 | 3 | function stopButtonOnTop
figure(539375677); |
7412dd7d0b708669ec67cef33ad89332094a9b7665fbb37e3130c3dda396150b | MATLAB | 48 | 3 | function res = isstruct(this);
res = 1;
|
0431e35f7b38d4837ef74ed75f97172dc98d255144a89a4da550b9766dae060b | MATLAB | 50 | 3 | mex kdtree.cc
mex kdtreeidx.cc
mex kdrangequery.cc |
b950c4e71be2f2d07d4bf9910e80a6e29885c80bc2a9526b53b63fdea91d335b | MATLAB | 50 | 4 | function rad=ea_deg2rad(deg)
rad = pi*deg/180.0; |
726d8f64aa29bde21995e617f92b94a4781b2be97dc4ec719dc69d3c0e15b6f2 | MATLAB | 55 | 3 | function res = double(a);
res = double(a.data.data.x); |
91b45de01f34a66769b8e75e496c91aa139004ea92cbb3362d85d455646db5fc | MATLAB | 57 | 5 | function z=vecr(fit)
z = fit.fit_points.kappa;
return;
|
73e6d1cf9c12b3b86cd0ad16875c1425abbfaaa5421320b30eef934d55b1c185 | MATLAB | 58 | 3 | function v=shuffle(v)
v=v(randperm(length(v)));
end |
6d974a2a5366c7bc8abcdcde455e01ff28c4169ae7b1613677f277248db27939 | MATLAB | 60 | 6 | function x = gather_try(x)
try
x = gather(x);
catch
end |
a87b583ce8f77537450ba4e529b7c7e53cef16b2321dc7d39c7750b7b9fa0c79 | MATLAB | 61 | 3 | errordlg('ctfroot is: ');
errordlg(ctfroot);
errordlg('end'); |
8310a85e255f8571d3765c8c55321be4a3d4b1b48e1736c6472ceb7a53a3428b | MATLAB | 63 | 2 | function s = sparseness(a)
s = sum(sum(a~=0)) / prod(size(a)); |
55cd795fa1c6a5e73e0b3e1c4ec7c742c34557edb2ce0b04a568f60ac64f10d1 | MATLAB | 69 | 3 | function res = fieldnames(this);
res = fieldnames(this(1).EEG);
|
606d229299fddc7c6cba53cb34bc7c0a6c60d085345641f32b8271e7ca6ee763 | MATLAB | 69 | 3 | function y = rms(u)
y = sqrt(sum(u.*conj(u))/max(size(u)));
end |
3dc00c32ce5d7b3f7ba2e62bff6147c50d39142c119f93666727cefe689ded77 | MATLAB | 71 | 5 | function res = transpose(obj);
res = ctranspose(obj, 0);
|
91df87167300efcb2b31110b9fc03098fe9329c24f352a86835445f309e64c14 | MATLAB | 77 | 5 | function dev = glmnetDev(object)
dev = (1-object.dev) * object.nulldev;
end |
5d52c5cae7ed8c6bc5453d2bd81928177e73543ee74fac31f6ee84fa6b7b3b3a | MATLAB | 78 | 8 | function showdis(text,verbosity)
if verbosity>0
disp(text);
end
end |
9339a6a2757d16b1264ca3107fd63176c1a9ab2d2805f040c1fc33ce8b0e90bf | MATLAB | 78 | 3 | function is = is_octave ()
is = exist ('OCTAVE_VERSION', 'builtin') == 5;
end
|
bc12010b949ac06fe151c5f414576cf9c10072c4dbd783b4a9b08d0693371d7f | MATLAB | 80 | 2 | function b = stopButtonPressed
b = isempty(findobj('Tag','stopbuttonpresent'));
|
58e0886b3a58a102214d7f5f555363ab1d3c32579b9af4cf420cb0b2eb4e8e17 | MATLAB | 81 | 4 | function lmap = linearmap(map)
[n,m] = size(map);
lmap = reshape(map, [1 n*m]);
|
67c5cc7860ed00e871900ef1c7e32655b29acb406ce3bbd8247838a6a9feae9f | MATLAB | 81 | 3 | function ea_normsettings_easyreg(varargin)
disp('EasyReg: Nothing to set up.') |
eec713e61c407921786756b300eeeaf68b8ef64b0addcd2380edc37f216c6693 | MATLAB | 81 | 10 | %% astar_search
%% bfs
%% breadth_first_search
%% dfs
%% depth_first_search
|
43b0636046e2185b794b59c6e2e7c26285d378995280f5f6143cbb9732714088 | MATLAB | 83 | 3 | function obj2 = fft( obj1, varargin )
obj2 = unitaryopp(@fft, obj1, varargin{:});
|
33dc4d54fca4c0165dc6f9a3a6ec5c81f2e503c236fd2e8ed804e2191bb9813c | MATLAB | 84 | 2 | function sfile = ea_getrois(sfile)
sfile = strsplit(strip(fileread(sfile)), '\n')';
|
a70b56d25433bf42d883931ebc4a9763f567fad101b00bff48cd631c7308cb1b | MATLAB | 85 | 4 | function this = rmfield(this, vals);
this.EEG = rmfield(this.EEG, vals);
|
a20f49f843d6ab00ae0488f102bf103b395546430dc50fde62ff5813021fcb7c | MATLAB | 86 | 3 | function res = isfield(this, vals);
res = isfield(struct(this(1).EEG), vals);
|
0b92e7b4ec287195be6cff7f591051a8efe3da882a6a45143e33fd82029a5328 | MATLAB | 88 | 8 | function res = ismatlab;
v = version;
if v(1) > '4'
res = 1;
else
res = 0;
end; |
753ba2095d7cca82c8f56437c0d7f70539e6f31fb8f0c3c1b52b656073de5985 | MATLAB | 88 | 6 | function [ fisher_z ] = subfun_fisher_z( r )
fisher_z = log( (1+r) ./ (1-r) )/2;
end
|
64e527551c69651ab83e822656f13030365fc9167c5e2305c289392653bc095e | MATLAB | 90 | 6 | function assert(condition,varargin)
if condition, return;
else
error(varargin{:});
end
|
2f09437d20f854b119a77339a2d1d861c999ce645fdf925d3433344cb963dcb1 | MATLAB | 91 | 6 | [b,i] = sort([data.type],'ascend');
files = dir('*_stack.mat');
files = files(i);
|
480f5b6e66c5d4ef03cbff220527cfdd83074967fbab557748133be0e5d345fe | MATLAB | 94 | 6 | function s = size3(A)
s = size(A);
if length(s)<3
s = [s ones(1,3-length(s))];
end
|
c10163acbf526ef08b923ed8688729ebd981459157ae382577de7d675cebdc60 | MATLAB | 96 | 7 | function r = ternary(cond,a,b)
if cond
r=a;
else
r=b;
end
end |
118fa0bc54dbbac6f71691432e3c49f064c8f1a8de1f7fd97a0ec82ac9c89e2b | MATLAB | 97 | 6 | function [ r ] = subfun_fisher_z_inverse( z )
r = (exp(2 .* z) - 1) ./ (exp(2 .* z) + 1);
end
|
81b4d1be8bfe3dc75f44d39ab1db1568c5cef57cd2cd4f89246a952ad3e5b7bd | MATLAB | 100 | 5 |
pathroot = pwd;
save -mat util/mypath.mat pathroot
addpath(genpath( pathroot ), '-begin');
savepath |
1ef7f17f00d467d138fac64e1eb7ea99a7b679e241005082a1e45df8812d2023 | MATLAB | 101 | 6 | load ../graphs/dfs_example.mat
[d dt ft pred] = dfs(A,2);
[ignore order] = sort(dt);
labels(order)
|
a4862a945f3248c39515ef3bd52cf2736e046ee5249319e559a23517cf49421f | MATLAB | 101 | 6 | load ../graphs/max_flow_example.mat
max_flow(A,1,8)
[flow cut R F] = max_flow(A,1,8);
full(R)
|
4ac1154e8f335b50cc8e0a8a941f6af4b1fd709ddf47ace2e48fa71a741e276f | MATLAB | 103 | 6 | function z=hatmatrix(varargin)
fit = locfit(varargin{:},'module','hatm');
z = lfknots(fit)';
return;
|
21f0cfa9306a599001144522d5c0eab69c496f7715dc6fd5447b30d93bc750e9 | MATLAB | 104 | 8 | function ix = indexmatrix( dims )
ix = zeros(dims);
p = prod(dims);
for i=1:p
ix(i) = i;
end
|
a2eff2b5ba78ae0787ae2c7dc0dd61a106849b49cecf97d11b69eb6acaeb278a | MATLAB | 107 | 1 | % Written by [xxx] and CBIG under MIT license: https://github.com/ThomasYeoLab/CBIG/blob/master/LICENSE.md
|
ad88c07c83b58d5f85ee28d34c4d63adf12f89b034f10d84dfc23193c0097e08 | MATLAB | 109 | 3 | function myPLS_plot_inputs(input,pls_opts,save_opts)
% Function to plot a few overview figures on input data |
341439ee5c4560bac1dac531482c336e3956e2e81fb14e7246c8deace5824e7b | MATLAB | 110 | 3 | function X=ea_addone(X)
% simple function to add intercept term (e.g. for regression)
X=[ones(size(X,1),1),X]; |
7a441641f84e523c264343159be07842026a146951c0ad64391aaefbbabbb698 | MATLAB | 110 | 5 | function [ dims ] = getDims( orig_size , deltas )
[tmp,dims] = formMapPyramid( ones(orig_size) , deltas );
|
146b501eebdd380ddab3f0c29a110a83a8063bd325b32f50180c0b65340877f4 | MATLAB | 111 | 5 | function conname=ea_conn2connid(conname)
if ~isempty(conname)
conname = regexprep(conname, '\W', '');
end
|
7d834370e16d89ed945dddc1a5aa8a63a5c4bc32dcf8b1ebb21463dd76551679 | MATLAB | 111 | 3 | function y = gaussian(amplitude, mean, sigma, x)
y = amplitude * exp(-(x - mean).^2 / (2 * sigma^2));
end |
f1add8b15da5b01ca98f2ce876975c58dfe44b31b4111434a19b951b923ca774 | MATLAB | 111 | 4 | function root = ea_getearoot
% TODO: check compiled version
root = [fileparts(mfilename('fullpath')) filesep]; |
f34552075322b9cdec054116fa91691cb66149d27135a467267e0a754a9639ac | MATLAB | 111 | 4 | function [data] = bz_shuffleCellID(data)
% randomly permutes cell order
data = data(randperm(size(data,1)),:); |
fec42c1a3cc286b2de285ba4037f6e52880f26a094c1ac8d37602a234077303f | MATLAB | 111 | 8 | function threshs = getIntelligentThresholds( vals );
threshs = unique(vals) - 1e-16;
|
ff5a6bbcf78661bbaab5b83dbe45a89a4d8260f6e2f6f72700cd2f8e6c0421c9 | MATLAB | 111 | 3 | function hm = show_imgnmap( img , out )
hm = heatmap_overlay( img , out.master_map_resized );
imshow( hm );
|
d5ff6ff4413dab53ede1ecfd85d434d7bfc64885237e2af4db289b96beb9bb5f | MATLAB | 113 | 6 | load ../graphs/bfs_example.mat
[d dt pred] = bfs(A,2);
[ignore order] = sort(dt);
labels(order)
treeplot(pred);
|
c13b52e0df6e2a49757a0755ad67216b93de7f27f3b953bbdf17dbc6d321a6c9 | MATLAB | 118 | 4 | function displayEndOfDemoMessage(filename)
% Dummy function - do nothing.
%
% Copyright 2009-2013 The MathWorks, Inc.
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.