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

Herbert J. Bernstein yaya at bernstein-plus-sons.com
Sun Aug 15 22:51:41 BST 2010


And a 0.9.1 version is also available:

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

=====================================================
  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 at dowling.edu
=====================================================

On Sun, 15 Aug 2010, Herbert J. Bernstein wrote:

> 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 at 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 at 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
>>> 
>


More information about the imgcif-l mailing list