Importing and Exporting Data
Total Page:16
File Type:pdf, Size:1020Kb
Chapter II-9 II-9Importing and Exporting Data Importing Data................................................................................................................................................ 117 Load Waves Submenu ............................................................................................................................ 119 Line Terminators...................................................................................................................................... 120 LoadWave Text Encodings..................................................................................................................... 120 Loading Delimited Text Files ........................................................................................................................ 120 Determining Column Formats............................................................................................................... 120 Date/Time Formats .................................................................................................................................. 121 Custom Date Formats ...................................................................................................................... 122 Column Labels ......................................................................................................................................... 122 Examples of Delimited Text ................................................................................................................... 123 The Load Waves Dialog for Delimited Text — 1D ............................................................................. 123 Editing Wave Names............................................................................................................................... 124 Set Scaling After Loading Delimited Text Data .................................................................................. 124 The Load Waves Dialog for Delimited Text — 2D ............................................................................. 124 2D Label and Position Details................................................................................................................ 125 Loading Text Waves from Delimited Text Files.................................................................................. 125 Delimited Text Tweaks ........................................................................................................................... 126 Troubleshooting Delimited Text Files .................................................................................................. 127 Loading Fixed Field Text Files ...................................................................................................................... 127 The Load Waves Dialog for Fixed Field Text ...................................................................................... 127 Loading General Text Files............................................................................................................................ 128 Examples of General Text....................................................................................................................... 128 Comparison of General Text, Fixed Field and Delimited Text ......................................................... 129 The Load Waves Dialog for General Text — 1D................................................................................. 129 Editing Wave Names for a Block........................................................................................................... 130 The Load Waves Dialog for General Text — 2D................................................................................. 130 Set Scaling After Loading General Text Data ...................................................................................... 130 General Text Tweaks............................................................................................................................... 130 Troubleshooting General Text Files ...................................................................................................... 131 Loading Igor Text Files .................................................................................................................................. 131 Examples of Igor Text ............................................................................................................................. 131 Igor Text File Format............................................................................................................................... 132 Setting Scaling in an Igor Text File........................................................................................................ 133 The Load Waves Dialog for Igor Text................................................................................................... 133 Loading MultiDimensional Waves from Igor Text Files ................................................................... 134 Loading Text Waves from Igor Text Files ............................................................................................ 135 Loading Igor Binary Data .............................................................................................................................. 135 The Igor Binary File ................................................................................................................................. 136 The Load Waves Dialog for Igor Binary............................................................................................... 136 The LoadData Operation ........................................................................................................................ 137 Sharing Versus Copying Igor Binary Files........................................................................................... 137 Loading Image Files........................................................................................................................................ 138 The Load Image Dialog........................................................................................................................... 138 Chapter II-9 — Importing and Exporting Data Loading PNG Files................................................................................................................................... 138 Loading JPEG File.................................................................................................................................... 138 Loading BMP Files................................................................................................................................... 138 Loading TIFF Files ................................................................................................................................... 138 Loading Sun Raster Files ........................................................................................................................ 139 Loading Row-Oriented Text Data ................................................................................................................ 139 Loading HDF Files.......................................................................................................................................... 140 Loading Excel Files ......................................................................................................................................... 140 What XLLoadWave Loads...................................................................................................................... 140 Column and Wave Types................................................................................................................ 140 Treat all columns as numeric.......................................................................................................... 140 Treat all columns as date ................................................................................................................. 141 Treat all columns as text .................................................................................................................. 141 Deduce from row.............................................................................................................................. 141 Use column type string.................................................................................................................... 141 XLLoadWave and Wave Names............................................................................................................ 142 XLLoadWave Output Variables ............................................................................................................ 142 Excel Date/Time Versus Igor Date/Time .............................................................................................. 142 Loading Excel Data Into a 2D Wave ..................................................................................................... 143 Loading Matlab MAT Files............................................................................................................................ 144 Finding Matlab Dynamic Libraries ....................................................................................................... 144 Matlab Dynamic Library Issues............................................................................................................. 144 Matlab Dynamic Library Issues on Macintosh...................................................................................