Skip to main content

An AutoCAD library for KID design

Project description

Kinetic Inductance Detector drawer - KID drawer

(version 1.0.0 - 04/10/2022)

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 pixel
  • vertical_size: float, edge size of the absorber
  • line_width: float, width of the conductive path
  • coupling_capacitor_length: float, length of the coupling capacitor
  • coupling_capacitor_width: float, width of the coupling capacitor
  • coupling_connector_width: float, width of the conductive segment that goes from the pixel to the coupling capacitor
  • coupling_capacitor_y_offset: float, vertical separation between the pixel and the coupling capacitor
  • capacitor_finger_number: float, number of fingers of the interdigital capacitor with decimal digits meaning an extra finger of variable length
  • capacitor_finger_gap: float, gap between interdigitated fingers
  • capacitor_finger_width: float, width of the interdigitated fingers
  • hilbert_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).

schematic

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.

example

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

G31_KID_design-1.0.0.tar.gz (7.9 kB view details)

Uploaded Source

Built Distribution

G31_KID_design-1.0.0-py3-none-any.whl (11.9 kB view details)

Uploaded Python 3

File details

Details for the file G31_KID_design-1.0.0.tar.gz.

File metadata

  • Download URL: G31_KID_design-1.0.0.tar.gz
  • Upload date:
  • Size: 7.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.5

File hashes

Hashes for G31_KID_design-1.0.0.tar.gz
Algorithm Hash digest
SHA256 5001a9515c3bb60a77fd294da61a462ea0844707d4d66cb95d1df141e3e54b8c
MD5 1420f897bb8d71c82d7d8db0e413ea80
BLAKE2b-256 9e3dbed24c9c8fbe805621c8443cb2d2c098321e746af07700e4fee1aa764326

See more details on using hashes here.

File details

Details for the file G31_KID_design-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for G31_KID_design-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 08cf2b52689c08688f93637d871eb698cdd170035d20ef86e6447d88c3e71ceb
MD5 b062a777e8129379a2ce8a1438ed19c0
BLAKE2b-256 236710d2f77817b568f61bef76fe84eb44cba2a5f745c08e6d20fb63539ef7a9

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page