GLAMERDOC++
Gravitational Lensing Code Library
Public Member Functions | List of all members
SourceBLRSph1 Class Reference

A source representing a BLR with a spherical symmetry and circular orbits. More...

#include <source.h>

Inheritance diagram for SourceBLRSph1:
Inheritance graph
[legend]
Collaboration diagram for SourceBLRSph1:
Collaboration graph
[legend]

Public Member Functions

PosType SurfaceBrightness (const PosType *y) const
 
PosType getTotalFlux () const
 
- Public Member Functions inherited from SourceBLR
void printSource ()
 
virtual PosType getRadius () const
 
PosType getDlDs () const
 
- Public Member Functions inherited from Source
 Source (PosType r, Point_2d x, PosType z, PosType SBlimit, PosType zero_point)
 shell constructor
 
 Source (const Source &s)
 
Sourceoperator= (const Source &s)
 
double SBlimit_magarcsec (double limit)
 convert mag/arcsec^2 to flux units
 
PosType getSBlimit ()
 Gets sb_limit in erg/cm^2/sec/rad^2/Hz.
 
PosType getSBlimit_magarcsec ()
 Gets sb_limit in mag/arcsec^2.
 
PosType getZ () const
 Redshift of source.
 
void setZ (PosType my_z)
 
PosType getRadius () const
 Radius of source in radians.
 
void setRadius (PosType my_radius)
 Reset the radius of the source in radians.
 
Point_2d getTheta () const
 position of source in radians
 
void getTheta (PosType *x) const
 position of source in radians
 
void getTheta (Point_2d &x) const
 position of source in radians
 
void setTheta (PosType *xx)
 Reset the position of the source in radians.
 
void setTheta (PosType my_x, PosType my_y)
 
void setTheta (const Point_2d &p)
 
void setSBlimit (float limit)
 Sets sb_limit in erg/cm^2/sec/rad^2/Hz.
 
void setMagZeroPoint (float zeropoint)
 
double getMagZeroPoint ()
 
PosType changeFilter (std::string filter_in, std::string filter_out, std::string sed)
 Calculates the difference in magnitude when changing the observing filter. More...
 
PosType integrateFilter (std::vector< PosType > wavel_fil, std::vector< PosType > fil)
 Calculates the integral of the filter curve given as an array of (x,y) values. More...
 
PosType integrateFilterSED (std::vector< PosType > wavel_fil, std::vector< PosType > fil, std::vector< PosType > wavel_sed, std::vector< PosType > sed)
 Calculates the integral of the sed multiplied by the filter curve. More...
 
double TEST_surface_brightness (double res, int N)
 test if flux in pixels matches total flux
 
long getID () const
 
void setID (long i)
 

Additional Inherited Members

- Static Public Member Functions inherited from Source
static PosType * getx (Source &source)
 
- Public Attributes inherited from SourceBLR
PosType source_tau
 lag time
 
PosType source_nu
 frequency
 
float source_nuo
 
float source_r_in
 inner radius of BLR
 
float source_r_out
 outer radius of BLR
 
float source_inclination
 inclination of BLR in radians, face on is
 
float source_opening_angle
 
float source_gamma
 
float source_BHmass
 
float source_fK
 fraction of Keplerian velocity in random motions
 
bool source_monocrome
 set to true to integrate over frequency
 
- Protected Member Functions inherited from Source
double flux_to_mag (double flux) const
 
- Protected Attributes inherited from Source
PosType source_r
 charactoristic source size
 
Point_2d source_x
 center of source
 
PosType zsource
 redshift of source
 
PosType sb_limit
 
long id
 
double mag_zero_point
 

Detailed Description

A source representing a BLR with a spherical symmetry and circular orbits.

Member Function Documentation

◆ SurfaceBrightness()

PosType SourceBLRSph1::SurfaceBrightness ( const PosType *  y) const
virtual

Surface brightness of source in grid coordinates not source centered coordinates.

The units shuld be ergs / s / Hz / cm^2

Implements Source.


The documentation for this class was generated from the following files: