From 8f6e0daf30004d2e563831c21ea109a53f60c7f6 Mon Sep 17 00:00:00 2001 From: Robert Smallshire Date: Tue, 2 Sep 2014 11:03:14 +0200 Subject: [PATCH] Renamed inlines_xlines() method to inline_xline_numbers() since that is what it actually yields. --- reader.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/reader.py b/reader.py index 88ab259..d019e7a 100644 --- a/reader.py +++ b/reader.py @@ -270,7 +270,7 @@ class SegYReader3D(SegYReader): # TODO: Memoize return len(set(i for i, j in self._line_catalog)) - def inline_xlines(self): + def inline_xline_numbers(self): """An iterator over all (xline_number, inline_number) tuples corresponding to traces. """ return iter(self._line_catalog) @@ -281,7 +281,7 @@ class SegYReader3D(SegYReader): Note: Do not assume that all combinations of crossline and inline co-ordinates are valid. The volume may not be rectangular. Valid values can be obtained from the - inline_xlines() iterator. + inline_xline_numbers() iterator. Furthermore, inline and crossline numbers should not be relied upon to be zero- or one-based indexes (although they may be). @@ -337,7 +337,7 @@ class SegYReader2D(SegYReader): Note: Do not assume that all combinations of crossline and inline co-ordinates are valid. The volume may not be rectangular. Valid values can be obtained from the - inline_xlines() iterator. + inline_xline_numbers() iterator. Furthermore, inline and crossline numbers should not be relied upon to be zero- or one-based indexes (although they may be).