Ticket #1384 (closed: fixed)

Opened 10 years ago

Last modified 5 years ago

TimeSeriesProperty should use boost::posix_time::ptime

Reported by: Peter Peterson Owned by: Janik Zikovsky
Priority: major Milestone: Iteration 25
Component: Mantid Keywords:
Cc: Blocked By:
Blocking: Tester: Roman Tolchenov

Description

Since many of the logs for SNS will be generated at 60Hz, it is necessary to migrate the time axis for TimeSeriesProperty to use boost::posix::ptime.

Change History

comment:1 Changed 10 years ago by Janik Zikovsky

  • Owner set to Janik Zikovsky
  • Status changed from new to accepted

comment:2 Changed 10 years ago by Janik Zikovsky

(In [6009]) Refs #1384: TimeSeriesProperty now uses boost::posix_time::ptime instead of time_t. Hey, nanosecond resolution! Seemingly all the code had to be fixed to get it to work.

comment:3 Changed 10 years ago by Janik Zikovsky

(In [6012]) Refs #1384: Fixed one test and disabled the MuonNexus2 one, and a line in LoadRSaveN...test. Can't load ANY muon nexus files on my system, so its hard to test. No time to track the other tonight.

comment:4 Changed 10 years ago by Russell Taylor

(In [6015]) Fix tests. One apparent failure was because of a print statement to cout, the other was failing on cleaning up a temporary file so we'll do without that for the time being. Re #1384.

comment:5 Changed 10 years ago by Janik Zikovsky

(In [6022]) Refs #1575 and #1384: converted AlgorithmHistory to use boost::posix_time . This probably still breaks the mantidPlot build; I'm still working it.

comment:6 Changed 10 years ago by Janik Zikovsky

(In [6023]) Refs #1384: Hopefully fix MantidPlot build and windows DateAndTime.cpp build.

comment:7 Changed 10 years ago by Janik Zikovsky

(In [6028]) Refs #1384: Removed direct references to boost::posix_time in MantidPlot; should fix windows MantidPlot build error.

comment:8 Changed 10 years ago by Janik Zikovsky

(In [6030]) Refs #1384: More dateAndTime conversion and tests

comment:9 Changed 10 years ago by Janik Zikovsky

(In [6034]) Refs #1384: Fixed the sample log window so that it can plot the logs correctly; however this required removing the fractional seconds from the column with the date, since QTIplot does not handle these.

comment:10 Changed 10 years ago by Janik Zikovsky

(In [6036]) Refs #1384: Fid to qtiplot.pro to link to boost libraries (under windows)

comment:11 Changed 10 years ago by Janik Zikovsky

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

(In [6037]) Fixes #1384: Sample logs now uses seconds since start instead of absolute date. Fixed segfault for failed filtered log plot.

comment:12 Changed 10 years ago by Roman Tolchenov

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

comment:13 Changed 10 years ago by Roman Tolchenov

  • Status changed from verifying to closed

comment:14 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 2231

Note: See TracTickets for help on using tickets.