Comments (9)
please help me
from pybinding.
why is it error?????????????????/
elif sub_id == "D":
energy[x > 0] += sub_id.eye * x # the notation can be mixed with numpy indexing
from pybinding.
do error for version python?
from pybinding.
boolean index did not match indexed array along dimension 1; dimension is 3 but corresponding boolean dimension is 1.
error why??????????????????????????????
from pybinding.
Hi, dears:
Can you first normalize your codes like my following example? It is hard for user to debug your codes directly without correct format. See this document too. https://help.github.com/articles/creating-and-highlighting-code-blocks/
import pybinding as pb
from pybinding.repository import graphene
def asymmetric_strain(c):
@pb.site_position_modifier
def displacement(x, y, z):
ux = -c/2 * x**2 + c/3 * x + 0.1
uy = -c*2 * x**2 + c/4 * x
return x + ux, y + uy, z
return displacement
model = pb.Model(
graphene.bilayer(),
pb.regular_polygon(num_sides=3, radius=1.1),
asymmetric_strain(c=0.42)
)
model.plot()
from pybinding.
what is Linguist?
how install it?
how use it?
from pybinding.
answer me please
from pybinding.
I first normalizer my codes in my program. it is true.
from pybinding.
when i want to sent you it was wrong. but in my program it is true
from pybinding.
Related Issues (20)
- Edit the hamilton matrix HOT 3
- Installation error HOT 3
- load file HOT 1
- open file HOT 1
- brillouin_zone -> scipy Voronoi segfaults on macos 10.10.5 HOT 3
- minimum size of graphene twist bilayers to avoid bulk construction in below 1 degree HOT 1
- Finite Boundary condition HOT 3
- Problem with attaching leads to bilayer graphene HOT 3
- Fermi surface plotting HOT 2
- Divacancy in random HOT 2
- Random Disorder in multiorbital model HOT 1
- update PyBind11-version
- Bug in KPM method HOT 1
- (removed)
- The calc_conductivity in KPM takes in temperature as a number in the input variables
- Obtaining Atomic Basis Sets for Materials in Source Code HOT 2
- Small question about heatmap-plot of the eigenvalue. HOT 2
- can not install on windows HOT 5
- Addition of Hermitian conjugate HOT 1
- how to use Polygon.contains ? HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pybinding.