diff options
author | Eugeniy Mikhailov <evgmik@gmail.com> | 2011-11-15 22:26:55 -0500 |
---|---|---|
committer | Eugeniy E. Mikhailov <evgmik@gmail.com> | 2020-09-21 16:29:52 -0400 |
commit | 2647d1be8b48f2200a6e958bc00fceda35ebfc86 (patch) | |
tree | 9fb0644a012857dfc140d2dde4ddd8045a647936 /faraday/data_file_name.m | |
parent | 4dc192f0e51c5b95c5f8f276e9b147a36bf82c54 (diff) | |
download | multi_mode_eit-2647d1be8b48f2200a6e958bc00fceda35ebfc86.tar.gz multi_mode_eit-2647d1be8b48f2200a6e958bc00fceda35ebfc86.zip |
copy psr to faraday
Diffstat (limited to 'faraday/data_file_name.m')
-rw-r--r-- | faraday/data_file_name.m | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/faraday/data_file_name.m b/faraday/data_file_name.m new file mode 100644 index 0000000..5d6e106 --- /dev/null +++ b/faraday/data_file_name.m @@ -0,0 +1,5 @@ +function fname=data_file_name(prefix, title, suffix, B_field, theta,phi,psi_el) + str_title=sprintf("%s B field=%.5f Gauss, ellipticity=%.2f rad, theta=%.2f, phi=%.2f", title, B_field, psi_el, theta, phi); + fname=strcat(prefix, str_title, '.', suffix); +endfunction + |