NAPISD
PAHdb website C++ backend
Loading...
Searching...
No Matches
Curve.cpp
1#include "Curve.h"
2
3Curve::Curve()
4 : _fillcolor("ff000099"), _symbolsize(1), _fill(false), _symbol(0) {
5 type = Type::I_Curve;
6 _x.reserve(8);
7 _y.reserve(8);
8}
9Curve *Curve::clone() const { return new Curve(*this); }
10void Curve::setXAndY(const double x, const double y) {
11
12 _x.clear();
13
14 _x.push_back(x);
15
16 _y.clear();
17
18 _y.push_back(y);
19}
20
21void Curve::setXErr(const double xerr) {
22
23 _xerr.clear();
24
25 _xerr.push_back(xerr);
26}
27
28void Curve::setYErr(const double yerr) {
29
30 _yerr.clear();
31
32 _yerr.push_back(yerr);
33}
Definition Curve.h:11

Since FY2019 the NASA Ames PAH IR Spectroscopic Database is being supported through a directed Work Package at NASA Ames titled: "Laboratory Astrophysics - The NASA Ames PAH IR Spectroscopic Database".
Since FY2023 the NASA Ames PAH IR Spectroscopic Database is being supported through the Laboratory Astrophysics Rd 2 directed Work Package at NASA Ames.
© Copyright 2021-2025, Christiaan Boersma