Jiffies: Difference between revisions

Jump to navigation Jump to search
249 bytes added ,  3 July 2019
no edit summary
(get rid of sortlattices alias)
No edit summary
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
Here is a one-liner for your .cshrc :
Here is a one-liner for your .cshrc :


  alias scalefactors "egrep ' .....   0 ...... ........   .. .....   ....   ... ...... ......' INTEGRATE.LP"
  alias scalefactors "egrep '^ ..... ..[0-9] ...... ........ .... ...... ....... ..... ........ ........' INTEGRATE.LP"


In sh/bash/ksh/zsh syntax this would be:
In sh/bash/ksh/zsh syntax the latter would be:


  alias scalefactors='egrep " .....   0 ...... ........   .. .....   ....   ... ...... ......" INTEGRATE.LP'
  alias scalefactors="egrep '^ ..... ..[0-9] ...... ........ .... ...... ....... ..... ........ ........' INTEGRATE.LP"


which could go into ~/.bashrc (or should it go into .login or .profile?)  
which could go into ~/.bashrc (or should it go into .login or .profile?)  
Line 13: Line 13:
''scalefactors'' finds those lines in INTEGRATE.LP which match a certain pattern of blanks and non-blanks. These are just the lines printed during the INTEGRATE step for each frame. It is very useful (e.g. to find shutter problems, or to "see" the crystal die from radiation damage) to run  
''scalefactors'' finds those lines in INTEGRATE.LP which match a certain pattern of blanks and non-blanks. These are just the lines printed during the INTEGRATE step for each frame. It is very useful (e.g. to find shutter problems, or to "see" the crystal die from radiation damage) to run  
  scalefactors > frames.scales
  scalefactors > frames.scales
and to plot the scale factors and mosaicity and beam divergence of each frame in gnuplot.
and to plot the scale factors, mosaicity and beam divergence of each frame in gnuplot.


This can be done by
This can be done by
Line 28: Line 28:


If you do have bad outliers (e.g. shutter didn't open), and decide that you for now simply want to remove those frames, then you could rename the frames (just append ".bad" to the name), and re-run XDS from the INTEGRATE step.
If you do have bad outliers (e.g. shutter didn't open), and decide that you for now simply want to remove those frames, then you could rename the frames (just append ".bad" to the name), and re-run XDS from the INTEGRATE step.
* Please note that mosaicity is the unrefined mosaicity. The refined mosaicity values for each integrated batch (nine values for different regions on the detector) can be found in the lines containing the string "SIGMAR (degrees)".


----
----
2,652

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.

Navigation menu