Commit Graph

  • f9b0d7903c Headers yield pairs, can be used like dicts master gitea 2015-12-03 10:52:02 +08:00
  • d604e328ef Iter method for headers gitea 2015-12-02 16:50:28 +08:00
  • 2460cc09ae Extended SegYReader to SegYWriter for inplace writing gitea 2015-12-02 16:31:08 +08:00
  • fde4d3add0 Fixed length catalog is an option and a fallback gitea 2015-12-02 16:15:01 +08:00
  • 82e02dc7f2 Fast catalog for fixed length SEG Y gitea 2015-12-02 15:55:33 +08:00
  • f94301a951 If valid 2d and 3d, use 3d instead of neither gitea 2015-12-02 15:52:58 +08:00
  • d29d984b58 Merge pull request #25 from DRMacIver/master Robert Smallshire 2015-09-25 21:54:40 +02:00
  • 18434779e3 Upgrade to new Hypothesis API. David R. MacIver 2015-09-25 15:45:57 +01:00
  • f851958d4c Fixes Issue #23 where the ceil() and floor() tests for IBMFloat were incorrect. Robert Smallshire 2015-09-20 10:45:09 +02:00
  • 91562fddfd Makes documentation consistent with API. Robert Smallshire 2015-06-15 09:57:52 +02:00
  • 47361906b1 Changes segpy-numpy to segpy_numpy : hyphen to an underscore in the source directectory. Robert Smallshire 2015-06-15 09:42:52 +02:00
  • a565f4d245 Building the initial catatogs is now about 7 times faster. Robert Smallshire 2015-06-14 20:24:13 +02:00
  • b053d5d5f3 Makes documentation consistent with implementation. Robert Smallshire 2015-06-14 20:22:47 +02:00
  • 9b80ce49de Renames SubHeader to SubFormat. Robert Smallshire 2015-06-14 20:22:05 +02:00
  • c7209f909a Merge branch 'ext-numpy' Robert Smallshire 2015-06-14 17:38:42 +02:00
  • 2c5774c0b4 Removes unnecessary code and todos Robert Smallshire 2015-06-14 17:31:45 +02:00
  • 965b9482da Adds extract_timeslice_3d to segpy_numpy Robert Smallshire 2015-06-14 17:30:46 +02:00
  • 2bee1e4f99 Adds inline/xline range support to extract_trace_header_3d. Adds extract_xline_3d Robert Smallshire 2015-06-14 17:20:29 +02:00
  • 9652730586 Move examples dependent on segpy-numpy to segpy-numpy/examples Robert Smallshire 2015-06-14 16:46:46 +02:00
  • f792029829 Use SubFormats to make extract_trace_header_3d about four times faster when only extracting a single field. Robert Smallshire 2015-06-14 16:44:16 +02:00
  • 480bb024be Adds a reminder to use a SubFormat when building catalogs. Robert Smallshire 2015-06-14 16:43:18 +02:00
  • a3ecf62a09 Adds SubFormatMeta for subsetting header formats. Robert Smallshire 2015-06-14 16:42:43 +02:00
  • a7d658995a Adds a true() function which always returns True. Robert Smallshire 2015-06-14 16:40:30 +02:00
  • 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. Robert Smallshire 2015-06-14 16:39:34 +02:00
  • 042b415ca1 Update contributors license agreements. Robert Smallshire 2015-06-11 12:37:23 +02:00
  • c4703af67a Work in progress on extraction to numpy data structures. Robert Smallshire 2015-06-11 12:32:00 +02:00
  • e5d409eb93 Refactors extract_inline_3d Robert Smallshire 2015-06-08 23:39:09 +02:00
  • 7f50044b43 Makes SegYReader compute the maximum number of samples per trace before serializing (to the cache). Robert Smallshire 2015-06-08 23:38:24 +02:00
  • ebb62fbc7b Fixes SortedSet.__new__ failure to return object Robert Smallshire 2015-06-08 23:36:42 +02:00
  • ee9f2cbb52 Adds an extract_inline_3d() function to segpy_numpy Robert Smallshire 2015-06-08 21:37:03 +02:00
  • 6d986a21a9 Adds code for extraction of an inline. Robert Smallshire 2015-06-06 20:08:39 +02:00
  • 23ee609c50 Improves handling of SEG Y data loaded from file-like objects without filenames (e.g. BytesIO) in respect of Reader caching Robert Smallshire 2015-06-07 22:12:36 +02:00
  • f89de23b82 Adds persistent cacheing of SegYReader objects. Robert Smallshire 2015-06-07 22:00:25 +02:00
  • d06c2918d3 Add a function for computing the SHA1 hash of file contents. Robert Smallshire 2015-06-07 21:50:38 +02:00
  • 28046a19e2 Make HeaderPacker pickleable. Robert Smallshire 2015-06-07 20:12:05 +02:00
  • 3ff9308d02 Make Header and subclasses pickleable. Robert Smallshire 2015-06-07 20:09:16 +02:00
  • 986bae3da9 Fix mistake in LinearRegularCatalog.__repr__() Robert Smallshire 2015-06-07 20:02:23 +02:00
  • 60c66a249e Fix mistake in DictionaryCatalog2D.__repr__() Robert Smallshire 2015-06-07 19:45:13 +02:00
  • df312035e9 Merge branch 'ext-rework' Robert Smallshire 2015-06-04 22:27:49 +02:00
  • 3b740888bd Prevent the step argument to test_regular_constant_mapping being zero Robert Smallshire 2015-06-04 17:16:20 +02:00
  • 39988a2ca0 Removes the segpy_numpy/numpy directory. Robert Smallshire 2015-06-04 17:11:43 +02:00
  • 506ce10581 Removes segpy_numpy.__init__.py Robert Smallshire 2015-06-04 15:22:21 +02:00
  • 2049e89819 Remove the ext subpackage. Robert Smallshire 2015-06-04 15:21:22 +02:00
  • 80966a18fb Add a small program for checking whether SEG Y files roundtrip through the data structure flawlessly. Robert Smallshire 2015-06-04 15:18:20 +02:00
  • db997625e3 Merge pull request #20 from rth/master Robert Smallshire 2015-06-04 11:56:38 +02:00
  • af1f6de5d9 Fixes a missed Markdown to reStructuredText conversion in CONTRIBUTING.rst Robert Smallshire 2015-06-04 10:40:38 +02:00
  • b8cd3f696d Fix links to the CLA in CONTRIBUTING.rst Robert Smallshire 2015-06-04 10:39:00 +02:00
  • 61de7cd172 Change the author in setup.py to Sixty North AS Robert Smallshire 2015-06-04 10:23:27 +02:00
  • e657342126 Update the contributing link in README.rst Robert Smallshire 2015-06-04 10:22:17 +02:00
  • eaf79b0e68 Converts CONTRIBUTING.rst to actual reStructuredText rather than Markdown. Robert Smallshire 2015-06-04 10:21:57 +02:00
  • 6158cf3279 Add contributors license agreements and instructions on how to contribute. Robert Smallshire 2015-06-04 10:08:20 +02:00
  • 40bfb76f29 Replaced a call to HeaderPacker by make_header_packer Roman Yurchak 2015-06-03 23:06:09 +02:00
  • d257ced760 Updates the license argument to setup() Robert Smallshire 2015-05-17 13:18:59 +02:00
  • 9c880b6715 Updates author contact information Robert Smallshire 2015-05-17 13:18:23 +02:00
  • 5e33d2731c Updates trove classifier for license. Robert Smallshire 2015-05-17 13:13:17 +02:00
  • 9f090c2381 Adds Python 3 shebangs to command-line scripts. Robert Smallshire 2015-05-14 10:04:19 +02:00
  • ce08d5b99a Adds tests for textual reel header with arbitrary content. Removes seek() calls from write_textual_reel_header() and write_binary_reel_header(). Robert Smallshire 2015-05-12 10:59:09 +02:00
  • d0a1eb5a47 Test round-tripping of binary reel headers to and from a byte stream. Robert Smallshire 2015-05-12 10:01:42 +02:00
  • 5bfba47daf A Hypothesis strategy for producing headers of a particular class. Robert Smallshire 2015-05-11 22:19:57 +02:00
  • a4e4e78ee8 SegyReader3D now uses updates 2D catalogs for traces. Robert Smallshire 2015-05-08 19:18:48 +02:00
  • c1b2dfed86 More flexible and robust 2D catalog types which independently store i and j indexes. Robert Smallshire 2015-05-08 18:41:04 +02:00
  • 917e0a1ebe Additional Hypothesis-based tests for the catalog builder and catalog implementations. Robert Smallshire 2015-05-07 22:24:23 +02:00
  • 9ebb5c7477 Improved formatting (indentation). Robert Smallshire 2015-05-07 22:23:50 +02:00
  • d57dcef777 Fixes a missing condition in CatalogBuilder which caused a failure on mappings with arbitrary keys and values with a regular stride. (Found by Hypothesis, of course). Robert Smallshire 2015-05-07 21:58:33 +02:00
  • c713475e07 Removes Catalog base class and fixes defects in CatalogBuilder and RegularCatalog detected by Hypothesis. Robert Smallshire 2015-05-07 21:15:19 +02:00
  • 4c222b96a6 Removes unnecessary code from CatalogBuilder. Robert Smallshire 2015-05-07 20:34:56 +02:00
  • f491fe80b1 And here's the test with did the good work leading to the previous commit. Robert Smallshire 2015-05-07 20:34:13 +02:00
  • 8c484a1ffa Fix defects in the CatalogBuilder and LinearRegularCatalog detected by a Hypothesis test. Robert Smallshire 2015-05-07 20:33:29 +02:00
  • 2a22e8588f Improves documentation and formatting. Robert Smallshire 2015-05-07 15:57:42 +02:00
  • 1ba97f75ce Improves and corrects documentation. Robert Smallshire 2015-05-07 15:57:11 +02:00
  • b042133f55 Adds to and fixes documentation. Removes Python 2 cruft. Robert Smallshire 2015-05-07 15:56:31 +02:00
  • 71ad80b016 Merge branch 'master' of https://github.com/sixty-north/segpy Robert Smallshire 2015-05-07 14:35:25 +02:00
  • 0c0096f314 Adds basic support for decimal version representation. Robert Smallshire 2015-05-07 14:34:57 +02:00
  • b4e98a562f Corrects the official values for SEGY_REVISION_0 and SEGY_REVISION_1 constants. Tidies up the version canonicalization code. Robert Smallshire 2015-05-07 14:04:48 +02:00
  • fa5371349d The SEG Y Revision 1 specification. Robert Smallshire 2015-05-07 13:54:50 +02:00
  • 32eeb6e2f3 PEP 8 compliance. Robert Smallshire 2015-05-07 13:53:13 +02:00
  • c839a49531 Removes unnecessary print statement. Robert Smallshire 2015-05-07 13:52:46 +02:00
  • 68c5289a91 Renames arguments for correctness and clarity, to avoid name clashes. Robert Smallshire 2015-05-07 13:52:10 +02:00
  • 9dbc9d15dc Improves API documentation for reader.py. Robert Smallshire 2015-05-07 13:51:01 +02:00
  • 89a8b2420f Improves readability and formatting in datatypes.py. Robert Smallshire 2015-05-07 13:50:12 +02:00
  • b52ea4cff6 Simplifies comparison statements in encoding.py Robert Smallshire 2015-05-07 13:49:38 +02:00
  • 2e9064432c Update DESCRIPTION.rst Robert Smallshire 2015-05-07 12:59:54 +02:00
  • edd1fce166 Adds clarifying remark to pairwise() generator function. Robert Smallshire 2015-05-06 20:37:46 +02:00
  • 3269e13705 Removes unnecessary __init__.py file. Robert Smallshire 2015-05-06 20:21:10 +02:00
  • 449fecd757 Updates the timeslice.py example to use the new inline_numbers() and xline_numbers() methods. Robert Smallshire 2015-05-06 18:19:38 +02:00
  • 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. Robert Smallshire 2015-05-06 16:27:45 +02:00
  • 90320f6a42 Removes debugging code. Robert Smallshire 2015-05-06 12:53:23 +02:00
  • b0e02e2f8e Removes dead code from IBMFloat. Robert Smallshire 2015-05-06 12:51:39 +02:00
  • 05ecd3423e Removing interning of IBMFloat instances gives a 20% performance improvement reading trace data. Robert Smallshire 2015-05-06 12:50:45 +02:00
  • fd35fd4cd6 Removes the Python 2 trove classifier Robert Smallshire 2015-05-06 12:19:01 +02:00
  • fab758f9fc Removes hardwired binary reel header class type in write_binary_reel_header(). Robert Smallshire 2015-05-06 11:32:32 +02:00
  • 3f82865c2d Refactors conditional to polymorphism in HeaderPacker. About 5% faster at reading trace headers. Robert Smallshire 2015-05-06 11:31:12 +02:00
  • 002385fc84 Refactors HeaderPacker.unpack() Robert Smallshire 2015-05-06 11:04:26 +02:00
  • 0801fc2c17 Documents Header.__init__() Robert Smallshire 2015-05-06 10:47:43 +02:00
  • b5af594716 Achieves another 30% increase in trace header reading performance. (Forgotten file) Robert Smallshire 2015-05-06 10:39:31 +02:00
  • abf093bce2 Achieves another 30% increase in trace header reading performance. Robert Smallshire 2015-05-06 10:38:32 +02:00
  • 05b1352730 Corrects incorrect offset for year_recorded field. Robert Smallshire 2015-05-06 10:26:32 +02:00
  • b0243c984e Reimplements Header.__init__() to be almost twice as fast. Robert Smallshire 2015-05-06 09:54:14 +02:00
  • caa90a18ed Removes printing of all inline, crossline and shotpoint numbers from report.py example. Robert Smallshire 2015-05-06 09:27:46 +02:00
  • cdfb0c9088 Bumps version to 2.0.0a2 Robert Smallshire 2015-05-05 20:23:02 +02:00