Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 

README.md

FDTD_make_figani

SALMON has a FDTD functionality to solve electromagnetic problems. This program, FDTD_make_figani, is a tool to make figures and animations from the results obtained by the FDTD calculation of SALMON.

figure

Requirements

  • Python 3
  • NumPy
  • matplotlib
  • ffmpeg

If you are windows user who uses python for the first time, I recommend to install WinPython that includes all requirements for this program.

Usage

make_figani.py is an executable file. figani.inp is an input file. make_figani.py and figani.inp must be in the same directory. When you use WinPython, open make_figani.py by Spyder that is included in WinPython, and push F5 key.

The input parameters are as follows:

  • dir_name
    Name of directory that includes the results obtained by SALMON. Default is './'.

  • make_ani
    Enable('y')/disable('n') making an animation file. If 'all', all animation files depending on obs_ani, var_ani, com_ani, and pla_ani are made. But, this 'all' option requires a lot of memory.

  • obs_ani
    Observation point number that is used for making the animation.

  • var_ani
    Name of varialbe that is used for making the animation. 'e' and 'h' can be chosen.

  • com_ani
    Name of component that is used for making the animation. 'x', 'y', 'z', and 'abs' can be chosen.

  • pla_ani
    Name of plane that is used for making the animation. 'xy', 'yz', and 'xz' can be chosen.

  • frame_speed_ani
    Time for 1 frame in the animation. The unit is millisecond.

  • e_max_fig/e_min_fig
    Maximum/Minimum of the electric filed in the figure file.

  • h_max_fig/h_min_fig
    Maximum/Minimum of the magnetic filed in the figure file.

  • e_max_ani/e_min_ani
    Maximum/Minimum of the electric filed in the animation file.

  • h_max_ani/h_min_ani
    Maximum/Minimum of the magnetic filed in the figure file.

  • x_max_ani/x_min_ani
    Maximum/Minimum of the x axis in the figure file.

  • y_max_ani/y_min_ani
    Maximum/Minimum of the y axis in the figure file.

  • z_max_ani/z_min_ani
    Maximum/Minimum of the z axis in the figure file.

External Links

SALMON Project

About

Figure and animation maker for FDTD program in SALMON

Resources

Releases

No releases published

Packages

No packages published

Languages

You can’t perform that action at this time.