[segyio] 275/376: Return samples in microseconds in matlab

Jørgen Kvalsvik jokva-guest at moszumanska.debian.org
Wed Sep 20 08:04:44 UTC 2017


This is an automated email from the git hooks/post-receive script.

jokva-guest pushed a commit to branch debian
in repository segyio.

commit 9d346d3fe662085848e542e37312a83c0e7f37e8
Author: Jørgen Kvalsvik <jokva at statoil.com>
Date:   Thu Apr 20 10:33:22 2017 +0200

    Return samples in microseconds in matlab
    
    This was changed to be python compatible (i.e. return milliseconds), but
    for compatibility reasons (confirmed by tests), microseconds are
    returned for samples.
---
 mex/SegySpec.m | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mex/SegySpec.m b/mex/SegySpec.m
index 039379a..a30eec2 100644
--- a/mex/SegySpec.m
+++ b/mex/SegySpec.m
@@ -33,7 +33,7 @@ classdef SegySpec
 
             obj.sample_format = uint32(SegySampleFormat(spec.sample_format));
             obj.trace_sorting_format = TraceSortingFormat(spec.trace_sorting_format);
-            obj.sample_indexes = spec.sample_indexes / 1000.0;
+            obj.sample_indexes = spec.sample_indexes;
             obj.crossline_indexes = uint32(spec.crossline_indexes);
             obj.inline_indexes = uint32(spec.inline_indexes);
             obj.offset_count = uint32(spec.offset_count);

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/segyio.git



More information about the debian-science-commits mailing list