RTC Toolkit  2.0.0
Functions
lisaCamera.cpp File Reference

Implementation of Lisa Camera Fits converter. More...

#include "lisaCamera.hpp"
#include <functional>
#include <CCfits/HDU.h>
#include <CCfits/PHDU.h>
#include <CCfits/PHDUT.h>
#include <CCfits/FITSUtilT.h>
#include <CCfits/ExtHDUT.h>
#include <CCfits/Keyword.h>
#include <CCfits/KeywordT.h>
#include <fmt/format.h>
#include <fmt/printf.h>

Functions

std::valarray< uint16_t > ConvertToPixels (boost::endian::order order, const std::vector< uint8_t > &data)
 Function that converts bytes to 16bit pixels in the correct byte order. More...
 

Detailed Description

Implementation of Lisa Camera Fits converter.

Function Documentation

◆ ConvertToPixels()

std::valarray<uint16_t> ConvertToPixels ( boost::endian::order  order,
const std::vector< uint8_t > &  data 
)

Function that converts bytes to 16bit pixels in the correct byte order.

Parameters
orderbyte order of the pixels
datadata of the pixels