src/features.py [466:479]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        if config.posEncArgs[net_idx] == "none":
            self.enc_args = []
            self.n_freq_pos, self.n_freq_dir = -1, -1
        else:
            self.enc_args = [int(x) for x in config.posEncArgs[net_idx].split('-')]
            self.n_freq_pos, self.n_freq_dir = self.enc_args[0], self.enc_args[1]

        enc_type = self.config.posEnc[net_idx]
        self.enc_type = enc_type
        self.pos_enc = FeatureEncoding.get_encoding(enc_type)(config, f"pos{net_idx}")
        self.dir_enc = FeatureEncoding.get_encoding(enc_type)(config, f"dir{net_idx}")

        if enc_type == "nerf":
            self.n_feat = self.n_freq_pos * 3 * 2 + 3 + 3 + self.n_freq_dir * 3 * 2  # 4 for dir encoding according to paper
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



src/features.py [570:583]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        if config.posEncArgs[net_idx] == "none":
            self.enc_args = []
            self.n_freq_pos, self.n_freq_dir = -1, -1
        else:
            self.enc_args = [int(x) for x in config.posEncArgs[net_idx].split('-')]
            self.n_freq_pos, self.n_freq_dir = self.enc_args[0], self.enc_args[1]

        enc_type = self.config.posEnc[net_idx]
        self.enc_type = enc_type
        self.pos_enc = FeatureEncoding.get_encoding(enc_type)(config, f"pos{net_idx}")
        self.dir_enc = FeatureEncoding.get_encoding(enc_type)(config, f"dir{net_idx}")

        if enc_type == "nerf":
            self.n_feat = self.n_freq_pos * 3 * 2 + 3 + 3 + self.n_freq_dir * 3 * 2  # 4 for dir encoding according to paper
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



