147 imhead_writer->setHduName(hdu_name.
str());
149 imhead_writer->setHduName(
"LDAC_IMHEAD");
156 if (p.second.m_extra.count(
"comment")) {
157 comment = p.second.m_extra.
at(
"comment");
159 if (p.second.m_value.type() ==
typeid(
std::string)) {
160 ldac_imhead.
emplace_back(generateHeader(p.first, boost::get<std::string>(p.second.m_value), comment));
162 ldac_imhead.
emplace_back(generateHeader(p.first, p.second.m_value, comment));
168 ldac_imhead.
emplace_back(generateHeader(
"SPPBKDEV",
m_rms,
"Median background RMS"));
171 generateHistory(ldac_imhead);