sdrangel/plugins/feature/startracker/readme.md

12 KiB

Star Tracker Feature Plugin

Introduction

The Star Tracker feature plugin is for use in radio astronomy and EME (Earth-Moon-Earth) communication. It calculates the azimuth and elevation of celestial objects and can send them to the Rotator Controller or other plugins to point an antenna at that object. The overhead position of the Sun, Moon and selected star can be displayed on the Map Feature. It can display local Sidereal time, solar flux density and sky temperature. The plugin can communicate with Stellarium, allowing Stellarium to control SDRangel as though it was a telescope and for the direction the antenna is pointing to be displayed in Stellarium.

Settings

Star Tracker feature plugin GUI

1: Start/Stop plugin

This button starts or stops the plugin. The plugin will only calculate azimuth and elevation or communicate with Stellarium when started.

2: Find target on map

Pressing this button centres the Map Feature (if open) on the current target.

3:Download Solar flux density data

Pressing this button downloads the Solar flux density data from the DRAO and Learmonth Observatories.

4: Set latitude and longitude from My Position

When clicked, it sets the latitude, longitude and height fields to the values from SDRangel's My Position preferences.

5: Show settings dialog

Pressing this button displays a settings dialog, that allows you to set:

  • The epoch used when entering RA and Dec. This can be either J2000 (which is used for most catalogues) or JNOW which is the current date and time.
  • The units used for the display of the calculated azimuth and elevation. This can be either degrees, minutes and seconds or decimal degrees.
  • Whether to correct for atmospheric refaction. You can choose either no correction, the Saemundsson algorithm, typically used for optical astronomy or the more accurate Positional Astronomy Library calculation, which can be used for >250MHz radio frequencies or light. Note that there is only a very minor difference between the two.
  • Air pressure in millibars for use in refraction correction.
  • Air temperature in degrees Celsius for use in refraction correction.
  • Relative humidity in % for use in refraction correction.
  • Height above sea level in metres for use in refraction correction.
  • Temperature lapse rate in Kelvin per kilometer for use in refraction correction.
  • What data to display for the Solar flux measurement. Data can be selected from 2800 from DRAO or a number of different frequencies from Learmonth. Also, the Learnmonth data can be linearly interpolated to the observation frequency set in the main window.
  • The units to display the solar flux in, either Solar Flux Units, Jansky or Wm^-2Hz-1. 1 sfu equals 10,000 Jansky or 10^-22 Wm^-2Hz-1.
  • The update period in seconds, which controls how frequently azimuth and elevation are re-calculated.
  • The IP port number the Stellarium server listens on.
  • Whether to start a Stellarium telescope server.
  • Whether to draw the Sun in the map.
  • Whether to draw the Moon on the map.
  • Whether to draw the target star (or galaxy) on the map.

6: Latitude

Specifies the latitude in decimal degrees (North positive) of the observation point (antenna location).

7: Longitude

Specifies the longitude in decimal degrees (East positive) of the observation point (antenna location).

8: Time

Select the date and time at which the position of the target should be calculated. Select either Now, for the current time, or Custom to manually enter a date and time.

9: LST - Local Sidereal Time

The LST field displays the local sidereal time at the specified location (6&7) and Solar time (8).

10: Solar Flux

Displays the Solar flux density. The observatory where the data is sourced from, frequency and units can be set in the Settings dialog (5). The field is updated every 24 hours, or can be manually by pressing the download Solar flux density data button (3).

11: Target

Select a target object to track from the list. To manually enter RA (right ascension) and Dec (declination) of an unlisted target, select Custom. To allow Stellarium to set the RA and Dec, select Custom, and ensure the Stellarium Server option is checked in the Star Tracker Settings dialog.

Target Type Details Flux density (Jy)
Sun Star Targets our Sun 10k-10M (50MHz), 500k-10M (1.4GHz)
Moon Moon Targets our Moon 2 (50MHz), 1000 (1.4GHz)
PSR B0329+54 Pulsar Strongest in Northern hemisphere (J0332+5434) 1.8 (50MHz), 1.5 (400MHz), 0.2 (1.4GHz)
PSR B0833-45 Pulsar Strongest in Southern hemisphere (J0835-4510) 5.4 (150MHz), 5.0 (400MHz), 1.0 (1.4GHz)
Sagittarius A Galatic centre First detected source of extrasolar radio ~0.5 (<1GHz) for Sgr A*
Cassiopeia A Supernova Brightest extrasolar radio source 27k (50MHz), 10k (150MHz), 1768 (1.4GHz)
Cygnus A Galaxy First radio galaxy 22k (50MHz), 11k (150MHz), 1579 (1.4GHz)
Taurus A (M1) Supernova/Pulsar Crab Nebular 2008 (50MHz), 1368 (150MHz), 829 (1.4GHz)
Virgo A (M87) Galaxy 2635 (50MHz), 1209 (150MHz), 212 (1.4GHz)
Custom Manually enter RA and Dec

References:

12: Frequency

Enter the frequency of observation in MHz. This value is used for sky temperature and refraction calculations.

13: Beamwidth

Enter the halfpower (-3dB) beamwidth of your antenna. This value is used for sky temperature calculation.

14: Right Ascension

When target is set to Custom, you can specify the right ascension in hours of the target object. This can be specified as a decimal (E.g. 12.23, from 0 to 24) or in hours, minutes and seconds (E.g. 12h05m10.2s or 12 05 10.2). Whether the epoch is J2000 or JNOW can be set in the Star Tracker Settings dialog.

15: Declination

When target is set to Custom, you can specify the declination in degrees of the target object. This can be specified as a decimal (E.g. 34.6, from -90.0 to 90.0) or in degrees, minutes and seconds (E.g. 34d12m5.6s, 34d12'5.6" 34 12 5.6). Whether the epoch is J2000 or JNOW can be set in the Star Tracker Settings dialog.

16: Azimuth

Displays the calculated azimuth (angle in degrees, clockwise from North) to the object.

17: Elevation

Displays the calculated elevation (angle in degrees - 0 to horizon and 90 to zenith) to the object.

Plots

Elevation vs time

Star Tracker Elevation vs Time

In order to assit in determining whether and when observations of the target object may be possible, an elevation vs time plot is drawn for the 24 hours encompassing the selected date and time. Some objects may not be visible from a particular latitude for the specified time, in which case, the grahp title will indicate the object is not visible on that particular date.

Solar flux vs frequency

Star Tracker Solar Flux

The Solar flux vs frequency plot, shows the solar flux data from the Learmonth observator as a function of frequency.

Sky temperature

Star Tracker sky temperature

Sky temperature maps are available for display at 150MHz, 408MHz and 1420MHz, in both equatorial and galactic coordinates.

The Star Tracker plugin can also estimate a sky temperature based on the observation frequency and beamwidth entered.

Map

The Star Tracker feature can send the overhead position of the Sun, Moon and target Star to the Map. These can be enabled individually in the settings dialog. The Moon should be displayed with an approximate phase. Stars (or galaxies) are displayed as an image of a pulsar.

StarTracker map

When using the Find feature in the Map GUI, you can search for "Sun", "Moon" or "Star".

Stellarium Interface

In Star Tracker:

  • Set target to Custom
  • Press Show settings dialog and ensure Stellarium server is checked
  • Press Start

Then in Stellarium:

  • Enable Telescope Control plugin and restart
  • Press the telescope button in the main toolbar
  • Press "Configure telescopes..."
  • Press "Add a new telescope"
  • Set "Telescope controlled by" to "External softare or a remote computer"
  • Set "Name" to "SDRangel" (Optional)
  • Set "Coordinate system" to "J2000 (default)"
  • Press OK
  • Press Connect
  • Enter Right Ascension/Declination or press "Current object" to get RA/Dec of currently selected object
  • Press "Slew" to send the RA/Dec to Star Tracker

Star Tracker will continually send the RA/Dec of its target to Stellarium and this should be displayed in Stellarium with a crosshair/reticle and the label SDRangel (or whatever name you entered for the telescope).

To see the rough field of view of your antenna, open the Ocular configuration window and under Eyepieces, add a new eyepiece with name SDRangel. Set aFOV to the half-power beam width of your antenna, focal length to 100 and field stop to 0. Then select the SDRangel telescope reticle and press Ocular view.

Attribution

Solar radio flux measurement at 10.7cm/2800MHz is from National Research Council Canada and Natural Resources Canada: https://www.spaceweather.gc.ca/solarflux/sx-4-en.php

Salar radio flux mesaurements at 245, 410, 610, 1415, 2695, 4995, 8800 and 15400MHz from the Learmonth Observatory: http://www.sws.bom.gov.au/World_Data_Centre/1/10

150MHz (Landecker and Wielebinski) and 1420MHz (Stockert and Villa-Elisa) All Sky images from MPIfR's (Max-Planck-Institut Fur Radioastronomie) Survey Sampler: https://www3.mpifr-bonn.mpg.de/survey.html

408MHz (Haslam) destriped (Platania) All Sky image and spectral index (Platania) from Strasbourg astronomical Data Center: http://cdsarc.u-strasbg.fr/viz-bin/cat/J/A+A/410/847

Icons are by Adnen Kadri and Erik Madsen, from the Noun Project Noun Project: https://thenounproject.com/

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

API

Full details of the API can be found in the Swagger documentation. Here is a quick example of how to set the target to the Moon at the current time:

curl -X PATCH "http://127.0.0.1:8091/sdrangel/featureset/0/feature/0/settings" -d '{"featureType": "StarTracker",  "StarTrackerSettings": { "target": "Moon", "dateTime": "" }}'

Or to a custom RA and declination on a given date and time:

curl -X PATCH "http://127.0.0.1:8091/sdrangel/featureset/0/feature/0/settings" -d '{"featureType": "StarTracker",  "StarTrackerSettings": { "target": "Custom", "ra": "03h32m59.35s", "dec": "54d34m45.05s", "dateTime": "1921-04-15T10:17:05" }}'

To start tracking:

curl -X POST "http://127.0.0.1:8091/sdrangel/featureset/0/feature/0/run"

Devloper Notes

To convert FITS images between projections, use Montage:

sudo apg-get install montage wcslib-tools

Create header for desired output image. E.g. For galatic coordinates, 0.3deg per pixel, covering 360/180 degrees:

mHdr -c ga -p 1200 -h 180.0 "0.0 +0.0" 360 header.hdr

This uses a gnomonic projection. To change to cylindrical/plate carree, with the centre of the galaxy at the centre of the image, edit header.hdr to have:

CTYPE1  = 'GLON-CAR'
CTYPE2  = 'GLAT-CAR'
CRVAL1  =  0
CRVAL2  =  0

Then convert with:

mProjectQL source.fits dest.fits header.hdr

FITS files can be scaled (Scale > ZScale) and exported to .png with SAOImageDS9: https://sites.google.com/cfa.harvard.edu/saoimageds9