We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4a040f6 commit e143130Copy full SHA for e143130
1 file changed
cs_util/cfis.py
@@ -64,9 +64,9 @@ def get_tile_coord_from_nixy(nix, niy):
64
65
Parameters
66
----------
67
- nix : str, int, or list
+ nix : str or list
68
tile number(s) for x
69
- niy : str, int, or list
+ niy : str or list
70
tile number(s) for y
71
72
See also
@@ -79,8 +79,9 @@ def get_tile_coord_from_nixy(nix, niy):
79
right ascension and declination
80
81
"""
82
+ # Transform to int
83
if not np.isscalar(nix):
- # Transform to int
84
+ # Transform to list
85
xi = np.array(nix).astype(int)
86
yi = np.array(niy).astype(int)
87
else:
0 commit comments