sansigormacros / ncnrsansigormacros

Reduction software for small-angle neutron scattering used by multiple neutron scattering facilities..
https://www.nist.gov/ncnr/data-reduction-analysis/sans-software
Other
6 stars 0 forks source link

Need consistent naming scheme for Plot* macros #56

Closed krzywon closed 4 years ago

krzywon commented 4 years ago

A consistent naming scheme for the Plot* macros will allow the macros to be called if the function is known, simply by constructing the "Plot"+funcStr command. This will enable automatic plotting and appending of models, without the need to use the "Append to graph..." menu selection and the now messier DataFolder dependent dialog.

This means a lot of hand changes to every function (ipf) and corresponding changes to funcX names in the XOP

krzywon commented 4 years ago

[srkline] done, needs to be fully tested w/repeated plot and append or some sort of clever automated test

krzywon commented 4 years ago

[srkline] the following XOP names need to be updated to match the new naming scheme:

if exists("CoreShellSphereX")

if exists("PolyHardSpheresX")

if exists("MultiShellSphereX")

if exists("LogNormalSphereX")

if exists("GaussSpheresX")

convert 20pt function to this

if exists("EllipticalCylinderX")


krzywon commented 4 years ago

[srkline] The plot and append has been tested from the wrapper panel in an automated fashion, and appears to work.

All of the current model functions have been udpated to the consistent naming scheme.

The XOP names have been changed to match as well.