Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OpExportStats ¶
type OpExportStats struct { ops.OpBase FileName string `json:"fileName"` // contains filtered or unexported fields }
func NewOpExportStats ¶
func NewOpExportStats(fileName string) *OpExportStats
func NewOpExportStatsDefault ¶
func NewOpExportStatsDefault() *OpExportStats
func (*OpExportStats) MakePromises ¶
func (op *OpExportStats) MakePromises(ins []ops.Promise, c *ops.Context) (outs []ops.Promise, err error)
Selects a reference for all given input promises using the specified mode. This creates separate output promises for each input promise. The first of them to acquire the reference mutex evaluates all images
func (*OpExportStats) UnmarshalJSON ¶
func (op *OpExportStats) UnmarshalJSON(data []byte) error
Unmarshal the type from JSON with default values for missing entries
type OpSelectReference ¶
type OpSelectReference struct { ops.OpBase Mode RefSelMode `json:"mode"` FileName string `json:"fileName"` FileID int `json:"fileID"` StarDetect *pre.OpStarDetect `json:"starDetect"` // contains filtered or unexported fields }
func NewOpSelectReference ¶
func NewOpSelectReference(mode RefSelMode, fileName string, fileID int, opStarDetect *pre.OpStarDetect) *OpSelectReference
Preprocess all light frames with given global settings, limiting concurrency to the number of available CPUs
func NewOpSelectReferenceDefault ¶
func NewOpSelectReferenceDefault() *OpSelectReference
func (*OpSelectReference) MakePromises ¶
func (op *OpSelectReference) MakePromises(ins []ops.Promise, c *ops.Context) (outs []ops.Promise, err error)
Selects a reference for all given input promises using the specified mode. This creates separate output promises for each input promise. The first of them to acquire the reference mutex evaluates all images
func (*OpSelectReference) UnmarshalJSON ¶
func (op *OpSelectReference) UnmarshalJSON(data []byte) error
Unmarshal the type from JSON with default values for missing entries
type RefSelMode ¶
type RefSelMode int
Reference frame selection mode
const ( RFMStarsOverHFR RefSelMode = iota // Pick frame with highest ratio of stars over HFR (for lights) RFMMedianLoc // Pick frame with median location (for multiplicative correction when integrating master flats) RFMFileName // Load from given filename RFMFileID // Load from given frame ID RFMLRGB // (L)RGB mode. Uses luminance if present (id=3), else the RGB frame with the best stars/HFR ratio )