Skip to content

Commit

Permalink
First round of refactoring. Refs #7378.
Browse files Browse the repository at this point in the history
  • Loading branch information
wdzhou committed Nov 13, 2013
1 parent 6f3b667 commit d609181
Show file tree
Hide file tree
Showing 2 changed files with 461 additions and 280 deletions.
Expand Up @@ -33,6 +33,39 @@ namespace Algorithms
void init();
/// Run the algorithm
void exec();

/// Process input properties
void processProperties();

/// Create output workspace
void determineRrange();

/// Convert inpt to Q[S(Q)-1]
void convertToQSm1();

/// Do Fourier transform
void doFourierTransform();

void postProcess();

/// Input workspace
API::MatrixWorkspace_const_sptr m_dataWS;
/// Input data index
size_t m_wsIndex;
/// Output workspace
API::MatrixWorkspace_sptr outputWS;

/// Q-min
double qmin;
/// Q-max
double qmax;
size_t qmin_index;
size_t qmax_index;

/// Vector of Q[S(Q)-1]
std::vector<double> m_vecQSm1;
/// Vector of error of Q[S(Q)-1]
std::vector<double> m_vecErrQSm1;
};


Expand Down

0 comments on commit d609181

Please sign in to comment.