The modification of the ideal lattice parameter in porous silicon has been
determined by X-ray diffraction. A contraction effect has been detected in
several samples. There was shown that the position of the photoluminescence
band is related to the modification of the lattice parameter. The quantum
theory of confinement in wires was used for the interpretation of the exper
imental data.