30 BankPulseTimes(Nexus::File &file,
const std::vector<int> &periodNumbers);
33 BankPulseTimes(
const std::vector<Mantid::Types::Core::DateAndTime> ×);
36 BankPulseTimes(
const std::vector<Mantid::Types::Core::DateAndTime> ×,
const std::vector<int> &periodNumbers);
39 size_t numberOfPulses()
const;
42 bool arePulseTimesIncreasing()
const;
45 int periodNumber(
const size_t index)
const;
47 const Mantid::Types::Core::DateAndTime &pulseTime(
const size_t index)
const;
55 std::vector<size_t> getPulseIndices(
const Mantid::Types::Core::DateAndTime &start,
56 const Mantid::Types::Core::DateAndTime &stop)
const;
59 std::vector<size_t> getPulseIndices(
const std::vector<Mantid::Kernel::TimeInterval> &splitters)
const;
62 bool equals(
size_t otherNumPulse,
const std::string &otherStartTime);
68 template <
typename ValueType>
69 void readData(Nexus::File &file, std::size_t numValues, Mantid::Types::Core::DateAndTime &start);
72 void updateStartTime();
75 void finalizePeriodNumbers();
81 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.