Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Simon May
config
Commits
17fd9039
Commit
17fd9039
authored
Oct 06, 2021
by
Simon May
Browse files
Add some more imports to ipython (e.g. matplotlib)
parent
59a5ebf8
Changes
1
Hide whitespace changes
Inline
Side-by-side
.ipython/profile_default/startup/50-imports.py
View file @
17fd9039
import
collections
import
functools
import
itertools
import
math
import
re
import
subprocess
from
subprocess
import
run
import
astropy
import
astropy.constants
import
astropy.cosmology
import
astropy.units
import
h5py
import
matplotlib
import
matplotlib.colors
import
matplotlib.pyplot
import
numba
import
numpy
import
numpy.fft
...
...
@@ -14,6 +22,8 @@ import numpy.random
import
pandas
from
pathlib
import
Path
import
bin_density
import
m200_util
import
read_snapshot
import
read_snapshot.hdf5
import
read_snapshot.gadget
...
...
@@ -23,5 +33,6 @@ from snapshot import Snapshot
aconst
=
astropy
.
constants
acosmo
=
astropy
.
cosmology
aunits
=
astropy
.
units
plt
=
matplotlib
.
pyplot
rs
=
read_snapshot
rs5
=
read_snapshot
.
hdf5
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment