New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Horace Replicate Command #12694
Labels
Milestone
Comments
OwenArnold
added
Direct Inelastic
Issues and pull requests related to direct inelastic
Vates
labels
Jun 3, 2015
Re-requested by Russell Ewings. on the 25th August. Important for background correction. |
OwenArnold
added a commit
that referenced
this issue
Aug 27, 2015
Closed
OwenArnold
added a commit
that referenced
this issue
Aug 27, 2015
OwenArnold
added a commit
that referenced
this issue
Sep 8, 2015
OwenArnold
added a commit
that referenced
this issue
Sep 8, 2015
The performance tests currently run in 1.65 seconds on my development machine.
OwenArnold
added a commit
that referenced
this issue
Sep 8, 2015
Use index utils instead of hand-rolled approach. This reduced performance test times by 66%.
OwenArnold
added a commit
that referenced
this issue
Sep 8, 2015
OwenArnold
added a commit
that referenced
this issue
Sep 8, 2015
OwenArnold
added a commit
that referenced
this issue
Sep 8, 2015
OwenArnold
added a commit
that referenced
this issue
Sep 8, 2015
Merged
OwenArnold
added a commit
that referenced
this issue
Sep 8, 2015
No auto conversion beween unique_ptr<T> and shared_ptr<T>. Handle explicitly.
OwenArnold
added a commit
that referenced
this issue
Sep 8, 2015
OwenArnold
added a commit
that referenced
this issue
Sep 8, 2015
OwenArnold
added a commit
that referenced
this issue
Sep 8, 2015
OwenArnold
added a commit
that referenced
this issue
Sep 8, 2015
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This issue was originally TRAC 11856
This ticket is blocks : TRAC11231
Do we really need this? http://horace.isis.rl.ac.uk/Reshaping_etc#replicate
This can be achieved by hand, at the moment, but maybe that's too much work? A python algorithm might be a good start for this.
1 man-week effort
Planned procedure for implementing this
p
,q
,r
,s
be the size of the dimensions in the output. Since we are replicating over the last dimension, we need to shift by (p
xq
xr
) in each our our Output Workspace arrays.p
xq
xr
), output_workspace.getSignalArray() + (i+1)_(p
xq
xr
) ),x
iterators wherex
is the number of bins in the last dimension and jump each one forward by (p
xq
xr
).i
x (p
xq
xr
) in the output workspace and write the same value to each slice point.Keywords: vates-cli
The text was updated successfully, but these errors were encountered: