filename: Readme.txt A software package for the computation of magnetic fields in the corona and heliosphere on the basis of observed photospheric magnetic fields Xuepu Zhao Solar Observatories Group Stanford University W. W. Hansen Experimental Physics Laboratory 455 Via Palou, Stanford, CA 94305-4085 phone: 1-650-725-2333 fax : 1-650-725-2333 email: xpzhao@solar.stanford.edu Readme.txt this file credit.txt credit to be given to the routines zgrid.pro grid spacing pdpi.pro the Legendre function for a specified \theta and N pdp.pro the Legendre function for all \theta csmph.pro used in calculating coefficients and vector B gfnj.pro used in calculating coefficients and vector B gfn.pro run gfnj.pro for j=0,J-1 brtp.pro the model-independent formula for calculating three components of the magnetic field gh_wbrsc.pro calculate spherical coefficients on the basis of the global distribution of the photospheric field observed by WSO readwsosc.pro read WSO file for synoptic magnetogram maps gh_mbrsc.pro calculate spherical coefficients on the basis of the global distribution of the photospheric field observed by MDI or KPNO hchf.pro the r-dependent function valid below Rcp sb_hc.pro calculate the three components of magnetic field over the cusp surface using the horizontal current field model ghv_csss.pro calculate spherical coefficients on the basis of the global distribution of coronal field at the cusp surface cssshf.pro the r-dependent function valid beyond Rcp pb0_csss.pro calculate the no-sign vector field at a point between Rcp and Rss pb_csss.pro determine the sign of the vector field at a point between Rcp and Rss brss_csss_scbf.pro calculate the radial field at Rss using HCCSSS model on the basis of the global distribution of observed photospheric magnetic fields (see the instruction by running brss_csss_scbf without any input parameter in the IDL system. The files for synoptic magnetogram maps of WSO (72X30) and KPNO (360X180) may be directly used as input. We are developing rather universal method to obtain the file for MDI (360X180) that can be used in the way same as KPNO) WSO.1968.asci data file for testing brss_csss_scbf.pro KPK.1968.fits MDI.1968.fits