<div dir="ltr"><div>DearĀ  Elham,</div><div><br></div><div>You can use the cubecruncher utility that comes with cp2k: <a href="https://www.cp2k.org/tools:cubecruncher">https://www.cp2k.org/tools:cubecruncher</a></div><div>To extract a 1D profile along the z-axis you do: cubecruncher.x -i cubefile.cube -o /dev/null -1d_profile 3 1</div><div><br></div><div>Best,</div><div>Fabian<br></div></div>