source: User Procedures/Irena/Modification history.txt @ 7

Last change on this file since 7 was 7, checked in by ilavsky, 9 years ago

Data manipulation II - added options for error generation and reduction of number of points

  • Property svn:executable set to *
File size: 50.5 KB
Line 
1Irena package
2Code modification history
3
4-latest stuff first
5********************************************
62.51 XXXX
7Guinier-Porod Fit - created first version of this tool.
8Control procedures - modified to show only last folder but work transparently for the tools.
9Control procedures - added G(r) as data type of Irena results. 
10Unified fit - fixed Checking of validity levels not to declare level without Guinier part to be invalid.
11Unified fit - added "No limits" checkbox and support code to fit without limits.
12Reflectivity - added "Motofit" as data type for use with this tool.
13Added scroll buttons to scroll vertically content of panels for small displays. Modified tools: Unified Fit, Modeling II, Size Distribution, Gunier-Porod, Fractals tool, Analytical models, Small-angle diffraction, Pair-distace dist., Reflectivity, ASCII import, ASCII Export, Data manipulation I, Data manipulation II, Data mining tool, Plotting tool I.
14Added "User" defined structure factor (implemented in Modeling II)
15Added panel version control for: Fractals tool, Small-angle diffraction, ASCII export, ASCII Import
16Data Manipulation II - modified to add ability to create errors (=uncertainties), scale and rebin to number of points. Modified GUI to separate processing, errors generation and post processing (scaling/rebinning).
17
18
192.50 1/4/2013
20Universal Installer - Modified to be able to update xops and made more robust. It will attempt to download file 10x before giving up to fix problem with ANL proxy.
21Size Distribution - ability to estimate uncertainty. Propagated the uncertainty to SizeDistribution through rest of the code and support in calculations of volume.
22Data Manipulation - fixed problem when the new data folder name was too long, which was failing. Cut the length to 31 characters ONLY.
23Control procedures - improved speed by caching IR2P_GenStringOfFolders to reuse list if it is newer than 5 seconds. Major speed improvement for scripting tool - changed for all data types.
24Control procedures - added ability handle trs, drs, and mrs data as qrs system. These data are produced by Nika when user wants output as d-spacing, two theta and distance.
25Scripting tool - modified user feedback due to increase in speed of Control procedures. 
26Scripting tool - modified to handle Size Distribution with uncertainties evaluation.
27Added DataManipulationII panels to "Kill all Irena panels" function.
28Form factors - added SphereWHSLocMonoSq - this is sphere with Percus Yevic Hard spheres Structure factor which is a fraction of sphere size. 
29Reflectivity - about 40x increase in speed due to improvements Andrew made in last few years. Added sliders to control parameters - seems to be now fast enough.
30Reflectivity - Added ability to use dq and dq^2 as resolution wave, not only % resolution.
31Reflectivity - Added ability to link parameters. Major change in GUI. Added button to "Fix limits".
32Reflectivity - Added saving fitting uncertainties into already existing "Error" variables. Made many functions static.
33Reflectivity - Added ability to insert or remove layer (requested feature). 
34Reflectivity - Added fudging errors for data when user chooses not to provide them. Original code set them to 0, which really did not fit. Using my own function from GeneralProcedures.
35Unified fit - added ability to analyze effect of the data uncertainties on the results 
36Modeling II - added Fix Fitting limits buttons - two - "tight" (L1) setting smaller range and "loose" (L2) setting wider range.
37Modeling II - added ability to analyze uncertainties/stabilities for parameters as is currently available in Unified fit.
38Analytical models - small fixes in Treubner-Strey GUI.
39
402.49 11/5/2012
41Universal export - Fixed bug which prevented QRS data from being processed.
42Import ASCII - removed popup with folder selection. Keeps confusing users (class observation). Type folder name in manually, if you need to.
43Data Manipulation II - modified GUI to make thing bit more obvious.
44Data Manipulation II - fixed handling liberal names, modified NameModifier to reflect the operation done.
45Data Manipulation II - added tool to normalize data sets to area under the curve in range of Qs defined by user. Requested feature.
46Unified fit - added ability to analyze the uncertainity/stability of each parameter. 
47
48
492.48 8/13/2012
50Updated Manual.
51XMLutils xop updated to fix speed in loading xml data files
52Data mining - fixes to length of Modeling II results of wavenote parameters searches names.
53GUI fonts control - fixed bug in Windows 7 which caused that fonts were not changed.
54GUI fonts control - removed all declared fonts and sizes for panels so user has controls over the GUI visualization
55Modeling II - Reduced number of parameters stored in wave note and therefore exported to minimize garbage.
56Plotting tool I - removed one ipf file and added for now invisible KBColorizeTraces package to use with some graphs.
57Plotting tool I - added "Gizmo" based 3D plotting tool. Still under development, but actually useable. 
58ASCII data import - added ability to reduce data to smaller number of points on import with suggestion to reduce number of points when too large number is found. Also added double click action on file selection - now it will check number of columns in the file and display the file (like clicking "Test" and "Preview" buttons)
59DataManipualtion II - converted match strings to RegEx and modified GUI to be bit more user friendly.
60Debye-Bueche - fixed formula used. User reported bug.
61
62
632.47 5/30/2012
64New irena_users mailing list. See http://www.aps.anl.gov/mailman/listinfo/irena_users for details.
65Control procedures - speed up (by factor of 10 or more) qrs data structure search. Hopefully did not break anything.
66Scripting tool  - Yet another fix - fixed Size distribution fitting, which was not loading new files.
67Scripting tool - added ability to handle Irena results (generations 0 to 0 and last) and be used with Plotting tool I.
68Plotting tool I - Added Rainbow and BW options.
69Plotting tool I - Added 3D graph option, fixed ZoomAndSetLimits marquee bug which caused troubles when used on graph other than on GeneralGraph.
70Plotting tool I - added ability to create movies. Both 2D and 3D movies are supported.
71ASCII Importer  - Fixed bug in which threw error when data without error wave were loaded.
72ASCII Importer  - Added name match string (RegEx, grep) for the ASCII importer to help with file selection. Added checkbox to automatically overwrite existing data. 
73ASCII importer - added ability to trim data to specific q range on import.
74Data miner -  added Match string for Items in the folder and Wave note/string values. Added "Latest generation" option, which will find highest generation (meant for results) in case something is named XYDSA_0, XYDSA_1, etc.
75Data Miner - added multiple selection when appropriate. Shift-click selects contiguous range, ctrl/cmd select discontiguous cells.
76Data Miner - converted Folder Match string to Regular expression.
77Modeling I and II - change min size allowed internally to 1A. Seems like many users are pushing limits to high-qs.
78
792.46 4/30/2012
80Removed Motofit ipfs distributed with Irena as they were out of date and caused conflicts with Motofit users. Updated xop.
81Added Reflectivity to check version routines. Changed (per request) range of thickness displayed in the Reflectivity SLD plot. Widened from 4% more to 8% more than the thickness of the system.
82Form factors - upgraded Core Shell cylinder to be multicore.
83Controls procedures - fixed problems with user defined data structure and hopefully improved performance on qrs and qis data structures.
84ASCII import - default to use qrs name structure and use file names as folder names.
85Scripting tool - fixed bug which caused one-before-last qrs data set to be invisible.
86Scripting tool - enabled better selection options: cmd/ctrl click selects one item, shift-click selects range of items. Added option to sort the data in number of different ways.
87Scripting tool, Sizes, and Import ASCII - added version check for panels. Will force restart of tool if procedure version has changed.
88Size distribution - added button to open Scripting tool and also added version control to panel.
89Modeling II - added scripting tool button and supporting features.
90Unified fit - removed bug which caused that RgCo from higher levels was fitted if the checkbox was selected, even when the level was not used.
91Unified fit - added button to call Scripting tool
92Plotting tool II - added option to be controlled by Scripting tool, so it can be used to produce easily graphs with many data sets in it.
93Modeling II - fixed bug in Shulz-Zimm distribution which prevented parameters from fitting.
94
95
96
97
982.45 2/27/2012/Users/ilavsky/Igor Pro Folder/User Procedures/Indra 2/Readme.txt
99Added to Data Manipulations II ability to average N data sets at time, so one can "chunk" the data together. Requested feature.
100Reflectivity - added ability to store results in new folder when user created "model" data. It will now ask for new folder name and store results in root:NewFoldername. It does remember this name for subsequent saves.
101Updated manual.
102Fixed Modeling II bug when Unified local fit P/B set wrong limits(Rg/G). Typo. Fixed checking for limits in Fitting which checked for Unified and Diffraction also parameters which were not fitted. Added checking if the parameters did not reach (to within 2%) their limits which will put up now dialog to user and print list of parameters in the history area.
103
1042.44 2/18/2012
105Fix in fitting for Modeling II - fitting of peak profile shapes did not check if the  shape has 3 or 4 parameters and may have tried to fit 4 parameters even though that was not right. Fixed problem in checking for background fitting parameters causing confusing messages.
106Updated Analytical models to include option to use Genetic optimization. Seemed way too easy, I wonder what I forgot.
107Data miner tool, updated to work better with wave notes of QRS data coming from Nexus. They have : in the key names, so I need to work around that.
108Added Analytical models and Data miner to panel control for updated tool.
109Minor fix in Unified analysis where the contrast for the included materials contained 10^10 but code assume it does not contain the 10^10 and hence we got many orders of magnitude differences. Changed included set of contrasts so users do not have to include e10 in the numbers.
110Reflectivity: fixed minor bug which disallowed negative SLDs when SLD step was changed.
111Scripting tool: Fixed minor bug in controls of Size distribution and added controls for Modeling II with ability to run that tool with single input data set.
112
113
1142.43 1/10/2012
115Modeling II major upgrade. Now there are 10 "populations", each can be either size distribution, Unified level, or Diffraction peak. ALso added Normalized residual display and made some more fixes and changes. Added "Add tags to graph" option and cleaned up the notebook output so it is more useful.
116Started upgrading tools to be aware which version of Irena they were run with and force user to restart tool when panel opened with old version is detected. Should prevent some of the crashes when incompatible up[grade is done.
117Changed how the loader works. Now the loader will look for files relatively related to the loader files itself. This should enable in the future having multiple Irena packages installed and be able to switch among them. I am not sure why would any user need to have it, but I need it myself for debugging purposesÉ
118Unified fit - modified so parameters change their limits as they are changed from GUI.
119
120
1212.42 11/15/2011
122Small Angle Diffraction tool É Fixed the PercusYevickSQFQ to use F(Q)^2
123FormFactorPackage - per user request I have modified what can be to make as many FF as possible multithreaded. Now it uses multiple cores, when possible. Also I have modified some integration waves in the code to reduce the cpu time.
124
1252.41 7/29/2011
126Modeling II É Changed Unified fit included to use Contrast (both G and B are multiplied by the contrast),. This should enable to use with data sets with different contrasts for the Unified data, such as combined neutron/X-ray data or Anomalous X-ray data. Fixed display bug which prevented Rg, B, and P to appear in some cases.
127Modeling II É Added Core-Shell-Shell form factor per request.
128Modeling II É Fixed display issue when Contrast was displayed even for CoreShell models for which it is NOT used. NOTE: as it is, these models cannot be used with multiple data sets with different contrasts since the form factor parameters contain the contrasts. 
129Modeling II É Fixed bug in export of data when Model data are used. Now user is asked to for name for new (will be created) or existing folder so the data are safely saved in way user can figure out.
130Modeling II É Fixed logbook record when it recorded wrong type of distribution type in the logbook. User reported bug.
131Modeling II É Fixed storing of the results, now storing the individual distribution results (as waves) works. This has not been apparently ever finished.
132Modeling II É Changed limits on Structure factor parameter 1 - previously if it was smaller than 10 or so, it was reset to 50, it was getting into my way and so the limit is changed to 0.5. 
133All - fixed inability to select any folder/data when no checkbox was selected.
134Small-angle diffraction - added LorenzSquared peak, Skewed Normal, Percus-Yevick S(q), and Percus-Yevick S(q)*F(q) as another peak shapes.
135Small-angle diffraction - fixed few bugs: FitRg had typo and so Rg was never fitted.
136PDDF É added display of Gamma function (gamma = pddf/(4*pi*r^2)) per requestÉ Is anyone actually using this?
137Bug fix - fixed bug which caused problems compiling when Genetic optimization xop was not present.
138
1392.40 June 16, 2011
140Modeling II - added Unified Level as one of the Form factor parameters. Surprisingly, this was major complication and change and hence there may be some residual bugs yet to be discovered.
141Modeling II - added Shultz-Zimm distribution.
142Minor fixes in Modeling II and CalcIntgCylinderFF
143Fix link to Irena web page.
144Speed up QRS data selection routines to help users with large QRS folders.
145Remove old method of genetic optimization, now will run ONLy when xop is installed or will through abort. This way we do not need the GeneticOptimisation.ipf which was causing issues with Motofit.
146Unified - tried to speed up GUI response and avoid unnecessary recalculations. The bug in Igor native GUI controls speed update on mac requires this panel to be set on mac to old (os9) GUI appearance. Bug reported to WM. 
147Removed CursorMovedHook function to avoid conflicts, converted to Window hook functions when necessary.
148
149
1502.39 9/25/2010
151Added ANL license
152Import ASCII tool will now prevent users from cresting n% errors on import with n~0 (resulting in errors=0 for all points). Really happened. 
153
1542.38 8/27/2010
155Modified Data Manipulation II to be able to subtract one wave from many waves. 
156Fixes for Igor 6.20.
157Added Ciccariello-Benedetti tool to Analytical models. I still have questions on calibration of slit smeared data (difference between infinite and finite slit length), but it may work now. Manual chapter added.
158Added preconfigured special plots into Ploting tool I. (Porod, Guinier, Kratky,É). Will need to add fits also. May be next release...
159
1602.37 2/23/2010
161Data manipulation - enable errors of 0 values to let users use wrong errors from some instruments. NOTE: other tools will fail, if errors are 0!
162Minor Fixes in Cromer Liberman and Scattering contrast calculator (fixed values for Au) code.
163Added new tool - Data Manipulation II. Intended for many data sets at once - at this moment it can only average data, but can be modified to add more functionality.
164Added InterPrecipitate Structure factor per user request. See updated Form factor and Structure Factor description pdf file.
165Modified Unified fit - added now "Analyze Unified" tool with new Greg Beaucage's advancements, modified graphing of Unified to follow user choices for legend font and font size.
166
1672.36 July 17, 2009
168Fixed bug, when many tools could not fit background. Apparently created in version 2.34 when trying not to limit background to positive numbers only. Now there is no limit in fitting on background, in Genetic optimization (where limits must be) the limit is +/- 10* background/
169
1702.35 July 10, 2009
171Fixed bug in Reflectivity tool, when if using errors with Genetic optimization (using xop) the code stopped with error "wave does not exist". Typo.   
172Fixed 6.10 update bug, when actionFunctions would cause weird behavior related to not checking evenCode. Checked rest of Irena and Nika, not problems found. 
173Desmearing - fixed bug when background was not recalculated when value for Q start was changed in the panel.
174Fixed bug when background in Unified could not be fitted. This part of code was commented out for unknown reason...
175Fix bug in DataMiner, after latest improvements did not call right procedures. Problem with structure-based popup controls. 
176Fixed bug in Data Selection Tools which went crazy when different panels used different types of naming structure and folders were not selected.
177Got reports about problems in 6.10 which I cannot reproduce on Mac. Need to test on Windows.
178Added feature to modeling 1. If used only for modeling with no input data, now I present user with dialog where they can create new folder for the model data storage. ANy path will be created, if Igor-sensible path is given. 
179
180
1812.34 March 2009
182Irena manuscript is published to Journal of Applied Crystallography (2009). The reference is J. Appl. Cryst 42 (2009), 347-353. Added to About and also added option to open the manuscript (and download copy from APS web site).
183Added package preferences for Panel and Graph fonts and font sizes. These are now specific to given computer and experiment. Computer has priority when new experiment is created.  Panel fonts are specific to platform too. It is logistical mess what and when is applied, but hopefully will work for most well.
184Added Treubner-Streus model into original Gels model and changed name to Analytical models. 
185Changed all (hopefully) GUI and fit functions to enable negative background. This was requested by one of the reviewers of the manuscript in J Appl. Cryst. Apparently our neutron colleagues have problems with over-subtracting background.
186Changed Panel control tools to require errors for Indra type-data. Seem to cause minor issues with users trying to use Indra type names and having no errors...
187Fix Scattering Contrast calc, which had electron radius as 0.28 only, instead of 0.28179. This caused small difference in values compared to other calculators.
188Changed desmearing to allow desmearing with both slit length and slit width and enable for both use of trapezoidal slit profile.
189
1902.32a
191Quick fix for removal of Window and panel macros - forgot to name them properly when changed to Proc. Hope I found all calls...
192
1932.32
194Removed all panel and windows macros from the menus - they should not be called through Igor GUI, just through Irena commands as they are not initiated otherwise.
195Found serious bug in CoreShell model - volume of particle was defined incorrectly (3/4*pi*r^3 instead of 4/3*pi*r^3) which resulted in volumes calculated to be off by factor of 1.78. This bug was found by careful user who did some creative testing.
196 
197
1982.31
199Modify Data tool - added option to reduce data on log-scale. Added explanation in manual. Strongly encouraged as reading...
200Plotting tool I - Fixed bug when Remove data panel was coming up behind the main panel...  Similar when checkboxes were changed when the panels were reordered...
201PDDF - added calculation of errors for resulting PDDF using obscure (GNOM) MonteCarlo method for regularization and similar method for Moore method.
202Added (but not finished) ability to select this error for the Panel Controls. Needs fixing still..
203PDDF - export of semi-GNOM files. Seem to be working - tested on DAMMIN. Really weird data file format.
204Import ASCII data - added some print into history statements so user knows what actually happened.
205Tested on Igor 6.10 beta. All seems to compile and tested packages seem to work. No problems in GUI on Mac seen yet.
206
2072.30
208Added tool to analyze SAS using Pair distance distribution function. 
209Fixed Multiple data export tool when it showed one less data set than should have been.
210Added CanSAS XML loader. Requires canSASXML.ipf and XMLutils - XOP (http://www.igorexchange.com/project/XMLutils).
211Fixed Data manipulation tool - after change in controls procedures it did not create _mod wave names...
212Modified and improved Diffraction tool. Now has many more peak shapes, two options of dealing with peak-SAS relationship and al standard goodies - data saving and other things...
213Added "paste to notebook" to Size distribution.
214Included Plotting tool II - Dale's tool for plotting data.
215
216
217beta 2.29 - never released.
218Fixed recording CoreShell cylinder (and other 4 and 5 parameters Form factors) in Modeling I.
219Added new tool - Plotting tool II - modified tool by Dale W Schaefer which can control any top graph. No manual yet.
220Fixed bug in wrong label on Evaluation graph. Mixed Number and volume distribution.
221Limited length of export data name on Macintosh to 25 + extension. Had troubles without this limit. 
222Added NIST "QIS" data naming structure to loader - but not much value, as they insist on loading it by themselves, which makes our life difficult for data with no errors...
223
2242.28
225Modifications to SA diffraction tool - many...
226Modeling II - on load the name of either folder (Indra) or int wave (QRS) will be put in User name for the data... Trying to help users keep sane.
227Bug fixes:
228Modeling II - when I renamed Tube onto coreShellCylinder, I have created bug which resulted in wrong intensity calibrations for this Form factor. Fixed.
229Modeling I - fixed problem when the Panel for CoreShellCylinder did not pop up when FF was selected. Fixed.
230
231
232
2332.27
234Fixed GUI for Unified_tube. Note, it is using yet another definition of volume - just to make sure, here is the list:
235Unified_tube   volume is volume of the shell only. Core has same contrast as solvent.
236OK - fix... Added controls to tube (renamed to CoreShellCylinder) and CoreShell on what is the definition of the volume: Whole particle (NIST definition), Core, or Shell. This should fix all. Unified_tube volume is only the shell, as that is how the form factor is written...
237Export tool... Added comment to history area when data are exported.
238Export tool .... Added multiple data sets export tool. Should enable export of same data in sequence.
239Unified - fixed save in folder which broke during coding of scripting tool.
240Updated manual and FF description.
241
2422.26
243Fixed core-shell cylinder, aka tube by using NIST code. Should work for all test cases Andrew came up with...
244
2452.25 January 6 2007
246Added tool for analysis of small-angle diffraction. Still beta and needs to be finished.
247Some fixes for Data selection tool as requested by Dale Schaefer. 
248SOme fixes in export of data for Modeling II. Not likely to be problem for users, but some waves did not have correctly set name and units.
249
2502.24 December 27, 2007
251Added Scripting tool. Should be able to run Unified and Size distribution on Indra and QRS data. This is likely little bit buggy tool (a lot of unpredictable failures is likely), so let's call it beta version for now...
252
2532.23 December 5, 2007
254Fixed problem with need to reopen all opened panel introduced in previous version... Now it should work even for old experiments created prior version 2.22.
255
2562.22 December 2, 2007
257Added controls for Scaling factor in Reflectivity. Requested change.
258Modified PanelCntrlProcs to be able to be used on subpanels (child panels or graphs). Major change - converted all control procs to structures. Note, it had impact on DataMiner also, where I needed to change one function. But, now it can be used for multiple data selection on single (Host) panel by using child panels. Now I can fix the data manipulation tool to use this...
259
2602.21 November 8th, 2007
261Fix problem when in Modeling I the control panel for the form factor parameters came below the main panel introduced in the last version.
262Change in PanelControl Procedures - now will not search for any waves in the Packages folder...
263Reflectivity - fixed window alignment and loss of focus for panel as previously done for other packages...
264Reflectivity - allow storing results with no layers (substrate only). Fixed minor bug related to wavenote storing (when previous wave note is there, Igor 6 will not remove it, it will append "\r" and new text, unless /NOCR is used.
265Fixed lost attention for Plotting tool.
266Added new tool for evaluation of size distributions. Updated manual. 
267Added Menu Item to generate for user e-mail to send me back bug or feedback with some info.
268
2692.16 & 2.20
270Added "stickiness" to wave name in Data miner. When user selects folder in which previously selected wave existed, it will be automatically selected also.
271Added mean/mode/median to the calculator for Size distribution.
272Changed internal name of some variables not to conflict with function names (beta, gamma)
273Reflectivity & Modeling tools - Added capability to run genetic optimization function using xop on both Mac and PC. Likely only Igor 6 compatible... Note: if xop is not found, uses old code...   
274Unified - Returned back the Slit smearing controls in Unified, which disappeared some time ago. Fixed some controls. Note: behavior change, the slit smearing checkbox does not control the wave selection anymore but the wave selection controls the checkbox. Necessary due to use of common data selection library. 
275Modeling II - added output of data into formated notebook, so user can dump human-readable stuff somewhere. Fixed note keeping in SAS notebook. Some minor bug fixes related to the note keeping.
276Modeling I - some fixes related to use of slit smeared data.
277Sizes - some fixes related to use of slit smeared data. 
278Scattering contrast calculator - fixed display of internally stored compounds, when started...
279
280
2812.15 July 15, 2007
282Fixed case when number distribution from Size distribution was inf (failed generating volume of scatterers wave).
283Fixed Modeling II when Q selection filed if user set cursors in opposite sense (square to low Q and circle to high Q). Fixed error on Mac when on load the Q range was incorrectly set to first point (only) of the data. Apparently, on Mac you cannot use for last point in wave the wave[inf]...
284Modified dataMiner to create shorter namers - for some results the names were getting beyond Igor 32 characters limit and users could not get to some parameters.
285Added libary of structure factors to be used. This is ONLY for Modeling II, the others are using old "interferences". Would be really difficult to change. Currently available: Interferences, Hard spheres, Square Well, Hayer Penfold MSA, and Sticky hard spheres. Code for the new ones is from NIST macros.
286Modified Form factor description pdf file to include Structure factors.
287Changed names in menus, as I am writing the manuscript about Irena I realized, that the current names are not the best.
288Added Genetic optimization method to Modeling I, Modeling II and Reflectivity. Genetic optimization is much slower but acheives results in very complicated cases amazingly well... Some changes in GUI were needed.
289Modifed PanelControlProcedures to enable user to write "hook" functions which can be run after the selection is made... Important: There are 4 hook functions, run after folder, Q, intensity, and error data are selected, names must be exactly: IR2_ContrProc_F_Hook_Proc(), IR2_ContrProc_Q_Hook_Proc(), IR2_ContrProc_R_Hook_Proc(), and IR2_ContrProc_E_Hook_Proc(). User needs to make sure these can be called with no parameters and that they will not fail if called by different panel!!! This is important, as they will be called from any panel whic is using this package, so they have to be proof to that. I suggest checking on the name of top active panel window or the current folder...  Example of function is below:
290Function IR2_ContrProc_Q_Hook_Proc()
291        print getDataFolder(0)
292end
293Added in General procedures function to generate errors for SAS data using different methods.... Looks very interesting for use in packages.
294Modified Scattering contrast calc and calls to pdf files to manage when user procedures are not in the Igor folder or user has not right to write there.
295Changed limits for Reflectivity to allow negative SLD values for all fields.
296Fixed typo, which caused the Normalized error not to be recalculated during graphing data.
297Unified - fixed bug which caused error when user tried to subtract background. The code was calling old (SAS modeling) procedure and not the new Unified procedure. Introduced in version 2.12.
298
299
3002.13 December 21, 2006
301Fixes to New LSQF - previous beta version could not work with slit smeared data and few other bugs were found... Still should be considered beta version, but I have used it and it works. Just is very cumbersome due to large number of parameters allowed and associated controls.
302New feature for Igor 6 - for log plots in general ploting tool now Igor 6 can do log-offsets. Note, this will cause problems, when experiment with file created on Igor 6 is opened in Igor 5 and general graph is opened, as Igor recreation macor will fail with error message.
303Fixes in the NewControlProcedures package - user defined part did not work as advertised... Needs to ne checked again.
304Bug fix to common library... IN2G_FindFolderWithWaveTypes(startDF, levels, WaveTypes, LongShortType)modified to find also empty folders, when search wave name is "*"... Question are the consequences...
305
3062.12 BETA September 5, 2006
307Added beta version of new Least square fitting package. Not finished yet, but need to get out to get tested...
308Most packages now can generate input data for modeling only, so one does not need to use any experimental data. Convenient for simple modeling...  Not finished saving of the data in new folder yet.
309Potentially INCOMPATIBLE CHANGE with previously saved experiments which have opened Unified panel - moved Unifed fit into separate folder. Was (for historical reasons)using the same folder as LSQF. It was using the same waves as LSQF and this was bad for parallel use of the tools. Unfied needs to be restarted...
310Converted Unified to use the new control procedures.
311Fixed bug in Fractals model, when saving data into the folder generated error due to wrong list of parameters.
312Added into the ControlProcedures ability to generate distribution of q values (lin/log) - can be used for modeling...
313Converted LSQF (old) into use of these new Control procedures. Painless, but minor change in behavior of GUI...
314Converted Gels and Fractals into the new Control procedures
315Converted desmearing into new Control procedures
316Converted invariant in Unified fit to cm^-4 from cm^-1*A^-3
317
318Need to ADD in Unified Invariant calculator...
319//comment :
320// the invariant is:
321//   2*pi^2*FI(1-FI)*delta-rho-squared
322// Need to convert the Unified provided invariant to cm^-4 by multiplying by 10^24 (from cm^-1A^-3 to cm^-4)
323
324
3252.11 April 5, 2006
326New control procs - sped up searching for qrs data (created IN2G_NewFindFolderWithWaveTypes, which should be faster, but may behave differently. Use with caution).
327General ploting tool - changed to new control functions. Was drop dead easy...
328        - Allowed use of x-wave scaling for Irena results (SLD profile uses that) and generic data. Need to be tested more and verified.
329Form factors package - added capability to create control panel for given form factor parameters. Will convert all packages to this method - one place to maintain the code when adding new form factor.
330Reflectivity - added SLD to export (was missing), add switch to define start of thickness at the substrate (more natural anyway)... Changed also the amount of points in substrate & in air.
331        - added possibility to update plots during fitting...
332        - added calculator of resolution. Need to be checked...
333        - fixed bug - the imaginary part of SLD was not used correctly - should be negative, but was used positive. Fixed and te results now match Parrats code.
334        - added option for use of xop from Andy. If xop functions are present, faster xop code will be used (5x faster), if not, old Igor Parrats code will be used. Should be transparent.
335        the xop should be available from : http://members.optusnet.com.au/~andyfaff/
336Fractals - Fixed bug when mass fractal for beta =1 (sphere) shape model failed. Also, sped up the calculations for beta =1 since skipped the integration and used sphere FF... Only used for beta = 1 exactly. Anything else and slow calc is used.
337Data miner - some more fixes to improve performance...
338Fixed bug in General Graph when Execute("Legend ..." had parameters order wrong...
339
3402.10 October 11, 2005
341Modified Anomalous Scattering contrast calculator to provide (f+f') and f" in cm^-2 units for use as real and imaginary contrast of material in reflectivity.
342Added option into Scattering contrast calculator to save data within Igor experiment or outside Igor experiment as before.
343Sizes - major update. Added option of using no errors and creation of errors by various methods inside the tool itself. Changed ot Panel control procedures. Need to fix "bailout" due to acheieved Chisquare. At this time does not work with
344no errors (as should be expected) and the only tool which can reach solution in IPG/TNNLS. Needs more work.
345
3462.10 beta October 30,2005
347New tool:  Data miner - tool to pull out of experiment various useful info from variables, strings, wave notes and plot all waves in subtree... Not finished yet. QRS system is still problem, but great for Indra named waves and for results also OK.
348New tool - Reflectivity with code by Andy Nelson
349Tweaked search in the Panel control procedures. Now faster (much faster) searching for results waves. 
350Found major bug in LSQF. Fitting had major bug in whcih could cause troubles. The check on number of populations was not done properly and caused failure in fitting under some conditions. At least 3 years old!!!
351
3522.07 October 4, 2005
353Added minor control into Data manipulation tool to prevent user from not realizing there is nothing to do with data and therefore nothing to save.
354Added date and time stamp to each entry to logbook.
355Set default fonts (for tools which use the user defined stuff) to 10 points on Mac and 8 on Windows.
356Fixed bug in Logbook name (too long name).
357
3582.06 September 27, 2005
359Optimized some internal functions in the Panel control procedures and increased speed by factor of ~5x... Major improvement for larger files.
360
3612.05 September 26, 2005
362Added new package - Universal data export tool. In principle handles any 2-3 column dat aand exports as Header + 2-3 columns separated by tabs.
363Added code to set and use in graphs user default variables and font names. For now set to provide default font sizes for legedn, axis etc.
364Sync with Dale Schefers corrections for form factors. Added Unified tube in process. May be made the Fractal aggregate to work(?)
365Data manipulation - fixed bug achich caused data point reduction to fail without errors....
366Created new control package which provides controls for data selection for arbitrary tool... Now I need to use it in other packages.
367Fixed GUI for the fixed Core shell FFs.
368Added Unified_tube and modified controls for it.
369Fixed bug in IR2P_LogPowerWithNaNsRetained which casued last point not being right.
370Data import tool - will now add automatically skipped lines into wave note as header recording.
371
372
3732.05 beta March 2005
374Added macros logging data processing into log book for: Data import tool, Data manipulation tool, Desmearing, Sizes,
375Checked and modified recording for Unified,
376Added Desmearing windows in "Kill all Irena windows macro"
377Started to fix problem with LSQF user models, apparently I forgot to made modifications necessary for use of the new set of form factors...
378Fixed bug in import data function IR1I_RecordResults(), which seemed to point to wrong folder:
379Sizes - added IPG/TNNLS code. Changed GUI to allow easier use with more different methods.
380Sizes - Changed in Sizes behavior of button "Calculate volume" on the graph. If no checkboxes found on the right data, all of the data are calculated.
381Sizes - added more logic to display right name of the sample - will handle qrs data and will skip the name for other types of data
382Sizes - fixed storing parameters of new form factors in wave notes and added IPG/TNNLS method in it...
383Sizes - added button for maxEnt to set the sky background to appropriate number
384LSQF - modified ASCII export data - changed comment character to # and removed empty lines. Requested feature (PRJ).
385ImportData - added feature to allow including extension as part of folder name... Requested feature.
386General plotting tool - allowed use of qrs data without errors (requested)... Needed major change of support function IR1_ListOfWaves and IR1_GenStringOfFolders where I needed to add switch to allow use of the qr data only. Potential for major problems..
387General plotting tool - Corrected names for ploted functions, added ln(Y) (requested)...
388General plotting tool - added option to offset data horizontally and vertically...
389General ploting tool - fixed bug when sometimes text was printed on graph accidentally...
390Data manipulations - allowed use of data without errors in qrs data.
391Unified - fixed minor bug in local fits which displayed wrong locall fits after fitting...
392Form factors - attempted to fix problem with Core Shell models - both spheres as well as cylinders (aka tubes). Needed to update also GUI and may have caused many problems. Need to fix...
393
394
3952.04    December 2004
396!!!!!! Moved package to "Irena" folder from "Irena 1" and also moved the Styles and Compounds folder to "Irena_xxxx"...
397Removed following functions: IR1R_SelectShapeModel, IR1U_StyleButtonCotrol, IR1_CalcIntgPr_x_Vr, IR1_CalcWidthOfBin, IR1_LogLogPlotStyle
398Added list of form factors - and verified function. Have removed non functioning integrated alg spheroid and fixed few bugs found.
399Added Unified form factors by Dale Schaefer... Added also cylinderAR and Unified_cylinerAR - both use aspect ratio instead of length...
400Enabled Unified to use smeared data... Whole Unified now works USING desmeared data parameters, but will happily use smeared data... Note, that now the slopes may not agree - the Porod in smeared data is -3. But P will be 4! Note, thsi tool now can be used for desearing...
401Added feature - graphs now should have time and data stamp. For General geraph it is optional (switch on "Graph details").
402Fixed bug when in LSQF when recovering the popups and controls were not set correctly
403Returned back the log notebook menuitem, fixed bug for loging LSQF, but I think it is the only LSQF & Unified which makes record. Need to add the others. 
404Fixed bug in Data manipulation, where single quotes ' were added to new data names, which was wrong and caused problems. Added some cleanup for teh names, so user cannot really screw up...
405Fixed small bug in note in Desmearing, where the name of waves with results was not properly written in... Caused problems in other tools.
406Gels tool -fixed error in initialization (background error variable was not created).
407Added capability to call directly SMR data in Data manipulation tool...
408Added capability to call directly SMR data in General Graph tool.
409Added reset tool for Unified (requested)
410Added in Unified display of single level of Unified (included in local fits display) to aid users in how the unified level looks.
411Set default RgCutoff for all levels to 0.
412
4132.03
414Fixed bug which caused Number Distribution from sizes to be set to 0...
415Found major bug for desmearing - one index was wrong and the last point was screwed up. this caused problems for data, which did not terminate in flat background (USANS, desktop USAXS) and caused major crash of the desmear routine.
416Added capability to use User defined form factor and volume for the particle in both Sizes and LSQF package. Checked following form factors;
417        spheres, cylinder, algebraic cylinder   - found OK
418        algebraic disk - have problems with it.
419Changed one of general procedures to work more reasonably, but this caused major flurry of bugs in folder selection throughout the package. Should be all removed?
420Fixed bug when using slit smeared data in models which caused error - the temporary folder may have not existed, if slit smearing was not run before.
421Sizes - fixed bug withloading slit smeared data...Changed little bit the GUI.
422Added function which should (on both PC and Mac) open Irena manual in default pdf reader. Not much checking done, so this function may fail under non-standard conditions.
423Desmearing - For USAXS data (Indra2) added button for next sample, so user does not have to select any more folders and can go through all samples in row.
424General ploting tool - Added tool to calculate area under the curve - volume or number of particles for size distributions.
425                - fixed saving Igor recreation macro
426Added some basic SAXS ploting tools - place in graph line with some slope and fit line and powerlaw... These came from USAXS macros and previously from Gregg Beaucage.
427Major source of possible bugs - changed behavior of IN2G_FindFoldersWithWaveType function, now the * needs to be included with the string to search for....
428Added tool for Debye-Bueche modeling of polymers.
429
4302.02
431Minor fix for desmearing listed above, not included other fixes listed above...
432
4332.01
434LSQF - Added option to use smeared data. Internally smeares the data with provided slit length. Should work fine with fitting... Fixed problem in LogNormal Dist, when SDeviation was >1.3 or so. Volume step is now changing (step 0.03) with the value. Few bug fixes of minor nature.
435Data manipulation tool - added automatic creation of errors for spline smoothing, so data which do not contain erros can be spline smooth. Asigned 0.005* vlaue as error. This error does not get propagated further and is removed after spline smoothing.
436Desmearing - fixed bug causing problems when creating error bars for desmeared data and used smoothing on range of data.
437           -  added few more features in way the desmearing can be done (run preselected number of iterations, iterate until average normalized residual is < selected number...). Added modified way the desmearing can be run - "dampeneed"...
438General graph - fixed bug with wave selection for "irena 1 result" - name was incorrect, could not find some folders... FIxed recording of parameters related to use of interferences
439Modified manual with help of Pete Jemian.
440
4412.00
442Common for sizes and Standard models:
443Use of common library or form factors and method to calculate intensity - through G  matrix. This should make it much easier to add new shapes if needed...
444
445Sizes:
446Added different shapes using Pete's code - seems to work, was not verified independently....
447Modified Sizes graph view and added button to calculate volume of scatterers...
448Regularization - changed D_matrix calculation to MatrixOp - speed increase at least 30x in this step...
449Fixed bug when Data selection for Sizes would not work for really short weird names...
450Control of diamter and volume axis - provide log scaling through checkbox.
451
452Standard models:
453Allow export of separate population distributions.
454Standard models LSQF - fixed bug which caused controls to be put under some conditions into graph instead of panel...
455Setting cursors to wrong wave will nto cause problems now...
456Internally the code now calculates using either number distribution OR volume distribution. Previously used only number distributions, which caused some artefacts sometimes...
457Mimnimum volume set to 1e-5, basic number of bins increased.
458Fixed bug for step in one of teh setVariables.
459Changed names of parameters for particle size distribtions to more common names, specific for each distribution type. Very messy, but hopefully user friendly. 
460
461General Plotting tool:
462FIxed bug in General ploting tool which caused that under some conditions the set variable for strings/variables was set into the graph instead of panel...
463Modified names for wave pull down menus in General ploting tool...
464Remove data in general plot did not update graph when data were removed. Fixed.
465Fixed bug causing small panels to disappear on change.
466Fixed bug in grid checkboxes, they were controlling the other axis than name indicated...
467
468Data manipulation
469Internal modification of code for Data manipulation... Moved internal controls, seems to be working. Needs more checking.
470Added option to pass through Data 2 set, so the user can save each component separately and also save combined data. Requested feature.
471Changed order of user input for results wave names to be Q/I/E...
472Added Spline smoothing.
473
474Others:
475Added more text to screen size checking, which should advise users on 1024x768 screens.
476All control panels now should have more user friendly names...
477Now checking for latest version of Igor 4 - 4.09. Had problems with macros not compiling on 4.02... Force users to update to 4.09...
478Many bugs in LSQF-User models to list...
479
480Desmearing:
481Added Spline smoothing.
482Modification for desmearing - switches between fast and slow mode on fly to work on USANS data also...  Added user controls for this so user can switch as he/she wishes...
483Added starting guesses for power law fit... Wavemetrics method failed badly under some conditions...
484Changed where data are searched when Indra 2 data are slected (requested feature). No need to have data in root:USAXS folder anymore... ALl folders are searched for tripplets with SMR_xxx waves...
485Fixed bug in General ploting tool when the automatic wave selection for Indra 2 data failed for M_DSM waves...
486
487Fractals:
488Fixed bug with limits for internal number of poitns for iteration, which was plainly wrong...
489*******************************************************
490*******************************************************
491*******************************************************
4921.60a
493Fixed font call in Button which caused problems on Mac OS10. Changed CromerLiberman package to be within the Irena 1 folder and use Irena standard function name template.
494
495Version 1.60
496Scattering contrast calculator with CromanLiberman code for anomalous effects. Should provide all functionality of previous (old) version. ALos stored compounds are now saved in Igor Procedures subfolder, not in subfolder of Irena1. This should be  safe place for it on Macs...
497Fixed nasty bug in control commands for many tools introduced in previous release by modification of one common procedure.
498
499
500Version 1.53
501Sizes - fix for cases when user canceled in the middle of run and did not clean waves properly. Increased default number of iterations to 100. Fast computers.
502Ploting tool - Changed where styles are stored. This should fix problems with updating the macros on Mac, when replacing the folder on Mac would wipe out stored styles for user... Chnaged axis description in puldowns from q and I to X and Y... The tool can display also different data than Intensity vs q. Changed use to q instead of Q.
503Scattering contrast calculator - stores now data in different folder in User Procedures to avoid danger on Macs, that updating macros by replacing folder wipes out stored compounds...
504All - changes font and font size for all buttons to Times and 10 pnts.
505
50612/17/2003
507Version 1.52
508Requested feature - added checkbox for export of local fits from Unified. Allows to switch on and off this feature.
509
51012/11/2003
511Version 1.51
512Typos in new code. Standard bug fixes with wave names etc...
513Fixed numerical error in Fractal model.
514
51512/8/2003
516Version 1.50 Major update - new feature added
517Added Fractal model by Andrew Allen, read the manual for this piece of code... Careful, when using, this is still under development.
518Modified functions to enable loading "BKG_Int" etc (Indra 2) waves as part of Indra 2 data structure...
519Added capability to display results (both Int/Q fits and Size distributions) in the General graph... Will have to polish interface for this in the future.
520General plotting tool - added capability to export tiff and jpg files, save my own (Irena 1 ploting tool) recreation macros etc.
521In various panels now the step used in click up/down for variables will also changet the step for next clisk to either 10% or 5% of the value currently set in the variable. This gives "dynamic" steps, necessary for variables which change a lot (radius, background,...).
522
523--------------------------------------------
52410/29/2003
525Version 1.35
526Added subtract background from data in Unified. Requested feature.
527
52810/23/2003
529Version 1.34
530All tools - reduced necessary screen height available to minimum necessary for panels to be fully on the screen.
531Ploting tool - changed default plot style to log-log plot with axis description. Should fix problems seen on Igor 5 (beta).
532Ploting tool - Fixed bug which caused corruption of data records if user tried to import wrongly selected data.
533Standard models - added saving of interference parameters (and recovery)
534Standard models - fixed shape step issue (at startup was set incorrectly due to typo).
535Standard models - added power-law size distribution for fractal materials. This is being worked on so it WILL change in future releases... Use at your own peril.
536Data manipulation - added rebinning. Can now reduce number of points by integer number. Removes points, does not do integration...
537Unified - will now save also local fits into original data folder (requested feature).
538Unified - work around Igor bug in 4.08 version which caused crash of Igor when recovering some of the saved unified fits.
539Desmearing - Fixed bug (hopefully) which crashed Igor. CursonMovedHook function was causing troubles.
540Import data - Fixed bug - conversion to A-1 from nm-1 when loading Qs in nm-1 was wrong.
541
542
5439/16/2003
544Version 1.32
545Finished version 1 of scattering contrast calculator. Alows to save and load compounds now...
546
5478/21/2003
548Version 1.31
549Patched few cosmetic problems. Nothing major...
550
5518/19/2003
552Version 1.30
553Dixed bug in Data Manipulations routine, which caused troubles under some conditions of Q overlap, when data were subtracted or summed...
554
5558/7 2003
556Version 1.29
557Minor bug fix of scattering contrast calculator... Fixed N problem and recalcualtion when matrix is changed...
558
559
5608/1/2003
561Version 1.27
562Created Scattering contrast calculator. Working on creating tables of X-ray and neutron preporeties of elements... A lot on numbers. Source - Periodic table from Alpha Aesar (element weights) and Kostorz book for neutrons.
563Added check for the tools, which checks for screen size (in pixles) and will prevent tools to run if the screen height is not large enough for them...
564
5657/11/2003
566modified Unified model RGCO starting values to 0 for all levels, users routienly do not have any clue what this parameter means and the value of 0 will cause less disastrous consequences.
567Fixed help in UNIFIED Pack.
568Fixed bug in fitting in General plotting tool, which caused non-fatal error in linear fit.
569
570current version 1.26 from 7/7/2003
Note: See TracBrowser for help on using the repository browser.