[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Reply to: [list | sender only]
Re: [Imgcif-l] Creating cbf images with pycbf
- To: yayahjb <yayahjb@gmail.com>
- Subject: Re: [Imgcif-l] Creating cbf images with pycbf
- From: "Herbert J. Bernstein" <yayahjb@gmail.com>
- Date: Sat, 10 Nov 2012 23:16:56 -0500
- Cc: The Crystallographic Binary File and its imgCIF application to image data <imgcif-l@iucr.org>
- DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;h=message-id:date:from:user-agent:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding;bh=v6aWgGqcvmTmBj+avaxvedcMN9o4JdKHJmhE6But2PM=;b=U/z07NdO6TLT7cy9Y4KSx76iUYPGfFyv1jMA/+DQYBkIk/xInHSMM/7+J9oc5W13iXfB5x+0yiDn3jE08mSZoN8ffb8xCNWOPSzwYxg0/3Yon2zWiRNWziWTJTH26rVTA0P+Z3g3U5jN6iwJhdtINcVGmwn4HPA2l3/lT9a7vx+eyBZfCPOvt5YWjKMnti+k+utP67zP0X/2qYcODhykD8ZLe9XpCfjH0PkMLXQIhDEOyyW51cXiH4kn1ZQr2V5gqqefdMtX7h6xZgyT+JbBg0Vo7zpeicR5Md7UJ4DhcMqPpKwKJIWfKN4C0f7hY9/0cxRs0u+ht/pPq2auqvja4g==
- In-Reply-To: <509BF89B.4000200@gmail.com>
- References: <13999B6FC038EB44B067771E3CFBD0914D85688D@EXCHMBX03.fed.cclrc.ac.uk><509BF89B.4000200@gmail.com>
Dear Graeme, I have made a new example that uses setters and writes a byte-offset compressed image. Testing revealed some bugs in the wrapper for some of the setters, so I have also updated the release kit. The whole thing is available on the CBFlib_bleeding_edge svn on sourceforge as well as as a release kit http://downloads.sf.net/cbflib/CBFlib-0.9.2.6.tar.gz Please give it a try and take a look at pycbf/pycbf_test4.py for an example of writing a byte-offset CBF. Let me know if it does what you need. If not, tell me what is missing or wrong and I'll be happy to fix things and add more pycbf examples to the kit. Regards, Herbert P.S. This was a very useful question because it relate to testing the HDF5 changes. On 11/8/12 1:23 PM, yayahjb wrote: > Dear Graeme, > > Right now the pycbf code includes an example of reading a CIF image, > (pycbf_test1.py), but not examples of constructing one from scratch > and writing > it out. Unless one of the others has an example handy already, I'll try > to cobble one together and send you an update next week. This is > mainly > a matter of adding a lot of setters to make_pycbf.w. > > The base for the changes with be the 0.9.2.5 kit. > > Regards, > Herbert > > > On 11/8/12 4:59 AM, Graeme.Winter@Diamond.ac.uk wrote: >> Hi Folks, >> >> Let's just say I had some header text for a CIF image and an array of >> values, is there a way of making a cbf image with byte offset >> compression using pycbf? >> >> Does anyone have an example of this? >> >> Thanks, >> >> Graeme >> >> Dr. Graeme Winter >> Senior Software Scientist >> Diamond Light Source >> >> +44 1235 778091 (work) >> +44 7786 662784 (work mobile) >> >> >> >> >> > > _______________________________________________ imgcif-l mailing list imgcif-l@iucr.org http://mailman.iucr.org/mailman/listinfo/imgcif-l
Reply to: [list | sender only]
- Follow-Ups:
- Re: [Imgcif-l] Creating cbf images with pycbf (Graeme.Winter)
- References:
- [Imgcif-l] Creating cbf images with pycbf (Graeme.Winter)
- Re: [Imgcif-l] Creating cbf images with pycbf (yayahjb)
- Prev by Date: Re: [Imgcif-l] Creating cbf images with pycbf
- Next by Date: Re: [Imgcif-l] Creating cbf images with pycbf
- Prev by thread: Re: [Imgcif-l] Creating cbf images with pycbf
- Next by thread: Re: [Imgcif-l] Creating cbf images with pycbf
- Index(es):