dIdV3
dIdV3
Calculating differential conductence (dI/dV) spectra in 3rd order.
This module provides routines to compute differential conductance spectra using third-order perturbation theory.
Functions:
| Name | Description |
|---|---|
calc_IETS_3rd |
Calculate conductance in 3rd order. |
calc_IETS_3rdR |
Calculate third-order spectra from corrected rates and populations. |
Dependencies
- Uses
spinfinity.SpinSys.SpinSysclass to represent the spin system and its properties. - Uses
spinfinity.SpinHamiltonianfor eigenvalue and eigenvector calculations. - Uses functions from
spinfinity.Bathfor population and rate calculations.
References
- Ternes, M., Spin excitations and correlations in scanning tunneling spectroscopy. New J. Phys. 17, 063016 (2015). https://dx.doi.org/10.1088/1367-2630/17/6/063016
calc_IETS_3rd(spinsys, V_array=None, norm=False, energy_step=None)
Calculate conductance in 3rd order.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
spinsys
|
SpinSys
|
Spin system. J contains signed dimensionless substrate couplings per spin; J_tip is the signed dimensionless tip coupling of the readout spin. T is in K; w and lt are in meV. The Hamiltonian is rebuilt. |
required |
V_array
|
array_like
|
Bias voltages in mV. Default is 200 points from -30 to 30 mV. |
None
|
norm
|
bool
|
Divide by the first conductance value if True. Default is False. |
False
|
energy_step
|
float
|
Logarithm convolution grid spacing in meV. Default is one quarter of the smaller nonzero scale among lt and kB*T. |
None
|
Returns:
| Name | Type | Description |
|---|---|---|
V_array |
ndarray
|
Bias voltages in mV. |
conductance |
ndarray
|
Differential conductance in S, or dimensionless when norm=True. |
Raises:
| Type | Description |
|---|---|
ValueError
|
If the ground-state elastic normalization or the requested first-point normalization is zero. |
Notes
Uses thermal populations and factorized broadened-step times logarithm contributions, as in Ternes (2015), Eqs. (24)-(25). J=J_tip=0 exactly recovers calc_IETS_2nd. Eigenstates and the existing second-order thermal caches are refreshed.
Source code in spinfinity\dIdV3.py
371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 | |
calc_IETS_3rdR(spinsys, V_array=None, AllowPumping=True, norm=False, energy_step=None)
Calculate third-order spectra from corrected rates and populations.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
spinsys
|
SpinSys
|
Spin system. J contains signed dimensionless substrate couplings per spin; J_tip is the signed dimensionless tip coupling of the readout spin. T is in K; w and lt are in meV. The Hamiltonian is rebuilt. |
required |
V_array
|
array_like
|
Strictly increasing bias voltages in mV, at least two points. Default is 200 points from -30 to 30 mV. |
None
|
AllowPumping
|
bool
|
Solve the corrected stationary rate equation if True (default); otherwise use thermal populations at every bias. |
True
|
norm
|
bool
|
Divide by the first conductance value if True. Default is False. |
False
|
energy_step
|
float
|
Internal energy spacing in meV; default as in calc_IETS_3rd. |
None
|
Returns:
| Name | Type | Description |
|---|---|---|
V_array |
ndarray
|
Bias voltages in mV. |
conductance |
ndarray
|
Differential conductance in S, or dimensionless when norm=True. |
populations |
ndarray
|
Eigenstate populations, shape (dimensionOfMatrix, len(V_array)). |
Raises:
| Type | Description |
|---|---|
ValueError
|
If the voltage grid is not strictly increasing with at least two points, a normalization is zero, enabled G_tt has nonpositive readout G_ss, total rates become negative, or the steady state is not unique. |
Source code in spinfinity\dIdV3.py
449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 | |