Skip to content

Commit

Permalink
delimiter at scale
Browse files Browse the repository at this point in the history
  • Loading branch information
g7fernandes committed Aug 20, 2019
1 parent 13f14fd commit 3e9604e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scale_positions.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
print('menores posições: [{}, {}] '.format( np.amin(data[:,0]), np.amin(data[:,1]) ))
print('maiores posições: [{}, {}] '.format( np.amax(data[:,0]), np.amax(data[:,1]) ))

np.savetxt(file_name[0:len(file_name)-4] + '_sc.csv', data, delimiter=',')
le = len(data)
for i in range(le-1):
pos1 = data[i,:]
Expand All @@ -40,6 +41,5 @@
print('Menores distâncias entre dois pontos.\ndx = {}, dy = {}, absoluta = {}'.format(mdx,mdy,mres))


np.savetxt(file_name[0:len(file_name)-4] + '_sc.csv', data)


0 comments on commit 3e9604e

Please sign in to comment.