-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path__init__.py
64 lines (53 loc) · 1.58 KB
/
__init__.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
# -*- coding: utf-8 -*-
#!/usr/bin/python
__version__="0.2"
__doc__='''
####################################################################################################
# author: Pedro H. A. Hasselmann, Rio de Janeiro, Brasil (LESIA-OBSPM/ON-MCTI)
#
# Shapeimager
# ===========
#
# Shapeimager is a FOV rendering tool for scientific spectral and BRDF analysis for Solar System Bodies.
#
# Python 3.8
#
# requirements:
# essential: cython 0.29, spiceypy 4.0, pandas 1.2.4, numpy 1.20, scipy 1.6, astropy 4.2, matplotlib 3.3, PIL
# support: mayavi, gdal, osgeo, plyfile
#
#
# Path Files :
#
# "folder" : Directory of the calibrated and aligned images.
# "core" : Directory of the renderings and HDF5 databases.
# "aux" : Directory of auxiliary .dat or .txt files containing important values and 3D Shape Model.
# "kern" : Directory of NAIF/SPICE Kernels
#
#
######################################################################################################
'''
# Garbage Collector disabled.
#import gc
#gc.disable()
#gc.set_debug(gc.DEBUG_LEAK)
# System
from os import path, walk, listdir, mkdir, remove, rename, system, name, stat, environ, sep, getcwd
import warnings
warnings.filterwarnings("ignore")
warnings.simplefilter(action="ignore")
# Load File path
home = path.expanduser('~')
global folder, core, aux, kern
folder = getcwd()
core = getcwd()
aux = getcwd()
kern = getcwd()
# cythonization
from . import cythonize
####################
## Physical Units ##
####################
#import astropy.units as u
au_km = 149597870.659999996424 #u.au.to(u.km)
#END