vis_tools.SpatialBinaryHeader module

This file contains:

  • SpatialBinaryHeader - a class for extracting just the header from SpatialReport files.

SpatialBinaryHeader is a class that allows access to the dimensions of a spatial report without actually reading the entire file.

class vis_tools.SpatialBinaryHeader.SpatialBinaryHeader(file_path='', verbose=False)

Bases: object

Class to read header off a spatial binary without reading the contents.


bin_header = SpatialBinaryHeader("output/SpatialReport_Prevalence")
print bin_header