Skip to content

Commit

Permalink
busy week update
Browse files Browse the repository at this point in the history
  • Loading branch information
jurjen93 committed Feb 13, 2024
1 parent 3322b23 commit d14d5e9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion source_selection/phasediff_output.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,6 @@ def get_phasediff_score(self, station: str = None):
H = tables.open_file(self.h5)

stations = [make_utf8(s) for s in list(H.root.sol000.antenna[:]['name'])]
print(stations)

if station is None or station == '':
stations_idx = [stations.index(stion) for stion in stations if
Expand Down
2 changes: 1 addition & 1 deletion source_selection/pre_processing_for_ml.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ def __init__(self, root_dir):
for file in os.listdir(cls_path):
if file.endswith('.fits'):
self.data.append(os.path.join(cls_path, file))
label = 'good' in cls
label = 'stop' in cls
self.labels.append(int(label))

@staticmethod
Expand Down

0 comments on commit d14d5e9

Please sign in to comment.