Skip to content

Commit

Permalink
Medibus data will contain NaN instead of smallest possible float
Browse files Browse the repository at this point in the history
  • Loading branch information
psomhorst committed Dec 16, 2024
1 parent 1c317b9 commit 7c05d31
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions eitprocessing/datahandling/loading/draeger.py
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,7 @@ def _convert_medibus_data(
sparsedata_collection = DataCollection(SparseData)

for field_info, data in zip(medibus_fields, medibus_data, strict=True):
data[data < -1e30] = np.nan
if field_info.continuous:
continuous_data = ContinuousData(
label=field_info.signal_name,
Expand Down

0 comments on commit 7c05d31

Please sign in to comment.