Commit Graph

143 Commits

Author SHA1 Message Date
bfaa80c9d0 reorder 2024-08-08 16:30:06 +02:00
93f0702c41 early exit 2 2024-08-08 16:09:36 +02:00
a7327ddbf7 early exit 1 2024-08-08 16:07:54 +02:00
7987125bf5 some new lines 2024-08-08 16:07:08 +02:00
779d1e1d77 moved calculation of force_send_visualisation out of work function 2024-08-08 15:40:32 +02:00
f77f109ed2 removed the one case of camelCase 2024-08-07 18:27:21 +02:00
474df55969 use the current pid, not the one from the iteration before 2024-08-07 17:30:55 +02:00
0914b8d169 removed commented part and reworded printout; todo notes 2024-08-07 17:27:42 +02:00
a184e49eee use that BufferedJSON works for non-existing files 2024-08-07 17:05:30 +02:00
8531f0a28d added BufferedJSON.exists() method, use it in get_time/get_data 2024-08-07 17:02:04 +02:00
3b599164fa file naming 2024-08-07 16:42:58 +02:00
bff86898e9 moved json_load to bufjson.py 2024-08-07 16:41:33 +02:00
018fa6cf4b use BufferedJSON 2024-08-07 15:27:13 +02:00
9dbd11d657 added BufferedJSON 2024-08-06 20:59:14 +02:00
f1373936c0 added BufferedJSON 2024-08-06 20:56:56 +02:00
9b2fc0efea turned utils into folder 2024-08-06 20:51:45 +02:00
6639b46afb order 2024-08-06 17:01:02 +02:00
159574f4e8 combined a bit more of the logic 2024-08-06 16:37:56 +02:00
9fb9595c83 order 2024-08-06 16:07:04 +02:00
68c7bd7866 moved pedestal_name_saved into JFData 2024-08-06 15:56:28 +02:00
2e80fc0e6e moved the other half of ju_stream_adapter code into separate class 2024-08-06 15:20:09 +02:00
242ec6ff51 moved one half of ju_stream_adapter code into separate class 2024-08-06 14:03:33 +02:00
7b56e45cb6 probably better to limit the cache in size 2024-08-05 18:22:36 +02:00
e036e033f9 moved do_radial_integration check inside function for better overview 2024-08-05 18:20:35 +02:00
3a63baf909 dont repack center 2024-08-05 18:18:46 +02:00
a6af8ee19c use npmemo 2024-08-05 18:15:31 +02:00
58c18d9b8c added algos/utils folder and npmemo 2024-08-05 18:04:26 +02:00
26f41b5383 made radprof helper memoizable 2024-08-05 18:03:53 +02:00
45c6d99f7a forgotten return value 2024-08-02 20:28:58 +02:00
fb6ed0d116 worker is always 1, removed it and commented unreachable print outs 2024-08-02 20:28:46 +02:00
b2ae7292ab results is always copied from metadata 2024-08-02 19:17:09 +02:00
2903203743 use kwargs defaults 2024-08-02 19:09:50 +02:00
2857d6412b readability 2024-08-02 19:02:43 +02:00
8c11dd8f52 get_saturated_pixels does not change data in place, hence no copy is needed; use kwargs defaults 2024-08-02 19:01:04 +02:00
88c81a905b use ndarray.copy consistently 2024-08-02 18:50:52 +02:00
68619f1181 rad is already int 2024-08-02 17:25:28 +02:00
bbc58ca5e6 need to also store the norm between iterations; added some comments on why the center/rad/norm are reset and where; r_min/r_max need to be re-calclated every time (or also stored); added todo note 2024-08-02 17:23:11 +02:00
ac732cc4b7 easier to read name 2024-08-02 17:05:18 +02:00
46308b16a9 function order 2024-08-02 16:52:34 +02:00
26e2a3f619 easier to read/distinguish names 2024-08-02 16:50:04 +02:00
098146c97b use ndarray.copy consistently 2024-08-02 16:25:16 +02:00
f6c97e9749 added check for pixel_mask_pf being None 2024-08-02 16:14:42 +02:00
eb39550983 added todo note 2024-08-02 16:14:24 +02:00
ca3b42a797 use the boolean pixel_mask_pf 2024-08-02 16:11:57 +02:00
88f881fffd removed keep_pixels and use boolean array pixel_mask_pf instead 2024-08-02 16:01:13 +02:00
8cd2f07d80 leave pixel_mask_pf as boolean array (int8 is only needed for peakfinder_8, where it is type casted anyway) 2024-08-02 15:54:31 +02:00
de3ea150b2 all mask comparisons are for equality 2024-08-02 15:49:47 +02:00
dd7eda4834 renamed variable pfdata to data 2024-08-02 15:11:13 +02:00
062cc6055c use the same validation logic as in other cases 2024-08-02 15:10:52 +02:00
d9d79f3e87 more pythonic check 2024-08-02 14:55:37 +02:00