About Chandra Archive Proposer Instruments & Calibration Newsletters Data Analysis HelpDesk Calibration Database NASA Archives & Centers Chandra Science Links

Skip the navigation links
Last modified: December 2008

URL: http://cxc.harvard.edu/sherpa4.1/calc_source_sum2d.sl.html
AHELP for Sherpa 4.1

calc_source_sum2d

Context: sl.sherpa

Synopsis

Calculate the unconvolved 2D model amplitudes

Syntax

calc_source_sum2d(; [reg=NULL,id] );

Description

The calc_source_sum2d command calculates the sum of unconvolved source 2D model amplitudes. A region filter can be supplied to restrict the area of the calculation; for information on the CIAO region filtering syntax, refer to "ahelp dmregions".

  • reg - optional region string. If specified, the total sum will be calculated inside the region.
  • id - the id of the dataset to use; if not given, uses the default dataset id (id=1 by default, see "ahelp get_default_id")

Example 1

sherpa> calc_source_sum2d;
sherpa> calc_source_sum2d(;id=2);

Calculate the unconvolved model amplitudes over the entire default dataset. Repeat the calculation for dataset id=2.

Example 2

sherpa> calc_source_sum2d("circle(25,25,10)");

A region string is supplied, so the unconvolved model amplitudes for the default dataset are calculated within the circle.

Bugs

See the bugs pages on the Sherpa website for an up-to-date listing of known bugs.

Last modified: December 2008



The Chandra X-Ray Center (CXC) is operated for NASA by the Smithsonian Astrophysical Observatory.
60 Garden Street, Cambridge, MA 02138 USA.    Email: cxcweb@head.cfa.harvard.edu
Smithsonian Institution, Copyright © 1998-2004. All rights reserved.