Home > slabtools > snap2sarc.m

snap2sarc

PURPOSE ^

snap2sarc - converts Snapshot archive to slab3d archive.

SYNOPSIS ^

function [ hp, hm ] = snap2sarc( snapSubject, cleanmap, sarcName )

DESCRIPTION ^

 snap2sarc - converts Snapshot archive to slab3d archive.

 [ hp, hm ] = snap2sarc( snapSubject, cleanmap, sarcName )

 subject  - Snapshot archive subject name (see arclist)
 cleanmap - 'clean' map (see below)
 sarcName - if present, saves sarc to file (do not include .sarc extension)

 hp - processed data slab3d archive struct
 hm - measured data slab3d archive struct

 Regarding cleanmap:  The Snapshot archive 'map' var can be created from
 head tracker data.  The tracker map is stored in the sarc 'tgrid' field.
 Since the tracker data can contain errors, you must also provide a 'clean'
 map (i.e., intended locations (see newmap())).  The clean map is stored in
 the sarc 'dgrid' field.  To determine the newmap parameters, use arcload() to
 load the Snapshot archive and type 'map' to view the map variable.

 NOTE: Snapshot maps are grouped-by-elevation!  slab3d, tron, AHM, and sarc are
 grouped-by-azimuth.

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Fri 20-Nov-2009 18:52:57 by m2html © 2003