interpolation - Fixing Knots for scipy.interpolate.bisplrep -
i have 6x6 matrix of data(values_master) 6x6 set of data points:
master_x,master_y=mgrid[950:1450:6j,550:1050:6j]
i try , interpolate data using bisplrep:
master_tck = bisplrep(master_x,master_y,values_master,kx=2,ky=2,task=-1,tx=[950,1050,1150,1250,1350,1450],ty=[550,650,750,850,950,1050],s=0)
however, when output co-ordinates of knots check have been read in correctly, following:
tx=[950.950.950.1450.1450.1450.] ty=[550.550.550.1050.1050.1050.]
which not appear match input tx , ty @ all. explanation this?
Comments
Post a Comment