Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/feature/9817_more_sphinx_warnings'
Browse files Browse the repository at this point in the history
  • Loading branch information
OwenArnold committed Jul 4, 2014
2 parents d01b3a2 + b8e392d commit f3fc601
Show file tree
Hide file tree
Showing 13 changed files with 20 additions and 20 deletions.
Expand Up @@ -63,7 +63,7 @@ class DLLExport CreateCalFileByNames : public API::Algorithm
/// Algorithm's name
virtual const std::string name() const { return "CreateCalFileByNames"; }
///Summary of algorithms purpose
virtual const std::string summary() const {return "Create a calibration file (extension *.cal) for diffraction focusing based on the names of the components in the instrument tree.";}
virtual const std::string summary() const {return "Create a calibration file (extension .cal) for diffraction focusing based on the names of the components in the instrument tree.";}

/// Algorithm's version
virtual int version() const { return (1); }
Expand Down
Expand Up @@ -59,7 +59,7 @@ class DLLExport CreateDummyCalFile : public API::Algorithm
/// Algorithm's name
virtual const std::string name() const { return "CreateDummyCalFile"; }
///Summary of algorithms purpose
virtual const std::string summary() const {return "Create a calibration file (extension *.cal) from a workspace by harvesting the detector ids from the instrument. All of the offsets will be zero, and the pixels will be all grouped into group one and the final column should be one. This will allow generating powder patterns from instruments that have not done a proper calibration.";}
virtual const std::string summary() const {return "Create a calibration file (extension .cal) from a workspace by harvesting the detector ids from the instrument. All of the offsets will be zero, and the pixels will be all grouped into group one and the final column should be one. This will allow generating powder patterns from instruments that have not done a proper calibration.";}

/// Algorithm's version
virtual int version() const { return (1); }
Expand Down
4 changes: 2 additions & 2 deletions Code/Mantid/Framework/Algorithms/src/MaskDetectorsIf.cpp
Expand Up @@ -53,9 +53,9 @@ void MaskDetectorsIf::init()
"Unary operator to compare to given values. " + allowedValuesStatement(select_operator) );
declareProperty("Value",0.0);
declareProperty(new API::FileProperty("InputCalFile","", API::FileProperty::Load, ".cal"),
"The name of the CalFile with grouping data. Allowed Values: *.cal ." );
"The name of the CalFile with grouping data. Allowed Values: .cal ." );
declareProperty(new API::FileProperty("OutputCalFile","", API::FileProperty::OptionalSave, ".cal"),
"The name of the CalFile with grouping data. Allowed Values: *.cal ." );
"The name of the CalFile with grouping data. Allowed Values: .cal ." );
}

/** Executes the algorithm
Expand Down
4 changes: 2 additions & 2 deletions Code/Mantid/Framework/Algorithms/src/SumSpectra.cpp
Expand Up @@ -47,8 +47,8 @@ void SumSpectra::init()
declareProperty("IncludeMonitors",true,"Whether to include monitor spectra in the summation.");

declareProperty("WeightedSum",false,"Instead of the usual spectra sum, calculate the weighted sum. This has the form: \n"
"<math>nSpectra*\\Sigma(Signal_i/Error_i^2)/\\Sigma(1/Error_i^2)</math>\n This property is ignored for event workspace.\n"
"The sums are defined for <math>Error_i != 0</math> only, so the values with zero error are dropped from the summation. To estimate the number of dropped values see the description. ");
":math:`nSpectra \\times\\Sigma(Signal_i/Error_i^2)/\\Sigma(1/Error_i^2)`\n This property is ignored for event workspace.\n"
"The sums are defined for :math:`Error_i != 0` only, so the values with zero error are dropped from the summation. To estimate the number of dropped values see the description. ");
}

/** Executes the algorithm
Expand Down
Expand Up @@ -188,7 +188,7 @@ namespace Mantid

declareProperty("PeakIndex", 0, "Index of peak in PeaksWorkspace to integrate");

declareProperty("PeakQspan", .06, "Max magnitude of Q of Peak to Q of Peak Center, where |Q|=1/d");
declareProperty("PeakQspan", .06, "Max magnitude of Q of Peak to Q of Peak Center, where mod(Q)=1/d");

declareProperty("CalculateVariances", true ,"Calc (co)variances given parameter values versus fit (co)Variances ");

Expand Down
Expand Up @@ -47,7 +47,7 @@ void LoadPreNexusMonitors::init()
{
// Filename for the runinfo file.
declareProperty(new FileProperty(RUNINFO_FILENAME, "", FileProperty::Load, "_runinfo.xml"),
"The filename of the runinfo file for a particular run. Allowed Values are: *_runinfo.xml");
"The filename of the runinfo file for a particular run. Allowed Values are: _runinfo.xml");

// The output workspace
declareProperty(new WorkspaceProperty<MatrixWorkspace> (WORKSPACE_OUT, "", Direction::Output),
Expand Down
Expand Up @@ -58,7 +58,7 @@ namespace MDAlgorithms
/// Algorithm's name for identification
virtual const std::string name() const;
///Summary of algorithms purpose
virtual const std::string summary() const {return "Create a MDEventWorkspace with selected dimensions, e.g. the reciprocal space of momentums (Qx, Qy, Qz) or momentums modules |Q|, energy transfer dE if available and any other user specified log values which can be treated as dimensions.";}
virtual const std::string summary() const {return "Create a MDEventWorkspace with selected dimensions, e.g. the reciprocal space of momentums (Qx, Qy, Qz) or momentums modules mod(Q), energy transfer dE if available and any other user specified log values which can be treated as dimensions.";}

/// Algorithm's version for identification
virtual int version() const;
Expand Down
Expand Up @@ -97,7 +97,7 @@ namespace MDAlgorithms
declareProperty(
new PropertyWithValue<int>("MinRecursionDepth", 0),
"Optional. If specified, then all the boxes will be split to this minimum recursion depth. 1 = one level of splitting, etc.\n"
"Be careful using this since it can quickly create a huge number of boxes = (SplitInto ^ (MinRercursionDepth * NumDimensions)).\n"
"Be careful using this since it can quickly create a huge number of boxes = (SplitInto ^ (MinRercursionDepth x NumDimensions)).\n"
"But setting this property equal to MaxRecursionDepth property is necessary if one wants to generate multiple file based workspaces in order to merge them later\n");
setPropertyGroup("MinRecursionDepth", getBoxSettingsGroupName());

Expand Down
Expand Up @@ -10,7 +10,7 @@ def category(self):
return "Workflow\\MIDAS;PythonAlgorithms"

def summary(self):
return "Fits and *_iqt file generated by Fury using one of the specified functions."
return "Fits an \*\_iqt file generated by Fury using one of the specified functions."

def PyInit(self):
self.declareProperty(name="InputType", defaultValue="File",validator=StringListValidator(['File', 'Workspace']),
Expand Down
Expand Up @@ -13,16 +13,16 @@ def summary(self):
return "The program estimates the quasielastic components of each of the groups of spectra and requires the resolution file (.RES file) and optionally the normalisation file created by ResNorm."

def PyInit(self):
self.declareProperty(name='InputType',defaultValue='File',validator=StringListValidator(['File','Workspace']), doc='Origin of data input - File (*.nxs) or Workspace')
self.declareProperty(name='InputType',defaultValue='File',validator=StringListValidator(['File','Workspace']), doc='Origin of data input - File (.nxs) or Workspace')
self.declareProperty(name='Instrument',defaultValue='iris',validator=StringListValidator(['irs','iris','osi','osiris']), doc='Instrument')
self.declareProperty(name='Analyser',defaultValue='graphite002',validator=StringListValidator(['graphite002','graphite004']), doc='Analyser & reflection')
self.declareProperty(name='Program',defaultValue='QL',validator=StringListValidator(['QL','QSe']), doc='Name of program to run')
self.declareProperty(name='SamNumber',defaultValue='',validator=StringMandatoryValidator(), doc='Sample run number')
self.declareProperty(name='ResInputType',defaultValue='File',validator=StringListValidator(['File','Workspace']), doc='Origin of res input - File (*_res.nxs) or Workspace')
self.declareProperty(name='ResInputType',defaultValue='File',validator=StringListValidator(['File','Workspace']), doc='Origin of res input - File (_res.nxs) or Workspace')
self.declareProperty(name='ResType',defaultValue='Res',validator=StringListValidator(['Res','Data']), doc='Format of Resolution file')
self.declareProperty(name='ResNumber',defaultValue='',validator=StringMandatoryValidator(), doc='Resolution run number')
self.declareProperty(name='ResNorm',defaultValue=False, doc='Use ResNorm output file')
self.declareProperty(name='ResNormInputType',defaultValue='File',validator=StringListValidator(['File','Workspace']), doc='Origin of ResNorm input - File (*_red.nxs) or Workspace')
self.declareProperty(name='ResNormInputType',defaultValue='File',validator=StringListValidator(['File','Workspace']), doc='Origin of ResNorm input - File (_red.nxs) or Workspace')
self.declareProperty(name='ResNormNumber',defaultValue='', doc='ResNorm run number')
self.declareProperty(name='BackgroundOption',defaultValue='Sloping',validator=StringListValidator(['Sloping','Flat','Zero']), doc='Form of background to fit')
self.declareProperty(name='ElasticOption',defaultValue=True, doc='Include elastic peak in fit')
Expand Down
Expand Up @@ -13,13 +13,13 @@ def summary(self):
return "This is a variation of the stretched exponential option of Quasi."

def PyInit(self):
self.declareProperty(name='InputType',defaultValue='File',validator=StringListValidator(['File','Workspace']), doc='Origin of data input - File (*.nxs) or Workspace')
self.declareProperty(name='InputType',defaultValue='File',validator=StringListValidator(['File','Workspace']), doc='Origin of data input - File (.nxs) or Workspace')
self.declareProperty(name='Instrument',defaultValue='iris',validator=StringListValidator(['irs','iris','osi','osiris']), doc='Instrument')
self.declareProperty(name='Analyser',defaultValue='graphite002',validator=StringListValidator(['graphite002','graphite004']), doc='Analyser & reflection')
self.declareProperty(name='SamNumber',defaultValue='',validator=StringMandatoryValidator(), doc='Sample run number')
self.declareProperty(name='ResInputType',defaultValue='File',validator=StringListValidator(['File','Workspace']), doc='Origin of res input - File (*_res.nxs) or Workspace')
self.declareProperty(name='ResInputType',defaultValue='File',validator=StringListValidator(['File','Workspace']), doc='Origin of res input - File (_res.nxs) or Workspace')
self.declareProperty(name='ResNumber',defaultValue='',validator=StringMandatoryValidator(), doc='Resolution run number')
self.declareProperty(name='ResNormInputType',defaultValue='File',validator=StringListValidator(['File','Workspace']), doc='Origin of ResNorm input - File (*_red.nxs) or Workspace')
self.declareProperty(name='ResNormInputType',defaultValue='File',validator=StringListValidator(['File','Workspace']), doc='Origin of ResNorm input - File (_red.nxs) or Workspace')
self.declareProperty(name='ResNormNumber',defaultValue='',validator=StringMandatoryValidator(), doc='ResNorm run number')
self.declareProperty(name='ElasticOption',defaultValue=True, doc='Include elastic peak in fit')
self.declareProperty(name='BackgroundOption',defaultValue='Sloping',validator=StringListValidator(['Sloping','Flat','Zero']), doc='Form of background to fit')
Expand Down
Expand Up @@ -13,11 +13,11 @@ def summary(self):
return "This algorithm creates a group 'normalisation' file by taking a resolution file and fitting it to all the groups in the resolution (vanadium) data file which has the same grouping as the sample data of interest."

def PyInit(self):
self.declareProperty(name='InputType',defaultValue='File',validator=StringListValidator(['File','Workspace']), doc='Origin of data input - File (*.nxs) or Workspace')
self.declareProperty(name='InputType',defaultValue='File',validator=StringListValidator(['File','Workspace']), doc='Origin of data input - File (.nxs) or Workspace')
self.declareProperty(name='Instrument',defaultValue='iris',validator=StringListValidator(['irs','iris','osi','osiris']), doc='Instrument')
self.declareProperty(name='Analyser',defaultValue='graphite002',validator=StringListValidator(['graphite002','graphite004']), doc='Analyser & reflection')
self.declareProperty(name='VanNumber',defaultValue='',validator=StringMandatoryValidator(), doc='Sample run number')
self.declareProperty(name='ResInputType',defaultValue='File',validator=StringListValidator(['File','Workspace']), doc='Origin of res input - File (*_res.nxs) or Workspace')
self.declareProperty(name='ResInputType',defaultValue='File',validator=StringListValidator(['File','Workspace']), doc='Origin of res input - File (_res.nxs) or Workspace')
self.declareProperty(name='ResNumber',defaultValue='',validator=StringMandatoryValidator(), doc='Resolution run number')
self.declareProperty(name='EnergyMin', defaultValue=-0.2, doc='Minimum energy for fit. Default=-0.2')
self.declareProperty(name='EnergyMax', defaultValue=0.2, doc='Maximum energy for fit. Default=0.2')
Expand Down
2 changes: 1 addition & 1 deletion Code/Mantid/Framework/SINQ/src/PoldiFitPeaks1D.cpp
Expand Up @@ -61,7 +61,7 @@ void PoldiFitPeaks1D::init()
declareProperty(new WorkspaceProperty<Workspace2D>("InputWorkspace","",Direction::Input), "An input workspace containing a POLDI auto-correlation spectrum.");
boost::shared_ptr<BoundedValidator<double> > minFwhmPerDirection = boost::make_shared<BoundedValidator<double> >();
minFwhmPerDirection->setLower(2.0);
declareProperty("FwhmMultiples", 2.0, minFwhmPerDirection, "Each peak will be fitted using x * FWHM data in each direction.", Direction::Input);
declareProperty("FwhmMultiples", 2.0, minFwhmPerDirection, "Each peak will be fitted using x times FWHM data in each direction.", Direction::Input);

std::vector<std::string> peakFunctions = FunctionFactory::Instance().getFunctionNames<IPeakFunction>();
boost::shared_ptr<ListValidator<std::string> > peakFunctionNames(new ListValidator<std::string>(peakFunctions));
Expand Down

0 comments on commit f3fc601

Please sign in to comment.