SANSMask - conversion tool for SASProFit program (c) Jan Saroun, saroun@ujf.cas.cz ================================================ This utility provides means for masking 2D SANS data and convert them to the format accepted by the data fitting program SASProFit (http://neutron.ujf.cas.cz/SAS). On input, it accepts files produced by preliminary treatment with the BerSANS program - (anisotropic format). For SASProFit, the data should be calibrated to dimensionless scattering probabilities (thickness*dSigma/dOmega), so you have to check the "wight by thickness" option of the "Settings" menu. Masking: ======== On loaded data, use mouse left button to mask pixels and right button to unmask them. The mask can be inverted. Therefore when creating mask for instrumental curve, it is more easy to mask the direct beam and then to invert the mask. You can save/load created mask. Conversion: ============ Edit Settings/Include header form if you wish to include some optional header items (tooltip help is associated with some fields). At least thickness should be defined, though it can be entered manually in SASProFit program as well. In summary, conversion consists of - Loading data files - Masking pixels, or applying a previously saved mask (File/Load mask) - Save masked data For treating multiple data, the program can execute a command file, which can look like: # load mask to be applied to all subsequent data mask=4m.msk # thickness to be applied to all subsequent data thickness=0.213 # filename of data to be converted, without extension. A0_4m thickness=0.210 A4_4m mask=4m_instr.msk thickness=1.0 instr_4m Use the dialog "File/Execute command file", open the job file and define input and output file extensions. You can modify the job before starting. All files should appear in the current directory. Included example files ======================== *.msk ... mask files *.dat ... data files as produced by BerSANS *.d2 ... converted files suited for data fitting with SASProFit *.inp ... job file for SANSMask