50-imports.py 713 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
30
31
32
33
34
35
import read_snapshot
import read_snapshot.hdf5
import read_snapshot.gadget
import snapshot
from snapshot import Snapshot

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