/***************************************************************************
                          sinusoid.h  -  description
                             -------------------
    begin                : jue ene 2 2003
    copyright            : (C) 2003 by 
    email                : 
 ***************************************************************************/

/***************************************************************************
 *                                                                         *
 *   This program is free software; you can redistribute it and/or modify  *
 *   it under the terms of the GNU General Public License as published by  *
 *   the Free Software Foundation; either version 2 of the License, or     *
 *   (at your option) any later version.                                   *
 *                                                                         *
 ***************************************************************************/

 // Sinusoid.h: interface for the CSinusoid class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_SINUSOID_H__48A6CB59_D7BA_4FD2_BE7F_57F6CC68CC16__INCLUDED_)
#define AFX_SINUSOID_H__48A6CB59_D7BA_4FD2_BE7F_57F6CC68CC16__INCLUDED_

#include "kryonmr_export.h"
#include "fidarray.h"

class KRYONMR_EXPORT CSinusoid  
{
public:

	CSinusoid();
   ~CSinusoid();

public:
	bool NewData(int n);
	int m_multiplicity;
	double m_zamplitude;
	CSinusoid const & operator=(CSinusoid const  & other);
	bool InitData(int n);
	float m_flphase;  //phase of individual fid
	float m_flamplitude; //amplitude of individual fid
	float m_fldecay;  //decay time of individual fid
	float m_flfrequency; //frequency of individual fid
	float m_flt1;   //T1 of each frequency
	float m_J; //coupling constant in Hz
	fidarray m_fdata; //array of points

};

#endif // !defined(AFX_SINUSOID_H__48A6CB59_D7BA_4FD2_BE7F_57F6CC68CC16__INCLUDED_)
