Jpp 19.3.0
the software that should make you happy
|
Implementation of point source morphology. More...
#include <JMorphology.hh>
Public Member Functions | |
virtual std::istream & | read (std::istream &in) override |
Read source morphology from input stream. | |
virtual std::ostream & | write (std::ostream &out) const override |
Write source morphology to output stream. | |
virtual JSourceLocation | get () const override |
Get location on sky. | |
const JSourceLocation & | getSourceLocation () const |
Get source location. | |
operator JAngle3D () const | |
Type conversion operator. | |
double | getDeclination () const |
Get declination. | |
double | getRightAscension () const |
Get right ascension. | |
double | getDot (const JSourceLocation &location) const |
Dot product. | |
void | set (const angle_type_deg &angle) |
Convert angle. | |
bool | equals (const angle_type &angle, const double precision=std::numeric_limits< double >::min()) const |
Check equality. | |
Static Public Member Functions | |
static std::istream & | read (std::istream &in, JSourceLocation &source) |
Read source location in degrees from input stream. | |
static std::ostream & | write (std::ostream &out, const JSourceLocation &source) |
Write source location in degrees to output stream. | |
Protected Attributes | |
double | _theta_ |
double | _phi_ |
Implementation of point source morphology.
Note that all input angles are in degrees.
Definition at line 127 of file JMorphology.hh.
|
inlineoverridevirtual |
Read source morphology from input stream.
in | input stream |
Implements JASTRONOMY::JMorphology.
Definition at line 136 of file JMorphology.hh.
|
inlineoverridevirtual |
Write source morphology to output stream.
out | output stream |
Implements JASTRONOMY::JMorphology.
Definition at line 148 of file JMorphology.hh.
|
inlineoverridevirtual |
Get location on sky.
Implements JASTRONOMY::JMorphology.
Definition at line 159 of file JMorphology.hh.
|
inlineinherited |
|
inlinestaticinherited |
Read source location in degrees from input stream.
in | input stream |
source | source |
Definition at line 71 of file JMorphology.hh.
|
inlinestaticinherited |
Write source location in degrees to output stream.
out | output stream |
source | source |
Definition at line 90 of file JMorphology.hh.
|
inlineinherited |
Type conversion operator.
Definition at line 496 of file JAstronomy.hh.
|
inlineinherited |
Get declination.
Definition at line 502 of file JAstronomy.hh.
|
inlineinherited |
Get right ascension.
Definition at line 503 of file JAstronomy.hh.
|
inlineinherited |
Dot product.
location | source location |
Definition at line 512 of file JAstronomy.hh.
|
inlineinherited |
Convert angle.
angle | angle [rad] |
Definition at line 293 of file JAstronomy.hh.
|
inlineinherited |
Check equality.
angle | pair of angles |
precision | precision |
Definition at line 194 of file JAstronomy.hh.
|
protectedinherited |
Definition at line 250 of file JAstronomy.hh.
|
protectedinherited |
Definition at line 251 of file JAstronomy.hh.