read vm

From DavinciWiki
(Difference between revisions)
Jump to: navigation, search
 
(3 intermediate revisions by 3 users not shown)
Line 6: Line 6:
 
Return Value: A davinci structure containing .label, .data, and .xaxis
 
Return Value: A davinci structure containing .label, .data, and .xaxis
 
|
 
|
[[Syntax]]: label(filename [, x exists])
+
[[Syntax]]: read_vm(filename [, x exists])
 
   
 
   
 
'filename' - File name and path of the vm text file
 
'filename' - File name and path of the vm text file
Line 28: Line 28:
 
*[[xplot]]
 
*[[xplot]]
 
|
 
|
[[media:read_vm.dvrc|read_vm()]]
+
*misc.dvrc
 
|
 
|
 +
1.06
 
}}
 
}}
 
[[category:Functions]]
 
[[category:Functions]]
 
[[category:User Defined Functions]]
 
[[category:User Defined Functions]]
 
[[category:Miscellaneous]]
 
[[category:Miscellaneous]]

Latest revision as of 11:16, 24 March 2011


Description

Read a vm formatted text file and store it in a variable as a davinci structure

Arguments and Return Values

Arguments: Accepts a vm formatted text file, with or without an x-axis

Return Value: A davinci structure containing .label, .data, and .xaxis

Usage

Syntax: read_vm(filename [, x exists])

'filename' - File name and path of the vm text file

'x exists' - specify if no x axis exists. Default is yes.

Examples

dv> a = read_vm("spectra.txt")
Apparent file size: 3x1971x1
Read ASCII file: 3x1971x1
struct, 3 elements
   data: 1x1x1971 array of float, bsq format [7,884 bytes]
   label: "emcal emissivity of RATW00465"
   xaxis: 1x1x1971 array of float, bsq format [7,884 bytes] 

DavinciWiki Mini-Nav Bar

Contents


Contact Developers

  • davinci-dev [AT] mars.asu.edu

All other topics

  • See navigation on the left

Major Sub-Functions

Related Functions

Recent Library Changes

Created On: 02-15-2006
Modified On: 03-24-2011

Personal tools