DLD Array Generator
A package to generate DLD arrays in DXF format. All distances in micrometers, angles in degrees.
The array is parameterized by attributes of the DLD_Array class. Initializing an instance sets up an array with default values. Each of the attrbutes (outlined below) can then be set as desired. When the configurtation is complete, call generate(filename) to output the array as in a .dxf file format.
Installation
pip install dld-array-generator
Examples Usage
from dld_array_generator import DLD_Array
filename = "DLD example"
g = DLD_Array()
# Update channel desired channel parameters
g.C_D = 10e3 # channel length
g.C_L = 200 # channel width
g.C_N = 2 # bend pairs (producing 4 bends in total)
g.generate(filename)
Attributes
Channel attributes:
C_D = total channel length
C_L = channel width
C_N = number of channel bend pairs
C_separation = distance between parralell channel segments
Turn attributes:
T_N = number of walls in turns
T_W = thckness of walls in turns
DLD-array unit cell attributes:
D_D = center-to-center downstram pilar distance
D_L = center-to-center lateral pilar distance
D = pilar dimater
theta = array angle
IO port attributes:
IO_D = diameter of inlets/outlets
IO_F = filet radius for inlets/oulets
IO_L = IO stem length
O_LP = percentage width of left outlet
O_S = separation of outlets
O_BR = bend radius
O_D = downstream distance for outlet before bend
Release files for dld-array-generator 1.0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| dld_array_generator-1.0.4.tar.gz | 5.4 kB | Details |
Release files / dld_array_generator-1.0.4.tar.gz
| Download URL | dld_array_generator-1.0.4.tar.gz |
|---|---|
| Size | 5.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1cab84f20c1b307c0db4de18c90afafa3a213b3725fffdd2eac31505ed4a74e2
|
|
BLAKE2b-256 checksum How to use checksums |
79d63926fdcc35b5c6d5c3168c2405f934f448dced1429382dd1489d0c2f0a12
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.0.0.post20200309 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.1
|