69 double focal_length_mm,
72 bool renderStars =
true,
73 double minSearchRadiusArcmin = 0);
85 m_ImageScaleX = scaleX;
86 m_ImageScaleY = scaleY;
97 static std::vector<SensorDefect>
generateDefects(
int xres,
int yres,
int hotCount,
int coldCount,
98 float hotRate, uint32_t seed = 1);
109 int m_MinPix {65000};
110 float m_ImageScaleX {1.0f};
111 float m_ImageScaleY {1.0f};
113 double flux(
double mag)
const;
114 int addToPixel(INDI::CCDChip *,
int x,
int y,
int val);
115 void drawSkyGlow(INDI::CCDChip *,
float exp_s);
The CCDChip class provides functionality of a CCD Chip within a CCD.
void applyDefects(INDI::CCDChip *chip, const std::vector< SensorDefect > &defects, float exposure_s, int bias) const
int renderFrame(INDI::CCDChip *chip, double ra_j2000_deg, double dec_j2000_deg, double focal_length_mm, double rotation_deg, float exposure_s, bool renderStars=true, double minSearchRadiusArcmin=0)
void setImageScale(float scaleX, float scaleY)
void applyReadoutNoise(INDI::CCDChip *chip, int bias, int maxNoise)
int drawImageStar(INDI::CCDChip *, float mag, float x, float y, float exp_s)
const RenderConfig & getConfig() const
void setConfig(const RenderConfig &cfg)
float imageScaleY() const
SkyRenderer(const RenderConfig &cfg)
static std::vector< SensorDefect > generateDefects(int xres, int yres, int hotCount, int coldCount, float hotRate, uint32_t seed=1)
float imageScaleX() const