Package: galpak
WHAT IS ITGalPaK 3D is a tool to extract Galaxy Parameters and Kinematics from 3-Dimensional data,
using reverse deconvolution with Bayesian analysis Markov chain Monte Carlo. (random walk)See the documentation for more details about the API on theweb site.INSTALLpip install galpakPYTHON DEPENDENCIESThe galpak module has been developed for Python 2.7 and
has been tested with Python 3.5 & 3.7The following are mandatory python modules that galpak depends upon :numpy>=1.14
    scipy
    astropy>=2.0
    matplotlib>=2.0The following optional python modules improve galpak performances :pyfftw : https://pypi.python.org/pypi/pyFFTW
    bottleneck : https://pypi.python.org/pypi/Bottleneck/The following optional python modules improve galpak functionalities :corner : https://pypi.python.org/pypi/corner
    emcee : https://pypi.org/project/emcee/
    mpdaf : http://mpdaf.readthedocs.io/en/latest/MPDAF PACKAGESOptional.GalPaK provides aMUSELineSpreadFunctionclass that depends onmpdaf.MUSE.LSF.
FollowMPDAF install instructions.GalPaK also accepts MPDAF's Cubes as input.I FOUND A BUG!THERE WILL BE BUGS.
If you have found a bug in GalPaK3D please report it on the
galpakforum/mailing list.
Canyoureproduce it ? Provide the code and input cube(s).
You cannot reproduce it ? just describe what you're doing when it happens.Also, we encourage everyone to give us feedback and participate in discussions.
We can use thegalpak3dmailing list as well.Email the above atnicolas.bouche@univ-lyon1.frand/or add them as
test-case in the test suite.HOW TO TESTuntar and dopython -m pytestHOW TO DOCUMENTInstall sphinx :$ sudo apt-get install python-sphinxor$ pip install --user sphinxMake your changes into thedoc/sourcefiles.Once its done, you can either :$ cd doc
$ make htmlor :$ doit docFITS Sanitizerpython fits_sanitizer.py [-h] [--prefix PREFIX] FILE [FILE ...]Sanitize specified FITS files. By default, this will overwrite the FITS files.
To create another file(s), you can specify a prefix using the --prefix option.What this actually does :
- Lowercase 'DEG' unit
- that's all ! (it did some other things in the past)positional arguments:
FILE             A FITS file to sanitizeoptional arguments:
-h, --help       show this help message and exit
--prefix PREFIX  A prefix to prepend to the filename(s), to create new filesTip : you can sanitize a whole folder using the*wildcard :python fits_sanitizer.py /myfits/*.fitsNote that this will be superseded by the HyperspectralCube classsanitizemethod.ACRONYMSReal men never define acronyms. They understand them genetically.FFT     Fast Fourier Transform
FITS    Flexible Image Transport System
FWHM    Full Width at Half Maximum
HDU     Header Data Unit
LSF     Line Spread Function
Wavelength spread due to the dispersion of light in the atmosphere
MCMC    Markov Chain Monte Carlo
MPDAF   MUSE Python Data Analysis Framework
MUSE    Multi Unit Spectroscopic Explorer
NFM     Narrow Field Mode
PA      Position Angle
PC      ParseC
PSF     Point Spread Function
Spatial spread caused by the atmosphere
SNR     Signal Noise Ratio
The relative intensity of the signal from the noise
Should be > 1, or the data is useless
WFM     Wide Field Mode
WSC     World Coordinates SystemBLACKBOARDIt would be smart to use a MCMC module :
-pymc3.