#ifndef CALCULATE_DARK_VALUE_4_5_2007 #define CALCULATE_DARK_VALUE_4_5_2007 /** @class CalcDarkValue.h @author Brian Magill @creation date 4/4/2007 $Date:$ $Revision:$ @copyright (©) Copyright 2006 by GATS Inc. 11864 Canon Blvd., Suite 101, Newport News, VA 23606 All Rights Reserved. No part of this software or publication may be reproduced, stored in a retrieval system, or transmitted, in any form or by any means, electronic, mechanical, photocopying, recording, or otherwise without the prior written permission of GATS Inc. @brief Calculates the dark signal offsets for the detector signals */ #include class CalcDarkValue { public: CalcDarkValue() { }; // CalcDarkValue(CalcDarkValue const &rhs):sunsetMode(rhs.sunsetMode) { }; // // CalcDarkValue const & operator =(CalcDarkValue const &rhs) // { // if(this == &rhs) // return *this; // // sunsetMode = rhs.sunsetMode; // // return *this; // }; ~CalcDarkValue() { }; double operator()(std::valarray const &signal) const; double timeAtMin(std::valarray const &signal, std::valarray const &time) const; }; #endif