Skip to content

AFNI/NIfTI Server

Sections
Personal tools
You are here: Home » AFNI » Documentation

Doxygen Source Code Documentation


CheckPrefix.m File Reference

Go to the source code of this file.


Functions

check for conflict if (~isempty(Ext)&isempty(ViewName))
 ErrEval (FuncName,'Err_Expected a correct view(+orig,+acpc or+tlrc) but found none.')

Variables

 function [ans, Prefix]
Debug Flag DBG = 1
initailize return variables ans = 0
make sure you have no HEAD
or BRIK as an 
extension [Prefix, Ext] = RemoveExtension(Prefix, '.HEAD|.BRIK'))
make sure you have no view [Prefix, ViewName] = RemoveExtension(Prefix, '+orig|+acpc|+tlrc')
 return

Function Documentation

ErrEval FuncName  ,
'Err_Expected a correct view(+orig,+acpc or+tlrc) but found none.' 
 

check for conflict if isempty(Ext)&isempty(ViewName)  ) 
 


Variable Documentation

for ans = 0
 

Definition at line 20 of file eq_str.m.

Referenced by decode_type_field(), find_string(), gratio(), SUMA_AdvancePastNumbers(), SUMA_AfniExists(), SUMA_AfniExistsView(), SUMA_BestStandardView(), SUMA_BinarySuck(), SUMA_Extension(), SUMA_FreeSurfer_Read_eng(), SUMA_iswordin_ci(), SUMA_OpenDx_Object_Header_Field(), SUMA_OpenDX_Read_SO(), tnonc_s2p(), wrt_I(), and wrt_IM().

Debug Flag DBG = 1
 

Definition at line 42 of file CheckPrefix.m.

make sure you have no HEAD or BRIK as an extension[Prefix, Ext] = RemoveExtension(Prefix, '.HEAD|.BRIK'))
 

Definition at line 48 of file CheckPrefix.m.

Referenced by __glutIsSupportedByGLX(), and glutExtensionSupported().

function[ans, Prefix]
 

Initial value:

 PrefixStatus (Prefix)
%
%   [Status, Prefix] = PrefixStatus (Name)
%
%Purpose:
%   Determines if the name chosen is a valid for an AFNI Brick
%   If you pass a name containing prefix only and no view then
%   View is assumed to be +orig 
%   
%   
%Input Parameters:
%   Name: a string containing an AFNI Prefix

Definition at line 1 of file CheckPrefix.m.

return
 

Definition at line 57 of file CheckPrefix.m.

make sure you have no view[Prefix, ViewName] = RemoveExtension(Prefix, '+orig|+acpc|+tlrc')
 

Definition at line 51 of file CheckPrefix.m.

Referenced by AFNI_define_CB(), AFNI_initialize_view(), AFNI_see_marks_CB(), ComputeLightViewTransform(), do_xrestore_stuff(), FactorPerspectiveView(), SUMA_AfniExistsView(), SUMA_AfniPrefix(), SUMA_BrainVoyager_Read_vmr(), and THD_rename_dataset_files().

 

Powered by Plone

This site conforms to the following standards: