Skip to content

Latest commit

 

History

History
11 lines (7 loc) · 834 Bytes

README.md

File metadata and controls

11 lines (7 loc) · 834 Bytes

webalglib

Fitting functions using the (lsfit package) from the ALGLIB C++ math library for use with web applications, using Emscripten to compile C++ to Javascript.

Examples include

  • Levenberg-Marquardt fitting of gaussians, exponential decay and arbitrary Javascript functions demo
  • Multi-Gaussian peak fitter with interactive fit initializer demo
  • Compilation of neutron-reflectivity equations from C to Javascript (src/mag_wrap.cc and src/refl_wrap.cc)
  • Combination of neutron reflectivity equations with ALGLIB LM-fitting: NCNR online reflectivity calculator