Skip to the navigation links
Last modified: December 2009

URL: http://cxc-newtest.cfa.harvard.edu/ciao4.2/pix_get_grating_angle.html
AHELP for CIAO 4.2

pix_get_grating_angle

Context: pixlib

Synopsis

Return the grating angle of the currently-selected grating arm.

Syntax

Double_Type pix_get_grating_angle()

Description

Return the grating angle for the current grating arm, in degrees.

The pixlib module is not available by default; to use it in a S-Lang program, it must be loaded using the S-Lang require() function:

  require("pixlib");

Example

slsh> require( "pixlib" );
slsh> pix_init_pixlib;
slsh> pix_set_grating( "HEG" );
slsh> pix_get_grating_angle;
-5.205
slsh> pix_set_grating( "MEG" );
slsh> pix_get_grating_angle;
4.755

Bugs

See the bugs page for the pixlib library on the CIAO website for an up-to-date listing of known bugs.

See Also

modules
pixlib
pixlib
pix_get_flength, pix_get_fp_scale_in_asec, pix_get_grating_period, pix_get_rowland

Last modified: December 2009