hi all,
is there any way to print the distance(s) used in the ConnectivityRestraint? i'd like to print the actual distances of the minimal spanning tree.
thanks
frido
Friedrich Foerster wrote: > hi all, > > is there any way to print the distance(s) used in the ConnectivityRestraint? > i'd like to print the actual distances of the minimal spanning tree. > If you set logging to verbose and evaluate it, it will print the length of all edges and then the set of edges selected. Good enough?
On Mar 19, 2009, at 12:13 AM, Daniel Russel wrote:
> Friedrich Foerster wrote: >> hi all, >> >> is there any way to print the distance(s) used in the >> ConnectivityRestraint? >> i'd like to print the actual distances of the minimal spanning tree. >> > If you set logging to verbose and evaluate it, it will print the > length of all edges and then the set of edges selected. Good enough? actually it'd be great to have an option to really return the value. i'd like to print out the actual distances between restrained particles. i.e., i'd eventually like to put it into a nice format etc... so if there'd be a way to do that it'd be greatly appreciated. in the meanwhile i can live with the logging.
thanks
frido > > _______________________________________________ > IMP-dev mailing list > IMP-dev@salilab.org > https://salilab.org/mailman/listinfo/imp-dev >
--
Friedrich Foerster Max-Planck Institut fuer Biochemie Am Klopferspitz 18 D-82152 Martinsried
Tel: +49 89 8578 2651 Fax: +49 89 8578 2641
foerster@biochem.mpg.de
www.tomotronic.org
On Mar 19, 2009, at 2:10 AM, Friedrich Foerster wrote:
> > On Mar 19, 2009, at 12:13 AM, Daniel Russel wrote: > >> Friedrich Foerster wrote: >>> hi all, >>> >>> is there any way to print the distance(s) used in the >>> ConnectivityRestraint? >>> i'd like to print the actual distances of the minimal spanning tree. >>> >> If you set logging to verbose and evaluate it, it will print the >> length of all edges and then the set of edges selected. Good enough? > actually it'd be great to have an option to really return the value. > i'd like to print out the actual distances between restrained > particles. i.e., i'd eventually like to put it into a nice format > etc... It should be relatively easy to have a function which returns a list of particle pairs as edges. And it seems like something that it would be generally useful to have. I'll look into it.
I added a get_connected_pairs() method to the connectivity restraint which returns a ParticelPairs object.
Friedrich Foerster wrote: > > On Mar 19, 2009, at 12:13 AM, Daniel Russel wrote: > >> Friedrich Foerster wrote: >>> hi all, >>> >>> is there any way to print the distance(s) used in the >>> ConnectivityRestraint? >>> i'd like to print the actual distances of the minimal spanning tree. >>> >> If you set logging to verbose and evaluate it, it will print the >> length of all edges and then the set of edges selected. Good enough? > actually it'd be great to have an option to really return the value. > i'd like to print out the actual distances between restrained > particles. i.e., i'd eventually like to put it into a nice format etc... > so if there'd be a way to do that it'd be greatly appreciated. in the > meanwhile i can live with the logging. > > thanks > > frido >> >> _______________________________________________ >> IMP-dev mailing list >> IMP-dev@salilab.org >> https://salilab.org/mailman/listinfo/imp-dev >> > > -- > > Friedrich Foerster > Max-Planck Institut fuer Biochemie > Am Klopferspitz 18 > D-82152 Martinsried > > Tel: +49 89 8578 2651 > Fax: +49 89 8578 2641 > > foerster@biochem.mpg.de > > www.tomotronic.org > > > > > > > _______________________________________________ > IMP-dev mailing list > IMP-dev@salilab.org > https://salilab.org/mailman/listinfo/imp-dev
thanks!
frido
On Thu, Mar 19, 2009 at 6:21 PM, Daniel Russel drussel@gmail.com wrote: > I added a get_connected_pairs() method to the connectivity restraint which > returns a ParticelPairs object. > > Friedrich Foerster wrote: >> >> On Mar 19, 2009, at 12:13 AM, Daniel Russel wrote: >> >>> Friedrich Foerster wrote: >>>> >>>> hi all, >>>> >>>> is there any way to print the distance(s) used in the >>>> ConnectivityRestraint? >>>> i'd like to print the actual distances of the minimal spanning tree. >>>> >>> If you set logging to verbose and evaluate it, it will print the length >>> of all edges and then the set of edges selected. Good enough? >> >> actually it'd be great to have an option to really return the value. i'd >> like to print out the actual distances between restrained particles. i.e., >> i'd eventually like to put it into a nice format etc... >> so if there'd be a way to do that it'd be greatly appreciated. in the >> meanwhile i can live with the logging. >> >> thanks >> >> frido >>> >>> _______________________________________________ >>> IMP-dev mailing list >>> IMP-dev@salilab.org >>> https://salilab.org/mailman/listinfo/imp-dev >>> >> >> -- >> >> Friedrich Foerster >> Max-Planck Institut fuer Biochemie >> Am Klopferspitz 18 >> D-82152 Martinsried >> >> Tel: +49 89 8578 2651 >> Fax: +49 89 8578 2641 >> >> foerster@biochem.mpg.de >> >> www.tomotronic.org >> >> >> >> >> >> >> _______________________________________________ >> IMP-dev mailing list >> IMP-dev@salilab.org >> https://salilab.org/mailman/listinfo/imp-dev > > _______________________________________________ > IMP-dev mailing list > IMP-dev@salilab.org > https://salilab.org/mailman/listinfo/imp-dev > >
participants (2)
-
Daniel Russel
-
Friedrich Foerster