Skip to the navigation links
Last modified: December 2009

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

pix_get_grating_period

Context: pixlib

Synopsis

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

Syntax

Double_Type pix_get_grating_period()

Description

Return the grating period for current grating arm, in Angstroms.

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_period;
2000.81
slsh> pix_set_grating( "MEG" );
slsh> pix_get_grating_period;
4001.41

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_angle, pix_get_rowland

Last modified: December 2009