Friday, November 1, 2024

Observation Aid: SkyViewAltAz - Update #1

 After evaluating the prototype version of SkyViewAltAz, a number of changes and additions were made. The intent is to provide a tool to assist in planning observation sessions - initially for use with the Seestar S50.

The current version provides time controls, selection of the various sky views from the home block (plotted on an Az/El grid), the path through the sky views for a selected object as well as various types of information (altitude/ azimuth, current field rotation, etc).

There are also filter options which limit which objects are populated in a drop down list, e.g., a range before and after LST, visibility in sky views - or visible from latitude 34 S (or no filters).

A thumbnail captured from the web (Wikipedia) is displayed to give an idea of the object itself - but of more use is a larger screenshot image (Stellarium) of the appearance of the object in the field of view (FOV) of the Seestar S50. This is very useful as images found on the web are the result from a wide variety of telescope FOVs - so, an object which looks like an interesting target judging from an image seen on the web might actually be from a large telescope with a very small FOV - but when viewed on a Seestar S50 may be just a dot in its much larger FOV.

SkyViewAzEl GUI (click on the image for a larger view)

All I need now is for the clouds to go away...

NOTE: the details provided here of SkyViewAzEl are informational only and primarily for my own documentation. Please don't ask for copies - I don't ever share my code as I have neither the time nor inclination to provide same - not to mention copyright issues (Wikipedia, Stellarium). To avoid being offended by a non-response - don't ask.

Wednesday, October 23, 2024

Observation Aid: SkyViewAltAz

As mentioned in a previous post - planning is fairly complex for observing on the home block. That post briefly described an application that was coded called "HawkAstroSkyView" - which mapped azimuth/altitude onto an RA/DEC grid. As explained, this greatly simplified planning - but provided a display dissimilar to the actual view when standing outside. To address this issue another application was coded called "SkyViewAltAz" where the altitude/azimuth sky 'patches' are mapped onto an alt/az 'dome'. The alt/az grid is overlayed with a RA/DEC grid. The alt/az grid 'dome' view more closely matches the view when standing outside - while the RA/DEC indicates the path through the sky view patches.  The RA/DEC is marked with dots spaced one hour apart. Note that all sky view patches are coloured green instead of individual colours and all can be viewed at one time (which allows determination whether the desired target object is visible in any sky view) - or individual views can be selected on their own to show detail of that particular sky view.

Buttons are provided to set date and time as for the previous application. This allows building observation plans for particular target objects by identifying the time of year where the object is visible overhead. For example - on this home block January-March is the best time of the year to start observing M42 around 8 pm in the evening. To observe now (end of September) the observation would need to start at around 2 am in the morning.
An enhancement which might be useful is to overlay a 'heatmap' of the degree of field rotation for the alt/az 'dome'. This may help identify pointings where the default exposure time can be increased from the nominal 10 seconds. That function may be added in the future.

Friday, October 11, 2024

Todmorden Pier - Variation...


The semi-permanent pier design is based on the Todmorden Pier. It comprises an assembly of concrete pavers and 'Besser' concrete blocks with furniture level adjusters. Construction adhesive for concrete was used to glue various parts to one another.

From the bottom up the components are...
  1. 600mm x 600mm x 25mm square concrete square.
  2. 400mm x 50mm round concrete paver (under shimmed at 3 points with thin rubber washers to roughly correct for slope of the underlying square paver).
    Note that these first 2 pavers are not affixed to each other.
  3. Two 'Besser' concrete blocks. The first block is glued to both the round paver below and the second block above it.
  4. A third 'Besser' block bolted to the second block below it. It is bolted instead of glued to allow the pier to be broken down into sections for easier transport - if needed.
  5. 400mm x 50mm round concrete paver. This round paver is glued to the third 'Besser' block below it.
  6. A set of three 8mm diameter furniture levellers are fitted at 120 degrees intervals. Holes (10mm) were drilled in the top 400mm x 50mm round concrete paver to accommodate the threaded portions of the levellers. There was found to be too much slop and the next iteration will use 8mm holes worked to just allow fitment of the 8mm diameter leveller shanks.
  7. Last 400mm x 50mm round concrete paver on top provides the mounting table for the smart telescopes (but also allows placement of the mount for a Celestron 4SE telescope).
Levelling of the top round paver is done by adjusting the top nut of each of the levellers whilst monitoring the level on the small smart telescope tripod. The levellers and top round paver are not glued and rely on gravity to keep them in place - the weight being sufficient for this. However, consideration will be given to whether to glue the bottom of the levellers to the underlying round paver. This would make assembling the top round paver simpler - but great care would needed to ensure proper alignment with the top round paver is achieved before the glue hardens.



This setup allows quick setting up of the smart telescopes and provides means to correct for any drift from the horizontal level due to ground movement.

After testing for a period of time, additional piers will be placed around strategic positions on the block. Each pier costs around $AUD 75.

The positions of those additional piers will be determined by mapping the sky view of candidate locations on the block in terms of points of azimuth and elevation. From those maps - with the help of custom coded applications - it can be determined whether a location warrants the construction of a pier of the design described above.

Friday, September 27, 2024

Observation Aid : HawkAstroSkyView

One of the disadvantages of our home block with regards to astrophotography is the tree coverage. There are just a handful of sites on the block which afford a clear sky view - and then only a small patch of the sky depending on the location. Trying to plan observing sessions is a hit-or-miss affair which involves wandering around trying to find a location where the target object is in view for the required time and duration of the observation.

To try and simplify this process an application was coded to plot an RA/DEC grid onto which is plotted objects - such as the Sun and Moon, the planets and a selection of deep sky objects (DSOs). Overlayed with that plot is colour-coded mapping of the azimuth/altitude views from a number of locations on the block.
Buttons are provided to adjust the date and time of the view and by adjusting these it's possible to plan when and where a target object may be observed. This simplified the planning process considerably !

The issue with this method of displaying the position of target objects is that the mapping of the azimuth/altitude windows on the sky produces a result which isn't easily visualised. The coloured areas so mapped don't agree with the actual view when standing outside and looking up.

Therefore - although this application greatly simplifies observation planning - it was decided to do the inverse where the parent grid is azimuth/altitude and an RA/DEC grid is mapped onto that. This produces a display more akin to the actual view as seen when standing outside. Should only take a week or two to code that.

Sunday, September 1, 2024

Taking Stock...

It's been a while since posting - but as more experience and knowledge is gained with regards to astrophotography, the amount of information and options becomes overwhelming. What was needed was time to sort out just what are the activities that have the greatest interest to me and try and focus on them. Otherwise it becomes too confusing.

So - time was taken to take stock and try and lay out a broad scenario of activities for the foreseeable future.

Although efforts have been made to narrow-down activities, the wide range available only allows a general plan of attack. Activities - in the short term - will be guided by these broad factors.

  • I have little interest in spending time and money to strive for the best possible result. Rather I want to use available time to learn about the night sky.
  • I do not like many of the high-end post-processing results I've seen - especially using AI. I have seen results where the AI algorithm has decided that something should look a certain way and added features which are not real. The high-end post-processing looks too much like 'cosmetics' for my taste - indeed I've seen results which could be described as 'lipstick on a pig'.
  • Apart from casual visual observing, I have no interest in assembling a very expensive astrophotography setup. I have found the use of my 'smart' telescopes (ZWO Seestar S50 and Dwarf II) entirely satisfactory for my level of activity. If I cannot set up in a few minutes and start observing I am not interested. Adding to the tedium of polar aligning a setup, the location here at home has restricted sky views due to trees. Consequently any form of permanent setup would need to be replicated in at least 5 or 6 places to provide access to a reasonable area of the sky. In addition the need to grab short periods of clear skies means the smart telescopes are much more suitable. I've seen claims by several individuals that they can setup and begin observing on their expensive assembled setup within 5 minutes - but no video proof is provided as far as I'm aware. I very much doubt anyone can carry out all the gear, assemble to a tripod, connect all the cables, polar align and begin observing in under 5 minutes.
I plan to take time to learn how to get the best out of the smart telescopes using minimal post-processing.

As a side interest I will switch my programming activities to various observation aids. The small patches of clear sky through the trees available on the home block makes planning complex. The process of determining which objects are visible from various locations is tedious and a time-waster. I'll code some applications which map the available sky areas and show the path of a given target object through those sky view windows.

To further reduce the setup time a variation of the 'Todmorden Pier' was prototyped. As the soil here is very reactive (moves due proximity to an escarpment and expands and contracts with moisture level) the digging of a deep hole for a concrete foundation was abandoned. Instead an assembly of concrete pavers and 'Besser' concrete blocks was built - to be described in the next post.

Wednesday, July 3, 2024

Matching the 'Look' Using CDFs and Final Tweaks...

 As an exercise I was interested to see how close an example Seestar S50 observation image could be processed to take on the 'look' of a target image.

As before a target image was loaded and a histogram applied to the Seestar S50 observation image data via a CDF (Cumulative Distribution Function) as shown below.

Histogram Matching Using CDFs
The target image 'look' is shown below in more detail...
Target Image for Matching to a 'Look'
It can be seen that the resulting matched image has the general look of the target image - but appears significantly de-saturated. To see if it is just a matter of de-saturation the resulting matched image was imported into GIMP and adjustments made to both saturation and colour temperature.

Before adjustment in GIMP...
Resulting Matched Image Before Adjustment in GIMP
... and after adjustment in GIMP...
Resulting Matched Image After adjustment in GIMP
Although the resulting matched observation image has a similar 'look' to the target image - it required manual adjustment (GIMP). Experiments will be done to determine whether examination of other statistics will allow automation of that adjustment.

Friday, June 28, 2024

Using CDFs to Histogram Match to an Existing 'Look'...

First Attempt

In the previous post which described automatically stretching via matching (using Cumulative Distribution Functions - CDFs) to mathematically generated red, green and blue channel histograms, mention was made of perhaps using existing good examples of the same object to provide a set of red, green and blue histograms.

I am interested how far the post-processing of Seestar S50 images can be automated. Accordingly, some code was written to implement the histogram matching function using good example images as shown below.
Histogram Matching to an Existing Good Example Image - Before Matching
PLEASE NOTE: the above application is just for experimental purposes and is not suitable for other use. Do not ask for a copy - unless you like being offended by a non-response :-)

In this application the FITS observation file that is to be 'stretched' by histogram matching is loaded into the large image box. In the above picture the original linear image is shown. Then an example of an existing good stretched image of the same subject is loaded (the small image box top-left). Typically this might be images from the 'net from professional or amateur sources.

The application then calculates histograms of both the observation image file and the example stretched image file. After calculating CDFs from each histogram, the original linear image is re-mapped such that its histogram matches the good example image histogram.

The results of that process is shown below.
Histogram Matching to an Existing Good Example Image - After Matching

If we compare this result with the result from the previous post where the matching was done to a mathematically generated (via equations) as shown below (ignore the rotation), we can see that the above result has taken on the 'look' of the example image and is a better result as a consequence.
Comparison Result from Using a Mathematically Generated Histogram for Matching
If we choose a different example image which has a different 'look' and repeat the process we get the result as shown below.
Histogram Matching to a Different Existing Example Image (more blue)
Note the difference between the two example images in both cases (the small images top-left in the application). The second example has more of a blue-ish tinge than the first - so the result has the same elevated blue-ish tinge.

A further example uses an example image which has a completely different 'look'...
Histogram Matching to Radically Different 'Look' Example Image

In this example image there is more red and green and so the result of histogram matching takes on that 'look'. Other features to note is that for this M42 image, the detail around the trapezium in the result images matching the detail in the example images.  Where the trapezium detail is prominent in the example image, likewise it is prominent in the result. So - not only is the colouring of the example image adopted, but also the stretch curve shape.
I am pretty pleased with this result - which, once again, is better than I expected. Some notes...

  • In the above results absolutely no manual tweaking is done. Just load in the observation file and the example image file and hit 'GO'. So - the above results - as far as processing is concerned - are obtained 100 % automatically.
  • No spatial information is transferred from the example image (i.e., no matching of individual pixels is done). The spatial information is lost in the histogram calculation. It is simply the statistics (histogram and CDF) which are matched.
  • The example images - used to match the observation image histogram to - are typically generated by a different camera (sensor), different post-processing applications, etc, and so the matching cannot be exact.
  • Likewise - the exposure times for the example images is likely to be much longer (or the result of a larger aperture lens) and so the signal-to-noise ratios for the Seestar S50 images to be matched are likely to be much lower. Some compensation for this effect might be possible.
Further experimentation will be conducted to explore how far this technique can be extended.