mag4.cli.extract

CLI: extract J values from a completed four-state DFT campaign.

Usage example:

cd MyCompound/                                # (contains configN/ + four_state_report.dat)
mag4-extract --code vasp --spin 3.5
# → prints a table; also writes MyCompound/j_values.dat

Functions

build_parser()

main([argv])

print_j_table(results[, spin])

Pretty-print the J table to stdout.

mag4.cli.extract.build_parser()[source]
Return type:

ArgumentParser

mag4.cli.extract.print_j_table(results, spin=None)[source]

Pretty-print the J table to stdout.

Return type:

None

Parameters:
mag4.cli.extract.main(argv=None)[source]
Return type:

int