Package reflectometry :: Package model1d :: Package profileview :: Module model2Staj

Module model2Staj

source code

Save the model to a staj file: Nonmagnetic case
Functions
 
saveLayers(fout, layers, qcsq, qcmsq, depth, rough, mu, scale=1) source code
 
toStaj(ntlayer, tqcsq, tqcmsq, tdepth, trough, tmu, nmlayer, mqcsq, mqcmsq, mdepth, mrough, mmu, nblayer, bqcsq, bqcmsq, bdepth, brough, bmu, nrepeat, mfit, nrough, _lambda, lamdel, thedel, bmintns, bki, qmin, qmax, npnts, infile, proftyp='E', outfile=None, theta_offset=None, scale=1) source code
 
toStajFile(stajFilename, ntlayer, tqcsq, tqcmsq, tdepth, trough, tmu, nmlayer, mqcsq, mqcmsq, mdepth, mrough, mmu, nblayer, bqcsq, bqcmsq, bdepth, brough, bmu, nrepeat, mfit, nrough, _lambda, lamdel, thedel, bmintns, bki, qmin, qmax, npnts, infile, proftyp='E', outfile=None, theta_offset=None, scale=1) source code
 
toTMB(depth, rough, rho, mu, rhom, nT, nM, nB) source code
 
demo() source code