This file is indexed.

/usr/include/purify/clean.h is in libpurify-dev 2.0.0-1+b1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
#ifndef PURIFY_CLEAN_H
#define PURIFY_CLEAN_H

#include "purify/config.h"
#include <fstream>
#include <iostream>
#include <stdio.h>
#include <string>
#include "purify/FFTOperator.h"
#include "purify/MeasurementOperator.h"
#include "purify/types.h"

namespace purify {

namespace clean {
// basic clean algorithms, returns a clean model
Image<t_complex> clean(MeasurementOperator &op, const utilities::vis_params &uv_vis,
                       const t_int &niters, const t_real &gain = 0.1,
                       const std::string &mode = "hogbom", const t_real clip = 0.9);
// uses computationally cheap version of steer clean to generate initial model for purify.
Image<t_complex> model_estimate(const Image<t_complex> &dirty_image,
                                const Image<t_complex> dirty_beam_fft, const t_int &niters,
                                const t_real &gain = 0.1, const t_real clip = 0.9);
//! convolves clean components with gaussian
Image<t_complex>
convolve_model(const Image<t_complex> &clean_model, const Image<t_complex> &gaussian);
//! fits gaussian to psf and returns a gaussian
Image<t_complex> fit_gaussian(MeasurementOperator &op, const utilities::vis_params &uv_vis);
// restores an image from a given clean model
Image<t_complex> restore(MeasurementOperator &op, const utilities::vis_params &uv_vis,
                         const Image<t_complex> &clean_model);
}
}

#endif