protos

package
v2.0.7-core Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Experiment_MetaDataType_name = map[int32]string{
		0: "MT_FLOAT",
		1: "MT_INT",
		2: "MT_STRING",
	}
	Experiment_MetaDataType_value = map[string]int32{
		"MT_FLOAT":  0,
		"MT_INT":    1,
		"MT_STRING": 2,
	}
)

Enum value maps for Experiment_MetaDataType.

View Source
var (
	Experiment_Location_SpectrumCompression_name = map[int32]string{
		0: "RAW",
		1: "ZERO_RUN",
		2: "RLE",
	}
	Experiment_Location_SpectrumCompression_value = map[string]int32{
		"RAW":      0,
		"ZERO_RUN": 1,
		"RLE":      2,
	}
)

Enum value maps for Experiment_Location_SpectrumCompression.

View Source
var (
	Quantification_QuantDataType_name = map[int32]string{
		0: "QT_FLOAT",
		1: "QT_INT",
	}
	Quantification_QuantDataType_value = map[string]int32{
		"QT_FLOAT": 0,
		"QT_INT":   1,
	}
)

Enum value maps for Quantification_QuantDataType.

View Source
var File_data_formats_diffraction_proto protoreflect.FileDescriptor
View Source
var File_data_formats_experiment_proto protoreflect.FileDescriptor
View Source
var File_data_formats_quantification_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Diffraction

type Diffraction struct {
	TargetId  string                  `protobuf:"bytes,1,opt,name=target_id,json=targetId,proto3" json:"target_id,omitempty"`
	DriveId   int32                   `protobuf:"varint,2,opt,name=drive_id,json=driveId,proto3" json:"drive_id,omitempty"`
	SiteId    int32                   `protobuf:"varint,3,opt,name=site_id,json=siteId,proto3" json:"site_id,omitempty"`
	Target    string                  `protobuf:"bytes,4,opt,name=target,proto3" json:"target,omitempty"`
	Site      string                  `protobuf:"bytes,5,opt,name=site,proto3" json:"site,omitempty"`
	Title     string                  `protobuf:"bytes,6,opt,name=title,proto3" json:"title,omitempty"`
	Sol       string                  `protobuf:"bytes,7,opt,name=sol,proto3" json:"sol,omitempty"`
	Rtt       int32                   `protobuf:"varint,8,opt,name=rtt,proto3" json:"rtt,omitempty"`
	Sclk      int32                   `protobuf:"varint,9,opt,name=sclk,proto3" json:"sclk,omitempty"`
	Locations []*Diffraction_Location `protobuf:"bytes,10,rep,name=locations,proto3" json:"locations,omitempty"`
	// contains filtered or unexported fields
}

func (*Diffraction) Descriptor deprecated

func (*Diffraction) Descriptor() ([]byte, []int)

Deprecated: Use Diffraction.ProtoReflect.Descriptor instead.

func (*Diffraction) GetDriveId

func (x *Diffraction) GetDriveId() int32

func (*Diffraction) GetLocations

func (x *Diffraction) GetLocations() []*Diffraction_Location

func (*Diffraction) GetRtt

func (x *Diffraction) GetRtt() int32

func (*Diffraction) GetSclk

func (x *Diffraction) GetSclk() int32

func (*Diffraction) GetSite

func (x *Diffraction) GetSite() string

func (*Diffraction) GetSiteId

func (x *Diffraction) GetSiteId() int32

func (*Diffraction) GetSol

func (x *Diffraction) GetSol() string

func (*Diffraction) GetTarget

func (x *Diffraction) GetTarget() string

func (*Diffraction) GetTargetId

func (x *Diffraction) GetTargetId() string

func (*Diffraction) GetTitle

func (x *Diffraction) GetTitle() string

func (*Diffraction) ProtoMessage

func (*Diffraction) ProtoMessage()

func (*Diffraction) ProtoReflect

func (x *Diffraction) ProtoReflect() protoreflect.Message

func (*Diffraction) Reset

func (x *Diffraction) Reset()

func (*Diffraction) String

func (x *Diffraction) String() string

type Diffraction_Location

type Diffraction_Location struct {
	Id    string                       `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Peaks []*Diffraction_Location_Peak `protobuf:"bytes,2,rep,name=peaks,proto3" json:"peaks,omitempty"`
	// contains filtered or unexported fields
}

func (*Diffraction_Location) Descriptor deprecated

func (*Diffraction_Location) Descriptor() ([]byte, []int)

Deprecated: Use Diffraction_Location.ProtoReflect.Descriptor instead.

func (*Diffraction_Location) GetId

func (x *Diffraction_Location) GetId() string

func (*Diffraction_Location) GetPeaks

func (*Diffraction_Location) ProtoMessage

func (*Diffraction_Location) ProtoMessage()

func (*Diffraction_Location) ProtoReflect

func (x *Diffraction_Location) ProtoReflect() protoreflect.Message

func (*Diffraction_Location) Reset

func (x *Diffraction_Location) Reset()

func (*Diffraction_Location) String

func (x *Diffraction_Location) String() string

type Diffraction_Location_Peak

type Diffraction_Location_Peak struct {
	PeakChannel       int32   `protobuf:"varint,1,opt,name=peak_channel,json=peakChannel,proto3" json:"peak_channel,omitempty"`
	EffectSize        float32 `protobuf:"fixed32,2,opt,name=effect_size,json=effectSize,proto3" json:"effect_size,omitempty"`
	BaselineVariation float32 `protobuf:"fixed32,3,opt,name=baseline_variation,json=baselineVariation,proto3" json:"baseline_variation,omitempty"`
	GlobalDifference  float32 `protobuf:"fixed32,4,opt,name=global_difference,json=globalDifference,proto3" json:"global_difference,omitempty"`
	DifferenceSigma   float32 `protobuf:"fixed32,5,opt,name=difference_sigma,json=differenceSigma,proto3" json:"difference_sigma,omitempty"`
	PeakHeight        float32 `protobuf:"fixed32,6,opt,name=peak_height,json=peakHeight,proto3" json:"peak_height,omitempty"`
	// contains filtered or unexported fields
}

func (*Diffraction_Location_Peak) Descriptor deprecated

func (*Diffraction_Location_Peak) Descriptor() ([]byte, []int)

Deprecated: Use Diffraction_Location_Peak.ProtoReflect.Descriptor instead.

func (*Diffraction_Location_Peak) GetBaselineVariation

func (x *Diffraction_Location_Peak) GetBaselineVariation() float32

func (*Diffraction_Location_Peak) GetDifferenceSigma

func (x *Diffraction_Location_Peak) GetDifferenceSigma() float32

func (*Diffraction_Location_Peak) GetEffectSize

func (x *Diffraction_Location_Peak) GetEffectSize() float32

func (*Diffraction_Location_Peak) GetGlobalDifference

func (x *Diffraction_Location_Peak) GetGlobalDifference() float32

func (*Diffraction_Location_Peak) GetPeakChannel

func (x *Diffraction_Location_Peak) GetPeakChannel() int32

func (*Diffraction_Location_Peak) GetPeakHeight

func (x *Diffraction_Location_Peak) GetPeakHeight() float32

func (*Diffraction_Location_Peak) ProtoMessage

func (*Diffraction_Location_Peak) ProtoMessage()

func (*Diffraction_Location_Peak) ProtoReflect

func (*Diffraction_Location_Peak) Reset

func (x *Diffraction_Location_Peak) Reset()

func (*Diffraction_Location_Peak) String

func (x *Diffraction_Location_Peak) String() string

type Experiment

type Experiment struct {

	// Dataset Summary meta fields are stored as JSON outside of here, a lot of those values being derived from
	//  counts of items in this file. The rest are fields on the root of Experiment here. This way anything that
	//  has access to an Experiment file won't need to also download the corresponding Dataset Summary.
	TargetId string `protobuf:"bytes,1,opt,name=target_id,json=targetId,proto3" json:"target_id,omitempty"`
	DriveId  int32  `protobuf:"varint,11,opt,name=drive_id,json=driveId,proto3" json:"drive_id,omitempty"`
	SiteId   int32  `protobuf:"varint,12,opt,name=site_id,json=siteId,proto3" json:"site_id,omitempty"`
	Target   string `protobuf:"bytes,13,opt,name=target,proto3" json:"target,omitempty"`
	Site     string `protobuf:"bytes,14,opt,name=site,proto3" json:"site,omitempty"`
	Title    string `protobuf:"bytes,15,opt,name=title,proto3" json:"title,omitempty"`
	Sol      string `protobuf:"bytes,25,opt,name=sol,proto3" json:"sol,omitempty"`
	Rtt      int32  `protobuf:"varint,17,opt,name=rtt,proto3" json:"rtt,omitempty"`
	Sclk     int32  `protobuf:"varint,18,opt,name=sclk,proto3" json:"sclk,omitempty"`
	// Counts, these can be counted by iterating through Locations but we store them here for reference
	BulkSpectra       int32 `protobuf:"varint,19,opt,name=bulk_spectra,json=bulkSpectra,proto3" json:"bulk_spectra,omitempty"`
	DwellSpectra      int32 `protobuf:"varint,20,opt,name=dwell_spectra,json=dwellSpectra,proto3" json:"dwell_spectra,omitempty"`
	MaxSpectra        int32 `protobuf:"varint,21,opt,name=max_spectra,json=maxSpectra,proto3" json:"max_spectra,omitempty"`
	NormalSpectra     int32 `protobuf:"varint,22,opt,name=normal_spectra,json=normalSpectra,proto3" json:"normal_spectra,omitempty"`
	PseudoIntensities int32 `protobuf:"varint,23,opt,name=pseudo_intensities,json=pseudoIntensities,proto3" json:"pseudo_intensities,omitempty"`
	// This is the main or default context image to show. It matches either one of the images in aligned_context_images
	//  or one in unaligned_context_images
	MainContextImage     string                                   `protobuf:"bytes,2,opt,name=main_context_image,json=mainContextImage,proto3" json:"main_context_image,omitempty"`
	AlignedContextImages []*Experiment_ContextImageCoordinateInfo `protobuf:"bytes,24,rep,name=aligned_context_images,json=alignedContextImages,proto3" json:"aligned_context_images,omitempty"`
	// Any other images, which we don't have beam location information for are in this array
	UnalignedContextImages      []string                              `` /* 129-byte string literal not displayed */
	MatchedAlignedContextImages []*Experiment_MatchedContextImageInfo `` /* 147-byte string literal not displayed */
	// If we were generated when a bulk sum quant file existed, the file name is stored here for loading
	BulkSumQuantFile string `protobuf:"bytes,9,opt,name=bulk_sum_quant_file,json=bulkSumQuantFile,proto3" json:"bulk_sum_quant_file,omitempty"`
	// What is the detector configuration that this file was generated for
	DetectorConfig string `protobuf:"bytes,10,opt,name=detector_config,json=detectorConfig,proto3" json:"detector_config,omitempty"`
	// The labels and types of metadata fields we've stored in locations. This way MetaDataItem can refer to
	//  these arrays and not need to store redundant copies of the field name strings
	MetaLabels            []string                           `protobuf:"bytes,3,rep,name=meta_labels,json=metaLabels,proto3" json:"meta_labels,omitempty"`
	MetaTypes             []Experiment_MetaDataType          `protobuf:"varint,4,rep,packed,name=meta_types,json=metaTypes,proto3,enum=Experiment_MetaDataType" json:"meta_types,omitempty"`
	Locations             []*Experiment_Location             `protobuf:"bytes,5,rep,name=locations,proto3" json:"locations,omitempty"`
	PseudoIntensityRanges []*Experiment_PseudoIntensityRange `` /* 126-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*Experiment) Descriptor deprecated

func (*Experiment) Descriptor() ([]byte, []int)

Deprecated: Use Experiment.ProtoReflect.Descriptor instead.

func (*Experiment) GetAlignedContextImages

func (x *Experiment) GetAlignedContextImages() []*Experiment_ContextImageCoordinateInfo

func (*Experiment) GetBulkSpectra

func (x *Experiment) GetBulkSpectra() int32

func (*Experiment) GetBulkSumQuantFile

func (x *Experiment) GetBulkSumQuantFile() string

func (*Experiment) GetDetectorConfig

func (x *Experiment) GetDetectorConfig() string

func (*Experiment) GetDriveId

func (x *Experiment) GetDriveId() int32

func (*Experiment) GetDwellSpectra

func (x *Experiment) GetDwellSpectra() int32

func (*Experiment) GetLocations

func (x *Experiment) GetLocations() []*Experiment_Location

func (*Experiment) GetMainContextImage

func (x *Experiment) GetMainContextImage() string

func (*Experiment) GetMatchedAlignedContextImages

func (x *Experiment) GetMatchedAlignedContextImages() []*Experiment_MatchedContextImageInfo

func (*Experiment) GetMaxSpectra

func (x *Experiment) GetMaxSpectra() int32

func (*Experiment) GetMetaLabels

func (x *Experiment) GetMetaLabels() []string

func (*Experiment) GetMetaTypes

func (x *Experiment) GetMetaTypes() []Experiment_MetaDataType

func (*Experiment) GetNormalSpectra

func (x *Experiment) GetNormalSpectra() int32

func (*Experiment) GetPseudoIntensities

func (x *Experiment) GetPseudoIntensities() int32

func (*Experiment) GetPseudoIntensityRanges

func (x *Experiment) GetPseudoIntensityRanges() []*Experiment_PseudoIntensityRange

func (*Experiment) GetRtt

func (x *Experiment) GetRtt() int32

func (*Experiment) GetSclk

func (x *Experiment) GetSclk() int32

func (*Experiment) GetSite

func (x *Experiment) GetSite() string

func (*Experiment) GetSiteId

func (x *Experiment) GetSiteId() int32

func (*Experiment) GetSol

func (x *Experiment) GetSol() string

func (*Experiment) GetTarget

func (x *Experiment) GetTarget() string

func (*Experiment) GetTargetId

func (x *Experiment) GetTargetId() string

func (*Experiment) GetTitle

func (x *Experiment) GetTitle() string

func (*Experiment) GetUnalignedContextImages

func (x *Experiment) GetUnalignedContextImages() []string

func (*Experiment) ProtoMessage

func (*Experiment) ProtoMessage()

func (*Experiment) ProtoReflect

func (x *Experiment) ProtoReflect() protoreflect.Message

func (*Experiment) Reset

func (x *Experiment) Reset()

func (*Experiment) String

func (x *Experiment) String() string

type Experiment_ContextImageCoordinateInfo

type Experiment_ContextImageCoordinateInfo struct {
	Image              string `protobuf:"bytes,1,opt,name=image,proto3" json:"image,omitempty"`                                                      // image file name
	Pmc                int32  `protobuf:"varint,2,opt,name=pmc,proto3" json:"pmc,omitempty"`                                                         // PMC for the image
	TrapezoidCorrected bool   `protobuf:"varint,3,opt,name=trapezoid_corrected,json=trapezoidCorrected,proto3" json:"trapezoid_corrected,omitempty"` // Is this image trapezoid corrected
	// contains filtered or unexported fields
}

Aligned context image - describes which PMC images are defined for, and if they're trapezoid corrected. This is

stored in the same order as location BeamLocation i/j coordinates, so [0] is BeamLocation.image_i/image_j and
[1] is BeamLocation.context_locations[0], etc
Can think of this as the metadata to describe what's in a beam location object

func (*Experiment_ContextImageCoordinateInfo) Descriptor deprecated

func (*Experiment_ContextImageCoordinateInfo) Descriptor() ([]byte, []int)

Deprecated: Use Experiment_ContextImageCoordinateInfo.ProtoReflect.Descriptor instead.

func (*Experiment_ContextImageCoordinateInfo) GetImage

func (*Experiment_ContextImageCoordinateInfo) GetPmc

func (*Experiment_ContextImageCoordinateInfo) GetTrapezoidCorrected

func (x *Experiment_ContextImageCoordinateInfo) GetTrapezoidCorrected() bool

func (*Experiment_ContextImageCoordinateInfo) ProtoMessage

func (*Experiment_ContextImageCoordinateInfo) ProtoMessage()

func (*Experiment_ContextImageCoordinateInfo) ProtoReflect

func (*Experiment_ContextImageCoordinateInfo) Reset

func (*Experiment_ContextImageCoordinateInfo) String

type Experiment_Location

type Experiment_Location struct {
	Id                  string                                  `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Meta                []*Experiment_Location_MetaDataItem     `protobuf:"bytes,2,rep,name=meta,proto3" json:"meta,omitempty"`
	Beam                *Experiment_Location_BeamLocation       `protobuf:"bytes,3,opt,name=beam,proto3" json:"beam,omitempty"`
	SpectrumCompression Experiment_Location_SpectrumCompression `` /* 164-byte string literal not displayed */
	// Need multiple of these, detector A & B but can have normal & dwell
	Detectors []*Experiment_Location_DetectorSpectrum `protobuf:"bytes,5,rep,name=detectors,proto3" json:"detectors,omitempty"`
	// Ability to store an image per PMC, FM data several images with different PMCs in the file name
	ContextImage      string                                     `protobuf:"bytes,6,opt,name=context_image,json=contextImage,proto3" json:"context_image,omitempty"`
	PseudoIntensities []*Experiment_Location_PseudoIntensityData `protobuf:"bytes,7,rep,name=pseudo_intensities,json=pseudoIntensities,proto3" json:"pseudo_intensities,omitempty"`
	// contains filtered or unexported fields
}

func (*Experiment_Location) Descriptor deprecated

func (*Experiment_Location) Descriptor() ([]byte, []int)

Deprecated: Use Experiment_Location.ProtoReflect.Descriptor instead.

func (*Experiment_Location) GetBeam

func (*Experiment_Location) GetContextImage

func (x *Experiment_Location) GetContextImage() string

func (*Experiment_Location) GetDetectors

func (*Experiment_Location) GetId

func (x *Experiment_Location) GetId() string

func (*Experiment_Location) GetMeta

func (*Experiment_Location) GetPseudoIntensities

func (x *Experiment_Location) GetPseudoIntensities() []*Experiment_Location_PseudoIntensityData

func (*Experiment_Location) GetSpectrumCompression

func (*Experiment_Location) ProtoMessage

func (*Experiment_Location) ProtoMessage()

func (*Experiment_Location) ProtoReflect

func (x *Experiment_Location) ProtoReflect() protoreflect.Message

func (*Experiment_Location) Reset

func (x *Experiment_Location) Reset()

func (*Experiment_Location) String

func (x *Experiment_Location) String() string

type Experiment_Location_BeamLocation

type Experiment_Location_BeamLocation struct {
	X        float32 `protobuf:"fixed32,1,opt,name=x,proto3" json:"x,omitempty"`
	Y        float32 `protobuf:"fixed32,2,opt,name=y,proto3" json:"y,omitempty"`
	Z        float32 `protobuf:"fixed32,3,opt,name=z,proto3" json:"z,omitempty"`
	GeomCorr float32 `protobuf:"fixed32,7,opt,name=geom_corr,json=geomCorr,proto3" json:"geom_corr,omitempty"`
	// Relative to the image whose file name is in main_context_image
	ImageI float32 `protobuf:"fixed32,4,opt,name=image_i,json=imageI,proto3" json:"image_i,omitempty"`
	ImageJ float32 `protobuf:"fixed32,5,opt,name=image_j,json=imageJ,proto3" json:"image_j,omitempty"`
	// Each context image is taken at different locations, so needs its own relative set of beam location
	//  coordinates. The image_i/image_j coordinates are relative to main_context_image, while here we store
	//  other coordinates, which are relative to the corresponding array item of aligned_context_images. Ended up
	//  this way because we originally we only had one set of i/j's, relative to one context image, and
	//  extending by adding another array was the smoothest in terms of backwards compatibility.
	ContextLocations []*Experiment_Location_BeamLocation_Coordinate2D `protobuf:"bytes,6,rep,name=context_locations,json=contextLocations,proto3" json:"context_locations,omitempty"`
	// contains filtered or unexported fields
}

func (*Experiment_Location_BeamLocation) Descriptor deprecated

func (*Experiment_Location_BeamLocation) Descriptor() ([]byte, []int)

Deprecated: Use Experiment_Location_BeamLocation.ProtoReflect.Descriptor instead.

func (*Experiment_Location_BeamLocation) GetContextLocations

func (*Experiment_Location_BeamLocation) GetGeomCorr

func (x *Experiment_Location_BeamLocation) GetGeomCorr() float32

func (*Experiment_Location_BeamLocation) GetImageI

func (*Experiment_Location_BeamLocation) GetImageJ

func (*Experiment_Location_BeamLocation) GetX

func (*Experiment_Location_BeamLocation) GetY

func (*Experiment_Location_BeamLocation) GetZ

func (*Experiment_Location_BeamLocation) ProtoMessage

func (*Experiment_Location_BeamLocation) ProtoMessage()

func (*Experiment_Location_BeamLocation) ProtoReflect

func (*Experiment_Location_BeamLocation) Reset

func (*Experiment_Location_BeamLocation) String

type Experiment_Location_BeamLocation_Coordinate2D

type Experiment_Location_BeamLocation_Coordinate2D struct {
	I float32 `protobuf:"fixed32,1,opt,name=i,proto3" json:"i,omitempty"`
	J float32 `protobuf:"fixed32,2,opt,name=j,proto3" json:"j,omitempty"`
	// contains filtered or unexported fields
}

func (*Experiment_Location_BeamLocation_Coordinate2D) Descriptor deprecated

Deprecated: Use Experiment_Location_BeamLocation_Coordinate2D.ProtoReflect.Descriptor instead.

func (*Experiment_Location_BeamLocation_Coordinate2D) GetI

func (*Experiment_Location_BeamLocation_Coordinate2D) GetJ

func (*Experiment_Location_BeamLocation_Coordinate2D) ProtoMessage

func (*Experiment_Location_BeamLocation_Coordinate2D) ProtoReflect

func (*Experiment_Location_BeamLocation_Coordinate2D) Reset

func (*Experiment_Location_BeamLocation_Coordinate2D) String

type Experiment_Location_DetectorSpectrum

type Experiment_Location_DetectorSpectrum struct {
	Meta        []*Experiment_Location_MetaDataItem `protobuf:"bytes,1,rep,name=meta,proto3" json:"meta,omitempty"`
	Spectrum    []int32                             `protobuf:"varint,2,rep,packed,name=spectrum,proto3" json:"spectrum,omitempty"`
	SpectrumMax int32                               `protobuf:"varint,3,opt,name=spectrumMax,proto3" json:"spectrumMax,omitempty"`
	// contains filtered or unexported fields
}

Spectrum data, stored as specified in spectrum_compression

func (*Experiment_Location_DetectorSpectrum) Descriptor deprecated

func (*Experiment_Location_DetectorSpectrum) Descriptor() ([]byte, []int)

Deprecated: Use Experiment_Location_DetectorSpectrum.ProtoReflect.Descriptor instead.

func (*Experiment_Location_DetectorSpectrum) GetMeta

func (*Experiment_Location_DetectorSpectrum) GetSpectrum

func (x *Experiment_Location_DetectorSpectrum) GetSpectrum() []int32

func (*Experiment_Location_DetectorSpectrum) GetSpectrumMax

func (x *Experiment_Location_DetectorSpectrum) GetSpectrumMax() int32

func (*Experiment_Location_DetectorSpectrum) ProtoMessage

func (*Experiment_Location_DetectorSpectrum) ProtoMessage()

func (*Experiment_Location_DetectorSpectrum) ProtoReflect

func (*Experiment_Location_DetectorSpectrum) Reset

func (*Experiment_Location_DetectorSpectrum) String

type Experiment_Location_MetaDataItem

type Experiment_Location_MetaDataItem struct {

	// Only storing the metadata label outside of the item, here we just store its index
	LabelIdx int32 `protobuf:"varint,1,opt,name=label_idx,json=labelIdx,proto3" json:"label_idx,omitempty"`
	// NOTE: in javascript protobuf there is no "has" function, so each of these report their default
	//  value which means if it's a 0 or 0.0 or ” we don't actually know what type to treat it as, so we
	//  are putting types in an enum list instead, one for each meta_label at the root object!
	Fvalue float32 `protobuf:"fixed32,2,opt,name=fvalue,proto3" json:"fvalue,omitempty"`
	Ivalue int32   `protobuf:"varint,3,opt,name=ivalue,proto3" json:"ivalue,omitempty"`
	Svalue string  `protobuf:"bytes,4,opt,name=svalue,proto3" json:"svalue,omitempty"`
	// contains filtered or unexported fields
}

func (*Experiment_Location_MetaDataItem) Descriptor deprecated

func (*Experiment_Location_MetaDataItem) Descriptor() ([]byte, []int)

Deprecated: Use Experiment_Location_MetaDataItem.ProtoReflect.Descriptor instead.

func (*Experiment_Location_MetaDataItem) GetFvalue

func (*Experiment_Location_MetaDataItem) GetIvalue

func (x *Experiment_Location_MetaDataItem) GetIvalue() int32

func (*Experiment_Location_MetaDataItem) GetLabelIdx

func (x *Experiment_Location_MetaDataItem) GetLabelIdx() int32

func (*Experiment_Location_MetaDataItem) GetSvalue

func (*Experiment_Location_MetaDataItem) ProtoMessage

func (*Experiment_Location_MetaDataItem) ProtoMessage()

func (*Experiment_Location_MetaDataItem) ProtoReflect

func (*Experiment_Location_MetaDataItem) Reset

func (*Experiment_Location_MetaDataItem) String

type Experiment_Location_PseudoIntensityData

type Experiment_Location_PseudoIntensityData struct {
	DetectorId string `protobuf:"bytes,1,opt,name=detector_id,json=detectorId,proto3" json:"detector_id,omitempty"`
	// Storage of each column of pseudo-intensity values
	ElementIntensities []float32 `protobuf:"fixed32,2,rep,packed,name=element_intensities,json=elementIntensities,proto3" json:"element_intensities,omitempty"`
	// contains filtered or unexported fields
}

Storage of pseudo-intensities. NOTE: we currently assume there'll be a detector_id, we may only store

one set, with detector_id missing, this data structure works in both scenarios

func (*Experiment_Location_PseudoIntensityData) Descriptor deprecated

func (*Experiment_Location_PseudoIntensityData) Descriptor() ([]byte, []int)

Deprecated: Use Experiment_Location_PseudoIntensityData.ProtoReflect.Descriptor instead.

func (*Experiment_Location_PseudoIntensityData) GetDetectorId

func (*Experiment_Location_PseudoIntensityData) GetElementIntensities

func (x *Experiment_Location_PseudoIntensityData) GetElementIntensities() []float32

func (*Experiment_Location_PseudoIntensityData) ProtoMessage

func (*Experiment_Location_PseudoIntensityData) ProtoReflect

func (*Experiment_Location_PseudoIntensityData) Reset

func (*Experiment_Location_PseudoIntensityData) String

type Experiment_Location_SpectrumCompression

type Experiment_Location_SpectrumCompression int32
const (
	Experiment_Location_RAW      Experiment_Location_SpectrumCompression = 0 // Storing raw data, so N*int32 in size
	Experiment_Location_ZERO_RUN Experiment_Location_SpectrumCompression = 1 // 0's all have a count after them. Assumption is a lot of runs of 0's
	Experiment_Location_RLE      Experiment_Location_SpectrumCompression = 2 // Run length encoding, assumption is many numbers have long runs
)

func (Experiment_Location_SpectrumCompression) Descriptor

func (Experiment_Location_SpectrumCompression) Enum

func (Experiment_Location_SpectrumCompression) EnumDescriptor deprecated

func (Experiment_Location_SpectrumCompression) EnumDescriptor() ([]byte, []int)

Deprecated: Use Experiment_Location_SpectrumCompression.Descriptor instead.

func (Experiment_Location_SpectrumCompression) Number

func (Experiment_Location_SpectrumCompression) String

func (Experiment_Location_SpectrumCompression) Type

type Experiment_MatchedContextImageInfo

type Experiment_MatchedContextImageInfo struct {
	Image        string  `protobuf:"bytes,1,opt,name=image,proto3" json:"image,omitempty"`                                    // image file name
	AlignedIndex int32   `protobuf:"varint,2,opt,name=aligned_index,json=alignedIndex,proto3" json:"aligned_index,omitempty"` // aligned_context_images array index this one matches
	XOffset      float32 `protobuf:"fixed32,3,opt,name=x_offset,json=xOffset,proto3" json:"x_offset,omitempty"`               // x-offset of matched left edge vs aligned image
	YOffset      float32 `protobuf:"fixed32,4,opt,name=y_offset,json=yOffset,proto3" json:"y_offset,omitempty"`               // y-offset of matched top edge vs aligned image
	XScale       float32 `protobuf:"fixed32,5,opt,name=x_scale,json=xScale,proto3" json:"x_scale,omitempty"`                  // x-scale of matched vs aligned width, if matched is 2000 wide, aligned is 1000, this=2
	YScale       float32 `protobuf:"fixed32,6,opt,name=y_scale,json=yScale,proto3" json:"y_scale,omitempty"`                  // y-scale of matched vs aligned height
	// contains filtered or unexported fields
}

Matched context image - list of context images which have been transformed to match a given PMC's MCC

image (in aligned_context_images), for example WATSON images. The image needs to be transformed so the MCC image
area matches pixel-for-pixel, but the image is likely to be of a different size, so we include an x/y offset.
This gives the top-left pixel coordinate of MCC image relative to the top-left of the matched image. This way
the PMC beam locations can be reused to draw their position on the matched image.

func (*Experiment_MatchedContextImageInfo) Descriptor deprecated

func (*Experiment_MatchedContextImageInfo) Descriptor() ([]byte, []int)

Deprecated: Use Experiment_MatchedContextImageInfo.ProtoReflect.Descriptor instead.

func (*Experiment_MatchedContextImageInfo) GetAlignedIndex

func (x *Experiment_MatchedContextImageInfo) GetAlignedIndex() int32

func (*Experiment_MatchedContextImageInfo) GetImage

func (*Experiment_MatchedContextImageInfo) GetXOffset

func (*Experiment_MatchedContextImageInfo) GetXScale

func (*Experiment_MatchedContextImageInfo) GetYOffset

func (*Experiment_MatchedContextImageInfo) GetYScale

func (*Experiment_MatchedContextImageInfo) ProtoMessage

func (*Experiment_MatchedContextImageInfo) ProtoMessage()

func (*Experiment_MatchedContextImageInfo) ProtoReflect

func (*Experiment_MatchedContextImageInfo) Reset

func (*Experiment_MatchedContextImageInfo) String

type Experiment_MetaDataType

type Experiment_MetaDataType int32
const (
	Experiment_MT_FLOAT  Experiment_MetaDataType = 0
	Experiment_MT_INT    Experiment_MetaDataType = 1
	Experiment_MT_STRING Experiment_MetaDataType = 2
)

func (Experiment_MetaDataType) Descriptor

func (Experiment_MetaDataType) Enum

func (Experiment_MetaDataType) EnumDescriptor deprecated

func (Experiment_MetaDataType) EnumDescriptor() ([]byte, []int)

Deprecated: Use Experiment_MetaDataType.Descriptor instead.

func (Experiment_MetaDataType) Number

func (Experiment_MetaDataType) String

func (x Experiment_MetaDataType) String() string

func (Experiment_MetaDataType) Type

type Experiment_PseudoIntensityRange

type Experiment_PseudoIntensityRange struct {
	Name         string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	ChannelStart int32  `protobuf:"varint,2,opt,name=channel_start,json=channelStart,proto3" json:"channel_start,omitempty"`
	ChannelEnd   int32  `protobuf:"varint,3,opt,name=channel_end,json=channelEnd,proto3" json:"channel_end,omitempty"`
	// contains filtered or unexported fields
}

If we have pseudo-intensity data, this will contain the labels of the elements from the CSV, along with

their channel start/end

func (*Experiment_PseudoIntensityRange) Descriptor deprecated

func (*Experiment_PseudoIntensityRange) Descriptor() ([]byte, []int)

Deprecated: Use Experiment_PseudoIntensityRange.ProtoReflect.Descriptor instead.

func (*Experiment_PseudoIntensityRange) GetChannelEnd

func (x *Experiment_PseudoIntensityRange) GetChannelEnd() int32

func (*Experiment_PseudoIntensityRange) GetChannelStart

func (x *Experiment_PseudoIntensityRange) GetChannelStart() int32

func (*Experiment_PseudoIntensityRange) GetName

func (*Experiment_PseudoIntensityRange) ProtoMessage

func (*Experiment_PseudoIntensityRange) ProtoMessage()

func (*Experiment_PseudoIntensityRange) ProtoReflect

func (*Experiment_PseudoIntensityRange) Reset

func (*Experiment_PseudoIntensityRange) String

type Quantification

type Quantification struct {
	Labels      []string                           `protobuf:"bytes,1,rep,name=labels,proto3" json:"labels,omitempty"`
	Types       []Quantification_QuantDataType     `protobuf:"varint,2,rep,packed,name=types,proto3,enum=Quantification_QuantDataType" json:"types,omitempty"`
	LocationSet []*Quantification_QuantLocationSet `protobuf:"bytes,3,rep,name=locationSet,proto3" json:"locationSet,omitempty"`
	// contains filtered or unexported fields
}

func (*Quantification) Descriptor deprecated

func (*Quantification) Descriptor() ([]byte, []int)

Deprecated: Use Quantification.ProtoReflect.Descriptor instead.

func (*Quantification) GetLabels

func (x *Quantification) GetLabels() []string

func (*Quantification) GetLocationSet

func (x *Quantification) GetLocationSet() []*Quantification_QuantLocationSet

func (*Quantification) GetTypes

func (*Quantification) ProtoMessage

func (*Quantification) ProtoMessage()

func (*Quantification) ProtoReflect

func (x *Quantification) ProtoReflect() protoreflect.Message

func (*Quantification) Reset

func (x *Quantification) Reset()

func (*Quantification) String

func (x *Quantification) String() string

type Quantification_QuantDataType

type Quantification_QuantDataType int32
const (
	Quantification_QT_FLOAT Quantification_QuantDataType = 0
	Quantification_QT_INT   Quantification_QuantDataType = 1
)

func (Quantification_QuantDataType) Descriptor

func (Quantification_QuantDataType) Enum

func (Quantification_QuantDataType) EnumDescriptor deprecated

func (Quantification_QuantDataType) EnumDescriptor() ([]byte, []int)

Deprecated: Use Quantification_QuantDataType.Descriptor instead.

func (Quantification_QuantDataType) Number

func (Quantification_QuantDataType) String

func (Quantification_QuantDataType) Type

type Quantification_QuantLocation

type Quantification_QuantLocation struct {
	Pmc    int32                                         `protobuf:"varint,1,opt,name=pmc,proto3" json:"pmc,omitempty"`
	Rtt    int32                                         `protobuf:"varint,2,opt,name=rtt,proto3" json:"rtt,omitempty"`
	Sclk   int32                                         `protobuf:"varint,3,opt,name=sclk,proto3" json:"sclk,omitempty"` //string filename=4;
	Values []*Quantification_QuantLocation_QuantDataItem `protobuf:"bytes,5,rep,name=values,proto3" json:"values,omitempty"`
	// contains filtered or unexported fields
}

func (*Quantification_QuantLocation) Descriptor deprecated

func (*Quantification_QuantLocation) Descriptor() ([]byte, []int)

Deprecated: Use Quantification_QuantLocation.ProtoReflect.Descriptor instead.

func (*Quantification_QuantLocation) GetPmc

func (x *Quantification_QuantLocation) GetPmc() int32

func (*Quantification_QuantLocation) GetRtt

func (x *Quantification_QuantLocation) GetRtt() int32

func (*Quantification_QuantLocation) GetSclk

func (x *Quantification_QuantLocation) GetSclk() int32

func (*Quantification_QuantLocation) GetValues

func (*Quantification_QuantLocation) ProtoMessage

func (*Quantification_QuantLocation) ProtoMessage()

func (*Quantification_QuantLocation) ProtoReflect

func (*Quantification_QuantLocation) Reset

func (x *Quantification_QuantLocation) Reset()

func (*Quantification_QuantLocation) String

type Quantification_QuantLocationSet

type Quantification_QuantLocationSet struct {
	Detector string                          `protobuf:"bytes,1,opt,name=detector,proto3" json:"detector,omitempty"`
	Location []*Quantification_QuantLocation `protobuf:"bytes,2,rep,name=location,proto3" json:"location,omitempty"`
	// contains filtered or unexported fields
}

func (*Quantification_QuantLocationSet) Descriptor deprecated

func (*Quantification_QuantLocationSet) Descriptor() ([]byte, []int)

Deprecated: Use Quantification_QuantLocationSet.ProtoReflect.Descriptor instead.

func (*Quantification_QuantLocationSet) GetDetector

func (x *Quantification_QuantLocationSet) GetDetector() string

func (*Quantification_QuantLocationSet) GetLocation

func (*Quantification_QuantLocationSet) ProtoMessage

func (*Quantification_QuantLocationSet) ProtoMessage()

func (*Quantification_QuantLocationSet) ProtoReflect

func (*Quantification_QuantLocationSet) Reset

func (*Quantification_QuantLocationSet) String

type Quantification_QuantLocation_QuantDataItem

type Quantification_QuantLocation_QuantDataItem struct {
	Fvalue float32 `protobuf:"fixed32,2,opt,name=fvalue,proto3" json:"fvalue,omitempty"`
	Ivalue int32   `protobuf:"varint,3,opt,name=ivalue,proto3" json:"ivalue,omitempty"`
	// contains filtered or unexported fields
}

func (*Quantification_QuantLocation_QuantDataItem) Descriptor deprecated

Deprecated: Use Quantification_QuantLocation_QuantDataItem.ProtoReflect.Descriptor instead.

func (*Quantification_QuantLocation_QuantDataItem) GetFvalue

func (*Quantification_QuantLocation_QuantDataItem) GetIvalue

func (*Quantification_QuantLocation_QuantDataItem) ProtoMessage

func (*Quantification_QuantLocation_QuantDataItem) ProtoReflect

func (*Quantification_QuantLocation_QuantDataItem) Reset

func (*Quantification_QuantLocation_QuantDataItem) String

Jump to

Keyboard shortcuts

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