/*------------------------------------------------------------------------------*
 * File Name: Fit1Peak.cpp														*
 * Creation: CPY  10/21/04													    *
 * Purpose: Origin C file for Fit Gaussian/Fit Lorentzian automation			*
 * Copyright (c) OriginLab Corp 2004, 2005										*
 * All Rights Reserved															*
 * 																				*
 * Modification Log:															*
 *	CPY 10/14/06 SEPARATE_OUT_OPERATION_BASE_INTO_SEPARATE_HEADER				*
 *------------------------------------------------------------------------------*/
 
#include <origin.h>
#include "FitCommon.h"

#ifdef _FOR_SMART_LOADING_ONLY
#include <event_utils.h>
#include "wksOperation.h" //---- CPY 10/14/06 SEPARATE_OUT_OPERATION_BASE_INTO_SEPARATE_HEADER
#include "analysis_utils.h"
#include <stats_utils.h>
#include "stats_guis.h"
#include "stats_operations.h"
#endif

#include "NLFitSession.h"
#include "FitNL.h"

//#define PEAK_FUNCTION_NAMES			"Gauss|Lorentz|Asym2Sig|Beta|CCE|ECS|Extreme|GaussAmp|GaussMod|GCAS|Giddings|InvsPoly|LogNormal|Logistpk|PearsonVII|PsdVoigt1|PsdVoigt2|Voigt|Weibull3"

class OC_REGISTERED	FitSigmoidal: public FitNL
{
protected:
	//virtual 
	string GetAnalysisName(int nOption)
	{
		return _L("Fit Sigmoidal");
	}
	// Virtual 
	string GetClassName() {return "FitSigmoidal";}

	//virtual 
	bool GetCategoryFuncNames(TreeNode& trOperation, string& strCategory, string& strFunction, vector<string>& vsFilterList)
	{
		//if(NLFitBase::GetCategoryFuncNames(trOperation, strCategory, strFunction, vsFilterList))
		//	return true;
		strCategory = "Growth/Sigmoidal";
		strFunction = "";
		return false;// indicate Category cannot be changed
	}
};

