# This cell is not included in the proceedings. # It loads the model saved in the previous cell. # If you want to use the model shown in the proceedings, put the pickle file provided in the notebook directory and run this cell. import cPickle as pickle with open ( 'forward_modeling_model.pickle' ) as f : model , x , y , z , gz = pickle . load ( f ) bounds = [ - 1000 , 1000 , - 1000 , 1000 , 0 , 1000 ] area = bounds [: 4 ] from fatiando import gravmag , gridder , mesher from fatiando.vis import mpl , myv shape = ( 50 , 50 )