Commit Graph

153 Commits

Author SHA1 Message Date
SGCMarkus 80d35a0d1c flaredetector: util: add multiple fitting functions
sine, double sine (2 sine curves in 1 lightcurve one after the other),
a 10 degree polynomial
2024-07-04 14:36:18 +02:00
SGCMarkus d614f5ed74 astrodatagui: FlaredetectorWidget: show vlines are border for folded lc fit 2024-07-02 12:03:15 +02:00
SGCMarkus 1b33052c34 flaredetector: util: add function to plot peak/valley areas 2024-07-02 12:01:40 +02:00
SGCMarkus 29e7e3e847 flaredetector: util: fix algorithm incase of out of bounds 2024-07-02 11:17:28 +02:00
SGCMarkus af8af0b56b flaredetector: util: add function to mark peak/valley borders in folded lcs 2024-07-02 10:31:24 +02:00
SGCMarkus 019005319e astrodatagui: FlaredetectorWidget: ofcourse we need to sort by highest... 2024-07-01 11:10:02 +02:00
SGCMarkus b1a7c36f22 astrodatagui: FlaredetectorWidget: show folded fit 2024-06-19 10:56:47 +02:00
SGCMarkus b35d59b928 flaredetector: util: increase max iterations of getFoldedBestFit 2024-06-19 10:56:11 +02:00
SGCMarkus 99b05aa76e flaredetector: util: add funnction to calculate bets fit for a folded lc 2024-06-19 10:55:41 +02:00
SGCMarkus 358f8db67d astrodatagui: set most likely period as default 2024-06-13 15:38:58 +02:00
SGCMarkus 9ba9f29331 astrodatagui: FlaredetectorWidget: show flare peaks in folded view 2024-06-13 14:49:47 +02:00
SGCMarkus b5479b5dc1 flaredetector: util: add function to convert normal index to folded index/cycle pair 2024-06-13 14:49:04 +02:00
SGCMarkus d66df44bea astrodatagui: FlareSummaryPlotGUI: show normalized flare count 2024-06-13 14:36:10 +02:00
SGCMarkus b966e7350b astrodatagui: CalcAllFlaresThread: save timespan data 2024-06-10 16:54:37 +02:00
SGCMarkus d3928fbcee flaredetector: util: add helper functions to calculate timespans of valid data 2024-06-10 16:54:08 +02:00
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 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 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 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