Ticket #93 (closed: fixed)
Implement a Rebin Algorithm
Reported by: | Nick Draper | Owned by: | Dickon Champion |
---|---|---|---|
Priority: | major | Milestone: | Iteration 6 |
Component: | Keywords: | ||
Cc: | Blocked By: | ||
Blocking: | Tester: |
Description
Look to the implmentations within LibISIS and opengenie for inspiration
Change History
comment:3 Changed 13 years ago by Dickon Champion
1) SimpleRebin generalised to be possible for Workspace1D or Workspace2D Input 2) required implementation of init() function which allocates memory and initializes all arrays to zero (X,Y,E,E2) 3) Workspace_sptr WorkspaceFactoryImpl::create(const std::string& className, const int& NVectors,
const int& XLength, const int& YLength) is now fully implemented and allocates memory for workspace1D, Workspace2D and
Managed Workspace2d, assumption is that Workspace1D will never be so long as to need a managed workspace, exception in place just in case
Note: See
TracTickets for help on using
tickets.
(In [754]) re #93
This is a simple routine to rebin a Workspace1D, it will be changed to rebin a workspace in general in due course. the inputs are simply xlo,delta,xhigh,distribution, which will be changed when the properties can be made to allow array Input