#!/usr/bin/env python
#-*- coding: utf-8 -*-
# @file      : const.py
# @author    : Zhi Liu
# @email     : zhiliu.mind@gmail.com
# @homepage  : http://iridescent.ink
# @date      : Sun Nov 27 2019
# @version   : 0.0
# @license   : The GNU General Public License (GPL) v3.0
# @note      : 
# 
# The GNU General Public License (GPL) v3.0
# Copyright (C) 2013- Zhi Liu
#
# This file is part of torchbox.
#
# torchbox is free software: you can redistribute it and/or modify it under the 
# terms of the GNU General Public License as published by the Free Software Foundation, 
# either version 3 of the License, or (at your option) any later version.
#
# torchbox is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; 
# without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
# See the GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License along with torchbox. 
# If not, see <https://www.gnu.org/licenses/>. 
#

# DEFINE GLOBAL CONSTS
C = 299792458.0  # 2.99792458e8 in m/s
# PI = 3.14159265358979323846
PI = 3.141592653589793238462643383279502884197169399375105820974944592307
EPS = 1.0e-32


Ge = 398603e9  # the constant of earth gravitation
Rea = 6367.856e3  # the avarage radius of earth
Ree = 6378.137e3  # the equatorial radius of earth
Rep = 6356.752e3  # the polar radius of earth
