root

package
v0.0.0-...-658d53b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 28, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RawEncoder

type RawEncoder struct {
	// contains filtered or unexported fields
}

func NewRawEncoder

func NewRawEncoder(f *groot.File, progressBar *pb.ProgressBar) *RawEncoder

func (*RawEncoder) Encode

func (r *RawEncoder) Encode(rawEvents []*entities.RawEvent) error

type RawEvent6Boards

type RawEvent6Boards struct {
	TriggerCounter uint32 `groot:"trigger_counter"`

	ClockCounter00 uint32 `groot:"clock_counter_00"`
	ClockCounter01 uint32 `groot:"clock_counter_01"`
	ClockCounter03 uint32 `groot:"clock_counter_03"`
	ClockCounter10 uint32 `groot:"clock_counter_10"`
	ClockCounter11 uint32 `groot:"clock_counter_11"`
	ClockCounter13 uint32 `groot:"clock_counter_13"`

	InputCh2Counter00 uint32 `groot:"input_ch2_counter_00"`
	InputCh2Counter01 uint32 `groot:"input_ch2_counter_01"`
	InputCh2Counter03 uint32 `groot:"input_ch2_counter_03"`
	InputCh2Counter10 uint32 `groot:"input_ch2_counter_10"`
	InputCh2Counter11 uint32 `groot:"input_ch2_counter_11"`
	InputCh2Counter13 uint32 `groot:"input_ch2_counter_13"`

	EncodingClockDepth00 uint16 `groot:"encoding_clock_depth_00"`
	EncodingClockDepth01 uint16 `groot:"encoding_clock_depth_01"`
	EncodingClockDepth03 uint16 `groot:"encoding_clock_depth_03"`
	EncodingClockDepth10 uint16 `groot:"encoding_clock_depth_10"`
	EncodingClockDepth11 uint16 `groot:"encoding_clock_depth_11"`
	EncodingClockDepth13 uint16 `groot:"encoding_clock_depth_13"`

	FlushADC00 [4][entconst.Clock]uint16 `groot:"fadc_00"`
	FlushADC01 [4][entconst.Clock]uint16 `groot:"fadc_01"`
	FlushADC03 [4][entconst.Clock]uint16 `groot:"fadc_03"`
	FlushADC10 [4][entconst.Clock]uint16 `groot:"fadc_10"`
	FlushADC11 [4][entconst.Clock]uint16 `groot:"fadc_11"`
	FlushADC13 [4][entconst.Clock]uint16 `groot:"fadc_13"`

	Hit00 [entconst.Clock][128]bool `groot:"hit_00"`
	Hit01 [entconst.Clock][128]bool `groot:"hit_01"`
	Hit03 [entconst.Clock][128]bool `groot:"hit_03"`
	Hit10 [entconst.Clock][128]bool `groot:"hit_10"`
	Hit11 [entconst.Clock][128]bool `groot:"hit_11"`
	Hit13 [entconst.Clock][128]bool `groot:"hit_13"`
}

RawEvent6Boards 6 boards implement

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL