public static IFitFunction CreateGeneralFunctionOfOmega() { KohlrauschSusceptibility result = new KohlrauschSusceptibility(); result._useFrequencyInsteadOmega = false; result._useFlowTerm = true; result._isDielectricData = true; return result; }
public virtual void Serialize(object obj, Altaxo.Serialization.Xml.IXmlSerializationInfo info) { KohlrauschSusceptibility s = (KohlrauschSusceptibility)obj; info.AddValue("UseFrequency", s._useFrequencyInsteadOmega); info.AddValue("FlowTerm", s._useFlowTerm); info.AddValue("IsDielectric", s._isDielectricData); }
public virtual object Deserialize(object o, Altaxo.Serialization.Xml.IXmlDeserializationInfo info, object parent) { KohlrauschSusceptibility s = o != null ? (KohlrauschSusceptibility)o : new KohlrauschSusceptibility(); s._useFrequencyInsteadOmega = info.GetBoolean("UseFrequency"); s._useFlowTerm = info.GetBoolean("FlowTerm"); s._isDielectricData = info.GetBoolean("IsDielectric"); return(s); }
public static IFitFunction CreateDielectricFunctionOfOmega() { KohlrauschSusceptibility result = new KohlrauschSusceptibility(); result._useFrequencyInsteadOmega = false; result._useFlowTerm = true; result._isDielectricData = true; return(result); }
public static IFitFunction CreateDielectricFunctionOfFrequency() { var result = new KohlrauschSusceptibility { _useFrequencyInsteadOmega = true, _useFlowTerm = true, _isDielectricData = true }; return(result); }
public virtual object Deserialize(object o, Altaxo.Serialization.Xml.IXmlDeserializationInfo info, object parent) { KohlrauschSusceptibility s = o != null ? (KohlrauschSusceptibility)o : new KohlrauschSusceptibility(); s._useFrequencyInsteadOmega = info.GetBoolean("UseFrequency"); s._useFlowTerm = info.GetBoolean("FlowTerm"); s._isDielectricData = info.GetBoolean("IsDielectric"); s._invertViscosity = info.GetBoolean("InvertViscosity"); s._numberOfRelaxations = info.GetInt32("NumberOfRelaxations"); s._invertResult = info.GetBoolean("InvertResult"); s._logarithmizeResults = info.GetBoolean("LogarithmizeResults"); return(s); }