File: msselection.h

package info (click to toggle)
wsclean 3.7-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 10,968 kB
  • sloc: cpp: 85,742; python: 3,526; sh: 245; makefile: 21
file content (24 lines) | stat: -rw-r--r-- 640 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#ifndef MS_SELECTION
#define MS_SELECTION

#include <schaapcommon/reordering/channelrange.h>

namespace aocommon {
class MultiBandData;
}  // namespace aocommon

namespace wsclean {

/**
 * Determines the channel index range that covers all channels of one
 * data_desc_id between @p lowest_frequency and @p highest_frequency, inclusive
 * on both sides. An empty range is returned when no channels match this
 * criterion.
 */
schaapcommon::reordering::ChannelRange SelectMsChannels(
    const aocommon::MultiBandData& ms_bands, size_t data_desc_id,
    double lowest_frequency, double highest_frequency);

}  // namespace wsclean

#endif