Chandra X-Ray Observatory
	(CXC)
Skip to the navigation links
Last modified: December 2013

URL: http://cxc.harvard.edu/sherpa/ahelp/calc_source_sum2d.html
Jump to: Description · Examples · Bugs · See Also


AHELP for CIAO 4.9 Sherpa v1

calc_source_sum2d

Context: utilities

Synopsis

Calculate the unconvolved 2D model amplitudes

Syntax

calc_source_sum2d( [reg=None,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.

See Also

data
copy_data, dataspace1d, dataspace2d, datastack, delete_data, fake, get_axes, get_bkg_plot, get_counts, get_data, get_data_plot, get_dep, get_dims, get_error, get_quality, get_specresp, get_staterror, get_syserror, group, load_ascii, load_data, load_grouping, load_quality, set_data, set_quality, ungroup, unpack_ascii, unpack_data
filtering
get_filter, load_filter, set_filter
info
get_default_id, list_data_ids, list_response_ids
modeling
clean
plotting
plot_data, set_xlinear, set_xlog, set_ylinear, set_ylog
saving
save_error, save_filter, save_grouping, save_quality, save_staterror, save_syserror
utilities
calc_data_sum, calc_data_sum2d, calc_ftest, calc_kcorr, calc_mlr, calc_model_sum2d, get_rate
visualization
contour, contour_data, contour_ratio, get_ratio, get_resid, histogram1d, histogram2d, image_data, rebin

Last modified: December 2013
Smithsonian Institute Smithsonian Institute

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