Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds a dummy measurement #124

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

HollySte
Copy link
Collaborator

@HollySte HollySte commented Feb 9, 2021

@nulinspiratie Hey man, we are syncing the dummy_measurement file and didn't know the purpose of DummyMeasurement.

@nulinspiratie
Copy link
Owner

@HollySte Hmm I believe we created this so that you could create a function such as:

def record_value(param, msmt=None):
    if msmt is None:
        msmt = DummyMeasurement()

    return_val = msmt.measure(param)
    return return_val

I think it has some use, but it should definitely be clarified in the docstring

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants