Dear Kay,
one could use a bucket sort in combination with a linked list in this
case, i.e. growing linearly.
However, after your point I agree it is not worth the effort to
implement it in xdsgui - it's probably a rarely used option and the
possibility to use adxv is anyhow great.
Best,
Tim
On 06/15/2016 03:11 PM, Kay Diederichs wrote:
> Boaz,
>
> well, generate_adx does the sorting, or at least makes the operating system's "sort" utility do it. And ADXV does the HKL lookup and output, based on the user's left-mouse-click.
> Of course it is _possible_ to implement this in XDSGUI, but how necessary and useful is it? So far I didn't miss this facility - do XDSGUI users want this? If so, pls send me personal email (not to CCP4BB!).
>
> thanks,
>
> Kay
>
> On Wed, 15 Jun 2016 12:49:56 +0000, Boaz Shaanan <[log in to unmask]> wrote:
>
>> @Kay: maybe this feature could be implemented in xdsgui, as all information is
>> already there in INTEGRATE.HKL?
>
>> well, INTEGRATE.HKL (or better XDS_ASCII.HKL) can be multi-megabyte files, and they are sorted on unique indices, not on frame numbers. >That means that XDSGUI would need to read the file and (at least) re-sort it, to enable a reasonably fast lookup of HKL values when displaying a >frame. Possible to do, but currently low in priority.
>
> Hi Kay,
>
> But doesn't generate_adx do the sorting that you describe? Or am I wrong?
>
> Cheers,
>
> Boaz
>
--
--
Paul Scherrer Institut
Dr. Tim Gruene
- persoenlich -
OFLC/102
CH-5232 Villigen PSI
phone: +41 (0)56 310 5297
GPG Key ID = A46BEE1A
|