Discussion List Archives

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

[Imgcif-l] Reading CBF files from Python

Hi Folks,
 
Does anyone know if CBF images can be read from Python? I coded up
something in Python to do this but it's a spot slow to say the least. My
interest is partly in reading the cbf "image" files calculated by XDS to
explain what it has been up to. I could code something up in 'c' or a
bridge to CBFlib but that would be hardish to maintain, so a solution
using existing Python libraries would suit me better.
 
I looked quickly at PyCIFrw but this appears to be mostly about the CIF
side of things rather than the MIME encoded chunks. Please correct me if
I am wrong. I also tried iotbx.detectors.cbf.CBFImage but hit an
exception which probably relates to this being more of a picture than a
diffraction image.
 
Thanks,
 
Graeme
 
Dr. Graeme Winter
Software and MX Support Scientist
Diamond Light Source
 
+44 1235 778091 (work)
+44 7786 662784 (work mobile)
 
 



-- 

This e-mail and any attachments may contain confidential, copyright and or privileged material, and are for the use of the intended addressee only. If you are not the intended addressee or an authorised recipient of the addressee please notify us of receipt by returning the e-mail and do not use, copy, retain, distribute or disclose the information in or attached to the e-mail.

Any opinions expressed within this e-mail are those of the individual and not necessarily of Diamond Light Source Ltd. 

Diamond Light Source Ltd. cannot guarantee that this e-mail or any attachments are free from viruses and we cannot accept liability for any damage which you may sustain as a result of software viruses which may be transmitted in or with the message.

Diamond Light Source Limited (company no. 4375679). Registered in England and Wales with its registered office at Diamond House, Harwell Science and Innovation Campus, Didcot, Oxfordshire, OX11 0DE, United Kingdom

 







_______________________________________________
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.