summaryrefslogtreecommitdiff
path: root/lib/stwcs/distortion/mutil.py
diff options
context:
space:
mode:
authordencheva <dencheva@stsci.edu>2011-06-27 15:50:30 -0400
committerdencheva <dencheva@stsci.edu>2011-06-27 15:50:30 -0400
commit433054acfc0593f83bd8ee650ac7ceb991e3c5e8 (patch)
tree68c161da13fa4a8a5cd976a8b0b14d478d7c7558 /lib/stwcs/distortion/mutil.py
parent333814fd468f219cf22b752e38282038d48093d0 (diff)
downloadstwcs_hcf-433054acfc0593f83bd8ee650ac7ceb991e3c5e8.tar.gz
don't use private attributes
git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@13266 fe389314-cf27-0410-b35b-8c050e845b92
Diffstat (limited to 'lib/stwcs/distortion/mutil.py')
-rw-r--r--lib/stwcs/distortion/mutil.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/stwcs/distortion/mutil.py b/lib/stwcs/distortion/mutil.py
index ab9eac2..8f80b67 100644
--- a/lib/stwcs/distortion/mutil.py
+++ b/lib/stwcs/distortion/mutil.py
@@ -103,7 +103,7 @@ def readIDCtab (tabname, chip=1, date=None, direction='forward',
#Determine row from which to get the coefficients.
# How many rows do we have in the table...
fshape = ftab[1].data.shape
- colnames = ftab[1].data._names
+ colnames = ftab[1].data.names
row = -1
# Loop over all the rows looking for the one which corresponds
@@ -221,7 +221,7 @@ def readIDCtab (tabname, chip=1, date=None, direction='forward',
# numeric arrays we have set up...
# Setup which column name convention the IDCTAB follows
# either: A,B or CX,CY
- if 'CX10' in ftab[1].data._names:
+ if 'CX10' in ftab[1].data.names:
cxstr = 'CX'
cystr = 'CY'
else:
@@ -310,7 +310,7 @@ def readOfftab(offtab, date, chip=None):
#Determine row from which to get the coefficients.
# How many rows do we have in the table...
fshape = ftab[1].data.shape
- colnames = ftab[1].data._names
+ colnames = ftab[1].data.names
row = -1
row_start = None