SAOTrace
provides a short cut for raytracing a single point source. All that you need set are the following Lua
variables: name | units | description |
---|---|---|
theta |
arcminutes | The off-axis angle in Mirror Spherical Coordinates |
phi |
degrees | The azimuthal angle in Mirror Spherical Coordinates |
spectrum |
spectrum specification | a spectrum specification |
Note: You cannot mix this short cut with other methods for specifying source parameters. If you do so a source created with these short cuts will be ignored.
trace-nest \ tag=point \ srcpars='theta = 10; phi = 22; spectrum=1.49;' \ limit_type=ksec \ limit=1
point.lua
theta = {10, "arcseconds"} phi = 22 spectrum={ { file = "power-law.rdb", units = "ergs/s/cm2/kev", scale = 0.5, format = "rdb" }, { file = "thermal.rdb", units = "ergs/s/cm2/kev", format = "rdb" } }and
trace-nest
is run as: trace-nest \ tag=point \ srcpars=point.lua \ limit_type=ksec \ limit=1