Skip to content

Commit 1965f5a

Browse files
Add files via upload
1 parent b01725f commit 1965f5a

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

CODE_2_PES2MP_4D.ipynb

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -542,7 +542,7 @@
542542
{
543543
"cell_type": "code",
544544
"execution_count": 10,
545-
"id": "ce108dbf",
545+
"id": "39f34f43",
546546
"metadata": {},
547547
"outputs": [],
548548
"source": [
@@ -555,15 +555,15 @@
555555
" \n",
556556
" U00 = np.sqrt((2*L+1)/(4*np.pi))\n",
557557
" T01 = clebsch_gordan(L1, L2, L, 0, 0, 0).evalf()\n",
558-
" P0L1 = pysh.legendre.legendre_lm (L1, 0, cos(theta1), 'unnorm', -1, 1)\n",
559-
" P0L2 = pysh.legendre.legendre_lm (L2, 0, cos(theta2), 'unnorm', -1, 1)\n",
558+
" P0L1 = pysh.legendre.legendre_lm (L1, 0, cos(theta1), 'unnorm', -1, 0)\n",
559+
" P0L2 = pysh.legendre.legendre_lm (L2, 0, cos(theta2), 'unnorm', -1, 0)\n",
560560
" T1 = T01*P0L1*P0L2\n",
561561
" Total += T1\n",
562562
" M=1\n",
563563
" while (M<=M_max):\n",
564564
" T02 = clebsch_gordan(L1, L2, L, M, -M, 0).evalf()\n",
565-
" PmL1 = pysh.legendre.legendre_lm (L1, M, cos(theta1), 'unnorm', -1, 1)\n",
566-
" PmL2 = pysh.legendre.legendre_lm (L2, M, cos(theta2), 'unnorm', -1, 1)\n",
565+
" PmL1 = pysh.legendre.legendre_lm (L1, M, cos(theta1), 'unnorm', -1, 0)\n",
566+
" PmL2 = pysh.legendre.legendre_lm (L2, M, cos(theta2), 'unnorm', -1, 0)\n",
567567
" T2 = T02*PmL1*PmL2\n",
568568
" Total += 2.0*pow((-1),M)*T2*(cos(M*phi))\n",
569569
" M+=1\n",

0 commit comments

Comments
 (0)