/usr/share/ngraph-gtk/addin/fft.nsc is in ngraph-gtk-addins 6.07.02-2build3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 43 44 45 46 47 48 49 50 51 52 53 | #
# fft.nsc written by S. ISHIZAKA. 1999/07
#
# Description: _FFT...,Fast Fourier Transform,
new dialog
SOURCE_FILE=${dialog::get_open_file}
if [ ! -r "$SOURCE_FILE" ]
then
del dialog
exit
fi
DEST_FILE=${dialog::get_save_file:"dat _fft_.dat"}
if [ -z "$DEST_FILE" ]
then
del dialog
exit
fi
if "$NGRAPHLIB/fft" "$SOURCE_FILE" "$DEST_FILE"
then
true
else
dialog::message "some errors are occurred while calculation."
del dialog
exit
fi
new data
data::x=1
data::y=2
data::file="$DEST_FILE"
data::type=line
data::B=255
new data
data::file="$DEST_FILE"
data::x=1
data::y=3
data::type=line
data::R=255
new data
data::file="$DEST_FILE"
data::x=1
data::y=2
data::type=staircase_x
data::math_y='SQRT(%02^2+%03^2)'
menu::modified=true
del dialog
menu:0:clear
|