Changelog¶
v1.2.0¶
A breaking change.
Removed some dependencies, such as
fmt,progressbar, making it easy to install.Refactored c++ code, making it more efficient and maintainable.
A improved
SegyNPclass, which is more efficient and easier to use.
v1.1.9¶
fixed a bug with out-of-int32 range offsets (occurred on Windows)
changed code for creating large files to speed things up
optimize
SegyNP
v1.1.8¶
fixed a bug when create file on windows
deal with interreput signal
optimize
SegyNP
v1.1.7¶
Refine the
scanfunction to support more situations.Add supports for dealing with more data sample formats, such as 4-byte, two’s complement integer.
Add a new class
SegyNPto simulate the segy file accessed as a numpy array.Add functions:
scan_unsorted3Dandload_unsorted3Dto support 3D unsorted data.Remove the comparison part of the documents, as
segysakhas a large update.use_guessin the functions likemetaInfohas been deseperated.Added more atomic operations, enabling finer control of SEG-Y files
And more …
v1.1.6¶
Fixed a bug of
create_by_sharing_headerwhen the file is huge.Add functions:
scan_prestackandload_prestack3Dto support 3D prestack data (4D array).
v1.1.5¶
Disable the progress bar in jupyter notbook.
Allow
numpy sliceincreate_by_sharing_headerfunction. Now you don’t needdata.clone()to create a memory continuous sub-array to the function.Add a
tools.read_headerto read the full binary/trace header. This function is based on 3 functions ofPysegy, i.e.,Pysegy.get_binary_header(),Pysegy.get_trace_header(),Pysegy.get_trace().Add a function
tools.get_metaInfo()obtain the meta information in dict.Add documents and post on read the docs website.
v1.1.4¶
Support create a segy from a sub-volume array and a full volume segy header, using
cigsegy.create_by_sharing_header('sub.segy', 'header-full.segy', dsub, iline=, xline=, istep=, xstep=, offset=)Add a function
Pysegy.cut(outsegy, ...)to cut a sub-volume from the full segy file and save to a segy fileFor all functions to create a segy file, you can use
custom_infoto custom the first 12 lines of textual headerSupport the segy files with inline first order, (i.e., the order is time->inline->crossline, the default is time->crossline->inline)
Fixed a bug of
scan()functionAdd a function
tools.plot_region(...)to plot the region of a segy file
v1.1.2¶
Add some useful functions, such as
trace_count(),get_traceInfo()fromfile,tofile,create_by_sharing_headerfunctions supportistepandxstepparameters to deal with the segy whose steps of inline/crossline is not 1Add
tools.guessfunction to guess the locations and steps of inline/crosslineAdd
tools.fromfile_by_guess,tools.tofile_by_guess,create_by_sharing_header_guessto support unknown segy filesSupport windows/MSVC