Bertinus / FLeCS

Flexible and Learnable Cell Simulator
MIT License
8 stars 1 forks source link

Modified the demo for defining a custom CellPopulation object #17

Closed Bertinus closed 2 years ago

Bertinus commented 2 years ago

I tried to make the demo slightly more intuitive.

In particular, I tried to show which parts of the production_rate / decay_rate tensors are updated by the different methods. For example, the message passing method now returns the aggregated messages, and is used as follows:

self[tgt_n_type].production_rate += message_passing(...)

Bertinus commented 2 years ago

@josephdviviano I updated this PR to address the different points we discussed before.

josephdviviano commented 2 years ago

thanks for working so hard on this today -- ill put in some effort tomorrow! Joseph Viviano @josephdviviano https://twitter.com/josephdviviano viviano.ca

On Wed, Nov 2, 2022 at 6:09 PM Paul Bertin @.***> wrote:

@josephdviviano https://github.com/josephdviviano I updated this PR to address the different points we discussed before.

— Reply to this email directly, view it on GitHub https://github.com/Bertinus/FLeCS/pull/17#issuecomment-1301385115, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA7TL2WIQFJI3XGTM5HX7IDWGLRDBANCNFSM6AAAAAARSMDCHI . You are receiving this because you were mentioned.Message ID: @.***>