Skip to content

Commit fa60f14

Browse files
committed
Revert accidentally deleted comments
1 parent 4500bfa commit fa60f14

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/mdio/segy/blocked_io.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,9 @@ def to_zarr(
8989

9090
chunk_stats = list(lazy_work)
9191

92+
# Transposing because we want each statistic as a row to unpack later.
93+
# REF: https://math.stackexchange.com/questions/1547141/aggregating-standard-deviation-to-a-summary-point # noqa: E501
94+
# REF: https://www.mathwords.com/r/root_mean_square.htm
9295
# Aggregate statistics
9396
chunk_stats = [stat for stat in chunk_stats if stat is not None]
9497
# Each stat: (count, sum, sum_sq, min, max). Transpose to unpack rows.

0 commit comments

Comments
 (0)