Commit 2d137a9b authored by Réza Ansari's avatar Réza Ansari
Browse files

1/ Ajout methodes VisiP4ReaderBase::getSerialFirst() Last() Step()

2/ Utilisation des methodes ci-dessus ds visi2dtacx.cc pour determiner
   correctement le nb de matrices de visi traitees
                                          Reza 22/09/2017
parent 6a5ca06a
......@@ -177,6 +177,9 @@ int main(int narg, const char* arg[])
vreader.SelectTimeFrame(tustart, tuend, Istep);
}
vreader.setPrintLevel(prtlev);
Imin = vreader.getSerialFirst(); Imax = vreader.getSerialLast(); Istep = vreader.getSerialStep();
bool fgok=true;
TMatrix< complex<r_4> > vismtx;
TMatrix< complex<r_4> > acsum;
......
......@@ -43,7 +43,14 @@ public:
/*! \brief Select all the available Visibility Matrices for processing
Default implementation throws an exception */
virtual void SelectAll();
//! return the first selected visibility matrix serial number (or sequence number)
inline long getSerialFirst() const { return ser_first_; }
//! return the last selected visibility matrix serial number (or sequence number)
inline long getSerialLast() const { return ser_first_; }
//! return the visibility matrix serial number (or sequence number) step
inline long getSerialStep() const { return ser_step_; }
//! Activate or deactivate frequency reordering when reading visibility matrices
inline void setFreqReordering(bool fg)
{ fgreorderfreq_ = fg; }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment