Skip to content

Reverse_endian

Adrian Quintana edited this page Dec 11, 2017 · 1 revision

Reverse Endian

Purpose

Transforms the little/big endian representation of the floats so they are converted to the native format of the machine running the program. Should you want to change the representation (regardeles of the native format of the machine running the program) use the-force flag. The Xmipp programs are able to read both floating point representation, so you only need to change the format if a third part application (as SPIDER or the old XMIPP) is needed.

Usage


$ reverse_endian -i ...


Parameters

  • __OR__ Reverse the endian status of a single file

  • __OR__ If no output file is given, then the input one is rewritten

  • `` Reverse the endian status of a bunch of files

  • `` If no output extension is given, then the input ones are rewritten.

  • `` Force the conversion

Examples and notes

Conversion of a single image, overwriting input images


$ reverse_endian -i g0ta0001.xmp


Conversion of a sel file, a new extension is given to output images, ie, if input images are of the like ofg0ta0001.xmp, then the output ones will beg0ta0001.rev


$ reverse_endian -i g0ta.sel -oext rev


Conversion of a single image regardeles of the native format of the machine running the program), overwriting input images


$ reverse_endian -i g0ta0001.xmp -force


--Main.AlfredoSolano - 18 Jan 2007

Clone this wiki locally