Commit Graph
253 Commits
Author SHA1 Message Date
Robert Smallshire b042133f55 Adds to and fixes documentation. Removes Python 2 cruft. 2015-05-07 15:56:31 +02:00
Robert Smallshire 71ad80b016 Merge branch 'master' of https://github.com/sixty-north/segpy 2015-05-07 14:35:25 +02:00
Robert Smallshire 0c0096f314 Adds basic support for decimal version representation. 2015-05-07 14:34:57 +02:00
Robert Smallshire b4e98a562f Corrects the official values for SEGY_REVISION_0 and SEGY_REVISION_1 constants. Tidies up the version canonicalization code. 2015-05-07 14:04:48 +02:00
Robert Smallshire fa5371349d The SEG Y Revision 1 specification. 2015-05-07 13:54:50 +02:00
Robert Smallshire 32eeb6e2f3 PEP 8 compliance. 2015-05-07 13:53:13 +02:00
Robert Smallshire c839a49531 Removes unnecessary print statement. 2015-05-07 13:52:46 +02:00
Robert Smallshire 68c5289a91 Renames arguments for correctness and clarity, to avoid name clashes. 2015-05-07 13:52:10 +02:00
Robert Smallshire 9dbc9d15dc Improves API documentation for reader.py. 2015-05-07 13:51:01 +02:00
Robert Smallshire 89a8b2420f Improves readability and formatting in datatypes.py. 2015-05-07 13:50:12 +02:00
Robert Smallshire b52ea4cff6 Simplifies comparison statements in encoding.py 2015-05-07 13:49:38 +02:00
Robert Smallshire 2e9064432c Update DESCRIPTION.rst 2015-05-07 12:59:54 +02:00
Robert Smallshire edd1fce166 Adds clarifying remark to pairwise() generator function. 2015-05-06 20:37:46 +02:00
Robert Smallshire 3269e13705 Removes unnecessary __init__.py file. 2015-05-06 20:21:10 +02:00
Robert Smallshire 449fecd757 Updates the timeslice.py example to use the new inline_numbers() and xline_numbers() methods. 2015-05-06 18:19:38 +02:00
Robert Smallshire a50c947a95 Removes cdp_range(), inline_range() and xline_range() methods which could have misleading results. Introduces cdp_numbers(), inline_numbers() and xline_numbers() which are always accurate. 2015-05-06 16:27:45 +02:00
Robert Smallshire 90320f6a42 Removes debugging code. 2015-05-06 12:53:23 +02:00
Robert Smallshire b0e02e2f8e Removes dead code from IBMFloat. 2015-05-06 12:51:39 +02:00
Robert Smallshire 05ecd3423e Removing interning of IBMFloat instances gives a 20% performance improvement reading trace data. 2015-05-06 12:50:45 +02:00
Robert Smallshire fd35fd4cd6 Removes the Python 2 trove classifier 2015-05-06 12:19:01 +02:00
Robert Smallshire fab758f9fc Removes hardwired binary reel header class type in write_binary_reel_header(). 2015-05-06 11:32:32 +02:00
Robert Smallshire 3f82865c2d Refactors conditional to polymorphism in HeaderPacker. About 5% faster at reading trace headers. 2015-05-06 11:31:12 +02:00
Robert Smallshire 002385fc84 Refactors HeaderPacker.unpack() 2015-05-06 11:04:26 +02:00
Robert Smallshire 0801fc2c17 Documents Header.__init__() 2015-05-06 10:47:43 +02:00
Robert Smallshire b5af594716 Achieves another 30% increase in trace header reading performance. (Forgotten file) 2015-05-06 10:39:31 +02:00
Robert Smallshire abf093bce2 Achieves another 30% increase in trace header reading performance. 2015-05-06 10:38:32 +02:00
Robert Smallshire 05b1352730 Corrects incorrect offset for year_recorded field. 2015-05-06 10:26:32 +02:00
Robert Smallshire b0243c984e Reimplements Header.__init__() to be almost twice as fast. 2015-05-06 09:54:14 +02:00
Robert Smallshire caa90a18ed Removes printing of all inline, crossline and shotpoint numbers from report.py example. 2015-05-06 09:27:46 +02:00
Robert Smallshire cdfb0c9088 Bumps version to 2.0.0a2 2015-05-05 20:23:02 +02:00
Robert Smallshire d44a4d60ae Rename textual_reel_header_definition to textual_reel_header 2015-05-05 20:16:06 +02:00
Robert Smallshire 44d6f4e3d9 Removes erroneous reference to 'rewrite branch' 2015-05-05 20:09:18 +02:00
Robert Smallshire d8e563deb0 Updates the Travis build status badge in README 2015-05-05 20:08:41 +02:00
Robert Smallshire 3449a81b80 Updated README to show master branch build status. 2015-05-05 19:54:23 +02:00
Robert Smallshire 71e77b0ef3 Updated contributor information. 2015-05-05 19:40:19 +02:00
Robert Smallshire 1bcdf29f0c Remove unused file. 2015-05-05 17:38:08 +02:00
Robert Smallshire aab5ebb81b Update readme. 2015-05-05 17:37:40 +02:00
Robert Smallshire a80a4282ac Update copyright message with current year. 2015-05-05 17:37:26 +02:00
Robert Smallshire 9e1921e4b6 Definition of the binary reel header and using the new definition in read and writing files. 2015-05-05 17:21:00 +02:00
Robert Smallshire b8058578d6 Update readme and license. 2015-05-05 13:50:22 +02:00
Robert Smallshire e25c9682d8 Relocate EMPTY_BYTE_STRING constant from portability to util. 2015-05-05 13:38:35 +02:00
Robert Smallshire 5c6238c528 Remove Python 2.7 crutch for unicode/str discrepancy. 2015-05-05 13:35:52 +02:00
Robert Smallshire 442444b0f1 Tidy up imports. 2015-05-05 13:34:07 +02:00
Robert Smallshire b90ff07940 Relocate four_bytes() from portability to util. 2015-05-05 13:33:48 +02:00
Robert Smallshire 6e3494586a Remove Python 2.7 crutch for izip and izip_longest 2015-05-05 13:30:32 +02:00
Robert Smallshire 60acf5f3db Remove Python 2.7 crutch for reprlib 2015-05-05 13:23:03 +02:00
Robert Smallshire c60ee01796 Remove Python 2.7 crutch for bytes constructor. 2015-05-05 13:21:25 +02:00
Robert Smallshire 0ec2c192a3 Remove Python 2.7 crutch for int/long 2015-05-05 13:17:45 +02:00
Robert Smallshire 2b7351848b Remove Python 2.7 crutch for file.seekable() 2015-05-05 13:17:07 +02:00
Robert Smallshire f0bd88ffe8 Remove Python 2.7 travis build. Python 3 only from now on. 2015-05-05 13:14:07 +02:00