Please cite: Pych, W., 2004, PASP, 116, 148
In terms of cosmic ray rejection we shifted to a non-python package because the results were much better compared to LACosmic’s implementation in Astropy. LACosmic was not designed to work with spectroscopy. Though since version 1.1.0 we shifted from Astropy to Astroscrappy’s implementation of LACosmic.
The latest version of the Goodman Spectroscopic Pipeline uses a modified version
dcr to help with the pipeline’s workflow. It is included under
goodman_pipeline-<version> is the folder that will be created once you untar or unzip the latest
release of the The Goodman Pipeline.
The changes we made to DCR include deletion of all
which we don’t use in the pipeline. And addition of a couple of custom
keywords, such as:
GSP_FNAM, which stores the name of the file being
GSP_DCRR which stores the reference to the paper to cite.
You are still encouraged to visit the official Link. We remind again that users of the Goodman Pipeline should cite the DCR paper with the reference indicated above.
dcr is actually very simple.
Then simply type:
This will compile dcr and also it will create other files. The executable
binary here is
We have successfully compiled dcr right out the box in several platforms, such as:
Centos 7.1, 7.4
Installing the DCR binary¶
This is a suggested method. If you are not so sure what you are doing, we
recommend you follow the steps shown below. If you are a more advanced user and
you want to do it your own way, all you have to achieve is to have the
executable binary in your
Open a terminal
In your home directory create a hidden directory
.bin(Home directory should be the default when you open a new terminal window)
Move the binary of your choice and rename it
dcr. If you compiled it, most likely it’s already called
dcrso you can ignore the renaming part of this step.
mv dcr.Ubuntu16.04 ~/.bin/dcr
mv dcr ~/.bin/dcr
$HOME/.bindirectory to your
$PATHvariable. Open the file
.bashrcand add the following line.
/home/myusernameis of course your home directory.
Close and reopen the terminal or load the