Commit Graph

207 Commits

Author SHA1 Message Date
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
SGCMarkus 126195fdb3 astrodatagui: FlaredetectorWidget: plot fits/mark flares in all possible plots 2024-04-17 08:57:12 +02:00
SGCMarkus 57e454cb3b flaredetector: move plotting functions to util 2024-04-17 08:55:42 +02:00
SGCMarkus ef455dcfbb flaredetector: add markFlare function 2024-04-17 08:54:46 +02:00
SGCMarkus ffacde3386 flaredetector: use sortByHighest for calculating fits 2024-04-17 08:36:36 +02:00
SGCMarkus ad8c22978e flaredetector: support plotting peaks onto given non-normalized fluxes 2024-04-17 08:35:58 +02:00
SGCMarkus b56a2e3701 flaredetector: add function to plot fits to an axis 2024-04-15 16:07:11 +02:00
SGCMarkus 0627296727 flaredetector: add function to plot fit peaks to an axis 2024-04-15 16:00:21 +02:00
SGCMarkus af824867fb flaredetector: split peaks/fits for calculateFlareFitsForLightcurve 2024-04-15 15:58:10 +02:00
SGCMarkus c8ad11187e flaredetector: add missing imports 2024-04-15 15:25:45 +02:00
SGCMarkus b8c38762b1 flaredetector: add calculateFlareFitsForLightcurve
this function fits all flares for a lightcurve
2024-04-15 15:19:58 +02:00
SGCMarkus 77e23f480a flaredetector: add calculateFitForFlare function
this function fits the flare at peakIndex postion from a flattened
lightcurve

returns flattened Peak value, flare fit indices (in original
lightcurve time), and the fit
2024-04-15 15:16:30 +02:00
SGCMarkus 1814467090 astrodatagui: FlaredetectorWidget: explicitely state parameters for periodogram max indices 2024-04-15 15:05:36 +02:00
SGCMarkus f2a7cc08dc flaredetector: util: add argument if peaks should be sorted or not by highest 2024-04-15 15:04:51 +02:00
SGCMarkus 0f0001f7a3 flaredetector: make sure we dont run into ranges without data 2024-04-15 14:41:20 +02:00
SGCMarkus 5bfa2b1898 flaredetector: add boundaries for flare range 2024-04-15 14:40:46 +02:00
SGCMarkus 5785bb9501 flaredetector: add algorithm to detect start/end of possible flares 2024-04-15 14:38:03 +02:00
SGCMarkus 1ecacfcaa4 flaredetector: add GaussExponential function to fit flares 2024-04-15 14:32:40 +02:00