Skip to content

Conversation

@LucasBeyens
Copy link

No description provided.

thomas.koch and others added 30 commits June 17, 2022 14:28
…the according times when the jumps happened.
…now properly builds x-axis if step is a number which is not an int
@thilokru
Copy link
Collaborator

Some notes:

  • The qkit repository had some structural changes in order to acommodate a proper build system. Source files are now in src/qkit.
  • The Analyzer graphical tool may be out of scope. Maybe an idependent repository with a dependency on qkit may be more suitable?
  • The loaders feel out of scope. Qkit focuses on h5 files.
  • The Loaders for Samba introduce a Samba dependency. I don't think qkit should handle samba itself, and even if, the dependency must be specified in pyproject.toml.

@thilokru
Copy link
Collaborator

It looks like a lot of effort went into these changes. Good work! But I will leave some further comments.

Copy link
Collaborator

@thilokru thilokru left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall cool, but some major changes are required before this should be merged, in my opinion.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't this in principle be covered by

def set_parameter_bounds(self, name, minval, maxval):
?

if type(Pathobj) is not dict or 'authentication' not in Pathobj:
raise ValueError("Could not find authentication data in you path object. Please make sure your pathobject is a dictionary containing an 'authentication' key.")

host = "os-login.lsdf.kit.edu" #hard-coded
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hard coded hosts are not a good idea. Also, I think this should be handled on a file system level and not within qkit.

"IVgain" : 1e8,
"in_line_R": 42e3,
"sampling_rate" : 13732.91015625}
}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This does not seem to fit into qkit source, but should rather be some configuration from the notebook. Note, that in the new installation paradigm of qkit, all files in src/qkit should not be user maintainable.

I recommend moving this either to a configuration option, or make this an argument passed to some function.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this file would be better in the documentation folder as an example notebook.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This configuration method is deprecated.


import numpy as np
import json
from matplotlib.widgets import Cursor
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why do you need widgets? Just curious.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cool that the unified measurement_base gets used. 👍

@author: hannes.rotzinger@kit.edu 2018
@author: marco.pfirrmann@kit.edu 2018
@version: 0.1
*modified*
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove.

"""
ds = hdf_dataset(self.hf, name, x=x, unit=unit, ds_type = ds_types['vector'],
comment=comment, folder=folder, dim = 1, **meta)
comment=comment, folder=folder, dtype='float64', dim = 1, **meta)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is dtype=float64 always a sane choice?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should also be an example notebook, or a template notebook.

@thilokru
Copy link
Collaborator

I think all of your qkit/analysis/semiconductor scripts should be moved to src/qkit/templates/Analysis.

@Marius-Frohn
Copy link
Collaborator

Marius-Frohn commented Jan 14, 2025

We also discussed if the ADWin binary files should be included in qkit. On one hand they're absolutely necessary to run the ADWin box, on the other cryptic files should not be part of a public repo. What I did for the "ADWin as SMU" driver some while ago was putting them on the LSDF and link to them in the docstring. Since working with ADWin OOTB is not that simple for a new user anyways, downloading them is just another step in a longer list of TODOs.

What I'd propose is we keep the non-compiled FPGA drivers in the extra folder structure as is and add a README with links to either the LSDF or a separate git repo [EDIT: with the compiled binaries]. We should also see if my driver can be refactored to be included in your more extensive environment [EDIT: or if it has become redundant and can be removed].

@AG-WoWe AG-WoWe deleted the SemiconMerge branch April 29, 2025 12:07
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.

9 participants