# Hamilton Shaker Carrier Modelling "Odd" Design

**URL:** <https://discuss.pylabrobot.org/t/hamilton-shaker-carrier-modelling-odd-design/407>\
**Category:** dev discussion\
**Created:** [December 20, 2025, 12:51am UTC](https://discuss.pylabrobot.org/t/hamilton-shaker-carrier-modelling-odd-design/407 "2025-12-20T00:51:24Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![CamilloMoschner](https://discuss.pylabrobot.org/user_avatar/discuss.pylabrobot.org/camillomoschner/32/7_2.png) [@CamilloMoschner](https://discuss.pylabrobot.org/u/CamilloMoschner)\
**Post date:** [December 20, 2025, 12:51am UTC](https://discuss.pylabrobot.org/t/hamilton-shaker-carrier-modelling-odd-design/407/1 "2025-12-20T00:51:24Z")

</div>

Hi everyone,

In [PR#130 ShakerCarrier integration #130](https://github.com/PyLabRobot/pylabrobot/pull/130) I created a resource model for Hamilton’s L4 Shaker Carrier (Hamilton cat. no.: 187001):

```python
def PLT_CAR_L4_SHAKER(name: str) -> MFXCarrier:
  """ Hamilton cat. no.: 187001
  Template carrier with 4 positions for Hamilton Heater Shaker.
  Occupies 7 tracks (7T). Can be screwed onto the deck.
  """
  return MFXCarrier(
    name=name,
    size_x=157.5,
    size_y=497.0,
    size_z=8.0,
    sites=create_homogeneous_carrier_sites([
        Coordinate(6.0, 2, 8.0),
        Coordinate(6.0, 123, 8.0),
        Coordinate(6.0, 244.0, 8.0),
        Coordinate(6.0, 365.0, 8.0),
      ],
      site_size_x=145.5,
      site_size_y=104.0,
    ),
    model="PLT_CAR_L4_SHAKER"
  )

```

Simple, nice, and completely incorrect (but workable with the HHS).

I am currently working on an updated more accurate version but would like to know whether anyone else has come across what I can only describe as (to me) “odd design”:

 ![251220_Moschner_MFXShakerCarrier_model_question](https://discuss.pylabrobot.org/uploads/default/original/2X/9/91f5bcfd4c5584d73c80d81abc3a92791436b5c6.jpeg)

“Sites” for child resources (i.e. usually a small Hamilton machine like Hamilton Heater Shaker, Hamilton Heater Cooler, Hamilton Tilt module, …) are **not** defined by a “frame” (i.e. indentation in the top surface or walls).  
Instead sites are defined by the 2x2 hole grid that is used to fasten child resources onto the carrier.

However, as shown in the infographic above, **there are two different 2x2 hole grids on each site.**

And - the odd part - the relative orientation of the “small” to “large” hole grid is different between every single site 🙈 (noted in orange)

As you can see from the infographic, this is due to a difference in each hole grids “stepping distance”:

- 124 mm for the small/blue hole grid (use for fixing e.g. the HHC)
- 120 mm for the large/purple hole grid (use for fixing e.g. the HHS)

This represents a big question as to how we want to model this?

A simple “each site has a center\_x-center\_y to which a childs “ccb” should be aligned to, does not work.

We would need to tell each child resource which center - the one from the small or the large hole grid - it would need to align to.

Curious to hear what people think ☺

PS.: I’m sure there must be some reason for this design that I don’t know about 🤷🏻  
Also, these measurements are made by me, and might therefore be wrong.

---

<div class="post-metadata">

**Author:** ![rickwierenga](https://discuss.pylabrobot.org/user_avatar/discuss.pylabrobot.org/rickwierenga/32/963_2.png) [@rickwierenga](https://discuss.pylabrobot.org/u/rickwierenga)\
**Post date:** [December 20, 2025, 5:54am UTC](https://discuss.pylabrobot.org/t/hamilton-shaker-carrier-modelling-odd-design/407/2 "2025-12-20T05:54:15Z")

</div>

that challenges our resource model

the good news is the mfx carriers already have quite flexible modeling: we require the user to specify the ResourceHolders explicitly when instantiating the carrier (base + sites), since the sites are screwed in. When instantiating a carrier we assign the modules that exist on the carrier, this isn’t done later. So `mfx_carrier[0]` for example will be a HeaterShaker rather than a pain PlateHolder as is the case in normal plate carriers. Not necessarily a super pretty solution, but a starting point:

```auto
mfx_carrier_tapped_plate_holder_example = hamilton_mfx_carrier_L5_base(
  name="mfx_carrier_tapped_plate_holder_example",
  modules={
    0: mfx_plateholder_dwp_0,
  }
)

```

(from [cookbook recipe 1](https://docs.pylabrobot.org/cookbook/star_movement_plate_to_alpaqua_core.html))

the solution will probably involve specifying the “site type” (big / small = purple / blue) in addition to the index (assuming we can’t figure this out automatically.)

```auto
modules={
  (0, "big"): mfx_plateholder_dwp_0,
}

```

…

---

<div class="post-metadata">

**Author:** ![CamilloMoschner](https://discuss.pylabrobot.org/user_avatar/discuss.pylabrobot.org/camillomoschner/32/7_2.png) [@CamilloMoschner](https://discuss.pylabrobot.org/u/CamilloMoschner)\
**Post date:** [December 22, 2025, 11:25pm UTC](https://discuss.pylabrobot.org/t/hamilton-shaker-carrier-modelling-odd-design/407/3 "2025-12-22T23:25:00Z")

</div>

Mhmmm… okay, I think having these “site specification tags” (?) for each site - like you are suggesting “big”/”small” is a good fix.

I do wonder thought why these differing hole grids exist and whether this might come back to hunt us 😂

Once I’m back in the lab I can take some more measurements to check whether this might be the best assignment strategy.

One idea I had as an alternative to having big/small + site index:

Assign child resources the _oldest_ PLR way: assign\_child\_resource to location.

but we _must_ be able to index MFX carriers, so can bake into this specific MFX carrier sth like:

```python
modules={         
    Coordinate(x=5, y=60,z=18): HHS_1,     
    Coordinate(x=10, y=300,z=18): HHC_1,   
}

```

and the resource identifies the index for each child based on the y coordinate of each child’s origin falling into the _area_ of the expected site?

Curious to hear what people think 🙂
