Commit Graph

32 Commits

Author SHA1 Message Date
Robert Smallshire 3b740888bd Prevent the step argument to test_regular_constant_mapping being zero 2015-06-04 17:16:20 +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
Robert Smallshire d0a1eb5a47 Test round-tripping of binary reel headers to and from a byte stream. 2015-05-12 10:01:42 +02:00
Robert Smallshire 5bfba47daf A Hypothesis strategy for producing headers of a particular class. 2015-05-11 22:19:57 +02:00
Robert Smallshire c1b2dfed86 More flexible and robust 2D catalog types which independently store i and j indexes. 2015-05-08 18:41:04 +02:00
Robert Smallshire 917e0a1ebe Additional Hypothesis-based tests for the catalog builder and catalog implementations. 2015-05-07 22:24:23 +02:00
Robert Smallshire c713475e07 Removes Catalog base class and fixes defects in CatalogBuilder and RegularCatalog detected by Hypothesis. 2015-05-07 21:15:19 +02:00
Robert Smallshire f491fe80b1 And here's the test with did the good work leading to the previous commit. 2015-05-07 20:34:13 +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 442444b0f1 Tidy up imports. 2015-05-05 13:34:07 +02:00
Robert Smallshire c60ee01796 Remove Python 2.7 crutch for bytes constructor. 2015-05-05 13:21:25 +02:00
Robert Smallshire e8cdaaf198 Use the HeaderPacker from toolkit to read and write the trace header. 2015-05-05 13:02:07 +02:00
Robert Smallshire 5cfc1805e9 Major work-in-progress on the binary header specification system. 2015-04-26 19:10:22 +01:00
Robert Smallshire d7e531dee8 FIx Hypothesis 1.2 compatibilitity descriptors->specifiers. 2015-04-17 12:14:34 +02:00
Robert Smallshire 39e31afa28 Formatting. 2015-04-17 12:12:12 +02:00
Robert Smallshire 90574122d5 Fixes for multiline text generation strategy in light of Hypothesis 1.2. 2015-04-17 11:43:32 +02:00
Robert Smallshire e57cb19f83 Require Hypothesis >= 1.2 2015-04-15 10:30:10 +02:00
Robert Smallshire 88987a8755 Tightened up the tests now that Hypothesis performance has improved. 2015-04-15 09:32:20 +02:00
Robert Smallshire dd24ea6bd8 Improved and more extensive hypothesis tests for IBMFloat. 2015-04-14 21:50:56 +02:00
Robert Smallshire b4b0fe5d92 Some progress on testing and implementing the IBMFloat. 2015-03-13 12:36:11 +01:00
Robert Smallshire 52e2967ec2 Some progress on testing and implementing the IBMFloat. 2015-03-10 19:52:06 +01:00
Robert Smallshire 1779f11b44 Adds a new IBMFloat type which losslessly stores IBM 32 bit floats 2015-03-06 18:58:38 +01:00
Robert Smallshire 46ddafb37c Layout 2015-02-26 20:23:01 +01:00
Robert Smallshire 8f4b79e906 Fixes Unicode error on Python 2.7. 2015-01-31 22:37:54 +01:00
Robert Smallshire 35678d9ec9 Test end-text stanza present in extended headers. 2015-01-31 21:55:22 +01:00
Robert Smallshire 469832416e Use integers_in_range to set the batch size rather than simply int to prevent colossal memory allocations. 2015-01-31 21:29:42 +01:00
Robert Smallshire 99b37024ab Tidy up imports. 2015-01-31 16:08:48 +01:00
Robert Smallshire 4862f347df Reinstate Python 2 compatibility. 2015-01-31 16:00:14 +01:00
Robert Smallshire 955eedcf94 Add test-requirements.txt to specify external dependencies for running tests. 2015-01-31 08:53:45 +01:00
Robert Smallshire f8c298a971 Correctness and robustness improvements to the IBM <-> IEEE floating point conversions, including additional tests. 2015-01-30 14:34:27 +01:00
Robert Smallshire 255a490914 Code reorganisation - segpy is now a proper Python package. Rework of the extended textual header for symmetry with the reader. Some additional tests. 2015-01-28 21:42:52 +01:00
Robert Smallshire ee228e2dc9 Improved portability between Python 2 and Python 3. Beginnings of code for writing SEG Y. 2014-10-21 14:54:49 +02:00