Discussion List Archives

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Imgcif-l] CBFlib-0.8.1.1 with fix for cbf_get_detector_normal

  • To: "Kaercher, Joerg" <Joerg.Kaercher@bruker-axs.com>
  • Subject: [Imgcif-l] CBFlib-0.8.1.1 with fix for cbf_get_detector_normal
  • From: "Herbert J. Bernstein" <yaya@bernstein-plus-sons.com>
  • Date: Sun, 15 Aug 2010 13:01:18 -0400 (EDT)
  • Cc: imgcif-l@iucr.org
  • In-Reply-To: <alpine.BSF.2.00.1008141809270.77531@epsilon.pair.com>
  • References: <6CBB09E530A398488E07976781F6920320F6B18135@msnmail1.bruker-axs.com><6CBB09E530A398488E07976781F6920320F6AEEE4A@msnmail1.bruker-axs.com>,<alpine.BSF.2.00.1008061644140.18004@epsilon.pair.com><6CBB09E530A398488E07976781F6920320F6AEEE4F@msnmail1.bruker-axs.com><alpine.BSF.2.00.1008061834270.18004@epsilon.pair.com><alpine.BSF.2.00.1008071630110.54506@epsilon.pair.com><alpine.BSF.2.00.1008080901490.97884@epsilon.pair.com><alpine.BSF.2.00.1008111948220.30672@epsilon.pair.com><6CBB09E530A398488E07976781F6920320F6E6E961@msnmail1.bruker-axs.com><alpine.BSF.2.00.1008120949050.46174@epsilon.pair.com><6CBB09E530A398488E07976781F6920320F6ECEB4D@msnmail1.bruker-axs.com><alpine.BSF.2.00.1008121127200.45198@epsilon.pair.com><alpine.BSF.2.00.1008121547380.44368@epsilon.pair.com>,<alpine.BSF.2.00.1008121824540.37128@epsilon.pair.com><6CBB09E530A398488E07976781F6920320F6AEEE7F@msnmail1.bruker-axs.com><alpine.BSF.2.00.1008141809270.77531@epsilon.pair.com>
The cbf_simple routines such as cbf_get_detector_normal were not
applying nested rotations to axis offsets.  A re-release of
CBFlib 0.8.1 as CBFlib 0.8.1.1 with a fix has been posted to
sourceforge

http://downloads.sf.net/cbflib/CBFlib-0.8.1.1.tar.gz

A similar 0.9 re-release is in preparation.  The SVN repository
has been updated for both CBFlib and CBFlib_bleeding_edge.

   -- HJB

=====================================================
  Herbert J. Bernstein, Professor of Computer Science
    Dowling College, Kramer Science Center, KSC 121
         Idle Hour Blvd, Oakdale, NY, 11769

                  +1-631-244-3035
                  yaya@dowling.edu
=====================================================

On Sat, 14 Aug 2010, Herbert J. Bernstein wrote:

> Found it.  The rotation matrices were calculated correctly, but were
> not being applied to any translation vectors.  I need
> to check the order of application of matrices and then I will
> prepare a corrected 0.8.1.1 kit and 0.9.1 kit.  I'll send you and the
> entire imgcif-l list a heads-up when they are ready to try.
>
> Thank you very much for spotting this error.
>
>
> =====================================================
> Herbert J. Bernstein, Professor of Computer Science
>   Dowling College, Kramer Science Center, KSC 121
>        Idle Hour Blvd, Oakdale, NY, 11769
>
>                 +1-631-244-3035
>                 yaya@dowling.edu
> =====================================================
>
> On Fri, 13 Aug 2010, Kaercher, Joerg wrote:
>
>> Here is how I test get_detector_normal.  These tests are made from Python. 
>> First, I read hewlon_01_0001.cbf and print the detector normal:
>> 
>> [-0.0, 0.0, 0.99999999999999989]
>> 
>> Then I edit the CBF and change the _diffrn_scan_axis.angle_start for PITCH 
>> from 0 to 5.  Now I read in the modified CBF and print the detector normal 
>> again:
>> 
>> [-0.0, 0.0, 0.99999999999999989]
>> 
>> Although the detector has been rotated 5 degrees about the Y axis, the 
>> normal still points along Z.
>> 
>> Regards,
>> Joerg
>>
_______________________________________________
imgcif-l mailing list
imgcif-l@iucr.org
http://scripts.iucr.org/mailman/listinfo/imgcif-l

Reply to: [list | sender only]
International Union of Crystallography

Scientific Union Member of the International Science Council (admitted 1947). Member of CODATA, the ISC Committee on Data. Partner with UNESCO, the United Nations Educational, Scientific and Cultural Organization in the International Year of Crystallography 2014.

International Science Council Scientific Freedom Policy

The IUCr observes the basic policy of non-discrimination and affirms the right and freedom of scientists to associate in international scientific activity without regard to such factors as ethnic origin, religion, citizenship, language, political stance, gender, sex or age, in accordance with the Statutes of the International Council for Science.