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 | syedsalmanali08/Adaptive-MEMD-master | memd_adap.m | .m | Adaptive-MEMD-master/memd_adap.m | 31,414 | utf_8 | d9716e1f008803f93c9e5ce8dadcd900 | function q = memd_adap(x, varargin)
%
%MEMD_ADAP is an extension of the standard MEMD proposed by Rehman N. and
% Mandic D.P., 2010. This code has been modified based on the function MEMD (see below).
%
% function MEMD applies the "Multivariate Empirical Mode Decomposition" algorithm (Rehman and Mandic, Proc. Roy. So... |
github | xinghuang2050/Mesoscale-Convective-System-Tracking-master | task_assign.m | .m | Mesoscale-Convective-System-Tracking-master/code/task_assign.m | 820 | utf_8 | cb975819b4a06189edd9aa5341dbd4a1 | %% for parallel computing
function time_list = task_assign(yr1, mt1, yr2, mt2, array_size, array_id)
total_month = (yr2 - yr1)*12 + (mt2 - mt1) + 1
% eg. if set array_size == total_month --> assign tasks for each month
month_for_each_proc = round(total_month/array_size)
start_day = datenum(sprintf('%d/01/%d', mt1, y... |
github | xinghuang2050/Mesoscale-Convective-System-Tracking-master | timestamp_2_date.m | .m | Mesoscale-Convective-System-Tracking-master/code/utils/timestamp_2_date.m | 358 | utf_8 | 62a6f4263cc70cbbd6c55961963a6043 |
function datet = timestamp_2_date(timestamp)
%--dmt = timestamp_2_time(timestamp,timezone)
start_day = datenum(sprintf('%d/01/%d', 1, 0));
%--Defalt UTC timezone=0;
datet = addtodate(start_day, (timestamp- 1) * 3, 'hour');
%--date = addtodate(date,timezone, 'hour');
%--For LST,timezone depends on longitude
%datet =... |
github | xinghuang2050/Mesoscale-Convective-System-Tracking-master | get_grid_area.m | .m | Mesoscale-Convective-System-Tracking-master/code/utils/get_grid_area.m | 923 | utf_8 | 1240546254c42536b13586b04558d536 | %% area for each grid
function grid_area = get_grid_area(lat_begin,lat_end,...
is_use_pixel)
%% if is_use_pixel == false,grid area with unit 1
% Get surface area for grid cells. https://badc.nerc.ac.uk/help/coordinates/cell-surf-area.html
% grid_area: grid area in km^2
% lat_begin,lat... |
github | adhusch/PaCER-master | readMedtronicXMLTrajectory.m | .m | PaCER-master/lib/Helpers/readMedtronicXMLTrajectory.m | 4,143 | utf_8 | baf2dd0d6838e4474693fc918d647dff | %% Read Medtronic Framelink XML Configuration File
%
% Andreas Husch
% Centre Hospitalier de Luxembourg, Dep. of Neurosurgery /
% University of Luxembourg - Luxembourg Centre for Systems Biomedicine
% 2014 - 2017
% mail@andreashusch.de, husch.andreas@chl.lu
function config = readMedtronicXMLTrajectory(filepath)
xml = x... |
github | adhusch/PaCER-master | getIntensityForLabel.m | .m | PaCER-master/lib/Helpers/getIntensityForLabel.m | 305 | utf_8 | 12ccf659452e0929ab0427b2c1acdbf8 | %% getIntensityForLabel
%
% Florian Bernard
% Centre Hospitalier de Luxembourg, Dep. of Neurosurgery /
% University of Luxembourg - Luxembourg Centre for Systems Biomedicine
% 2014 - 2017
function intensity = getIntensityForLabel(labelNames, label)
intensity = find(strcmp(labelNames, label)) - 1;
end |
github | adhusch/PaCER-master | plotSphere.m | .m | PaCER-master/lib/Helpers/plotSphere.m | 836 | utf_8 | 03e3c220056e15a59e8a632549bcd85a | %% plotSphere - plot a sphere for given point
%
% Andreas Husch
% Centre Hospitalier de Luxembourg, Dep. of Neurosurgery /
% University of Luxembourg - Luxembourg Centre for Systems Biomedicine
% 2014 - 2017
% mail@andreashusch.de, husch.andreas@chl.lu
function graphicsHandle = plotSphere(point, diameter, color, parent... |
github | adhusch/PaCER-master | CTColormapRGB.m | .m | PaCER-master/lib/Helpers/CTColormapRGB.m | 1,410 | utf_8 | 4f960fcd2146e0c20c858a8fe5217206 | %% Applying Tone Mapping to CT Data Enabling Simultaneus Display of Bony and Soft-Tissue Structures
%
% Andreas Husch
% Centre Hospitalier de Luxembourg, Dep. of Neurosurgery /
% University of Luxembourg - Luxembourg Centre for Systems Biomedicine
% 2016 - 2017
% mail@andreashusch.de, husch.andreas@chl.lu
function CTCo... |
github | adhusch/PaCER-master | scatterMatrix3.m | .m | PaCER-master/lib/Helpers/scatterMatrix3.m | 1,025 | utf_8 | 8cee1b90eb55edf9da58b2576b6a9d71 | %% scatterSpheres - plot scattered points
%
% Andreas Husch
% Centre Hospitalier de Luxembourg, Dep. of Neurosurgery /
% University of Luxembourg - Luxembourg Centre for Systems Biomedicine
% 2014 - 2017
% mail@andreashusch.de, husch.andreas@chl.lu
function h = scatterMatrix3(pointcloud, options, varargin)
fixedA... |
github | adhusch/PaCER-master | convertMedtronicCoordToLPI.m | .m | PaCER-master/lib/Helpers/convertMedtronicCoordToLPI.m | 598 | utf_8 | 9f5a761f7eb86fb053690473a56e968d | %% convertMedtronicCoordToLPI - be careful with that
%
% Andreas Husch
% Centre Hospitalier de Luxembourg, Dept. of Neurosurgery /
% University of Luxembourg - Luxembourg Centre for Systems Biomedicine
% 2014 - 2017
% mail@andreashusch.de, husch.andreas@chl.lu
function pointsLPI = convertMedtronicCoordToLPI(pointsInMm,... |
github | adhusch/PaCER-master | scatterSpheres.m | .m | PaCER-master/lib/Helpers/scatterSpheres.m | 668 | utf_8 | db0d3a8efa8ea8d4a49077ab404e662a | %% scatterSpheres - plot scattered points as spheres
%
% Andreas Husch
% Centre Hospitalier de Luxembourg, Dep. of Neurosurgery /
% University of Luxembourg - Luxembourg Centre for Systems Biomedicine
% 2014 - 2017
% mail@andreashusch.de, husch.andreas@chl.lu
function graphicsHandle = scatterSpheres(points, diameter, c... |
github | adhusch/PaCER-master | getFilenameFromWildcard.m | .m | PaCER-master/lib/Helpers/getFilenameFromWildcard.m | 445 | utf_8 | 5030098adb1e4384c041eef41a3eb342 | %% getFilenameFromWildcard
%
% Florian Bernard
% Centre Hospitalier de Luxembourg, Dep. of Neurosurgery /
% University of Luxembourg - Luxembourg Centre for Systems Biomedicine
% 2014 - 2017
function filepath=getFilenameFromWildcard(folder, wildcard)
theFile=[folder filesep wildcard];
filepath=dir(theFile);
... |
github | adhusch/PaCER-master | readLabels.m | .m | PaCER-master/lib/Helpers/readLabels.m | 2,160 | utf_8 | ace2564e15a0baa4baa9594bf0eabd5c | %% readLabels - read ITK-Snap label file
%
% Florian Bernard, Andreas Husch
% Centre Hospitalier de Luxembourg, Dep. of Neurosurgery /
% University of Luxembourg - Luxembourg Centre for Systems Biomedicine
% 2014 - 2017
% mail@andreashusch.de, husch.andreas@chl.lu
function [labelNames, rgbColors, labelId]=readLabe... |
github | adhusch/PaCER-master | CTColormap.m | .m | PaCER-master/lib/Helpers/CTColormap.m | 1,207 | utf_8 | 56575f50923a489156ed62355fa1aa2c | %% Applying Tone Mapping to CT Data Enabling Simultaneus Display of Bony and Soft-Tissue Structures
%
% Andreas Husch
% Centre Hospitalier de Luxembourg, Dep. of Neurosurgery /
% University of Luxembourg - Luxembourg Centre for Systems Biomedicine
% 2016 - 2017
% mail@andreashusch.de, husch.andreas@chl.lu
function CTCo... |
github | adhusch/PaCER-master | getFilepathFromWildcard.m | .m | PaCER-master/lib/Helpers/getFilepathFromWildcard.m | 1,917 | utf_8 | 9cd45f758a63c9ade3b9772da3fe93a8 | %% getFilepathFromWildcard
%
% Florian Bernard
% Centre Hospitalier de Luxembourg, Dep. of Neurosurgery /
% University of Luxembourg - Luxembourg Centre for Systems Biomedicine
% 2014 - 2017
function filepath=getFilepathFromWildcard(folder, wildcard)
% theFile=[folder filesep wildcard];
% filepath=dir(theFile);... |
github | adhusch/PaCER-master | rowNorm.m | .m | PaCER-master/lib/Helpers/rowNorm.m | 293 | utf_8 | e77c17b5f07126023d2f5a3c661d5c9b | %% rowNorm - row-wise eucliadian norm
%
% Andreas Husch
% Centre Hospitalier de Luxembourg, Dep. of Neurosurgery /
% University of Luxembourg - Luxembourg Centre for Systems Biomedicine
% 2014 - 2017
% mail@andreashusch.de, husch.andreas@chl.lu
function d = rowNorm(A)
d = sqrt(sum(A.*A, 2));
|
github | adhusch/PaCER-master | createColorImage.m | .m | PaCER-master/lib/Helpers/createColorImage.m | 3,659 | utf_8 | 5caeb71700bcf18c6b404dce6d19b9d2 | %% createColorImage (RGB) from colormap and indexed image
%
% Andreas Husch
% Centre Hospitalier de Luxembourg, Dept. of Neurosurgery /
% University of Luxembourg - Luxembourg Centre for Systems Biomedicine
% 2009 - 2017
% mail@andreashusch.de, husch.andreas@chl.lu
function image = createColorImage(rawImageData, myCol... |
github | adhusch/PaCER-master | applyFSLTransformToPoints.m | .m | PaCER-master/lib/FSLTransforms/applyFSLTransformToPoints.m | 1,115 | utf_8 | 0b3a327da38862ac66deacd3a588a139 | %% applyFSLTransformToPoints - transform points in world coordinats of sourceRefImage to
% world coordinates in targetRefImage applying a FSL (FLIRT) transformation
% matrix. world coordinates in PaCER style. (note L/R orientation in plots
% i.e. axis ij vs axis xy!)
%
% Parameters: points - Nx3 matrix
% fs... |
github | adhusch/PaCER-master | flirtmat2worldmatPaCER.m | .m | PaCER-master/lib/FSLTransforms/flirtmat2worldmatPaCER.m | 2,775 | utf_8 | 4516ba4f2e301c04bd336628ec001913 | % Simplified version of flirtmat2worldmat removing the various dependencies
% to SPM. Instead using PaCER's Nifti Classes which in turn rely on the
% Nifti Toolbox. Thus it works with .nii.gz files too and has a lot less
% dependencies in general.
% 2017 Andreas Husch.
%
% Based on flirtmat2worldmat by Ged Rigway. See... |
github | adhusch/PaCER-master | applyFSLTransformToPolyCoeffs.m | .m | PaCER-master/lib/FSLTransforms/applyFSLTransformToPolyCoeffs.m | 1,275 | utf_8 | b417e27f523f2d03eff0336534447717 | %% applyFSLTransformToPolyCoeffs - transform polynomial coefficient matrix in world coordinats of sourceRefImage to
% world coordinates in targetRefImage applying a FSL (FLIRT) transformation matrix
%
% Parameters: coeffs - Nx3 matrix, coeffs(end,:) is the bias term (x^0)
% fslTransMat - FSL transformation m... |
github | adhusch/PaCER-master | NiftiModSPM.m | .m | PaCER-master/lib/NiftiOOP/NiftiModSPM.m | 9,088 | utf_8 | 325d0cc0f4f3e91e49bf08211858340f | %% NiftiyModSPM - Base class for all Nifti Objects. Wrapping the SPM Toolbox.
%
% Andreas Husch, Florian Bernard
% Centre Hospitalier de Luxembourg, Dep. of Neurosurgery /
% University of Luxembourg - Luxembourg Centre for Systems Biomedicne
% 2016 - 2017
% mail@andreashusch.de, fbernardpi@gmail.com
%
% Andreas Horn
% ... |
github | adhusch/PaCER-master | checkNiftiHdr.m | .m | PaCER-master/lib/NiftiOOP/checkNiftiHdr.m | 1,376 | utf_8 | a18ece9916ca8ef02c516582a1afa417 | %% checkNifti - basic consistency checking of nifti headers according to the nifti-1 standard
%
% Andreas Husch
% University of Luxembourg - Luxembourg Centre for Systems Biomedicine
%
% 2018
%
% mail@andreashusch.de, andreas.husch@uni.lu
function checkNiftiHdr(nii)
NIFTI_DOC = ' <a href="https://nifti.nimh.nih.gov/nif... |
github | adhusch/PaCER-master | applyANTSTransformToPolyCoeffs.m | .m | PaCER-master/lib/ANTSTransforms/applyANTSTransformToPolyCoeffs.m | 2,177 | utf_8 | 4a68c10680a6a27c12a525b6924669ae | %% applyANTSTransformToPolyCoeffs - transform polynomial coefficient matrix in world coordinats of sourceRefImage to
% world coordinates in targetRefImage applying a ANTS affine transformation
%
% Parameters: coeffs - Nx3 matrix, coeffs(end,:) is the bias term (x^0)
% antsTransformFileStrings - '[antsTra... |
github | adhusch/PaCER-master | applyANTSTransformToPoints.m | .m | PaCER-master/lib/ANTSTransforms/applyANTSTransformToPoints.m | 2,485 | utf_8 | 9499fd0f8a2e46f8ff55225ab1dab63d | %% applyANTSTransformToPoints - transform points in world coordinats of a sourceRefImage to
% world coordinates in targetRefImage applying a ANTS affine transformation
%
% Parameters: transPoints - Nx3 matrix of points in world cooridnates
% antsTransformFileStrings - '[antsTransformFile, useInverseFlag]... |
github | adhusch/PaCER-master | rdir.m | .m | PaCER-master/external/rdir/rdir.m | 11,992 | utf_8 | 4ce6f476106d5c871b653f590cb3db3a | function [varargout] = rdir(rootdir,varargin)
% RDIR - Recursive directory listing
%
% D = rdir(ROOT)
% D = rdir(ROOT, TEST)
% D = rdir(ROOT, TEST, RMPATH)
% D = rdir(ROOT, TEST, 1)
% D = rdir(ROOT, '', ...)
% [D, P] = rdir(...)
% rdir(...)
%
%
% *Inputs*
%
% * ROOT
%
% rdir(ROOT) lists the specified files.
% RO... |
github | adhusch/PaCER-master | load_nii_ext.m | .m | PaCER-master/external/NIfTI_20140122/load_nii_ext.m | 5,337 | utf_8 | fa0e831b0a596c3208b21bddc1c6d812 | % Load NIFTI header extension after its header is loaded using load_nii_hdr.
%
% Usage: ext = load_nii_ext(filename)
%
% filename - NIFTI file name.
%
% Returned values:
%
% ext - Structure of NIFTI header extension, which includes num_ext,
% and all the extended header sections in the header extension.
% ... |
github | adhusch/PaCER-master | rri_orient.m | .m | PaCER-master/external/NIfTI_20140122/rri_orient.m | 2,251 | utf_8 | 4253fb96b9189a8a4bad49661d9ecac3 | % Convert image of different orientations to standard Analyze orientation
%
% Usage: nii = rri_orient(nii);
% Jimmy Shen (jimmy@rotman-baycrest.on.ca), 26-APR-04
%___________________________________________________________________
function [nii, orient, pattern] = rri_orient(nii, varargin)
if nargin > 1
... |
github | adhusch/PaCER-master | save_untouch0_nii_hdr.m | .m | PaCER-master/external/NIfTI_20140122/save_untouch0_nii_hdr.m | 8,594 | utf_8 | 7e8b1b327e1924837820f75780d52d01 | % internal function
% - Jimmy Shen (jimmy@rotman-baycrest.on.ca)
function save_nii_hdr(hdr, fid)
if ~isequal(hdr.hk.sizeof_hdr,348),
error('hdr.hk.sizeof_hdr must be 348.');
end
write_header(hdr, fid);
return; % save_nii_hdr
%---------------------------------------------------------------... |
github | adhusch/PaCER-master | rri_zoom_menu.m | .m | PaCER-master/external/NIfTI_20140122/rri_zoom_menu.m | 737 | utf_8 | d8151523470b0fba970eb1d98ba56030 | % Imbed a zoom menu to any figure.
%
% Usage: rri_zoom_menu(fig);
%
% - Jimmy Shen (jimmy@rotman-baycrest.on.ca)
%
%--------------------------------------------------------------------
function menu_hdl = rri_zoom_menu(fig)
if isnumeric(fig)
menu_hdl = uimenu('Parent',fig, ...
'Label','Zoom on', ..... |
github | adhusch/PaCER-master | rri_select_file.m | .m | PaCER-master/external/NIfTI_20140122/rri_select_file.m | 16,599 | utf_8 | e349954ca803370f62ceeabdbab5912e | function [selected_file, selected_path] = rri_select_file(varargin)
%
% USAGE: [selected_file, selected_path] = ...
% rri_select_file(dir_name, fig_title)
%
% Allow user to select a file from a list of Matlab competible
% file format
%
% Example:
%
% [selected_file, selected_path] = ...
% rri_select_... |
github | adhusch/PaCER-master | clip_nii.m | .m | PaCER-master/external/NIfTI_20140122/clip_nii.m | 3,306 | utf_8 | a70bdbed5a0813312d4c83f94b99a710 | % CLIP_NII: Clip the NIfTI volume from any of the 6 sides
%
% Usage: nii = clip_nii(nii, [option])
%
% Inputs:
%
% nii - NIfTI volume.
%
% option - struct instructing how many voxel to be cut from which side.
%
% option.cut_from_L = ( number of voxel )
% option.cut_from_R = ( number of voxel )
% option.cut_from_P ... |
github | adhusch/PaCER-master | affine.m | .m | PaCER-master/external/NIfTI_20140122/affine.m | 16,110 | utf_8 | 768d2303e551a9584685bdb01abf6f8b | % Using 2D or 3D affine matrix to rotate, translate, scale, reflect and
% shear a 2D image or 3D volume. 2D image is represented by a 2D matrix,
% 3D volume is represented by a 3D matrix, and data type can be real
% integer or floating-point.
%
% You may notice that MATLAB has a function called 'imtransform.m' fo... |
github | adhusch/PaCER-master | load_untouch_nii_img.m | .m | PaCER-master/external/NIfTI_20140122/load_untouch_nii_img.m | 14,756 | utf_8 | 688b2a42f8071c6402a037c7ca923689 | % internal function
% - Jimmy Shen (jimmy@rotman-baycrest.on.ca)
function [img,hdr] = load_untouch_nii_img(hdr,filetype,fileprefix,machine,img_idx,dim5_idx,dim6_idx,dim7_idx,old_RGB,slice_idx)
if ~exist('hdr','var') | ~exist('filetype','var') | ~exist('fileprefix','var') | ~exist('machine','var')
error('U... |
github | adhusch/PaCER-master | load_untouch_nii.m | .m | PaCER-master/external/NIfTI_20140122/load_untouch_nii.m | 6,182 | utf_8 | 93108a725d2e357d773c8aa0acf71328 | % Load NIFTI or ANALYZE dataset, but not applying any appropriate affine
% geometric transform or voxel intensity scaling.
%
% Although according to NIFTI website, all those header information are
% supposed to be applied to the loaded NIFTI image, there are some
% situations that people do want to leave the origi... |
github | adhusch/PaCER-master | collapse_nii_scan.m | .m | PaCER-master/external/NIfTI_20140122/collapse_nii_scan.m | 6,778 | utf_8 | 64b1cb0f7cd9e095d3c11ca66453df69 | % Collapse multiple single-scan NIFTI files into a multiple-scan NIFTI file
%
% Usage: collapse_nii_scan(scan_file_pattern, [collapsed_fileprefix], [scan_file_folder])
%
% Here, scan_file_pattern should look like: 'myscan_0*.img'
% If collapsed_fileprefix is omit, 'multi_scan' will be used
% If scan_file_folder is... |
github | adhusch/PaCER-master | rri_orient_ui.m | .m | PaCER-master/external/NIfTI_20140122/rri_orient_ui.m | 5,384 | utf_8 | e1196b81940d9f93fbdb43c33799e587 | % Return orientation of the current image:
% orient is orientation 1x3 matrix, in that:
% Three elements represent: [x y z]
% Element value: 1 - Left to Right; 2 - Posterior to Anterior;
% 3 - Inferior to Superior; 4 - Right to Left;
% 5 - Anterior to Posterior; 6 - Superior to Inferior;
% e.g.:
% Standard RAS Or... |
github | adhusch/PaCER-master | load_untouch0_nii_hdr.m | .m | PaCER-master/external/NIfTI_20140122/load_untouch0_nii_hdr.m | 8,093 | utf_8 | 3de9ff6a1da47b56ae680e7660eaa041 | % internal function
% - Jimmy Shen (jimmy@rotman-baycrest.on.ca)
function hdr = load_nii_hdr(fileprefix, machine)
fn = sprintf('%s.hdr',fileprefix);
fid = fopen(fn,'r',machine);
if fid < 0,
msg = sprintf('Cannot open file %s.',fn);
error(msg);
else
fseek(fid,0,'bof');
hdr =... |
github | adhusch/PaCER-master | load_nii.m | .m | PaCER-master/external/NIfTI_20140122/load_nii.m | 6,808 | utf_8 | d098a5dbea3cd4ad76cea624ffbef9db | % Load NIFTI or ANALYZE dataset. Support both *.nii and *.hdr/*.img
% file extension. If file extension is not provided, *.hdr/*.img will
% be used as default.
%
% A subset of NIFTI transform is included. For non-orthogonal rotation,
% shearing etc., please use 'reslice_nii.m' to reslice the NIFTI file.
% It will... |
github | adhusch/PaCER-master | unxform_nii.m | .m | PaCER-master/external/NIfTI_20140122/unxform_nii.m | 1,181 | utf_8 | a77d113be34b09d588b2eb326a3c65c8 | % Undo the flipping and rotations performed by xform_nii; spit back only
% the raw img data block. Initial cut will only deal with 3D volumes
% strongly assume we have called xform_nii to write down the steps used
% in xform_nii.
%
% Usage: a = load_nii('original_name');
% manipulate a.img to make array... |
github | adhusch/PaCER-master | load_untouch_nii_hdr.m | .m | PaCER-master/external/NIfTI_20140122/load_untouch_nii_hdr.m | 8,522 | utf_8 | 2d4bc8c8ffb83b37daf1e8dd87c108e6 | % internal function
% - Jimmy Shen (jimmy@rotman-baycrest.on.ca)
function hdr = load_nii_hdr(fileprefix, machine, filetype)
if filetype == 2
fn = sprintf('%s.nii',fileprefix);
if ~exist(fn)
msg = sprintf('Cannot find file "%s.nii".', fileprefix);
error(msg);
end
else
... |
github | adhusch/PaCER-master | save_nii_ext.m | .m | PaCER-master/external/NIfTI_20140122/save_nii_ext.m | 977 | utf_8 | b60a98ab7537a883dc3ffef3175f19ae | % Save NIFTI header extension.
%
% Usage: save_nii_ext(ext, fid)
%
% ext - struct with NIFTI header extension fields.
%
% NIFTI data format can be found on: http://nifti.nimh.nih.gov
%
% - Jimmy Shen (jimmy@rotman-baycrest.on.ca)
%
function save_nii_ext(ext, fid)
if ~exist('ext','var') | ~exist('fid','var')
... |
github | adhusch/PaCER-master | view_nii_menu.m | .m | PaCER-master/external/NIfTI_20140122/view_nii_menu.m | 14,415 | utf_8 | 32dd591fa1070721f0255f47f6e02510 | % Imbed Zoom, Interp, and Info menu to view_nii window.
%
% Usage: view_nii_menu(fig);
%
% - Jimmy Shen (jimmy@rotman-baycrest.on.ca)
%
%--------------------------------------------------------------------
function menu_hdl = view_nii_menu(fig, varargin)
if isnumeric(fig)
menu_hdl = init(fig);
retur... |
github | adhusch/PaCER-master | save_untouch_header_only.m | .m | PaCER-master/external/NIfTI_20140122/save_untouch_header_only.m | 2,132 | utf_8 | 5f0515ef6a35f171bc8371d0f3fd365d | % This function is only used to save Analyze or NIfTI header that is
% ended with .hdr and loaded by load_untouch_header_only.m. If you
% have NIfTI file that is ended with .nii and you want to change its
% header only, you can use load_untouch_nii / save_untouch_nii pair.
%
% Usage: save_untouch_header_only(hd... |
github | adhusch/PaCER-master | pad_nii.m | .m | PaCER-master/external/NIfTI_20140122/pad_nii.m | 3,712 | utf_8 | 0b9de8feba6840e2d8ea1ab1752747c7 | % PAD_NII: Pad the NIfTI volume from any of the 6 sides
%
% Usage: nii = pad_nii(nii, [option])
%
% Inputs:
%
% nii - NIfTI volume.
%
% option - struct instructing how many voxel to be padded from which side.
%
% option.pad_from_L = ( number of voxel )
% option.pad_from_R = ( number of voxel )
% option.pad_from_P ... |
github | adhusch/PaCER-master | load_nii_hdr.m | .m | PaCER-master/external/NIfTI_20140122/load_nii_hdr.m | 10,031 | utf_8 | e95839e314863f7ee463cc2626dd447c | % internal function
% - Jimmy Shen (jimmy@rotman-baycrest.on.ca)
function [hdr, filetype, fileprefix, machine] = load_nii_hdr(fileprefix)
if ~exist('fileprefix','var'),
error('Usage: [hdr, filetype, fileprefix, machine] = load_nii_hdr(filename)');
end
machine = 'ieee-le';
new_ext = 0;
if fin... |
github | adhusch/PaCER-master | save_untouch_slice.m | .m | PaCER-master/external/NIfTI_20140122/save_untouch_slice.m | 19,683 | utf_8 | 364468e5dbd3790c1aadf9a768534f1f | % Save back to the original image with a portion of slices that was
% loaded by "load_untouch_nii". You can process those slices matrix
% in any way, as long as their dimension is not altered.
%
% Usage: save_untouch_slice(slice, filename, ...
% slice_idx, [img_idx], [dim5_idx], [dim6_idx], [dim7_idx])
%
% slice ... |
github | adhusch/PaCER-master | load_nii_img.m | .m | PaCER-master/external/NIfTI_20140122/load_nii_img.m | 12,328 | utf_8 | b1b9dd2838a8f217b10fefdc8a931d5e | % internal function
% - Jimmy Shen (jimmy@rotman-baycrest.on.ca)
function [img,hdr] = load_nii_img(hdr,filetype,fileprefix,machine,img_idx,dim5_idx,dim6_idx,dim7_idx,old_RGB)
if ~exist('hdr','var') | ~exist('filetype','var') | ~exist('fileprefix','var') | ~exist('machine','var')
error('Usage: [img,hdr] = ... |
github | adhusch/PaCER-master | bresenham_line3d.m | .m | PaCER-master/external/NIfTI_20140122/bresenham_line3d.m | 4,493 | utf_8 | c19f06df423676afeb59762ac55c0c2f | % Generate X Y Z coordinates of a 3D Bresenham's line between
% two given points.
%
% A very useful application of this algorithm can be found in the
% implementation of Fischer's Bresenham interpolation method in my
% another program that can rotate three dimensional image volume
% with an affine matrix:
% http... |
github | adhusch/PaCER-master | make_nii.m | .m | PaCER-master/external/NIfTI_20140122/make_nii.m | 6,849 | utf_8 | 3c7c8b81655c111a9ce4b82086bde4f5 | % Make NIfTI structure specified by an N-D matrix. Usually, N is 3 for
% 3D matrix [x y z], or 4 for 4D matrix with time series [x y z t].
% Optional parameters can also be included, such as: voxel_size,
% origin, datatype, and description.
%
% Once the NIfTI structure is made, it can be saved into NIfTI fil... |
github | adhusch/PaCER-master | verify_nii_ext.m | .m | PaCER-master/external/NIfTI_20140122/verify_nii_ext.m | 1,676 | utf_8 | db3d32ecba688905185f5ed01b409fd1 | % Verify NIFTI header extension to make sure that each extension section
% must be an integer multiple of 16 byte long that includes the first 8
% bytes of esize and ecode. If the length of extension section is not the
% above mentioned case, edata should be padded with all 0.
%
% Usage: [ext, esize_total] = verif... |
github | adhusch/PaCER-master | get_nii_frame.m | .m | PaCER-master/external/NIfTI_20140122/get_nii_frame.m | 4,333 | utf_8 | 8b0cba9d07733a6f82753b0c40b51107 | % Return time frame of a NIFTI dataset. Support both *.nii and
% *.hdr/*.img file extension. If file extension is not provided,
% *.hdr/*.img will be used as default.
%
% It is a lightweighted "load_nii_hdr", and is equivalent to
% hdr.dime.dim(5)
%
% Usage: [ total_scan ] = get_nii_frame(filename)
%
% filen... |
github | adhusch/PaCER-master | flip_lr.m | .m | PaCER-master/external/NIfTI_20140122/flip_lr.m | 3,484 | utf_8 | a0b2d0189d90339a841863efeb60681a | % When you load any ANALYZE or NIfTI file with 'load_nii.m', and view
% it with 'view_nii.m', you may find that the image is L-R flipped.
% This is because of the confusion of radiological and neurological
% convention in the medical image before NIfTI format is adopted. You
% can find more details from:
%
% http... |
github | adhusch/PaCER-master | save_nii.m | .m | PaCER-master/external/NIfTI_20140122/save_nii.m | 9,404 | utf_8 | 88aa93174482539fe993ac335fb01541 | % Save NIFTI dataset. Support both *.nii and *.hdr/*.img file extension.
% If file extension is not provided, *.hdr/*.img will be used as default.
%
% Usage: save_nii(nii, filename, [old_RGB])
%
% nii.hdr - struct with NIFTI header fields (from load_nii.m or make_nii.m)
%
% nii.img - 3D (or 4D) matrix of NIFTI... |
github | adhusch/PaCER-master | rri_file_menu.m | .m | PaCER-master/external/NIfTI_20140122/rri_file_menu.m | 3,974 | utf_8 | 1ec91620ceb4108dde9a63945380028f | % Imbed a file menu to any figure. If file menu exist, it will append
% to the existing file menu. This file menu includes: Copy to clipboard,
% print, save, close etc.
%
% Usage: rri_file_menu(fig);
%
% rri_file_menu(fig,0) means no 'Close' menu.
%
% - Jimmy Shen (jimmy@rotman-baycrest.on.ca)
%
%---------... |
github | adhusch/PaCER-master | reslice_nii.m | .m | PaCER-master/external/NIfTI_20140122/reslice_nii.m | 9,817 | utf_8 | 05783cd4f127a22486db67a9cc89ad2a | % The basic application of the 'reslice_nii.m' program is to perform
% any 3D affine transform defined by a NIfTI format image.
%
% In addition, the 'reslice_nii.m' program can also be applied to
% generate an isotropic image from either a NIfTI format image or
% an ANALYZE format image.
%
% The resliced NIfTI fi... |
github | adhusch/PaCER-master | save_untouch_nii.m | .m | PaCER-master/external/NIfTI_20140122/save_untouch_nii.m | 6,494 | utf_8 | 50fa95cbb847654356241a853328f912 | % Save NIFTI or ANALYZE dataset that is loaded by "load_untouch_nii.m".
% The output image format and file extension will be the same as the
% input one (NIFTI.nii, NIFTI.img or ANALYZE.img). Therefore, any file
% extension that you specified will be ignored.
%
% Usage: save_untouch_nii(nii, filename)
%
% nii -... |
github | adhusch/PaCER-master | view_nii.m | .m | PaCER-master/external/NIfTI_20140122/view_nii.m | 139,608 | utf_8 | 74f9dea7539a45a7993beb22becf2fa2 | % VIEW_NII: Create or update a 3-View (Front, Top, Side) of the
% brain data that is specified by nii structure
%
% Usage: status = view_nii([h], nii, [option]) or
% status = view_nii(h, [option])
%
% Where, h is the figure on which the 3-View will be plotted;
% nii is the brain data in NIFTI format;
% option is... |
github | adhusch/PaCER-master | mat_into_hdr.m | .m | PaCER-master/external/NIfTI_20140122/mat_into_hdr.m | 2,608 | utf_8 | d53006b93ff90a4a5561d16ff2f4e9a6 | %MAT_INTO_HDR The old versions of SPM (any version before SPM5) store
% an affine matrix of the SPM Reoriented image into a matlab file
% (.mat extension). The file name of this SPM matlab file is the
% same as the SPM Reoriented image file (.img/.hdr extension).
%
% This program will convert the ANALYZE 7.5 SPM Reor... |
github | adhusch/PaCER-master | xform_nii.m | .m | PaCER-master/external/NIfTI_20140122/xform_nii.m | 18,107 | utf_8 | 29a1cff91c944d6a93e5101946a5da4d | % internal function
% 'xform_nii.m' is an internal function called by "load_nii.m", so
% you do not need run this program by yourself. It does simplified
% NIfTI sform/qform affine transform, and supports some of the
% affine transforms, including translation, reflection, and
% orthogonal rotation (N*90 degree... |
github | adhusch/PaCER-master | make_ana.m | .m | PaCER-master/external/NIfTI_20140122/make_ana.m | 5,455 | utf_8 | 2f62999cbcad72129c892135ff492a1e | % Make ANALYZE 7.5 data structure specified by a 3D or 4D matrix.
% Optional parameters can also be included, such as: voxel_size,
% origin, datatype, and description.
%
% Once the ANALYZE structure is made, it can be saved into ANALYZE 7.5
% format data file using "save_untouch_nii" command (for more detail,... |
github | adhusch/PaCER-master | extra_nii_hdr.m | .m | PaCER-master/external/NIfTI_20140122/extra_nii_hdr.m | 7,830 | utf_8 | 853f39f00cbf133e90d0f2cf08d79488 | % Decode extra NIFTI header information into hdr.extra
%
% Usage: hdr = extra_nii_hdr(hdr)
%
% hdr can be obtained from load_nii_hdr
%
% NIFTI data format can be found on: http://nifti.nimh.nih.gov
%
% - Jimmy Shen (jimmy@rotman-baycrest.on.ca)
%
function hdr = extra_nii_hdr(hdr)
switch hdr.dime.datatype
ca... |
github | adhusch/PaCER-master | rri_xhair.m | .m | PaCER-master/external/NIfTI_20140122/rri_xhair.m | 2,208 | utf_8 | b3ae9df90d43e5d9538b6b135fa8af20 | % rri_xhair: create a pair of full_cross_hair at point [x y] in
% axes h_ax, and return xhair struct
%
% Usage: xhair = rri_xhair([x y], xhair, h_ax);
%
% If omit xhair, rri_xhair will create a pair of xhair; otherwise,
% rri_xhair will update the xhair. If omit h_ax, current axes will
% be used.... |
github | adhusch/PaCER-master | save_untouch_nii_hdr.m | .m | PaCER-master/external/NIfTI_20140122/save_untouch_nii_hdr.m | 8,514 | utf_8 | 582f82c471a9a8826eda59354f61dd1a | % internal function
% - Jimmy Shen (jimmy@rotman-baycrest.on.ca)
function save_nii_hdr(hdr, fid)
if ~isequal(hdr.hk.sizeof_hdr,348),
error('hdr.hk.sizeof_hdr must be 348.');
end
write_header(hdr, fid);
return; % save_nii_hdr
%---------------------------------------------------------------... |
github | adhusch/PaCER-master | expand_nii_scan.m | .m | PaCER-master/external/NIfTI_20140122/expand_nii_scan.m | 1,333 | utf_8 | 748da05d09c1a005401c67270c4b94ab | % Expand a multiple-scan NIFTI file into multiple single-scan NIFTI files
%
% Usage: expand_nii_scan(multi_scan_filename, [img_idx], [path_to_save])
%
% NIFTI data format can be found on: http://nifti.nimh.nih.gov
%
% - Jimmy Shen (jimmy@rotman-baycrest.on.ca)
%
function expand_nii_scan(filename, img_idx, newpath)
... |
github | adhusch/PaCER-master | load_untouch_header_only.m | .m | PaCER-master/external/NIfTI_20140122/load_untouch_header_only.m | 7,068 | utf_8 | 8996c72db42b01029c92a4ecd88f4b21 | % Load NIfTI / Analyze header without applying any appropriate affine
% geometric transform or voxel intensity scaling. It is equivalent to
% hdr field when using load_untouch_nii to load dataset. Support both
% *.nii and *.hdr file extension. If file extension is not provided,
% *.hdr will be used as default.
% ... |
github | adhusch/PaCER-master | bipolar.m | .m | PaCER-master/external/NIfTI_20140122/bipolar.m | 2,145 | utf_8 | 295f87ece96ca4c5dff8dce4cd912a34 | %BIPOLAR returns an M-by-3 matrix containing a blue-red colormap, in
% in which red stands for positive, blue stands for negative,
% and white stands for 0.
%
% Usage: cmap = bipolar(M, lo, hi, contrast); or cmap = bipolar;
%
% cmap: output M-by-3 matrix for BIPOLAR colormap.
% M: number of shades in the color... |
github | adhusch/PaCER-master | save_nii_hdr.m | .m | PaCER-master/external/NIfTI_20140122/save_nii_hdr.m | 9,270 | utf_8 | f97c194f5bfc667eb4f96edf12be02a7 | % internal function
% - Jimmy Shen (jimmy@rotman-baycrest.on.ca)
function save_nii_hdr(hdr, fid)
if ~exist('hdr','var') | ~exist('fid','var')
error('Usage: save_nii_hdr(hdr, fid)');
end
if ~isequal(hdr.hk.sizeof_hdr,348),
error('hdr.hk.sizeof_hdr must be 348.');
end
if hdr.h... |
github | adhusch/PaCER-master | cylinder2P.m | .m | PaCER-master/external/cylinder2P/cylinder2P.m | 2,223 | utf_8 | ac7fd8dba2e4a89a99014e478c5886dc | % CYLINDER: A function to draw a N-sided cylinder based on the
% generator curve in the vector R.
%
% Usage: [X, Y, Z] = cylinder(R, N)
%
% Arguments: R - The vector of radii used to define the radius of
% the different segments of the cylinder.
% N - The number of po... |
github | adhusch/PaCER-master | tracking.m | .m | PaCER-master/external/GUI Layout Toolbox 2.3.1/layout/+uix/tracking.m | 5,988 | utf_8 | fccbfb28138da702922a5a605bcb423c | function varargout = tracking( varargin )
%tracking Track anonymized usage data
%
% tracking(p,v,id) tracks usage to the property p for the product version
% v and identifier id. No personally identifiable information is tracked.
%
% r = tracking(...) returns the server response r, for debugging purposes.
%... |
github | adhusch/PaCER-master | Text.m | .m | PaCER-master/external/GUI Layout Toolbox 2.3.1/layout/+uix/Text.m | 15,451 | utf_8 | 8acacfb7d4da6e4b084f28ff1ebc6855 | classdef Text < matlab.mixin.SetGet
%uix.Text Text control
%
% t = uix.Text(p1,v1,p2,v2,...) constructs a text control and sets
% parameter p1 to value v1, etc.
%
% A text control adds functionality to a uicontrol of Style text:
% * Set VerticalAlignment to 'top', 'middle' or 'bo... |
github | adhusch/PaCER-master | loadIcon.m | .m | PaCER-master/external/GUI Layout Toolbox 2.3.1/layout/+uix/loadIcon.m | 3,228 | utf_8 | 15fc42b7b92439d8ef2b48cac7828dbd | function cdata = loadIcon( filename, bgcol )
%loadIcon Load an icon and set the transparent color
%
% cdata = uix.loadIcon(filename) loads the icon from the specified
% filename. For PNG files with transparency, the transparent pixels are
% set to NaN. For other files, pixels that are pure green are set t... |
github | adhusch/PaCER-master | ChildObserver.m | .m | PaCER-master/external/GUI Layout Toolbox 2.3.1/layout/+uix/ChildObserver.m | 9,050 | utf_8 | ca853750869b05d4214ddf3474a93712 | classdef ( Hidden, Sealed ) ChildObserver < handle
%uix.ChildObserver Child observer
%
% co = uix.ChildObserver(o) creates a child observer for the graphics
% object o. A child observer raises events when objects are added to
% and removed from the property Children of o.
%
% Se... |
github | adhusch/PaCER-master | Empty.m | .m | PaCER-master/external/GUI Layout Toolbox 2.3.1/layout/+uix/Empty.m | 2,730 | utf_8 | 8370636fc1b842d73a35d3f44fb23483 | function obj = Empty( varargin )
%uix.Empty Create an empty space
%
% obj = uix.Empty() creates an empty space that can be used to add gaps
% between elements in layouts.
%
% obj = uix.Empty(param,value,...) also sets one or more property
% values.
%
% See the <a href="matlab:doc uix.Empty">document... |
github | adhusch/PaCER-master | guideApp.m | .m | PaCER-master/external/GUI Layout Toolbox 2.3.1/layoutdoc/Examples/guideApp.m | 4,073 | utf_8 | f1e03beaed00662522eda571d8c8f409 | function varargout = guideApp(varargin)
% GUIDEAPP MATLAB code for guideApp.fig
% GUIDEAPP, by itself, creates a new GUIDEAPP or raises the existing
% singleton*.
%
% H = GUIDEAPP returns the handle to a new GUIDEAPP or the handle to
% the existing singleton*.
%
% GUIDEAPP('CALLBACK',hObject,ev... |
github | adhusch/PaCER-master | inpolyhedron.m | .m | PaCER-master/external/inpolyhedron/inpolyhedron.m | 22,966 | utf_8 | 8c8cced0d59898757b46be18e1459504 | function IN = inpolyhedron(varargin)
%INPOLYHEDRON Tests if points are inside a 3D triangulated (faces/vertices) surface
%
% IN = INPOLYHEDRON(FV,QPTS) tests if the query points (QPTS) are inside
% the patch/surface/polyhedron defined by FV (a structure with fields
% 'vertices' and 'faces'). QPTS is an N-by... |
github | adhusch/PaCER-master | PaCER.m | .m | PaCER-master/src/PaCER.m | 3,530 | utf_8 | c451064c9339950b31e5cd87229324dc | %% PaCER - Precise and Convenient Electrode Reconstruction for Deep Brain Stimulation
%
% Andreas Husch
% Centre Hospitalier de Luxembourg (CHL), Dept. of Neurosurgery /
% University of Luxembourg - Luxembourg Centre for Systems Biomedicine (LCSB)
% (c) 2016 - 2017
% mail@andreashusch.de, husch.andreas@chl.lu
function... |
github | adhusch/PaCER-master | electrodePointCloudModelEstimate.m | .m | PaCER-master/src/Functions/electrodePointCloudModelEstimate.m | 3,487 | utf_8 | b769436b1ae7533365eace1e82be1f19 | %% electrodePointCloudModelEstimate - extract skeleton points from given pointcloud and subsequently fit a polynomial
%
% PARAMETERS
% varargin{1} = pixelValues list got from reference image of the segmentation. When given used for intensity based
% weightig of cenroid calculation.
% varargin{2} = rever... |
github | adhusch/PaCER-master | TestElectrodes.m | .m | PaCER-master/src/Classes/TestElectrodes.m | 27,501 | utf_8 | f74d6c10a2c77ffc6f772de40bb4bb6b | %% TestElectrodes - Class representing a Ben's Gun configuration of Test Electrodes (up to rotation!)
% note that the precise rotation depends on the kinematics of the
% sterotactic frame/the micro drive device
%
% Andreas Husch
% Centre Hospitalier de Luxembourg, Dep. of Neurosurgery /
% University of Luxembourg - Lux... |
github | adhusch/PaCER-master | runTestSuite.m | .m | PaCER-master/test/base/runTestSuite.m | 5,712 | utf_8 | 4381df966d287763eddc417175f5b48c | function [results, resultTable] = runTestSuite(testNames)
% This function runs all tests (i.e. files starting with 'test' in the
% CBTDIR/test/ folder and returns the status.
% It can distinguish between skipped and Failed tests. A test is considered
% to be skipped if it throws a COBRA:RequirementsNotMet error.
%
% IN... |
github | adhusch/PaCER-master | runScriptFile.m | .m | PaCER-master/test/base/runScriptFile.m | 2,635 | utf_8 | 153f68ed0516be2fe70535bcb1c9fe22 | function result = runScriptFile(fileName)
% This function runs the test in fileName
% It can distinguish between skipped and Failed tests. A test is considered
% to be skipped if it throws a COBRA:RequirementsNotMet error.
%
% OUTPUTS:
%
% result: A structure array with the following fields:
%
% - ... |
github | timy/texmacs-master | struct2tree.m | .m | texmacs-master/plugins/octave/octave/convert/struct2tree.m | 1,242 | utf_8 | 9f26e9205c9c9067a4bfb8553933311a |
###############################################################################
##
## MODULE : struct2tree.m
## DESCRIPTION : Convert an Octave structure to a Scheme tree
## COPYRIGHT : (C) 2002 Michael Graffam mikegraffam@yahoo.com
##
## This software falls under the GNU general public license version 3 or la... |
github | timy/texmacs-master | list2scm.m | .m | texmacs-master/plugins/octave/octave/convert/list2scm.m | 482 | utf_8 | baf6d9f7b9af571a525917a5b65e83ca | ## Released under the GNU General Public License, see www.gnu.org
## Copyright (C) 2002 by the Free Software Foundation
## Written by Michael Graffam mikegraffam@yahoo.com
##
## Convert an Octave list to a Scheme expression
## Created: Sept 2002
function ret= list2scm (L,c)
if (nargin<2)
c=1;
endif
ret= "(e... |
github | timy/texmacs-master | num2scm.m | .m | texmacs-master/plugins/octave/octave/convert/num2scm.m | 1,513 | utf_8 | d77aec1970ad05ef2e853a573ee7227e |
###############################################################################
##
## MODULE : with_mode_math.m
## DESCRIPTION : with mode math
## COPYRIGHT : (C) 2002 Michael Graffam mikegraffam@yahoo.com
## 2020 Darcy Shen
##
## This software falls under the GNU general public license vers... |
github | timy/texmacs-master | struct2scm.m | .m | texmacs-master/plugins/octave/octave/convert/struct2scm.m | 740 | utf_8 | bfdc4117310dc51f3e569ac9d8208d2f |
###############################################################################
##
## MODULE : struct2scm.m
## DESCRIPTION : Convert an Octave structure to Scheme
## COPYRIGHT : (C) 2002 Michael Graffam mikegraffam@yahoo.com
##
## This software falls under the GNU general public license version 3 or later.
## ... |
github | timy/texmacs-master | mat2scm.m | .m | texmacs-master/plugins/octave/octave/convert/mat2scm.m | 794 | utf_8 | eec54a59f5ad49b67922cc197ec17461 |
###############################################################################
##
## MODULE : mat2scm.m
## DESCRIPTION : Convert a matrix to a Scheme expression
## COPYRIGHT : (C) 2002 Michael Graffam mikegraffam@yahoo.com
## 2020 Darcy Shen
##
## This software falls under the GNU general p... |
github | timy/texmacs-master | cell2scm.m | .m | texmacs-master/plugins/octave/octave/convert/cell2scm.m | 647 | utf_8 | 7583547dffe3aba68bac4cb9a4cd7372 |
###############################################################################
##
## MODULE : cell2scm.m
## DESCRIPTION : Convert an Octave cell to scheme code
## COPYRIGHT : (C) 2020 Darcy Shen
##
## This software falls under the GNU general public license version 3 or later.
## It comes WITHOUT ANY WARRANTY... |
github | timy/texmacs-master | obj2scm.m | .m | texmacs-master/plugins/octave/octave/convert/obj2scm.m | 1,225 | utf_8 | 4a7f8bb4794fa65a39d1f4e9cf87f4ec |
###############################################################################
##
## MODULE : obj2scm.m
## DESCRIPTION : Convert an Octave object to a Scheme expression
## COPYRIGHT : (C) 2002 Michael Graffam mikegraffam@yahoo.com
## 2004 Joris van der Hoeven
##
## This software falls under... |
github | timy/texmacs-master | struct2bullet.m | .m | texmacs-master/plugins/octave/octave/convert/struct2bullet.m | 1,118 | utf_8 | 2857daa18a2fbcd0e77cfc9ea5343323 | ## Released under the GNU General Public License, see www.gnu.org
## Copyright (C) 2002 by the Free Software Foundation
## Written by Michael Graffam mikegraffam@yahoo.com
##
## Convert an Octave structure to a Scheme bulleted list
## Created: Sept 2002
function tmp= struct2bullet (n,c)
global TMCOLORS;
global ... |
github | timy/texmacs-master | str2scm.m | .m | texmacs-master/plugins/octave/octave/convert/str2scm.m | 758 | utf_8 | d80e929f7aa82b79b73977108110b0e0 |
###############################################################################
##
## MODULE : obj2scm.m
## DESCRIPTION : Convert an Octave string to a Scheme string
## COPYRIGHT : (C) 2002 Michael Graffam mikegraffam@yahoo.com
## 2021 Darcy Shen sadhen@zoho.com
##
## This software fall... |
github | timy/texmacs-master | flush_prompt.m | .m | texmacs-master/plugins/octave/octave/protocol/flush_prompt.m | 503 | utf_8 | 55ae70ad994f54a989f1a1c22455d00e |
###############################################################################
##
## MODULE : flush_prompt.m
## DESCRIPTION : change the prompt
## COPYRIGHT : (C) 2020 Darcy Shen
##
## This software falls under the GNU general public license version 3 or later.
## It comes WITHOUT ANY WARRANTY WHATSOEVER. Fo... |
github | timy/texmacs-master | flush_scheme.m | .m | texmacs-master/plugins/octave/octave/protocol/flush_scheme.m | 515 | utf_8 | 5943dbd50416e4434044bc7886fbe853 |
###############################################################################
##
## MODULE : flush_scheme.m
## DESCRIPTION : flush scheme content to stdout
## COPYRIGHT : (C) 2020 Darcy Shen
##
## This software falls under the GNU general public license version 3 or later.
## It comes WITHOUT ANY WARRANTY WH... |
github | timy/texmacs-master | flush_verbatim.m | .m | texmacs-master/plugins/octave/octave/protocol/flush_verbatim.m | 526 | utf_8 | 5367c26aea9aed1e687ae1252beda0a8 |
###############################################################################
##
## MODULE : flush_verbatim.m
## DESCRIPTION : flush verbatim content to stdout
## COPYRIGHT : (C) 2020 Darcy Shen
##
## This software falls under the GNU general public license version 3 or later.
## It comes WITHOUT ANY WARRANT... |
github | timy/texmacs-master | flush_file.m | .m | texmacs-master/plugins/octave/octave/protocol/flush_file.m | 496 | utf_8 | ef97a2e40cab4118a779f72ea0d89122 |
###############################################################################
##
## MODULE : flush_file.m
## DESCRIPTION : flush file to TeXmacs
## COPYRIGHT : (C) 2020 Darcy Shen
##
## This software falls under the GNU general public license version 3 or later.
## It comes WITHOUT ANY WARRANTY WHATSOEVER. F... |
github | timy/texmacs-master | with_color.m | .m | texmacs-master/plugins/octave/octave/protocol/with_color.m | 527 | utf_8 | 27e4ab8c5e08e9436e428422e3ec6dc2 |
###############################################################################
##
## MODULE : with_color.m
## DESCRIPTION : with color
## COPYRIGHT : (C) 2020 Darcy Shen
##
## This software falls under the GNU general public license version 3 or later.
## It comes WITHOUT ANY WARRANTY WHATSOEVER. For details,... |
github | timy/texmacs-master | flush_any.m | .m | texmacs-master/plugins/octave/octave/protocol/flush_any.m | 590 | utf_8 | c0b082f9a81bca5f55192f54b096d9f4 |
###############################################################################
##
## MODULE : flush_any.m
## DESCRIPTION : flush any content to stdout
## COPYRIGHT : (C) 2020 Darcy Shen
##
## This software falls under the GNU general public license version 3 or later.
## It comes WITHOUT ANY WARRANTY WHATSOEV... |
github | timy/texmacs-master | with_mode_math.m | .m | texmacs-master/plugins/octave/octave/protocol/with_mode_math.m | 662 | utf_8 | 5a4afc1c0e0510d43dd6f4cfac9c7fef |
###############################################################################
##
## MODULE : with_mode_math.m
## DESCRIPTION : with mode math
## COPYRIGHT : (C) 2020 Darcy Shen
##
## This software falls under the GNU general public license version 3 or later.
## It comes WITHOUT ANY WARRANTY WHATSOEVER. For ... |
github | timy/texmacs-master | tmplot.m | .m | texmacs-master/plugins/octave/octave/tm/tmplot.m | 2,044 | utf_8 | 59b6600858a421ac723e61e580be5e93 |
###############################################################################
##
## MODULE : tmplot.m
## DESCRIPTION : TeXmacs plotting interface
## v 0.5 Aug 2018
## v 0.6 Nov 2019 - added Windows compatibility, added plot
## windows visibility, switch... |
github | timy/texmacs-master | complete.m | .m | texmacs-master/plugins/octave/octave/tm/complete.m | 723 | utf_8 | 717c8f0732da48821fa9dbcf165a6660 |
###############################################################################
##
## MODULE : complete.m
## DESCRIPTION : Tab Completion
## COPYRIGHT : (C) 2021 Darcy Shen
##
## This software falls under the GNU general public license version 3 or later.
## It comes WITHOUT ANY WARRANTY WHATSOEVER. For det... |
github | timy/texmacs-master | tmmod.m | .m | texmacs-master/plugins/octave/octave/tm/tmmod.m | 3,264 | utf_8 | d297d88f96d7f5d2387e3cd45e228a25 |
###############################################################################
##
## MODULE : tmmod.m
## DESCRIPTION : This function set the environment variable that determines the
## octave plugin behavior (presently, only the interactive use of
## octave plots in TeXmacs)
## COPYRI... |
github | timy/texmacs-master | plot_cmds.m | .m | texmacs-master/plugins/octave/octave/tm/plot_cmds.m | 1,125 | utf_8 | 1502426e3fcad2b3b79f3928e1f043f9 |
###############################################################################
##
## MODULE : plot_cmds.m
## DESCRIPTION : Return a list of plot cmds
## COPYRIGHT : (C) 2021 Darcy Shen
##
## This software falls under the GNU general public license version 3 or later.
## It comes WITHOUT ANY WARRANTY WHATSOEVE... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.