Skip to content

Commit

Permalink
Multiply sample_interval by 1000 in SegyFactory
Browse files Browse the repository at this point in the history
In the SegyFactory initialization within creation.py, the sample_interval parameter has been modified to be multiplied by 1000. This change ensures that the value is correctly represented in microseconds, aligning with the expected data format.
  • Loading branch information
tasansal committed Apr 5, 2024
1 parent 409d2d9 commit 24cb69a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mdio/segy/creation.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def make_segy_factory(

return SegyFactory(
spec=new_segy_spec,
sample_interval=sample_interval,
sample_interval=sample_interval * 1000,
samples_per_trace=samples_per_trace,
)

Expand Down

0 comments on commit 24cb69a

Please sign in to comment.