Package gaiasky.data.group
Class BinaryVersion2
- java.lang.Object
-
- gaiasky.data.group.BinaryIOBase
-
- gaiasky.data.group.BinaryVersion2
-
- All Implemented Interfaces:
BinaryIO
public class BinaryVersion2 extends BinaryIOBase
Binary version 2, used in latter eDR3 runs. Contains 6 doubles, 7 floats and 1 int (hip). It is more compact than version 0 and 1, for only positions and velocity vectors are stored as doubles.
-
-
Field Summary
-
Fields inherited from class gaiasky.data.group.BinaryIOBase
nDoubles, nFloats, tychoIds
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
BinaryVersion2()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
writeParticleRecord(IParticleRecord sb, java.io.DataOutputStream out)
Write the star bean to the output stream-
Methods inherited from class gaiasky.data.group.BinaryIOBase
readParticleRecord, readParticleRecord
-
-
-
-
Method Detail
-
writeParticleRecord
public void writeParticleRecord(IParticleRecord sb, java.io.DataOutputStream out) throws java.io.IOException
Description copied from interface:BinaryIO
Write the star bean to the output stream- Parameters:
sb
- The star beanout
- The output stream- Throws:
java.io.IOException
-
-