SpkFile class
An ephemeris file in SPK format (e.g. de440s.bsp from NASA JPL).
Format: NAIF "DAF Required Reading" and "SPK Required Reading". The file consists of 1024-byte records; the first is the header, followed by linked summary records and segment data.
Reads from the SpkSource only the summaries and the records needed for a calculation.
Constructors
- SpkFile.fromBytes(Uint8List bytes)
-
Reads a file from bytes (the whole file in memory).
factory
- SpkFile.fromSource(SpkSource source)
-
Reads the file summaries from
source; segment data is read only when needed.factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- internalName → String
-
The internal name written into the file by its author.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
segments
→ List<
SpkSegment> -
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
word(
int word) → double -
The double at address
word(DAF addresses start at 1). -
words(
int first, int count) → Float64List -
countconsecutive doubles starting at addressfirst.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited