sha256 stringlengths 64 64 | language stringclasses 28
values | size int32 1 491k | lines int32 1 23.2k | content stringlengths 1 200k |
|---|---|---|---|---|
bd79688f428343b5c1b00c5ce3de138a08f87ecf3bdd595bd9ca69b2917ae9c2 | License | 20,787 | 441 | <div class="license-text" data-property="spdx:licenseText">
<div class="optional-license-text">
<p>Creative Commons Attribution 4.0 International</p>
</div>
<div class="optional-license-text">
<p>
Creative Commons Corporation ("Creative Commons") is not a law firm and
does not provide legal se... |
9e502ba75fd0fd30cea5497b438a4bc12f07f02bc932a7a6041fd6a18b8f46a0 | License | 20,848 | 437 | Attribution-NonCommercial-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 law... |
7074fb66818fbbc771e52bb25b0273a586a4ed42bf21c923b7e880cf1a9597e9 | License | 20,851 | 439 | Attribution-NonCommercial-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 law... |
da66e3cff3edd60081888d798d99a35c1e414458f7a104696a77d5d8cab8e672 | License | 21,780 | 517 | CeCILL FREE SOFTWARE LICENSE AGREEMENT
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, compliance with the principles gov... |
5220a7ab700b568136ff65182b41e9658f1a980c50fba36425f0ede86ac68652 | License | 32,472 | 621 | 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... |
ca71bbcf45ca6207050281c880996b7d3f07dff04f45e4ba032192bdc15cfcb1 | License | 33,294 | 638 | 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... |
d8a6cc31abc16b6748c7a21f21611f5a1ec33f67d22ca23d7da1c19b95496bee | License | 34,020 | 235 | GNU AFFERO GENERAL PUBLIC LICENSE
Version 3, 19 November 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.
Preamble
The GNU Affero General Public ... |
49029ca2bb24487803b00978fce1b9d2f813f6e130b3655a6b304b5279b936d9 | License | 34,303 | 659 | 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
The GNU ... |
20b067f86de375aae6db0f283ab2e65de24d537733b89bd58432c101259d84cf | License | 34,522 | 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.
... |
fa3a2e0208fd175aed08be34e722773f1f0e5981db6ed0413bf2f40613b3a080 | License | 34,525 | 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.
... |
2c344f7c30948044b0a56218731b2dc548e2853384069685dda0cd3ddae7d803 | License | 34,567 | 663 | Copyright 2019-2026 Arnór Ingi Sigurðsson
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... |
c8e44e7656c4fa9cab6b95a7996a241deeb0bc6d3371aab354007c1fb133782f | License | 34,599 | 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... |
6f1eb8ce6963c922750dfad804e86486e213a5d233d76610d439a1b39a1455fc | License | 34,664 | 225 | GNU GENERAL PUBLIC LICENSE
Version 3, 29 June 2007
Copyright © 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.
Preamble
The GNU General Public License is a free, copyleft license for software... |
f817886ee6bb65ed3098a7987b1e9781653d15c71f85589ce0d2af663c66d373 | License | 34,888 | 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... |
33bc26d4498c183b703d1760ee45b8774d21d6e0178ca393dc715271840c7a21 | License | 34,916 | 675 | ### 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 General Public License is a free, copyleft license ... |
5f173cfbdae1e522cb73604e20f6fb0ec7ec0115bfabe9afef8097fad7bc75cf | License | 35,074 | 673 | 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... |
61b57eb2976ef4e7119ea22c0a19bd275d616af2dd3b46d30b82d71192a2048b | License | 35,091 | 673 | 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... |
243020c78aeaad686f1a9425a605bb79a5bf575d31d7d4953aec970aed26f44f | License | 35,098 | 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... |
3743f7a4ab5132f7dbeb88e68097657ab8374e74b46b6402efbe80ccfb1b6488 | License | 35,128 | 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... |
39c16b073710c5e55fc4d3ec9ba6ec6f1c84b49991e054e7ac3396f04b2f38e4 | License | 35,132 | 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 Ge... |
63466ff9e82c5e382f78324645530d69353685bc5567f1c156de7ec1b132030f | License | 35,141 | 674 | GNU GENERAL PUBLIC LICENSE
Version 3, 29 June 2007
Copyright (C) 2026 AICONS Lab <https://aiconslab.github.io/>
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
Preamble
T... |
ca372a7d92560b1fa9f6d832b440e8bcd62d9adfa8870c98287deab66d98310e | License | 35,148 | 675 |
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.
Pream... |
f89d3d8679fbd925333719211c753275458efe2b017b4d777f0f609f7adaf649 | License | 35,153 | 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... |
ccb349b4132ed7737f25e5adebfe61f3d52dca33708df1e50352320438d1d4c2 | License | 35,178 | 596 | GNU GENERAL PUBLIC LICENSE
==========================
Version 3, 29 June 2007
Copyright © 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.
## Preamble
The GNU General Public Lice... |
b3207f576a3219559dd4044658ec7b853ac7e7e18b548ac20bb6280fc5acf8da | License | 35,182 | 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.
... |
2f8815c0df8002aee299d7ee0b8d84103d3d15e15ed19e7b04d49a68a0cf2a4b | License | 35,427 | 677 | Our desire is to encourage broad adoption and contribution to this project. Accordingly this project has been licensed under the GNU Affero
General Public License 3.0. If you would like to discuss alternative licensing models, please reach out to us at: james.lee@darwinai.ca
GNU GENERAL PUBLIC LIC... |
3f356dee308adef81a8c6511601201fc8d800031d703865b0b35f42fcb3074c1 | License | 35,677 | 681 | 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... |
2dd2440ca898c2edb30012de995586f8604e72da3404d085c24936dbd0474231 | License | 35,777 | 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 ... |
93046916498b2fdf6a98af87f7ba04f6911e9e9d0ef67d46b834a78d84ff702a | MATLAB | 16 | 1 | figure(Setting)
|
f0dd487d2cac2cec561d68844b750cdb98ef2c5929c63164b8b3617279fbb7bf | MATLAB | 20 | 3 | a = 1;
b = 2;
c = 3; |
a267bcff7471a818ebf7430844632ea3a831b3bb45e77ba3420a1a9f4f32c089 | MATLAB | 31 | 2 | function n = numlabs()
n = 1 ;
|
7cdf111674cedf29c47c7f3da11d6f6fff3b2cd81622698ba78050c30d184407 | MATLAB | 32 | 2 | function i = labindex()
i = 1 ;
|
41d4172fba413e7fd6e9732bb7fb7bdd4a2256131af9b486db8de37947e46fd3 | MATLAB | 33 | 3 | function a = double(a);
return;
|
af61f006fe27c9c1f16911de3616f2638c331bc1669605d526d3f7c5d42d6438 | MATLAB | 36 | 3 | function y = squash(X)
y = X(:);
end |
d8a0dd50324b0de1011ec6d01232ac107e71e488bd896257f45c0d82b143ff41 | MATLAB | 39 | 2 | function res = error_bc()
res = false;
|
94d2879b86d0b247a7de74bbe49eacabd0f0e13e7a78e8b3a56a4617d9d51c71 | MATLAB | 45 | 5 | %% Plot Figure 3
plot3A
plot3B
plot3CD
plot3F |
e2f7486f33f8bbe32e609bc4d9e4809d209e81174867365a88386ebbf033c09f | MATLAB | 45 | 3 | function res = isstruct(this);
res = 1;
|
42fc8fa61704e456c93d591b22ba3e7c77e65cf860296f605f48802f2400083b | MATLAB | 50 | 2 | function [y] = precondTriu(r,U)
y = U \ (U' \ r); |
e74420ecd731fe09ed90a05eb23c85d4406ed13971734362058b1ab4330d4f46 | MATLAB | 50 | 1 | any(cellfun(@exist,{'CStrAinBP', 'CStrAinBP'})==3) |
2ea0324ecf0e8ea22cddc142ab5fda9209d1b39eacfc54aafa21d6a3c6a38d26 | MATLAB | 56 | 3 | function res = double(a);
res = double(a.data.data.x);
|
2bd5f6443e3bb47f01f03b962f27830b34141d036238681a385b4fcf3a4596ee | MATLAB | 57 | 3 | EEGpalCS_main_Data %execute the main windows of EEGlab
|
0d94ac77bb478fba8670329f19a7645aca37803d554a39450aef4510f1651771 | MATLAB | 58 | 3 | function y = ispset(obj)
y = isa(obj, 'pset.mmappset'); |
d2b817ef65bfcc82346dd81ca1957409c365b9732b6908b8a9ce1b71b64aeffe | MATLAB | 58 | 6 | global DB
global cl
DB = []; cl = [];
Meta_Analysis_gui; |
965924ee6c907db476aa202e5f27c110b5a13a0547f7648d04774f1a06dc3954 | MATLAB | 59 | 4 | function v = colvec(M)
v = reshape(M,[prod(size(M)) 1]);
|
aa52a1a7f84cb9ae58f38cb82865600faaf2674c37fe1ba10c0850610b6b7986 | MATLAB | 59 | 3 | function version = get_version()
version = '1.0.1';
end |
822105d5bf5012d354ac29a1aa1a4ffa17930f16e61fcd418eac6342efc26b09 | MATLAB | 60 | 4 |
function beta = elm_optimize(H, T)
beta = pinv(H) * T;
end
|
ceca368177f602849972ac8f96e7ec70f97869ace3b3067e82a12f1836d671b2 | MATLAB | 60 | 3 | function str = ctx_bi2str(X)
str = num2str(X, '%d');
end |
2cbeb7e49e6b7a1a835e9ac8e70b60a04b2cd8fff531f8d827065cf48ee281e4 | MATLAB | 61 | 1 | p_nonmatch = (1-p_guess)*normcdf(x,sigma,thresh) + p_guess/2; |
23b3795e9459d1726443cc6d33805a91ac59a478ef2f95c2b659e441c0b590af | MATLAB | 62 | 1 | function ensure_dir(d), if ~exist(d,'dir'), mkdir(d); end, end |
90390523e43084900662a2570f14d39ce40e445090efaa6140d45b19d18a3f33 | MATLAB | 62 | 2 | % script to find whether a rich club exists in the network
% |
b1bda124d5f3490b50df88ee6d73d81dfcf1beb6506cec993735c7101727b692 | MATLAB | 62 | 4 | while true
parpopulate(monet.Fit)
pause(1000)
end
|
915eea19e92c09cb9baeb3edaf7a351db4bef39f0f72774b78f9192722b98551 | MATLAB | 63 | 2 | function [y] = precondTriuDiag(r,U,D)
y = U \ (D .* (U' \ r)); |
6d3171d5da2e60f92936db06bb965396c1a0b9d1989d1b2c44eac57cfdd2f1c3 | MATLAB | 66 | 6 | function out = heav( in )
if(in> 0)
out =1;
else out =0;
end; |
38e8a1bf898f41d391877f5695c92bcbf01649a1a09b460007e332a701df43f1 | MATLAB | 67 | 6 | %Creado por Luisca Mayo09.
function [SR]=SRas(Si,Rb)
SR=Rb*Si;
|
a004472d030e254c3ebf401afd9449379770aea9469d4323ec3bd3394f510e37 | MATLAB | 67 | 3 | function b = ctx_dec2bi(X, n)
b = de2bi(X,n, 'left-msb');
end
|
e4ff7021c4255b5c5fcbc7b61996fd99732945b7d9d3b09dd984fef610f4c42b | MATLAB | 68 | 2 | function x = is_Nd_regression(x)
x = isnumeric(x) && size(x,2) > 1;
|
b375e28dd62422f3df10c04d3c620a0174effa1abb3015590850d517c0e2b1ee | MATLAB | 69 | 2 | function x = is_1d_regression(x)
x = isnumeric(x) && size(x,2) == 1;
|
b5b644bd256e1322a4c90a68e9e0b3d1c5a911df843f996726a42a415ec73c07 | MATLAB | 69 | 2 | function varargout = questdlg2(varargin)
error('dialogs disabled.');
|
67e9710ad29954ab34d01d5eaee91b360e5c0c167f5dd5eab1f0dc2a1c4a609e | MATLAB | 70 | 3 | function db = deb(longstring)
% @EveLoCastro
db = deblank(longstring); |
3605950674815f8baa63d13bd8d5c1cb0b5327f5e8dee386dab31bfd43ad6b7a | MATLAB | 71 | 3 | function tal = ctx_tally(x)
tab = tabulate(x); tal = tab(:,[1,2]);
end
|
1d0b5b397195227216fb0cc5d21ef1a3dfabbfa054cb6b7f62cb239e4548820a | MATLAB | 72 | 5 | function res = transpose(obj);
res = ctranspose(obj, 0);
|
ffb6127f97de85a4ed7f6c015d5b63720a4dcf6a6ee8cc2d1808c60493414696 | MATLAB | 73 | 2 | function x = is_point(x)
x = is_1d_regression(x) || is_Nd_regression(x);
|
acb47f73d5d9de28087b921531bc0273aa2ea70005489fb50c2781b5a926399a | MATLAB | 74 | 5 | function [SE] = stderr(val)
SE = std(val)/sqrt(length(val));
end |
1e55de01e5921bd023390cfbd983b84214fe4433e68b2bbc63325ea5a2716d27 | MATLAB | 77 | 5 | function ax=fixAxis
ax=axis();
xlim(ax(1:2));
ylim(ax(3:4));
|
0510b3fc3e52834d809a11855e06835873a2ce0d0175454589a072f46b96822a | MATLAB | 83 | 5 | function time=getTime(data,Fs)
n=max(size(data));
time=linspace(0,(n-1)/Fs,n);
end |
11db361faf5f17fa1bd2dc198804e604bec661fb89ede60d2dafcaa521bdd04f | MATLAB | 83 | 3 | function res = isfield(this, vals);
res = isfield(struct(this(1).EEG), vals);
|
6958dc215297d3afbfe613b6c87612574da323a158f26e4fffba14bd528235bd | MATLAB | 83 | 4 | function this = rmfield(this, vals);
this.EEG = rmfield(this.EEG, vals);
|
474c87193526bd9447e722a204ccd882da0b887770cf030a57818c59e57a0f7e | MATLAB | 84 | 2 | function x = is_gaussian(x)
x = iscell(x) && length(x) == 3 && strcmp(x{1},'norm');
|
79c2115d7c76bf1072ffc9fc0c819dafea10d865496ac8fa030b79f3f52310df | MATLAB | 84 | 5 | % version of BIDS-matlab-tools
function str = bids_matlab_tools_ver
str = '10.2';
|
fcf2b6d67e2a6a56eccbcf712fe7bcb6ab4988d0b735966713094c9a70dbe49a | MATLAB | 84 | 2 | function x = is_discrete(x)
x = iscell(x) && length(x) == 3 && strcmp(x{1},'disc');
|
d24c09f029d4c3d5969fbfc33e400f346a211d50f525469983bd28ac82aa2b99 | MATLAB | 85 | 3 | function signal = SE_signal(T1,T2,TR,TE)
signal = (1-exp(-TR/T1))*exp(-TE/T2);
end |
4a1ac8cbeb01296d8193f82e7215635b720ca67f8a3bd8f6f5ffd20278548a81 | MATLAB | 86 | 3 | function res = Set(varargin)
% shortcut form for exp_set()
res = exp_set(varargin{:}); |
77a2c7b8bd445c86d42c6febf2428c2f88aa7c6ec1ea04fb5134f1e87adbc2e9 | MATLAB | 86 | 4 | while 1
parpopulate(stimulus.Sync, experiment.AutoProcessing)
pause(1000);
end |
c0852b1529da970fd538a9fb191492b4dc0a13d129bc75dc5b821e1097c8acd6 | MATLAB | 86 | 5 | function [byte] = inp(address)
global cogent;
byte = io64(cogent.io.ioObj,address);
|
0574d8ca31b3c255c4cacf90ecc0b88238a1b38ab67962f33232ab868350fa58 | MATLAB | 89 | 3 | function res = Rule(varargin)
% shortcut form for exp_rule()
res = exp_rule(varargin{:}); |
39f62aaf3e49b279ec83d819471610544d0bc2deed1e1ba8c8bb39c73d3e9774 | MATLAB | 89 | 5 | function R = rotate2D(theta)
R = [cos(theta), -sin(theta); sin(theta), cos(theta)];
end |
67200843fe9efaed99743415263785df1c49842cd8f36453d54e01150eefd0f7 | MATLAB | 89 | 3 | function [mse] = calc_mse(X, Xapp)
D = abs(X-Xapp).^2;
mse = sum(D(:))/numel(X);
|
7ea1f82e443d8f32fcc23f7e31662cd0bd154e4fa72f79387d7b4e951ee1a35e | MATLAB | 89 | 3 | function res = Hold(varargin)
% shortcut form for exp_hold()
res = exp_hold(varargin{:}); |
bcb37454585b18a3c3b34c7ac3848767975e2e450c500b08a5e379b9e0a651ca | MATLAB | 90 | 4 | function y = circ_add(x,theta)
%y = circ_add(x,theta)
y = mod(x+theta+pi,2*pi)-pi;
end |
70e8ef2d553ebd168cf53f90224e7bf963c201cd69ccaeb77ca4fb7049fe8dc2 | MATLAB | 92 | 3 | function res = Blank(varargin)
% shortcut form for exp_blank()
res = exp_blank(varargin{:}); |
df7955fd330b635200c8d4aec7efd983283490117ef5b7085e3b73247094fc8e | MATLAB | 93 | 4 | function b = ctx_dec2bi1d(X, n)
b = ctx_dec2bi(X,n);
b = reshape(b',1,numel(b));
end
|
8295429f1a1e5eed183e00ca26d1157142c4acb92ba9bb63ea7e95a269795c43 | MATLAB | 95 | 3 | function res = Symbol(varargin)
% shortcut form for exp_symbol()
res = exp_symbol(varargin{:}); |
f8facfc8dab66446a4056de16717d81932041a9c58335744a4ab32e436c18eac | MATLAB | 95 | 3 | function res = Lambda(varargin)
% shortcut form for exp_lambda()
res = exp_lambda(varargin{:}); |
1fee8e25ea4e4e8dd503bfb88f7f84d28bd7ea6d9d55667d603ed620498fe1e5 | MATLAB | 96 | 3 | function res = Evaluate(varargin)
% alternative form for exp_eval()
res = exp_eval(varargin{:}); |
06ab7c58a16cce54b562afb9ac252e5eacfef1011edcae23b2fd0d04278f6169 | MATLAB | 97 | 3 | %Maps any angle to the equivalent between -pi and pi
function a=modAngle(a)
a=mod(a+pi,2*pi)-pi;
|
c9d6ac2737f88b83073891f99e398eb69988e6d42add79e7aaf3e8c2162838cf | MATLAB | 97 | 3 | function [a,b,c] = as(x,y)
[a,b,c] = AdaptiveSmooth(x,y,1/39.0625,3*1e6,logical(0),logical(0));
|
e98c1bd66a54f673398f6f0429feb828c0f13d6d2968c2f0b8e5e999db3e8c59 | MATLAB | 97 | 4 | function F = Hill_v1(P,C)
% generalized hill model
C(C<0) = 0;
F = C.^P.n./(C.^P.n+P.k_d); |
80a6a772a410e93da1423218b9ac7638790f841c1dc000ae6f92c8b4e2d126e2 | MATLAB | 98 | 3 | function res = Pattern(varargin)
% shortcut form for exp_pattern()
res = exp_pattern(varargin{:}); |
4f2c0ff40c68dcc9335fa6cc7c2e990590fac52df6e0ba47907b9e825ceaac55 | MATLAB | 100 | 4 | function [Z] = interp_points(V,X)
Y = cumsum(X-diff([1;X])./2);
Z = interp1(1:nnz(X),V(X),Y);
end |
5e44d5fec859440c273265a85fc0e316cb751f5251181c85f00bb1554b539e98 | MATLAB | 100 | 8 | %{
aodpre.Ignore (manual) # scans to ignore
-> vis2p.Scans
-----
%}
classdef Ignore < dj.Relvar
end |
01364afde09f6a4167962ba0db18c2c9651ea6cd9c0f7f33bf42bfb94efd66dc | MATLAB | 102 | 2 | function x = is_1d_distributed(x)
x = iscell(x) && length(x) == 2 && ischar(x{1}) && isnumeric(x{2});
|
3db859951f11081857c48af8ee9f3bb7df3a5679fbb4d535a1bf247fda99d973 | MATLAB | 102 | 5 | function phi = calcphi(ths)
% ths must be N x time
N = size(ths,1);
phi = (sum(exp(1i*ths),1))/N;
end |
59db8ff670070730460354825e0005205f3c675a5a71aa42383a59b0e97afe65 | MATLAB | 102 | 4 | function col = sero_pulseq_colXYZR()
% function col = pulseq_colXYZR()
col = [eye(3)*0.6+0.2; 0 0 0]; |
9769d1c3a79c6430b084ce80273dddbf84b3cd98d4c88a95c304a2bedf6c7efe | MATLAB | 103 | 10 | %{
#
-> stimulus.MovieClip
---
-> movies.QualityLabel
%}
classdef MovieQualityLabels < dj.Manual
end |
2eecef8518170a243d616fd55485d66ee8cf040f9611ce647604624f4b98d772 | MATLAB | 104 | 3 | function res = Condition(varargin)
% shortcut form for exp_condition()
res = exp_condition(varargin{:}); |
5e6ac83c74c7f5a8f6f04fa1fc65c65fd095534b78ff4c989103c231034e2c58 | MATLAB | 105 | 3 | function res = is_symbol(x)
% check whether an expression is a symbol
res = isequal(exp_head(x),@Symbol); |
868608d91318eab162b65ab9b6c12794bf172739d233850367f8836009f33773 | MATLAB | 106 | 5 | function ll = mle_mixpdf(x, mu, param)
K = param(1);
Pm = param(2);
ll = -sum(log(mixpdf(x, mu, K, Pm))); |
04d648043ce5ffeb9075c07eaf9037b69728e815591e8d6971f18975a7b463a8 | MATLAB | 107 | 2 | function [legal] = isLegal(v)
legal = sum(any(imag(v(:))))==0 & sum(isnan(v(:)))==0 & sum(isinf(v(:)))==0; |
ff839a595fa6a44523f75598fbc98569ffd9486f49df63accdbb22f208bca0cf | MATLAB | 107 | 3 | function res = SetDelayed(varargin)
% shortcut form for exp_setdelayed()
res = exp_setdelayed(varargin{:}); |
542aabcfab1f4af95b0a3b0561baec8bddf02656c7976a1b0463eb4c2e02f2cf | MATLAB | 108 | 4 | function List = Matrix2List (Matrix)
[a,b] = size(Matrix);
List = Matrix(tril(ones(a,b),-1)>0);
end |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.