Hi Keitaro
Mosflm has been able to output jpegs with predictions for many years - it can also output ppm files (which are not compressed in a lossy way, so probably better for zooming in or converting to other formats). However, you'd need to add the indices to the prediction boxes manually - I don't know a really robust way to automate putting them in in sensible places with sensible font sizes etc. for all possible cells.
iMosflm (i.e. the new GUI) itself doesn't have the widgets to do this, but if you run an iMosflm job and get at least as far as having indexed and estimated (or entered) a mosaicity do the following;
* go to the "History" task
* click on "Log" (to bring up the light green on green log display)
* left mouse click in the display
* <Ctrl>-k to bring up the command entry line
* enter the following commands
image <image number of the image you want to plot>
xgui on
go
create_image type ppm prediction on binary true filename image.ppm (creates a ppm)
or
create_image prediction on binary true filename image.jpg (creates a jpeg, default)
then
return (redirects input back to the normal Mosflm commands)
It's also possible to do this from the normal Mosflm command line or put it in a batch file - I often do this to prepare a set of images for movies.
On 8 Dec 2010, at 05:31, Keitaro Yamashita wrote:
> Dear all,
>
> I would like to make a picture of diffraction photograph with (hkl) indexes.
>
> I found it in Fig. 1 in the paper: Acta Cryst. (2009). D65, 553-559
> http://dx.doi.org/10.1107/S0907444909010725
> Direct link to the figure:
> http://journals.iucr.org/d/issues/2009/06/00/dz5158/dz5158fig1.html
>
> Can LABELIT, Mosflm or other program make image file (jpg or
> something) such like that?
>
> Thank you very much in advance,
>
> K. Yamashita
Harry
--
Dr Harry Powell, MRC Laboratory of Molecular Biology, MRC Centre, Hills Road, Cambridge, CB2 0QH
|