Skip to content

Commit

Permalink
oops
Browse files Browse the repository at this point in the history
  • Loading branch information
jonaraphael committed Nov 21, 2024
1 parent 6e3b44f commit 996b82c
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions notebooks/ASA_test_environment.py
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ def plot_coincidence(
plt.show()


analyzers: dict[str, SourceAnalyzer] = {}
analyzers: dict[int, SourceAnalyzer] = {}

# %%
slick_ids = [
Expand All @@ -243,8 +243,8 @@ def plot_coincidence(
s1_scene = get_s1_scene(slick_gdf.s1_scene_id.iloc[0])

source_types = []
source_types += ["infra"]
# source_types += ["ais"]
# source_types += [1] # ais
source_types += [2] # infra
if not ( # If the last analyzer is for the same scene, reuse it
analyzers
and next(iter(analyzers.items()))[1].s1_scene.scene_id == s1_scene.scene_id
Expand Down Expand Up @@ -275,8 +275,8 @@ def plot_coincidence(
]
)

if "infra" in analyzers:
plot_coincidence(analyzers["infra"], slick_id)
if 2 in analyzers:
plot_coincidence(analyzers[2], slick_id)

print(ranked_sources[["type", "st_name", "collated_score"]].head())

Expand Down

0 comments on commit 996b82c

Please sign in to comment.