Hi Tim,

You could create a freerflag column of the right length outside CCP4 and then 
just import it into CCP4. That would save you a lot of scripting inside CCP4 
context.

Cheers,
Robbie

-----Original Message-----
From: Tim Gruene [mailto:tim.gru...@psi.ch] 
Sent: Tuesday, January 31, 2017 03:29
To: Robbie Joosten
Cc: CCP4BB@jiscmail.ac.uk
Subject: Re: [ccp4bb] variation in freerflag

Hi Robbie,

I had long wondered how to flag the fields in game minesweeper with a 
deterministic algorithm. When I read about 'random sort and bin' I though this 
was quite a beautiful way. I wonder if there is any reason behind not doing it 
this way in freerflag.

Assigning the flags randomly this way in a manual manner (CAD?) probably 
requires some tedious scripting, doesn't it?

Best,
Tim

On Monday, January 30, 2017 9:45:40 PM CET Robbie Joosten wrote:
> Hi Tim,
> 
> 
> 
> I was discussing that with a student today, because we observe the 
> same thing when we make test sets for k-fold cross validation. It is 
> an implementation choice. You can random sort and then bin, or you can 
> assign a random number to each reflection and translate that to a bin. 
> The latter is fine for large bins, but not for small ones like the 
> ones you are making.
> 
> 
> 
> Cheers,
> 
> Robbie
> 
> 
> 
> 
> 
> 
> 
> Sent from my Windows 10 phone
> 
> 
> 
> Van: Tim Gruene<mailto:tim.gru...@psi.ch>
> Verzonden: maandag 30 januari 2017 21:03
> Aan: CCP4BB@JISCMAIL.AC.UK<mailto:CCP4BB@JISCMAIL.AC.UK>
> Onderwerp: [ccp4bb] variation in freerflag
> 
> 
> 
> Dear all,
> 
> when I ran freerflag with the keyword FREERFRAC 0.002, the number of 
> reflection per flag (between 0 and 500) is very high, it varies 
> between 17 and 1.
> 
> Why is there such a high variation, instead of flagging always the 
> same number of reflections per flag (6-7 in my case)? Can the 
> distribution be made evenly?
> 
> Best regards,
> Tim
> --
> --
> Paul Scherrer Institut
> Tim Gruene
> - persoenlich -
> OFLC/102
> CH-5232 Villigen PSI
> phone: +41 (0)56 310 5297
> 
> GPG Key ID = A46BEE1A

--
--
Paul Scherrer Institut
Tim Gruene
- persoenlich -
OFLC/102
CH-5232 Villigen PSI
phone: +41 (0)56 310 5297

GPG Key ID = A46BEE1A

Reply via email to