Skip to content
Snippets Groups Projects
Commit fbaaa2c2 authored by Ger van Diepen's avatar Ger van Diepen
Browse files

bug 1660:

Initialize depending on station type
parent c4f8a0f6
No related branches found
No related tags found
No related merge requests found
......@@ -119,17 +119,6 @@ namespace LOFAR {
// Get max nr of fields
int maxFields() const;
// Read the arrays from the file.
void readFile (istream& inputStream, const string& fullFilename);
// Initialize all arrays to zero.
void setZeroes();
// Initialize an array to the given shape and fill with zeroes.
void initArray (AntField::AFArray& array, size_t n1);
void initArray (AntField::AFArray& array, size_t n1, size_t n2);
void initArray (AntField::AFArray& array, size_t n1, size_t n2, size_t n3);
// Helper function to read an array in Blitz format.
template<int NDIM>
static void readBlitzArray(AntField::AFArray& array, istream& is)
......@@ -171,6 +160,17 @@ namespace LOFAR {
AntField(const AntField& that);
AntField& operator=(const AntField& that);
// Read the arrays from the file.
void readFile (istream& inputStream, const string& fullFilename);
// Initialize all arrays to zero.
void setZeroes (const std::string& fileName);
// Initialize an array to the given shape and fill with zeroes.
void initArray (AntField::AFArray& array, size_t n1);
void initArray (AntField::AFArray& array, size_t n1, size_t n2);
void initArray (AntField::AFArray& array, size_t n1, size_t n2, size_t n3);
// Calculate the length of the RCU vectors.
void makeRCULen (int fieldIndex);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment