io

package
v0.0.0-...-057ddcb Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2022 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ArrayType

type ArrayType generic.Type

type H5RefArrayType

type H5RefArrayType struct {
	Filename string
	Dataset  string
	Slice    [][]int
}

func ParseH5RefArrayType

func ParseH5RefArrayType(path string) H5RefArrayType

func (H5RefArrayType) Create

func (h H5RefArrayType) Create(shape []int, fillValue ArrayType, compress bool) error

func (H5RefArrayType) Exists

func (h H5RefArrayType) Exists() bool

func (H5RefArrayType) GetDatasets

func (h H5RefArrayType) GetDatasets() ([]string, error)

func (H5RefArrayType) GetGroups

func (h H5RefArrayType) GetGroups() ([]string, error)

func (H5RefArrayType) Load

func (h H5RefArrayType) Load() (data.NDArrayType, error)

func (H5RefArrayType) LoadText

func (h H5RefArrayType) LoadText() ([]string, error)

func (H5RefArrayType) Shape

func (h H5RefArrayType) Shape() ([]int, error)

func (H5RefArrayType) Write

func (h H5RefArrayType) Write(data data.NDArrayType) error

func (H5RefArrayType) WriteSlice

func (h H5RefArrayType) WriteSlice(data data.NDArrayType, loc []int) error

type H5RefFloat32

type H5RefFloat32 struct {
	Filename string
	Dataset  string
	Slice    [][]int
}

func ParseH5RefFloat32

func ParseH5RefFloat32(path string) H5RefFloat32

func (H5RefFloat32) Create

func (h H5RefFloat32) Create(shape []int, fillValue float32, compress bool) error

func (H5RefFloat32) Exists

func (h H5RefFloat32) Exists() bool

func (H5RefFloat32) GetDatasets

func (h H5RefFloat32) GetDatasets() ([]string, error)

func (H5RefFloat32) GetGroups

func (h H5RefFloat32) GetGroups() ([]string, error)

func (H5RefFloat32) Load

func (h H5RefFloat32) Load() (data.NDFloat32, error)

func (H5RefFloat32) LoadText

func (h H5RefFloat32) LoadText() ([]string, error)

func (H5RefFloat32) Shape

func (h H5RefFloat32) Shape() ([]int, error)

func (H5RefFloat32) Write

func (h H5RefFloat32) Write(data data.NDFloat32) error

func (H5RefFloat32) WriteSlice

func (h H5RefFloat32) WriteSlice(data data.NDFloat32, loc []int) error

type H5RefFloat64

type H5RefFloat64 struct {
	Filename string
	Dataset  string
	Slice    [][]int
}

func ParseH5RefFloat64

func ParseH5RefFloat64(path string) H5RefFloat64

func (H5RefFloat64) Create

func (h H5RefFloat64) Create(shape []int, fillValue float64, compress bool) error

func (H5RefFloat64) Exists

func (h H5RefFloat64) Exists() bool

func (H5RefFloat64) GetDatasets

func (h H5RefFloat64) GetDatasets() ([]string, error)

func (H5RefFloat64) GetGroups

func (h H5RefFloat64) GetGroups() ([]string, error)

func (H5RefFloat64) Load

func (h H5RefFloat64) Load() (data.NDFloat64, error)

func (H5RefFloat64) LoadText

func (h H5RefFloat64) LoadText() ([]string, error)

func (H5RefFloat64) Shape

func (h H5RefFloat64) Shape() ([]int, error)

func (H5RefFloat64) Write

func (h H5RefFloat64) Write(data data.NDFloat64) error

func (H5RefFloat64) WriteSlice

func (h H5RefFloat64) WriteSlice(data data.NDFloat64, loc []int) error

type H5RefInt

type H5RefInt struct {
	Filename string
	Dataset  string
	Slice    [][]int
}

func ParseH5RefInt

func ParseH5RefInt(path string) H5RefInt

func (H5RefInt) Create

func (h H5RefInt) Create(shape []int, fillValue int, compress bool) error

func (H5RefInt) Exists

func (h H5RefInt) Exists() bool

func (H5RefInt) GetDatasets

func (h H5RefInt) GetDatasets() ([]string, error)

func (H5RefInt) GetGroups

func (h H5RefInt) GetGroups() ([]string, error)

func (H5RefInt) Load

func (h H5RefInt) Load() (data.NDInt, error)

func (H5RefInt) LoadText

func (h H5RefInt) LoadText() ([]string, error)

func (H5RefInt) Shape

func (h H5RefInt) Shape() ([]int, error)

func (H5RefInt) Write

func (h H5RefInt) Write(data data.NDInt) error

func (H5RefInt) WriteSlice

func (h H5RefInt) WriteSlice(data data.NDInt, loc []int) error

type H5RefInt32

type H5RefInt32 struct {
	Filename string
	Dataset  string
	Slice    [][]int
}

func ParseH5RefInt32

func ParseH5RefInt32(path string) H5RefInt32

func (H5RefInt32) Create

func (h H5RefInt32) Create(shape []int, fillValue int32, compress bool) error

func (H5RefInt32) Exists

func (h H5RefInt32) Exists() bool

func (H5RefInt32) GetDatasets

func (h H5RefInt32) GetDatasets() ([]string, error)

func (H5RefInt32) GetGroups

func (h H5RefInt32) GetGroups() ([]string, error)

func (H5RefInt32) Load

func (h H5RefInt32) Load() (data.NDInt32, error)

func (H5RefInt32) LoadText

func (h H5RefInt32) LoadText() ([]string, error)

func (H5RefInt32) Shape

func (h H5RefInt32) Shape() ([]int, error)

func (H5RefInt32) Write

func (h H5RefInt32) Write(data data.NDInt32) error

func (H5RefInt32) WriteSlice

func (h H5RefInt32) WriteSlice(data data.NDInt32, loc []int) error

type H5RefInt64

type H5RefInt64 struct {
	Filename string
	Dataset  string
	Slice    [][]int
}

func ParseH5RefInt64

func ParseH5RefInt64(path string) H5RefInt64

func (H5RefInt64) Create

func (h H5RefInt64) Create(shape []int, fillValue int64, compress bool) error

func (H5RefInt64) Exists

func (h H5RefInt64) Exists() bool

func (H5RefInt64) GetDatasets

func (h H5RefInt64) GetDatasets() ([]string, error)

func (H5RefInt64) GetGroups

func (h H5RefInt64) GetGroups() ([]string, error)

func (H5RefInt64) Load

func (h H5RefInt64) Load() (data.NDInt64, error)

func (H5RefInt64) LoadText

func (h H5RefInt64) LoadText() ([]string, error)

func (H5RefInt64) Shape

func (h H5RefInt64) Shape() ([]int, error)

func (H5RefInt64) Write

func (h H5RefInt64) Write(data data.NDInt64) error

func (H5RefInt64) WriteSlice

func (h H5RefInt64) WriteSlice(data data.NDInt64, loc []int) error

type H5RefUint

type H5RefUint struct {
	Filename string
	Dataset  string
	Slice    [][]int
}

func ParseH5RefUint

func ParseH5RefUint(path string) H5RefUint

func (H5RefUint) Create

func (h H5RefUint) Create(shape []int, fillValue uint, compress bool) error

func (H5RefUint) Exists

func (h H5RefUint) Exists() bool

func (H5RefUint) GetDatasets

func (h H5RefUint) GetDatasets() ([]string, error)

func (H5RefUint) GetGroups

func (h H5RefUint) GetGroups() ([]string, error)

func (H5RefUint) Load

func (h H5RefUint) Load() (data.NDUint, error)

func (H5RefUint) LoadText

func (h H5RefUint) LoadText() ([]string, error)

func (H5RefUint) Shape

func (h H5RefUint) Shape() ([]int, error)

func (H5RefUint) Write

func (h H5RefUint) Write(data data.NDUint) error

func (H5RefUint) WriteSlice

func (h H5RefUint) WriteSlice(data data.NDUint, loc []int) error

type H5RefUint32

type H5RefUint32 struct {
	Filename string
	Dataset  string
	Slice    [][]int
}

func ParseH5RefUint32

func ParseH5RefUint32(path string) H5RefUint32

func (H5RefUint32) Create

func (h H5RefUint32) Create(shape []int, fillValue uint32, compress bool) error

func (H5RefUint32) Exists

func (h H5RefUint32) Exists() bool

func (H5RefUint32) GetDatasets

func (h H5RefUint32) GetDatasets() ([]string, error)

func (H5RefUint32) GetGroups

func (h H5RefUint32) GetGroups() ([]string, error)

func (H5RefUint32) Load

func (h H5RefUint32) Load() (data.NDUint32, error)

func (H5RefUint32) LoadText

func (h H5RefUint32) LoadText() ([]string, error)

func (H5RefUint32) Shape

func (h H5RefUint32) Shape() ([]int, error)

func (H5RefUint32) Write

func (h H5RefUint32) Write(data data.NDUint32) error

func (H5RefUint32) WriteSlice

func (h H5RefUint32) WriteSlice(data data.NDUint32, loc []int) error

type H5RefUint64

type H5RefUint64 struct {
	Filename string
	Dataset  string
	Slice    [][]int
}

func ParseH5RefUint64

func ParseH5RefUint64(path string) H5RefUint64

func (H5RefUint64) Create

func (h H5RefUint64) Create(shape []int, fillValue uint64, compress bool) error

func (H5RefUint64) Exists

func (h H5RefUint64) Exists() bool

func (H5RefUint64) GetDatasets

func (h H5RefUint64) GetDatasets() ([]string, error)

func (H5RefUint64) GetGroups

func (h H5RefUint64) GetGroups() ([]string, error)

func (H5RefUint64) Load

func (h H5RefUint64) Load() (data.NDUint64, error)

func (H5RefUint64) LoadText

func (h H5RefUint64) LoadText() ([]string, error)

func (H5RefUint64) Shape

func (h H5RefUint64) Shape() ([]int, error)

func (H5RefUint64) Write

func (h H5RefUint64) Write(data data.NDUint64) error

func (H5RefUint64) WriteSlice

func (h H5RefUint64) WriteSlice(data data.NDUint64, loc []int) error

type TimeSeriesTable

type TimeSeriesTable map[string][]float64

func ReadTimeSeriesCSV

func ReadTimeSeriesCSV(fn string) (TimeSeriesTable, error)

func ReadTimeSeriesCSVFile

func ReadTimeSeriesCSVFile(f *os.File) (TimeSeriesTable, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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