In [1]:
import matplotlib.pyplot as plt
import numpy as np
In [3]:
%matplotlib inline
In [5]:
import pynoddy
import pynoddy.experiment
In [17]:
shis = pynoddy.experiment.Experiment(history = '../../examples/stack.his')
In [18]:
shis.plot_section('x')
In [23]:
print shis.get_cube_size()
shis.get_extent()
Out[23]:
In [26]:
shis.change_cube_size(25)
shis.plot_section('x')
In [27]:
shis.export_to_vtk(vtk_filename = 'stack.vtk')
In [ ]: