David R. MacIver
18434779e3
Upgrade to new Hypothesis API.
2015-09-25 15:45:57 +01:00
Robert Smallshire
f851958d4c
Fixes Issue #23 where the ceil() and floor() tests for IBMFloat were incorrect.
2015-09-20 10:45:09 +02:00
Robert Smallshire
91562fddfd
Makes documentation consistent with API.
2015-06-15 09:57:52 +02:00
Robert Smallshire
47361906b1
Changes segpy-numpy to segpy_numpy : hyphen to an underscore in the source directectory.
2015-06-15 09:42:52 +02:00
Robert Smallshire
a565f4d245
Building the initial catatogs is now about 7 times faster.
2015-06-14 20:24:13 +02:00
Robert Smallshire
b053d5d5f3
Makes documentation consistent with implementation.
2015-06-14 20:22:47 +02:00
Robert Smallshire
9b80ce49de
Renames SubHeader to SubFormat.
2015-06-14 20:22:05 +02:00
Robert Smallshire
c7209f909a
Merge branch 'ext-numpy'
2015-06-14 17:38:42 +02:00
Robert Smallshire
2c5774c0b4
Removes unnecessary code and todos
2015-06-14 17:31:45 +02:00
Robert Smallshire
965b9482da
Adds extract_timeslice_3d to segpy_numpy
2015-06-14 17:30:46 +02:00
Robert Smallshire
2bee1e4f99
Adds inline/xline range support to extract_trace_header_3d. Adds extract_xline_3d
2015-06-14 17:20:29 +02:00
Robert Smallshire
9652730586
Move examples dependent on segpy-numpy to segpy-numpy/examples
2015-06-14 16:46:46 +02:00
Robert Smallshire
f792029829
Use SubFormats to make extract_trace_header_3d about four times faster when only extracting a single field.
2015-06-14 16:44:16 +02:00
Robert Smallshire
480bb024be
Adds a reminder to use a SubFormat when building catalogs.
2015-06-14 16:43:18 +02:00
Robert Smallshire
a3ecf62a09
Adds SubFormatMeta for subsetting header formats.
2015-06-14 16:42:43 +02:00
Robert Smallshire
a7d658995a
Adds a true() function which always returns True.
2015-06-14 16:40:30 +02:00
Robert Smallshire
5312cca052
Adds a property to reader to retrieve the default trace header class. Makes it possible to override the trace header class when retrieving a trace header.
2015-06-14 16:39:34 +02:00
Robert Smallshire
042b415ca1
Update contributors license agreements.
2015-06-11 12:37:23 +02:00
Robert Smallshire
c4703af67a
Work in progress on extraction to numpy data structures.
2015-06-11 12:32:00 +02:00
Robert Smallshire
e5d409eb93
Refactors extract_inline_3d
2015-06-08 23:39:09 +02:00
Robert Smallshire
7f50044b43
Makes SegYReader compute the maximum number of samples per trace before serializing (to the cache).
2015-06-08 23:38:24 +02:00
Robert Smallshire
ebb62fbc7b
Fixes SortedSet.__new__ failure to return object
2015-06-08 23:36:42 +02:00
Robert Smallshire
ee9f2cbb52
Adds an extract_inline_3d() function to segpy_numpy
2015-06-08 21:37:03 +02:00
Robert Smallshire
6d986a21a9
Adds code for extraction of an inline.
2015-06-07 22:35:32 +02:00
Robert Smallshire
23ee609c50
Improves handling of SEG Y data loaded from file-like objects without filenames (e.g. BytesIO) in respect of Reader caching
2015-06-07 22:12:36 +02:00
Robert Smallshire
f89de23b82
Adds persistent cacheing of SegYReader objects.
...
SegYReader objects are now cached by default in a persistent
store of pickles. Cached readers are located on the basis of
content hashes of the SEG Y files to which they relate combined
with the other arguments used to create the orginal reader. This
can lead to significant speed-ups since all indexes owned by the
reader instance are also cached.
2015-06-07 22:00:25 +02:00
Robert Smallshire
d06c2918d3
Add a function for computing the SHA1 hash of file contents.
2015-06-07 21:50:38 +02:00
Robert Smallshire
28046a19e2
Make HeaderPacker pickleable.
...
HeaderPacker requires special pickling support because the
standard library Struct object is not pickleable. Instead we
pickle the format string extracted from the Struct object when
pickling and use it to recreate the Struct object when
unpickling.
2015-06-07 20:12:05 +02:00
Robert Smallshire
3ff9308d02
Make Header and subclasses pickleable.
2015-06-07 20:09:16 +02:00
Robert Smallshire
986bae3da9
Fix mistake in LinearRegularCatalog.__repr__()
2015-06-07 20:02:23 +02:00
Robert Smallshire
60c66a249e
Fix mistake in DictionaryCatalog2D.__repr__()
2015-06-07 19:45:13 +02:00
Robert Smallshire
df312035e9
Merge branch 'ext-rework'
2015-06-04 22:27:49 +02:00
Robert Smallshire
3b740888bd
Prevent the step argument to test_regular_constant_mapping being zero
2015-06-04 17:16:20 +02:00
Robert Smallshire
39988a2ca0
Removes the segpy_numpy/numpy directory.
2015-06-04 17:11:43 +02:00
Robert Smallshire
506ce10581
Removes segpy_numpy.__init__.py
2015-06-04 15:22:21 +02:00
Robert Smallshire
2049e89819
Remove the ext subpackage.
...
import segpy.ext.numpy will no longer be supported. It just doesn't play nice with a lot of Python tooling. In future it will be
import segpy_numpy
2015-06-04 15:21:22 +02:00
Robert Smallshire
80966a18fb
Add a small program for checking whether SEG Y files roundtrip through the data structure flawlessly.
2015-06-04 15:18:20 +02:00
Robert Smallshire
db997625e3
Merge pull request #20 from rth/master
...
Replaced a call to HeaderPacker by make_header_packer
2015-06-04 11:56:38 +02:00
Robert Smallshire
af1f6de5d9
Fixes a missed Markdown to reStructuredText conversion in CONTRIBUTING.rst
2015-06-04 10:40:38 +02:00
Robert Smallshire
b8cd3f696d
Fix links to the CLA in CONTRIBUTING.rst
2015-06-04 10:39:00 +02:00
Robert Smallshire
61de7cd172
Change the author in setup.py to Sixty North AS
2015-06-04 10:23:27 +02:00
Robert Smallshire
e657342126
Update the contributing link in README.rst
2015-06-04 10:22:17 +02:00
Robert Smallshire
eaf79b0e68
Converts CONTRIBUTING.rst to actual reStructuredText rather than Markdown.
2015-06-04 10:21:57 +02:00
Robert Smallshire
6158cf3279
Add contributors license agreements and instructions on how to contribute.
2015-06-04 10:08:20 +02:00
Roman Yurchak
40bfb76f29
Replaced a call to HeaderPacker by make_header_packer
2015-06-03 23:06:09 +02:00
Robert Smallshire
d257ced760
Updates the license argument to setup()
2015-05-17 13:18:59 +02:00
Robert Smallshire
9c880b6715
Updates author contact information
2015-05-17 13:18:23 +02:00
Robert Smallshire
5e33d2731c
Updates trove classifier for license.
2015-05-17 13:13:17 +02:00
Robert Smallshire
9f090c2381
Adds Python 3 shebangs to command-line scripts.
2015-05-14 10:04:19 +02:00
Robert Smallshire
ce08d5b99a
Adds tests for textual reel header with arbitrary content. Removes seek() calls from write_textual_reel_header() and write_binary_reel_header().
2015-05-12 10:59:09 +02:00