presenter

package
v0.0.0-...-6104d6a Latest Latest
Warning

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

Go to latest
Published: Dec 26, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const KPC_TO_LY = 3262
View Source
const MILKY_WAY_AGE = 13.61e9

Age of the Milky Way: 13.61 billion years

View Source
const MILKY_WAY_H_KPC = 1
View Source
const MILKY_WAY_R_KPC = 12

Source: https://doi.org/10.48550/arXiv.1301.6411 Milky Way galactic disk cylinder in kpc

View Source
const MILKY_WAY_STARS = 1e11

Number of stars in the Milky Way: 100 billion

Variables

This section is empty.

Functions

This section is empty.

Types

type Result

type Result struct {
	Surveys []drake.Survey
	*message.Printer
}

func (Result) DataLabels

func (r Result) DataLabels() []string

func (Result) Participants

func (r Result) Participants() int

func (Result) PostsurveyData

func (r Result) PostsurveyData() []int

func (Result) PresurveyData

func (r Result) PresurveyData() []int

type Session

type Session struct {
	drake.Session
	ElapsedTime string
}

func SessionsList

func SessionsList(sessions []drake.Session, printer *message.Printer) []Session

type Statistics

type Statistics struct {
	Survey
	Labels [][]string

	Suveys []drake.Survey
	// contains filtered or unexported fields
}

func NewStatistics

func NewStatistics(surveys []drake.Survey, printer *message.Printer) Statistics

func (Statistics) Data

func (s Statistics) Data() [][]int

type Survey

type Survey struct {
	drake.Survey
	*message.Printer
}

func (Survey) AvgEstimationDistance

func (s Survey) AvgEstimationDistance() string

func (Survey) AvgPredictionDistance

func (s Survey) AvgPredictionDistance() string

func (Survey) Difference

func (s Survey) Difference() string

func (Survey) Estimation

func (s Survey) Estimation() string

func (Survey) FcQuestion

func (s Survey) FcQuestion() string

func (Survey) FcValues

func (s Survey) FcValues() []SurveyOption

func (Survey) FiQuestion

func (s Survey) FiQuestion() string

func (Survey) FiValues

func (s Survey) FiValues() []SurveyOption

func (Survey) FlQuestion

func (s Survey) FlQuestion() string

func (Survey) FlValues

func (s Survey) FlValues() []SurveyOption

func (Survey) FpQuestion

func (s Survey) FpQuestion() string

func (Survey) FpValues

func (s Survey) FpValues() []SurveyOption

func (Survey) LQuestion

func (s Survey) LQuestion() string

func (Survey) LValues

func (s Survey) LValues() []SurveyOption

func (Survey) LearnGainQuestion

func (s Survey) LearnGainQuestion() string

func (Survey) LearnGainValues

func (s Survey) LearnGainValues() []SurveyOption

func (Survey) NQuestion

func (s Survey) NQuestion() string

func (Survey) NValues

func (s Survey) NValues() []SurveyOption

func (Survey) NeQuestion

func (s Survey) NeQuestion() string

func (Survey) NeValues

func (s Survey) NeValues() []SurveyOption

func (Survey) Prediction

func (s Survey) Prediction() string

func (Survey) RQuestion

func (s Survey) RQuestion() string

func (Survey) RValues

func (s Survey) RValues() []SurveyOption

type SurveyOption

type SurveyOption struct {
	Text  string
	Value float64
}

Jump to

Keyboard shortcuts

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