Author Topic: PSFImage - Script by Hartmut Bornemann to automate the creation of a PSF profile  (Read 1355 times)

Offline Herbert_W

  • PixInsight Addict
  • ***
  • Posts: 185
    • View Profile
    • Skypixels - Astrophotography by Herbert Walter
Hi,

I've waited a long time for this and now it's come true   :)
A script to automatically create a PSF profile of an image for further use in the Deconvolution module.
Thank you to Hartmut Bornemann for this new script. I have tested it on several images and it works very well!

Short explantion:
PSFImage can replace DynamicPSF and automate the creation of a PSF profile.
The script is applied to a view or preview and generates a profile image for use in deconvolution.
The criteria are the Moffat functions, the limitation of the amplitude and a setting for the sensitivity of the StarDetector.
All settings are saved. The result is displayed in the TextBox and commented on in the FITS header.


Download: https://www.skypixels.at/pixinsight_scripts.html

Please send questions to Hartmut - he is represented in this forum: hvb356

Best regards!
Herbert, Austria


Offline chris.bailey

  • PixInsight Addict
  • ***
  • Posts: 208
    • View Profile
Yes I have been using it recently and it does work very well indeed.

Offline mar504

  • Newcomer
  • Posts: 17
    • View Profile
Yessss! Thank you Herbert, this is such a time saver! Works beautifully!

Offline avastro

  • PixInsight Addict
  • ***
  • Posts: 180
    • View Profile
    • http://astrosurf.com/avastro/
Thanks , works nicely.
Antoine
Lentin Observatory
http://www.astrosurf.com/avastro/

Offline llpastro

  • PixInsight Addict
  • ***
  • Posts: 186
    • View Profile
    • Sonoran Dark Skies
A question has come up on another forum about whether this should be used on a linear image or a nonlinear image or does it matter?

Larry
AP 140 Refractor
SBIG ST-10XME
AP Mach 1 Mount
ATS Portable Pier
Tucson, Arizona

Offline pfile

  • PTeam Member
  • PixInsight Jedi Grand Master
  • ********
  • Posts: 4018
    • View Profile
generally speaking star PSFs are destroyed (in the sense that the nonlinear stretch messes up the profile and can saturate the center of the star) and so all PSF extractions should always be done on linear data.

rob

Offline GJL

  • PixInsight Enthusiast
  • **
  • Posts: 88
    • View Profile
The PSF tool is normally used for deconvolution in linear image processing. Deconvolution can also be used for refinement in the non-linear range. You can also use PSF, but I personally use nonlinear the Parametric PSF.

Gerhard

Offline GJL

  • PixInsight Enthusiast
  • **
  • Posts: 88
    • View Profile
Rob, you give me the reason why I avoid PSF in the nonlinear area more intuitively.  Thanks

Gerhard

Offline Booter

  • Newcomer
  • Posts: 4
    • View Profile
Thank you very much Hartmut!

This is now part of my "must-do" workflow in PixInsight.

I am very grateful!!!

Have a great New Year!!!

Jeff in Canada

Offline hvb356

  • Newcomer
  • Posts: 42
    • View Profile
Hi Jeff,

it's a pleasure for me.

A successful and happy New Year to you and the PixInsight community

Hartmut
TOA-150, ML8300, CFW2-7 w. Astronomik HaLRGB, PDF, EM-400, guiding FS-60 + ST402, ASCOM bsd. image acquisition

Offline Geoff

  • PixInsight Padawan
  • ****
  • Posts: 839
    • View Profile
Rob, you give me the reason why I avoid PSF in the nonlinear area more intuitively.  Thanks

Gerhard
Well, the practical way to see the difference is to use dynamic PSF on a linear image and then stretch the image and repeat. You’ll find the PSFs of different stars are very similar in the linear case and all over the place in the nonlinear case.

The reason we measure a PSF is almost always as a prelude to deconvolution.  The image we have from the camera is a result of the source being convolved with atmospheric distortions and instrumental defects.  Deconvolution tries to reverse this process, so it needs a consistent PSF measurement throughout the image. Stretching removes this consistency.
« Last Edit: 2018 December 30 19:05:53 by Geoff »
Don't panic! (Douglas Adams)
Astrobin page at http://www.astrobin.com/users/Geoff/
Webpage (under construction) http://geoffsastro.smugmug.com/