Skip to content

Commit

Permalink
Merge pull request #39 from JarronL/develop
Browse files Browse the repository at this point in the history
import all funcs into nrc_utils
  • Loading branch information
JarronL committed Nov 18, 2020
2 parents 2cae117 + 17ad4d1 commit ce15749
Show file tree
Hide file tree
Showing 3 changed files with 52 additions and 30 deletions.
5 changes: 4 additions & 1 deletion notebooks/Basic_Usage.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,10 @@
"# jedi 0.14.1 tab completion fails; will be fixed in 0.14.2\n",
"import jedi\n",
"if jedi.__version__ == '0.14.1':\n",
" %config Completer.use_jedi = False"
" %config Completer.use_jedi = False\n",
" \n",
"# Progress bar\n",
"from tqdm.auto import trange, tqdm"
]
},
{
Expand Down
67 changes: 42 additions & 25 deletions notebooks/Coronagraph_Basics.ipynb

Large diffs are not rendered by default.

10 changes: 6 additions & 4 deletions pynrc/nrc_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,12 @@

from .maths import robust
from .maths.fast_poly import *
from .maths.image_manip import frebin, fshift, pad_or_cut_to_size
from .maths.image_manip import hist_indices, binned_statistic
from .maths.coords import dist_image, xy_to_rtheta, rtheta_to_xy, xy_rot
from .maths.coords import det_to_sci, sci_to_det, plotAxes
from .maths.image_manip import *
from .maths.coords import *
# from .maths.image_manip import frebin, fshift, pad_or_cut_to_size
# from .maths.image_manip import hist_indices, binned_statistic
# from .maths.coords import dist_image, xy_to_rtheta, rtheta_to_xy, xy_rot
# from .maths.coords import det_to_sci, sci_to_det, plotAxes

# OPD info
from .opds import opd_default, OPDFile_to_HDUList
Expand Down

0 comments on commit ce15749

Please sign in to comment.