<commit_before>//
//  CelestialBody.swift
//  ARGlobe
//
//  Created by <NAME> on 11/11/17.
//  Copyright © 2017 <NAME>. All rights reserved.
//
// Check against values here: http://celestialchart.com/ephemeris/

import Foundation
import SceneKit

public class CelestialBody {

  public var type: CelestialBodyType
  public var latitude: Float!
  public var longitude: Float!
  public var distanceFromEarthCenter: Float!
  public var altitude: Float?
  public var azimuth: Float?
  public var dateTimeOfCalculation: Float!
  public var fractionOfDate: Float!
  
  public weak var sun: CelestialBody?
  
  fileprivate var calculatedOrbitalParameters: Bool = false
  
  public var node: SCNNode?

  //Heliocentric coordinates
  var xh: Float!
  var yh: Float!
  var zh: Float!
  
  //Heliocentric coordinates
  var xg: Float!
  var yg: Float!
  var zg: Float!
  
  //Perturbations
  var Plong: Float!
  var Plat: Float!
  var Pr: Float!
  
  //Right Ascension & Declination
  var RA: Float!
  var Dec: Float!
  var GMST0: Float!
  var SIDTIME: Float!
  var HA_Deg: Float!
  var HA_return: Float!
  <commit_msg>Removed references to scenekit, added in correct header<commit_after>//
//  ZeitSatTrackManager.swift
//  ZeitSatTrack
//
//  Created by <NAME> on 5/22/17.
//  Copyright © 2017 Zeitgeist. All rights reserved.
//
//  Planetary Calulations written by <NAME> on 10/12/17.
//
// These are all based on the formulas presented in
// Paul Schlyter's website
// http://www.stjarnhimlen.se/comp/ppcomp.html#5
//
// Check against values here: http://celestialchart.com/ephemeris/

import Foundation

public class CelestialBody {

  public var type: CelestialBodyType
  public var latitude: Float!
  public var longitude: Float!
  public var distanceFromEarthCenter: Float!
  public var altitude: Float?
  public var azimuth: Float?
  public var dateTimeOfCalculation: Float!
  public var fractionOfDate: Float!
  
  public weak var sun: CelestialBody?
  
  fileprivate var calculatedOrbitalParameters: Bool = false

  //Heliocentric coordinates
  var xh: Float!
  var yh: Float!
  var zh: Float!
  
  //Heliocentric coordinates
  var xg: Float!
  var yg: Float!
  var zg: Float!
  
  //Perturbations
  var Plong: Float!
  var Plat: Float!
  var Pr: Float!
  
  //Right Ascension & Declination
  var RA: Float!
  var Dec: Float!
  var GMST0: Float!
  var SIDTIME: Float!
  var HA_Deg: Float!
  var HA_return: Float!
  
{'fraction_non_alphanumeric': 0.09109730848861283, 'fraction_numerical': 0.011594202898550725, 'mean_word_length': 3.2836879432624113, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 1, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6941266', 'n_tokens_mistral': 853, 'n_tokens_neox': 794, 'n_words': 273}