Author Topic: mschuster's Scriptbox  (Read 25616 times)

Offline mschuster

  • PTeam Member
  • PixInsight Jedi
  • *****
  • Posts: 1087
Re: mschuster's Scriptbox
« Reply #30 on: 2014 June 15 11:11:11 »
Hi Vicent,
I think it needs more stars to generate better FWHM maps, I will double check and see what I can do. Saturation point should be easy, just haven't gotten around to doing it yet.
Mike

Offline vicent_peris

  • PTeam Member
  • PixInsight Padawan
  • ****
  • Posts: 988
    • http://www.astrofoto.es/
Re: mschuster's Scriptbox
« Reply #31 on: 2014 July 01 17:23:25 »
Hi Mike,

It was suggested in my last workshop to have an area of interest in your SubframeSelector script, just to avoid to include the effects of possible miscollimation in the calculation of the FWHM value in each image of a given data set. This way, the user could then select only the center of the frame, avoiding the corners, which in those circumstances have always higher FWHM values are may not be representative of the actual seeing conditions in the image. Could this be possible?

Thanks,
Vicent.

Offline NGC7789

  • PixInsight Old Hand
  • ****
  • Posts: 391
Re: mschuster's Scriptbox
« Reply #32 on: 2014 July 02 06:03:07 »
Also in this workshop we experimented with using SubframeSelector to evaluate calibration frames. Looking at the plot of the median proved useful (at least to me). Vicent thought there would be value in a dedicated CalibrationFrameSelector but in the interim maybe we could have a switch to turn off star detection and the calculation of associated variables to save time when using SubframeSelector on calibration frames.

Thanks.
-Josh

Offline vicent_peris

  • PTeam Member
  • PixInsight Padawan
  • ****
  • Posts: 988
    • http://www.astrofoto.es/
Re: mschuster's Scriptbox
« Reply #33 on: 2014 July 02 06:45:45 »
Yes, just forgot to mention this. It would be great to have a switch for the star detection (and the associated values).

This could be very valuable for inspecting a calibration frame data set. As we saw, the dark frames can have (depending on the sensor) a residual RBI signal if they are shoot right after the flat fields.


Best regards,
Vicent.

Offline mschuster

  • PTeam Member
  • PixInsight Jedi
  • *****
  • Posts: 1087
Re: mschuster's Scriptbox
« Reply #34 on: 2014 July 02 17:29:49 »
It was suggested in my last workshop to have an area of interest in your SubframeSelector script, just to avoid to include the effects of possible miscollimation in the calculation of the FWHM value in each image of a given data set. This way, the user could then select only the center of the frame, avoiding the corners, which in those circumstances have always higher FWHM values are may not be representative of the actual seeing conditions in the image. Could this be possible?

Hi Vicent,

A subframe region may be specified in the current version of SubframeSelector via Star Detection and Fitting > Subframe region. Values are left, top, width, and height (see the tooltip). All statistics and generated maps will reflect only this region appropriately. This feature is useful to improve performance also (I think you suggested this earlier, i.e. measure a small area to speed things up).

The FWHMEccentricity script has no equivalent option. I want to keep the UI as simple as possible. Please use the Crop process and Image Container as a first step and then use the script on the results.

Quote
An one suggestion. Some cameras don't have the saturation point at the top of the digital counts. Could you add a parameter to specify where is the saturation point?

A saturation point can be specified in the current version FWHMEccentrity via the Upper Limit option. The default is 1.0 (no clipping). I like to use 0.7 on my frames to clip off the non-linear anti-bloom region. On wider-field, reasonably exposed frames with lots of stars this option usually has only a small if any impact on the results. The relatively few saturated stars are seen as outliers and are rejected by the robust statistics.

Unfortunately SubframeSelector has no equivalent option yet. I will release a new version hopefully soon.

Quote
One question. I'm using now the SubframeSelector and it detects between 100 - 250 stars/image. It always says "Warning: insufficient number of fitted stars". I think 100 stars should give good statistics...?

I have not had a chance to work on this yet. As I mentioned before, good maps require sufficient stars all across the frames. My current plan is to not generate maps when requested and not enough stars are present (and a warning), and remove the warning otherwise.

Quote
Also in this workshop we experimented with using SubframeSelector to evaluate calibration frames. Looking at the plot of the median proved useful (at least to me). Vicent thought there would be value in a dedicated CalibrationFrameSelector but in the interim maybe we could have a switch to turn off star detection and the calculation of associated variables to save time when using SubframeSelector on calibration frames.

Hi Josh,

I will look into this option also.

Thanks,
Mike

« Last Edit: 2014 July 02 17:46:23 by mschuster »

Offline Alejandro Tombolini

  • PTeam Member
  • PixInsight Jedi
  • *****
  • Posts: 1267
    • Próxima Sur
Re: mschuster's Scriptbox
« Reply #35 on: 2014 July 02 18:32:02 »
A subframe region may be specified in the current version of SubframeSelector via Star Detection and Fitting > Subframe region. Values are left, top, width, and height (see the tooltip).

Hi Mike, the option "from preview" would be great!

Saludos, Alejandro.


Offline vicent_peris

  • PTeam Member
  • PixInsight Padawan
  • ****
  • Posts: 988
    • http://www.astrofoto.es/
Re: mschuster's Scriptbox
« Reply #36 on: 2014 July 04 00:27:27 »
A subframe region may be specified in the current version of SubframeSelector via Star Detection and Fitting > Subframe region. Values are left, top, width, and height (see the tooltip).

Hi Mike, the option "from preview" would be great!

Saludos, Alejandro.


+1

V.

Offline mschuster

  • PTeam Member
  • PixInsight Jedi
  • *****
  • Posts: 1087
Re: mschuster's Scriptbox
« Reply #37 on: 2014 August 05 10:29:36 »
Hi Mike, the option "from preview" would be great!

Saludos, Alejandro.

As a manual workaround, please first create your preview. Then command double click on the preview's name tag to see a dialog listing the top, left, width, and height values. Run SubframeSelector and copy them.

The script is complex, I don't want to add new features unless absolutely necessary.

Thanks,
Mike