An AutoCAD library for KID design
Project description
Kinetic Inductance Detector drawer - KID drawer
Stable versions and changelog
- 1.0.1 - October 4th, 2022 first release
With this package it is possible to generate .dxf design files of Kinetic Inductance Detectors (KIDs) starting from geometrical parameters defined below:
index
: int, the id of the pixelvertical_size
: float, edge size of the absorberline_width
: float, width of the conductive pathcoupling_capacitor_length
: float, length of the coupling capacitorcoupling_capacitor_width
: float, width of the coupling capacitorcoupling_connector_width
: float, width of the conductive segment that goes from the pixel to the coupling capacitorcoupling_capacitor_y_offset
: float, vertical separation between the pixel and the coupling capacitorcapacitor_finger_number
: float, number of fingers of the interdigital capacitor with decimal digits meaning an extra finger of variable lengthcapacitor_finger_gap
: float, gap between interdigitated fingerscapacitor_finger_width
: float, width of the interdigitated fingershilbert_order
: int, hilbert order of the absorber (it is reccommended to not exceed the 7th order for computational reasons)absorber_separation
: float, horizontal separation of the absorber from the capacitor
These parameters are shown in the following image (with capacitor_finger_number = 3.6
and hilbert_order = 3
).
The final dxf drawing has many layers:
- PIXEL: the actual layer where the KID is shown
- PIXEL_AREA: a layer where a rectangle encloses the whole pixel
- ABSORBER_AREA: a layer where a square encloses the absorber section of the KID
- CENTER: a layer where the two diagonals of the ABSORBER_AREA square are shown
- INDEX: a layer where the
index
value of the pixel is shown
The output drawing has the absorber centered to the origin
All the distances are expressed in units of microns. The following image shows an example of a real KID generated with this package.
Installing
Just download the .zip file and copy/paste the KID_drawer
directory into the library folder of your python version. Soon the pip install
version will be available.
Example
The test.py
script is an example script. Try to run it. You can find the expected output in the examples
directory.
# test script
# import the package
import KID_drawer as KID
# define a Pixel object
pixel = KID.Pixel(index = 1,
vertical_size = 3000.0,
line_width = 4.0,
coupling_capacitor_length = 2500.0,
coupling_capacitor_width = 80.0,
coupling_connector_width = 20.0,
coupling_capacitor_y_offset = 120.0,
capacitor_finger_number = 50.65,
capacitor_finger_gap = 4.0,
capacitor_finger_width = 4.0,
hilbert_order = 4,
absorber_separation = 200.0)
# print the pixel parameters
pixel.print_info()
# save the .dxf file
pixel.save_dxf(filename = 'examples/test/pixel.dxf')
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file G31_KID_design-1.0.1.tar.gz
.
File metadata
- Download URL: G31_KID_design-1.0.1.tar.gz
- Upload date:
- Size: 8.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 84480e862d9e5d66d05ff2c12ed749dcb4269b8f01f5e80cccc2f96fbb832c0b |
|
MD5 | 5abbefbb24fb2b2546178167eb9f1828 |
|
BLAKE2b-256 | e7af614a01863518082835c048b60d71fdbc56081e44cade3497b1b2dd148ce6 |
File details
Details for the file G31_KID_design-1.0.1-py3-none-any.whl
.
File metadata
- Download URL: G31_KID_design-1.0.1-py3-none-any.whl
- Upload date:
- Size: 12.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 82398cfc6cc2bfb5450cccedefa0c928e9f28932492cfce3025c4cd826ccbf90 |
|
MD5 | d085f31aac805353641f3f413e4612e0 |
|
BLAKE2b-256 | 71efdb824885370bc3803cdf2a56b4ec89e08981131c019b3747b7e7bfc24e12 |