Skip to content
ttrainor edited this page Jan 7, 2012 · 5 revisions

To Do List for tdl/modules


modules/ana

  • saving/restoring data - single hdf file for spec data and ctr results.
  • Add ave funcs (plane groups) to CTR data
  • Attenuation factors
  • Rocking scan integrations (peak module)

-->images

  • Polygon (ie arbitrary) image rois?
  • Two image rois - one for bgr, 2nd for integration?
  • Make fcns for (re)correcting 'bad pixels'.
  • convert images to recip space coordinates
    • calc rot angle to keep L projection along horizontal and model peak widths in order to improve automation of integration.
    • Need detector distance, pixel spacing, pitch, yaw and roll. Therefore, need an algo for solving detector parameters:
    • Define pixel center at 0del and 0nu. then give direct beam pixel position at 4 different del and nu settings. From these refine distance and 3 angles. (note if do with diffraction peaks from known sample can also refine lambda and axis offsets...)

modules/geom

  • gonio calcs - more geometries... and calc angles given constraints...
  • lsq optimize of lattice params (and axis offsets)
  • pixel hkl

modules/peak

  • background: Add smoothing / rebin option for backgrounds
  • use compiled code for bgr / fitting
  • apply in xrf module
  • numerical peak integrations

modules/xrf

  • work on xrf_plot (and med plot)
  • error bars for xrf data / peaks
  • use peak.background in xrf
  • note no reason to opt bgr params....
  • speed up fits (get rid of nmfit)

modules/xrd

  • generic structure factor calcs

modules/xrr

  • Output penetration depth
  • Note include thin film and transmission cell modes
  • Add routine that will step through theta and build matrix of I, etc, for plotting. i.e. make 3D plot like matlab code
  • Fitting interface models, linking paramters, fit mult data sets etc...

modules/xtab

  • Interface for f',f'' and mu's (use xraydata library??)

modules/xtal

  • surface symmetry and surface model generator
  • dictionary of space groups from international tables
  • dictionary of transforms from international tables
  • plane groups
  • etc....
  • read cif files.

Clone this wiki locally