Skip to content
Permalink
master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
executable file 7 lines (5 sloc) 241 Bytes
function [x_pos_pix, y_pos_pix] = pos_to_xy_pix_02(x_pos, y_pos, fov_xmin, fov_ymin, pixel_pitch)
% convert positions to pixels
x_pos_pix = (x_pos - fov_xmin)/pixel_pitch;
y_pos_pix = (y_pos - fov_ymin)/pixel_pitch;
end