Comments (5)
@pfebrer should we warn about complex data-type, and then only pass the float, or simply accept the warning that arises?
from sisl.
Hmm interesting, do complex value iso surfaces even make sense? Can you say that some complex value is larger/smaller than another? You would have to compute some real number out of them (e.g. the modulus) and then compute an isosurface for that, right?
If that's the case, I think a warning from our side wouldn't solve much. We could either keep the scikit-image warning or raise an error (which maybe is the best option).
from sisl.
Yeah, probably the modulus would be the best thing, shouldn't we then silently do that for a complex grid?
In that case I would do something like this:
- convert the grid to the modulus
- define a projection angle (lets default to 0, real axis choice), then choose the sign of the modulus depending on the projection?
Or would you do something else?
from sisl.
I'm not sure if we should do anything silently 😅 In any case, I would do it only if the isosurface level requested by the user is also a complex value, so that we are more certain that this is what the user wants to do.
Otherwise I would raise an error.
from sisl.
I'm not sure if we should do anything silently 😅 In any case, I would do it only if the isosurface level requested by the user is also a complex value, so that we are more certain that this is what the user wants to do.
Otherwise I would raise an error.
Asking for a complex isosurface would be horrendous :)
It will be individual points, I think perhaps the modulus would be the most appropriate.
from sisl.
Related Issues (20)
- how can i use param_circle for graphene HOT 4
- use tocartesian HOT 11
- Change neighborfinder returns to a tuple of indices and supercell indices HOT 21
- Sisl files not available in readthedocs documentation HOT 18
- Ufuncs could support external classes HOT 4
- `Geometry ` coordinates as f-contiguous array HOT 4
- Streamlining spin/index arguments on `read_grid` methods
- Writing Hamiltonian with sisl from Wannier HOT 3
- `translate2uc` should use boundary conditions (?) HOT 7
- Transport routines within the kubo approach HOT 16
- Disentangle overlap matrix and *other matrices*
- Merging Atom/Orbital etc. HOT 1
- eigenvalues from hamiltonian in presence of magnetic field HOT 1
- Listify breaks documentation HOT 8
- Custom colormaps for 3D plots HOT 3
- numpy 2.0 released -- need to bump stuff HOT 1
- sisl release policy HOT 3
- Docs formatting issue: Missing argument for `\mathbf` HOT 2
- sisl.viz.FatBandsPlot error in fatbands_mode = 'line/scatter' HOT 5
- #496 seems broken on 3.12 HOT 2
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 sisl.