HappyDoc Generated Documentation ./VolumeViewer/volume.py

. / VolumeViewer / volume.py 

Functions   
  ijk_step_for_voxel_limit 
ijk_step_for_voxel_limit (
        ijk_min,
        ijk_max,
        ijk_step,
        limit_voxel_count,
        mvoxel_limit,
        )

Return ijk step size so that voxels displayed is at or below the limit. The given ijk step size may be increased or decreased by powers of 2.

  distance 
distance ( xyz1,  xyz2 )
  open_volume_file 
open_volume_file (
        path,
        format=None,
        name=None,
        representation=None,
        open_models=None,
        model_id=None,
        show_data=None,
        show_dialog=None,
        )

Open and display a map.

  show_one_plane 
show_one_plane (
        data_region,
        show_plane,
        min_voxels,
        )

Decide whether a data region is large enough that only a single z plane should be shown.

  maximum_data_diagonal_length 
maximum_data_diagonal_length ( data )
  full_region 
full_region ( size,  ijk_step=None )
  show_when_opened 
show_when_opened (
        data_region,
        show_on_open,
        max_voxels,
        )

Decide whether a data region is small enough to show when opened.

  volume_from_grid_data 
volume_from_grid_data (
        grid_data,
        representation=None,
        open_model=None,
        model_id=None,
        show_data=None,
        show_dialog=None,
        )

Open and display a map using Volume Viewer.

  is_empty_region 
is_empty_region ( ijk_region )
  resize_region_for_zone 
resize_region_for_zone (
        data_region,
        points,
        radius,
        initial_resize=None,
        )

Adjust volume region to include a zone. If current volume region is much bigger than that needed for the zone, then shrink it. The purpose of this resizing is to keep the region small so that recontouring is fast, but not resize on every new zone radius. Resizing on every new zone radius requires recontouring and redisplaying the volume histogram which slows down zone radius updates.

  clamp_region 
clamp_region ( region,  size )
  map_from_periodic_map 
map_from_periodic_map (
        grid,
        ijk_min,
        ijk_max,
        )
  subarray_size 
subarray_size (
        ijk_min,
        ijk_max,
        step,
        )
  map_covering_atoms 
map_covering_atoms (
        atoms,
        pad,
        volume,
        )

Use a periodic unit cell map to create a new map that covers a PDB model plus some padding. Written for Terry Lang.

  region_volume 
region_volume ( ijk_min,  ijk_max )
  limit_voxels 
limit_voxels (
        voxel_count,
        ijk_step,
        limit_voxel_count,
        mvoxel_limit,
        )

Return ijk step size so that voxels displayed is at or below the limit. The given ijk step size may be increased or decreased by powers of 2.

  saturate_rgba 
saturate_rgba ( rgba )
  extend_region 
extend_region (
        ijk_min,
        ijk_max,
        factor,
        )
  transformed_points 
transformed_points ( points,  xform )
  show_planes 
show_planes (
        dr,
        axis,
        plane,
        depth,
        extend_axes=None,
        show=None,
        save_in_region_queue=None,
        )
  region_contains_region 
region_contains_region ( r1,  r2 )
Classes   

Volume

Volume_Manager

Region_List

Remember visited subregions.

Rendering_Options

Outline_Box


This document was automatically generated Wed Jul 9 15:49:03 2008 by HappyDoc version 3.1