File: msselection.h

package info (click to toggle)
wsclean 3.6-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 16,296 kB
  • sloc: cpp: 129,246; python: 22,066; sh: 360; ansic: 230; makefile: 185
file content (23 lines) | stat: -rw-r--r-- 666 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#ifndef MS_SELECTION
#define MS_SELECTION

#include "imagingtableentry.h"

#include <schaapcommon/reordering/msselection.h>
#include <aocommon/multibanddata.h>

namespace wsclean {

/**
 * Change this selection object so that its datadescid and channel range
 * correspond with the given entry. If the specified bands are not necessary
 * for this entry, the msselection is not changed and the function returns
 * false.
 */
bool SelectMsChannels(schaapcommon::reordering::MSSelection& selection,
                      const aocommon::MultiBandData& msBands, size_t dataDescId,
                      const ImagingTableEntry& entry);

}  // namespace wsclean

#endif