📄 segy.h
字号:
struct trace_header_struct { long reel_trace_number; /* 0 0 0 */ long line_trace_number; /* 1 2 4 */ long orig_field_rec_num; /* 2 4 8 */ long orig_trace_num_in_rec; /* 3 6 12 */ long energy_src_point_num; /* 4 8 16 */ long CDP_ensemble_num; /* 5 10 20 */ long trace_num_in_CDP; /* 6 12 24 */ short trace_id_code; /* 7 14 28 */ short num_vert_sum_traces; /* 7.5 15 30 */ short num_horz_stack_traces; /* 8 16 32 */ short data_use; /* 8.5 17 34 */ long source_to_rec_grp_dist; /* 9 18 36 */ long rec_grp_elevation; /* 10 20 40 */ long src_surface_elevation; /* 11 22 44 */ long src_depth_below_surface; /* 12 24 48 */ long datum_elevation_at_rec_grp; /* 13 26 52 */ long datum_elevation_at_src; /* 14 28 56 */ long water_depth_at_src; /* 15 30 60 */ long water_depth_at_grp; /* 16 32 64 */ short depth_scaler; /* 17 34 68 */ short coordinate_scaler; /* 17.5 35 70 */ long src_coord_x; /* 18 36 72 */ long src_coord_y; /* 19 38 76 */ long grp_coord_x; /* 20 40 80 */ long grp_coord_y; /* 21 42 84 */ short coord_units; /* 22 44 88 */ short weathering_velocity; /* 22.5 45 90 */ short subweathering_velocity; /* 23 46 92 */ short uphole_time_at_src; /* 23.5 47 94 */ short uphole_time_at_grp; /* 24 48 96 */ short src_static_correction; /* 24.5 49 98 */ short group_static_correction; /* 25 50 100 */ short total_static_applied; /* 25.5 51 102 */ short lag_time_a; /* 26 52 104 */ short lag_time_b; /* 26.5 53 106 */ short delay_recording_time; short mute_time_start; short mute_time_end; short num_samples_in_trace; short sample_interval; short gain_type; short gain_constant; short initial_gain; short correlated; short sweep_start_freq; short sweep_end_freq; short sweep_length; short sweep_type; short sweep_trace_taper_len_start; short sweep_trace_taper_len_end; short taper_type; short alias_filter_freq; short alias_filter_slope; short notch_filter_freq; short notch_filter_slope; short low_cut_freq; short high_cut_freq; short low_cut_slope; short high_cut_slope; short year_data_recorded; short day_of_year; short hour_of_day; short minute_of_hour; short second_of_minute; short time_basis_code; short trace_weighted_factor; short grpnum_switch_pos_one; short grpnum_trace_one; short grpnum_last_trace; short gap_size; short overtravel; /* FROM THIS POINT ON, SEG-Y TRACE HEADER IS UNASSIGNED */ /* Any veritas extensions are listed here */ char unassigned[52]; long veritas_first_break_time; long veritas_first_break_depth;};struct reel_chrhdr_struct { char line[40][80];};struct reel_binhdr_struct { long job_id; /* 0 0 0 */ long line_number; /* 1 2 4 */ long reel_number; /* 2 4 8 */ short int data_traces_per_rec; /* 3 6 12 */ short int aux_traces_per_rec; /* 3.5 7 14 */ short int sample_interval; /* 4 8 16 */ short int sample_interval_orig; /* 4.5 9 18 */ short int samples_per_trace; /* 5 10 20 */ short int samples_per_trace_orig; /* 5.5 11 22 */ short int data_sample_format; /* 6 12 24 */ short int CDP_fold; /* 6.5 13 26 */ short int trace_sort_code; /* 7 14 28 */ short int vertical_sum_code; /* 7.5 15 30 */ short int sweep_start_freq; /* 8 16 32 */ short int sweep_end_freq; /* 8.5 17 34 */ short int sweep_length; /* 9 18 36 */ short int sweep_type_code; /* 9.5 19 38 */ short int sweep_trace_number; /* 10 20 40 */ short int sweep_trace_taper_length_start; /* 10.5 21 42 */ short int sweep_trace_taper_length_end; /* 11 22 44 */ short int taper_type; /* 11.5 23 46 */ short int correlated_data; /* 12 24 48 */ short int binary_gain_recovered; /* 12.5 25 50 */ short int ampl_recovery_method; /* 13 26 52 */ short int measurement_system; /* 13.5 27 54 */ short int impulse_signal_polarity; /* 14 28 56 */ short int vibratory_polarity_code; /* 14.5 29 58 */ /* From this point on, seg-y considers fields as unassigned */ /* My own extensions are listed here */ short int source_orientation; /* 15 30 60 */ short int receiver_orientation; /* 15.5 31 62 */ float veritas_plot_scale; /* 16 32 64 */ short int source_wavesep_flg; /* 17 34 68 */ short int receiver_wavesep_flg; /* 17.5 35 70 */ long int veritas_src_rcvr_offset; /* 18 36 72 */ char unassigned[324];};struct reel_header_struct { struct reel_chrhdr_struct chr; struct reel_binhdr_struct bin;};/* Use these typedefs whenever possible - don't use structure names */typedef struct reel_binhdr_struct SEGY_BINARY_HEADER_TYPE;typedef struct reel_chrhdr_struct SEGY_CHRARACTER_HEADER_TYPE;typedef struct reel_header_struct SEGY_REEL_HEADER_TYPE;typedef struct trace_header_struct SEGY_TRACE_HEADER_TYPE;/* Avoid using these typedefs - they're obsolete */typedef struct reel_binhdr_struct BINHDR_TYPE;typedef struct reel_chrhdr_struct CHRHDR_TYPE;typedef struct reel_header_struct REELHDR_TYPE;typedef struct trace_header_struct TRACEHDR_TYPE;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -