Skip to content

Commit

Permalink
modified: src/fits.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
jvo203 committed Jan 19, 2023
1 parent a35018b commit 3bbef7b
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions src/fits.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6622,10 +6622,10 @@ impl FITS {

let (f, v) = self.get_frame2freq_vel(frame, ref_freq, delta_v, rest);

println!(
/*println!(
"channel: {}, f: {} GHz, v: {} km/s, intensity: {}",
frame, f, v, spectrum[i]
);
);*/

if f != std::f64::NAN && v != std::f64::NAN {
// write the CSV header
Expand Down Expand Up @@ -7282,9 +7282,6 @@ impl FITS {
+ self.cdelt3 * self.frame_multiplier * (frame as f64 - self.crpix3);

if has_frequency {
// no velocity info, only frequency
println!("has_frequency: {} {} {} {}", val, ref_freq, delta_v, rest);

let f = if rest {
FITS::relativistic_rest_frequency(val, delta_v)
} else {
Expand Down

0 comments on commit 3bbef7b

Please sign in to comment.