File: functionswrapper.h

package info (click to toggle)
aoflagger 3.4.0-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 8,960 kB
  • sloc: cpp: 83,076; python: 10,187; sh: 260; makefile: 178
file content (42 lines) | stat: -rw-r--r-- 1,451 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
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
#ifndef LUA_FUNCTIONS_WRAPPER_H
#define LUA_FUNCTIONS_WRAPPER_H

extern "C" {
#include <lua.h>
#include <lualib.h>
#include <lauxlib.h>
}

class Functions {
 public:
  static int apply_bandpass(lua_State* L);
  static int collect_statistics(lua_State* L);
  static int copy_to_channel(lua_State* L);
  static int copy_to_frequency(lua_State* L);
  static int downsample(lua_State* L);
  static int high_pass_filter(lua_State* L);
  static int low_pass_filter(lua_State* L);
  static int norm(lua_State* L);
  static int normalize_bandpass(lua_State* L);
  static int normalize_subbands(lua_State* L);
  static int print_polarization_statistics(lua_State* L);
  static int require_min_version(lua_State* L);
  static int require_max_version(lua_State* L);
  static int save_heat_map(lua_State* L);
  static int scale_invariant_rank_operator(lua_State* L);
  static int scale_invariant_rank_operator_masked(lua_State* L);
  static int set_progress(lua_State* L);
  static int set_progress_text(lua_State* L);
  static int sqrt(lua_State* L);
  static int sumthreshold(lua_State* L);
  static int sumthreshold_masked(lua_State* L);
  static int threshold_channel_rms(lua_State* L);
  static int threshold_timestep_rms(lua_State* L);
  static int trim_channels(lua_State* L);
  static int trim_frequencies(lua_State* L);
  static int upsample_image(lua_State* L);
  static int upsample_mask(lua_State* L);
  static int visualize(lua_State* L);
};

#endif