<xray-expression> :==
<reciprocal-space-function>
<real-space-function>
abs(<xray-expression>)
acos(<xray-expression>)
amplitude(<xray-expression>)
asin(<xray-expression>)
atan(<xray-expression>)
combine(<xray-expression>,<xray-expression>)
complex(<xray-expression>,<xray-expression>)
conjugate(<xray-expression>)
cos(<xray-expression>)
exp(<xray-expression>)
ft(<xray-expression>)
gauss(<xray-expression>)
i
i0(<xray-expression>)
i1(<xray-expression>)
i1overi0(<xray-expression>)
imag(<xray-expression>)
int(<xray-expression>)
log(<xray-expression>)
log10(<xray-expression>)
max(<xray-expression>,<xray-expression>[{,<xray-expression>}])
min(<xray-expression>,<xray-expression>[{,<xray-expression>}])
mod(<xray-expression>,<xray-expression>)
phase(<xray-expression>)
random
real(<xray-expression>)
sign(<xray-expression>)
sin(<xray-expression>)
sqrt(<xray-expression>)
step(<xray-expression>)
tan(<xray-expression>)
tanh(<xray-expression>)
add[_<variable>,<real>,<real>,<real>](<xray-expression>)
integrate[_<variable>,<real>,<real>,<real>](<xray-expression>)
multiply[_<variable>,<real>,<real>,<real>](<xray-expression>)
maximize[_<variable>,<real>,<real>,<real>](<xray-expression>)
imaximize[_<variable>,<real>,<real>,<real>](<xray-expression>)
d Returns bragg spacing for reflection.
s Returns scattering vector amplitude for reflection.
acentric true if reflection is acentric.
scale(<any>,<any>) scale(x,y), returns scale array.
shape(<any>,<any>) shape(x,y), returns shape array.
epsilon returns epsilon for reflection.
mult returns multiplicity of reflection.
friedel(<any>) gets friedel mate of relfection if present.
centric true if reflection is acentric.
sum[overall,binwise](<any>) summation.
ave[overall,binwise](<any>) average.
save[overall,binwise](<any>) statistical average.
distribute(<any>) fills all non-zeros by inter/extra-polation.
maximum likelihood target functions:
mlf(fobs,sigmaf,fcalc,d,sigma_delta) maximum likehood target.
dmlf(fobs,sigmaf,fcalc,d,sigma_delta) derivative of mlf.
mlff(fobs,sigmaf,fcalc,d,sigma_delta) expeected value of fobs.
mlvf(fobs,sigmaf,fcalc,d,sigma_delta) maximum likehood variance.
mli(iobs,sigmai,fcalc,d,sigma_delta) maximum likelihood target on I
dmli(iobs,sigmai,fcalc,d,sigma_delta) derivative of mli.
mlhl[phistep=<real>](fobs,phicalc,fcalc,pa,pb,pc,pd,d,sigma_delta)
maximum likelihood target on amplitudes with experimental phase
probability distribution.
residual target functions:
resi[k=<real>](fobs,fcalc,weight) residual target.
dresi[k=<real>](fobs,fcalc,weight) derivative of residual.
correlation target functions:
e1e1(fobs,fcalc) E correlation target.
de1e1(fobs,fcalc) derivative of E1E1.
e2e2(fobs,fcalc) E^2 correlation target.
de2e2(fobs,fcalc) derivative of E2E2.
phase probability distribution operations:
maximum likelihood lack-of-closure target functions:
get_ml[phistep=<real>](fp,fh,fph,weight,pk,pa,pb,pc,pd)
get_dml[phistep=<real>](fp,fh,fph,weight,pk,pa,pb,pc,pd)
get_aml[phistep=<real>](fp,fh,fph,weight,pk,pa,pb,pc,pd)
get_daml[phistep=<real>](fp,fh,fph,weight,pk,pa,pb,pc,pd)
+ | - | ~ | * | / | ^ | **