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 | ZijingMao/baselineeegtest-master | read_erplabheader.m | .m | baselineeegtest-master/External Software/EEGLAB/eeglab13_4_4b/plugins/Fileio150704/private/read_erplabheader.m | 2,048 | utf_8 | c72fab70eaf79706e1f1f452bc50692a | % read_erplabheader() - import ERPLAB dataset files
%
% Usage:
% >> header = read_erplabheader(filename);
%
% Inputs:
% filename - [string] file name
%
% Outputs:
% header - FILEIO toolbox type structure
%
% Modified from read_eeglabheader
%1234567890123456789012345678901234567890123456789012345678901234567890... |
github | ZijingMao/baselineeegtest-master | write_plexon_nex.m | .m | baselineeegtest-master/External Software/EEGLAB/eeglab13_4_4b/plugins/Fileio150704/private/write_plexon_nex.m | 9,546 | utf_8 | c3e00b18b8d0d194f3b0231301f3945f | function write_plexon_nex(filename, nex)
% WRITE_PLEXON_NEX writes a Plexon *.nex file, which is a file
% containing action-potential (spike) timestamps and waveforms (spike
% channels), event timestamps (event channels), and continuous variable
% data (continuous A/D channels).
%
% Use as
% write_plexon_nex(filenam... |
github | ZijingMao/baselineeegtest-master | ft_convert_units.m | .m | baselineeegtest-master/External Software/EEGLAB/eeglab13_4_4b/plugins/Fileio150704/private/ft_convert_units.m | 9,048 | utf_8 | b0b47d21a2d75a5138e1d3499af2bf96 | function [obj] = ft_convert_units(obj, target, varargin)
% FT_CONVERT_UNITS changes the geometrical dimension to the specified SI unit.
% The units of the input object is determined from the structure field
% object.unit, or is estimated based on the spatial extend of the structure,
% e.g. a volume conduction model of... |
github | ZijingMao/baselineeegtest-master | ft_datatype.m | .m | baselineeegtest-master/External Software/EEGLAB/eeglab13_4_4b/plugins/Fileio150704/private/ft_datatype.m | 9,441 | utf_8 | 38c5cce959f40526c327578253ce1570 | function [type, dimord] = ft_datatype(data, desired)
% FT_DATATYPE determines the type of data represented in a FieldTrip data
% structure and returns a string with raw, freq, timelock source, comp,
% spike, source, volume, dip, montage, event.
%
% Use as
% [type, dimord] = ft_datatype(data)
% [status] = ft_... |
github | ZijingMao/baselineeegtest-master | ft_apply_montage.m | .m | baselineeegtest-master/External Software/EEGLAB/eeglab13_4_4b/plugins/Fileio150704/private/ft_apply_montage.m | 19,718 | utf_8 | 82280137ae6d7db9e4e24fa895096d47 | function [input] = ft_apply_montage(input, montage, varargin)
% FT_APPLY_MONTAGE changes the montage of an electrode or gradiometer array. A
% montage can be used for EEG rereferencing, MEG synthetic gradients, MEG
% planar gradients or unmixing using ICA. This function applies the montage
% to the inputor array. The ... |
github | ZijingMao/baselineeegtest-master | read_erplabdata.m | .m | baselineeegtest-master/External Software/EEGLAB/eeglab13_4_4b/plugins/Fileio150704/private/read_erplabdata.m | 2,110 | utf_8 | 60380c3ce12bbfd85b4dd554bdc0ae20 | % read_erplabdata() - import ERPLAB dataset files
%
% Usage:
% >> dat = read_erplabdata(filename);
%
% Inputs:
% filename - [string] file name
%
% Optional inputs:
% 'begtrial' - [integer] first trial to read
% 'endtrial' - [integer] last trial to read
% 'chanindx' - [integer] list with channel indices to ... |
github | ZijingMao/baselineeegtest-master | in_fopen_manscan.m | .m | baselineeegtest-master/External Software/EEGLAB/eeglab13_4_4b/plugins/Fileio150704/private/in_fopen_manscan.m | 11,806 | utf_8 | caf4a8d115834da29621c65451b195b2 | function sFile = in_fopen_manscan(DataFile)
% IN_FOPEN_MANSCAN: Open a MANSCAN file (continuous recordings)
%
% USAGE: sFile = in_fopen_manscan(DataFile)
% @=============================================================================
% This software is part of the Brainstorm software:
% http://neuroimage.usc.edu/bra... |
github | ZijingMao/baselineeegtest-master | read_biosemi_bdf.m | .m | baselineeegtest-master/External Software/EEGLAB/eeglab13_4_4b/plugins/Fileio150704/private/read_biosemi_bdf.m | 10,872 | utf_8 | 51356ef9877faea1b6799cde11807eff | function dat = read_biosemi_bdf(filename, hdr, begsample, endsample, chanindx);
% READ_BIOSEMI_BDF reads specified samples from a BDF continous datafile
% It neglects all trial boundaries as if the data was acquired in
% non-continous mode.
%
% Use as
% [hdr] = read_biosemi_bdf(filename);
% where
% filename ... |
github | ZijingMao/baselineeegtest-master | read_ctf_ascii.m | .m | baselineeegtest-master/External Software/EEGLAB/eeglab13_4_4b/plugins/Fileio150704/private/read_ctf_ascii.m | 3,218 | utf_8 | ed3ebfd532e8ac61a7237dede21d739b | function [file] = read_ctf_ascii(filename);
% READ_CTF_ASCII reads general data from an CTF configuration file
%
% The file should be formatted like
% Group
% {
% item1 : value1a value1b value1c
% item2 : value2a value2b value2c
% item3 : value3a value3b value3c
% item4 : value4a value4b v... |
github | ZijingMao/baselineeegtest-master | read_mpi_dap.m | .m | baselineeegtest-master/External Software/EEGLAB/eeglab13_4_4b/plugins/Fileio150704/private/read_mpi_dap.m | 7,085 | utf_8 | a51b5774d3dc46b048015b2b12e95e76 | function [dap] = read_mpi_dap(filename)
% READ_MPI_DAP read the analog channels from a DAP file
% and returns the values in microvolt (uV)
%
% Use as
% [dap] = read_mpi_dap(filename)
% Copyright (C) 2005-2007, Robert Oostenveld
%
% This file is part of FieldTrip, see http://www.ru.nl/neuroimaging/fieldtrip
% for th... |
github | ZijingMao/baselineeegtest-master | read_neuralynx_bin.m | .m | baselineeegtest-master/External Software/EEGLAB/eeglab13_4_4b/plugins/Fileio150704/private/read_neuralynx_bin.m | 6,705 | utf_8 | 1851b52bfcf664aadb50e417bd3ab74b | function [dat] = read_neuralynx_bin(filename, begsample, endsample);
% READ_NEURALYNX_BIN
%
% Use as
% hdr = read_neuralynx_bin(filename)
% or
% dat = read_neuralynx_bin(filename, begsample, endsample)
%
% This is not a formal Neuralynx file format, but at the
% F.C. Donders Centre we use it in conjunction with N... |
github | ZijingMao/baselineeegtest-master | inifile.m | .m | baselineeegtest-master/External Software/EEGLAB/eeglab13_4_4b/plugins/Fileio150704/private/inifile.m | 23,578 | utf_8 | f647125ffa71c22e44a119c27e73d460 | function readsett = inifile(fileName,operation,keys,style)
%readsett = INIFILE(fileName,operation,keys,style)
% Creates, reads, or writes data from/to ini (ascii) file.
%
% - fileName: ini file name
% - operation: can be one of the following:
% 'new' (rewrites an existing or creates... |
github | ZijingMao/baselineeegtest-master | yokogawa2grad_new.m | .m | baselineeegtest-master/External Software/EEGLAB/eeglab13_4_4b/plugins/Fileio150704/private/yokogawa2grad_new.m | 9,123 | utf_8 | a05c043b59134bedb201bba241ad57ef | function grad = yokogawa2grad_new(hdr)
% YOKOGAWA2GRAD_NEW converts the position and weights of all coils that
% compromise a gradiometer system into a structure that can be used
% by FieldTrip. This implementation uses the new "yokogawa_meg_reader"
% toolbox.
%
% See also FT_READ_HEADER, CTF2GRAD, BTI2GRAD, FIF2GRAD... |
github | ZijingMao/baselineeegtest-master | read_besa_avr.m | .m | baselineeegtest-master/External Software/EEGLAB/eeglab13_4_4b/plugins/Fileio150704/private/read_besa_avr.m | 3,929 | utf_8 | 91f2ee59d1af564811511e0e7f201ba4 | function [avr] = read_besa_avr(filename)
% READ_BESA_AVR reads average EEG data in BESA format
%
% Use as
% [avr] = read_besa_avr(filename)
%
% This will return a structure with the header information in
% avr.npnt
% avr.tsb
% avr.di
% avr.sb
% avr.sc
% avr.Nchan (optional)
% avr.label (optional)
%... |
github | ZijingMao/baselineeegtest-master | ft_datatype_source.m | .m | baselineeegtest-master/External Software/EEGLAB/eeglab13_4_4b/plugins/Fileio150704/private/ft_datatype_source.m | 11,599 | utf_8 | 860bbf1db76786f373d55c7cd4a64746 | function source = ft_datatype_source(source, varargin)
% FT_DATATYPE_SOURCE describes the FieldTrip MATLAB structure for data that is
% represented at the source level. This is typically obtained with a beamformer of
% minimum-norm source reconstruction using FT_SOURCEANALYSIS.
%
% An example of a source structure obt... |
github | ZijingMao/baselineeegtest-master | xml2struct.m | .m | baselineeegtest-master/External Software/EEGLAB/eeglab13_4_4b/plugins/Fileio150704/private/xml2struct.m | 8,612 | utf_8 | 3d883353ccb551f2dcd554835610a565 | function [ s ] = xml2struct( file )
%Convert xml file into a MATLAB structure
% [ s ] = xml2struct( file )
%
% A file containing:
% <XMLname attrib1="Some value">
% <Element>Some text</Element>
% <DifferentElement attrib2="2">Some more text</DifferentElement>
% <DifferentElement attrib3="2" attrib4="1">Even more ... |
github | ZijingMao/baselineeegtest-master | in_fread_manscan.m | .m | baselineeegtest-master/External Software/EEGLAB/eeglab13_4_4b/plugins/Fileio150704/private/in_fread_manscan.m | 4,760 | utf_8 | 474793281d7e666aeb2bff303bd62b5b | function F = in_fread_manscan(sFile, sfid, iEpoch, SamplesBounds)
% IN_FREAD_MANSCAN: Read a block of recordings from a MANSCAN file
%
% USAGE: F = in_fread_manscan(sFile, sfid, iEpoch, SamplesBounds) : Read all channels
% F = in_fread_manscan(sFile, sfid) : Read all channels, all the... |
github | ZijingMao/baselineeegtest-master | read_ply.m | .m | baselineeegtest-master/External Software/EEGLAB/eeglab13_4_4b/plugins/Fileio150704/private/read_ply.m | 5,986 | utf_8 | e7e4d22b778a98c951a9972c41d4dea3 | function [vert, face] = read_ply(fn)
% READ_PLY reads triangles, tetraheders or hexaheders from a Stanford *.ply file
%
% Use as
% [vert, face, prop, face_prop] = read_ply(filename)
%
% Documentation is provided on
% http://paulbourke.net/dataformats/ply/
% http://en.wikipedia.org/wiki/PLY_(file_format)
%
% See ... |
github | ZijingMao/baselineeegtest-master | read_eeglabdata.m | .m | baselineeegtest-master/External Software/EEGLAB/eeglab13_4_4b/plugins/Fileio150704/private/read_eeglabdata.m | 3,193 | utf_8 | 33c4ab48f49c3929347fee8295589fbc | % read_eeglabdata() - import EEGLAB dataset files
%
% Usage:
% >> dat = read_eeglabdata(filename);
%
% Inputs:
% filename - [string] file name
%
% Optional inputs:
% 'begtrial' - [integer] first trial to read
% 'endtrial' - [integer] last trial to read
% 'chanindx' - [integer] list with channel indices to ... |
github | ZijingMao/baselineeegtest-master | readbdf.m | .m | baselineeegtest-master/External Software/EEGLAB/eeglab13_4_4b/plugins/Fileio150704/private/readbdf.m | 3,632 | utf_8 | 9c94d90dc0c8728b0b46e5276747e847 | % readbdf() - Loads selected Records of an EDF or BDF File (European Data Format
% for Biosignals) into MATLAB
% Usage:
% >> [DAT,signal] = readedf(EDF_Struct,Records,Mode);
% Notes:
% Records - List of Records for Loading
% Mode - 0 Default
% 1 ... |
github | ZijingMao/baselineeegtest-master | ft_platform_supports.m | .m | baselineeegtest-master/External Software/EEGLAB/eeglab13_4_4b/plugins/Fileio150704/private/ft_platform_supports.m | 8,056 | utf_8 | ad60f22e6572bea34e03b9ffadfa0129 | function tf = ft_platform_supports(what,varargin)
% FT_PLATFORM_SUPPORTS returns a boolean indicating whether the current platform
% supports a specific capability
%
% Usage:
% tf = ft_platform_supports(what)
% tf = ft_platform_supports('matlabversion', min_version, max_version)
%
% The following values are allowe... |
github | ZijingMao/baselineeegtest-master | ft_warning.m | .m | baselineeegtest-master/External Software/EEGLAB/eeglab13_4_4b/plugins/Fileio150704/private/ft_warning.m | 7,651 | utf_8 | 883d92d69f8b72d44f2446b5ee2353cb | function [ws, warned] = ft_warning(varargin)
% FT_WARNING will throw a warning for every unique point in the
% stacktrace only, e.g. in a for-loop a warning is thrown only once.
%
% Use as one of the following
% ft_warning(string)
% ft_warning(id, string)
% Alternatively, you can use ft_warning using a timeout
% ... |
github | ZijingMao/baselineeegtest-master | ft_hastoolbox.m | .m | baselineeegtest-master/External Software/EEGLAB/eeglab13_4_4b/plugins/Fileio150704/private/ft_hastoolbox.m | 25,228 | utf_8 | 0972697d520199424e9b41666dc33c04 | function [status] = ft_hastoolbox(toolbox, autoadd, silent)
% FT_HASTOOLBOX tests whether an external toolbox is installed. Optionally
% it will try to determine the path to the toolbox and install it
% automatically.
%
% Use as
% [status] = ft_hastoolbox(toolbox, autoadd, silent)
%
% autoadd = 0 means that it will ... |
github | ZijingMao/baselineeegtest-master | read_yokogawa_data_new.m | .m | baselineeegtest-master/External Software/EEGLAB/eeglab13_4_4b/plugins/Fileio150704/private/read_yokogawa_data_new.m | 5,691 | utf_8 | 0f379a92d07b29f6a231c357f4f02920 | function [dat] = read_yokogawa_data_new(filename, hdr, begsample, endsample, chanindx)
% READ_YOKAGAWA_DATA_NEW reads continuous, epoched or averaged MEG data
% that has been generated by the Yokogawa MEG system and software
% and allows that data to be used in combination with FieldTrip.
%
% Use as
% [dat] = read_y... |
github | ZijingMao/baselineeegtest-master | read_plexon_nex.m | .m | baselineeegtest-master/External Software/EEGLAB/eeglab13_4_4b/plugins/Fileio150704/private/read_plexon_nex.m | 7,637 | utf_8 | fa08ec3a9e740a63be5c6ee72ef0d1a0 | function [varargout] = read_plexon_nex(filename, varargin)
% READ_PLEXON_NEX reads header or data from a Plexon *.nex file, which
% is a file containing action-potential (spike) timestamps and waveforms
% (spike channels), event timestamps (event channels), and continuous
% variable data (continuous A/D channels).
%
%... |
github | ZijingMao/baselineeegtest-master | read_bti_m4d.m | .m | baselineeegtest-master/External Software/EEGLAB/eeglab13_4_4b/plugins/Fileio150704/private/read_bti_m4d.m | 5,838 | utf_8 | 123c765eeecec5359bfdfc0af7c65fc0 | function [msi] = read_bti_m4d(filename)
% READ_BTI_M4D
%
% Use as
% msi = read_bti_m4d(filename)
% Copyright (C) 2007, Robert Oostenveld
%
% This file is part of FieldTrip, see http://www.ru.nl/neuroimaging/fieldtrip
% for the documentation and details.
%
% FieldTrip is free software: you can redistribute it and... |
github | ZijingMao/baselineeegtest-master | read_asa.m | .m | baselineeegtest-master/External Software/EEGLAB/eeglab13_4_4b/plugins/Fileio150704/private/read_asa.m | 3,857 | utf_8 | bd6525da96c296723f6a29b027b2445e | function [val] = read_asa(filename, elem, format, number, token)
% READ_ASA reads a specified element from an ASA file
%
% val = read_asa(filename, element, type, number)
%
% where the element is a string such as
% NumberSlices
% NumberPositions
% Rows
% Columns
% etc.
%
% and format specifies the datatype a... |
github | ZijingMao/baselineeegtest-master | ft_checkdata.m | .m | baselineeegtest-master/External Software/EEGLAB/eeglab13_4_4b/plugins/Fileio150704/private/ft_checkdata.m | 77,665 | utf_8 | 0c7aabcbe3ab11b70e71782914d5d60e | function [data] = ft_checkdata(data, varargin)
% FT_CHECKDATA checks the input data of the main FieldTrip functions, e.g. whether
% the type of data strucure corresponds with the required data. If neccessary
% and possible, this function will adjust the data structure to the input
% requirements (e.g. change dimord, a... |
github | ZijingMao/baselineeegtest-master | read_yokogawa_data.m | .m | baselineeegtest-master/External Software/EEGLAB/eeglab13_4_4b/plugins/Fileio150704/private/read_yokogawa_data.m | 11,038 | utf_8 | aa2c8a06c417ada7e9af353f2307443e | function [dat] = read_yokogawa_data(filename, hdr, begsample, endsample, chanindx)
% READ_YOKAGAWA_DATA reads continuous, epoched or averaged MEG data
% that has been generated by the Yokogawa MEG system and software
% and allows that data to be used in combination with FieldTrip.
%
% Use as
% [dat] = read_yokogawa_... |
github | ZijingMao/baselineeegtest-master | decode_fif.m | .m | baselineeegtest-master/External Software/EEGLAB/eeglab13_4_4b/plugins/Fileio150704/private/decode_fif.m | 6,033 | utf_8 | 4edf09a0624e103cb761080e759c75ae | function [info] = decode_fif(orig)
% DECODE_FIF is a helper function for real-time processing of Neuromag data. This
% function is used to decode the content of the optional neuromag_fif chunk(s).
%
% See also DECODE_RES4, DECODE_NIFTI1, SAP2MATLAB
% Copyright (C) 2013 Arjen Stolk & Robert Oostenveld
%
% This file is... |
github | ZijingMao/baselineeegtest-master | read_biff.m | .m | baselineeegtest-master/External Software/EEGLAB/eeglab13_4_4b/plugins/Fileio150704/private/read_biff.m | 5,857 | utf_8 | d71281c0e6be7868430597d71c166b5d | function [this] = read_biff(filename, opt)
% READ_BIFF reads data and header information from a BIFF file
%
% This is a attemt for a reference implementation to read the BIFF
% file format as defined by the Clinical Neurophysiology department of
% the University Medical Centre, Nijmegen.
%
% read all data and inform... |
github | ZijingMao/baselineeegtest-master | read_eeglabheader.m | .m | baselineeegtest-master/External Software/EEGLAB/eeglab13_4_4b/plugins/Fileio150704/private/read_eeglabheader.m | 2,255 | utf_8 | fe4446f32b250441d57acff9ebe691a2 | % read_eeglabheader() - import EEGLAB dataset files
%
% Usage:
% >> header = read_eeglabheader(filename);
%
% Inputs:
% filename - [string] file name
%
% Outputs:
% header - FILEIO toolbox type structure
%
% Author: Arnaud Delorme, SCCN, INC, UCSD, 2008-
%1234567890123456789012345678901234567890123456789012345... |
github | ZijingMao/baselineeegtest-master | read_ctf_svl.m | .m | baselineeegtest-master/External Software/EEGLAB/eeglab13_4_4b/plugins/Fileio150704/private/read_ctf_svl.m | 3,812 | utf_8 | d3442d0a013cf5e0a8d4277d99e45206 | % [data, hdr] = opensvl(filename)
%
% Reads a CTF SAM (.svl) file.
function [data, hdr] = read_ctf_svl(filename)
fid = fopen(filename, 'rb', 'ieee-be', 'ISO-8859-1');
if fid <= 0
error('Could not open SAM file: %s\n', filename);
end
% --------------------------------------------------------------... |
github | ZijingMao/baselineeegtest-master | read_erplabevent.m | .m | baselineeegtest-master/External Software/EEGLAB/eeglab13_4_4b/plugins/Fileio150704/private/read_erplabevent.m | 1,786 | utf_8 | 40ece49ff6bd2afd6024b46f210e65fa | % read_erplabevent() - import ERPLAB dataset events
%
% Usage:
% >> event = read_erplabevent(filename, ...);
%
% Inputs:
% filename - [string] file name
%
% Optional inputs:
% 'header' - FILEIO structure header
%
% Outputs:
% event - FILEIO toolbox event structure
%
% Modified from read_eeglabevent
%12... |
github | ZijingMao/baselineeegtest-master | read_yokogawa_header_new.m | .m | baselineeegtest-master/External Software/EEGLAB/eeglab13_4_4b/plugins/Fileio150704/private/read_yokogawa_header_new.m | 8,959 | utf_8 | 654f373c60405e9a27c40d65ab0147dd | function hdr = read_yokogawa_header_new(filename)
% READ_YOKOGAWA_HEADER_NEW reads the header information from continuous,
% epoched or averaged MEG data that has been generated by the Yokogawa
% MEG system and software and allows that data to be used in combination
% with FieldTrip.
%
% Use as
% [hdr] = read_yokoga... |
github | ZijingMao/baselineeegtest-master | ft_datatype_raw.m | .m | baselineeegtest-master/External Software/EEGLAB/eeglab13_4_4b/plugins/Fileio150704/private/ft_datatype_raw.m | 11,130 | utf_8 | ba366978335b30f2c90877f56f9b4519 | function data = ft_datatype_raw(data, varargin)
% FT_DATATYPE_RAW describes the FieldTrip MATLAB structure for raw data
%
% The raw datatype represents sensor-level time-domain data typically
% obtained after calling FT_DEFINETRIAL and FT_PREPROCESSING. It contains
% one or multiple segments of data, each represented ... |
github | ZijingMao/baselineeegtest-master | getdimsiz.m | .m | baselineeegtest-master/External Software/EEGLAB/eeglab13_4_4b/plugins/Fileio150704/private/getdimsiz.m | 1,601 | utf_8 | bd44c3d3917f25521cd5c01d896ce113 | function dimsiz = getdimsiz(data, field)
% GETDIMSIZ
%
% Use as
% dimsiz = getdimsiz(data, field)
%
% See also GETDIMORD
if ~isfield(data, field) && isfield(data, 'avg') && isfield(data.avg, field)
field = ['avg.' field];
elseif ~isfield(data, field) && isfield(data, 'trial') && isfield(data.trial, field)
field... |
github | ZijingMao/baselineeegtest-master | read_yokogawa_header.m | .m | baselineeegtest-master/External Software/EEGLAB/eeglab13_4_4b/plugins/Fileio150704/private/read_yokogawa_header.m | 8,340 | utf_8 | c1392a52ad7bb86127e7a704c5abce9d | function hdr = read_yokogawa_header(filename)
% READ_YOKOGAWA_HEADER reads the header information from continuous,
% epoched or averaged MEG data that has been generated by the Yokogawa
% MEG system and software and allows that data to be used in combination
% with FieldTrip.
%
% Use as
% [hdr] = read_yokogawa_heade... |
github | ZijingMao/baselineeegtest-master | encode_nifti1.m | .m | baselineeegtest-master/External Software/EEGLAB/eeglab13_4_4b/plugins/Fileio150704/private/encode_nifti1.m | 4,870 | utf_8 | 9cf92a03587c511a5cec2c8c76a3c2c3 | function blob = encode_nifti1(H)
%function blob = encode_nifti1(H)
%
% Encodes a NIFTI-1 header (=> raw 348 bytes (uint8)) from a Matlab structure
% that matches the C struct defined in nifti1.h.
%
% WARNING: This function currently ignores endianness !!!
% (C) 2010 S.Klanke
blob = uint8(zeros(1,348));
if ~isstruct(... |
github | ZijingMao/baselineeegtest-master | avw_hdr_read.m | .m | baselineeegtest-master/External Software/EEGLAB/eeglab13_4_4b/plugins/Fileio150704/private/avw_hdr_read.m | 16,668 | utf_8 | 7cb599cd5b75177fed96189188822304 | function [ avw, machine ] = avw_hdr_read(fileprefix, machine, verbose)
% avw_hdr_read - read Analyze format data header (*.hdr)
%
% [ avw, machine ] = avw_hdr_read(fileprefix, [machine], [verbose])
%
% fileprefix - string filename (without .hdr); the file name
% can be given as a full path or relative to ... |
github | ZijingMao/baselineeegtest-master | read_stl.m | .m | baselineeegtest-master/External Software/EEGLAB/eeglab13_4_4b/plugins/Fileio150704/private/read_stl.m | 4,072 | utf_8 | f8ab163555c079a78445be6bc53cac39 | function [pnt, tri, nrm] = read_stl(filename);
% READ_STL reads a triangulation from an ascii or binary *.stl file, which
% is a file format native to the stereolithography CAD software created by
% 3D Systems.
%
% Use as
% [pnt, tri, nrm] = read_stl(filename)
%
% The format is described at http://en.wikipedia.org/w... |
github | ZijingMao/baselineeegtest-master | read_itab_mhd.m | .m | baselineeegtest-master/External Software/EEGLAB/eeglab13_4_4b/plugins/Fileio150704/private/read_itab_mhd.m | 12,518 | utf_8 | d0ebd0b4e1de627d76cb523010d16ec7 | function mhd = read_itab_mhd(filename)
fid = fopen(filename, 'rb');
% Name of structure
mhd.stname = fread(fid, [1 10], 'uint8=>char'); % Header identifier (VP_BIOMAG)
mhd.stver = fread(fid, [1 8], 'uint8=>char'); % Header version
mhd.stendian = fread(fid, [1 4], 'uint8=>char'); % ... |
github | ZijingMao/baselineeegtest-master | read_plexon_plx.m | .m | baselineeegtest-master/External Software/EEGLAB/eeglab13_4_4b/plugins/Fileio150704/private/read_plexon_plx.m | 20,344 | utf_8 | dd04c6311c617f6001b0b3938dac087a | function [varargout] = read_plexon_plx(filename, varargin)
% READ_PLEXON_PLX reads header or data from a Plexon *.plx file, which
% is a file containing action-potential (spike) timestamps and waveforms
% (spike channels), event timestamps (event channels), and continuous
% variable data (continuous A/D channels).
%
%... |
github | ZijingMao/baselineeegtest-master | read_neurosim_evolution.m | .m | baselineeegtest-master/External Software/EEGLAB/eeglab13_4_4b/plugins/Fileio150704/private/read_neurosim_evolution.m | 4,562 | utf_8 | e362fcc35f185715fe33ab48d889a0d9 | function [hdr, dat] = read_neurosim_evolution(filename, varargin)
% READ_NEUROSIM_EVOLUTION reads the "evolution" file that is written
% by Jan van der Eerden's NeuroSim software. When a directory is used
% as input, the default filename 'evolution' is read.
%
% Use as
% [hdr, dat] = read_neurosim_evolution(filename... |
github | ZijingMao/baselineeegtest-master | read_eeglabevent.m | .m | baselineeegtest-master/External Software/EEGLAB/eeglab13_4_4b/plugins/Fileio150704/private/read_eeglabevent.m | 3,698 | utf_8 | 6acdf266f18a8591ec4ac4582b3ef28c | % read_eeglabevent() - import EEGLAB dataset events
%
% Usage:
% >> event = read_eeglabevent(filename, ...);
%
% Inputs:
% filename - [string] file name
%
% Optional inputs:
% 'header' - FILEIO structure header
%
% Outputs:
% event - FILEIO toolbox event structure
%
% Author: Arnaud Delorme, SCCN, INC, ... |
github | ZijingMao/baselineeegtest-master | read_bti_ascii.m | .m | baselineeegtest-master/External Software/EEGLAB/eeglab13_4_4b/plugins/Fileio150704/private/read_bti_ascii.m | 2,300 | utf_8 | 9144223206dfa96caa46025367ac07c8 | function [file] = read_bti_ascii(filename)
% READ_BTI_ASCII reads general data from a BTI configuration file
%
% The file should be formatted like
% Group:
% item1 : value1a value1b value1c
% item2 : value2a value2b value2c
% item3 : value3a value3b value3c
% item4 : value4a value4b value4c ... |
github | ZijingMao/baselineeegtest-master | openbdf.m | .m | baselineeegtest-master/External Software/EEGLAB/eeglab13_4_4b/plugins/Fileio150704/private/openbdf.m | 6,812 | utf_8 | cb49358a2a955b165a5c50127c25e3d8 | % openbdf() - Opens an BDF File (European Data Format for Biosignals) in MATLAB (R)
%
% Usage:
% >> EDF=openedf(FILENAME)
%
% Note: About EDF -> www.biosemi.com/faq/file_format.htm
%
% Author: Alois Schloegl, 5.Nov.1998
%
% See also: readedf()
% Copyright (C) 1997-1998 by Alois Schloegl
% a.schloegl@ieee.org
% ... |
github | ZijingMao/baselineeegtest-master | topoplot.m | .m | baselineeegtest-master/VisualizationFilters/External EEGLAB functions/topoplot.m | 65,383 | utf_8 | 0710c0959c950ba5e133559a71e28eb8 | % topoplot() - plot a topographic map of a scalp data field in a 2-D circular view
% (looking down at the top of the head) using interpolation on a fine
% cartesian grid. Can also show specified channnel location(s), or return
% an interpolated value at an arbitrary scalp locat... |
github | ZijingMao/baselineeegtest-master | readlocs.m | .m | baselineeegtest-master/VisualizationFilters/External EEGLAB functions/readlocs.m | 33,743 | utf_8 | c376d1ca0e88b41512b698fc39b404fd | % readlocs() - read electrode location coordinates and other information from a file.
% Several standard file formats are supported. Users may also specify
% a custom column format. Defined format examples are given below
% (see File Formats).
% Usage:
% >> eloc = readlocs( ... |
github | ZijingMao/baselineeegtest-master | finputcheck.m | .m | baselineeegtest-master/VisualizationFilters/External EEGLAB functions/finputcheck.m | 8,676 | utf_8 | 98c5e52d4a9cd0c05a41cee29d409e4b | % finputcheck() - check Matlab function {'key','value'} input argument pairs
%
% Usage: >> result = finputcheck( varargin, fieldlist );
% >> [result varargin] = finputcheck( varargin, fieldlist, ...
% callingfunc, mode, verbose );
% Input:
% varargin - Cell array ... |
github | ZijingMao/baselineeegtest-master | meshReduce.m | .m | baselineeegtest-master/VisualizationFilters/geom3d/meshes3d/meshReduce.m | 9,863 | utf_8 | fe0668cc856377deaeeb38dfce52916d | function varargout = meshReduce(nodes, varargin)
%MESHREDUCE Merge coplanar faces of a polyhedral mesh
%
% Note: deprecated, should use "mergeCoplanarFaces" instead
%
% [NODES FACES] = meshReduce(NODES, FACES)
% [NODES EDGES FACES] = meshReduce(NODES, EDGES, FACES)
% NODES is a set of 3D points (as a Nn-by-3 ar... |
github | ZijingMao/baselineeegtest-master | meshSurfaceArea.m | .m | baselineeegtest-master/VisualizationFilters/geom3d/meshes3d/meshSurfaceArea.m | 1,883 | utf_8 | abe62e53f393c56a2782e20e4e788092 | function area = meshSurfaceArea(vertices, edges, faces)
%MESHSURFACEAREA Surface area of a polyhedral mesh
%
% S = meshSurfaceArea(V, F)
% S = meshSurfaceArea(V, E, F)
% Computes the surface area of the mesh specified by vertex array V and
% face array F. Vertex array is a NV-by-3 array of coordinates.
% Fac... |
github | ZijingMao/baselineeegtest-master | mergeCoplanarFaces.m | .m | baselineeegtest-master/VisualizationFilters/geom3d/meshes3d/mergeCoplanarFaces.m | 10,111 | utf_8 | 28a4d5c9c038ed1d5250c1babe495a14 | function varargout = mergeCoplanarFaces(nodes, varargin)
%MERGECOPLANARFACES Merge coplanar faces of a polyhedral mesh
%
% [NODES FACES] = mergeCoplanarFaces(NODES, FACES)
% [NODES EDGES FACES] = mergeCoplanarFaces(NODES, EDGES, FACES)
% NODES is a set of 3D points (as a nNodes-by-3 array),
% and FACES is one ... |
github | ZijingMao/baselineeegtest-master | rocarea.m | .m | baselineeegtest-master/BaselineTest/XDBLDAUtility/Utilities/rocarea.m | 2,034 | utf_8 | c5ed1630baa8d2de141052ed2c13dab4 | % rocarea() - computes the area under the ROC curve
% If no output arguments are specified
% it will display an ROC curve with the
% Az and approximate fraction correct.
%
% Usage:
% >> [Az,tp,fp,fc]=rocarea(p,label);
%
% Inputs:
% p - classification output
% label - truth labels {0,1}
%
% Outputs:
% Az - ... |
github | ZijingMao/baselineeegtest-master | logist.m | .m | baselineeegtest-master/BaselineTest/XDBLDAUtility/Utilities/logist.m | 9,603 | utf_8 | e175ee099b786fea664b3f83b907a2f7 | % logist() - Iterative recursive least squares algorithm for linear
% logistic model
%
% Usage:
% >> [v] = logist(x,y,vinit,show,regularize,lambda,lambdasearch,eigvalratio);
%
% Inputs:
% x - N input samples [N,D]
% y - N binary labels [N,1] {0,1}
%
% Optional parameters:
% vinit - initialization f... |
github | ZijingMao/baselineeegtest-master | LDAsimple.m | .m | baselineeegtest-master/BaselineTest/XDBLDAUtility/blda/LDAsimple.m | 2,300 | utf_8 | b58ee004f29558ff0e923ce17fbe6102 | % LDA - MATLAB subroutine to perform linear discriminant analysis
% by Will Dwinnell and Deniz Sevis
%
% Use:
% W = LDA(Input,Target,Priors)
%
% W = discovered linear coefficients (first column is the constants)
% Input = predictor data (variables in columns, observations in rows)
% Target = target variable (c... |
github | ZijingMao/baselineeegtest-master | mylasso.m | .m | baselineeegtest-master/Deconvolution/mylasso.m | 57,431 | utf_8 | 7247888eb5e7c928a60c6911143d2a0b | function [B,stats] = mylasso(x,y,distr,varargin)
%LASSOGLM Perform lasso or elastic net regularization for a generalized linear model.
% [B,STATS] = LASSOGLM(X,Y,DISTR,...) Performs L1-penalized maximum likelihood
% fits (lasso) relating the predictors in X to the responses in Y, or
% fits subject to joint L1- ... |
github | ZijingMao/baselineeegtest-master | extractfields.m | .m | baselineeegtest-master/DLResultAnalysis/extractfields.m | 2,885 | utf_8 | 749c4e2f71a16853b1cfdb07ec28f1e9 | function A = extractfields(S, name)
%EXTRACTFIELD Field values from structure array
%
% A = EXTRACTFIELD(S, NAME) returns the field values specified by the
% fieldname NAME in the 1-by-N output array A. N is the total number
% of elements in the field NAME of structure S:
%
% N = numel([S(:).(n... |
github | ZijingMao/baselineeegtest-master | datestr8601.m | .m | baselineeegtest-master/BigEEGConsortium-ESS/Ess_tools/dependency/datestr8601.m | 17,551 | utf_8 | 1b3b9a5bdd75dbc154c6dc8f3c241d7b | function varargout = datestr8601(DVN,varargin)
% Convert a Date Vector or Serial Date Number to an ISO 8601 formatted Date String (timestamp).
%
% (c) 2014 Stephen Cobeldick
%
% ### Function ###
%
% Syntax:
% Str = datestr8601
% Str = datestr8601(DVN)
% Str = datestr8601(DVN,Tok)
% [Str1,Str2,...] = datestr8601(DVN... |
github | ZijingMao/baselineeegtest-master | parseXML.m | .m | baselineeegtest-master/BigEEGConsortium-ESS/Ess_tools/dependency/parseXML.m | 2,009 | utf_8 | 41322e38af16d5d7496a794c7b9ea2c8 | function theStruct = parseXML(filename)
% PARSEXML Convert XML file to a MATLAB structure.
try
tree = xmlread(filename);
catch
error('Failed to read XML file %s.',filename);
end
% Recurse over child nodes. This could run into problems
% with very deeply nested trees.
try
theStruct = parseChildNodes(tree);
ca... |
github | ZijingMao/baselineeegtest-master | xml_write.m | .m | baselineeegtest-master/BigEEGConsortium-ESS/Ess_tools/dependency/xml_write.m | 14,648 | utf_8 | 22c16c351430ff67bb44dd116db74334 | function DOMnode = xml_write(filename, tree, RootName, Pref)
%XML_WRITE Writes Matlab data structures to XML file
%
% DESCRIPTION
% xml_write( filename, tree) Converts Matlab data structure 'tree' containing
% cells, structs, numbers and strings to Document Object Model (DOM) node
% tree, then saves it to XML file 'fi... |
github | ZijingMao/baselineeegtest-master | datenum8601.m | .m | baselineeegtest-master/BigEEGConsortium-ESS/Ess_tools/dependency/datenum8601.m | 9,816 | utf_8 | a85d0376153e989173a5fb941cea7489 | function [DtN,Spl,TkC] = datenum8601(Str,Tok)
% Convert an ISO 8601 formatted Date String (timestamp) to a Serial Date Number.
%
% (c) 2014 Stephen Cobeldick
%
% ### Function ###
%
% Syntax:
% DtN = datenum8601(Str)
% DtN = datenum8601(Str,Tok)
% [DtN,Spl,TkC] = datenum8601(...)
%
% By default the function automatic... |
github | ZijingMao/baselineeegtest-master | xml2struct.m | .m | baselineeegtest-master/BigEEGConsortium-ESS/Ess_tools/dependency/xml2struct.m | 6,773 | utf_8 | 0194599f7bac6b67c42391f372b5ff91 | function [ s ] = xml2struct( file )
%Convert xml file into a MATLAB structure
% [ s ] = xml2struct( file )
%
% A file containing:
% <XMLname attrib1="Some value">
% <Element>Some text</Element>
% <DifferentElement attrib2="2">Some more text</Element>
% <DifferentElement attrib3="2" attrib4="1">Even more text</Dif... |
github | ZijingMao/baselineeegtest-master | progress.m | .m | baselineeegtest-master/BigEEGConsortium-ESS/Ess_tools/dependency/progress.m | 5,835 | utf_8 | 931aef4557497a7657c39bb4e0508084 | function n = progress(rate,title)
%PROGRESS Text progress bar
% Similar to waitbar but without the figure display.
%
% Start:
% PROGRESS('init'); initializes the progress bar with title 'Please wait...'
% PROGRESS('init',TITLE); initializes the progress bar with title TITLE
% PROGRESS(RATE); sets the length... |
github | ZijingMao/baselineeegtest-master | strjoin_adjoiner_first.m | .m | baselineeegtest-master/BigEEGConsortium-ESS/Ess_tools/dependency/strjoin_adjoiner_first.m | 993 | utf_8 | 0b68faa60355ed75dc3a7916aa8293cc | % Concatenates a cell array of strings.
%
% Input arguments:
% adjoiner:
% string separating each neighboring element
% strings:
% a cell array of strings to join
%
% See also: strsplit, cell2mat
% Copyright 2008-2009 Levente Hunyadi
function string = strjoin(adjoiner, strings)
if isempty(strings)
string = ... |
github | ZijingMao/baselineeegtest-master | env_load_dependencies.m | .m | baselineeegtest-master/BigEEGConsortium-ESS/Ess_tools/dependency/environment/env_load_dependencies.m | 10,994 | utf_8 | 2e237b15a1d3f2144f496fe00181882c | function env_load_dependencies(dependency_dir,autocompile)
% Execute dependency loaders in the given directory tree.
% env_load_dependencies(Directory)
%
% This function recognizes 3 types of dependency loader scripts in the dependencies (sub-)folders.
% 1. Scripts called env_exec.m. Each such script is executed by en... |
github | ZijingMao/baselineeegtest-master | env_clear_classes.m | .m | baselineeegtest-master/BigEEGConsortium-ESS/Ess_tools/dependency/environment/env_clear_classes.m | 1,399 | utf_8 | 9aea4fb7a3c591fd3b2dbf3bbb2857e9 | function env_clear_classes
% Clear instances of BCI paradigm (and other) classes.
%
% This function is mainly useful when editing the code of BCI paradigms in BCILAB. Whenever after an
% edit a warning along the lines of "Cannot apply change to the class Paradigm*** because some
% instances of the old version still exi... |
github | ZijingMao/baselineeegtest-master | env_showmenu.m | .m | baselineeegtest-master/BigEEGConsortium-ESS/Ess_tools/dependency/environment/env_showmenu.m | 16,493 | utf_8 | 159e1459c66a23bf0aa2650e6dd1b8a3 | function env_showmenu(varargin)
% Links the BCILAB menu into another menu, or creates a new root menu if necessary.
% env_showmenu(Options...)
%
% In:
% Options... : optional name-value pairs; names are:
% 'parent': parent menu to link into
%
% 'shortcuts': whether to enable keyboard s... |
github | ZijingMao/baselineeegtest-master | env_buildslave.m | .m | baselineeegtest-master/BigEEGConsortium-ESS/Ess_tools/dependency/environment/env_buildslave.m | 8,548 | utf_8 | aa1e4148f6acf22b11f24d8df947e0e6 | function env_buildslave(varargin)
% Run as a build slave: recompile the toolbox whenever it has changed.
%
% In:
% ScanInterval : the interval at which the toolbox is scanned for changes, in seconds
% (default: 30)
%
% WaitPeriod : the period that must have passed between the last change and a rebu... |
github | ZijingMao/baselineeegtest-master | env_testslave.m | .m | baselineeegtest-master/BigEEGConsortium-ESS/Ess_tools/dependency/environment/env_testslave.m | 5,607 | utf_8 | b279aa0a6ed3d730783ff07014023600 | function env_testslave(varargin)
% Run as a test slave: run tests for the toolbox whenever it has changed.
%
% In:
% ScanInterval : the interval at which the toolbox is scanned for changes, in seconds
% (default: 30)
%
% WaitPeriod : the period that must have passed between the last change and a re... |
github | ZijingMao/baselineeegtest-master | env_startup.m | .m | baselineeegtest-master/BigEEGConsortium-ESS/Ess_tools/dependency/environment/env_startup.m | 23,183 | utf_8 | 00cabe6e6e1273c1d7b52a22c679bbc9 | function env_startup(varargin)
% Start the BCILAB toolbox, i.e. set up global data structures and load dependency toolboxes.
% env_startup(Options...)
%
% Does all steps necessary for loading the toolbox -- the functions bcilab.m and eegplugin_bcilab.m
% are wrappers around this function which provide a higher level o... |
github | ZijingMao/baselineeegtest-master | env_acquire_cluster.m | .m | baselineeegtest-master/BigEEGConsortium-ESS/Ess_tools/dependency/environment/env_acquire_cluster.m | 3,786 | utf_8 | 7ae4a6c911fe57c69049246902a82526 | function env_acquire_cluster
% Acquire a cluster using the currently configured acquire options.
%
% The behavior of this function is governed by the configuration variable acquire_options that can
% be set either in the config file or in the "Cluster Settings" GUI dialog. Generally, this function
% will (if supported ... |
github | ZijingMao/baselineeegtest-master | loadjson.m | .m | baselineeegtest-master/BigEEGConsortium-ESS/Ess_tools/dependency/jsonlab/loadjson.m | 16,145 | ibm852 | 7582071c5bd7f5e5f74806ce191a9078 | function data = loadjson(fname,varargin)
%
% data=loadjson(fname,opt)
% or
% data=loadjson(fname,'param1',value1,'param2',value2,...)
%
% parse a JSON (JavaScript Object Notation) file or string
%
% authors:Qianqian Fang (fangq<at> nmr.mgh.harvard.edu)
% created on 2011/09/09, including previous works from
%
% ... |
github | ZijingMao/baselineeegtest-master | loadubjson.m | .m | baselineeegtest-master/BigEEGConsortium-ESS/Ess_tools/dependency/jsonlab/loadubjson.m | 13,300 | utf_8 | b15e959f758c5c2efa2711aa79c443fc | function data = loadubjson(fname,varargin)
%
% data=loadubjson(fname,opt)
% or
% data=loadubjson(fname,'param1',value1,'param2',value2,...)
%
% parse a JSON (JavaScript Object Notation) file or string
%
% authors:Qianqian Fang (fangq<at> nmr.mgh.harvard.edu)
% created on 2013/08/01
%
% $Id$
%
% input:
% fname: ... |
github | ZijingMao/baselineeegtest-master | savejson_for_ess.m | .m | baselineeegtest-master/BigEEGConsortium-ESS/Ess_tools/dependency/jsonlab/savejson_for_ess.m | 19,319 | utf_8 | 1299e4f40b734fe1fd182b132979005c | function json=savejson(rootname,obj,varargin)
%
% json=savejson(rootname,obj,filename)
% or
% json=savejson(rootname,obj,opt)
% json=savejson(rootname,obj,'param1',value1,'param2',value2,...)
%
% convert a MATLAB object (cell, struct or array) into a JSON (JavaScript
% Object Notation) string
%
% author: Qianqian Fa... |
github | ZijingMao/baselineeegtest-master | saveubjson.m | .m | baselineeegtest-master/BigEEGConsortium-ESS/Ess_tools/dependency/jsonlab/saveubjson.m | 17,723 | utf_8 | 3414421172c05225dfbd4a9c8c76e6b3 | function json=saveubjson(rootname,obj,varargin)
%
% json=saveubjson(rootname,obj,filename)
% or
% json=saveubjson(rootname,obj,opt)
% json=saveubjson(rootname,obj,'param1',value1,'param2',value2,...)
%
% convert a MATLAB object (cell, struct or array) into a Universal
% Binary JSON (UBJSON) binary string
%
% author... |
github | ZijingMao/baselineeegtest-master | xml_write.m | .m | baselineeegtest-master/BigEEGConsortium-ESS/Ess_tools/dependency/xml_io/xml_write.m | 18,325 | utf_8 | 24bd3dc683e5a0a0ad4080deaa6a93a5 | function DOMnode = xml_write(filename, tree, RootName, Pref)
%XML_WRITE Writes Matlab data structures to XML file
%
% DESCRIPTION
% xml_write( filename, tree) Converts Matlab data structure 'tree' containing
% cells, structs, numbers and strings to Document Object Model (DOM) node
% tree, then saves it to XML file 'fi... |
github | ZijingMao/baselineeegtest-master | xml_read.m | .m | baselineeegtest-master/BigEEGConsortium-ESS/Ess_tools/dependency/xml_io/xml_read.m | 23,875 | utf_8 | 46289b67fb9eefddf374ceaa34ea8ae8 | function [tree, RootName, DOMnode] = xml_read(xmlfile, Pref)
%XML_READ reads xml files and converts them into Matlab's struct tree.
%
% DESCRIPTION
% tree = xml_read(xmlfile) reads 'xmlfile' into data structure 'tree'
%
% tree = xml_read(xmlfile, Pref) reads 'xmlfile' into data structure 'tree'
% according to your pref... |
github | ZijingMao/baselineeegtest-master | DataHash.m | .m | baselineeegtest-master/BigEEGConsortium-ESS/Ess_tools/dependency/data_hash/DataHash.m | 15,429 | utf_8 | e725a80cb9180de1eb03e47b850a95dc | function Hash = DataHash(Data, Opt)
% DATAHASH - Checksum for Matlab array of any type
% This function creates a hash value for an input of any type. The type and
% dimensions of the input are considered as default, such that UINT8([0,0]) and
% UINT16(0) have different hash values. Nested STRUCTs and CELLs are parsed
%... |
github | ZijingMao/baselineeegtest-master | strsetmatch.m | .m | baselineeegtest-master/BigEEGConsortium-ESS/Ess_tools/dependency/PropertyGrid-2010-09-16-mod/strsetmatch.m | 928 | utf_8 | 73f5541ad337bbbc7179cf71004b7062 | % Indicator of which elements of a universal set are in a particular set.
%
% Input arguments:
% strset:
% the particular set as a cell array of strings
% struniversal:
% the universal set as a cell array of strings, all elements in the
% particular set are expected to be in the universal set
%
% Output argume... |
github | ZijingMao/baselineeegtest-master | helptext.m | .m | baselineeegtest-master/BigEEGConsortium-ESS/Ess_tools/dependency/PropertyGrid-2010-09-16-mod/helptext.m | 1,593 | utf_8 | bd49205fc50aeae5a909c8b58a47be6d | % Help text associated with a function, class, property or method.
% Spaces are removed as necessary.
%
% See also: helpdialog
% Copyright 2008-2010 Levente Hunyadi
function text = helptext(obj)
if ischar(obj)
text = gethelptext(obj);
else
text = gethelptext(class(obj));
end
text = texttrim(text);
function t... |
github | ZijingMao/baselineeegtest-master | javaclass.m | .m | baselineeegtest-master/BigEEGConsortium-ESS/Ess_tools/dependency/PropertyGrid-2010-09-16-mod/javaclass.m | 3,635 | utf_8 | 7165e1fd27bd4f5898132023dc04662b | % Return java.lang.Class instance for MatLab type.
%
% Input arguments:
% mtype:
% the MatLab name of the type for which to return the java.lang.Class
% instance
% ndims:
% the number of dimensions of the MatLab data type
%
% See also: class
% Copyright 2009-2010 Levente Hunyadi
function jclass = javaclass(mt... |
github | ZijingMao/baselineeegtest-master | helpdialog.m | .m | baselineeegtest-master/BigEEGConsortium-ESS/Ess_tools/dependency/PropertyGrid-2010-09-16-mod/helpdialog.m | 3,397 | utf_8 | f16f23c1b608a247bc5298f5ebc6d321 | % Displays a dialog to give help information on an object.
%
% Examples:
% helpdialog char
% gives information of character arrays
% helpdialog plot
% gives help on the plot command
% helpdialog(obj)
% gives help on the MatLab object obj
%
% See also: helptext, msgbox
% Copyright 2008-2010 Levente Hunyadi
fun... |
github | ZijingMao/baselineeegtest-master | getdependentproperties.m | .m | baselineeegtest-master/BigEEGConsortium-ESS/Ess_tools/dependency/PropertyGrid-2010-09-16-mod/getdependentproperties.m | 907 | utf_8 | 5f87bb7115d9bcacd8556d89a4492c44 | % Publicly accessible dependent properties of an object.
%
% See also: meta.property
% Copyright 2010 Levente Hunyadi
function dependent = getdependentproperties(obj)
dependent = {};
if isstruct(obj) % structures have no dependent properties
return;
end
try
clazz = metaclass(obj);
catch %#ok<CTCH>
retur... |
github | ZijingMao/baselineeegtest-master | example_matrixeditor.m | .m | baselineeegtest-master/BigEEGConsortium-ESS/Ess_tools/dependency/PropertyGrid-2010-09-16-mod/example_matrixeditor.m | 471 | utf_8 | 637b619421d215e7270f8502574e4ff7 | % Demonstrates how to use the matrix editor.
%
% See also: MatrixEditor
% Copyright 2010 Levente Hunyadi
function example_matrixeditor
fig = figure( ...
'MenuBar', 'none', ...
'Name', 'Matrix editor demo - Copyright 2010 Levente Hunyadi', ...
'NumberTitle', 'off', ...
'Toolbar', 'none');
editor = Matr... |
github | ZijingMao/baselineeegtest-master | example_propertyeditor.m | .m | baselineeegtest-master/BigEEGConsortium-ESS/Ess_tools/dependency/PropertyGrid-2010-09-16-mod/example_propertyeditor.m | 473 | utf_8 | 49faa2989b2f9c32c26f366e77eaf0b2 | % Demonstrates how to use the property editor.
%
% See also: PropertyEditor
% Copyright 2010 Levente Hunyadi
function example_propertyeditor
% create figure
f = figure( ...
'MenuBar', 'none', ...
'Name', 'Property editor demo - Copyright 2010 Levente Hunyadi', ...
'NumberTitle', 'off', ...
'Toolbar', ... |
github | ZijingMao/baselineeegtest-master | nestedfetch.m | .m | baselineeegtest-master/BigEEGConsortium-ESS/Ess_tools/dependency/PropertyGrid-2010-09-16-mod/nestedfetch.m | 1,000 | utf_8 | 1f3b58597c8ee6879bc2650defb0799d | % Fetches the value of the named property of an object or structure.
% This function can deal with nested properties.
%
% Input arguments:
% obj:
% the handle or value object the value should be assigned to
% name:
% a property name with dot (.) separating property names at
% different hierarchy levels
% value... |
github | ZijingMao/baselineeegtest-master | findobjuser.m | .m | baselineeegtest-master/BigEEGConsortium-ESS/Ess_tools/dependency/PropertyGrid-2010-09-16-mod/findobjuser.m | 1,391 | utf_8 | 3275be54ee6c453c85fd950bb6ac56b5 | % Find handle graphics object with user data check.
% Retrieves those handle graphics objects (HGOs) that have the specified
% Tag property and whose UserData property satisfies the given predicate.
%
% Input arguments:
% fcn:
% a predicate (a function that returns a logical value) to test against
% the HGO's Use... |
github | ZijingMao/baselineeegtest-master | javaStringArray.m | .m | baselineeegtest-master/BigEEGConsortium-ESS/Ess_tools/dependency/PropertyGrid-2010-09-16-mod/javaStringArray.m | 628 | utf_8 | fe0389e3b0d1933d49c1a78c416a279c | % Converts a MatLab cell array of strings into a java.lang.String array.
%
% Input arguments:
% str:
% a cell array of strings (i.e. a cell array of char row vectors)
%
% Output arguments:
% arr:
% a java.lang.String array instance (i.e. java.lang.String[])
%
% See also: javaArray
% Copyright 2009-2010 Levente H... |
github | ZijingMao/baselineeegtest-master | var2str.m | .m | baselineeegtest-master/BigEEGConsortium-ESS/Ess_tools/dependency/PropertyGrid-2010-09-16-mod/var2str.m | 441 | utf_8 | 5588acb0d18dcfac8183caf10a3b5675 | % Textual representation of any MatLab value.
% Copyright 2009 Levente Hunyadi
function s = var2str(value)
if islogical(value) || isnumeric(value)
s = num2str(value);
elseif ischar(value) && isvector(value)
s = reshape(value, 1, numel(value));
elseif isjava(value)
s = char(value); % calls java.lang.Objec... |
github | ZijingMao/baselineeegtest-master | getclassfield.m | .m | baselineeegtest-master/BigEEGConsortium-ESS/Ess_tools/dependency/PropertyGrid-2010-09-16-mod/getclassfield.m | 376 | utf_8 | e3b87866af8da4dd40243e750a7e53f6 | % Field value of each object in an array or cell array.
%
% See also: getfield
% Copyright 2010 Levente Hunyadi
function values = getclassfield(objects, field)
values = cell(size(objects));
if iscell(objects)
for k = 1 : numel(values)
values{k} = objects{k}.(field);
end
else
for k = 1 : numel(valu... |
github | ZijingMao/baselineeegtest-master | arrayfilter.m | .m | baselineeegtest-master/BigEEGConsortium-ESS/Ess_tools/dependency/PropertyGrid-2010-09-16-mod/arrayfilter.m | 488 | utf_8 | a2649b876169e3d850372917e57a8b68 | % Filter elements of array that meet a condition.
% Copyright 2010 Levente Hunyadi
function array = arrayfilter(fun, array)
validateattributes(fun, {'function_handle'}, {'scalar'});
if isobject(array)
filter = false(size(array));
for k = 1 : numel(filter)
filter(k) = fun(array(k));
end
else
f... |
github | ZijingMao/baselineeegtest-master | example_propertygrid.m | .m | baselineeegtest-master/BigEEGConsortium-ESS/Ess_tools/dependency/PropertyGrid-2010-09-16-mod/example_propertygrid.m | 4,929 | utf_8 | f1e5d6dc7fc518cdb070956ff714353c | % Demonstrates how to use the property pane.
%
% See also: PropertyGrid
% Copyright 2010 Levente Hunyadi
function example_propertygrid
properties = [ ...
PropertyGridField('double', pi, ...
'Category', 'Primitive types', ...
'DisplayName', 'real double', ...
'Description', 'Standard MatLab... |
github | ZijingMao/baselineeegtest-master | constructor.m | .m | baselineeegtest-master/BigEEGConsortium-ESS/Ess_tools/dependency/PropertyGrid-2010-09-16-mod/constructor.m | 2,078 | utf_8 | c67e647ec8055710896666c9e83b45e0 | % Sets public properties of a MatLab object using a name-value list.
% Properties are traversed in the order they occur in the class definition.
% Copyright 2008-2009 Levente Hunyadi
function obj = constructor(obj, varargin)
assert(isobject(obj), ...
'Function operates on MatLab new-style objects only.');
if nar... |
github | ZijingMao/baselineeegtest-master | nestedassign.m | .m | baselineeegtest-master/BigEEGConsortium-ESS/Ess_tools/dependency/PropertyGrid-2010-09-16-mod/nestedassign.m | 1,457 | utf_8 | 12d661bb4df3c64a0707a06f7e3e6afc | % Assigns the given value to the named property of an object or structure.
% This function can deal with nested properties.
%
% Input arguments:
% obj:
% the structure, handle or value object the value should be assigned to
% name:
% a property name with dot (.) separating property names at
% different hierarc... |
github | ZijingMao/baselineeegtest-master | javaArrayList.m | .m | baselineeegtest-master/BigEEGConsortium-ESS/Ess_tools/dependency/PropertyGrid-2010-09-16-mod/javaArrayList.m | 740 | utf_8 | cb4ad03c4e0fc536bc1ae024bfb8920a | % Converts a MatLab array into a java.util.ArrayList.
%
% Input arguments:
% array:
% a MatLab row or column vector (with elements of any type)
%
% Output arguments:
% list:
% a java.util.ArrayList instance
%
% See also: javaArray
% Copyright 2010 Levente Hunyadi
function list = javaArrayList(array)
list = java.... |
github | ZijingMao/baselineeegtest-master | strjoin.m | .m | baselineeegtest-master/BigEEGConsortium-ESS/Ess_tools/dependency/PropertyGrid-2010-09-16-mod/private/strjoin.m | 938 | utf_8 | 63425068d4fd2fd0543aa9e5b46eca84 | % Concatenates a cell array of strings.
%
% Input arguments:
% adjoiner:
% string separating each neighboring element
% strings:
% a cell array of strings to join
%
% See also: strsplit, cell2mat
% Copyright 2008-2009 Levente Hunyadi
function string = strjoin(adjoiner, strings)
validateattributes(adjoiner, {'ch... |
github | ZijingMao/baselineeegtest-master | strsplit.m | .m | baselineeegtest-master/BigEEGConsortium-ESS/Ess_tools/dependency/PropertyGrid-2010-09-16-mod/private/strsplit.m | 553 | utf_8 | 81fa1c544a57b6a796400f39aedf3d44 | % Splits a string into a cell array of strings.
%
% Input arguments:
% string:
% a string to split into a cell array
% adjoiner:
% string separating each neighboring element
%
% See also: strjoin
% Copyright 2008-2009 Levente Hunyadi
function strings = strsplit(string, adjoiner)
if nargin < 2
adjoiner = spr... |
github | ZijingMao/baselineeegtest-master | hlp_scope.m | .m | baselineeegtest-master/BigEEGConsortium-ESS/Ess_tools/dependency/helpers/hlp_scope.m | 4,133 | utf_8 | fa953a173bee2b8cdcaacdbde3865192 | function varargout = hlp_scope(assignments, f, varargin)
% Execute a function within a dynamic scope of values assigned to symbols.
% Results... = hlp_scope(Assignments, Function, Arguments...)
%
% This is the only completely reliable way in MATLAB to ensure that symbols that should be assigned
% while a function is ru... |
github | ZijingMao/baselineeegtest-master | hlp_fingerprint.m | .m | baselineeegtest-master/BigEEGConsortium-ESS/Ess_tools/dependency/helpers/hlp_fingerprint.m | 7,989 | utf_8 | 6c791e0e23e57c2a9b97a43096c2269f | function fp = hlp_fingerprint(data)
% Make a fingerprint (hash) of the given data structure.
% Fingerprint = hlp_fingerprint(Data)
%
% This includes all contents; however, large arrays (such as EEG.data) are only spot-checked. For
% thorough checking, use hlp_cryptohash.
%
% In:
% Data : some data structure
%
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.