Published August 27, 2026 | Version 2026-08-27

IDL Routines for Gauss's Separation Method in Cartesian Coordinates, v. 2026-08-27

  • 1. ROR icon University of Wisconsin–Green Bay
  • 2. ROR icon University of California, Berkeley

Contributors

Contact person:

  • 1. ROR icon University of Wisconsin–Green Bay
  • 2. ROR icon University of California, Berkeley

Description

IDL routines in this directory can be used to apply Gauss's Separation method to decompose a 2D, Cartesian array of the 3-component vector magnetic field measured on a plane, such as that in a solar photospheric vector magnetogram in the tangent-plane approximation, into:

(1) poloidal/toroidal components (a poloidal/toroidal decomposition, or PTD), to derive the horizontal field's toroidal component (sometimes called the field's rotational component), which is due to currents through the surface:  (Btorx, Btory)

(2) a Gaussian separation of the field's poloidal (or irrotational) part into components due to currents
(i) above the surface, Bgt ("greater than") and
(ii) below the surface, Blt ("less than") 

This approach for Gauss's separation method in Cartesian geometry was used by Welsch et al. (2026) in their paper, "The Photospheric Imprints of Coronal Currents: I. Magnetic Structure Near Polarity Inversion Lines," which has been submitted to The Astrophysical Journal (ApJ) and is being revised.

Some [optional] routines for testing the decomposition and for visualizing its output vector fields are also provided, in the file extra_visualization_routines_*.tar.

While documentation here is presently minimal, all codes are commented, and the README.txt file in this release contains more detailed info about this software. 

History:
 - Brian T. Welsch: created this terse description 2026 Jun 29

 - BTW: this version fixes a bug in gauss_decomp_from_bvec.pro that affected zero-padding added to non-square arrays; posted 2026 Aug 27

 

Feedback: If you find bugs, inaccurate or unclear comments,
      or just want to say hello, email welschb @ uwgb.edu
      [note spaces around @ to inhibit scraping this email]

Files

README.txt

Files (9.3 MB)

Name Size Download all
md5:4582279aeb9f8fd64d9e980982dc5139
4.6 MB Download
md5:6fb1aad16805c4740f41da9f22e2c321
64.0 kB Download
md5:1f95854d54e7398a2ef1b088d9d5f3f6
8.0 kB Download
md5:cb71dd62bf9d950ec5a09acbac0ed752
3.2 kB Download
md5:54695f507ddb842a62dcee4c9546946c
1.2 MB Download
md5:4c2df8f37b958f97669e973da90dbf26
3.4 kB Download
md5:015df0541d279fb2afc658b1907b634f
3.4 kB Download
md5:f04cfe93a1faeb0c842773c2e7d447c1
1.3 kB Download
md5:d4bce063956fd3f05a85671b6338792c
2.5 kB Download
md5:c5b227eb68b5eaabdc9196c746d1e6b3
5.2 kB Preview Download
md5:1d48dc7605d4baa296b501ca5adc0515
3.3 MB Download
md5:9fcb96a4d480983139751c053cc34b16
4.1 kB Download
md5:3f8f20a374fb2f9b729d40fd8aaf4b04
817 Bytes Download
md5:beef4cbe246a21233f9cad0caf7dcd57
2.7 kB Download
md5:609af87dab1021371f43dd011c444f71
2.7 kB Download

Additional details

Related works

Is cited by
Preprint: 10.48550/arXiv.2211.01911 (DOI)

Funding

U.S. National Science Foundation
Collaborative Research: SHINE--Using Photospheric Imprints of Coronal Currents to Understand Coronal Magnetic Structure 2302697

Dates

Available
2026-08-27

Software

Programming language
IDL
Development Status
Active