/usr/lib/python3/dist-packages/segyio/su.py is in python3-segyio 1.5.2-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 | from segyio import Enum
from segyio import TraceField as tf
from segyio import BinField as bf
class su(Enum):
""" Since v1.1
Seismic Unix style aliases for binary and trace header fields.
About names:
Seismic Unix does not have names for all possible fields, as it came
around during an early revision of SEG-Y, and names for these fields
are created by segyio in their absence. If Seismic Unix starts
providing names for these fields, they will be added to these alies,
and in conflicts take presedence after some time. If there are no
conflicts, segyio names are considered for deprecation on a
case-by-case basis, but will most likely be supported along with the
Seismic Unix name.
"""
# trace
tracl = tf.TRACE_SEQUENCE_LINE
tracr = tf.TRACE_SEQUENCE_FILE
fldr = tf.FieldRecord
tracf = tf.TraceNumber
ep = tf.EnergySourcePoint
cdp = tf.CDP
cdpt = tf.CDP_TRACE
trid = tf.TraceIdentificationCode
nvs = tf.NSummedTraces
nhs = tf.NStackedTraces
duse = tf.DataUse
offset = tf.offset
gelev = tf.ReceiverGroupElevation
selev = tf.SourceSurfaceElevation
sdepth = tf.SourceDepth
gdel = tf.ReceiverDatumElevation
sdel = tf.SourceDatumElevation
swdep = tf.SourceWaterDepth
gwdep = tf.GroupWaterDepth
scalel = tf.ElevationScalar
scalco = tf.SourceGroupScalar
sx = tf.SourceX
sy = tf.SourceY
gx = tf.GroupX
gy = tf.GroupY
counit = tf.CoordinateUnits
wevel = tf.WeatheringVelocity
swevel = tf.SubWeatheringVelocity
sut = tf.SourceUpholeTime
gut = tf.GroupUpholeTime
sstat = tf.SourceStaticCorrection
gstat = tf.GroupStaticCorrection
tstat = tf.TotalStaticApplied
laga = tf.LagTimeA
lagb = tf.LagTimeB
delrt = tf.DelayRecordingTime
muts = tf.MuteTimeStart
mute = tf.MuteTimeEND
ns = tf.TRACE_SAMPLE_COUNT
dt = tf.TRACE_SAMPLE_INTERVAL
gain = tf.GainType
igc = tf.InstrumentGainConstant
igi = tf.InstrumentInitialGain
corr = tf.Correlated
sfs = tf.SweepFrequencyStart
sfe = tf.SweepFrequencyEnd
slen = tf.SweepLength
styp = tf.SweepType
stat = tf.SweepTraceTaperLengthStart
stae = tf.SweepTraceTaperLengthEnd
tatyp = tf.TaperType
afilf = tf.AliasFilterFrequency
afils = tf.AliasFilterSlope
nofilf = tf.NotchFilterFrequency
nofils = tf.NotchFilterSlope
lcf = tf.LowCutFrequency
hcf = tf.HighCutFrequency
lcs = tf.LowCutSlope
hcs = tf.HighCutSlope
year = tf.YearDataRecorded
day = tf.DayOfYear
hour = tf.HourOfDay
minute = tf.MinuteOfHour
sec = tf.SecondOfMinute
timbas = tf.TimeBaseCode
trwf = tf.TraceWeightingFactor
grnors = tf.GeophoneGroupNumberRoll1
grnofr = tf.GeophoneGroupNumberFirstTraceOrigField
grnlof = tf.GeophoneGroupNumberLastTraceOrigField
gaps = tf.GapSize
otrav = tf.OverTravel
cdpx = tf.CDP_X
cdpy = tf.CDP_Y
iline = tf.INLINE_3D
xline = tf.CROSSLINE_3D
sp = tf.ShotPoint
scalsp = tf.ShotPointScalar
trunit = tf.TraceValueMeasurementUnit
tdcm = tf.TransductionConstantMantissa
tdcp = tf.TransductionConstantPower
tdunit = tf.TransductionUnit
triden = tf.TraceIdentifier
sctrh = tf.ScalarTraceHeader
stype = tf.SourceType
sedm = tf.SourceEnergyDirectionMantissa
sede = tf.SourceEnergyDirectionExponent
smm = tf.SourceMeasurementMantissa
sme = tf.SourceMeasurementExponent
smunit = tf.SourceMeasurementUnit
uint1 = tf.UnassignedInt1
uint2 = tf.UnassignedInt2
# binary
jobid = bf.JobID
lino = bf.LineNumber
reno = bf.ReelNumber
ntrpr = bf.Traces
nart = bf.AuxTraces
hdt = bf.Interval
dto = bf.IntervalOriginal
hns = bf.Samples
nso = bf.SamplesOriginal
format = bf.Format
fold = bf.EnsembleFold
tsort = bf.SortingCode
vscode = bf.VerticalSum
hsfs = bf.SweepFrequencyStart
hsfe = bf.SweepFrequencyEnd
hslen = bf.SweepLength
hstyp = bf.Sweep
schn = bf.SweepChannel
hstas = bf.SweepTaperStart
hstae = bf.SweepTaperEnd
htatyp = bf.Taper
hcorr = bf.CorrelatedTraces
bgrcv = bf.BinaryGainRecovery
rcvm = bf.AmplitudeRecovery
mfeet = bf.MeasurementSystem
polyt = bf.ImpulseSignalPolarity
vpol = bf.VibratoryPolarity
unas1 = bf.Unassigned1
rev = bf.SEGYRevision
trflag = bf.TraceFlag
exth = bf.ExtendedHeaders
unas2 = bf.Unassigned2
|