Skip to content
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

Colorfill plot gives large gap for MARI when converted to DeltaE #5433

Closed
martyngigg opened this issue Jan 20, 2012 · 1 comment
Closed

Colorfill plot gives large gap for MARI when converted to DeltaE #5433

martyngigg opened this issue Jan 20, 2012 · 1 comment
Assignees
Milestone

Comments

@martyngigg
Copy link
Member

The script below converts a MARI file to SpectrumNo/DeltaE and plots a 2D plot.

There is a large white gap at the bottom that should not be there.

from DirectEnergyConversion import setup_reducer

reducer = setup_reducer('MARI')
ei = 11
reducer.energy_bins = [-11,0.05,11]
# Disable auto save
reducer.save_formats = []
reducer.map_file = 'mari_res.map'

mono_run = 11015
white = 11060
# Diagnostics
reducer.diagnose(white, sample=mono_run)
delta_e = reducer.convert_to_energy(mono_run=mono_run, ei=ei, white_run=white)
m = importMatrixWorkspace(delta_e.getName())
m.plotGraph2D()
@martyngigg martyngigg self-assigned this Jun 3, 2015
@martyngigg martyngigg added this to the Release 2.0 milestone Jun 3, 2015
@martyngigg
Copy link
Member Author

This issue was originally trac ticket 4586

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant