Commit Graph

174 Commits

Author SHA1 Message Date
SGCMarkus d6a8719014 astrodatagui: FlareSummaryPlotGUI: add file save/open support 2024-06-07 15:07:05 +02:00
SGCMarkus 9a80bf021d astrodatagui: support opening saved calculated files and fix a typo 2024-06-07 15:06:30 +02:00
SGCMarkus 1bdb552152 astrodatagui: disable count flares button when clicked and re-enable when done 2024-06-07 12:34:38 +02:00
SGCMarkus a59883d7ca astrodatagui: add open saved flare count file button 2024-06-07 12:30:11 +02:00
SGCMarkus 3a1b86d933 treewide: add minimal lightcurve support 2024-06-06 14:22:00 +02:00
SGCMarkus 00b44a78df stars.db: update file paths from \\ to / 2024-06-06 12:57:30 +02:00
SGCMarkus 481050f840 StarsDB: replace all \\ with / in filepaths
while / works on unix/linux/windows with python, \\ (aka \) only
works on windows
2024-06-06 12:55:06 +02:00
SGCMarkus 813cf29bc9 FlareSummaryPlotGUI: no need to convert to dataframes again, as we supply them now 2024-06-06 12:47:52 +02:00
SGCMarkus 5ccd9c2c7a CalcAllFlaresThread: switch to executor.map 2024-06-06 12:40:42 +02:00
SGCMarkus 0c204d3005 astrodatagui: use pandas instead of lists for faster processing 2024-06-06 10:44:14 +02:00
SGCMarkus a94e7e513c astrodatagui: StarsDB: switch to unix type filepath 2024-06-06 10:43:15 +02:00
SGCMarkus 157f7b6fa3 astrodatagui: FlaredetectorWidget: properly set flux error too 2024-05-27 17:30:45 +02:00
SGCMarkus 43e23853fc astrodatagui: FlareSummaryPlotGUI: add x label and properly sum sources 2024-05-27 16:20:14 +02:00
SGCMarkus 86b9c6db8f FlareSummaryPlotGUI: show legend 2024-05-27 11:20:28 +02:00
SGCMarkus 97c7ee098e FlareSummaryPlotGUI: implement show flares per star function 2024-05-27 11:05:11 +02:00
SGCMarkus 2b19a2f94b astrodatagui: FlareSummaryPlotGUI: rename showFlaresPerStar to perFile 2024-05-24 23:54:43 +02:00
SGCMarkus 6fe9013318 astrodatagui: FlareSummaryPlotGUI: use panda to show statistics 2024-05-24 23:52:14 +02:00
SGCMarkus ffa32dc682 stars.db: update with empty spectral types 2024-05-24 23:51:06 +02:00
SGCMarkus d29d23bccc starsdb: fix UPDATE command in dbCorrection 2024-05-22 14:17:39 +02:00
SGCMarkus b8e9c5b97f astrodatagui: fix empty spectral type insertion 2024-05-22 14:16:52 +02:00
SGCMarkus d3493c5fbd StarsDB: run db correction on startup 2024-05-22 14:12:10 +02:00
SGCMarkus e32b3d8df1 temp plot 2024-05-22 10:26:21 +02:00
SGCMarkus c2ac879363 astrodatagui: FlareSummaryPlotGUI: add basic buttons/layout 2024-05-17 13:10:16 +02:00
SGCMarkus 07e8b9b2ed astrodatagui: hand dictionary list over to FlareSummaryPlotGUI 2024-05-17 10:52:43 +02:00
SGCMarkus 462b5f6703 astrodatagui: show empty FlareSummaryPlotGUI when flare calculations are done 2024-05-17 10:25:20 +02:00
SGCMarkus 8c5b243fe0 astrodatagui: introduce basic FlareSummaryPlotGUI 2024-05-17 10:24:39 +02:00
SGCMarkus d5f93f8f12 flaredetector: convert MaskedArrays to numpy arrays
MaskedArrays can not be pickled, and cause a crash when moving
the data back to the main thread
2024-05-16 16:10:50 +02:00
SGCMarkus 38aa08fcd0 astrodatagui: CalcAllFlaresThread: split list of dictionaries
previously we had a lot of overhead spawning new processes for
every single list entry.
Splitting it this way only spawns <core count> processes once,
heaving no continuous overhead.
2024-05-15 11:00:02 +02:00
SGCMarkus 724ce3e13f astrodatagui: use new thread for count all flairs 2024-05-14 22:32:41 +02:00
SGCMarkus 2c11166640 astrodatagui: CalcAllFlaresThread: initial thread class 2024-05-14 22:30:16 +02:00
SGCMarkus 4139b71b04 main: move start of program under __main__ 2024-05-14 22:28:33 +02:00
SGCMarkus 92120af68f astrodatagui: StarsDB: getAllStars: return dictionary instead of ambigous array 2024-05-13 15:58:30 +02:00
SGCMarkus 39da56ab6c astrodatagui: btCountAllFlaresClicked: safe all combinations in dictionary 2024-05-13 15:56:22 +02:00
SGCMarkus 2729a6e629 astrodatagui: StarsDB: getStarSequences: return dictionary instead of ambigous array 2024-05-13 15:30:30 +02:00
SGCMarkus d4db8dfc1f astrodatagui: StarsDB: getStarInfos: return dictionary instead of ambigous array 2024-05-13 15:17:30 +02:00
SGCMarkus 00f37d80e8 astrodatagui: add count all flares dummy button 2024-05-13 15:08:09 +02:00
SGCMarkus dbdda26399 flaredetector: add quality flag to return lists 2024-05-13 14:40:48 +02:00
SGCMarkus f68c635545 astrodatagui: add option to show Tess/Kepler Quality flag 2024-05-13 14:24:54 +02:00
SGCMarkus 20ae05d331 astrodatagui: switch alt ids to proper list and fix resizing of other elements due to it 2024-05-13 11:46:41 +02:00
SGCMarkus 0ad300653e astrodatagui: make star list narrower 2024-05-13 11:33:38 +02:00
SGCMarkus 277a1eb473 flaredetector: dont check pcov 2024-05-13 11:33:10 +02:00
SGCMarkus 24979f97cd tmp 2024-04-29 08:59:29 +02:00
SGCMarkus e835964857 flaredetector: allow bigger delta to mean 2024-04-25 15:50:28 +02:00
SGCMarkus 31dfaebc3e flaredetector: use correct peak index for checking if flare is valid 2024-04-25 15:49:44 +02:00
SGCMarkus a15e771845 astrodatagui: FlaredetectorWidget: use proper flux to fit 2024-04-24 11:16:51 +02:00
SGCMarkus 4a09d3a757 astrodatagui: FlaredetectorWidget: only generate fits when new fits file is selected 2024-04-22 14:27:19 +02:00
SGCMarkus 4e28ec48b4 flaredetector: flares need to have a certain duration
either have 1 point before and after the peak above a threshold
or have 2 points after the peak above a threhold
2024-04-22 10:09:22 +02:00
SGCMarkus 432a92abfa astrodatagui: FlaredetectorWidget: show first 100 flares 2024-04-19 13:59:56 +02:00
SGCMarkus 7167a482e2 flaredetector: properly reset deltaCount 2024-04-19 13:59:27 +02:00
SGCMarkus f19dba985c flaredetector: catch exception if we cant fit the flare 2024-04-17 09:33:21 +02:00