Skip to content

Commit

Permalink
move scipy rotation import to grid_functions
Browse files Browse the repository at this point in the history
  • Loading branch information
thoglu committed Dec 27, 2023
1 parent 6d1ca31 commit 10b792c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 2 additions & 0 deletions jammy_flows/helper_fns/grid_functions.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
import numpy
import torch

from scipy.spatial.transform import Rotation as R

def find_bins(trace, percentiles=[5.0,95.0], num_bins=50, use_outlier_binning=False):

if(use_outlier_binning):
Expand Down
1 change: 0 additions & 1 deletion jammy_flows/helper_fns/plotting/general.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
import copy
#import astropy.stats

from scipy.spatial.transform import Rotation as R

from .. import contours
from ..grid_functions import obtain_bins_and_visualization_regions, get_pdf_on_grid, cartesian_lambert_to_spherical, spherical_to_cartesian_lambert, get_basic_gridlines
Expand Down

0 comments on commit 10b792c

Please sign in to comment.