#ifndef TAPER_SOLAR_SHRINKAGE_04_01_2008 #define TAPER_SOLAR_SHRINKAGE_04_01_2008 /** @file TaperSolarShrink.cpp @author Brian Magill @datecreated 4/01/2008 $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: tapers the beginning of the solar shrinkage profile */ //---------------------------------------------------------------------- // #include class TaperSolarShrink { private: int taperSize; public: TaperSolarShrink(int n = 1):taperSize(n) { } TaperSolarShrink(TaperSolarShrink const& rhs): taperSize(rhs.taperSize) { } TaperSolarShrink& operator = (TaperSolarShrink const& rhs ) { if (this == &rhs) return *this; taperSize = rhs.taperSize; return *this; }; ~TaperSolarShrink() { } /// /// Smooths values over an 2*n interval (leaves end areas alone /// /// @param signal - signal to be smoothed /// void operator()(std::valarray const &inSignal, std::valarray &outSignal); }; #endif