I found the rule by inspecting the source code (guess we haven't touched that part of the source since the first release!). However, let me say up front, that the default choice is more or less arbitrary; there is no deeper thought behind it, and any other choice would have been just as good (or just as arbitrary). I'll explain more.

Still, the rule is simple: The default isovalue is

`(max-min)/6` where max and min are max/min of the data in the function to be plotted. A secondary rule is use if the tickbox "use absolute isovalue" is

*not* ticked (the default is ticked), in which case

`min+(max-min)/3` is used.

So, now that is defined, let's ensure there are no misconceptions regarding the data that is plotted (this may be obvious to you, Hasan, and perhaps to everyone, but I find it better to be as clear and specific as possible).

To compute a Bloch function you specify the

**k**-point and index

*n*, and obtain the function Psi_{nk}(r). (Hope my pseudo-LaTeX is understandable.) This is a periodic complex function, defined for each point

**r**=(

*x*,

*y*,

*z*) in the unit cell, and normalized such that when we integrate it over the entire unit cell we get 1. Therefore, its unit is Ry^(-3/2).

When we plot the Bloch function as an isosurface, we pick a particular value

*u*, and instruct the plotting engine to make a 3D surface which consists of all the points in space where |Psi_{nk}(r)|=u (I should double-check if it's |Psi|^2 or |Psi|).

The electron density, on the other hand, is, essentially, a sum of all occupied Bloch states. It has the same unit, seemingly (Ry^{3/2}), but really there is a unit of charge involved too. Integrating the electron density over the unit cell gives the total number of electrons in the unit cell. This integration is replaced by a sum over the k-points used in the calculation (e.g. 3x3x3 = 27 points), each of which also has a weight factor.

So, I think under any circumstance you have to account for the number of electrons and weight factors when you compare the Bloch function to the electron density. Also note that you can plot the Bloch function for any state {nk}, not just the 27 ones used in the calculation. Also note that just because a particular Bloch function has a particular magnitude in a particular point doesn't mean there is any electron density; it also depends on whether the state is occupied or not (and again, the state enters weighted into the sum/integral).

I have a feeling I did not quite understand your question

But I figured with the above as background, we could discuss the matter more concretely.