Ignore:
Timestamp:
May 10, 2018, 8:30:27 AM (6 years ago)
Author:
sommeria
Message:

psmn parameters updated + miscenaleous

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/get_file_info.m

    r1040 r1041  
    5555function [FileInfo,VideoObject]=get_file_info(fileinput)
    5656VideoObject=[];
     57FileInfo.FileType='';% input file does not exist
     58FileInfo.FieldType=''; %default output
     59% check the existence (not possible for OpenDAP data)
    5760if ~isempty(regexp(fileinput,'^http://'))|| exist(fileinput,'file')
    5861    FileInfo.FileName=fileinput;
    5962    FileInfo.FileType='txt'; %default
    6063else
    61     FileInfo.FileType='';% input file does not exist
    62     return
     64    return %input file does not exist.
    6365end
    6466[tild,tild,FileExt]=fileparts(fileinput);%get the file extension FileExt
     
    186188        end
    187189end
     190
    188191if ismember (FileInfo.FileType,{'image','image_DaVis','multimage','mmreader','cine_phantom','video','netcdf','civdata'})
    189192        FileInfo.FileIndexing='on'; % allow to detect file index for scanning series
     193else
     194    FileInfo.FileIndexing='off';
    190195end
    191196FileInfo.FieldType=FileInfo.FileType;%default
     
    193198    case {'image','multimage','video','mmreader','rdvision','image_DaVis','cine_phantom'}
    194199    FileInfo.FieldType='image';
    195 end
    196 
     200    case {'civx','civdata','pivdata_fluidimage'}
     201        FileInfo.FieldType='civdata';
     202end
     203
Note: See TracChangeset for help on using the changeset viewer.