Skip to content

Commit 5e59133

Browse files
committed
add find quiet background files
1 parent 83f53ee commit 5e59133

8 files changed

Lines changed: 1348 additions & 77 deletions

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,3 +166,4 @@ stixcore/data/test/idb/v2.26.38/idb.sqlite
166166
.python-version
167167
sunpy/_version.py
168168
stixcore/_version.py
169+
.claude/*

stixcore/data/stixcore.ini

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,3 +36,15 @@ soop_files_download = ./stixcore/data/soop
3636
ecc_path = /opt/stix_det_cal/bin/
3737
[Processing]
3838
flarelist_sdc_min_count = 1000
39+
# background-data-file lookup (find_background_file_for_time)
40+
flarelist_bkg_window_past_days = 21
41+
flarelist_bkg_window_future_days = 21
42+
flarelist_bkg_min_duration_s = 500
43+
# require the background file to share the flare's on-board ELUT configuration (ELUTManager lookup)
44+
flarelist_bkg_require_same_elut = True
45+
# optional stricter selection (default OFF - all three move common cases, not just edge cases):
46+
# purpose preference: prefer purpose=="Background" unless a subject-only match is this many days closer
47+
# (0.0 disables); exclude "elevated" backgrounds; drop requests whose comment references a flare id
48+
flarelist_bkg_purpose_penalty_days = 0.0
49+
flarelist_bkg_exclude_elevated = False
50+
flarelist_bkg_exclude_flare_comment = True
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
version https://git-lfs.github.com/spec/v1
2-
oid sha256:2ba33aa45a7d045dcbc08d1ddddf8bdf8d01dde93e01fdf4db0c12e1dfb0b4bf
3-
size 1005
2+
oid sha256:577485ea766335f15fb1ac4e40f1803d96e82919fd77164c429029a11f7afcac
3+
size 1383

0 commit comments

Comments
 (0)