sha256
stringlengths
64
64
language
stringclasses
28 values
size
int32
1
491k
lines
int32
1
23.2k
content
stringlengths
1
200k
2953c8ba81a2cae265d56362a4c702376dd791780d44a3197ebdf4ee2fa4aa41
License
2,151
15
Informational Notice: This software, the “Malaria Screener”, was developed and funded by the National Library of Medicine, part of the National Institutes of Health, and agency of the United States Department of Health and Human Services, which is making the software available to the public for any commercial or non-c...
a86310e25f6ed31e4afc2d088eaecb858a7c42fe9e67a3f30ba43740e5c1eea6
License
2,232
24
Permission is hereby granted, free of charge, to any non-commercial entity (‘Recipient’) obtaining a copy of this software and associated documentation files (the ‘Software’), to the Software solely for non-commercial research, including the rights to use, copy and modify the Software, subject to the following conditio...
a0c28d0ed8d4c322b8aa30a9b2e045ba4179d5f0a949b15f384947f05e88c8c6
License
2,252
31
% Authors: Ricardo Coronado Leija (ricardo.coronadoleija@nyulangone.org; rleija@cimat.mx), Els Fieremans, Dmitry Novikov % Copyright (c) 2024 New York University % % Permission is hereby granted, free of charge, to any non-commercial entity ('Recipient') obtaining a % copy of this software and asso...
0d1ac0aa8de2ddd3fbca8d4d296cce87e23798d8afff69f6ff86cb95f65c7931
License
2,544
30
Permission is hereby granted, free of charge, to any non-commercial entity (‘Recipient’) obtaining a copy of this software and associated documentation files (the ‘Software’), to the Software solely for non-commercial research, including the rights to use, copy and modify the Software, subject to the following conditio...
aba2162d7ccc2dd04581af65363c2875779f52cbaa3eeffc9291d424b0fd513d
License
3,279
31
Factorial Mass Univariate ERP toolbox Copyright (c) 2017-2019, Eric C. Fields All rights reserved Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright not...
1632e33745c4964c87722fa69d26415ffd03447165325838080660e7603c520c
License
5,891
87
#:::::::::::::::::::::::::g@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@j:::: #::::::::::::::::::::::;g@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@E::: #:ttt:::::::::::::::::@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@p@; #:t:::::::::::::::::g@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ #:t::::::::::::::;@@...
0fd30d8a220fd38a619c2185a0dd771483cc3e8fbec9eabb997d798862c506f7
License
6,931
40
Mueller_et_al_2023_Nicotine_and_fear Creative Commons CC0 1.0 Universal CREATIVE COMMONS CORPORATION IS NOT A LAW FIRM AND DOES NOT PROVIDE LEGAL SERVICES. DISTRIBUTION OF THIS DOCUMENT DOES NOT CREATE AN ATTORNEY-CLIENT RELATIONSHIP. CREATIVE COMMONS PROVIDES THIS INFORMATION ON AN "AS-IS" BASIS. CREATIVE COMMONS MAKE...
f543c686480660dd45044f23378c47d587f63caa6f0dc30dfac4a097da7102ce
License
8,664
181
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...
fdffd5fa4c16508d952ec81c2c71221e17095ba0cbd74891ff545df53cc82ce8
License
11,340
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, ...
741db17f1e4dee318775ab18a66dde6403fb8c4b7b62f965e52a02cffe2cd0ae
License
11,343
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, ...
3731b7914300990e6171330b571a0ce14b81ce7c8823ac79ac5c294466eba1b8
License
11,344
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, ...
0605fa5f2371735838b00cfccbd4e8dd006bcbcf5961339b9e0c9a87031ca71c
License
11,352
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, ...
4bebd04f269afe8437d003b4254204bd841dcb8106b96cb72158803ff9d711c2
License
11,357
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, ...
1c258a042594ffc21c98ce7eaca6dfac46859ebe10188ab3dbda8c7aceca385c
License
11,358
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, ...
0f94b9fa08295c76515ee2235eed545eeeaf1c801f24349da479b6d96a865fad
License
11,361
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, ...
b9c650e7d79e400bbc10166a4a30a87ae687e0010e8f219b0a88ec0a665f254b
License
11,380
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, ...
baee69541687b08e3bfcedeb5c8cab1832ae404b65fb7bd9c94b388396b80ede
License
11,482
54
This work is licensed under the Creative Commons Attribution-NonCommercial-NoDerivs 2.0 Generic License. To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-nd/2.0/ or send a letter to Creative Commons, PO Box 1866, Mountain View, CA 94042, USA. Academic users can contact the authors of IR...
5cdcb4858c7725a732972cc1d8fb17e500c6c09555f80618723db108e90195eb
License
11,490
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, ...
f51f387da1905d2f1aa0687399a8efc9f8f74550ad4bd1839fcbb19359b90001
License
15,548
264
# CEBRA License ## Versioning Notice - Versions < 0.1.0 have "no license", see https://choosealicense.com/no-permission/. - Versions 0.1.0 to 0.3.1 are covered under the Non-Commercial License Agreement appended below. - Versions 0.4.0 - present are covered under the Apache-2.0 license appended below. Please note EP...
60222c28c1a7f6a92c7df98e5c5f4459e624e6e285e0b9b94467af5f6ab3343d
License
15,922
363
Mozilla Public License, version 2.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" means the combination of the Contributions of others (if any) used by a Contributor and ...
dca018b777d7bbaad6a295cd35b9653e8ffe014ac8a737292157e1f33b769753
License
17,068
157
# Creative Commons Attribution 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. Creative Commons makes its licenses and relat...
a564ed18fed7bca9c2200c385b88e314e2a768b28885b6e301e8d495ac722acb
License
17,174
176
Creative Commons Attribution 4.0 International License ====================================================== About the license and Creative Commons Creative Commons Corporation ("Creative Commons") is not a law firm and does not provide legal services or legal advice. Distribution of Creative Commons public licens...
de4a2b6605c303c188b0d1d03ed13bf06861a7d10f66f8075d6fcdb08ee8223d
License
17,356
138
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. Creative Commons makes its licenses and related information available on an “as-is” basis. Crea...
01650090168cf180073d92e2fd1892719a5fdc429e4b8645421f5e735ffb1734
License
17,989
339
Å GNU GENERAL PUBLIC LICENSE Version 2, June 1991 Copyright (C) 1989, 1991 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 changing it is not allowed. Preamble...
5821ef44a40a8e16f0c2c679777179f81e971cfae6368230aaf012df0a8c8ce4
License
18,012
343
GNU GENERAL PUBLIC LICENSE Version 2, June 1991 Copyright (C) 1989, 1991 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 changing it is not allowed....
7cbda64435f218b0dc07192e57b2593b2b1141737614ca4f3e4dc1f9ef24bb92
License
18,690
399
Creative Commons Legal Code CC-BY-4.0 Attribution 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 n...
168d0ce568e9dbdb8287c183b4f8e93161833f5d05edd5b2f1112ba9c988b49b
License
19,068
405
Attribution 4.0 International Cite as: Thomas Hale, Noam Angrist, Rafael Goldszmidt, Beatriz Kira, Anna Petherick, Toby Phillips, Samuel Webster, Emily Cameron-Blake, Laura Hallas, Saptarshi Majumdar, and Helen Tatlow. (2021). “A global panel database of pandemic policies (Oxford COVID-19 Government Response Tracker)...
87a816969906840bf7af8d4d01cdfad4741b18946365e1f286007935509f2edb
License
20,139
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 ...
0b4c4ce2a15ac3d3bf64659e99d66a23c95c65b9bc4aa2744edd345eee53b3f2
License
21,097
505
CeCILL FREE SOFTWARE LICENSE AGREEMENT 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 governing the distribution ...
0451b634c56ded90b29cd5e40295bcf24bd5224f5ffd7c5f1458535eb90ba85f
License
21,099
506
CeCILL FREE SOFTWARE LICENSE AGREEMENT 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 governing the distribution ...
56a80b9ca38920cba14d154d610f6be9d2d11ab7800b39d9f4c84ae36dac2df5
License
21,806
460
Home / Licenses Creative Commons Attribution Share Alike 4.0 International Similar to CC-BY-4.0 but requires derivatives be distributed under the same or a similar, compatible license. Frequently used for media assets and educational materials. A previous version is the default license for Wikipedia and other Wikimedia...
5d756a25fcd918f8caece46c421242f67703f50596657ef3f2791ea3d94fb7e4
License
26,339
503
### 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 changing it is not allow...
cc68f9a408c8edf33c900f645846a7d8388a23e4b92a4a9fce7499c372b2acc0
License
27,249
515
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, ...
9be9b349dca0ec6eb5eb8d4c5d76bddabd39e53247551ab2e13175a27fdfb59f
License
34,569
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. ...
2026292cb9f0dde10cf4d0ae74909c8903865ce3235f059bf9c86f2677a7840d
License
35,140
674
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...
5f65c1e66671ba79bc52fd108e62d733473f5b0985d0062413261588a879a5e1
License
35,198
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. Prea...
fa8f94c9bf3d9c13d008092ca56106c43b54194440b4b580923b1243d4581490
License
35,947
696
AMPd-Up Copyright 2023 Chenkai Li This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 3. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even th...
0cb867355186f2d47a924e97244127a9e8f67343d7452da0fecc1be9b158be8b
License
36,250
697
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...
9b03e0b2a5ddf32babe981077c6793bab063fdc7bfd8c1523c95d024f3721262
MATLAB
18
2
clear; close all;
f5bb3040cf298a0e9bfa7baf08833946dd5e4b4d0c207f7f77615cc33f89faa8
MATLAB
18
2
amapOF amapOF_2
3781e997a85d1573c4d305e5b287f984bb0fd010ca5eb8b2571c342322e22f3a
MATLAB
21
1
function [] = myplot(
df237c2d9ebc836e81adbc2bcd20c4a24953c8009187d2ea0e387c2e309bc7db
MATLAB
30
2
function x = tovec(x) x=x(:);
12e9996d79580689e51bd1fbeac37a561a16c7b188ec9ac0e35ac6832498095b
MATLAB
36
3
function nop() % do nothing end
dff51423d0693a6f69c6b0a0983f7f5e1acebee459e53aa89512b9ec875e0938
MATLAB
39
4
test1_1p; test2_p; eval_1p; eval_CV_1p;
c18745ce3a28d9d1dd4681b730876e185c799580757676bcb3aae3267c461dc9
MATLAB
40
3
laser_off; e.stack.line disp(e.message)
5221d9d0b11423b0c5a3ed0a8bea08c1b88efdde83b440491b68f97337e7c81e
MATLAB
41
2
function SC = laser_on(SC) %turn on laser
0062f390668e9de433b69c5bb0614deaba47ac1a39855e2ae6d3a5f804304511
MATLAB
43
2
function SC = laser_off(SC) %turn off laser
ea4b3a652590fe441de44af4ae0c27ae1db3843c5ee48ddae0eac11fbb4ec66d
MATLAB
44
3
xx=[2 4 6 8;10 20 30 40]; yy=[2 10]; xx/yy
bebd16db16ad1d20e977b83e9eaa0191ba476ac23d2c2e72944a7b7bdd81c95c
MATLAB
45
1
/Users/marcnormandin/Documents/miniscope_cam
c0578c24b648e3d51ff3d491e9d90742609ab11da809446dcc4b3789eb4f4836
MATLAB
46
4
% set the colormap colormap(slanCM('bwr'));
69cc8abfc1da658d722177c07f50fa77c7150e46f05be556f398387c56f2901f
MATLAB
47
3
function idx = argmin(x) [~,idx] = min(x);
897c8d0ac72a6e6382a6f38a289f673b332433822383b360849b4ee35efb8aa1
MATLAB
47
5
function [e] = initParametersNLP e=0; return
e3d0c801c36f28a3be7f9c787be67205f49c538e87df0e83f93c202b6c394582
MATLAB
47
3
function idx = argmax(x) [~,idx] = max(x);
43148f50008021681647b864dc65acdec47a848271721f51d85d0807637ece09
MATLAB
49
5
function [e] = initParametersMINLP e=0; return
0f46c322f62511fce21e71c52332a28c1e9c47570484c1d8a28299d01c3b9f04
MATLAB
50
9
function J = matlabjacobian(x) J = [] end
41ce4a7949935de4953e9b12da14eab308ee347764f4b55a52ec7f09ac030b4d
MATLAB
51
2
function SC = laser_set(v,SC) %set laser power to v
4dc1356b15e251769b860d85896d7bf2bb7b2c19fc85475faab22ec03d6a19e8
MATLAB
52
1
function vars = alignmentMethod_Linearity_APP(vars)
45d9e87bb263e7ecedd5950dd0b0eb23ef11665e57dd7fb709f3fb65a9b698e1
MATLAB
66
4
Get this from here: https://github.com/leonardob92/LBPD-1.0
71aa2ecd28cc2f5f60482ad455f5d4ea45c604cd84b26389ba3008981a41bc92
MATLAB
68
3
addpath(genpath(pwd)); TrippleColorMultiChannel_VideoSync_20230506;
dded91b3d85ad3d35c63417b75454ee045c0a3dac9ca800b8547491870bb399d
MATLAB
70
6
function MuLaNA() fprintf('Welcome to MuLaNA! \n'); end % function
15587cc8de4dd95d6775bfacbaa241240c919f4472849fbe7861c97f23c4ee38
MATLAB
71
1
SesList = {'20160603Thalamus44_opF_W'}; NamedUnitNames=[4,1];
846d5291a6be0eadb182f7ca07b4d3bb8febde341b13e900fde0be6274eb6214
MATLAB
71
8
cd utilities/ mex findAllDistances.c mex findListDistances.c cd ..
8a884954c1e96fb04446546f97702f6764382acbeab79d744e4180f272a2d60c
MATLAB
73
3
function result = flytracker_version_string() result = '1.2.1' ; end
f3fbf9551f322c60818d22c98ca28880090fb4545a69c6b23e70f5d658a9610d
MATLAB
73
4
zz=[1 nan 2]; if length(zz)>0 || find(isnan(zz))>0 disp('xxx') end
d8fc2cedd8a7d5cdf11fea0053f3d55c696519c339ac48251c554bb6f6d26348
MATLAB
74
7
function [y] = cellstrnum(x) %cellstrnum.m y = cellstr(string(x)); end
2cead45bbb17c6a182d482c08aa3a07dc7932f899b82d1fcae24075446a0ede3
MATLAB
75
9
classdef ref_obj < handle properties ref = []; end end
2c321acd7d1af54b64f27116c9da405175df09e22e55afa181ee420c335fe9aa
MATLAB
76
5
function [cleanvec] = notnan(vec) cleanvec = vec(~isnan(vec)); end %fn
fbb642fbbc3d18545f99732d421333688054c548127d274c23b05ee08814723e
MATLAB
77
3
function saveFromParFor(fname, imageStack) save(fname, 'imageStack'); end
18a66080d8bab95d80ae8b1af1cdc55bab773526db36a291992798ac15315908
MATLAB
80
2
function getMatlabMffApiVersion fprintf('Matlab MFF API Version 2.1, 2014.\n');
199639ec8bd8edce6b8fceb1e27cc58ba35a77f243958e1816734126ab08a3f1
MATLAB
81
5
function [ISI] = getISI_vector(delta_vec) ISI = diff(find(delta_vec)); end %fn
8ad48a2f24f05fb7a5a0e3dab79b2ee36a2641d4fccb1d9596f9027af8613c69
MATLAB
81
3
function[time] = sec2time(sec) time = datestr(toc/(24*60*60),'HH:MM:SS'); end
8fa8ddebcd59f3a97400aa128e5904b9c08ccb572cd96353e8539eab7605e6e9
MATLAB
81
6
function [y] = in_range_incl(x,rnge) y = x >= rnge(1) & x <= rnge(2); end
284074b05781ae7500ac8c306cd485a9c0cfb2fba469a20aa0f3f1400736a812
MATLAB
82
2
function SC=change_exposure(SC,cam_str,new_exp) %change camera exposure to new_exp
8e03e8ad90c8cddfa9c34e39b99e85b3017592a031f5ed43db15599342be8736
MATLAB
82
3
function filterSize = computeFilterSizeFromScale(scale) filterSize = 4 * 2^scale;
2f22ba58d69f703d609ab686428b5d99d1cbb312ca9a0fb6ff8f0529c65dd095
MATLAB
83
3
function similarity = BlobSimRand(a, b, imags, simParams) similarity = rand();
913d98e8b93fbd273951a3af81e88d6a6541705fdd9152d079630d0dfbc3a0a2
MATLAB
84
12
function ds_info=process_ds_info_regression(ds_info, ds_config) %TODO! end
c0142f5c167d928d77bba0d4c213f9f193ac1801c46bc4700794a2181689a77b
MATLAB
86
2
function SC = flip_m(SC,pos) %flip flip-mount from fluorescnce to laser or vice versa
827926e834af494811600706af15fff4dfb2c3bec315de5afb6f5b3d6e797f9e
MATLAB
87
7
function [n] = cellnumel(c) %cellnumel.m 3/13/21 n = cellfun(@(x) numel(x), c); end
29fccc67e6d5a55fab7ca01f44e336909d0823b7b3fe0d30046876d59b2eee21
MATLAB
89
4
function narr = uniti2n(iarr); globals; narr = [goodElectrodes(iarr(:,1)),iarr(:,2)];
841ca9ce3aa26b4860be547ce19356c63b551430e070d060e7d14966f3bc2554
MATLAB
90
4
function ind = getIndName(filename) [C, ~] = strsplit(filename, '_'); ind = [C{1:end-1}];
a5e7c2728888424ab70533c94c8d9e7f33d7102ba7b1910a420d6af0ff63eba5
MATLAB
92
9
function [color] = jHexColor(r,g,b) r = r/256; g = g/256; b = b/256; color = [r g b]; end
ecadd28980eed53695c16f8dddba69a89d5184dc1bb235ff62d2d3c04a43a20c
MATLAB
92
7
function [m] = cellnummat(c) %cellnummat.m 7/6/22 m = cellfun(@(x) str2double(x),c); end
adf8a9d352215c92a391eaaabdf564dc0ec8538c1e8b6fa1870d9c06e8d5068b
MATLAB
94
3
function [dateTag] = ml_util_gen_datetag() dateTag = datestr(now, 'yyyymmdd_HHMMSS'); end
dd2f5250d3b44167824f4ddb8bb899149ad67570dbb72dcbfb042656ea52b4ac
MATLAB
94
4
function [d] = ml_util_dir(s) d = dir(s); d = d(~ismember({d.name}, {'.', '..'})); end
facad6e47f10d3d1dbea1fc09f47e750de002767712d71439d95a283f92d1b85
MATLAB
94
13
function ds_info=my_gen_ds_info_cityscapes(ds_config) ds_info=[]; error('TODO'); end
8eb4a37855430f7b6d98175c275a5197289fee4f3c75f0518e031d1ddf2535f2
MATLAB
95
6
function ynn_v = ValNLS(Imat_v,nn_stat) ynn_v = sim(nn_stat,Imat_v); ynn_v = ynn_v'; end
9ac606ce0e19a01092b270c683ae96e1206358332062e68adf0ded3b1fb13c8a
MATLAB
95
3
function vl_assert_equal(x, y, varargin) assert(isequalwithequalnans(x,y),varargin{:}) ; end
cf881f26b0c50f5466766d0e0bdf5190de918388d9c38639f308b4c8acad327f
MATLAB
95
6
function [D] = idiv(A,B) %idiv.m %works on doubles, unlike matlab idivide D = floor(A/B); end
c2b8413dde90f3c037c55911d8ddf38293c43b988ac7292e5bf755fcd156c10c
MATLAB
96
2
function SC=change_camera_ROI(SC,cam_str,c0,r0,n) %change ROI of camera to (r0-n:r0+n,c0-n:c0+n)
84d29899966fc0a281896aebc065dc0ab8e026816ac7a5e057d26e58de2368d0
MATLAB
97
7
function [e_arr] = isemptyCell(arr) %isemptyCell.m e_arr = cellfun(@(x) isempty(x), arr); end
251b92824ef4aed45ff84e8550145c8b3b2deb17aa057b49c0ca6bdad96ec141
MATLAB
98
4
function mask = had_set_mask(mid_pix,alpha) x = sqrt(alpha.^(abs(-mid_pix:mid_pix))); mask=x'*x;
324ee135771066759ea853fe0ed879c7f53030bfd43251707d14e1d9d0fb3bab
MATLAB
100
7
function mkdir_notexist(one_dir) if ~exist(one_dir,'dir') unix(['mkdir -p ' one_dir]); end end
24ae581c9eab0c77c8347a6d2286d2b21edf3071fb09780dffe0ad0ef47dc37b
MATLAB
101
7
function [p] = celland(a,b) %celland.m p = cellfun(@(x,y) x & y, a,b, 'UniformOutput',false); end
ae70c9d67999ad7ee1923cde519008c415b02919e44b0e3dcb93722cb9a75484
MATLAB
102
6
function [acf2] = despkACF(acf) %despkACF.m 4/25/22 acf2 = acf; acf2(ceil(length(acf)/2)) = nan; end
f6890efe9bc6a211b1ca89f6c236ebe609001dc4a18c7abb5e8cad3371b87ccb
MATLAB
102
3
function change_permissions(handles,argument) % eval(['! chmod ' handles.permissions ' ' argument]);
c7443f44274dd6112f0ddd1f840d66980f6514a6adfbca47d8d996b999dfcaa5
MATLAB
103
3
function parsave(fname,this_parameters,this_error) save(fname, 'this_parameters', 'this_error') end
a54c3b6988d1a7d8b785bd3ee80664e9e856745be5097d014dc2f54a68476c0c
MATLAB
104
3
function [key, Resp_Time] = getInput(KbCheck) [KeyIsDown, Resp_Time, Resp1] = KbCheck(compKbDevice); end
4a9ece2672cc20d849bedde25d8ba37e393000b37a36f9ccac933ec71541b184
MATLAB
105
7
function chanData = Maestro2mat(filename, samplerate) ephys = openmaestro(filename); end
62e32e26c6619f00a48ec88f45a8da4f9d15af9ac01826167e8fcc3ba701e069
MATLAB
106
8
% f_MatrixMaxElemNum % function s_MaxElem = f_MatrixMaxElemNum() s_MaxElem = 50 * 10^6; return
19cd62b23704ded271b00fb6b5c64afe5e22f4b63f334f4150a3a5924fceee55
MATLAB
107
9
% set the colormap if(~isunix) addpath('..\'); else addpath('../'); end colormap(slanCM('bwr'));