Skip to content
Uwe Flechsig edited this page Feb 26, 2021 · 62 revisions

Welcome to the PHASE wiki!

PHASE is a physical optics software package.

NEW Features

  • Aug 13, 2015 GNU gfortran compiler can also be used
  • Sep 23, 2014 add Gaussian source, as source 1, input waist, nyz, wyz, dist, power normalized to 1 W
  • May 7, 2020 VLS grating- suggest vls parameters
  • Oct 29, 2020 phasepython - reflec function

Installation

Programs/ Tools

  • fkoe - numerical solution of Fresnel- Kirchhoff integral
  • fkoempi - numerical solution of Fresnel- Kirchhoff integral using mpi
  • idlphase - idl interface and tool box (obsolete - replaced by phasepython)
  • phaseextract - calculate individual abberrations
  • phasempi - mpi version of phase
  • phaseopti - optimize beamlines
  • phasepython - python interface and tool box
  • phaseqt - full featured program for physical optics, geometrical optics and Fourier optics with qt gui
  • phasesrv - server version of phase
  • PhaseStation - live version, iso file- phase from CD, USB or virtual

file types

utilities

Examples

Documentation

Help

git - getting started, alternatively read the git book

configure git

  • git config --global user.name "Uwe Flechsig"
  • git config --global user.email "uwe.flechsig@psi.ch"
  • git config --global core.editor emacs
  • git config --global alias.br branch
  • git config --global alias.co checkout
  • git config --global alias.ci commit
  • git config --global alias.st status
  • git config --global alias.hist log --pretty=format:"%h %ad | %s%d [%an]" --graph --date=short
  • git config --list

fetch the repository (clone a repository - like cvs checkout)- git will create in the current directory a subdirectory phase

  • git clone https://flechsig@github.com/flechsig/phase.git with account to be able to push
  • git clone https://github.com/flechsig/phase.git anonymous (no push)
  • git add file.c
  • git commit -m 'new file'
  • git status
  • git diff
  • git rm filename
  • git mv file_from file_to
  • git log
  • git remote -v shows the original repository
  • git remote set-url origin https://flechsig@github.com/flechsig/phase.git sets the personal url if I first checked out with anonymous or want to switch to ssh
  • git fetch
  • git push
  • gitk helloworld.c shows the history of a file

Clone this wiki locally