Home > marsbar > @maroi_pointlist > voxpts.m

voxpts

PURPOSE ^

voxpts method - returns 3xN ijk matrix in voxels

SYNOPSIS ^

function [pts, vals] = voxpts(o, sp)

DESCRIPTION ^

 voxpts method - returns 3xN ijk matrix in voxels

 $Id$

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 function [pts, vals] = voxpts(o, sp)
0002 % voxpts method - returns 3xN ijk matrix in voxels
0003 %
0004 % $Id$
0005 
0006 if nargin < 2
0007   error('Need space for voxpts call')
0008 end
0009 
0010 sp = mars_space(sp);
0011 
0012 % to maroi_matrix object
0013 mo = maroi_matrix(o);
0014 
0015 % and return values
0016 [pts, vals] = voxpts(mo, sp);

Generated on Wed 11-May-2022 16:26:09 by m2html © 2003-2019