Skip to content

This program allows to make a photometric standardization. No matter how many passbands do you want to transform. You only need to prepare an input file in a specific format.

License

Notifications You must be signed in to change notification settings

pbrus/standard-photometry

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Standard-photometry GitHub release Written in Python

This program allows to make a photometric standardization. It was written in pure Python.

make_std_phot

Installation

Download make_std_phot.py wherever you want, then make the script executable. I recommend to download it to any catalog pointed by the $PATH variable. Moreover you should have installed Python 2.7 with the following modules:

  • scipy 0.19.1
  • numpy 1.13.1
  • matplotlib 2.0.2
  • argparse 1.1

Usage

To use the program properly you need to prepare a file with data. At the beginning call the script from the terminal window with the -h option:

$ make_std_phot.py -h

This will give you a description of all options. If you need to see the program in action immediately, please download data.lst file from the repository to your working directory. A basic call doesn't display an interactive window - all computations run in background. The minimum required arguments are names of the input and output files.

$ make_std_phot.py data.lst results.lst

More advanced call involves the rest of options and their combinations. One of them can be:

$ make_std_phot.py data.lst results.lst -s 2.5 -i 5 -v -e

Assume that the output file has name results.lst. Each run of the program generates in a working directory the following files:

  • results.lst
  • results.log
  • results-equation-NR.png

where the amount of the images depends on the number of used equations.

I encourage to visit my website to see more detailed description of this program. The current link can be found on my GitHub profile.

License

Standard-photometry is licensed under the MIT license.

About

This program allows to make a photometric standardization. No matter how many passbands do you want to transform. You only need to prepare an input file in a specific format.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages