[PyFeyn] Object-orientation

Georg von Hippel hippel at kph.uni-mainz.de
Tue Aug 3 14:09:40 BST 2010


Hi,

here's the diff regarding the issue reported by Jesse. Each diagram now 
gets its own currentCanvas, which can be set in the constructor.

Best wishes,

               Georg


On Sat, 24 Jul 2010, hippel at kph.uni-mainz.de wrote:

>
> Hi,
>
> I can't remember is there was a particular reason to do things this way --
> probably not. I'm at ICHEP at the moment, so I won't have time to work on this
> during the next few days, but I'll look into it. I think there was the idea of
> adding a "Page" class that could hold several Feynman diagrams.
>
> Best wishes,
>               Georg
>
> Quoting Andy Buckley <andy.buckley at ed.ac.uk>:
>
>> On 22/07/10 23:47, Jesse Dunietz wrote:
>>> Hello,
>>>
>>> I'm using PyFeyn for a project, and I'm immensely puzzled as to why
>>> there is canvas and current-diagram information kept at the class
>>> level for the FeynDiagram class.  Why would you not give each diagram
>>> object its own canvas, perhaps with the option of specifying a canvas
>>> in the constructor?  I'm having an impossible time trying to draw
>>> multiple diagrams from my code.
>>
>> That sounds very sensible! I've personally not had time to do any
>> development on PyFeyn for a *very* long time, but if you provide a patch
>> to implement the object-level current canvas storage then I'll happily
>> integrate it into the SVN version. Maybe Georg also has something to say...
>>
>> Andy
>>
>> --
>> Dr Andy Buckley
>> SUPA Advanced Research Fellow
>> Particle Physics Experiment Group, University of Edinburgh
>> _______________________________________________
>> PyFeyn mailing list
>> PyFeyn at projects.hepforge.org
>> http://www.hepforge.org/lists/listinfo/pyfeyn
>>
>
>
>
>
> ----------------------------------------------------------------
> This message was sent using IMP, the Internet Messaging Program.
> _______________________________________________
> PyFeyn mailing list
> PyFeyn at projects.hepforge.org
> http://www.hepforge.org/lists/listinfo/pyfeyn
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jdunietz.diff
Type: text/x-diff
Size: 6439 bytes
Desc: 
Url : http://www.hepforge.org/lists-archive/pyfeyn/attachments/20100803/7ad2cc42/attachment.diff 


More information about the PyFeyn mailing list