Git Product home page Git Product logo

Comments (3)

jdaunize avatar jdaunize commented on August 31, 2024

Dear Vasilisa,
This is a very good point.
I think this is due tot he way the multisession inversion has been implemented.
Lionel: I believe this relates to the fact that session are concatenated over time. Can you to have a look and correct this? Ideally:

  • the default should be such that when only specifying one options.skipf for the whole set of sessions, then multisession inversion should apply this to each and every session.
  • users may be allowed to give an options.skipf per session, if this is required.

Cheers,
Jean.

from vba-toolbox.

lionel-rigoux avatar lionel-rigoux commented on August 31, 2024

The problem is how to deal with sessions of different sizes. What I can do:

  • if skipf has the size of one session and all sessions are similar: duplicate skipf
  • if skipf has the size of one session but sessions are dissimilar: throw an error
  • if skipf has the size of all sessions concatenated, assume it consists of the concatenation of session-wise skipf. I can also accept an array of skipf that will be automatically combined after a size chek.

from vba-toolbox.

jdaunize avatar jdaunize commented on August 31, 2024

Lionel,
I think this can be simplified, under the assumption that skipf is useed only for the first(s) state updates.
(This is usually what happens).
I suggest the following slight modification of your suggestion:

  • [OK]
  • create 0-padded skipf for all sessions, with 1's in the same place than the user-specified skipf.
  • disallow 'wrong size' skipf, to prevent possible confusions (and issue an error).

Note: we should agree upon the 'full' multisession format of options.skipf. Why not a cell array?
Note 2: a warning should be issued for cases 1 and 2, e.g.: "Warning [multisession inversion]: replicating options.skipf for all sessions!".
Cheers,
J.

from vba-toolbox.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.