Ticket #4876 (closed: fixed)

Opened 9 years ago

Last modified 5 years ago

[IDA] CalcCorr / ApplyCorr - Add Verbose Option

Reported by: Peter Parker Owned by: Martyn Gigg
Priority: major Milestone: Release 2.5
Component: Mantid Keywords: IDA
Cc: spencer.howells@… Blocked By:
Blocking: Tester: Roman Tolchenov

Description

Like other tabs in the interface, add a "Verbose" checkbox to report more detailed debug messages.

Attachments

irs26173_graphite002_red.nxs (1.2 MB) - added by Dereck Kachere 7 years ago.
irs26176_graphite002_red.nxs (1.5 MB) - added by Dereck Kachere 7 years ago.

Change History

comment:1 Changed 8 years ago by Nick Draper

  • Milestone changed from Release 2.1 to Release 2.2

Moved at end of release 2.1

comment:2 Changed 8 years ago by Nick Draper

  • Milestone changed from Release 2.2 to Release 2.3

Moved at the end of release 2.2

comment:3 Changed 8 years ago by Peter Parker

  • Keywords IDA added

comment:4 Changed 8 years ago by Nick Draper

  • Milestone changed from Release 2.3 to Release 2.4

Moved to milestone 2.4

comment:5 Changed 8 years ago by Dereck Kachere

  • Owner changed from Peter Parker to Dereck Kachere
  • Status changed from new to assigned

comment:6 Changed 8 years ago by Dereck Kachere

refs #4863 Activated 'Verbose' option within IDA GUI

Also added the option in the 'Calculate Corrections' and 'Apply Corrections' tabs - refs #4876 - but the functionality still needs to be added.

Changeset: 32283f0988fac223eab2d02c5b564acd3987f420

comment:7 Changed 8 years ago by Nick Draper

  • Milestone changed from Release 2.4 to Release 2.5

Moved at the code freeze for release 2.4

comment:8 Changed 8 years ago by Dereck Kachere

  • Status changed from assigned to accepted

comment:9 Changed 7 years ago by Dereck Kachere

  • Cc spencer.howells@… added

comment:10 Changed 7 years ago by Dereck Kachere

refs #4876 Verbose option now functions in CalcCorr and ApplyCorr

Enabled the tick box and enabled the functionality in the scripts.

Changeset: 8a0dc87959645e17687285ca0345faa5c6bd68bd

comment:11 Changed 7 years ago by Dereck Kachere

refs #4876 Verbose option now functions in CalcCorr and ApplyCorr

Enabled the tick box and enabled the functionality in the scripts.

Changeset: 8a0dc87959645e17687285ca0345faa5c6bd68bd

Changed 7 years ago by Dereck Kachere

comment:12 Changed 7 years ago by Dereck Kachere

refs #4876 Removed comments from lines and corrected spacing

Changeset: 00d6b64d1feb11247afef604907d915f8e9d313b

comment:13 Changed 7 years ago by Dereck Kachere

refs #4876 Removed comments from lines and corrected spacing

Changeset: 00d6b64d1feb11247afef604907d915f8e9d313b

Changed 7 years ago by Dereck Kachere

comment:14 Changed 7 years ago by Dereck Kachere

  • Status changed from accepted to verify
  • Resolution set to fixed

Tester:

  • Open up the Calculate Corrections tab in IDA.
  • Leave Sample Shape as 'Flat'

For each of the attached files and enter the following values:

  • Thickness = 0.5
  • Can Angle to Beam = 0.001
  • Beam Width = 3.0
  • Number Density = 30
  • Scattering cross-section = 2.0
  • Absorption cross-section = 8.0

Select 'Both' in the Plot Output drop-down menu, then 'Run'.

Compare the information in the log when you check and uncheck the 'Verbose' option; more should appear when it is checked.

Do a similar comparison in the Apply Corrections tab. Input the attached files separately in the input boxes and select 'Use Corrections' and 'Use Container' - this uses the files generated in Calculate Corrections so be sure to manage directories.

comment:15 Changed 7 years ago by Gesner Passos

  • Status changed from verify to verifying
  • Tester set to Gesner Passos

comment:16 Changed 7 years ago by Gesner Passos

  • Status changed from verifying to verify
  • Tester Gesner Passos deleted

I'm using ubuntu... and this interface works only on windows http://www.mantidproject.org/IDA:AbsF2P returning to the pool.

comment:17 Changed 7 years ago by Dereck Kachere

Tester, Calculate Corrections uses Fortran routines which are currently only available on Windows (32 & 64 bit).

comment:18 Changed 7 years ago by Dereck Kachere

refs #4876 Verbose option now functions in CalcCorr and ApplyCorr

Enabled the tick box and enabled the functionality in the scripts.

Changeset: 8a0dc87959645e17687285ca0345faa5c6bd68bd

comment:19 Changed 7 years ago by Dereck Kachere

refs #4876 Removed comments from lines and corrected spacing

Changeset: 00d6b64d1feb11247afef604907d915f8e9d313b

comment:20 Changed 7 years ago by Dereck Kachere

refs #4876 Verbose option now functions in CalcCorr and ApplyCorr

Enabled the tick box and enabled the functionality in the scripts.

Changeset: 8a0dc87959645e17687285ca0345faa5c6bd68bd

comment:21 Changed 7 years ago by Dereck Kachere

refs #4876 Removed comments from lines and corrected spacing

Changeset: 00d6b64d1feb11247afef604907d915f8e9d313b

comment:22 Changed 7 years ago by Dereck Kachere

refs #4876 Verbose option now functions in CalcCorr and ApplyCorr

Enabled the tick box and enabled the functionality in the scripts.

Changeset: 8a0dc87959645e17687285ca0345faa5c6bd68bd

comment:23 Changed 7 years ago by Dereck Kachere

refs #4876 Removed comments from lines and corrected spacing

Changeset: 00d6b64d1feb11247afef604907d915f8e9d313b

comment:24 Changed 7 years ago by Nick Draper

  • Status changed from verify to verifying
  • Tester set to Nick Draper

comment:25 Changed 7 years ago by Nick Draper

  • Status changed from verifying to verify
  • Tester Nick Draper deleted

comment:26 Changed 7 years ago by Dereck Kachere

refs #4876 Verbose option now functions in CalcCorr and ApplyCorr

Enabled the tick box and enabled the functionality in the scripts.

Changeset: 8a0dc87959645e17687285ca0345faa5c6bd68bd

comment:27 Changed 7 years ago by Dereck Kachere

refs #4876 Removed comments from lines and corrected spacing

Changeset: 00d6b64d1feb11247afef604907d915f8e9d313b

comment:28 Changed 7 years ago by Dereck Kachere

refs #4876 Verbose option now functions in CalcCorr and ApplyCorr

Enabled the tick box and enabled the functionality in the scripts.

Changeset: 8a0dc87959645e17687285ca0345faa5c6bd68bd

comment:29 Changed 7 years ago by Dereck Kachere

refs #4876 Removed comments from lines and corrected spacing

Changeset: 00d6b64d1feb11247afef604907d915f8e9d313b

comment:30 Changed 7 years ago by Russell Taylor

  • Status changed from verify to verifying
  • Tester set to Russell Taylor

comment:31 Changed 7 years ago by Russell Taylor

  • Status changed from verifying to verify
  • Tester Russell Taylor deleted

Looks like this doesn't work with a Windows debug build (or there's some other problem with my local setup) so I'll have to return this to the pool.

comment:32 Changed 7 years ago by Roman Tolchenov

  • Status changed from verify to verifying
  • Tester set to Roman Tolchenov

comment:33 Changed 7 years ago by Roman Tolchenov

  • Status changed from verifying to reopened
  • Resolution fixed deleted

I am not sure that this relates to this ticket but when I select the Both or Angle plot options I get the following error:

RuntimeError: Currently unable to handle multiple sources for bin plotting. Merging must be done by hand.

at line 20 in '<Interface>' caused by line 205 in 'C:/Users/hqs74821/Work/mantid/Code/Mantid/scripts/Inelastic\IndirectAbsCor.py' caused by line 254 in 'C:/Users/hqs74821/Work/mantid/Build/bin/Release\mantidplot.py'

comment:34 Changed 7 years ago by Martyn Gigg

  • Owner changed from Dereck Kachere to Martyn Gigg
  • Status changed from reopened to accepted

Accepting to reclose while Dereck is away.

comment:35 Changed 7 years ago by Martyn Gigg

  • Status changed from accepted to verify
  • Resolution set to fixed

comment:36 Changed 7 years ago by Roman Tolchenov

  • Status changed from verify to verifying

comment:37 Changed 7 years ago by Dereck Kachere

refs #4876 Verbose option now functions in CalcCorr and ApplyCorr

Enabled the tick box and enabled the functionality in the scripts.

Changeset: 8a0dc87959645e17687285ca0345faa5c6bd68bd

comment:38 Changed 7 years ago by Dereck Kachere

refs #4876 Removed comments from lines and corrected spacing

Changeset: 00d6b64d1feb11247afef604907d915f8e9d313b

comment:39 Changed 7 years ago by Roman Tolchenov

  • Status changed from verifying to closed

Pass this ticket as the error is unrelated to this change. Opened follow up ticket #6952.

comment:40 Changed 7 years ago by Dereck Kachere

refs #4876 Verbose option now functions in CalcCorr and ApplyCorr

Enabled the tick box and enabled the functionality in the scripts.

Changeset: 8a0dc87959645e17687285ca0345faa5c6bd68bd

comment:41 Changed 7 years ago by Dereck Kachere

refs #4876 Removed comments from lines and corrected spacing

Changeset: 00d6b64d1feb11247afef604907d915f8e9d313b

comment:42 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 5723

Note: See TracTickets for help on using tickets.