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

The problem about module "qmix.exp" #4

Open
Chesire-W opened this issue May 15, 2023 · 5 comments
Open

The problem about module "qmix.exp" #4

Chesire-W opened this issue May 15, 2023 · 5 comments

Comments

@Chesire-W
Copy link

Dear @garrettj403,

I am exploring this package recently, I have successfully installed it on my computer, but now I meet a problem while I am running the example program.

In examples 2 & 3, there is a function "qmix.exp.RawData0( )" used to input the csv file from example-data folder.

However, while I execute this command, an error jump out and said that there is no attribute 'RawData0' in 'qmix.exp'

image

Is it means there are some missing parts in the module? Or maybe I just got the setting wrong.

Btw, I downloaded this package three days ago, so it should be the latest version. And my Python version is 3.10, using Spyder and Jupyter to compile.

C.W.

@garrettj403
Copy link
Owner

Hi C.W.,

Sorry -- I renamed that class and forgot to update the documentation. RawData0 is now DCData and RawData is now PumpedData.

Leave this issue open, and I'll fix up the documentation when I get the chance. Let me know if you run into any other issues.

@garrettj403
Copy link
Owner

I just took a look. All of the Jupyter notebooks in notebooks/ are up to date, but the website isn't up to date yet.

Please use the Jupyter notebooks for now.

@Chesire-W
Copy link
Author

Dear @garrettj403,

Thanks for your help!

I have changed the function's name from RawDara0 to DCData, but it still exists some problems.
image

It seems this function can't transform the .csv data to NumPy array.

I want to know what format the input DC I-V data should be in and how to solve this problem.

Btw, I have tried to transfer the dciv.csv to dciv.npy and put the dciv.npy into this function, but it still shows the same error message.

C.W.

@Chesire-W
Copy link
Author

Oh, I see the example file in notebooks/.
image

The problem above is solved.

@Chesire-W
Copy link
Author

Dear @garrettj403

I met another problem when I wanted to load the I-V curve measured in our lab into this program with the function qmix.exp.DCData. (The "I-V_test.csv" is our measured data)

As the figure below shows the x vector(V column?) would become zero in the calculation in qmix.exp.DCData and cause error
image

I have checked the array type of our data is as same as the example file except for the data point and the measure sequence of V.
image

The following two figures are the relation between the V value and its index in the array of your example data and the data in our lab.

image

Is the arrangement of V critical in the function's calculation?

And I want to know what requirement of the I-V data is necessary for this function.

I will appreciate your help with this situation.

C.W.

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

No branches or pull requests

2 participants