Class ElementsGroupVOTableProvider
java.lang.Object
gaiasky.data.group.ElementsGroupVOTableProvider
- All Implemented Interfaces:
IParticleGroupDataProvider
@Deprecated
public class ElementsGroupVOTableProvider
extends Object
implements IParticleGroupDataProvider
Deprecated.
Loader for Keplerian orbital elements from a VOTable, CSV, or ASCII source.
Data is parsed into a
*
List of IParticleRecord objects.
* VOTable Column Mapping:
This provider relies on fixed positional indexing. The source table must provide the following columns in this exact sequence: *| Index | Internal ID | Type | Units / Description |
|---|---|---|---|
| 0 | sourceId | long | Unique Gaia source identifier |
| 1 | number_mp | long | MPC Minor Planet number (0 for satellites) |
| 2 | name | String | Object designation or name |
| 3 | typeShort | short | Type code: 3 for "A" (Asteroid), else "C" (Comet) |
| 4 | nObs | int | Total number of observations |
| 5 | epoch | double | Reference epoch in Julian Days (JD) |
| 6 | semiMajorAxis | double | Semi-major axis in AU |
| 7 | eccentricity | double | Orbital eccentricity |
| 8 | inclination | double | Inclination to the ecliptic (degrees) |
| 9 | ascendingNode | double | Longitude of ascending node Ω (degrees) |
| 10 | argOfPericenter | double | Argument of perihelion ω (degrees) |
| 11 | meanAnomaly | double | Mean anomaly M at epoch (degrees) |
| 12 | period | double | Orbital period in Days |
Data Processing:
- Units: The semi-major axis is converted from AU to Kilometers internally using
AU_TO_U * U_TO_KM. - Metadata: Columns 3 and 4 must have valid UCD (Unified Content Descriptor)
strings as they are used to initialize the metadata
ObjectMap. - Object Type: A hardcoded mapping is used where a short value of 3 designates an Asteroid ("A"), and all other values default to Comet ("C").
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanDeprecated.Do all particles in the group have the same epoch?loadData(InputStream is, double factor) Deprecated.Loads the data applying a factor.Deprecated.Loads the data as it is.Deprecated.Loads the data applying a factor.loadDataMapped(String file, double factor) Deprecated.Loads the data applying a factor using a memory mapped file for improved speed.voidsetFileNumberCap(int cap) Deprecated.Sets a cap on the number of files to load.voidsetProviderParams(Map<String, Object> params) Deprecated.Set provider parameters as a map.voidsetStarNumberCap(int cap) Deprecated.Sets the maximum number of stars to be processed per file.voidsetTransformMatrix(Matrix4D matrix) Deprecated.Sets a transform matrix to apply to all data points.
-
Constructor Details
-
ElementsGroupVOTableProvider
public ElementsGroupVOTableProvider()Deprecated.
-
-
Method Details
-
loadData
Deprecated.Description copied from interface:IParticleGroupDataProviderLoads the data as it is.- Specified by:
loadDatain interfaceIParticleGroupDataProvider- Parameters:
file- The file to load.- Returns:
- The array of particle records.
-
loadDataMapped
Deprecated.Description copied from interface:IParticleGroupDataProviderLoads the data applying a factor using a memory mapped file for improved speed.- Specified by:
loadDataMappedin interfaceIParticleGroupDataProvider- Parameters:
file- The file to load.factor- Factor to apply to the positions.- Returns:
- The array of particle records.
-
loadData
Deprecated.Description copied from interface:IParticleGroupDataProviderLoads the data applying a factor.- Specified by:
loadDatain interfaceIParticleGroupDataProvider- Parameters:
file- The file to load.factor- Factor to apply to the positions.- Returns:
- The array of particle records.
-
loadData
Deprecated.Description copied from interface:IParticleGroupDataProviderLoads the data applying a factor.- Specified by:
loadDatain interfaceIParticleGroupDataProvider- Parameters:
is- Input stream to load the data from.factor- Factor to apply to the positions.- Returns:
- The array of particle records.
-
setFileNumberCap
public void setFileNumberCap(int cap) Deprecated.Description copied from interface:IParticleGroupDataProviderSets a cap on the number of files to load. Set to negative for unlimited.- Specified by:
setFileNumberCapin interfaceIParticleGroupDataProvider- Parameters:
cap- The file cap number.
-
setStarNumberCap
public void setStarNumberCap(int cap) Deprecated.Description copied from interface:IParticleGroupDataProviderSets the maximum number of stars to be processed per file. Set to negative for unlimited.- Specified by:
setStarNumberCapin interfaceIParticleGroupDataProvider- Parameters:
cap- The star cap number.
-
setProviderParams
Deprecated.Description copied from interface:IParticleGroupDataProviderSet provider parameters as a map.- Specified by:
setProviderParamsin interfaceIParticleGroupDataProvider- Parameters:
params- The parameters map.
-
isUniformEpoch
public boolean isUniformEpoch()Deprecated.Description copied from interface:IParticleGroupDataProviderDo all particles in the group have the same epoch?- Specified by:
isUniformEpochin interfaceIParticleGroupDataProvider- Returns:
- Whether all particles in the group have the same epoch;
-
setTransformMatrix
Deprecated.Description copied from interface:IParticleGroupDataProviderSets a transform matrix to apply to all data points.- Specified by:
setTransformMatrixin interfaceIParticleGroupDataProvider- Parameters:
matrix- The transform matrix.
-
STILDataProviderinstead.