50-imports.py 787 Bytes
Newer Older
1
import collections
2
3
import functools
import itertools
4
5
6
7
import math
import re
import subprocess
from subprocess import run
8
9
10
11
12
13

import astropy
import astropy.constants
import astropy.cosmology
import astropy.units
import h5py
14
15
16
import matplotlib
import matplotlib.colors
import matplotlib.pyplot
17
18
19
20
21
22
23
24
import numba
import numpy
import numpy.fft
import numpy.linalg
import numpy.random
import pandas
from pathlib import Path

25
26
import bin_density
import m200_util
27
28
29
import read_snapshot
import read_snapshot.hdf5
import read_snapshot.gadget
Simon May's avatar
Simon May committed
30
import read_snapshot.read_psi
31
import snapshot
Simon May's avatar
Simon May committed
32
from read_snapshot.read_psi import read_psi
33
34
35
36
37
from snapshot import Snapshot

aconst = astropy.constants
acosmo = astropy.cosmology
aunits = astropy.units
38
plt = matplotlib.pyplot
39
40
rs = read_snapshot
rs5 = read_snapshot.hdf5