Author Topic: Subframe Selector script Min/Max Variables  (Read 5332 times)

Offline dwormuth

  • Newcomer
  • Posts: 21
Subframe Selector script Min/Max Variables
« on: 2016 April 08 04:58:46 »
Not enough of a programmer to add this to the script myself.

Would be nice for my weighting function if there were variables available that defined Min/Max values for Eccentricity, FWHM, Noise etc.

Offline mschuster

  • PTeam Member
  • PixInsight Jedi
  • *****
  • Posts: 1087
Re: Subframe Selector script Min/Max Variables
« Reply #1 on: 2016 April 08 10:07:10 »
For now type min/max as constants. Find them faster by sorting the table.

Thanks,
Mike

Offline dwormuth

  • Newcomer
  • Posts: 21
Re: Subframe Selector script Min/Max Variables
« Reply #2 on: 2016 April 08 11:20:22 »
Thanks,

Might it be on the horizon for future enhancements?

Offline mschuster

  • PTeam Member
  • PixInsight Jedi
  • *****
  • Posts: 1087
Re: Subframe Selector script Min/Max Variables
« Reply #3 on: 2016 April 09 09:50:20 »
No plans now anyway. What weighting function are you using?

Thanks,
Mike
« Last Edit: 2016 April 10 12:17:06 by mschuster »

Offline jkmorse

  • PixInsight Padawan
  • ****
  • Posts: 931
  • Two questions, Mitch . .
    • Jim Morse Astronomy
Re: Subframe Selector script Min/Max Variables
« Reply #4 on: 2016 April 12 07:49:49 »
Mike,

I love your scripts so no complains but one small request when you are next working on SubFrameSelector.  It would be great if you could resize the display box.  There is so much data I want to explore and have the screen space but I have not found a way to expand the tool's dimensions.

Btw, have moved to a remote site so back to shooting adequately sampled or oversampled images with my Planewave and, as such, no longer need to use drizzle.  Once I get everything working properly I will be putting Mure to work again on all my images.  Can't wait! 

Thanks,

Jim
Really, are clear skies, low wind and no moon that much to ask for? 

New Mexico Skies Observatory
Apogee Aspen 16803
Planewave CDK17 - Paramount MEII
Planewave IFR90 - Astrodon LRGB & NB filters
SkyX - MaximDL - ACP

http://www.jimmorse-astronomy.com
http://www.astrobin.com/users/JimMorse

Offline mschuster

  • PTeam Member
  • PixInsight Jedi
  • *****
  • Posts: 1087
Re: Subframe Selector script Min/Max Variables
« Reply #5 on: 2016 April 12 09:20:57 »
Thanks Jim, sorry about the script window sizing problems. I pinged PTeam for suggestions.

Thanks,
Mike
« Last Edit: 2016 April 12 10:05:57 by mschuster »

Offline Alejandro Tombolini

  • PTeam Member
  • PixInsight Jedi
  • *****
  • Posts: 1267
    • Próxima Sur
Re: Subframe Selector script Min/Max Variables
« Reply #6 on: 2016 April 12 20:47:56 »
Hi Jim/Mike, I remember Juan's comment about resizing the window.

Saludos, Alejandro.

Offline mschuster

  • PTeam Member
  • PixInsight Jedi
  • *****
  • Posts: 1087
Re: Subframe Selector script Min/Max Variables
« Reply #7 on: 2016 April 12 21:08:37 »
Alejandro,

Yes, Juan's changes left the script somewhat compromised, the issues were never revisited, and I have been somewhat remiss in letting the situation remain this way. In defense of Juan, IMO he has had other more important things to work on.

I am hoping the new OS independent PJSR UI in 1195 offers a resolution. I am testing improvements on my iMac now. In a few days I plan on posting an update. I would like to get feedback on other OS before I submit an auto-update.

Thanks,
Mike

PS: One alternative I have considered is to abandon SectionBar completely and use Tabs instead, like in WavefrontEstimator. But this is a lot of work, which I have not wanted to do.


« Last Edit: 2016 April 12 21:18:13 by mschuster »

Offline jkmorse

  • PixInsight Padawan
  • ****
  • Posts: 931
  • Two questions, Mitch . .
    • Jim Morse Astronomy
Re: Subframe Selector script Min/Max Variables
« Reply #8 on: 2016 April 13 09:17:29 »
Mike,

If that kind of tweaking is keeping you from developing things like MureDN, please put all such tweaks on the back burner.

Jim
Really, are clear skies, low wind and no moon that much to ask for? 

New Mexico Skies Observatory
Apogee Aspen 16803
Planewave CDK17 - Paramount MEII
Planewave IFR90 - Astrodon LRGB & NB filters
SkyX - MaximDL - ACP

http://www.jimmorse-astronomy.com
http://www.astrobin.com/users/JimMorse

Offline mschuster

  • PTeam Member
  • PixInsight Jedi
  • *****
  • Posts: 1087
Re: Subframe Selector script Min/Max Variables
« Reply #9 on: 2016 April 14 17:20:57 »
Jim,

Here is a SubframeSelector Version 1.7 that allows improved dialog resizing:

https://dl.dropboxusercontent.com/u/109232477/PixInsight/SubframeSelector/SubframeSelector.1.7.zip

I tested this version on Win 7 and Mac 10.11.

For a quick test, please unzip the file, select Script > Execute Script File..., and open SubframeSelector.js.

Note that if you use Script > Feature Scripts... > Add to install this version, you will end up with both the previous version and this new version listed in the Script menu. This causes no problems, other than the duplication, you can run either one.

Thanks,
Mike

PS: Juan tells me that there are PJSR/QT platform issues with dialog resizing, and so this version may be buggy on other platforms, or even something on Win or Mac that I missed. Please let me know if you see problems. Due to this possibility, I am not going to submit a PixInsight auto update, at least for now.

Offline jkmorse

  • PixInsight Padawan
  • ****
  • Posts: 931
  • Two questions, Mitch . .
    • Jim Morse Astronomy
Re: Subframe Selector script Min/Max Variables
« Reply #10 on: 2016 April 15 08:37:40 »
Mike,

Will load it up and test this evening.  Have some new data to test it with.

Jim
Really, are clear skies, low wind and no moon that much to ask for? 

New Mexico Skies Observatory
Apogee Aspen 16803
Planewave CDK17 - Paramount MEII
Planewave IFR90 - Astrodon LRGB & NB filters
SkyX - MaximDL - ACP

http://www.jimmorse-astronomy.com
http://www.astrobin.com/users/JimMorse

Offline jkmorse

  • PixInsight Padawan
  • ****
  • Posts: 931
  • Two questions, Mitch . .
    • Jim Morse Astronomy
Re: Subframe Selector script Min/Max Variables
« Reply #11 on: 2016 April 15 17:52:04 »
Mike,

Just tested and it worked beautifully.  That is such an improvement, even though a little thing.  Thanks!!

Btw, tested on my desktop running Windows 10.

Best,

Jim
Really, are clear skies, low wind and no moon that much to ask for? 

New Mexico Skies Observatory
Apogee Aspen 16803
Planewave CDK17 - Paramount MEII
Planewave IFR90 - Astrodon LRGB & NB filters
SkyX - MaximDL - ACP

http://www.jimmorse-astronomy.com
http://www.astrobin.com/users/JimMorse