jdhuang-csm / scatter-opt

Scattering parameter extraction and optimization
BSD 3-Clause "New" or "Revised" License
4 stars 2 forks source link

An full example would be nice #2

Closed katto01 closed 7 months ago

katto01 commented 7 months ago

Hello,

Can we have an working example?

Q1: what is the format of the data file required? Is this "Freq [GHz],re;(S11),Im(S11), re(S21), Im(S21)"?

Q2: I tried to follow the instructions in the README and got error messages. One error message is: "unable to resolve the name scatterer_opt.loadvconvert_raw"

Q3: the user manaul has 'Headerline',8. does this mean that the data file has 8 lines of header?

Thank you

katto01 commented 7 months ago

I mean, can you share the data file for the example in the docx document?

jdhuang-csm commented 7 months ago

Hi,

Sorry about the missing data file. I added the file for the example.

Q1: The data file should contain the following columns: 'freq', 's11_db', 's11_phase',' s21_db', 's21_phase', 's12_db', 's12_phase', 's22_db', 's22_phase' (you can see these in load_raw.m for reference).

Q2: I'm not sure about that error - please let me know if you continue to see it with the example data file. Also please ensure that the package is installed correctly.

Q3: Yes, the number should indicate the number of header lines in the file. I updated the documentation accordingly.

katto01 commented 7 months ago

Exllent! Thank you for your hrlp and prompt reponse!