Changeset 132 for aedes_data_read.m


Ignore:
Timestamp:
Jun 22, 2010, 8:44:34 AM (9 years ago)
Author:
tjniskan
Message:
  • Added read support for SWIFT reconstruction files (*.sgl)
  • Changed the layout of results viewer GUI. Also added more options

and all options should now be "remembered"

M aedes_getfilefilter.m
A aedes_readswiftsgl.m
M aedes_data_read.m
M aedes_resviewer.m
M aedes.m
M aedes_revision.m
M aedes_saveres.m
M aedes_getdataformat.m

File:
1 edited

Legend:

Unmodified
Added
Removed
  • aedes_data_read.m

    r123 r132  
    474474    DATA=aedes_readfdf(filename);
    475475    if isempty(DATA)
    476           DATA=[];
    477           error('An error occurred while reading FDF file "%s"!',...
    478                 filename)
    479         end
    480        
     476      DATA=[];
     477      error('An error occurred while reading FDF file "%s"!',...
     478        filename)
     479    end
     480 
     481  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
     482  % Read SWIFT SGL-Files
     483  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
     484  case 'swift_sgl'
     485   
     486    % Read data
     487    [DATA,msg]=aedes_readswiftsgl(filename,...
     488      'datainterpsizeprompt',true,...
     489      'wbar',true);
     490    if isempty(DATA)
     491      error(msg)
     492    end
     493   
    481494        %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
    482495        % Read Aedes ROI-Files
Note: See TracChangeset for help on using the changeset viewer.

Powered by Trac 1.0.9.Copyright © Juha-Pekka Niskanen 2008