Hi Roberto,
I don’t have an example that does this (though I’m working on a similar problem currently).
I suggest starting with the EIT example, which shows how to construct the Hamiltonian “by hand” with the add block functions: Three-level susceptibility & EIT — pylcp 1.0.0 documentation. I’ll see if I can dig up some old code that does EIT with hyperfine structure (as a more advanced starting place).
The add_d_q_block function has a keyword arguments gamma and k (both equal to 1 by default): Hamiltonian Class — pylcp 1.0.0 documentation. Start by picking a “main” manifold that will have gamma = 1, k = 1. Add “secondary” manifolds by specifying gamma != 1, k !=1 when you add the d_q block for that manifold. I believe the correct gamma and k will be the ratio of (e.g.) gamma for the secondary manifold to gamma for the main manifold.
Let us know if you have additional questions,
Daniel
From: py...@googlegroups.com <py...@googlegroups.com>
On Behalf Of Roberto Haubold
Sent: Friday, February 6, 2026 8:21 PM
To: pylcp <py...@googlegroups.com>
Subject: [EXTERNAL] Simulating several manifolds
|
You don't often get email from roberto....@gmail.com. Learn why this is important |
--
You received this message because you are subscribed to the Google Groups "pylcp" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
pylcp+un...@googlegroups.com.
To view this discussion visit
https://groups.google.com/d/msgid/pylcp/b3af0677-f719-4468-a616-b2adae68f7ebn%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Hi Roberto,
This is very timely as we’re trying to get version 1.0.3 completed. I think that I agree with your changes and I’ll add them to the 1.0.3 release once we can get them tested.
Best,
Daniel
From: py...@googlegroups.com <py...@googlegroups.com>
On Behalf Of Roberto Haubold
Sent: Wednesday, February 11, 2026 1:42 PM
To: pylcp <py...@googlegroups.com>
Subject: Re: [EXTERNAL] Simulating several manifolds
|
You don't often get email from roberto....@gmail.com. Learn why this is important |
Hi Daniel,
I think I've understood what's going on. In rateeq.py, line 264, the pumping rates are calculated for each laser:
self.Rijl[key][ll]
=
gamma*intensity/2*\
fijq/(1
+
4*(-(E2
-
E1) +
delta
-
np.dot(kvec,
v))**2/gamma**2)
This calculation follows equation (2) in http://dx.doi.org/10.1088/1367-2630/17/1/015007:

To view this discussion visit https://groups.google.com/d/msgid/pylcp/4ef1356e-d961-4d28-889f-41bd1416a63bn%40googlegroups.com.
Hi Lajos,
Thank you for pointing this out. I was wondering if scaling kvec was the correct solution overnight.
Rest assured, we would not push a change like this without making sure that it works.
Daniel
From: py...@googlegroups.com <py...@googlegroups.com>
On Behalf Of Lajos Palanki
Sent: Thursday, February 12, 2026 4:28 AM
To: pylcp <py...@googlegroups.com>
Subject: Re: [EXTERNAL] Simulating several manifolds
|
You don't often get email from lal...@gmail.com. Learn why this is important |
To view this discussion visit https://groups.google.com/d/msgid/pylcp/66565b17-66cf-4598-b8ca-7207100a2fc2n%40googlegroups.com.