util

package
v0.0.0-...-772e789 Latest Latest
Warning

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

Go to latest
Published: May 6, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package util contains emission-processing utilities.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StringToFloat

func StringToFloat(s string) (float64, error)

StringToFloat converts a string to a floating point number. If the string is "" or "-9" it returns 0.

func TimeFraction

func TimeFraction(aBegin, aEnd, bBegin, bEnd time.Time) float64

TimeFraction returns the fraction of time period a that falls within time period b.

Types

This section is empty.

Jump to

Keyboard shortcuts

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