reflmodule - Low level reflectivity calculations

convolve convolve(xi,yi,x,dx,y): compute convolution of width dx[k] at points x[k],
convolve_sampled convolve_sampled(xi,yi,xp,yp,x,dx,y): compute convolution with sampled
rebin2d_float32
rebin2d_float64
rebin2d_uint16
rebin2d_uint32
rebin2d_uint64
rebin2d_uint8
rebin_float32 rebin_float32(xi,Ii,xo,Io): rebin from bin edges xi to bin edges xo
rebin_float64 rebin_float64(xi,Ii,xo,Io): rebin from bin edges xi to bin edges xo
rebin_uint16 rebin_uint16(xi,Ii,xo,Io): rebin from bin edges xi to bin edges xo
rebin_uint32 rebin_uint32(xi,Ii,xo,Io): rebin from bin edges xi to bin edges xo
rebin_uint64 rebin_uint64(xi,Ii,xo,Io): rebin from bin edges xi to bin edges xo
rebin_uint8 rebin_uint8(xi,Ii,xo,Io): rebin from bin edges xi to bin edges xo

Reflectometry C Library

refl1d.reflmodule.convolve()

convolve(xi,yi,x,dx,y): compute convolution of width dx[k] at points x[k], returned in y[k]

refl1d.reflmodule.convolve_sampled()

convolve_sampled(xi,yi,xp,yp,x,dx,y): compute convolution with sampled distribution of width dx[k] at points x[k], returned in y[k]

refl1d.reflmodule.rebin2d_float32(xi, yi, Ii, xo, yo, Io): 2-D rebin from (xi, yi) to (xo, yo)
refl1d.reflmodule.rebin2d_float64(xi, yi, Ii, xo, yo, Io): 2-D rebin from (xi, yi) to (xo, yo)
refl1d.reflmodule.rebin2d_uint16(xi, yi, Ii, xo, yo, Io): 2-D rebin from (xi, yi) to (xo, yo)
refl1d.reflmodule.rebin2d_uint32(xi, yi, Ii, xo, yo, Io): 2-D rebin from (xi, yi) to (xo, yo)
refl1d.reflmodule.rebin2d_uint64(xi, yi, Ii, xo, yo, Io): 2-D rebin from (xi, yi) to (xo, yo)
refl1d.reflmodule.rebin2d_uint8(xi, yi, Ii, xo, yo, Io): 2-D rebin from (xi, yi) to (xo, yo)
refl1d.reflmodule.rebin_float32()

rebin_float32(xi,Ii,xo,Io): rebin from bin edges xi to bin edges xo

refl1d.reflmodule.rebin_float64()

rebin_float64(xi,Ii,xo,Io): rebin from bin edges xi to bin edges xo

refl1d.reflmodule.rebin_uint16()

rebin_uint16(xi,Ii,xo,Io): rebin from bin edges xi to bin edges xo

refl1d.reflmodule.rebin_uint32()

rebin_uint32(xi,Ii,xo,Io): rebin from bin edges xi to bin edges xo

refl1d.reflmodule.rebin_uint64()

rebin_uint64(xi,Ii,xo,Io): rebin from bin edges xi to bin edges xo

refl1d.reflmodule.rebin_uint8()

rebin_uint8(xi,Ii,xo,Io): rebin from bin edges xi to bin edges xo