Home > fmri > utils > GE2SPM > GE_dumpSeriesHeader.m

GE_dumpSeriesHeader

PURPOSE ^

SYNOPSIS ^

function outstr = GE_dumpSeriesHeader(series)

DESCRIPTION ^

 outstr = GE_dumpSeriesHeader(series)

 Writes the series header to strimg the outstr

 Souheil Inati
 Dartmouth College
 May 2000
 souheil.inati@dartmouth.edu

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 function outstr = GE_dumpSeriesHeader(series)
0002 %
0003 % outstr = GE_dumpSeriesHeader(series)
0004 %
0005 % Writes the series header to strimg the outstr
0006 %
0007 % Souheil Inati
0008 % Dartmouth College
0009 % May 2000
0010 % souheil.inati@dartmouth.edu
0011 %
0012 
0013 outstr = sprintf('se_suid: %s\n'        , char(series.se_suid));
0014 outstr = strcat(outstr, sprintf('se_uniq: %d\n'        , series.se_uniq));
0015 outstr = strcat(outstr, sprintf('se_diskid: %s\n'      , char(series.se_diskid)));
0016 outstr = strcat(outstr, sprintf('se_exno: %d\n'        , series.se_exno));
0017 outstr = strcat(outstr, sprintf('se_no: %d\n'          , series.se_no));
0018 outstr = strcat(outstr, sprintf('se_datetime: %d\n'    , series.se_datetime));
0019 outstr = strcat(outstr, sprintf('se_actual_dt: %d\n'   , series.se_actual_dt));
0020 outstr = strcat(outstr, sprintf('se_desc: %s\n'        , cstring(series.se_desc)));
0021 outstr = strcat(outstr, sprintf('pr_sysid: %s\n'       , cstring(series.pr_sysid)));
0022 outstr = strcat(outstr, sprintf('pansysid: %s\n'       , cstring(series.pansysid)));
0023 outstr = strcat(outstr, sprintf('se_typ: %d\n'         , series.se_typ));
0024 outstr = strcat(outstr, sprintf('se_source: %d\n'      , series.se_source));
0025 outstr = strcat(outstr, sprintf('se_plane: %d\n'       , series.se_plane));
0026 outstr = strcat(outstr, sprintf('scan_type: %d\n'      , series.scan_type));
0027 outstr = strcat(outstr, sprintf('position: %d\n'       , series.position));
0028 outstr = strcat(outstr, sprintf('entry: %d\n'          , series.entry));
0029 outstr = strcat(outstr, sprintf('anref: %s\n'          , char(series.anref)));
0030 outstr = strcat(outstr, sprintf('lmhor: %f\n'          , series.lmhor));
0031 outstr = strcat(outstr, sprintf('prtcl: %s\n'          , cstring(series.prtcl)));
0032 outstr = strcat(outstr, sprintf('se_contrast: %d\n'    , series.se_contrast));
0033 outstr = strcat(outstr, sprintf('start_ras: %s\n'      , char(series.start_ras)));
0034 outstr = strcat(outstr, sprintf('start_loc: %f\n'      , series.start_loc));
0035 outstr = strcat(outstr, sprintf('end_ras: %s\n'        , char(series.end_ras)));
0036 outstr = strcat(outstr, sprintf('end_loc: %f\n'        , series.end_loc));
0037 outstr = strcat(outstr, sprintf('se_pseq: %d\n'        , series.se_pseq));
0038 outstr = strcat(outstr, sprintf('se_sortorder: %d\n'   , series.se_sortorder));
0039 outstr = strcat(outstr, sprintf('se_lndmrkcnt: %d\n'   , series.se_lndmrkcnt));
0040 outstr = strcat(outstr, sprintf('se_nacq: %d\n'        , series.se_nacq));
0041 outstr = strcat(outstr, sprintf('xbasest: %d\n'        , series.xbasest));
0042 outstr = strcat(outstr, sprintf('xbaseend: %d\n'       , series.xbaseend));
0043 outstr = strcat(outstr, sprintf('xenhst: %d\n'         , series.xenhst));
0044 outstr = strcat(outstr, sprintf('xenhend: %d\n'        , series.xenhend));
0045 outstr = strcat(outstr, sprintf('se_lastmod: %d\n'     , series.se_lastmod));
0046 outstr = strcat(outstr, sprintf('se_alloc_key: %s\n'   , cstring(series.se_alloc_key)));
0047 outstr = strcat(outstr, sprintf('se_delta_cnt: %d\n'   , series.se_delta_cnt));
0048 outstr = strcat(outstr, sprintf('se_verscre: %s\n'     , char(series.se_verscre)));
0049 outstr = strcat(outstr, sprintf('se_verscur: %s\n'     , char(series.se_verscur)));
0050 outstr = strcat(outstr, sprintf('se_pds_a: %f\n'       , series.se_pds_a));
0051 outstr = strcat(outstr, sprintf('se_pds_c: %f\n'       , series.se_pds_c));
0052 outstr = strcat(outstr, sprintf('se_pds_u: %f\n'       , series.se_pds_u));
0053 outstr = strcat(outstr, sprintf('se_checksum: %d\n'    , series.se_checksum));
0054 outstr = strcat(outstr, sprintf('se_complete: %d\n'    , series.se_complete));
0055 outstr = strcat(outstr, sprintf('se_numarch: %d\n'     , series.se_numarch));
0056 outstr = strcat(outstr, sprintf('se_imagect: %d\n'     , series.se_imagect));
0057 outstr = strcat(outstr, sprintf('se_numimages: %d\n'   , series.se_numimages));
0058 outstr = strcat(outstr, sprintf('se_images.length: %d\n'      , series.se_images.length));
0059 outstr = strcat(outstr, sprintf('se_images.data: %d\n'      , series.se_images.data));
0060 outstr = strcat(outstr, sprintf('se_numunimg: %d\n'    , series.se_numunimg));
0061 outstr = strcat(outstr, sprintf('se_unimages.length: %d\n'    , series.se_unimages.length));
0062 outstr = strcat(outstr, sprintf('se_unimages.data: %d\n'    , series.se_unimages.data));
0063 outstr = strcat(outstr, sprintf('se_toarchcnt: %d\n'   , series.se_toarchcnt));
0064 outstr = strcat(outstr, sprintf('se_toarchive.length: %d\n'   , series.se_toarchive.length));
0065 outstr = strcat(outstr, sprintf('se_toarchive.data: %d\n'   , series.se_toarchive.data));
0066 outstr = strcat(outstr, sprintf('echo1_alpha: %f\n'    , series.echo1_alpha));
0067 outstr = strcat(outstr, sprintf('echo1_beta: %f\n'     , series.echo1_beta));
0068 outstr = strcat(outstr, sprintf('echo1_window: %d\n'   , series.echo1_window));
0069 outstr = strcat(outstr, sprintf('echo1_level: %d\n'    , series.echo1_level));
0070 outstr = strcat(outstr, sprintf('echo2_alpha: %f\n'    , series.echo2_alpha));
0071 outstr = strcat(outstr, sprintf('echo2_beta: %f\n'     , series.echo2_beta));
0072 outstr = strcat(outstr, sprintf('echo2_window: %d\n'   , series.echo2_window));
0073 outstr = strcat(outstr, sprintf('echo2_level: %d\n'    , series.echo2_level));
0074 outstr = strcat(outstr, sprintf('echo3_alpha: %f\n'    , series.echo3_alpha));
0075 outstr = strcat(outstr, sprintf('echo3_beta: %f\n'     , series.echo3_beta));
0076 outstr = strcat(outstr, sprintf('echo3_window: %d\n'   , series.echo3_window));
0077 outstr = strcat(outstr, sprintf('echo3_level: %d\n'    , series.echo3_level));
0078 outstr = strcat(outstr, sprintf('echo4_alpha: %f\n'    , series.echo4_alpha));
0079 outstr = strcat(outstr, sprintf('echo4_beta: %f\n'     , series.echo4_beta));
0080 outstr = strcat(outstr, sprintf('echo4_window: %d\n'   , series.echo4_window));
0081 outstr = strcat(outstr, sprintf('echo4_level: %d\n'    , series.echo4_level));
0082 outstr = strcat(outstr, sprintf('echo5_alpha: %f\n'    , series.echo5_alpha));
0083 outstr = strcat(outstr, sprintf('echo5_beta: %f\n'     , series.echo5_beta));
0084 outstr = strcat(outstr, sprintf('echo5_window: %d\n'   , series.echo5_window));
0085 outstr = strcat(outstr, sprintf('echo5_level: %d\n'    , series.echo5_level));
0086 outstr = strcat(outstr, sprintf('echo6_alpha: %f\n'    , series.echo6_alpha));
0087 outstr = strcat(outstr, sprintf('echo6_beta: %f\n'     , series.echo6_beta));
0088 outstr = strcat(outstr, sprintf('echo6_window: %d\n'   , series.echo6_window));
0089 outstr = strcat(outstr, sprintf('echo6_level: %d\n'    , series.echo6_level));
0090 outstr = strcat(outstr, sprintf('echo7_alpha: %f\n'    , series.echo7_alpha));
0091 outstr = strcat(outstr, sprintf('echo7_beta: %f\n'     , series.echo7_beta));
0092 outstr = strcat(outstr, sprintf('echo7_window: %d\n'   , series.echo7_window));
0093 outstr = strcat(outstr, sprintf('echo7_level: %d\n'    , series.echo7_level));
0094 outstr = strcat(outstr, sprintf('echo8_alpha: %f\n'    , series.echo8_alpha));
0095 outstr = strcat(outstr, sprintf('echo8_beta: %f\n'     , series.echo8_beta));
0096 outstr = strcat(outstr, sprintf('echo8_window: %d\n'   , series.echo8_window));
0097 outstr = strcat(outstr, sprintf('echo8_level: %d\n'    , series.echo8_level));
0098 outstr = strcat(outstr, sprintf('series_uid: %s\n'     , sprintf('%s',series.series_uid)));
0099 outstr = strcat(outstr, sprintf('landmark_uid: %s\n'   , sprintf('%s',series.landmark_uid)));
0100 outstr = strcat(outstr, sprintf('equipmnt_uid: %s\n'   , sprintf('%s',series.equipmnt_uid)));
0101 outstr = strcat(outstr, sprintf('se_padding: %s\n'     , cstring(series.se_padding)));
0102 
0103 return

Generated on Wed 20-Sep-2023 04:00:50 by m2html © 2003