{
    "numContribs" : {
        "displayName" : "number of contributions",
        "description" : "Total number of contributions making up a scattering pattern",
        "valueRange" : [1,1e6],
        "default" : 200,
        "isActive" : false 
    },
    "numReps" : {
        "displayName" : "number of repetitions",
        "description" : "Number of independent McSAS results to compute, from which averages and uncertainties are estimated",
        "default" : 100,
        "valueRange" : [1,1e6],
        "isActive" : false 
    },
    "maxIterations" : {
        "displayName" : "maximum iterations",
        "valueRange" : [1,1e100],
	    "default" : 1e5,
        "description" : "Maximum number of iterations allowed before failing.",
        "isActive" : false 
    },
    "histogramBins" : {
        "displayName" : "number of hist. bins",
        "valueRange" : [1,1e6],
	    "default" : 50,
        "description" : "Amount of histogram bins used for distribution visualisation",
        "isActive" : false 
    },
    "convergenceCriterion" : {
        "displayName" : "convergence criterion",
        "valueRange" : [0,Infinity],
        "description" : "Reduced Chi-squared value to reach for optimisation success.",
        "default" : 1.0,
        "isActive" : false 
    },
    "findBackground" : {
        "displayName" : "find background level?",
        "description" : "Adds a constant background level to the model fitting.",
        "default" : true,
        "isActive" : false 
    },
    "histogramXScale" : {
        "displayName" : "X-axis scaling of the histogram",
        "valueRange" : ["linear","log"],
        "description" : "can be 'linear' or 'log' ",
        "default" : "log",
        "isActive" : false 
    },
    "histogramWeighting" : {
        "displayName" : "Number-weighted or Volume weighted distributions",
        "valueRange" : ["number","volume"],
        "description" : "Can be 'number' or 'volume' ",
        "default" : "volume",
        "isActive" : false 
    },
    "deltaRhoSquared" : {
        "displayName" : "Electron density contrast squared",
        "valueRange" : [0,Infinity],
        "description" : "Squared electron density contrast (mind the units!)",
        "default" : 1.0,
        "isActive" : false 
    },
    "startFromMinimum" : {
        "displayName" : "depreciated",
        "description" : "Sets the initial guess to minimal values rather than a uniform dist.",
        "default" : false,
        "isActive" : false 
    },
    "maxRetries" : {
        "displayName" : "Maximum no. of allowed retries",
        "valueRange" : [1,100],
	    "default" : 5,
        "description" : "When the MC method cannot reach convergence, it will try again this number of times.",
        "isActive" : false 
    },
    "maskNegativeInt" : {
        "displayName" : "Masks negative intensity values",
        "description" : "Renders negative intensity values invalid for fitting",
        "default" : false,
        "isActive" : false 
    },
    "maskZeroInt" : {
        "displayName" : "Masks intensity values of 0",
        "description" : "Renders intensity values that are zero invalid for fitting",
        "default" : false,
        "isActive" : false 
    },
    "lowMemoryFootprint" : {
        "displayName" : "Trade speed for a drastically reduced memory footprint",
        "description" : "Should be used when fitting large 2D datasets",
        "default" : false,
        "isActive" : false 
    },
    "doPlot" : {
        "displayName" : "Automatically plot result",
        "description" : "Automatically plots the result upon success",
        "default" : false,
        "isActive" : false 
    },
    "qMin" : {
        "displayName" : "Lower Q-limit",
        "valueRange" : [0,Infinity],
        "description" : "Lower bound of the Q-limits in between which the MC fit should be applied.",
        "default" : 0,
        "isActive" : false 
    },
    "qMax" : {
        "displayName" : "Upper Q-limit",
        "valueRange" : [0,Infinity],
        "description" : "Upper bound of the Q-limits in between which the MC fit should be applied.",
        "default" : Infinity,
        "isActive" : false 
    },
    "psiMin" : {
        "displayName" : "Lower Psi-limit (2D only)",
        "valueRange" : [0,Infinity],
        "description" : "Lower bound of the Psi-limits in between which the MC fit should be applied (2D only)",
        "default" : 0,
        "isActive" : false 
    },
    "psiMax" : {
        "displayName" : "Upper Psi-limit (2D only)",
        "valueRange" : [0,Infinity],
        "description" : "Upper bound of the Psi-limits in between which the MC fit should be applied (2D only)",
        "default" : Infinity,
        "isActive" : false 
    }

}
                
