Commit Graph

92 Commits

Author SHA1 Message Date
6dccb5bbfd only apply additional mask if the mask has changed 2024-08-02 14:30:19 +02:00
092479c52d cleaned up comment 2024-08-02 14:23:06 +02:00
d8d984f5a3 read detector_name only where it is needed 2024-08-02 14:12:29 +02:00
19f1c8e375 condensed logic 2024-08-02 14:05:05 +02:00
87a79a265c naming consistency 2024-08-02 13:55:14 +02:00
e5fc7b2750 cleanup 2024-08-02 13:53:25 +02:00
0d06b7b5ed removed commented code for old beamtime 2024-08-02 13:44:54 +02:00
bf7f62adff moved masking pixels out of work function 2024-08-02 13:26:02 +02:00
6af0166f07 added todo notes 2024-08-02 13:16:09 +02:00
1402b08060 only copy if there are really in-place changes to be done 2024-08-02 13:12:30 +02:00
61b1d55a9e added notes on in place changes 2024-08-02 13:10:06 +02:00
d9b2ae4ac2 use the same validation logic as in other cases 2024-08-02 12:39:45 +02:00
b1b92e4b52 simpler logic 2024-08-02 12:28:09 +02:00
40c0a08d7c added todo notes 2024-08-02 12:18:56 +02:00
e9d187c712 renamed variable pfdata to data 2024-08-02 12:15:19 +02:00
a690654343 moved thresholding out of work function 2024-08-02 12:14:27 +02:00
53d2d965d9 forgotten results argument 2024-08-02 12:11:19 +02:00
92149d0614 moved do_* checks inside function for better overview 2024-08-02 12:01:01 +02:00
a34db9287e isort 2024-08-01 09:19:49 +02:00
2facda5d07 comments 2024-08-01 09:16:56 +02:00
3924abcba4 comments, todo note 2024-08-01 09:16:40 +02:00
ac8967611d use the same validation logic as in other cases 2024-08-01 09:05:43 +02:00
1af3e9c3ec added todo notes about TBD logic changes 2024-08-01 09:02:58 +02:00
7ea32d2a4d spaces 2024-07-31 19:43:07 +02:00
596a4e7e0a less convoluted 2024-07-31 19:42:59 +02:00
851a186538 readability 2024-07-31 17:50:40 +02:00
1c129bc5be removed useless copy (seems unlikely that peakfinder_8 changes the mask AND astype copies anyway unless explicity disabled) 2024-07-31 17:22:05 +02:00
41ff6c3204 renamed data_copy_1 -> data 2024-07-31 11:23:44 +02:00
7662f8604d naming, cleanup 2024-07-31 11:21:03 +02:00
55a719fa6c removed useless copy/conversion 2024-07-31 11:16:20 +02:00
a834d23f42 typos 2024-07-31 11:12:35 +02:00
abeab715dd consistent naming 2024-07-31 11:12:10 +02:00
a25bd23b67 cleaned/restructured 2024-07-31 11:09:46 +02:00
1db20f8b82 moved additional checks inside function 2024-07-30 22:23:28 +02:00
12e008aeba moved additional checks inside function 2024-07-30 21:25:30 +02:00
26913abbd5 removed useless copy 2024-07-30 20:20:25 +02:00
1dd37e1684 moved additional checks inside function; unpack variables from results dict 2024-07-30 20:06:12 +02:00
629d2c84bb de-arrow 2024-07-30 19:57:36 +02:00
a4918c989c more pythonic 2024-07-30 19:53:57 +02:00
7b2a1c3935 cleanup; logic also works correctly for number_of_spots == 0 2024-07-30 19:48:32 +02:00
96878e1b67 cleanup 2024-07-30 18:59:40 +02:00
8a72928a20 renamed variable pfdata to data 2024-07-30 18:57:40 +02:00
3c52784d48 cleanup 2024-07-30 18:57:08 +02:00
d4575a6656 de-arrow 2024-07-30 18:56:11 +02:00
3e3916b786 moved ROI algo out of work function 2024-07-30 18:55:02 +02:00
56a5f94805 added todo note 2024-07-30 18:11:49 +02:00
5d714e1fa3 moved spi_analysis out of work function 2024-07-30 18:09:56 +02:00
c3044653c2 renamed variable pfdata to data 2024-07-30 17:51:57 +02:00
6a926bcede moved peakfinder_analysis out of work function 2024-07-30 17:51:08 +02:00
a01a6e6ed5 renamed variable d to pfdata 2024-07-30 17:27:04 +02:00