public static IFitFunction CreateGeneralFunctionOfOmega()
 {
   KohlrauschSusceptibility result = new KohlrauschSusceptibility();
   result._useFrequencyInsteadOmega = false;
   result._useFlowTerm = true;
   result._isDielectricData = true;
   return result;
 }
示例#2
0
            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);
            }
示例#3
0
            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);
            }
示例#4
0
        public static IFitFunction CreateDielectricFunctionOfOmega()
        {
            KohlrauschSusceptibility result = new KohlrauschSusceptibility();

            result._useFrequencyInsteadOmega = false;
            result._useFlowTerm      = true;
            result._isDielectricData = true;
            return(result);
        }
示例#5
0
        public static IFitFunction CreateDielectricFunctionOfFrequency()
        {
            var result = new KohlrauschSusceptibility
            {
                _useFrequencyInsteadOmega = true,
                _useFlowTerm      = true,
                _isDielectricData = true
            };

            return(result);
        }
示例#6
0
            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);
            }