OCS (orb 12, P/E1) ePS bond-scan processing

16/05/23 PH

This notebook: results for orb12 (HOMO) bond-scan runs (ongoing).

For previous results (inc. AF) see: https://phockett.github.io/ePSdata/OCS-preliminary/OCS_orbs8-11_AFBLMs_VM-ADMs_140122-JAKE_tidy-replot-200722_v5.html

For methods: https://epsproc.readthedocs.io/en/dev/demos/ePSproc_class_demo_161020.html

Setup

In [1]:
!hostname
jake
In [2]:
!conda env list
# conda environments:
#
base                     /home/paul/anaconda3
automation               /home/paul/anaconda3/envs/automation
baseBK-250821            /home/paul/anaconda3/envs/baseBK-250821
baseBK-280321            /home/paul/anaconda3/envs/baseBK-280321
dataTests2022            /home/paul/anaconda3/envs/dataTests2022
ePSproc-v1.2             /home/paul/anaconda3/envs/ePSproc-v1.2
ePSproc-v1.2-dev         /home/paul/anaconda3/envs/ePSproc-v1.2-dev
epsTestConda             /home/paul/anaconda3/envs/epsTestConda
epsTestPip               /home/paul/anaconda3/envs/epsTestPip
epsTestPypi              /home/paul/anaconda3/envs/epsTestPypi
epsTestSetup             /home/paul/anaconda3/envs/epsTestSetup
epsdev                   /home/paul/anaconda3/envs/epsdev
epsdev-040821            /home/paul/anaconda3/envs/epsdev-040821
epsdev-040821-YMLnb      /home/paul/anaconda3/envs/epsdev-040821-YMLnb
epsdev-040821-YMLnb-bk     /home/paul/anaconda3/envs/epsdev-040821-YMLnb-bk
epsdev-0822              /home/paul/anaconda3/envs/epsdev-0822
epsdev-shared-100122     /home/paul/anaconda3/envs/epsdev-shared-100122
epsdev-xr13              /home/paul/anaconda3/envs/epsdev-xr13
epsdev-xr15           *  /home/paul/anaconda3/envs/epsdev-xr15
epsdev-xr17              /home/paul/anaconda3/envs/epsdev-xr17
epsdevTestYML            /home/paul/anaconda3/envs/epsdevTestYML
epsman                   /home/paul/anaconda3/envs/epsman
epsman-dev-shared-310122     /home/paul/anaconda3/envs/epsman-dev-shared-310122
fibre-sim                /home/paul/anaconda3/envs/fibre-sim
frog                     /home/paul/anaconda3/envs/frog
jbookTest                /home/paul/anaconda3/envs/jbookTest
jbookTestv2              /home/paul/anaconda3/envs/jbookTestv2
ldm                      /home/paul/anaconda3/envs/ldm
matlab                   /home/paul/anaconda3/envs/matlab
mfrecon090323            /home/paul/anaconda3/envs/mfrecon090323
qe-mini-example          /home/paul/anaconda3/envs/qe-mini-example
tmo-dev                  /home/paul/anaconda3/envs/tmo-dev

In [3]:
import sys
import os
from pathlib import Path
import numpy as np
# import epsproc as ep
import xarray as xr

import matplotlib.pyplot as plt

from datetime import datetime as dt
timeString = dt.now()

import epsproc as ep

# Plotters
from epsproc.plot import hvPlotters

# Multijob class dev code
from epsproc.classes.multiJob import ePSmultiJob

hvPlotters.setPlotters(width = 700, snsStyle='whitegrid')
* sparse not found, sparse matrix forms not available. 
* natsort not found, some sorting functions not available. 
* Setting plotter defaults with epsproc.basicPlotters.setPlotters(). Run directly to modify, or change options in local env.
* Set Holoviews with bokeh.
* pyevtk not found, VTK export not available. 
* Set Holoviews with bokeh.
In [4]:
# For class, above settings don't take, not sure why, something to do with namespaces/calling sequence?
# Overriding snsStyle does work however... although NOT CONSISTENTLY????
# AH, looks like ordering matters - set_style LAST (.set seems to override)
import seaborn as sns

sns.set(rc={'figure.figsize':(10,6)})  # Set figure size in inches
sns.set_context("paper")
sns.set_style("whitegrid")  # Set plot style
sns.set_palette("Paired")   # Set colour mapping

# Try direct fig type setting for PDF output figs
from IPython.display import set_matplotlib_formats
# set_matplotlib_formats('png', 'pdf')
set_matplotlib_formats('svg', 'pdf')
In [5]:
# xr.set_options(display_style='html')

Load data

In [6]:
import warnings
# warnings.filterwarnings('once')   # Skip repeated numpy deprecation warnings in current build (xr15 env)
warnings.filterwarnings('ignore')   # Skip repeated numpy deprecation warnings in current build (xr15 env)
In [7]:
# # Scan for subdirs, based on existing routine in getFiles()

# fileBase = Path('/home/paul/ePS/OCS/OCS_survey')  # Data dir on Stimpy
fileBase = Path('/mnt/fockSSHFS/globalhome/eps/OCS/OCS_bondscan_test')  # Fock data dir mounted on Jake
In [8]:
# TODO: fix orb label here, currently relies on (different) fixed format

data = ePSmultiJob(fileBase, verbose = 0)

data.scanFiles()
data.jobsSummary()
*** Warning: Missing records, expected 32, found 24.
*** Warning: Found 8 blank sets of matrix elements, symmetries ['A2']
*** Warning: Missing records, expected 32, found 24.
*** Warning: Found 8 blank sets of matrix elements, symmetries ['A2']
*** Warning: Missing records, expected 32, found 24.
*** Warning: Found 8 blank sets of matrix elements, symmetries ['A2']
*** Warning: Missing records, expected 32, found 24.
*** Warning: Found 8 blank sets of matrix elements, symmetries ['A2']
*** Warning: Missing records, expected 32, found 24.
*** Warning: Found 8 blank sets of matrix elements, symmetries ['A2']
*** Warning: Missing records, expected 32, found 24.
*** Warning: Found 8 blank sets of matrix elements, symmetries ['A2']
*** Warning: Missing records, expected 32, found 24.
*** Warning: Found 8 blank sets of matrix elements, symmetries ['A2']
*** Warning: Missing records, expected 32, found 24.
*** Warning: Found 8 blank sets of matrix elements, symmetries ['A2']
*** Warning: Missing records, expected 32, found 24.
*** Warning: Found 8 blank sets of matrix elements, symmetries ['A2']
*** Warning: Missing records, expected 32, found 24.
*** Warning: Found 8 blank sets of matrix elements, symmetries ['A2']
*** Warning: Missing records, expected 32, found 24.
*** Warning: Found 8 blank sets of matrix elements, symmetries ['A2']
*** Warning: Missing records, expected 32, found 24.
*** Warning: Found 8 blank sets of matrix elements, symmetries ['A2']
*** Warning: Missing records, expected 32, found 24.
*** Warning: Found 8 blank sets of matrix elements, symmetries ['A2']
*** Warning: Missing records, expected 32, found 24.
*** Warning: Found 8 blank sets of matrix elements, symmetries ['A2']
*** Warning: Missing records, expected 32, found 24.
*** Warning: Found 8 blank sets of matrix elements, symmetries ['A2']
*** Warning: Missing records, expected 32, found 24.
*** Warning: Found 8 blank sets of matrix elements, symmetries ['A2']
*** Warning: Missing records, expected 32, found 24.
*** Warning: Found 8 blank sets of matrix elements, symmetries ['A2']
*** Warning: Missing records, expected 32, found 24.
*** Warning: Found 8 blank sets of matrix elements, symmetries ['A2']
*** Warning: Missing records, expected 32, found 24.
*** Warning: Found 8 blank sets of matrix elements, symmetries ['A2']
*** Warning: Missing records, expected 32, found 24.
*** Warning: Found 8 blank sets of matrix elements, symmetries ['A2']
*** Warning: Missing records, expected 32, found 24.
*** Warning: Found 8 blank sets of matrix elements, symmetries ['A2']
*** Warning: Missing records, expected 32, found 24.
*** Warning: Found 8 blank sets of matrix elements, symmetries ['A2']
*** Warning: Missing records, expected 32, found 24.
*** Warning: Found 8 blank sets of matrix elements, symmetries ['A2']
*** Warning: Missing records, expected 32, found 24.
*** Warning: Found 8 blank sets of matrix elements, symmetries ['A2']
*** Warning: Missing records, expected 32, found 24.
*** Warning: Found 8 blank sets of matrix elements, symmetries ['A2']
*** Warning: Missing records, expected 32, found 24.
*** Warning: Found 8 blank sets of matrix elements, symmetries ['A2']
*** Warning: Missing records, expected 32, found 24.
*** Warning: Found 8 blank sets of matrix elements, symmetries ['A2']
*** Warning: Missing records, expected 32, found 24.
*** Warning: Found 8 blank sets of matrix elements, symmetries ['A2']
*** Warning: Missing records, expected 32, found 24.
*** Warning: Found 8 blank sets of matrix elements, symmetries ['A2']
*** Warning: Missing records, expected 32, found 24.
*** Warning: Found 8 blank sets of matrix elements, symmetries ['A2']
*** Warning: Missing records, expected 32, found 24.
*** Warning: Found 8 blank sets of matrix elements, symmetries ['A2']
*** Warning: Missing records, expected 32, found 24.
*** Warning: Found 8 blank sets of matrix elements, symmetries ['A2']
*** Warning: Missing records, expected 32, found 24.
*** Warning: Found 8 blank sets of matrix elements, symmetries ['A2']
*** Warning: Missing records, expected 32, found 24.
*** Warning: Found 8 blank sets of matrix elements, symmetries ['A2']
*** Warning: Missing records, expected 32, found 24.
*** Warning: Found 8 blank sets of matrix elements, symmetries ['A2']
*** Warning: Missing records, expected 32, found 24.
*** Warning: Found 8 blank sets of matrix elements, symmetries ['A2']
Found 13 directories, with 52 files.

*** Job orb12_bond-0.22 details
Key: orb12_bond-0.22
Dir /mnt/fockSSHFS/globalhome/eps/OCS/OCS_bondscan_test/orb12_bond-0.22, 4 file(s).
{   'batch': 'ePS OCS, batch OCS_bondscan_test, orbital orb12_bond-0.22',
    'event': 'orb 12 (E1/S) ionization, bondscan run.',
    'orbE': -11.417897668816563,
    'orbLabel': 'E1/S'}

*** Job orb12_bond-0.20 details
Key: orb12_bond-0.20
Dir /mnt/fockSSHFS/globalhome/eps/OCS/OCS_bondscan_test/orb12_bond-0.20, 4 file(s).
{   'batch': 'ePS OCS, batch OCS_bondscan_test, orbital orb12_bond-0.20',
    'event': 'orb 12 (E1/S) ionization, bondscan run.',
    'orbE': -11.412455391567367,
    'orbLabel': 'E1/S'}

*** Job orb12_bond-0.17 details
Key: orb12_bond-0.17
Dir /mnt/fockSSHFS/globalhome/eps/OCS/OCS_bondscan_test/orb12_bond-0.17, 4 file(s).
{   'batch': 'ePS OCS, batch OCS_bondscan_test, orbital orb12_bond-0.17',
    'event': 'orb 12 (E1/S) ionization, bondscan run.',
    'orbE': -11.40701311431817,
    'orbLabel': 'E1/S'}

*** Job orb12_bond-0.15 details
Key: orb12_bond-0.15
Dir /mnt/fockSSHFS/globalhome/eps/OCS/OCS_bondscan_test/orb12_bond-0.15, 4 file(s).
{   'batch': 'ePS OCS, batch OCS_bondscan_test, orbital orb12_bond-0.15',
    'event': 'orb 12 (E1/S) ionization, bondscan run.',
    'orbE': -11.401570837068972,
    'orbLabel': 'E1/S'}

*** Job orb12_bond-0.10 details
Key: orb12_bond-0.10
Dir /mnt/fockSSHFS/globalhome/eps/OCS/OCS_bondscan_test/orb12_bond-0.10, 4 file(s).
{   'batch': 'ePS OCS, batch OCS_bondscan_test, orbital orb12_bond-0.10',
    'event': 'orb 12 (E1/S) ionization, bondscan run.',
    'orbE': -11.390686282570577,
    'orbLabel': 'E1/S'}

*** Job orb10_bond-0.25 details
Key: orb10_bond-0.25
Dir /mnt/fockSSHFS/globalhome/eps/OCS/OCS_bondscan_test/orb10_bond-0.25, 4 file(s).
{   'batch': 'ePS OCS, batch OCS_bondscan_test, orbital orb10_bond-0.25',
    'event': 'orb 10 (A1/S) ionization, bondscan run.',
    'orbE': -16.566291946557495,
    'orbLabel': 'A1/S'}

*** Job orb12_bond-0.12 details
Key: orb12_bond-0.12
Dir /mnt/fockSSHFS/globalhome/eps/OCS/OCS_bondscan_test/orb12_bond-0.12, 4 file(s).
{   'batch': 'ePS OCS, batch OCS_bondscan_test, orbital orb12_bond-0.12',
    'event': 'orb 12 (E1/S) ionization, bondscan run.',
    'orbE': -11.396128559819774,
    'orbLabel': 'E1/S'}

*** Job orb10_bond-0.22 details
Key: orb10_bond-0.22
Dir /mnt/fockSSHFS/globalhome/eps/OCS/OCS_bondscan_test/orb10_bond-0.22, 4 file(s).
{   'batch': 'ePS OCS, batch OCS_bondscan_test, orbital orb10_bond-0.22',
    'event': 'orb 10 (A1/S) ionization, bondscan run.',
    'orbE': -16.745887095781015,
    'orbLabel': 'A1/S'}

*** Job orb10_bond-0.27 details
Key: orb10_bond-0.27
Dir /mnt/fockSSHFS/globalhome/eps/OCS/OCS_bondscan_test/orb10_bond-0.27, 4 file(s).
{   'batch': 'ePS OCS, batch OCS_bondscan_test, orbital orb10_bond-0.27',
    'event': 'orb 10 (A1/S) ionization, bondscan run.',
    'orbE': -16.367648826961783,
    'orbLabel': 'A1/S'}

*** Job orb12_bond-0.25 details
Key: orb12_bond-0.25
Dir /mnt/fockSSHFS/globalhome/eps/OCS/OCS_bondscan_test/orb12_bond-0.25, 4 file(s).
{   'batch': 'ePS OCS, batch OCS_bondscan_test, orbital orb12_bond-0.25',
    'event': 'orb 12 (E1/S) ionization, bondscan run.',
    'orbE': -11.423339946065763,
    'orbLabel': 'E1/S'}

*** Job orb12_bond-0.02 details
Key: orb12_bond-0.02
Dir /mnt/fockSSHFS/globalhome/eps/OCS/OCS_bondscan_test/orb12_bond-0.02, 4 file(s).
{   'batch': 'ePS OCS, batch OCS_bondscan_test, orbital orb12_bond-0.02',
    'event': 'orb 12 (E1/S) ionization, bondscan run.',
    'orbE': -11.368917173573786,
    'orbLabel': 'E1/S'}

*** Job orb10_bond-0.20 details
Key: orb10_bond-0.20
Dir /mnt/fockSSHFS/globalhome/eps/OCS/OCS_bondscan_test/orb10_bond-0.20, 4 file(s).
{   'batch': 'ePS OCS, batch OCS_bondscan_test, orbital orb10_bond-0.20',
    'event': 'orb 10 (A1/S) ionization, bondscan run.',
    'orbE': -16.906434274632343,
    'orbLabel': 'A1/S'}

*** Job orb12_bond--0.03 details
Key: orb12_bond--0.03
Dir /mnt/fockSSHFS/globalhome/eps/OCS/OCS_bondscan_test/orb12_bond--0.03, 4 file(s).
{   'batch': 'ePS OCS, batch OCS_bondscan_test, orbital orb12_bond--0.03',
    'event': 'orb 12 (E1/S) ionization, bondscan run.',
    'orbE': -11.352590341826193,
    'orbLabel': 'E1/S'}
In [13]:
# Resort data by key
sortedData = dict(sorted(data.data.items()))
data.data = sortedData

# Fix labels for plots
for key in data.data.keys():
    # Label with bond %age change
    data.data[key]['jobNotes']['orbLabel'] = key.split('_')[-1].strip('bond').replace('-','',1)

# Set keys for orb
plotKeys = [k for k in data.data.keys() if k.startswith('orb12')]
    

System properties (bond scan)

Table below shows calcs for 'PC', which is %age change from equilibrium case. Note this shifts both bond lengths by this %age.

In [18]:
# Collect bond scan data from individual datasets...
# STATUS: OUTPUTTING TO PD REF TABLE OK, code messy.

diffDict = {}
IPDict = {}
IParray = []

for n,key in enumerate(plotKeys):
    label = key
    PC = key.split('_')[-1].strip('bond').replace('-','',1)  # Use replace to strip only single '-' and keep -ve values
    orb = key.split('_')[0].strip('orb')
    atomTable = data.data[key]['XS'].molInfo['atomTable']  #.diff('atom')  # Diff works, but not in correct order!
    diffs = np.abs(atomTable.sel(atom=3,props='z') - atomTable.sel(props='z')[0:2])
    diffs['bonds']=('atom',['CS','CO'])

    IParray.append([orb, -data.data[key]['XS'].orbInfo['orbIP'][0], float(PC), *diffs.data])


import pandas as pd
IPtab = pd.DataFrame(IParray, columns=['orb','IP/eV','PC (% bond shift)','C-S/angs.','C-O/angs.'])
display(IPtab)

IPtab.plot(y='IP/eV',x='PC (% bond shift)')
orb IP/eV PC (% bond shift) C-S/angs. C-O/angs.
0 12 11.352590 -0.03 1.533424 1.099074
1 12 11.368917 0.02 1.604574 1.162924
2 12 11.390686 0.10 1.711300 1.258700
3 12 11.396129 0.12 1.746874 1.290624
4 12 11.401571 0.15 1.782450 1.322550
5 12 11.407013 0.17 1.818024 1.354474
6 12 11.412455 0.20 1.853600 1.386400
7 12 11.417898 0.22 1.889174 1.418324
8 12 11.423340 0.25 1.924750 1.450250
Out[18]:
<AxesSubplot:xlabel='PC (% bond shift)'>
2023-05-19T16:09:46.529388 image/svg+xml Matplotlib v3.3.4, https://matplotlib.org/

Reference plot (Gamess) - total energy (H) vs. PC

Plot cross-sections and betas

These are from ePolyScat's getCro function, and are LF (unaligned ensemble) results. This provides a good, if general, overview.

Overview (all symmetries, length gauge)

In [19]:
# NEED TO SET AGAIN AFTER CLASS IMPORT!
import warnings
# warnings.filterwarnings('once')   # Skip repeated numpy deprecation warnings in current build (xr15 env)
warnings.filterwarnings('ignore')   # Skip repeated numpy deprecation warnings in current build (xr15 env)
In [20]:
# Comparitive plot over datasets (all symmetries only)
Etype = 'Eke'  # Set for Eke or Ehv energy scale
pGauge = 'L'
# Erange=[0, 100]  # Plot range (full range if not passed to function below)
# data.plotGetCroComp(pType='SIGMA', Etype = Etype, Erange = Erange, backend = 'hv')
data.plotGetCroComp(keys = plotKeys, pType='SIGMA', pGauge = pGauge, Etype = Etype)
# data.plotGetCroComp(keys = plotKeys, pGauge = pGauge, Etype = Etype, backend='hv')
2023-05-19T16:10:38.434454 image/svg+xml Matplotlib v3.3.4, https://matplotlib.org/
In [21]:
# Comparative plot over datasets (all symmetries only)
data.plotGetCroComp(keys = plotKeys, pType='BETA', Etype=Etype)
2023-05-19T16:10:38.920021 image/svg+xml Matplotlib v3.3.4, https://matplotlib.org/

Cf. reference plot - looks like a slightly extended structure matches the experimental data better for both low-E XS, and betas, for the X-state case, something on the order of ~15 - 20% longer bonds than equilibrium case.

$\beta$ comparison plots

In [28]:
exptDataPath = Path('~/ePS/OCS/epsman2021/data-replot_R-mat_comp_120822/OCS-Rmatrix-results-220808-v3_120523/measurements/')
!ls {exptDataPath}
Carlson1982.txt     Carlson-beta-B.txt	White1981.txt
Carlson-beta-A.txt  Carlson-beta-X.txt
In [29]:
# Min/max betas
carlsonXBeta = pd.read_csv(Path(exptDataPath,'Carlson-beta-X.txt'), header=None, 
            names=['E','BetaMin','BetaMax'], delimiter=' ', index_col='E')

# All data, split by type and with uncertainties
carlson1982 = pd.read_csv(Path(exptDataPath,'Carlson1982.txt'), header=None, skiprows=2, delimiter='   ')
#                           header=[0,1], delimiter=' ')
carlson1982 = carlson1982[[0,3,6]]  # X state only
carlson1982.columns = ['E', 'Sigma', 'Beta']

# Fix errs - split cols and set data type
carlson1982[['Sigma', 'Serr']] = carlson1982['Sigma'].str.split('  ', expand=True).astype(float)
carlson1982[['Beta', 'Berr']] = carlson1982['Beta'].str.split('  ', expand=True).astype(float)

carlson1982.set_index('E', inplace=True)
In [31]:
betaPlot = data.plotGetCroComp(keys = plotKeys, pType='BETA', Etype='Ehv', returnHandles=True);

ax = plt.gca()  # Get current plot to use with Pandas plotter

carlsonXBeta.plot(y='BetaMin', ax=ax, linestyle=':', marker='x', color='black')  #, yerr='Err')  #, ax=betaPlot[0])
carlsonXBeta.plot(y='BetaMax', ax=ax, linestyle=':', marker='x', color='grey')

carlson1982.plot(y='Beta',yerr='Berr', ax=ax, linestyle=':', marker='o', color='black')

betaPlot[1].extend(['Carlson 1981 (min)', 'Carlson 1981 (max)', 'Carlson 1982'])
plt.legend(betaPlot[1])
Out[31]:
<matplotlib.legend.Legend at 0x7efda5705e90>
2023-05-20T12:01:51.288637 image/svg+xml Matplotlib v3.3.4, https://matplotlib.org/

All gauges and continua plots

In [22]:
# Betas vs. Gauge
data.plotGetCro(keys = plotKeys, pType='BETA', Etype=Etype)
2023-05-19T16:10:42.268761 image/svg+xml Matplotlib v3.3.4, https://matplotlib.org/
2023-05-19T16:10:42.832632 image/svg+xml Matplotlib v3.3.4, https://matplotlib.org/
2023-05-19T16:10:43.388437 image/svg+xml Matplotlib v3.3.4, https://matplotlib.org/
2023-05-19T16:10:43.950328 image/svg+xml Matplotlib v3.3.4, https://matplotlib.org/
2023-05-19T16:10:44.499612 image/svg+xml Matplotlib v3.3.4, https://matplotlib.org/
2023-05-19T16:10:45.056569 image/svg+xml Matplotlib v3.3.4, https://matplotlib.org/
2023-05-19T16:10:45.612399 image/svg+xml Matplotlib v3.3.4, https://matplotlib.org/
2023-05-19T16:10:46.167348 image/svg+xml Matplotlib v3.3.4, https://matplotlib.org/
2023-05-19T16:10:46.720665 image/svg+xml Matplotlib v3.3.4, https://matplotlib.org/

Versions

In [23]:
# print(data.jobInfo['ePolyScat'][0])
# print('Run: ' + jobInfo['Starting'][0].split('at')[1])
In [24]:
import scooby
scooby.Report(additional=['epsproc', 'xarray', 'jupyter', 'holoviews'])
Out[24]:
Fri May 19 16:10:47 2023 EDT
OS Linux CPU(s) 64 Machine x86_64
Architecture 64bit Environment Jupyter
Python 3.7.10 (default, Feb 26 2021, 18:47:35) [GCC 7.3.0]
epsproc 1.3.2-dev xarray 0.15.0 jupyter Version unknown
holoviews 1.14.2 numpy 1.20.1 scipy 1.6.1
IPython 7.21.0 matplotlib 3.3.4 scooby 0.5.6
In [25]:
# Check current Git commit for local ePSproc version
!git -C {Path(ep.__file__).parent} branch
!git -C {Path(ep.__file__).parent} log --format="%H" -n 1
* dev
  master
998adf91c9279326be5b508c1b5df5737954157c
In [26]:
# Check current remote commits
!git ls-remote --heads https://github.com/phockett/ePSproc
897d73392a7b32ffba4ca6b6b4755c61e7c1c8d7	refs/heads/dependabot/pip/notes/envs/envs-versioned/certifi-2022.12.7
457f8cd85d89bd6474296b6c01e5165a4a7ce7fc	refs/heads/dependabot/pip/notes/envs/envs-versioned/cryptography-39.0.1
2855573d0f088b45d19acf2fd9a71eeb7af0a29b	refs/heads/dependabot/pip/notes/envs/envs-versioned/ipython-8.10.0
92c661789a7d2927f2b53d7266f57de70b3834fa	refs/heads/dependabot/pip/notes/envs/envs-versioned/mistune-2.0.3
fe1e9540c7b91fe571f60562acd31d8e489d491e	refs/heads/dependabot/pip/notes/envs/envs-versioned/nbconvert-6.5.1
70b80a1e3a54de91c2bfe3b6be82d611fcfd5f43	refs/heads/dependabot/pip/notes/envs/envs-versioned/pillow-9.3.0
92fc79b09aafedadcb645f88bb7ed771c96d5b52	refs/heads/dependabot/pip/notes/envs/envs-versioned/setuptools-65.5.1
fa33ed8d63a5c4a4043cc4c261059cc09e4c2bf7	refs/heads/dependabot/pip/notes/envs/envs-versioned/wheel-0.38.1
41cdfe43750e08c510f98b05e024a9c62da42771	refs/heads/dependabot/pip/setuptools-65.5.1
f14a7d4fdbfae89788e673c774d5c3db93c8095a	refs/heads/dev
1c0b8fd409648f07c85f4f20628b5ea7627e0c4e	refs/heads/master
69cd89ce5bc0ad6d465a4bd8df6fba15d3fd1aee	refs/heads/numba-tests
ea30878c842f09d525fbf39fa269fa2302a13b57	refs/heads/revert-9-master
baf0be0c962e8ab3c3df57c8f70f0e939f99cbd7	refs/heads/testDev

Additional notes

16/05/23 PH

Updated for orb12 bond-scan runs (ongoing).

Either fix self.tidyJobs():

  • Currently uses Path(job.hostDefn[job.host]['jobComplete'], job.genFile.stem).as_posix(), which is wrong.

Or write a quick script:

Manual/dev fixes, see http://jake/jupyter/user/paul/doc/tree/ePS/OCS/epsman2023/epsman_Fock-Docker_file-sorting_OCS_190523.ipynb

  • File IO in this notebook OK, except for orb12_bond--0.12 case, not sure why.

10/05/23 PH

07/01/22 PH

  • Fixed/tested cos^2 values. (Maybe - now matching Reid 2018, but may not be correct in all cases?)
  • Updated plotting with HV for BLMs (in dev stage).

Versions

13/12/21 PH

STATUS: basics in place, need to trim code and fix a few things still.

Revisiting AF cases with (hopefully) better match to experimental alignment.

  • Add in cos^2(theta) metric.
  • Ballpark ADMs assuming Gaussian case.

TODO:

FIXED:

  • Note 'it' and 'labels' handling changed in recent versions of ePSproc, and degenerate dim hanling now correct!

09/06/21 PH

Quick look at initial ePS results for orb 11 (HOMO), 2.5eV step size.

TODO:

  • Currently AF code fails for Xarray = 0.17, issue with phaseCons setting to coord, sigh.
  • AF normalisation not correct here, due to doubly-degenerate state? Summing over 'it' not working correctly either, needs a debug (or missing some settings...?).
  • lmPlot() slice and cmapping to fix, in cases of missing/dropped dims, and for clims if possible.

For methods: https://epsproc.readthedocs.io/en/dev/demos/ePSproc_class_demo_161020.html

In [ ]:
break