Table of Contents

Class: Grid_Data VolumeData/griddata.py

Multi-component volume data used by graphical user interface.

Methods   
__init__
ijk_to_xyz
xyz_to_ijk
  __init__ 
__init__ (
        self,
        path,
        file_type,
        size,
        xyz_origin,
        xyz_step,
        component_name,
        components,
        )

  ijk_to_xyz 
ijk_to_xyz ( self,  ijk )

A matrix ijk corresponds to a point in xyz space. This function maps the matrix index to the xyz point.

  xyz_to_ijk 
xyz_to_ijk ( self,  xyz )

A matrix ijk corresponds to a point in xyz space. This function maps the xyz point to the matrix index. The returned matrix index need not be integers.


Table of Contents

This document was automatically generated on Wed Mar 26 19:02:38 2003 by HappyDoc version 2.1