Commit Graph
191 Commits
Author SHA1 Message Date
Robert Smallshire 39e31afa28 Formatting. 2015-04-17 12:12:12 +02:00
Robert Smallshire 5ab4c70969 Merge branch 'ibm_float' 2015-04-17 12:11:08 +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 deb9d6c8ca Read IBM floats into the new IBMFloat type rather than converting directly to IEEE floats. This allows bit-perfect round-tripping. 2015-04-15 09:33:14 +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 ff40995995 Implemented equality testing between IBMFloats 2015-04-14 21:50:30 +02:00
Robert Smallshire 8a5c2997b9 Comment out incomplete code. 2015-03-13 12:39:56 +01: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 9751fa6300 Docstring for segpy.ext.load_packages() 2015-02-27 10:55:24 +01:00
Robert Smallshire e6ed86dc8d Relocate segpy.ext.numpyext to a separately deployable package segpy-numpy which using pkg_resources entry points to deploy itself into segpy.ext at runtime. 2015-02-26 20:25:42 +01:00
Robert Smallshire e938be8507 Fix trove classifier 2015-02-26 20:23:31 +01:00
Robert Smallshire 46ddafb37c Layout 2015-02-26 20:23:01 +01:00
Robert Smallshire 17a6475e5b Lower case Segpy->segpy in setup.py 2015-02-25 10:57:29 +01:00
Robert Smallshire b1782b9c81 Packaging work and explicit __version__ 2015-02-24 21:13:16 +01:00
Robert Smallshire 7d2079de83 Time slice extraction example program. 2015-02-24 17:28:41 +01:00
Robert Smallshire aac598d64f Update numpy dtypes extension for correct type codes. 2015-02-24 17:27:37 +01:00
Robert Smallshire 52cb3a7005 Documentation outline 2015-02-24 11:32:46 +01:00
Robert Smallshire 3fd47ac7e5 Rename complementary_slices() to complementary_intervals(). 2015-02-24 11:31:16 +01:00
Robert Smallshire 60e4295b29 Remove support for Python 3.2 2015-02-01 09:46:02 +01:00
Robert Smallshire 7c7b771efb Remove irrelevant history from the rewrite branch. 2015-02-01 09:12:02 +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 1e4494298e Quickstarted Sphinx documentation 2015-01-31 17:59:43 +01:00
Robert Smallshire b91dd65d82 Removed dependency on unused sys module. 2015-01-31 17:51:22 +01:00
Robert Smallshire 1d20aaf820 Adds Python 3.2 to Travis CI build 2015-01-31 16:19:38 +01:00
Robert Smallshire 78bae6f859 Adds Python 3.3 to Travis CI build 2015-01-31 16:16:16 +01:00
Robert Smallshire 6e8843dce6 Adds Python 2.7 to Travis CI build 2015-01-31 16:10:21 +01:00
Robert Smallshire 99b37024ab Tidy up imports. 2015-01-31 16:08:48 +01:00
Robert Smallshire 77d5ffb10f Fixed broken import. 2015-01-31 16:06:22 +01:00
Robert Smallshire 4862f347df Reinstate Python 2 compatibility. 2015-01-31 16:00:14 +01:00
Robert Smallshire 38511e67ba Update the README to include a status image. 2015-01-31 09:10:13 +01:00
Robert Smallshire c9e9e7c599 Point Travis CI and the right test-requirements.txt file 2015-01-31 09:00:00 +01:00
Robert Smallshire 842e16f591 Add a .travis.yml file for Travis CI setup 2015-01-31 08:54:19 +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 0d61bc782e Use the EMPTY_BYTE_STRING constant instead of b'' 2015-01-30 21:00:21 +01:00
Robert Smallshire d454f2b4eb Use the array module rather than the struct module for reading the sample arrays. Gives a x3 speed-up. Also fix automatic encoding detection. 2015-01-30 20:57:26 +01:00
Robert Smallshire 5322c2a5d2 Example to time header-reading/catalog-building and trace reading. 2015-01-30 20:54:20 +01:00
Robert Smallshire a152672bf5 Example program to print a report of important SEG Y file characteristics. 2015-01-30 20:53:07 +01:00
Robert Smallshire 797cfee020 Sweep frequency start definition was missing from the reel header. 2015-01-30 20:52:14 +01:00
Robert Smallshire 5a1f790ffd Added a simple timed reader example. Also useful for performance testing changes 2015-01-30 16:04:42 +01:00
Robert Smallshire 2d13fc8c82 Removed unused item_size argument from unpack_values() 2015-01-30 14:55:50 +01:00
Robert Smallshire f1310459d7 write_binary_reel_header() was not forwarding it's endian argument to write_binary_values() 2015-01-30 14:52:46 +01:00
Robert Smallshire c04cf0901f General code clean-up of issue PyCharm linter is highlighting. 2015-01-30 14:44:08 +01:00
Robert Smallshire e56eefbd2c Return double-precision IEEE float values when reading single-precision IBM floats to prevent loss of precision. 2015-01-30 14:36:35 +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