Skip to content

Commit

Permalink
Merge pull request #45 from fact-project/fix_get_pixel_coords
Browse files Browse the repository at this point in the history
Return numpy arrays from get_pixel_coords, fixes plotting.pixelids
  • Loading branch information
maxnoe authored Apr 28, 2017
2 parents ba9408e + 5a050e0 commit 7b2a262
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion fact/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
from . import plotting
from . import auxservices

__version__ = '0.9.3'
__version__ = '0.9.4'

__all__ = [
'fjd',
Expand Down
4 changes: 2 additions & 2 deletions fact/pixels.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,9 +124,9 @@ def get_pixel_coords():
by default it gets rotated by 90 degrees clockwise to show the same
orientation as MARS and fact-tools
'''
pd = get_pixel_dataframe()
df = get_pixel_dataframe()

return pd.x, pd.y
return df.x.values, df.y.values


@lru_cache(maxsize=1)
Expand Down

0 comments on commit 7b2a262

Please sign in to comment.