summaryrefslogtreecommitdiff
path: root/faraday/data_file_name.m
blob: 5d6e1068e416a9dd1955b3231b652b1d035210cf (plain)
1
2
3
4
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