Exporting coordinates of picked particles

Hi Daniel,

In case it helps:

the XY data in particle picking is stored in the extracted_particles.cs in the Job folder of the ManualPick job.

It’s stored as the last 4 values in each record in the .cs file, namely MicrographXDim(UINT32), MicrographYDim(UINT32), fractionX(FLOAT32), fractionY(FLOAT32), and the final coordinates are

rlnCoordinateX = MicrographXDim * fractionX
rlnCoordinateY = MicrographYDim * fractionY

XDim and YDim are technically defined as an array ((‘location/micrograph_shape’, ‘<u4’, (2,)))
fracX and and fracY are defined as (‘location/center_x_frac’, ‘<f4’) / (‘location/center_y_frac’, ‘<f4’)

I’d add it myself and push it to your github rep, but I’m afraid my python is very limited. :slight_smile:

Best,

Juraj