# Crosstalk and "Fano lineshapes" in microwave resonator measurements

**URL:** https://forum.kavli.tudelft.nl/t/crosstalk-and-fano-lineshapes-in-microwave-resonator-measurements/102
**Category:** Electronics / Electrical equipment and measurement
**Created:** [13 June 2020 15:29 UTC](https://forum.kavli.tudelft.nl/t/crosstalk-and-fano-lineshapes-in-microwave-resonator-measurements/102 "2020-06-13T15:29:19Z")
**Posts on this page:** 17
**Page:** 1

<div class="post-metadata">

### Author: ![gsteele13](https://forum.kavli.tudelft.nl/letter_avatar_proxy/v4/letter/g/3d9bf3/32.png) [@gsteele13](https://forum.kavli.tudelft.nl/u/gsteele13)
#### Post date: [13 June 2020 15:29 UTC](https://forum.kavli.tudelft.nl/t/crosstalk-and-fano-lineshapes-in-microwave-resonator-measurements/102/1 "2020-06-13T15:29:19Z")

</div>

Hi all,

For those that are interested, I’ve created a public repository with a “technical note / report” describing a source of asymmetric lineshapes in microwave resonator measurements:

> **[SteeleLab / Technical Note Fano · GitLab](https://gitlab.tudelft.nl/steelelab/technical-note-fano)**
>
> Delft University of Technology GitLab server

It includes both a sort of “report” document as a jupyter notebook:

 ![Screenshot 2020-06-13 at 17.24.20](https://forum.kavli.tudelft.nl/uploads/default/original/1X/8004266d2861e8e810d89dce517bcaf67d05851a.png)

Some important conclusions for those performing microwave measurements;

 ![Screenshot 2020-06-13 at 17.24.42](https://forum.kavli.tudelft.nl/uploads/default/original/1X/f43556b5335ecd341fc5eb473330244aa7df5306.png)

And there is an “interactive” notebook that allows you to play with the crosstalk parameters and observe how this changes the observed S-parameters in your measurement:

 ![Screenshot 2020-06-13 at 17.25.14](https://forum.kavli.tudelft.nl/uploads/default/original/1X/1c9dd1c487c82fdcb1cf1a6f1a4b25461492d19a.png)

Feedback welcome, I am currently looking for a way to “publish” this in some way, possibly just uploading it to Zenodo and creating a DOI that you can cite if you find it useful.

Long story below, but you can run it yourself “on the web” using this binder link:

[https://mybinder.org/v2/git/https%3A%2F%2Fgitlab.tudelft.nl%2Fsteelelab%2Ftechnical-note-fano/master](https://mybinder.org/v2/git/https%3A%2F%2Fgitlab.tudelft.nl%2Fsteelelab%2Ftechnical-note-fano/master)

Cheers,  
Gary

---

<div class="post-metadata">

### Author: ![gsteele13](https://forum.kavli.tudelft.nl/letter_avatar_proxy/v4/letter/g/3d9bf3/32.png) [@gsteele13](https://forum.kavli.tudelft.nl/u/gsteele13)
#### Post date: [13 June 2020 15:30 UTC](https://forum.kavli.tudelft.nl/t/crosstalk-and-fano-lineshapes-in-microwave-resonator-measurements/102/2 "2020-06-13T15:30:17Z")

</div>

BTW, comments and suggestions welcome, either through this forum, or also through the issue tracker in the repository!

---

<div class="post-metadata">

### Author: ![gsteele13](https://forum.kavli.tudelft.nl/letter_avatar_proxy/v4/letter/g/3d9bf3/32.png) [@gsteele13](https://forum.kavli.tudelft.nl/u/gsteele13)
#### Post date: [13 June 2020 15:33 UTC](https://forum.kavli.tudelft.nl/t/crosstalk-and-fano-lineshapes-in-microwave-resonator-measurements/102/3 "2020-06-13T15:33:24Z")

</div>

BTW, same concepts probably also apply for optical cavity measurements

(or any other resonance measurement likely)

---

<div class="post-metadata">

### Author: ![gsteele13](https://forum.kavli.tudelft.nl/letter_avatar_proxy/v4/letter/g/3d9bf3/32.png) [@gsteele13](https://forum.kavli.tudelft.nl/u/gsteele13)
#### Post date: [13 June 2020 15:37 UTC](https://forum.kavli.tudelft.nl/t/crosstalk-and-fano-lineshapes-in-microwave-resonator-measurements/102/4 "2020-06-13T15:37:16Z")

</div>

@anton-akhmerov (or other nerds) Is there an easy way to publish the interactive notebook on a website so that people can directly play with it without installing anything?

---

<div class="post-metadata">

### Author: ![anton-akhmerov](https://forum.kavli.tudelft.nl/user_avatar/forum.kavli.tudelft.nl/anton-akhmerov/32/4_2.png) [@anton-akhmerov](https://forum.kavli.tudelft.nl/u/anton-akhmerov)
#### Post date: [13 June 2020 15:43 UTC](https://forum.kavli.tudelft.nl/t/crosstalk-and-fano-lineshapes-in-microwave-resonator-measurements/102/5 "2020-06-13T15:43:46Z")

</div>

Yes, by using [https://mybinder.org/](https://mybinder.org/)

1. Create an `environment.yml` file that lists all conda/pip packages that you need.
2. Go to [https://mybinder.org](https://mybinder.org), feed your git repository URL to binder.
3. Share a link to it.

Here’s how I did it for example: [binder link](https://mybinder.org/v2/git/https%3A%2F%2Fgitlab.kwant-project.org%2Fqt%2Flocalization_landscape.git/master?urlpath=lab/tree/index.ipynb), [context](https://www.condmatjclub.org/?p=3631).

---

<div class="post-metadata">

### Author: ![gsteele13](https://forum.kavli.tudelft.nl/letter_avatar_proxy/v4/letter/g/3d9bf3/32.png) [@gsteele13](https://forum.kavli.tudelft.nl/u/gsteele13)
#### Post date: [13 June 2020 17:15 UTC](https://forum.kavli.tudelft.nl/t/crosstalk-and-fano-lineshapes-in-microwave-resonator-measurements/102/6 "2020-06-13T17:15:24Z")

</div>

Seems even easier: supposedly binder would make the environment.yml for me?

But: helaas pindakaas, no luck…

Also, there is not clear documentation on mybinder what environment.yml should look like…

[https://mybinder.readthedocs.io/en/latest/config\_files.html](https://mybinder.readthedocs.io/en/latest/config_files.html)

I guess it just assumes either it is smart enough to make it for you (apparently not…) or that it’s obvious

Most documentation seems to suggest creating it with conda…?

This is one example I found:

> <https://github.com/binder-project/example-conda-environment/blob/master/environment.yml>

Not clear: do I need to give it a name? Will the name here be the default environment that binder will use? Does the name matter? Can I use root? Not so clear for me…but I’ll give it a go and see if I can reverse engineer it.

---

<div class="post-metadata">

### Author: ![gsteele13](https://forum.kavli.tudelft.nl/letter_avatar_proxy/v4/letter/g/3d9bf3/32.png) [@gsteele13](https://forum.kavli.tudelft.nl/u/gsteele13)
#### Post date: [13 June 2020 17:17 UTC](https://forum.kavli.tudelft.nl/t/crosstalk-and-fano-lineshapes-in-microwave-resonator-measurements/102/7 "2020-06-13T17:17:15Z")

</div>

Here is my binder link BTW:

[https://mybinder.org/v2/git/https%3A%2F%2Fgitlab.tudelft.nl%2Fsteelelab%2Ftechnical-note-fano/master](https://mybinder.org/v2/git/https%3A%2F%2Fgitlab.tudelft.nl%2Fsteelelab%2Ftechnical-note-fano/master)

---

<div class="post-metadata">

### Author: ![gsteele13](https://forum.kavli.tudelft.nl/letter_avatar_proxy/v4/letter/g/3d9bf3/32.png) [@gsteele13](https://forum.kavli.tudelft.nl/u/gsteele13)
#### Post date: [13 June 2020 17:20 UTC](https://forum.kavli.tudelft.nl/t/crosstalk-and-fano-lineshapes-in-microwave-resonator-measurements/102/8 "2020-06-13T17:20:03Z")

</div>

(is still building my pretty simple environment…)

---

<div class="post-metadata">

### Author: ![gsteele13](https://forum.kavli.tudelft.nl/letter_avatar_proxy/v4/letter/g/3d9bf3/32.png) [@gsteele13](https://forum.kavli.tudelft.nl/u/gsteele13)
#### Post date: [13 June 2020 17:22 UTC](https://forum.kavli.tudelft.nl/t/crosstalk-and-fano-lineshapes-in-microwave-resonator-measurements/102/9 "2020-06-13T17:22:39Z")

</div>

(after 51 steps, seems to be pushing image in an infinite loop?

 ![Screenshot 2020-06-13 at 19.22.28](https://forum.kavli.tudelft.nl/uploads/default/original/1X/7a6013104735a9f82dc108147da9242fc472ddf6.png)

---

<div class="post-metadata">

### Author: ![gsteele13](https://forum.kavli.tudelft.nl/letter_avatar_proxy/v4/letter/g/3d9bf3/32.png) [@gsteele13](https://forum.kavli.tudelft.nl/u/gsteele13)
#### Post date: [13 June 2020 17:31 UTC](https://forum.kavli.tudelft.nl/t/crosstalk-and-fano-lineshapes-in-microwave-resonator-measurements/102/10 "2020-06-13T17:31:40Z")

</div>

ok, had it running, but then found a bug in my code

but now I’m getting this binder error:

 ![Screenshot 2020-06-13 at 19.31.05](https://forum.kavli.tudelft.nl/uploads/default/original/1X/1ee8cd8149849306994c9afaa9f157e57981b4a8.png)

---

<div class="post-metadata">

### Author: ![gsteele13](https://forum.kavli.tudelft.nl/letter_avatar_proxy/v4/letter/g/3d9bf3/32.png) [@gsteele13](https://forum.kavli.tudelft.nl/u/gsteele13)
#### Post date: [13 June 2020 17:36 UTC](https://forum.kavli.tudelft.nl/t/crosstalk-and-fano-lineshapes-in-microwave-resonator-measurements/102/11 "2020-06-13T17:36:13Z")

</div>

Regenerated it by starting again using [https://mybinder.org/](https://mybinder.org/)

Seems to have worked, but my link above no longer works?

But this one does?

[https://mybinder.org/v2/git/https%3A%2F%2Fgitlab.tudelft.nl%2Fsteelelab%2Ftechnical-note-fano/master](https://mybinder.org/v2/git/https%3A%2F%2Fgitlab.tudelft.nl%2Fsteelelab%2Ftechnical-note-fano/master)

---

<div class="post-metadata">

### Author: ![gsteele13](https://forum.kavli.tudelft.nl/letter_avatar_proxy/v4/letter/g/3d9bf3/32.png) [@gsteele13](https://forum.kavli.tudelft.nl/u/gsteele13)
#### Post date: [13 June 2020 17:41 UTC](https://forum.kavli.tudelft.nl/t/crosstalk-and-fano-lineshapes-in-microwave-resonator-measurements/102/12 "2020-06-13T17:41:26Z")

</div>

OK, tried adjusting link above and suspect it might have to be something to do with the “discourse link preview”

---

<div class="post-metadata">

### Author: ![cprosko](https://forum.kavli.tudelft.nl/letter_avatar_proxy/v4/letter/c/8491ac/32.png) [@cprosko](https://forum.kavli.tudelft.nl/u/cprosko)
#### Post date: [15 June 2020 16:48 UTC](https://forum.kavli.tudelft.nl/t/crosstalk-and-fano-lineshapes-in-microwave-resonator-measurements/102/13 "2020-06-15T16:48:18Z")

</div>

This is great! The papers you mention at the beginning of the notebook are papers I’ve been studying in detail over the past few months – I will have to spend some time thinking about the alternate explanation you present relating to cross-talk.

One addition I think is worth noting, by the way: The following paper by [Guan et al](https://iopscience.iop.org/article/10.1088/1361-6668/ab89eb) came out this year, and provides yet another alternative derivation of asymmetric S21 lineshapes for hanger-style resonators (in their case resulting solely from reflection points at impedance mismatches surrounding the resonator). As Deng does in their paper, the authors here claim that Khalil’s definition of Q\_i is not the true Q\_i of the resonator (as it includes parameters relating to inductances and mismatches outside of the resonator itself), and proposes a geometric conversion factor between the Q fit by the Khalil S21 formula and the correct internal Q\_i.

Thanks very much for this resource! :^) Cheers

---

<div class="post-metadata">

### Author: ![gsteele13](https://forum.kavli.tudelft.nl/letter_avatar_proxy/v4/letter/g/3d9bf3/32.png) [@gsteele13](https://forum.kavli.tudelft.nl/u/gsteele13)
#### Post date: [15 June 2020 20:28 UTC](https://forum.kavli.tudelft.nl/t/crosstalk-and-fano-lineshapes-in-microwave-resonator-measurements/102/14 "2020-06-15T20:28:16Z")

</div>

Thanks, cool, I’ll take a look!

BTW, naughty people not publishing open access! Mega annoying from home. Just put your damn article on the arxiv people!

---

<div class="post-metadata">

### Author: ![gsteele13](https://forum.kavli.tudelft.nl/letter_avatar_proxy/v4/letter/g/3d9bf3/32.png) [@gsteele13](https://forum.kavli.tudelft.nl/u/gsteele13)
#### Post date: [15 June 2020 20:30 UTC](https://forum.kavli.tudelft.nl/t/crosstalk-and-fano-lineshapes-in-microwave-resonator-measurements/102/15 "2020-06-15T20:30:03Z")

</div>

Also, BTW: I am pretty convinced that my conclusions from above still hold. If you cannot rule out crosstalk, then it is technically impossible to extract Q\_i without systematic error. There is no “geometric correction” that can fix it.

---

<div class="post-metadata">

### Author: ![gsteele13](https://forum.kavli.tudelft.nl/letter_avatar_proxy/v4/letter/g/3d9bf3/32.png) [@gsteele13](https://forum.kavli.tudelft.nl/u/gsteele13)
#### Post date: [15 June 2020 20:33 UTC](https://forum.kavli.tudelft.nl/t/crosstalk-and-fano-lineshapes-in-microwave-resonator-measurements/102/16 "2020-06-15T20:33:00Z")

</div>

ie. I believe that this statement is incorrect:

 ![Screenshot 2020-06-15 at 22.32.14](https://forum.kavli.tudelft.nl/uploads/default/original/1X/e90e17ec314323df87024566ef24c9441c4e8072.png)

---

<div class="post-metadata">

### Author: ![pharveycollard](https://forum.kavli.tudelft.nl/letter_avatar_proxy/v4/letter/p/58f4c7/32.png) [@pharveycollard](https://forum.kavli.tudelft.nl/u/pharveycollard)
#### Post date: [25 June 2020 10:27 UTC](https://forum.kavli.tudelft.nl/t/crosstalk-and-fano-lineshapes-in-microwave-resonator-measurements/102/17 "2020-06-25T10:27:00Z")

</div>

Very nice note Gary, thanks!
