NAME

flip_axis - flip axis direction in raytrace


PARAMETERS

flip_axis uses the standard parameter interface

input file

Input ray stream. If the filename is the string stdin, it reads the UNIX standard input stream. It accepts rays in bpipe format. The only prerequite on the ray stream is that the ray position (BP_AXAF_phot_pos) field be present.

output file

Output ray stream. If the filename is the string stdout, it writes to the UNIX standard output stream. It writes rays in bpipe format.

axis int

axis to be flipped. NOTE: this operation flips the parity of the coordinate system unless two flip_axis operations are performed.

version boolean

Print out flip_axis's version and exit.

help boolean

Print out help and exit.

debug list

A list of debug flags. None are presently defined.


DESCRIPTION

flip_axis reads a ray stream in bpipe format, flips the sign of the sign of the position component in the axis direction. If the stream contains direction vector information, the sign of the corresponding component of the direction vector is also flipped. The stream is written out as a bpipe formatted ray stream.

Bflip_axis changes the parity of the coordinate system from right-handed to left handed (or left-handed to right-handed.


AUTHOR

T. Gaetz