Git Product home page Git Product logo

Comments (3)

guenp avatar guenp commented on September 18, 2024

@AdriaanRol I would say there are only 2 types of parameters: ones that you measure (such as temperature), and ones that you get/set occasionally (such as a sweep rate).
IMHO the software parameter, holder and simple/basic parameter all fall into the first category, which would just be covered by add_parameter, which could be a property. If you want the parameter to do something specific, you specify that by passing an fget or fset function that either 1) updates a software attribute, 2) updates an instrument attribute or 3) acts as a 'holder'. Whenever a parameter is changed, this is logged. This way, we don't make the concept of a parameter too complicated. Do you agree?

from qcodes.

damazter avatar damazter commented on September 18, 2024

personally I would be in favor of subclassing the Parameter class.
This new class could be in the parameter.py file.
Such a new class is also how I solved the Alazar related problems. A good name has then to be thought of for this new class,
maybe
StorageParameter
InternalParameter
TrivialParameter
etc

from qcodes.

alexcjohnson avatar alexcjohnson commented on September 18, 2024

closed by #39 (but feel free to make a new issue if anything comes up when any of you start using it)

from qcodes.

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.