Ticket #4022 (closed: invalid)

Opened 9 years ago

Last modified 5 years ago

Develop algorithm that will calculate in advance the scaling factor used later in the stitching of various data set.

Reported by: Jean Bilheux Owned by: Mathieu Doucet
Priority: major Milestone: Release 2.4
Component: Framework Keywords:
Cc: Blocked By:
Blocking: Tester:

Description


Change History

comment:1 Changed 9 years ago by Nick Draper

  • Owner set to Jean Bilheux
  • Status changed from new to assigned

comment:2 Changed 9 years ago by JeanBilheux

comment:3 Changed 9 years ago by JeanBilheux

Added new folder of scaling factor automatic calculation. This refs #4022

Changeset: 618abf3457db5dc60f9ce198fc7703eb637685c1

comment:4 Changed 9 years ago by JeanBilheux

Added class that will simplify the calculation. This refs #4022

Changeset: fa911a6ff740480c85de2570c9759cd834679d75

comment:5 Changed 9 years ago by JeanBilheux

comment:6 Changed 9 years ago by JeanBilheux

Added possibility for the user to individually specify the peak and background regions. This refs #4022

Changeset: 128348123ab13a3aee90c98753d96aa841ffac44

comment:7 Changed 9 years ago by JeanBilheux

Added possibility for the user to individually specify the peak and background regions. This refs #4022

Changeset: 128348123ab13a3aee90c98753d96aa841ffac44

comment:8 Changed 9 years ago by JeanBilheux

Added error parameters to fitting and output ascii file. This refs #4022

Changeset: b75229df507ad7127306f31e7042c54900bb4e22

comment:9 Changed 9 years ago by JeanBilheux

Added error parameters to fitting and output ascii file. This refs #4022

Changeset: b75229df507ad7127306f31e7042c54900bb4e22

comment:10 Changed 9 years ago by JeanBilheux

Removed obsolete files and brought new version (that still need some work). This refs #4022

Changeset: 6c5597544ff646aa45269daefe349fc4f00f4b5a

comment:11 Changed 9 years ago by JeanBilheux

Finally found bug and fixed it. Right now it works but the code still needs some improvement...working on it. This refs #4022

Changeset: 0b35869f4a5f85fcc1ae209c757f760eba947f97

comment:12 Changed 9 years ago by JeanBilheux

Cleaned up code. Now, I need to change the format of the output file created. This refs #4022

Changeset: 5906c4c63d999c62265cbec70fe3d54d2a0e5c89

comment:13 Changed 9 years ago by JeanBilheux

Removed automatic plot of various scales data fitted. Modified the output file format to include the S1H and S2H angle values. The program currently work for up to (and included) 6 attenuators that should be more than ever used. But the main part of the program uses several times similar codes... the work now will be to break this into a unique function. This refs #4022

Changeset: e1c48f2ce9b24fdf1e95b4ec5824f5a8caafcaa7

comment:14 Changed 9 years ago by JeanBilheux

Simplify the multi-if statement into only 1. This refs #4022

Changeset: f55b3a2d4982af79aca035a30e6d125ef7b276e0

comment:15 Changed 9 years ago by JeanBilheux

Simplify even more program. Arguments can now be provided via the command line. Added more comments (documentation). This refs #4022

Changeset: 4273bce2013f5731f116c75f2b404d0c39aeebdf

comment:16 Changed 9 years ago by JeanBilheux

Speed up program (gained 25% of speed). This refs #4022

Changeset: c76425085663882c178d95021e80043d2950803d

comment:17 Changed 9 years ago by JeanBilheux

Brought back to life the workspace delete routine, removed all trace of deepcopy, commented out the plot routines. All done. This refs #4022

Changeset: d7862bc1fd0c9a82f7e90829b131a827c71f8a2a

comment:18 Changed 9 years ago by Jean Bilheux

Work on this ticket is done.

NB: to the tester of this ticket, special REF_L event nexus files are necessary to test this ticket, contact me and I will send them to you

  • Procedure to test the work:
  • From the command line, go to the right folder

>cd path_to_mantid/Code/Mantid/scripts/LargeScaleStructures/ScalingFactorCalculation

  • some REF_L_event nexus files will be necessary at that point
  • ipython -pylab
  • In[1]: import sfcalculator
  • In[2]: list_runs = "<full_path_to_first_nexus>:0, <full_path_to_second_nexus:1, .... "
  • In[3]: sfCalculator.calculate(string_runs=list_runs, output_file=<output_file_name>)
  • an output file called <output_file_name> will be created with the right fitting parameters

comment:19 Changed 9 years ago by Nick Draper

  • Milestone changed from Iteration 32 to Iteration 33

Moved to iteration 33 at iteration 32 code freeze

comment:20 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:21 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:22 Changed 8 years ago by Nick Draper

  • Milestone changed from Release 2.3 to Release 2.4

Moved to milestone 2.4

comment:23 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:24 Changed 7 years ago by Nick Draper

  • Milestone changed from Release 2.5 to Release 2.6

Moved to r2.6 at the end of r2.5

comment:25 Changed 7 years ago by Nick Draper

  • Status changed from assigned to new

comment:26 Changed 7 years ago by Nick Draper

  • Component changed from Mantid to Framework

comment:27 Changed 7 years ago by Nick Draper

  • Milestone changed from Release 2.6 to Backlog

Moved to backlog at the code freeze for R2.6

comment:28 Changed 7 years ago by Mathieu Doucet

  • Status changed from new to verify
  • Owner changed from Jean Bilheux to Mathieu Doucet
  • Resolution set to invalid

This is an old ticket with code already on master. The recent REFL work supersedes this ticket.

comment:29 Changed 7 years ago by Russell Taylor

  • Status changed from verify to verifying
  • Resolution invalid deleted

comment:30 Changed 7 years ago by Russell Taylor

  • Status changed from verifying to closed
  • Resolution set to invalid
  • Milestone changed from Backlog to Release 2.4

Closing stale tickets

comment:31 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 4869

Note: See TracTickets for help on using tickets.