Action #502

Updated by Knödlseder Jürgen over 11 years ago

Here a list of the methods implemented in the derived class of @GModelSpatial@:

@GModelRadial@:
* @virtual double eval(const double& theta) const = 0;@
* @virtual double eval_gradients(const double& theta) const = 0;@
* @virtual double theta_max(void) const = 0;@
* @double ra(void) const;@
* @double dec(void) const;@
* @GSkyDir dir(void) const;@
* @void dir(const GSkyDir& dir);@

Note: the @ra()@, @dec()@, and @dir()@ methods can be implement on the level of @GModelSpatial@ as each spatial model has some kind of center or direction. It is up to the derived classes to see how this is interpreted.

@GModelRadialDisk@:
* @double radius(void) const;@
* @void radius(const double& radius);@

Note: these methods are just luxury as the parameter access can also be done using the parameter access operators.

@GModelRadialGauss@:
* @double sigma(void) const;@
* @void sigma(const double& sigma);@ sigma);

Note: these methods are just luxury as the parameter access can also be done using the parameter access operators.

@GModelRadialShell@:
* @double radius(void) const;@
* @double width(void) const;@
* @bool small_angle(void) const;@
* @void radius(const double& radius);@
* @void width(const double& width);@
* @void small_angle(const bool& small_angle);@

Note: the @radius()@ and @width()@ methods are just luxury as the parameter access can also be done using the parameter access operators. The @small_angle()@ methods are very low-level.

@GModelSpatialConst@:
None

@GModelSpatialCube@:
None

@GModelSpatialMap@:
None

@GModelSpatialPtsrc@:
* @double ra(void) const;@
* @double dec(void) const;@
* @GSkyDir dir(void) const;@
* @void dir(const GSkyDir& dir);@

Note: the @ra()@ and @dec()@ methods are just luxury as the parameter access can also be done using the parameter access operators. The @dir()@ method is also some luxury as the same can be achieved by @ra()@ and @dec()@.

Back