summaryrefslogtreecommitdiff
path: root/faraday/data_file_name.m
diff options
context:
space:
mode:
authorEugeniy Mikhailov <evgmik@gmail.com>2011-11-15 22:26:55 -0500
committerEugeniy E. Mikhailov <evgmik@gmail.com>2020-09-21 16:29:52 -0400
commit2647d1be8b48f2200a6e958bc00fceda35ebfc86 (patch)
tree9fb0644a012857dfc140d2dde4ddd8045a647936 /faraday/data_file_name.m
parent4dc192f0e51c5b95c5f8f276e9b147a36bf82c54 (diff)
downloadmulti_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.m5
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
+