1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-22 16:08:39 -05:00
sdrangel/plugins/channelrx/demodapt
2024-08-27 09:54:09 +02:00
..
icons Add APT demodulator 2021-02-26 20:40:23 +00:00
aptdemod.cpp Remove unused includes and use more direct includes 2024-04-11 23:31:34 +02:00
aptdemod.h Frequency Scanner: allow scanning channels of a MIMO device 2023-12-14 21:57:49 +01:00
aptdemodbaseband.cpp Remove unused includes and use more direct includes 2024-04-11 23:31:34 +02:00
aptdemodbaseband.h Replace deprecated QMutex(Recursive) with QRecursiveMutex 2022-09-17 23:00:07 +02:00
aptdemodgui.cpp Removed destroy method leftovers and Sonar lint 2024-08-27 09:54:09 +02:00
aptdemodgui.h Update plugins to compile with Qt5 and Qt6 2022-11-17 14:36:12 +00:00
aptdemodgui.ui Reduce UI minimum size for small Android screens 2023-01-02 15:26:18 +00:00
aptdemodimageworker.cpp Fix typos in cpp files 2024-07-10 23:06:38 +02:00
aptdemodimageworker.h Update to work with latest version of libsgp4 2022-11-13 13:53:06 +00:00
aptdemodplugin.cpp Updated plugin versions 2024-08-13 22:35:18 +02:00
aptdemodplugin.h Add APT demodulator 2021-02-26 20:40:23 +00:00
aptdemodselectdialog.cpp APT Demod updates. 2022-02-04 16:36:02 +00:00
aptdemodselectdialog.h APT Demod updates. 2022-02-04 16:36:02 +00:00
aptdemodselectdialog.ui APT Demod updates. 2022-02-04 16:36:02 +00:00
aptdemodsettings.cpp Remove unused includes and use more direct includes 2024-04-11 23:31:34 +02:00
aptdemodsettings.h Fix typos in include files 2024-07-10 23:06:38 +02:00
aptdemodsettingsdialog.cpp Fix QFileDialog filters to work with non-native dialog. Fixes #1681. 2023-05-03 18:16:37 +01:00
aptdemodsettingsdialog.h APT Demod updates. 2022-02-04 16:36:02 +00:00
aptdemodsettingsdialog.ui APT Demod updates. 2022-02-04 16:36:02 +00:00
aptdemodsink.cpp Remove unused includes and use more direct includes 2024-04-11 23:31:34 +02:00
aptdemodsink.h APT demod: moved processPixels process to a separate thread 2021-04-22 22:10:04 +02:00
aptdemodwebapiadapter.cpp Add APT demodulator 2021-02-26 20:40:23 +00:00
aptdemodwebapiadapter.h Add APT demodulator 2021-02-26 20:40:23 +00:00
CMakeLists.txt Update CMakeLists.txt to support both Qt5 and Qt6. Add option ENABLE_QT6 2022-11-17 14:34:54 +00:00
icons.qrc Add APT demodulator 2021-02-26 20:40:23 +00:00
readme.md Fix spelling using ispell 2023-05-02 19:43:59 +02:00

APT Demodulator Plugin

Introduction

This plugin can be used to demodulate APT (Automatic Picture Transmission) signals transmitted by NOAA POES weather satellites. These images are at a 4km/pixel resolution in either the visible, near-IR, mid-IR or thermal-IR bands.

APT Demodulator plugin GUI

The received images can be sent to the Map feature to be projected on to the 3D globe (this requires the Satellite Tracker feature to be running and start the decode):

APT Image on 3D Map

  • NOAA 15 transmits on 137.620 MHz.
  • NOAA 18 transmits on 137.912 MHz.
  • NOAA 19 transmits on 137.100 MHz.

The status of the NOAA POES satellites is available at: https://www.ospo.noaa.gov/Operations/POES/status.html The instrument used to generate the APT images is the AVHRR (Advanced Very High Resolution Radiometer).

Interface

The top and bottom bars of the channel window are described here

APT Demodulator plugin GUI

1: Frequency shift from center frequency of reception

Use the wheels to adjust the frequency shift in Hz from the center frequency of reception. Left click on a digit sets the cursor position at this digit. Right click on a digit sets all digits on the right to zero. This effectively floors value at the digit position. Wheels are moved with the mousewheel while pointing at the wheel or by selecting the wheel with the left mouse click and using the keyboard arrows. Pressing shift simultaneously moves digit by 5 and pressing control moves it by 2.

2: Channel power

Average total power in dB relative to a +/- 1.0 amplitude signal received in the pass band.

3: Level meter in dB

  • top bar (green): average value
  • bottom bar (blue green): instantaneous peak value
  • tip vertical bar (bright green): peak hold value

4: RF Bandwidth

This specifies the bandwidth of a LPF that is applied to the input signal to limit the RF bandwidth. APT signals are nominally 34kHz wide, however, this defaults to 40kHz to allow for some Doppler shift.

5: Frequency deviation

Adjusts the expected frequency deviation in 0.1 kHz steps from 10 to 25 kHz. The typical value for APT is 17 kHz.

6: Transparency and Opacity Thresholds

For images displayed on the Map, these dials set the greyscale levels below which a pixel will be fully transparent and above which will be fully opaque. In between these values, pixels will be partially transparent. The opacity threshold should be greater or equal to the transparency threshold.

These settings can be used to remove land and sea from the APT image, which are typically at lower greyscale levels than cloud, allowing the 3D map surface to be visible, underneath the cloud.

7: Delete Images from Map

When clicked deletes any images added to the map by this demodulator.

8: Start/stop decoding

Starts or stops decoding. A maximum of 3000 scanlines can be decoded, after which, the Reset Decoder (10) button needs to be pressed, to start a new image.

9: Show settings dialog

When clicked, shows additional APT Demodulator settings.

APT Demodulator settings dialog

This includes:

  • Whether the APT demodulator can be controlled by the Satellite Tracker feature. When checked, the image decoder will be enabled and reset on AOS and the satellite pass direction will be used to control image rotation. The decoder will be stopped on LOS.
  • Which satellites the APT demodulator will respond to AOS and LOS indications from the Satellite Tracker. This can be used to simultaneously decode images from multiple satellites, by having multiple instances of the APT Demodulator and setting a unique satellite name for each demodulator.
  • Whether to automatically save images on LOS.
  • Whether a combined image including telemetry should be saved.
  • Whether separate images of channel A and B, without telemetry, should be saved.
  • Whether equidistant cylindrical (plate carrée) project images used for the map, should be saved.
  • Path to save automatically saved images in.
  • The minimum number of scanlines required to be in an image, after noise cropping, for it to be automatically saved.
  • After how many scanlines image processing is applied and updates sent to the map. Lower values require more CPU power.
  • The number of pixels per degree longitude and latitude (i.e. resolution) for the equidistant cylindrical projected images.
  • Satellite time and yaw offsets that can be used to more precisely align the image projected on the map.
  • A list of colour palettes. Colour palettes are 256x256 image files that are used to enhance various features within an image. Some examples are here: https://github.com/Xerbo/aptdec/tree/master/palettes

10: Reset decoder

Clears the current image and restarts the decoder. The decoder must be reset between passes of different satellites.

11: Save image to disk

Saves the current image to disk. Images can be saved in PNG, JPEG, BMP, PPM, XBM or XPM formats.

12: Zoom in

Zooms in to the image. You can also zoom in with the scroll wheel.

13: Zoom out

Zooms out from the image. You can also zoom out with the scroll wheel.

14: Zoom image to fit

Zooms so that the image fits in to the available space.

15: Image selection

Selects whether:

  • both channels are displayed
  • only channel A is displayed
  • only channel B is displayed
  • a temperature map is displayed
  • colour palettized images are displayed

Temperature maps require enough scanlines to have been received in order to determine calibration data. Until then, the image will appear blank. The temperature range of the image is from -100C to 60C. Moving the cursor over image will display the temperature under the cursor at the bottom of the legend.

![Temperature map] (../../../doc/img/APTDemod_plugin_temperature.png)

The colour palettes that are available are set in the APT Demodulator settings dialog (9).

16: Crop noise

When checked, noise is cropped from the top and bottom of the image. This is noise that is typically the result of the satellite being at a low elevation.

17: Apply denoise filter

When checked, a denoise filter is applied to the received image.

18: Apply linear equalisation

When checked, linear equalisation is performed, which can enhance the contrast. The equalisation is performed separately on each channel.

19: Apply histogram equalisation

When checked, histogram equalisation is performed, which can enhance the contrast. The equalisation is performed separately on each channel.

20: Overlay precipitation

When checked, precipitation is detected from the IR channel and overlaid on both channels using a colour palette.

This option will not work if linear (18) or histogram equalisation (19) has been applied.

21: Pass direction

The pass direction check button should be set to match the direction of the satellite pass. i.e. select down arrow for satellite passing from the North to the South and the up arrow for the satellite passing from the South to the North. This will ensure the image has the Northern latitudes at the top of the image. This can be set automatically by the Satellite Tracker feature.

Attribution

This plugin uses libapt, part of Aptdec by Thierry Leconte and Xerbo, to perform image decoding and processing: https://github.com/Xerbo/aptdec

Icons are by Freepik from Flaticon https://www.flaticon.com/

Icons are by Hare Krishna from the Noun Project Noun Project: https://thenounproject.com/