HOW TO FIT mSR DATA under LINUX Revision 29.06.2005 dimitry.eshchenko@psi.ch Login into pc4243 user: l_musr_gps password: (follow the same logic for the other instrument/beam-line) Open terminal (shell) do ssh zurich@pc3862 with password: Useful scripts: __________________________________________ p2w Converts psi format to wkm format. Type p2w for instructions. trifit initialfile_without_msr_extention. e.g. trifit 0317_ncKubo this will coppy 0317_ncKubo.msr to 0317_ncKubo.mlog and produce two outputs: new 0317_ncKubo.msr and 0317_ncKubo.A ready to use with db01 plotting program. If your *.msr file starts with TITLE trifit will substitute this string by comment string from the nemu file ___________________________________________ ch chain style fitting: type ch for help: bh batch style of fitting for stability reason it is better to use bh e.g. bh 318 318 315 _tf_2gss ___________________________________________ list_runs type list_runs for help makes list of runs and posscript file ___________________________________________ To plot the data: There is a db program which is command interpretor and uses special *.db text files. See ~zurich/doc/*.html documentation. To append new points to *.db file first do rm DB.A do batch fit (see above) include temperature in the fitting result by comment DB.A 1 open in an editor (eg nedit) a *.db file and append 1 to the end of the data (but not to the end of *.db file). If there are problems with db01 program use: short_db infile outfile e.g: short_db Cu_tf_2003.db Cu_tf_2003.DB or short_db1 Cu_tf_2003.db Cu_tf_2003.DB for the "compressed" output _______________ To convert a *.db file to column text file (eg if you want to use Origin) use: db2data _______________ For the mouse lovers: The is a JAVA plot program compatible with *.db text format: open mozilla bookmarks musr_db To make caption click into the place you want and press z !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! HOW TO work on VAX to prepare sequence: open decterm from session manager change to the proper directory with: set def ed0:[dat] copy runs.seq to the other file with copy runs.seq your_file_name open editor with edt your_file_name in edt type c press PF2 for help after you made changes save file with ^z exit or type ^z quit to quit with out saving your changes Finlay copy your file to the default with copy your_file_name runs.seq You have to do it AFTER the current sequence is finished. Open your sequence in td by standard procedure: extras autorun control edit it a little and check the syntactics.