LC_BIN - Program phasing and binning any light curve for a given number of bins.

Correct syntax: ./lc_bin.f90 [file] [n] [jdref] [period]
[file] - light curve consisting of two columns, Phase/HJD and flux
[n] - number of bins

If 1st column is a HJD, not phase, please add
[jdref0] - refference time, OPTIONAL
[period] - period for binaries, OPTIONAL
Program will phase observations and then bin them

Put file sorted by time-column as input (command $ sort -k 1 -n filename)

Version of 01.04.2019 by Amadeusz Miszuda (

Download: LC_BIN Program