demisjohn / ASML_JobCreator

Generate ASCII Job files for an ASML PAS 5500 Stepper Lithography system, by the UCSB Nanofabrication Facility.
16 stars 4 forks source link

need `Cell.is_ValidCoord()` to see if coordinate is on-wafer #36

Open demisjohn opened 2 years ago

demisjohn commented 2 years ago

Move code for checking whether an XY-coordinate is on-wafer out of function get_ValidCells(), Into it's own function.

https://github.com/demisjohn/ASML_JobCreator/blob/d6705ccd2faf74c3dd05e31879e90c14d7f9c39e/ASML_JobCreator/Cell.py#L270

New func should be able to take in a list of any number of coords, check against wafer diam, edge clearance zones etc., and return equivalent array of booleans.

Eg., for allowed Wafer Radius = ±50mm,

>> MyJob.Cell.is_ValidCoord( [0,0], [-100,0], [0,100], [1,1] )
[True, False, False, True]