File: casamaskreader.h

package info (click to toggle)
wsclean 2.8-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 2,196 kB
  • sloc: cpp: 34,504; ansic: 234; python: 174; makefile: 10
file content (23 lines) | stat: -rw-r--r-- 472 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#ifndef CASA_MASK_READER_H
#define CASA_MASK_READER_H

#include <string>

class CasaMaskReader
{
public:
	explicit CasaMaskReader(const std::string& path);
	
	void Read(bool* mask);
	
	size_t Width() const { return _width; }
	size_t Height() const { return _height; }
	size_t NPolarizations() const { return _nPolarizations; }
	size_t NChannels() const { return _nChannels; }
	
private:
	std::string _path;
	size_t _width, _height, _nPolarizations, _nChannels;
};

#endif