The examples given in this section are all computed with routines and models contained in the TTBOX distribution, enabling the reader to repeat and extend them.
All examples use a number of example models that were generated using the following commands:
%%% read the IASP91 model in its polynomial form
iasp91=mkreadclr([mkttboxdata 'iasp91.clr'],'silent');
%%% depth sample distance: 1km in flat earth coordinates
%%% This is a very good sampling and serves as reference in the following
iasp91_1km=mkclr2model(iasp91,1,'flat');
%%% depth sample distance: 10km in flat earth coordinates
iasp91_10km=mkclr2model(iasp91,10,'flat');
%%% depth sample distance: 50km in flat earth coordinates
iasp91_50km=mkclr2model(iasp91,50,'flat');
%%% depth sample distance: 100km in flat earth coordinates
iasp91_100km=mkclr2model(iasp91,100,'flat');
%%% depth sample distance: 100km in spherical coordinates
%%% For core phases, this is a really bad depth sampling
iasp91_100km_sph=mkclr2model(iasp91,100,'spherical');
%%% depth sample distance: 10km in spherical coordinates
iasp91_10km_sph=mkclr2model(iasp91,10,'spherical');