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

11004 find peaks all runs #183

Closed
wants to merge 49 commits into from
Closed

Conversation

VickieLynch
Copy link
Contributor

Fixes issue #11004

Uses all runs for FindPeakMD and does not output peaks that do not map to a detector. To test:

data=Load("CORELLI_1135:1139")
MaskBTP(data,Pixel="1-10,246-256")

MaskBTP(data,Bank="47",Tube="16",Pixel="1-40")

data1=ChangeBinOffset(data,Offset=500,IndexMin=237568,IndexMax=249855)
DeleteWorkspace(data)
data2=ConvertUnits(data1,Target="dSpacing",EMode="Elastic")
DeleteWorkspace(data1)
data3=CropWorkspace(data2,XMin=0.3,XMax=5)
DeleteWorkspace(data2)
SetGoniometer(data3,Axis0="BL9:SampleRotation:phi,0,1,0,1")
mdqsampparts=ConvertToMD(data3,QDimensions="Q3D",dEAnalysisMode="Elastic",Q3DFrames="Q_sample",LorentzCorrection=1,MinValues="-10,-10,-10",MaxValues="10,10,10")
mdqsamp=MergeMD(mdqsampparts)

peaks=FindPeaksMD(InputWorkspace=mdqsamp, PeakDistanceThreshold=1, DensityThresholdFactor=100)

Michael Wedel and others added 30 commits January 6, 2015 10:10
This function inherits from FlatBackground and implements IPoldiFunction1D.
Previously that accounted for around half the UI and source
files, this is just to help keep the directories a little cleaner.

Refs #10960
DanNixon and others added 19 commits January 27, 2015 16:10
Conflicts:
	Code/Mantid/MantidQt/CustomInterfaces/CMakeLists.txt
	Code/Mantid/MantidQt/CustomInterfaces/inc/MantidQtCustomInterfaces/Indirect/ApplyCorr.h
	Code/Mantid/MantidQt/CustomInterfaces/inc/MantidQtCustomInterfaces/IndirectDataAnalysis.ui
	Code/Mantid/MantidQt/CustomInterfaces/inc/MantidQtCustomInterfaces/IndirectDataReduction.ui
	Code/Mantid/MantidQt/CustomInterfaces/src/Indirect/IDATab.cpp
	Code/Mantid/MantidQt/CustomInterfaces/src/Indirect/IndirectDataAnalysis.cpp
	Code/Mantid/MantidQt/CustomInterfaces/src/Indirect/IndirectDataReduction.cpp

Refs #10960
…ldi_1d_spectrum

Feature/10774 calculate poldi 1d spectrum
…shapesphere

Fix Valgrind issue with PeakShapeSphericalTest
…iiv2

Fix broken link in SaveAscii documentation
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

Successfully merging this pull request may close these issues.

None yet

5 participants