GalSim-developers/GalSim — Issue #11: reorganize namespaces/python packages/directories for consistency
Author: TallJimbo
Created: 2012-02-28 17:47:09+00:00
State: open

We should have the same scoped path to various bits of code in Python, C++, and in the on-disk layout of our headers.

I propose the following (note that I don't care much about the actual names, just the consistency):
```
galsim/artifacts/....
galsim/distort/...
...
galsim/sbprofile/_sbprofile.so
galsim/meas/hsm/_hsm.so
...
include/galsim/sbprofile/
include/galsim/meas/hsm/
...
src/sbprofile/
src/meas/hsm/
pysrc/sbprofile/
pysrc/meas/hsm/
```

In addition, the SBProfile C++ code should be in namespace ```galsim::sbprofile```, and the HSM code should be in namespace ```galsim::meas::hsm```. Of course, right now, HSM doesn't have any C++ headers, as it's just a C executable, but that would naturally be added if we convert it to a library with a Python interface.