2cbf: Difference between revisions

Jump to navigation Jump to search
175 bytes added ,  2 April 2020
example
No edit summary
(example)
Line 1: Line 1:
[http://xds.mpimf-heidelberg.mpg.de/html_doc/2cbf_program.html 2cbf] is part of the [[XDS]] distribution. It converts any image file format that is know to XDS to a miniCBF file. This program is also used by [[XDSGUI]].
[http://xds.mpimf-heidelberg.mpg.de/html_doc/2cbf_program.html 2cbf] is part of the [[XDS]] distribution. It converts any image file format that is known to XDS to a miniCBF file. This program is also used by [[XDSGUI]].
 
Example (bash shell):
for i in ../img/*img ; do echo $i; echo $i $i.cbf | 2cbf ; done
This converts all .img files in ../img to miniCBF files with the extension .img.cbf .


For 2cbf to work with the [http://xds.mpimf-heidelberg.mpg.de/html_doc/xds_parameters.html#LIB= LIB=] option, it is mandatory to have a filename like test_123456.xy, i.e. with a 6-digit number and a 2-letter extension. If you want to use LIB= and your filenames do not follow this pattern, just symlink them, and construct the symlinks accordingly: e.g.
For 2cbf to work with the [http://xds.mpimf-heidelberg.mpg.de/html_doc/xds_parameters.html#LIB= LIB=] option, it is mandatory to have a filename like test_123456.xy, i.e. with a 6-digit number and a 2-letter extension. If you want to use LIB= and your filenames do not follow this pattern, just symlink them, and construct the symlinks accordingly: e.g.
2,684

edits

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

Navigation menu