Scripting Geometry: Find nth Brillouin Zone & More

  • Thread starter Thread starter cellophane
  • Start date Start date
  • Tags Tags
    Geometry
Click For Summary
SUMMARY

The discussion focuses on scripting to find the nth Brillouin zone of a reciprocal net and its transposition into the 1st Brillouin zone. The user expresses frustration with Kig's limited Python scripting capabilities, which only allow the return of a single object at a time. They seek recommendations for better geometry programs with scripting capabilities or tutorials related to Kig or KSEG. The user has already written a script in Python and is looking for ways to enhance its performance.

PREREQUISITES
  • Understanding of Brillouin zones in solid-state physics
  • Familiarity with Python programming
  • Knowledge of geometry software like Kig or KSEG
  • Basic concepts of reciprocal lattice structures
NEXT STEPS
  • Research advanced scripting techniques in Kig and KSEG
  • Explore the capabilities of VPython for geometry scripting
  • Learn about optimizing Python scripts for performance
  • Investigate other geometry programs with robust scripting support
USEFUL FOR

This discussion is beneficial for physicists, computational scientists, and software developers interested in geometric modeling and scripting in Python for solid-state physics applications.

cellophane
Messages
4
Reaction score
0
I want to write a script to find the nth Brillouin zone of a reciprocal net and show how it can be transposed into the 1st Brillouin zone. Kig has python scripting built into it, but it seems to be extremely limited in its use, since a script can only return a single object at a time. I'm starting to think that I should just forego having a geometry program built overtop the script, but if any of you know whether there is a good geometry program with scripting, or know of a tutorial on scripting in kig or kseg or something, I would be really appreciative.

Thanks in advance
 
Computer science news on Phys.org
Hey, thanks. I already wrote the script in python so this might be good to make it shinier and faster or something.
 

Similar threads

  • · Replies 4 ·
Replies
4
Views
3K
Replies
3
Views
10K
  • · Replies 14 ·
Replies
14
Views
3K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 8 ·
Replies
8
Views
965
  • · Replies 13 ·
Replies
13
Views
3K
Replies
29
Views
5K
Replies
4
Views
4K
  • · Replies 5 ·
Replies
5
Views
3K