27 BankPulseTimes(Nexus::File &file,
const std::vector<int> &periodNumbers);
30 BankPulseTimes(
const std::vector<Mantid::Types::Core::DateAndTime> ×);
33 BankPulseTimes(
const std::vector<Mantid::Types::Core::DateAndTime> ×,
const std::vector<int> &periodNumbers);
36 size_t numberOfPulses()
const;
39 bool arePulseTimesIncreasing()
const;
42 int periodNumber(
const size_t index)
const;
44 const Mantid::Types::Core::DateAndTime &pulseTime(
const size_t index)
const;
52 std::vector<size_t> getPulseIndices(
const Mantid::Types::Core::DateAndTime &start,
53 const Mantid::Types::Core::DateAndTime &stop)
const;
56 std::vector<size_t> getPulseIndices(
const std::vector<Mantid::Kernel::TimeInterval> &splitters)
const;
59 bool equals(
size_t otherNumPulse,
const std::string &otherStartTime);
65 template <
typename ValueType>
66 void readData(Nexus::File &file, std::size_t numValues, Mantid::Types::Core::DateAndTime &start);
69 void updateStartTime();
72 void finalizePeriodNumbers();
78 std::vector<Mantid::Types::Core::DateAndTime>
pulseTimes;
bool MANTID_API_DLL equals(const MatrixWorkspace_sptr &lhs, const MatrixWorkspace_sptr &rhs, double tolerance=0.0)
Performs a comparison operation on two workspaces, using the CompareWorkspaces algorithm.